├── .eslintrc.cjs ├── .github ├── FUNDING.yml └── workflows │ └── eslint.yml ├── .gitignore ├── .prettierignore ├── .prettierrc.json ├── README.md ├── demo ├── README.md ├── index.html ├── package.json ├── public │ └── favicon.ico ├── src │ ├── App.vue │ ├── assets │ │ ├── github.svg │ │ └── logo.png │ ├── components │ │ ├── Bottom.vue │ │ ├── Checkbox.vue │ │ ├── ScopedLoader.vue │ │ └── Top.vue │ └── main.js └── vite.config.js ├── docs ├── .vitepress │ ├── components │ │ └── Home.vue │ └── config.ts ├── api │ ├── events.md │ ├── props.md │ └── slots.md ├── guide │ ├── installation.md │ ├── introduction.md │ └── quick-demo.md ├── index.md ├── package.json └── public │ └── logo.svg ├── package.json ├── pnpm-lock.yaml ├── pnpm-workspace.yaml ├── src ├── components │ ├── InfiniteLoading.vue │ └── Spinner.vue ├── types.ts └── utils.ts ├── tsconfig.json └── vite.config.ts /.eslintrc.cjs: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | env: { 3 | node: true, 4 | }, 5 | extends: [ 6 | "eslint:recommended", 7 | "plugin:vue/vue3-essential", 8 | "plugin:vue/vue3-strongly-recommended", 9 | "plugin:vue/vue3-recommended", 10 | "@vue/eslint-config-typescript", 11 | "@vue/eslint-config-prettier", 12 | ], 13 | rules: { 14 | "vue/no-setup-props-destructure": "off", 15 | "vue/multi-word-component-names": "off", 16 | }, 17 | }; 18 | -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: [oumoussa98] 2 | patreon: oumoussa 3 | -------------------------------------------------------------------------------- /.github/workflows/eslint.yml: -------------------------------------------------------------------------------- 1 | name: ESLint Workflow 2 | 3 | on: 4 | push: 5 | branches: 6 | - main 7 | pull_request: 8 | branches: 9 | - main 10 | 11 | jobs: 12 | lint: 13 | runs-on: ubuntu-latest 14 | 15 | steps: 16 | - name: Checkout Repository 17 | uses: actions/checkout@v2 18 | 19 | - name: Setup Node.js 20 | uses: actions/setup-node@v2 21 | with: 22 | node-version: "20" 23 | 24 | - name: Install Dependencies 25 | run: npm install -g pnpm && pnpm i --frozen-lockfile 26 | 27 | - name: Run ESLint 28 | run: pnpm run lint 29 | 30 | - name: Check for auto-fix changes 31 | run: | 32 | changes=$(git status --porcelain) 33 | if [ -n "$changes" ]; then 34 | echo "ESLint auto-fix changes detected. Please fix them locally and push again." 35 | exit 1 36 | fi 37 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | lib 3 | dist 4 | *.log 5 | .cache 6 | .DS_Store 7 | .temp 8 | dist 9 | !.env.example 10 | .env 11 | .env.* -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | lib 3 | dist 4 | *.log 5 | .cache 6 | .DS_Store 7 | .temp 8 | dist 9 | !.env.example 10 | .env 11 | .env.* 12 | *-lock.json 13 | *-lock.yaml -------------------------------------------------------------------------------- /.prettierrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "arrowParens": "avoid", 3 | "printWidth": 90 4 | } 5 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |