From 4a6d7a0d009897026ce40e3819a9bd5b7963765e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bahad=C4=B1r=20Sofuo=C4=9Flu?= Date: Tue, 20 Dec 2022 09:32:43 +0300 Subject: [PATCH 01/15] CI: Workflows - issue templates added --- .github/ISSUE_TEMPLATE/bug_report.yml | 98 ++++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 4 + .github/ISSUE_TEMPLATE/feature_request.yml | 39 ++++++++ .github/PULL_REQUEST_TEMPLATE.md | 5 + .github/workflows/issue-inactive-checker.yml | 22 +++++ .github/workflows/issue-labeled.yml | 25 +++++ .github/workflows/nightly.yml | 32 +++++++ .github/workflows/node.js.yml | 49 ++++++++++ .github/workflows/pr-checker.yml | 71 ++++++++++++++ 9 files changed, 345 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/ISSUE_TEMPLATE/feature_request.yml create mode 100644 .github/PULL_REQUEST_TEMPLATE.md create mode 100644 .github/workflows/issue-inactive-checker.yml create mode 100644 .github/workflows/issue-labeled.yml create mode 100644 .github/workflows/nightly.yml create mode 100644 .github/workflows/node.js.yml create mode 100644 .github/workflows/pr-checker.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 000000000..6a7ac98ab --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,98 @@ +name: Bug report +description: Create a report to help us improve +title: "Component Name: Issue Title" +labels: "Status: Needs Triage" +body: + - type: markdown + attributes: + # yamllint disable rule:line-length + value: > + ### There is no guarantee in receiving an immediate response in GitHub Issue Tracker, If you'd like to secure our response, you may consider *PrimeVue PRO Support* where support is provided within 4 business hours + # yamllint enable rule:line-length + - type: textarea + id: description + attributes: + label: Describe the bug + description: A clear and concise description of what the bug is. + validations: + required: true + - type: input + id: reproducer + attributes: + label: Reproducer + placeholder: https://codesandbox.io/s/primevue-3-issue-template-ip3vm + description: | + Please fork one of the issue template + [PrimeVue 3 Issue Template](https://codesandbox.io/s/primevue-3-issue-template-ip3vm) + [PrimeVue TypeScript Issue Template](https://codesandbox.io/s/primevue-3-typescript-issue-template-z1f6e2) + [PrimeVue 2 Issue Template](https://codesandbox.io/s/primevue-2-issue-template-dw7jd7) + and create a case demonstrating your bug report. Issues **without** a CodeSandbox have much less possibility to be reviewed. + validations: + required: true + - type: input + id: pr-version + attributes: + label: PrimeVue version + placeholder: x.x.x + validations: + required: true + - type: dropdown + id: vue-version + attributes: + label: Vue version + multiple: false + options: + - 3.x + - 2.x + validations: + required: true + - type: dropdown + id: language + attributes: + label: Language + multiple: false + options: + - TypeScript + - ES5 + - ES6 + - ALL + validations: + required: true + - type: dropdown + id: engine + attributes: + label: Build / Runtime + multiple: false + options: + - Vue CLI App + - TypeScript + - Nuxt + - Vite + validations: + required: true + - type: input + id: browsers + attributes: + label: Browser(s) + description: List specific browser(s) the problem occurs on or leave blank if ALL browsers + placeholder: > + e.g. Safari 15, iOS 15.4, Chrome 90 + - type: textarea + id: reproduce-steps + attributes: + label: Steps to reproduce the behavior + description: A clear and concise description of how to make the issue happen. + placeholder: > + 1. Go to '...' + 2. Click on '....' + 3. Scroll down to '....' + 4. See error + validations: + required: false + - type: textarea + id: expected-behavior + attributes: + label: Expected behavior + description: A clear and concise description of what you expected to happen. + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 000000000..537268fb7 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,4 @@ +contact_links: + - name: Support + url: https://www.primefaces.org/primevue/support/ + about: Professional support for the open source innovation. diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 000000000..68f495099 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,39 @@ +name: Feature request +description: Suggest an idea for this project +title: "Component Name: Issue Title" +labels: ['Type: New Feature', 'Status: Discussion'] +body: + - type: textarea + id: description + attributes: + label: Describe the feature you would like to see added + validations: + required: true + - type: textarea + id: problem-related + attributes: + label: Is your feature request related to a problem? + description: A clear and concise description of what the problem is. Ex. I'm always frustrated when? + validations: + required: false + - type: textarea + id: solution + attributes: + label: Describe the solution you'd like + description: A clear and concise description of what you want to happen. + validations: + required: false + - type: textarea + id: alternatives + attributes: + label: Describe alternatives you have considered + description: A clear and concise description of any alternative solutions or features you've considered. + validations: + required: false + - type: textarea + id: additional-context + attributes: + label: Additional context + description: Add any other context or screenshots about the feature request here. + validations: + required: false diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 000000000..acdf57ea2 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,5 @@ +###Defect Fixes +When submitting a PR, please also create an issue documenting the error. + +###Feature Requests +Due to company policy, we are unable to accept feature request PRs with significant changes as such cases has to be implemented by our team following our own processes. \ No newline at end of file diff --git a/.github/workflows/issue-inactive-checker.yml b/.github/workflows/issue-inactive-checker.yml new file mode 100644 index 000000000..6e70dffbc --- /dev/null +++ b/.github/workflows/issue-inactive-checker.yml @@ -0,0 +1,22 @@ +name: Issue Inactive Checker + +on: + schedule: + - cron: "0 13 * * 1" # Every Monday at 1PM UTC (9AM EST) + +permissions: + contents: read + +jobs: + issue-close-require: + permissions: + issues: write + pull-requests: write + runs-on: ubuntu-latest + steps: + - name: cannot replicate + uses: actions-cool/issues-helper@v3 + with: + actions: "close-issues" + labels: "Resolution: Cannot Replicate" + inactive-day: 20 diff --git a/.github/workflows/issue-labeled.yml b/.github/workflows/issue-labeled.yml new file mode 100644 index 000000000..d552ebb50 --- /dev/null +++ b/.github/workflows/issue-labeled.yml @@ -0,0 +1,25 @@ +name: Issue Labeled + +on: + issues: + types: [labeled] + +permissions: + contents: read + +jobs: + issue-labeled: + permissions: + issues: write # for actions-cool/issues-helper to update issues + pull-requests: write # for actions-cool/issues-helper to update PRs + runs-on: ubuntu-latest + steps: + - name: Cannot Replicate + if: "${{ github.event.label.name == 'Resolution: Cannot Replicate'}}" + uses: actions-cool/issues-helper@v3 + with: + actions: 'create-comment' + token: ${{ secrets.GITHUB_TOKEN }} + issue-number: ${{ github.event.issue.number }} + body: | + We're unable to replicate your issue, if you are able to create a reproducer or add details please edit this issue. This issue will be closed if no activities in 20 days. diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml new file mode 100644 index 000000000..b93e42026 --- /dev/null +++ b/.github/workflows/nightly.yml @@ -0,0 +1,32 @@ +name: Daily Build + +on: + schedule: + - cron: '0 6 * * *' + +permissions: + contents: read + +jobs: + nightly: + if: github.repository == 'primefaces/primevue' && github.ref == 'refs/heads/master' + runs-on: ubuntu-latest + name: Node ${{ matrix.node-version }} + + strategy: + matrix: + node-version: [16.x, 18.x] + + steps: + - uses: actions/checkout@v2 + + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v2 + with: + node-version: ${{ matrix.node-version }} + cache: 'npm' + + - name: Build + run: | + npm install + npm run build:lib diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml new file mode 100644 index 000000000..515772c7c --- /dev/null +++ b/.github/workflows/node.js.yml @@ -0,0 +1,49 @@ +name: NodeJS CI + +on: + push: + branches: [ master ] + +permissions: + contents: read + +jobs: + build: + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [16.x, 18.x] + + steps: + - uses: actions/checkout@v2 + + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v2 + with: + node-version: ${{ matrix.node-version }} + cache: 'npm' + + - name: Build + run: | + npm install + + - name: Lint Check + if: ${{ success() }} + run: | + npm run lint + + - name: Code Format + if: ${{ success() }} + run: | + npm run format:check + + - name: Security Check + if: ${{ success() }} + run: | + npm run security:check + + - name: Test + if: ${{ success() }} + run: | + npm run test:unit diff --git a/.github/workflows/pr-checker.yml b/.github/workflows/pr-checker.yml new file mode 100644 index 000000000..48f6ba81e --- /dev/null +++ b/.github/workflows/pr-checker.yml @@ -0,0 +1,71 @@ +name: Pr Checker + +on: + pull_request: + types: [edited, synchronize, opened, reopened] + +permissions: + contents: read + pull-requests: write + +jobs: + pr-open-check: + permissions: + issues: write + pull-requests: write + runs-on: ubuntu-latest + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + steps: + - name: Verify Linked Issue + uses: hattan/verify-linked-issue-action@v1.1.5 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + message: 'Thanks a lot for your contribution! But, PR does not seem to be linked to any issues. Please [manually link to an issue](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue#manually-linking-a-pull-request-or-branch-to-an-issue-using-the-issue-sidebar) or mention it in the description using #.' + + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: 16 + cache: 'npm' + + - name: Install packages + run: | + npm install + + - name: Code Format + id: codeFormat + run: | + npm run format:check + + - name: Unit Test + id: unitTest + run: | + npm run test:unit + + - name: Add Code Format Fail Comment + if: always() && steps.codeFormat.outcome == 'failure' + uses: thollander/actions-comment-pull-request@v1 + with: + message: | + Thanks a lot for your contribution! But, PR does not seem to fit our code format standards. Please run the 'npm run format' command and commit the changes. + + - name: Add Unit Test Fail Comment + if: always() && steps.unitTest.outcome == 'failure' + uses: thollander/actions-comment-pull-request@v1 + with: + message: | + Thanks a lot for your contribution! But, Unit tests failed. You can check the unit tests with the command 'npm run test:unit' and commit the changes. + + - name: Add Label + if: ${{ failure() }} + uses: actions-ecosystem/action-add-labels@v1 + with: + labels: 'Resolution: Needs Revision' + + - name: Remove Label + uses: actions-ecosystem/action-remove-labels@v1 + if: ${{ success() }} + with: + labels: 'Resolution: Needs Revision' From 005d192afc4894639f3647be381c44831fc02a35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bahad=C4=B1r=20Sofuo=C4=9Flu?= Date: Tue, 20 Dec 2022 09:36:25 +0300 Subject: [PATCH 02/15] CI: Master push workflow updated --- .github/workflows/node.js.yml | 68 +++++++++++++++++------------------ 1 file changed, 34 insertions(+), 34 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 515772c7c..7188ad983 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -1,49 +1,49 @@ name: NodeJS CI on: - push: - branches: [ master ] + push: + branches: [master] permissions: - contents: read + contents: read jobs: - build: - runs-on: ubuntu-latest + build: + runs-on: ubuntu-latest - strategy: - matrix: - node-version: [16.x, 18.x] + strategy: + matrix: + node-version: [16.x, 18.x] - steps: - - uses: actions/checkout@v2 + steps: + - uses: actions/checkout@v2 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 - with: - node-version: ${{ matrix.node-version }} - cache: 'npm' + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v2 + with: + node-version: ${{ matrix.node-version }} + cache: 'npm' - - name: Build - run: | - npm install + - name: Build + run: | + npm install - - name: Lint Check - if: ${{ success() }} - run: | - npm run lint + - name: Lint Check + if: ${{ success() }} + run: | + npm run format:check - - name: Code Format - if: ${{ success() }} - run: | - npm run format:check + - name: Code Format + if: ${{ success() }} + run: | + npm run format:check - - name: Security Check - if: ${{ success() }} - run: | - npm run security:check + - name: Security Check + if: ${{ success() }} + run: | + npm run security:check - - name: Test - if: ${{ success() }} - run: | - npm run test:unit + - name: Test + if: ${{ success() }} + run: | + npm run test:unit From 1693834a9917c64564723102265fb8d854f4b523 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Tue, 20 Dec 2022 11:55:49 +0300 Subject: [PATCH 03/15] router check added for gtag --- layouts/default.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/layouts/default.vue b/layouts/default.vue index ab0a2dcbd..e6577f428 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -49,6 +49,10 @@ export default { return; } + window['gtag']('config', 'UA-93461466-1', { + page_path: '/primevue' + to.path + }); + this.sidebarActive = false; DomHandler.removeClass(document.body, 'blocked-scroll'); this.$toast.removeAllGroups(); From b0277da94f323b093d3899fab8c8bd1c3540f8dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Tue, 20 Dec 2022 15:16:42 +0300 Subject: [PATCH 04/15] Update PanelMenu.spec.js --- components/panelmenu/PanelMenu.spec.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/panelmenu/PanelMenu.spec.js b/components/panelmenu/PanelMenu.spec.js index e0dc5019e..916191010 100644 --- a/components/panelmenu/PanelMenu.spec.js +++ b/components/panelmenu/PanelMenu.spec.js @@ -72,8 +72,9 @@ describe('PanelMenu', () => { await wrapper.vm.onHeaderClick({}, wrapper.vm.model[0]); expect(wrapper.find('.p-panelmenu-header-action > .p-submenu-icon').classes()).toContain('pi-chevron-down'); + setTimeout(() => { - expect(wrapper.findAll('.p-toggleable-content')[0].attributes().style).toBe(undefined); + expect(wrapper.findAll('.p-toggleable-content')[0].attributes().style).toBe(''); }, 25); }); From 21b6753beb35b976ffffdf2cccbce2cd1cce465c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Tue, 20 Dec 2022 15:27:18 +0300 Subject: [PATCH 05/15] prettier warnings fixed --- .prettierignore | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.prettierignore b/.prettierignore index 728fc9f8a..158fb6052 100644 --- a/.prettierignore +++ b/.prettierignore @@ -2,8 +2,12 @@ build coverage dist -out public styles node_modules .vscode +components.d.ts +nuxt.d.ts +dist +.nuxt +.output From f060c3a940f5addfbed4ed3187564bdf82d45668 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Tue, 20 Dec 2022 15:29:50 +0300 Subject: [PATCH 06/15] Revert "prettier warnings fixed" This reverts commit 21b6753beb35b976ffffdf2cccbce2cd1cce465c. --- .prettierignore | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.prettierignore b/.prettierignore index 158fb6052..728fc9f8a 100644 --- a/.prettierignore +++ b/.prettierignore @@ -2,12 +2,8 @@ build coverage dist +out public styles node_modules .vscode -components.d.ts -nuxt.d.ts -dist -.nuxt -.output From ee8e35aabd09f903dfb0cf4b14c019351c475a2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Tue, 20 Dec 2022 15:32:32 +0300 Subject: [PATCH 07/15] prettier warnings fixed --- .prettierignore | 4 +++- api-generator/build-api.js | 6 ++++++ layouts/default.vue | 19 ++++++++++--------- nuxt.config.js | 1 - plugins/fullcalendar.client.js | 1 + rollup.config.js | 1 + service/CustomerService.js | 1 + 7 files changed, 22 insertions(+), 11 deletions(-) diff --git a/.prettierignore b/.prettierignore index 728fc9f8a..dee7b1425 100644 --- a/.prettierignore +++ b/.prettierignore @@ -2,8 +2,10 @@ build coverage dist -out public styles node_modules .vscode +dist +.nuxt +.output \ No newline at end of file diff --git a/api-generator/build-api.js b/api-generator/build-api.js index 7fc286c2a..63b11b9c9 100644 --- a/api-generator/build-api.js +++ b/api-generator/build-api.js @@ -17,6 +17,7 @@ const fileModules = {}, veturAttributes = {}; const files = fs.readdirSync(componentPath); + files.forEach((file) => { const { name } = path.parse(file); @@ -123,11 +124,13 @@ const createWebTypes = (component) => { const createVeturTags = (component) => { const attributes = []; + if (component.props) { component.props.forEach((comp) => { attributes.push(comp.name); }); } + if (attributes.length > 0) { veturTags[component.name] = { description: component.description, @@ -154,10 +157,13 @@ Object.keys(fileModules).forEach((p) => { }); const webTypesJson = JSON.stringify(webTypes, null, 2); + fs.writeFileSync(path.resolve(distDir, 'web-types.json'), webTypesJson); const veturTagsJson = JSON.stringify(veturTags, null, 2); + fs.writeFileSync(path.resolve(distDir, 'vetur-tags.json'), veturTagsJson); const veturAttributesJson = JSON.stringify(veturAttributes, null, 2); + fs.writeFileSync(path.resolve(distDir, 'vetur-attributes.json'), veturAttributesJson); diff --git a/layouts/default.vue b/layouts/default.vue index e6577f428..9f7387524 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -32,15 +32,6 @@ export default { sidebarActive: false }; }, - mounted() { - if (this.isOutdatedIE()) { - this.$toast.add({ - severity: 'warn', - summary: 'Limited Functionality', - detail: 'Although PrimeVue supports IE11, ThemeSwitcher in this application cannot be not fully supported by your browser. Please use a modern browser for the best experience of the showcase.' - }); - } - }, watch: { $route: { immediate: true, @@ -59,6 +50,15 @@ export default { } } }, + mounted() { + if (this.isOutdatedIE()) { + this.$toast.add({ + severity: 'warn', + summary: 'Limited Functionality', + detail: 'Although PrimeVue supports IE11, ThemeSwitcher in this application cannot be not fully supported by your browser. Please use a modern browser for the best experience of the showcase.' + }); + } + }, methods: { onMenuButtonClick() { if (this.sidebarActive) { @@ -94,6 +94,7 @@ export default { }, isOutdatedIE() { let ua = window.navigator.userAgent; + if (ua.indexOf('MSIE ') > 0 || ua.indexOf('Trident/') > 0) { return true; } diff --git a/nuxt.config.js b/nuxt.config.js index c62964f60..e066ad8de 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -1,6 +1,5 @@ import vueJsx from '@vitejs/plugin-vue-jsx'; const path = require('path'); - const baseUrl = process.env.NODE_ENV === 'production' ? '/primevue-nuxt/' : '/'; // https://v3.nuxtjs.org/api/configuration/nuxt.config diff --git a/plugins/fullcalendar.client.js b/plugins/fullcalendar.client.js index d54d287be..5cd93b5a9 100644 --- a/plugins/fullcalendar.client.js +++ b/plugins/fullcalendar.client.js @@ -12,6 +12,7 @@ const $fullCalendar = { Vue.config.globalProperties.$fullCalendar = FullCalendar; } }; + export default defineNuxtPlugin((nuxtApp) => { nuxtApp.vueApp.use($fullCalendar); }); diff --git a/rollup.config.js b/rollup.config.js index 2dbd437c9..0ba767ce6 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -144,6 +144,7 @@ function addSFC() { .forEach(({ name: folderName }) => { fs.readdirSync(path.resolve(__dirname, './components/' + folderName)).forEach((file) => { let name = file.split(/(.vue)$|(.js)$/)[0].toLowerCase(); + if (/\.vue$/.test(file) && name === folderName) { addEntry(folderName, file, name); } diff --git a/service/CustomerService.js b/service/CustomerService.js index 482e84aaf..27a74f40e 100755 --- a/service/CustomerService.js +++ b/service/CustomerService.js @@ -31,6 +31,7 @@ export default class CustomerService { .map((k) => encodeURIComponent(k) + '=' + encodeURIComponent(params[k])) .join('&') : ''; + return fetch('https://www.primefaces.org/data/customers?' + queryParams).then((res) => res.json()); } } From 7625a006d24656996dbf06eb9e05a649fbcbb2b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Tue, 20 Dec 2022 20:28:51 +0300 Subject: [PATCH 08/15] remove all client-only --- pages/accordion/AccordionDoc.vue | 598 ++- pages/autocomplete/AutoCompleteDoc.vue | 1336 ++++--- pages/avatar/AvatarDoc.vue | 346 +- pages/badge/BadgeDoc.vue | 270 +- pages/blockui/BlockUIDoc.vue | 225 +- pages/breadcrumb/BreadcrumbDoc.vue | 278 +- pages/button/ButtonDoc.vue | 384 +- pages/calendar/CalendarDoc.vue | 1566 ++++---- pages/card/CardDoc.vue | 176 +- pages/carousel/CarouselDoc.vue | 636 ++- pages/cascadeselect/CascadeSelectDoc.vue | 975 +++-- pages/chart/BarChartDoc.vue | 2 +- pages/chart/ComboChartDoc.vue | 2 +- pages/chart/DoughnutChartDoc.vue | 2 +- pages/chart/LineChartDoc.vue | 2 +- pages/chart/PieChartDoc.vue | 2 +- pages/chart/PolarAreaChartDoc.vue | 2 +- pages/chart/RadarChartDoc.vue | 2 +- pages/checkbox/CheckboxDoc.vue | 426 +- pages/chip/ChipDoc.vue | 288 +- pages/chips/ChipsDoc.vue | 496 ++- pages/colorpicker/ColorPickerDoc.vue | 538 ++- pages/confirmdialog/ConfirmDialogDoc.vue | 630 ++- pages/confirmpopup/ConfirmPopupDoc.vue | 591 ++- pages/contextmenu/ContextMenuDoc.vue | 656 ++-- pages/datatable/ColGroup.vue | 2 +- pages/datatable/ColResize.vue | 2 +- pages/datatable/ColToggle.vue | 2 +- pages/datatable/ContextMenu.vue | 2 +- pages/datatable/Crud.vue | 2 +- pages/datatable/DataTableBasicDoc.vue | 2 +- pages/datatable/DataTableDoc.vue | 3437 ++++++++--------- pages/datatable/DynamicColumns.vue | 2 +- pages/datatable/Edit.vue | 2 +- pages/datatable/Export.vue | 2 +- pages/datatable/Filter.vue | 2 +- pages/datatable/FlexScroll.vue | 2 +- pages/datatable/GridLines.vue | 2 +- pages/datatable/Lazy.vue | 2 +- pages/datatable/Paginator.vue | 2 +- pages/datatable/Reorder.vue | 2 +- pages/datatable/Responsive.vue | 2 +- pages/datatable/RowExpand.vue | 2 +- pages/datatable/RowGroup.vue | 2 +- pages/datatable/Scroll.vue | 2 +- pages/datatable/Selection.vue | 2 +- pages/datatable/Size.vue | 2 +- pages/datatable/Sort.vue | 2 +- pages/datatable/State.vue | 2 +- pages/datatable/Striped.vue | 2 +- pages/datatable/Style.vue | 2 +- pages/datatable/Templating.vue | 2 +- pages/datatable/VirtualScroll.vue | 2 +- pages/dataview/DataViewDoc.vue | 652 ++-- pages/deferredcontent/DeferredContentDoc.vue | 98 +- pages/dialog/DialogDoc.vue | 746 ++-- pages/divider/DividerDoc.vue | 242 +- pages/dock/DockDoc.vue | 484 ++- pages/dropdown/DropdownDoc.vue | 1422 ++++--- pages/dynamicdialog/DynamicDialogDoc.vue | 296 +- pages/editor/EditorDoc.vue | 320 +- pages/fieldset/FieldsetDoc.vue | 336 +- pages/fileupload/FileUploadDoc.vue | 808 ++-- pages/filterservice/FilterServiceDoc.vue | 340 +- pages/floatlabel/index.vue | 2 +- pages/focustrap/FocusTrapDoc.vue | 74 +- pages/fullcalendar/FullCalendarDoc.vue | 22 +- pages/galleria/Advanced.vue | 10 +- pages/galleria/AutoPlay.vue | 4 +- pages/galleria/Caption.vue | 8 +- pages/galleria/FullScreen.vue | 4 +- pages/galleria/GalleriaDoc.vue | 4 +- pages/galleria/Indicator.vue | 6 +- pages/galleria/Navigator.vue | 4 +- pages/galleria/Programmatic.vue | 4 +- pages/galleria/Responsive.vue | 4 +- pages/galleria/Thumbnail.vue | 4 +- pages/image/ImageDoc.vue | 380 +- pages/index.vue | 30 +- pages/inplace/InplaceDoc.vue | 400 +- pages/inputgroup/InputGroupDoc.vue | 2 +- pages/inputmask/InputMaskDoc.vue | 238 +- pages/inputnumber/InputNumberDoc.vue | 821 ++-- pages/inputswitch/InputSwitchDoc.vue | 314 +- pages/inputtext/InputTextDoc.vue | 220 +- pages/invalid/index.vue | 2 +- pages/knob/KnobDoc.vue | 500 ++- pages/listbox/ListboxDoc.vue | 1014 +++-- pages/megamenu/MegaMenuDoc.vue | 592 ++- pages/menu/MenuDoc.vue | 614 ++- pages/menubar/MenubarDoc.vue | 487 ++- pages/message/MessageDoc.vue | 516 ++- pages/multiselect/MultiSelectDoc.vue | 1610 ++++---- pages/orderlist/OrderListDoc.vue | 698 ++-- .../OrganizationChartDoc.vue | 506 ++- pages/overlaypanel/OverlayPanelDoc.vue | 460 ++- pages/paginator/PaginatorDoc.vue | 540 ++- pages/panel/PanelDoc.vue | 364 +- pages/panelmenu/PanelMenuDoc.vue | 634 ++- pages/password/PasswordDoc.vue | 572 ++- pages/picklist/PickListDoc.vue | 923 +++-- pages/progressbar/ProgressBarDoc.vue | 194 +- pages/progressspinner/ProgressSpinnerDoc.vue | 166 +- pages/radiobutton/RadioButtonDoc.vue | 376 +- pages/rating/RatingDoc.vue | 437 ++- pages/ripple/RippleDoc.vue | 106 +- pages/scrollpanel/ScrollPanelDoc.vue | 225 +- pages/scrolltop/ScrollTopDoc.vue | 222 +- pages/selectbutton/SelectButtonDoc.vue | 378 +- pages/setup/index.vue | 349 +- pages/sidebar/SidebarDoc.vue | 518 ++- pages/skeleton/SkeletonDoc.vue | 220 +- pages/slider/SliderDoc.vue | 416 +- pages/speeddial/SpeedDialDoc.vue | 736 ++-- pages/splitbutton/SplitButtonDoc.vue | 584 ++- pages/splitter/SplitterDoc.vue | 440 ++- pages/steps/StepsDoc.vue | 374 +- pages/styleclass/StyleClassDoc.vue | 232 +- pages/tabmenu/TabMenuDoc.vue | 400 +- pages/tabview/TabViewDoc.vue | 606 ++- pages/tag/TagDoc.vue | 208 +- pages/terminal/TerminalDoc.vue | 213 +- pages/textarea/TextareaDoc.vue | 174 +- pages/tieredmenu/TieredMenuDoc.vue | 674 ++-- pages/timeline/TimelineDoc.vue | 396 +- pages/toast/ToastDoc.vue | 644 ++- pages/togglebutton/ToggleButtonDoc.vue | 404 +- pages/toolbar/ToolbarDoc.vue | 142 +- pages/tooltip/TooltipDoc.vue | 258 +- pages/tree/Filter.vue | 2 +- pages/tree/Lazy.vue | 2 +- pages/tree/Scroll.vue | 2 +- pages/tree/Selection.vue | 2 +- pages/tree/Templating.vue | 2 +- pages/tree/TreeDoc.vue | 874 +++-- pages/treeselect/TreeSelectDoc.vue | 940 +++-- pages/treetable/ColResize.vue | 2 +- pages/treetable/ColToggle.vue | 2 +- pages/treetable/Filter.vue | 2 +- pages/treetable/Lazy.vue | 2 +- pages/treetable/Paginator.vue | 2 +- pages/treetable/Responsive.vue | 2 +- pages/treetable/Scroll.vue | 2 +- pages/treetable/Selection.vue | 2 +- pages/treetable/Size.vue | 2 +- pages/treetable/Sort.vue | 2 +- pages/treetable/Templating.vue | 2 +- pages/treetable/TreeTableDoc.vue | 1814 +++++---- .../tristatecheckbox/TriStateCheckboxDoc.vue | 270 +- pages/validation/index.vue | 17 +- pages/virtualscroller/VirtualScrollerDoc.vue | 612 ++- 151 files changed, 23351 insertions(+), 23551 deletions(-) diff --git a/pages/accordion/AccordionDoc.vue b/pages/accordion/AccordionDoc.vue index c130c3500..bac3b6004 100755 --- a/pages/accordion/AccordionDoc.vue +++ b/pages/accordion/AccordionDoc.vue @@ -1,24 +1,23 @@