@vc-shell/framework 1.1.4 → 1.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +20 -0
- package/core/directives/loading/styles.css +1 -1
- package/core/plugins/modularity/README.md +347 -17
- package/core/plugins/modularity/loader.ts +248 -3
- package/dist/core/plugins/modularity/loader.d.ts +4 -0
- package/dist/core/plugins/modularity/loader.d.ts.map +1 -1
- package/dist/shared/components/common/popup/vc-popup-error.vue.d.ts +2 -2
- package/dist/shared/components/common/popup/vc-popup-error.vue.d.ts.map +1 -1
- package/dist/shared/components/common/popup/vc-popup-info.vue.d.ts +2 -2
- package/dist/shared/components/common/popup/vc-popup-info.vue.d.ts.map +1 -1
- package/dist/shared/components/common/popup/vc-popup-warning.vue.d.ts +2 -2
- package/dist/shared/components/common/popup/vc-popup-warning.vue.d.ts.map +1 -1
- package/dist/shared/components/dashboard-widget-card/dashboard-widget-card.vue.d.ts +3 -3
- package/dist/shared/components/dashboard-widget-card/dashboard-widget-card.vue.d.ts.map +1 -1
- package/dist/shared/components/draggable-dashboard/composables/useDashboardDragAndDrop.d.ts +4 -4
- package/dist/shared/components/generic-dropdown/generic-dropdown.vue.d.ts.map +1 -1
- package/dist/shared/components/notifications/components/notification-container/index.d.ts +6 -6
- package/dist/shared/components/notifications/components/notification-container/index.d.ts.map +1 -1
- package/dist/shared/components/settings-menu-item/settings-menu-item.vue.d.ts.map +1 -1
- package/dist/shared/modules/assets-manager/components/assets-manager/assets-manager.vue.d.ts +2 -2
- package/dist/shared/modules/dynamic/pages/dynamic-blade-form.vue.d.ts +2 -2
- package/dist/shared/modules/dynamic/pages/dynamic-blade-list.vue.d.ts +2 -2
- package/dist/shared/pages/InvitePage/components/invite/Invite.vue.d.ts +1 -1
- package/dist/shared/pages/InvitePage/components/invite/Invite.vue.d.ts.map +1 -1
- package/dist/shared/pages/ResetPasswordPage/components/reset-password/ResetPassword.vue.d.ts +1 -1
- package/dist/shared/pages/ResetPasswordPage/components/reset-password/ResetPassword.vue.d.ts.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui/components/atoms/vc-badge/vc-badge.vue.d.ts +2 -2
- package/dist/ui/components/atoms/vc-badge/vc-badge.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-container/vc-container.vue.d.ts +2 -2
- package/dist/ui/components/atoms/vc-icon/composables/index.d.ts +3 -0
- package/dist/ui/components/atoms/vc-icon/composables/index.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-icon/composables/use-icon-type.d.ts +22 -0
- package/dist/ui/components/atoms/vc-icon/composables/use-icon-type.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-icon/composables/use-icon.d.ts +30 -0
- package/dist/ui/components/atoms/vc-icon/composables/use-icon.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-icon/index.d.ts +1 -0
- package/dist/ui/components/atoms/vc-icon/index.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-icon/types.d.ts +31 -0
- package/dist/ui/components/atoms/vc-icon/types.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-icon/vc-bootstrap-icon.vue.d.ts +18 -4
- package/dist/ui/components/atoms/vc-icon/vc-bootstrap-icon.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-icon/vc-fontawesome-icon.vue.d.ts +15 -2
- package/dist/ui/components/atoms/vc-icon/vc-fontawesome-icon.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-icon/vc-icon-examples.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-icon/vc-icon-test.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-icon/vc-icon.vue.d.ts +11 -6
- package/dist/ui/components/atoms/vc-icon/vc-icon.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-icon/vc-lucide-icon.vue.d.ts +21 -4
- package/dist/ui/components/atoms/vc-icon/vc-lucide-icon.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-icon/vc-material-icon.vue.d.ts +31 -5
- package/dist/ui/components/atoms/vc-icon/vc-material-icon.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-icon/vc-svg-icon.vue.d.ts +33 -0
- package/dist/ui/components/atoms/vc-icon/vc-svg-icon.vue.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-label/vc-label.vue.d.ts +2 -2
- package/dist/ui/components/atoms/vc-label/vc-label.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-progress/vc-progress.vue.d.ts +1 -1
- package/dist/ui/components/atoms/vc-progress/vc-progress.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-tooltip/vc-tooltip.vue.d.ts +2 -2
- package/dist/ui/components/atoms/vc-tooltip/vc-tooltip.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-checkbox/vc-checkbox.vue.d.ts +3 -3
- package/dist/ui/components/molecules/vc-checkbox/vc-checkbox.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-editor/vc-editor.vue.d.ts +2 -2
- package/dist/ui/components/molecules/vc-file-upload/vc-file-upload.vue.d.ts +3 -3
- package/dist/ui/components/molecules/vc-file-upload/vc-file-upload.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts +4 -4
- package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-input-currency/vc-input-currency.vue.d.ts +6 -34
- package/dist/ui/components/molecules/vc-input-currency/vc-input-currency.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-input-dropdown/index.d.ts +4 -0
- package/dist/ui/components/molecules/vc-input-dropdown/index.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-input-dropdown/vc-input-dropdown.vue.d.ts +171 -0
- package/dist/ui/components/molecules/vc-input-dropdown/vc-input-dropdown.vue.d.ts.map +1 -0
- package/dist/ui/components/molecules/vc-multivalue/vc-multivalue.vue.d.ts +2 -2
- package/dist/ui/components/molecules/vc-multivalue/vc-multivalue.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-pagination/vc-pagination.vue.d.ts +1 -1
- package/dist/ui/components/molecules/vc-pagination/vc-pagination.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-rating/vc-rating.vue.d.ts +2 -2
- package/dist/ui/components/molecules/vc-rating/vc-rating.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-select/vc-select.vue.d.ts +3 -3
- package/dist/ui/components/molecules/vc-select/vc-select.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-textarea/vc-textarea.vue.d.ts +1 -1
- package/dist/ui/components/molecules/vc-textarea/vc-textarea.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarWidgetItem.vue.d.ts +2 -2
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarWidgetItem.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/MenuSidebar.vue.d.ts +5 -5
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/MenuSidebar.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/vc-app-bar.vue.d.ts +3 -3
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/vc-app-bar.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/vc-app-menu-item.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/vc-app-menu-item.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/vc-app.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-app/vc-app.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/props.d.ts +14 -0
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/props.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-base-button.vue.d.ts +3 -14
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-base-button.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-button.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-button.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-circle-button.vue.d.ts +2 -2
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-circle-button.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts +5 -5
- package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue.d.ts +2 -2
- package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-gallery/vc-gallery.vue.d.ts +3 -3
- package/dist/ui/components/organisms/vc-gallery/vc-gallery.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-login-form/vc-login-form.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-login-form/vc-login-form.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-popup/vc-popup.vue.d.ts +4 -4
- package/dist/ui/components/organisms/vc-popup/vc-popup.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-cell/vc-table-cell.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-cell/vc-table-cell.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-column-switcher/vc-table-column-switcher.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-column-switcher/vc-table-column-switcher.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-counter/vc-table-counter.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-counter/vc-table-counter.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-body/vc-table-body.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-body/vc-table-body.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-columns-header/vc-table-columns-header.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-columns-header/vc-table-columns-header.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-row/vc-table-row.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-row/vc-table-row.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/vc-table-desktop-view.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/vc-table-desktop-view.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-mobile-view/vc-table-mobile-view.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-mobile-view/vc-table-mobile-view.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/composables/useTableActions.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/composables/useTableActions.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/composables/useTableColumnReorder.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/composables/useTableColumnReorder.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/composables/useTableColumnResize.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/composables/useTableColumnResize.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/composables/useTableRowReorder.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/composables/useTableRowReorder.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/composables/useTableSelection.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/composables/useTableSelection.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/composables/useTableState.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/composables/useTableState.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/types.d.ts +36 -0
- package/dist/ui/components/organisms/vc-table/types.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-table/vc-table.vue.d.ts +2 -34
- package/dist/ui/components/organisms/vc-table/vc-table.vue.d.ts.map +1 -1
- package/package.json +4 -4
- package/shared/components/common/popup/vc-popup-error.vue +3 -3
- package/shared/components/common/popup/vc-popup-info.vue +3 -3
- package/shared/components/common/popup/vc-popup-warning.vue +3 -3
- package/shared/components/dashboard-widget-card/dashboard-widget-card.vue +4 -4
- package/shared/components/generic-dropdown/generic-dropdown.vue +1 -1
- package/shared/components/settings-menu-item/settings-menu-item.vue +1 -6
- package/shared/components/user-dropdown-button/_internal/user-info.vue +3 -3
- package/ui/components/atoms/vc-badge/vc-badge.vue +2 -2
- package/ui/components/atoms/vc-icon/README.md +198 -220
- package/ui/components/atoms/vc-icon/composables/index.ts +2 -0
- package/ui/components/atoms/vc-icon/composables/use-icon-type.ts +83 -0
- package/ui/components/atoms/vc-icon/composables/use-icon.ts +129 -0
- package/ui/components/atoms/vc-icon/index.ts +1 -0
- package/ui/components/atoms/vc-icon/types.ts +36 -0
- package/ui/components/atoms/vc-icon/vc-bootstrap-icon.vue +111 -10
- package/ui/components/atoms/vc-icon/vc-fontawesome-icon.vue +119 -17
- package/ui/components/atoms/vc-icon/vc-icon-examples.vue +485 -124
- package/ui/components/atoms/vc-icon/vc-icon-test.vue +399 -209
- package/ui/components/atoms/vc-icon/vc-icon.stories.ts +501 -55
- package/ui/components/atoms/vc-icon/vc-icon.vue +240 -155
- package/ui/components/atoms/vc-icon/vc-lucide-icon.vue +163 -33
- package/ui/components/atoms/vc-icon/vc-material-icon.vue +136 -30
- package/ui/components/atoms/vc-icon/vc-svg-icon.vue +168 -0
- package/ui/components/atoms/vc-label/vc-label.vue +3 -3
- package/ui/components/atoms/vc-tooltip/vc-tooltip.vue +3 -3
- package/ui/components/atoms/vc-widget/vc-widget.stories.ts +13 -0
- package/ui/components/molecules/vc-checkbox/vc-checkbox.vue +4 -4
- package/ui/components/molecules/vc-file-upload/vc-file-upload.vue +2 -2
- package/ui/components/molecules/vc-input-currency/vc-input-currency.stories.ts +1 -1
- package/ui/components/molecules/vc-input-currency/vc-input-currency.vue +36 -115
- package/ui/components/molecules/vc-input-dropdown/index.ts +4 -0
- package/ui/components/molecules/vc-input-dropdown/vc-input-dropdown.stories.ts +763 -0
- package/ui/components/molecules/vc-input-dropdown/vc-input-dropdown.vue +268 -0
- package/ui/components/molecules/vc-multivalue/vc-multivalue.vue +3 -3
- package/ui/components/molecules/vc-pagination/vc-pagination.vue +23 -14
- package/ui/components/molecules/vc-rating/vc-rating.vue +2 -2
- package/ui/components/molecules/vc-textarea/vc-textarea.vue +2 -2
- package/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarHeader.vue +2 -2
- package/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/AppBarWidgetItem.vue +3 -3
- package/ui/components/organisms/vc-app/_internal/vc-app-bar/_internal/MenuSidebar.vue +6 -6
- package/ui/components/organisms/vc-app/_internal/vc-app-bar/vc-app-bar.vue +6 -7
- package/ui/components/organisms/vc-app/vc-app.vue +2 -3
- package/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/props.ts +14 -0
- package/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-base-button.vue +1 -12
- package/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-circle-button.vue +1 -1
- package/ui/components/organisms/vc-blade/vc-blade.vue +5 -5
- package/ui/components/organisms/vc-login-form/vc-login-form.vue +2 -2
- package/ui/components/organisms/vc-popup/vc-popup.vue +4 -4
- package/ui/components/organisms/vc-table/_internal/vc-table-cell/vc-table-cell.vue +1 -1
- package/ui/components/organisms/vc-table/_internal/vc-table-column-switcher/vc-table-column-switcher.vue +1 -1
- package/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-body/vc-table-body.vue +1 -1
- package/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-columns-header/vc-table-columns-header.vue +1 -1
- package/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/_internal/vc-table-row/vc-table-row.vue +1 -1
- package/ui/components/organisms/vc-table/_internal/vc-table-desktop-view/vc-table-desktop-view.vue +1 -1
- package/ui/components/organisms/vc-table/_internal/vc-table-mobile-view/vc-table-mobile-view.vue +1 -1
- package/ui/components/organisms/vc-table/composables/useTableActions.ts +1 -1
- package/ui/components/organisms/vc-table/composables/useTableColumnReorder.ts +1 -1
- package/ui/components/organisms/vc-table/composables/useTableColumnResize.ts +1 -1
- package/ui/components/organisms/vc-table/composables/useTableRowReorder.ts +1 -1
- package/ui/components/organisms/vc-table/composables/useTableSelection.ts +1 -1
- package/ui/components/organisms/vc-table/composables/useTableState.ts +1 -1
- package/ui/components/organisms/vc-table/types.ts +32 -0
- package/ui/components/organisms/vc-table/vc-table.vue +2 -30
- package/dist/apl-B2DGVGxc.js +0 -76
- package/dist/asciiarmor-2LVJmxlE.js +0 -34
- package/dist/asn1-jKiBa2Ya.js +0 -95
- package/dist/asterisk-DS281yxp.js +0 -271
- package/dist/brainfuck-C_p9pTT8.js +0 -34
- package/dist/clike-BUuHEmgZ.js +0 -620
- package/dist/clojure-CCKyeQKf.js +0 -800
- package/dist/cmake-CuaCgAKt.js +0 -28
- package/dist/cobol-BlTKFDRj.js +0 -72
- package/dist/coffeescript-BVCvwO8I.js +0 -179
- package/dist/commonlisp-D_kxz07b.js +0 -75
- package/dist/crystal-D309uH6_.js +0 -217
- package/dist/css-bIlmDBTK.js +0 -1560
- package/dist/cypher-BMq4Fwjl.js +0 -68
- package/dist/d-BZcgY6La.js +0 -127
- package/dist/diff-Cg9d_RX2.js +0 -18
- package/dist/dockerfile-DIy8NleC.js +0 -194
- package/dist/dtd-CtLokQ-U.js +0 -84
- package/dist/dylan-QYeExnWK.js +0 -234
- package/dist/ebnf-DUPDuY4r.js +0 -78
- package/dist/ecl-CiXN-g_D.js +0 -121
- package/dist/eiffel-yQhjl4T1.js +0 -110
- package/dist/elm-CNT9vbN0.js +0 -108
- package/dist/erlang-CFOYdy9e.js +0 -487
- package/dist/factor-DDOC7X6P.js +0 -65
- package/dist/fcl-CPC2WYrI.js +0 -103
- package/dist/forth-BmxRyE9S.js +0 -60
- package/dist/fortran-9bvPyrOW.js +0 -442
- package/dist/framework.js +0 -288
- package/dist/gas-BdfkXJT_.js +0 -183
- package/dist/gherkin-CJuwpceU.js +0 -34
- package/dist/groovy-DZeT_VM-.js +0 -146
- package/dist/haskell-Bvt3Qq1t.js +0 -375
- package/dist/haxe-70NVW1pR.js +0 -359
- package/dist/http-D9LttvKF.js +0 -44
- package/dist/idl-B6TRFYjl.js +0 -947
- package/dist/index-BBYKbiRX.js +0 -93
- package/dist/index-BDm0tcWn.js +0 -145680
- package/dist/index-BDqUaIyQ.js +0 -156
- package/dist/index-BdflTsg6.js +0 -308
- package/dist/index-BpBTtmQ6.js +0 -288
- package/dist/index-Br0y2YMn.js +0 -58
- package/dist/index-CIcET-ZI.js +0 -71
- package/dist/index-CYAMpxnu.js +0 -341
- package/dist/index-Cf2H7YZ1.js +0 -98
- package/dist/index-Ck055pN8.js +0 -134
- package/dist/index-D-fPN3yf.js +0 -75
- package/dist/index-DJOis7Nc.js +0 -299
- package/dist/index-DKtQMsy4.js +0 -538
- package/dist/index-DWTsz5bC.js +0 -611
- package/dist/index-DuY7BIGm.js +0 -265
- package/dist/index-o6aSdNED.js +0 -137
- package/dist/index-wfv8ehcx.js +0 -249
- package/dist/index.css +0 -9
- package/dist/javascript-WMWNx-Vj.js +0 -690
- package/dist/jinja2-DnB6dQmV.js +0 -154
- package/dist/julia-DpvXAuO6.js +0 -241
- package/dist/livescript-CanGTf8u.js +0 -272
- package/dist/lua-XplVlWi_.js +0 -217
- package/dist/mathematica-jaRHnSxC.js +0 -35
- package/dist/mbox-BctzC1hL.js +0 -76
- package/dist/mirc-CFBPAOaF.js +0 -72
- package/dist/mllike-BSnXJBGA.js +0 -272
- package/dist/modelica-vUgVs--1.js +0 -93
- package/dist/mscgen-Cpl0NYLN.js +0 -104
- package/dist/mumps-CQoS1kWX.js +0 -25
- package/dist/nginx-zDPm3Z74.js +0 -89
- package/dist/nsis-fePjrhq7.js +0 -62
- package/dist/ntriples-CsNjv2QF.js +0 -79
- package/dist/octave-C8PmmSRH.js +0 -143
- package/dist/oz-Ce8aN8oE.js +0 -151
- package/dist/pascal-De0D6mP7.js +0 -77
- package/dist/perl-B4bSCe1C.js +0 -915
- package/dist/pig-D24Z8EXi.js +0 -54
- package/dist/powershell-DkYVfTzP.js +0 -249
- package/dist/properties-Dn9wna3M.js +0 -26
- package/dist/protobuf-BPIjwpzm.js +0 -49
- package/dist/pug-BqUR2bBq.js +0 -248
- package/dist/puppet-nyd4dhjf.js +0 -45
- package/dist/python-B5QdSKoL.js +0 -313
- package/dist/q-DXjKs-tC.js +0 -83
- package/dist/r-LKEuhEGI.js +0 -104
- package/dist/rpm-IznJm2Xc.js +0 -57
- package/dist/ruby-CcYfvIk6.js +0 -228
- package/dist/sas-7E8yHoCW.js +0 -105
- package/dist/scheme-DjibxsNh.js +0 -124
- package/dist/shell-C0C2sNA_.js +0 -182
- package/dist/sieve-Bwz7vjP5.js +0 -72
- package/dist/simple-mode-B0dvCdAA.js +0 -89
- package/dist/smalltalk-Bhddl2pB.js +0 -48
- package/dist/solr-BNlsLglM.js +0 -41
- package/dist/sparql-FarWu_Gb.js +0 -197
- package/dist/spreadsheet-C-cy4P5N.js +0 -49
- package/dist/sql-mMre1Bo3.js +0 -282
- package/dist/stex-92raWT1r.js +0 -129
- package/dist/stylus-CAdqWld3.js +0 -250
- package/dist/swift-DSxqR9R6.js +0 -230
- package/dist/tcl-xfoLljhY.js +0 -81
- package/dist/textile-D1AWE-pc.js +0 -295
- package/dist/tiddlywiki-5wqsXtSk.js +0 -155
- package/dist/tiki-__Kn3CeS.js +0 -181
- package/dist/toml-BHiuTcfn.js +0 -49
- package/dist/troff-D2UO-fKf.js +0 -35
- package/dist/ttcn-Bsa4sfRm.js +0 -123
- package/dist/ttcn-cfg-Bac_acMi.js +0 -88
- package/dist/turtle-xwJUxoPV.js +0 -80
- package/dist/vb-c2kQGd6-.js +0 -74
- package/dist/vbscript-Dz1TtKsy.js +0 -324
- package/dist/velocity-DJd0pTTC.js +0 -96
- package/dist/verilog-C4VGD9n1.js +0 -263
- package/dist/vhdl-T9HkrbI2.js +0 -106
- package/dist/webidl-CjfDENEo.js +0 -155
- package/dist/xquery-BUQdORAS.js +0 -422
- package/dist/yacas-C0absKBh.js +0 -73
- package/dist/z80-C8rPtw-0.js +0 -61
|
@@ -0,0 +1,268 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<VcSelect
|
|
3
|
+
class="vc-input-dropdown"
|
|
4
|
+
:options="options"
|
|
5
|
+
:option-label="optionLabel"
|
|
6
|
+
:option-value="optionValue"
|
|
7
|
+
:searchable="searchable"
|
|
8
|
+
:debounce="debounce"
|
|
9
|
+
:disabled="disabled"
|
|
10
|
+
:label="label"
|
|
11
|
+
:required="required"
|
|
12
|
+
:model-value="option"
|
|
13
|
+
:tooltip="tooltip"
|
|
14
|
+
@update:model-value="$emit('update:option', $event)"
|
|
15
|
+
>
|
|
16
|
+
<template #control="{ toggleHandler }">
|
|
17
|
+
<VcInput
|
|
18
|
+
:placeholder="placeholder"
|
|
19
|
+
:hint="hint"
|
|
20
|
+
:clearable="clearable"
|
|
21
|
+
:prefix="prefix"
|
|
22
|
+
:suffix="suffix"
|
|
23
|
+
:name="name"
|
|
24
|
+
:model-value="modelValue"
|
|
25
|
+
:loading="loading"
|
|
26
|
+
:disabled="disabled"
|
|
27
|
+
:autofocus="autofocus"
|
|
28
|
+
:error="error"
|
|
29
|
+
:error-message="errorMessage"
|
|
30
|
+
:maxlength="maxlength"
|
|
31
|
+
:type="inputType"
|
|
32
|
+
class="vc-input-dropdown__input"
|
|
33
|
+
@update:model-value="$emit('update:model-value', $event)"
|
|
34
|
+
@blur="$emit('blur', $event)"
|
|
35
|
+
>
|
|
36
|
+
<template #append-inner>
|
|
37
|
+
<slot
|
|
38
|
+
name="button"
|
|
39
|
+
:toggle-handler="toggleHandler"
|
|
40
|
+
>
|
|
41
|
+
<template v-if="options && options.length">
|
|
42
|
+
<button
|
|
43
|
+
class="vc-input-dropdown__toggle-button"
|
|
44
|
+
tabindex="0"
|
|
45
|
+
@click.stop.prevent="toggleHandler"
|
|
46
|
+
@keydown.enter.stop.prevent="toggleHandler"
|
|
47
|
+
@keydown.space.stop.prevent="toggleHandler"
|
|
48
|
+
>
|
|
49
|
+
{{ unref(option) }}
|
|
50
|
+
</button>
|
|
51
|
+
</template>
|
|
52
|
+
</slot>
|
|
53
|
+
<slot
|
|
54
|
+
v-if="$slots['append-inner']"
|
|
55
|
+
name="append-inner"
|
|
56
|
+
></slot>
|
|
57
|
+
</template>
|
|
58
|
+
<template
|
|
59
|
+
v-if="$slots.control"
|
|
60
|
+
#control="scope"
|
|
61
|
+
>
|
|
62
|
+
<slot
|
|
63
|
+
name="control"
|
|
64
|
+
v-bind="scope"
|
|
65
|
+
></slot>
|
|
66
|
+
</template>
|
|
67
|
+
<template
|
|
68
|
+
v-if="$slots['prepend-inner']"
|
|
69
|
+
#prepend-inner
|
|
70
|
+
>
|
|
71
|
+
<slot name="prepend-inner"></slot>
|
|
72
|
+
</template>
|
|
73
|
+
<template
|
|
74
|
+
v-if="$slots['append']"
|
|
75
|
+
#append
|
|
76
|
+
>
|
|
77
|
+
<slot name="append"></slot>
|
|
78
|
+
</template>
|
|
79
|
+
<template
|
|
80
|
+
v-if="$slots['prepend']"
|
|
81
|
+
#prepend
|
|
82
|
+
>
|
|
83
|
+
<slot name="prepend"></slot>
|
|
84
|
+
</template>
|
|
85
|
+
</VcInput>
|
|
86
|
+
</template>
|
|
87
|
+
</VcSelect>
|
|
88
|
+
</template>
|
|
89
|
+
<!-- eslint-disable @typescript-eslint/no-explicit-any -->
|
|
90
|
+
<script lang="ts" setup>
|
|
91
|
+
import { unref } from "vue";
|
|
92
|
+
import { VcSelect, VcInput } from "./../../";
|
|
93
|
+
import { OptionProp } from "../vc-select/vc-select.vue";
|
|
94
|
+
|
|
95
|
+
export interface Props {
|
|
96
|
+
/**
|
|
97
|
+
* Model of the input component
|
|
98
|
+
*/
|
|
99
|
+
modelValue: unknown;
|
|
100
|
+
/**
|
|
101
|
+
* Input label text
|
|
102
|
+
*/
|
|
103
|
+
label?: string;
|
|
104
|
+
/**
|
|
105
|
+
* Input placeholder text
|
|
106
|
+
*/
|
|
107
|
+
placeholder?: string;
|
|
108
|
+
/**
|
|
109
|
+
* Input description (hint) text below input component
|
|
110
|
+
*/
|
|
111
|
+
hint?: string;
|
|
112
|
+
/**
|
|
113
|
+
* Appends clearable icon when a value is set;
|
|
114
|
+
* When clicked, model becomes null
|
|
115
|
+
*/
|
|
116
|
+
clearable?: boolean;
|
|
117
|
+
/**
|
|
118
|
+
* Prefix
|
|
119
|
+
*/
|
|
120
|
+
prefix?: string;
|
|
121
|
+
/**
|
|
122
|
+
* Suffix
|
|
123
|
+
*/
|
|
124
|
+
suffix?: string;
|
|
125
|
+
/**
|
|
126
|
+
* Used to specify the name of the control; If not specified, it takes the value 'Field'
|
|
127
|
+
*/
|
|
128
|
+
name?: string;
|
|
129
|
+
/**
|
|
130
|
+
* Signals the user a process is in progress by displaying a spinner
|
|
131
|
+
*/
|
|
132
|
+
loading?: boolean;
|
|
133
|
+
/**
|
|
134
|
+
* Debounce amount (in milliseconds) for search input
|
|
135
|
+
* Default: 0
|
|
136
|
+
*/
|
|
137
|
+
debounce?: string | number;
|
|
138
|
+
/**
|
|
139
|
+
* Put component in disabled mode
|
|
140
|
+
*/
|
|
141
|
+
disabled?: boolean;
|
|
142
|
+
/**
|
|
143
|
+
* Focus field on initial component render
|
|
144
|
+
*/
|
|
145
|
+
autofocus?: boolean;
|
|
146
|
+
/**
|
|
147
|
+
* Does field have validation errors?
|
|
148
|
+
*/
|
|
149
|
+
error?: boolean;
|
|
150
|
+
/**
|
|
151
|
+
* Validation error message (gets displayed only if 'error' is set to 'true')
|
|
152
|
+
*/
|
|
153
|
+
errorMessage?: string;
|
|
154
|
+
/**
|
|
155
|
+
* Specify a max length of model
|
|
156
|
+
* Default value: 1024
|
|
157
|
+
*/
|
|
158
|
+
maxlength?: string | number;
|
|
159
|
+
/**
|
|
160
|
+
* Input tooltip information
|
|
161
|
+
*/
|
|
162
|
+
tooltip?: string;
|
|
163
|
+
/**
|
|
164
|
+
* Input required state
|
|
165
|
+
*/
|
|
166
|
+
required?: boolean;
|
|
167
|
+
/**
|
|
168
|
+
* Option label
|
|
169
|
+
*/
|
|
170
|
+
option?: unknown;
|
|
171
|
+
/**
|
|
172
|
+
* Available options that the user can select from.
|
|
173
|
+
* Default value: []
|
|
174
|
+
*/
|
|
175
|
+
options?: unknown[];
|
|
176
|
+
/**
|
|
177
|
+
* Property of option which holds the 'value'
|
|
178
|
+
* Default value: id
|
|
179
|
+
* @param option The current option being processed
|
|
180
|
+
* @returns Value of the current option
|
|
181
|
+
*/
|
|
182
|
+
optionValue?: OptionProp<unknown>;
|
|
183
|
+
/**
|
|
184
|
+
* Property of option which holds the 'label'
|
|
185
|
+
* Default value: title
|
|
186
|
+
* @param option The current option being processed
|
|
187
|
+
* @returns Label of the current option
|
|
188
|
+
*/
|
|
189
|
+
optionLabel?: OptionProp<unknown>;
|
|
190
|
+
/**
|
|
191
|
+
* Enable search in dropdown
|
|
192
|
+
*/
|
|
193
|
+
searchable?: boolean;
|
|
194
|
+
/**
|
|
195
|
+
* Type of the input field
|
|
196
|
+
* Default: text
|
|
197
|
+
*/
|
|
198
|
+
inputType?: string;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
export interface Emits {
|
|
202
|
+
(event: "update:model-value", value: unknown): void;
|
|
203
|
+
(event: "update:option", value: unknown): void;
|
|
204
|
+
(event: "change", value: unknown): void;
|
|
205
|
+
(event: "blur", value: Event): void;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
const props = withDefaults(defineProps<Props>(), {
|
|
209
|
+
debounce: 0,
|
|
210
|
+
searchable: false,
|
|
211
|
+
inputType: "text",
|
|
212
|
+
});
|
|
213
|
+
|
|
214
|
+
defineSlots<{
|
|
215
|
+
/**
|
|
216
|
+
* Slot for custom dropdown open handler
|
|
217
|
+
*/
|
|
218
|
+
button: (scope: {
|
|
219
|
+
/**
|
|
220
|
+
* Dropdown open/close handler
|
|
221
|
+
*/
|
|
222
|
+
toggleHandler: () => void;
|
|
223
|
+
}) => unknown;
|
|
224
|
+
/**
|
|
225
|
+
* Slot for custom append-inner content
|
|
226
|
+
*/
|
|
227
|
+
"append-inner": (props: any) => any;
|
|
228
|
+
/**
|
|
229
|
+
* Slot for custom prepend-inner content
|
|
230
|
+
*/
|
|
231
|
+
"prepend-inner": (props: any) => any;
|
|
232
|
+
/**
|
|
233
|
+
* Slot for custom append content
|
|
234
|
+
*/
|
|
235
|
+
append: (props: any) => any;
|
|
236
|
+
/**
|
|
237
|
+
* Slot for custom prepend content
|
|
238
|
+
*/
|
|
239
|
+
prepend: (props: any) => any;
|
|
240
|
+
/**
|
|
241
|
+
* Slot for custom input control
|
|
242
|
+
*/
|
|
243
|
+
control: (scope: {
|
|
244
|
+
placeholder: string;
|
|
245
|
+
focused: boolean;
|
|
246
|
+
modelValue: unknown;
|
|
247
|
+
emitValue: (value: unknown) => void;
|
|
248
|
+
}) => unknown;
|
|
249
|
+
}>();
|
|
250
|
+
|
|
251
|
+
defineEmits<Emits>();
|
|
252
|
+
</script>
|
|
253
|
+
|
|
254
|
+
<style lang="scss">
|
|
255
|
+
:root {
|
|
256
|
+
--input-dropdown-toggle-color: var(--primary-500);
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
.vc-input-dropdown {
|
|
260
|
+
&__input {
|
|
261
|
+
@apply tw-w-full;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
&__toggle-button {
|
|
265
|
+
@apply tw-text-[color:var(--input-dropdown-toggle-color)] tw-not-italic tw-font-medium tw-text-sm tw-cursor-pointer;
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
</style>
|
|
@@ -231,8 +231,8 @@ const emit = defineEmits<Emits<T>>();
|
|
|
231
231
|
defineSlots<{
|
|
232
232
|
option: (args: { item: T }) => any;
|
|
233
233
|
"selected-item": (args: { value: string | number | T[keyof T]; item: T; remove: () => void }) => any;
|
|
234
|
-
hint:
|
|
235
|
-
error:
|
|
234
|
+
hint: (props: any) => any;
|
|
235
|
+
error: (props: any) => any;
|
|
236
236
|
}>();
|
|
237
237
|
|
|
238
238
|
const dropdownToggleRef = ref();
|
|
@@ -539,7 +539,7 @@ function onSearch(event: Event) {
|
|
|
539
539
|
|
|
540
540
|
&__field {
|
|
541
541
|
@apply tw-border-none tw-outline-none tw-min-h-[var(--multivalue-height)] tw-bg-[color:var(--multivalue-background-color)]
|
|
542
|
-
tw-
|
|
542
|
+
tw-flex-grow tw-flex-shrink tw-w-auto tw-box-border placeholder:tw-text-[color:var(--multivalue-placeholder-color)] tw-text-sm tw-rounded-[var(--multivalue-border-radius)];
|
|
543
543
|
|
|
544
544
|
&::-webkit-input-placeholder {
|
|
545
545
|
@apply tw-text-[color:var(--multivalue-placeholder-color)];
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
<!-- First page button -->
|
|
6
6
|
<div
|
|
7
7
|
class="vc-pagination__item"
|
|
8
|
-
:class="{ 'vc-pagination__item_disabled':
|
|
9
|
-
@click="
|
|
8
|
+
:class="{ 'vc-pagination__item_disabled': localCurrentPage === 1 }"
|
|
9
|
+
@click="localCurrentPage !== 1 && setPage(1)"
|
|
10
10
|
>
|
|
11
11
|
<VcIcon
|
|
12
12
|
size="xs"
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
<!-- Previous page button -->
|
|
18
18
|
<div
|
|
19
19
|
class="vc-pagination__item"
|
|
20
|
-
:class="{ 'vc-pagination__item_disabled':
|
|
21
|
-
@click="
|
|
20
|
+
:class="{ 'vc-pagination__item_disabled': localCurrentPage === 1 }"
|
|
21
|
+
@click="localCurrentPage !== 1 && setPage(localCurrentPage - 1)"
|
|
22
22
|
>
|
|
23
23
|
<VcIcon
|
|
24
24
|
size="xs"
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
:key="page"
|
|
32
32
|
class="vc-pagination__item"
|
|
33
33
|
:class="{
|
|
34
|
-
'vc-pagination__item_current': page ===
|
|
35
|
-
'vc-pagination__item_hover': page !==
|
|
34
|
+
'vc-pagination__item_current': page === localCurrentPage,
|
|
35
|
+
'vc-pagination__item_hover': page !== localCurrentPage,
|
|
36
36
|
}"
|
|
37
37
|
@click="setPage(page)"
|
|
38
38
|
>
|
|
@@ -42,8 +42,8 @@
|
|
|
42
42
|
<!-- Next page button -->
|
|
43
43
|
<div
|
|
44
44
|
class="vc-pagination__item"
|
|
45
|
-
:class="{ 'vc-pagination__item_disabled':
|
|
46
|
-
@click="
|
|
45
|
+
:class="{ 'vc-pagination__item_disabled': localCurrentPage === pages }"
|
|
46
|
+
@click="localCurrentPage !== pages && setPage(localCurrentPage + 1)"
|
|
47
47
|
>
|
|
48
48
|
<VcIcon
|
|
49
49
|
size="xs"
|
|
@@ -54,8 +54,8 @@
|
|
|
54
54
|
<!-- Last page button -->
|
|
55
55
|
<div
|
|
56
56
|
class="vc-pagination__item"
|
|
57
|
-
:class="{ 'vc-pagination__item_disabled':
|
|
58
|
-
@click="
|
|
57
|
+
:class="{ 'vc-pagination__item_disabled': localCurrentPage === pages }"
|
|
58
|
+
@click="localCurrentPage !== pages && setPage(pages)"
|
|
59
59
|
>
|
|
60
60
|
<VcIcon
|
|
61
61
|
size="xs"
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
</template>
|
|
68
68
|
|
|
69
69
|
<script lang="ts" setup>
|
|
70
|
-
import { ref, computed, toRefs, inject, type Ref } from "vue";
|
|
70
|
+
import { ref, computed, toRefs, inject, type Ref, watch } from "vue";
|
|
71
71
|
import { VcIcon } from "./../../";
|
|
72
72
|
import { ArrowLeftIcon, ArrowRightIcon, DoubleArrowLeftIcon, DoubleArrowRightIcon } from "./../../atoms/vc-icon/icons";
|
|
73
73
|
|
|
@@ -92,20 +92,29 @@ const emit = defineEmits<Emits>();
|
|
|
92
92
|
|
|
93
93
|
const isMobile = inject("isMobile") as Ref<boolean>;
|
|
94
94
|
|
|
95
|
-
const {
|
|
95
|
+
const { variant } = toRefs(props);
|
|
96
|
+
const localCurrentPage = ref(props.currentPage);
|
|
97
|
+
|
|
98
|
+
watch(
|
|
99
|
+
() => props.currentPage,
|
|
100
|
+
(newValue) => {
|
|
101
|
+
localCurrentPage.value = newValue;
|
|
102
|
+
},
|
|
103
|
+
{ immediate: true },
|
|
104
|
+
);
|
|
96
105
|
|
|
97
106
|
const setPage = (page: number | string) => {
|
|
98
107
|
if (typeof page === "undefined" || (typeof page === "number" && isNaN(page))) return;
|
|
99
108
|
const pageNumber = typeof page === "string" ? parseInt(page) : page;
|
|
100
109
|
if (pageNumber < 1 || pageNumber > props.pages) return;
|
|
101
|
-
|
|
110
|
+
localCurrentPage.value = pageNumber;
|
|
102
111
|
emit("itemClick", pageNumber);
|
|
103
112
|
};
|
|
104
113
|
|
|
105
114
|
const pagesToShow = computed(() => {
|
|
106
115
|
const pages = [];
|
|
107
116
|
const totalPages = props.pages;
|
|
108
|
-
const current =
|
|
117
|
+
const current = localCurrentPage.value;
|
|
109
118
|
const maxPages = isMobile.value ? 3 : 5;
|
|
110
119
|
|
|
111
120
|
if (totalPages <= maxPages) {
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
</div>
|
|
52
52
|
</div>
|
|
53
53
|
</template>
|
|
54
|
-
|
|
54
|
+
<!-- eslint-disable @typescript-eslint/no-explicit-any -->
|
|
55
55
|
<script lang="ts" setup>
|
|
56
56
|
import { VNode } from "vue";
|
|
57
57
|
import { VcLabel, VcIcon } from "./../../";
|
|
@@ -68,7 +68,7 @@ export interface Props {
|
|
|
68
68
|
withDefaults(defineProps<Props>(), { max: 5, variant: "stars" });
|
|
69
69
|
|
|
70
70
|
defineSlots<{
|
|
71
|
-
details: VNode[];
|
|
71
|
+
details: (props: any) => VNode[];
|
|
72
72
|
}>();
|
|
73
73
|
</script>
|
|
74
74
|
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
</slot>
|
|
52
52
|
</div>
|
|
53
53
|
</template>
|
|
54
|
-
|
|
54
|
+
<!-- eslint-disable @typescript-eslint/no-explicit-any -->
|
|
55
55
|
<script lang="ts" setup>
|
|
56
56
|
import { ref } from "vue";
|
|
57
57
|
import { VcHint, VcLabel } from "./../../";
|
|
@@ -76,7 +76,7 @@ export interface Emits {
|
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
defineSlots<{
|
|
79
|
-
error:
|
|
79
|
+
error: (props: any) => any;
|
|
80
80
|
}>();
|
|
81
81
|
|
|
82
82
|
withDefaults(defineProps<Props>(), {
|
|
@@ -132,10 +132,10 @@ const hasUnread = computed(() => {
|
|
|
132
132
|
}
|
|
133
133
|
|
|
134
134
|
&-image {
|
|
135
|
-
@apply tw-cursor-pointer tw-max-w-[var(--app-bar-logo-width)] tw-max-h-[var(--app-bar-logo-height)] tw-
|
|
135
|
+
@apply tw-cursor-pointer tw-max-w-[var(--app-bar-logo-width)] tw-max-h-[var(--app-bar-logo-height)] tw-overflow-hidden tw-w-full tw-shrink-0;
|
|
136
136
|
|
|
137
137
|
&--mobile {
|
|
138
|
-
@apply tw-mx-1 tw-max-w-[var(--app-bar-logo-mobile-width)] tw-max-h-[var(--app-bar-logo-mobile-height)];
|
|
138
|
+
@apply tw-mx-1 tw-max-w-[var(--app-bar-logo-mobile-width)] tw-max-h-[var(--app-bar-logo-mobile-height)] tw-rounded-full;
|
|
139
139
|
}
|
|
140
140
|
}
|
|
141
141
|
}
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
</VcTooltip>
|
|
39
39
|
</div>
|
|
40
40
|
</template>
|
|
41
|
-
|
|
41
|
+
<!-- eslint-disable @typescript-eslint/no-explicit-any -->
|
|
42
42
|
<script lang="ts" setup>
|
|
43
43
|
import { ref, computed, onMounted, type Component } from "vue";
|
|
44
44
|
import { useAppBarWidgets } from "./../composables/useAppBarWidgets";
|
|
@@ -59,8 +59,8 @@ const props = defineProps<Props>();
|
|
|
59
59
|
const emit = defineEmits<Emits>();
|
|
60
60
|
|
|
61
61
|
defineSlots<{
|
|
62
|
-
content: (props: { opened: boolean; toggle: () => void }) =>
|
|
63
|
-
trigger: (props: { isActive: boolean; toggle: () => void }) =>
|
|
62
|
+
content: (props: { opened: boolean; toggle: () => void }) => any;
|
|
63
|
+
trigger: (props: { isActive: boolean; toggle: () => void }) => any;
|
|
64
64
|
}>();
|
|
65
65
|
|
|
66
66
|
const { toggleWidget, currentWidget } = useAppBarWidgets();
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
</template>
|
|
63
63
|
</Sidebar>
|
|
64
64
|
</template>
|
|
65
|
-
|
|
65
|
+
<!-- eslint-disable @typescript-eslint/no-explicit-any -->
|
|
66
66
|
<script lang="ts" setup>
|
|
67
67
|
import { Sidebar } from "../../../../../../../shared/components/sidebar";
|
|
68
68
|
import { CrossSignIcon } from "../../../../../atoms/vc-icon/icons";
|
|
@@ -78,11 +78,11 @@ defineEmits<{
|
|
|
78
78
|
}>();
|
|
79
79
|
|
|
80
80
|
defineSlots<{
|
|
81
|
-
navmenu: () =>
|
|
82
|
-
"user-dropdown": () =>
|
|
83
|
-
"app-switcher": () =>
|
|
84
|
-
"widgets-active-content": () =>
|
|
85
|
-
widgets: () =>
|
|
81
|
+
navmenu: (props: any) => any;
|
|
82
|
+
"user-dropdown": (props: any) => any;
|
|
83
|
+
"app-switcher": (props: any) => any;
|
|
84
|
+
"widgets-active-content": (props: any) => any;
|
|
85
|
+
widgets: (props: any) => any;
|
|
86
86
|
}>();
|
|
87
87
|
</script>
|
|
88
88
|
|
|
@@ -26,9 +26,8 @@
|
|
|
26
26
|
<VcIcon
|
|
27
27
|
v-show="true"
|
|
28
28
|
class="vc-app-bar__collapse-button-icon"
|
|
29
|
-
:icon="ChevronLeftIcon"
|
|
29
|
+
:icon="state.isSidebarExpanded ? ChevronLeftIcon : ChevronRightIcon"
|
|
30
30
|
size="xs"
|
|
31
|
-
:class="{ 'rotate-180': !state.isSidebarExpanded }"
|
|
32
31
|
/>
|
|
33
32
|
</Transition>
|
|
34
33
|
</div>
|
|
@@ -109,10 +108,10 @@
|
|
|
109
108
|
</div>
|
|
110
109
|
</div>
|
|
111
110
|
</template>
|
|
112
|
-
|
|
111
|
+
<!-- eslint-disable @typescript-eslint/no-explicit-any -->
|
|
113
112
|
<script lang="ts" setup>
|
|
114
113
|
import { VcIcon } from "../../../../";
|
|
115
|
-
import { ChevronLeftIcon } from "../../../../atoms/vc-icon/icons";
|
|
114
|
+
import { ChevronLeftIcon, ChevronRightIcon } from "../../../../atoms/vc-icon/icons";
|
|
116
115
|
import { useAppMenuState } from "../composables/useAppMenuState";
|
|
117
116
|
import { useAppBarWidgets } from "./composables/useAppBarWidgets";
|
|
118
117
|
import AppBarHeader from "./_internal/AppBarHeader.vue";
|
|
@@ -134,9 +133,9 @@ export interface Emits {
|
|
|
134
133
|
}
|
|
135
134
|
|
|
136
135
|
interface Slots {
|
|
137
|
-
"app-switcher": () =>
|
|
138
|
-
navmenu: () =>
|
|
139
|
-
"user-dropdown": () =>
|
|
136
|
+
"app-switcher": (props: any) => any;
|
|
137
|
+
navmenu: (props: any) => any;
|
|
138
|
+
"user-dropdown": (props: any) => any;
|
|
140
139
|
}
|
|
141
140
|
|
|
142
141
|
defineProps<Props>();
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
</div>
|
|
66
66
|
</div>
|
|
67
67
|
</template>
|
|
68
|
-
|
|
68
|
+
<!-- eslint-disable @typescript-eslint/no-explicit-any -->
|
|
69
69
|
<script lang="ts" setup>
|
|
70
70
|
import { inject, provide, useAttrs, watch, ref, onUnmounted, computed } from "vue";
|
|
71
71
|
import VcAppBar from "./_internal/vc-app-bar/vc-app-bar.vue";
|
|
@@ -115,8 +115,7 @@ defineOptions({
|
|
|
115
115
|
});
|
|
116
116
|
|
|
117
117
|
defineSlots<{
|
|
118
|
-
"app-switcher":
|
|
119
|
-
// toolbar: void;
|
|
118
|
+
"app-switcher": (props: any) => any;
|
|
120
119
|
}>();
|
|
121
120
|
|
|
122
121
|
const props = defineProps<Props>();
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Ref, ComputedRef } from "vue";
|
|
2
|
+
|
|
3
|
+
export interface Props {
|
|
4
|
+
id?: string;
|
|
5
|
+
icon?: string | (() => string);
|
|
6
|
+
disabled?: boolean | ComputedRef<boolean | undefined>;
|
|
7
|
+
title?: string | Ref<string> | ComputedRef<string>;
|
|
8
|
+
size?: "s" | "m";
|
|
9
|
+
separator?: "left" | "right" | "both";
|
|
10
|
+
contentDirection?: "row" | "row-reverse" | "column";
|
|
11
|
+
iconClassName?: string;
|
|
12
|
+
titleClassName?: string;
|
|
13
|
+
onClick?: () => Promise<void> | void;
|
|
14
|
+
}
|
|
@@ -34,19 +34,8 @@
|
|
|
34
34
|
<script lang="ts" setup>
|
|
35
35
|
import { ref, ComputedRef, Ref } from "vue";
|
|
36
36
|
import { VcIcon } from "../../../../../../../../";
|
|
37
|
+
import type { Props } from "./props";
|
|
37
38
|
|
|
38
|
-
export interface Props {
|
|
39
|
-
id?: string;
|
|
40
|
-
icon?: string | (() => string);
|
|
41
|
-
disabled?: boolean | ComputedRef<boolean | undefined>;
|
|
42
|
-
title?: string | Ref<string> | ComputedRef<string>;
|
|
43
|
-
size?: "s" | "m";
|
|
44
|
-
separator?: "left" | "right" | "both";
|
|
45
|
-
contentDirection?: "row" | "row-reverse" | "column";
|
|
46
|
-
iconClassName?: string;
|
|
47
|
-
titleClassName?: string;
|
|
48
|
-
onClick?: () => Promise<void> | void;
|
|
49
|
-
}
|
|
50
39
|
|
|
51
40
|
const props = withDefaults(defineProps<Props>(), {
|
|
52
41
|
disabled: false,
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
<script lang="ts" setup>
|
|
17
17
|
import { computed } from "vue";
|
|
18
18
|
import VcBladeToolbarBaseButton from "./vc-blade-toolbar-base-button.vue";
|
|
19
|
-
import type { Props as BaseButtonProps } from "./
|
|
19
|
+
import type { Props as BaseButtonProps } from "./props";
|
|
20
20
|
|
|
21
21
|
export interface Props extends Omit<BaseButtonProps, "size" | "contentDirection" | "iconClassName"> {
|
|
22
22
|
isMain?: boolean;
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
</div>
|
|
124
124
|
</div>
|
|
125
125
|
</template>
|
|
126
|
-
|
|
126
|
+
<!-- eslint-disable @typescript-eslint/no-explicit-any -->
|
|
127
127
|
<script lang="ts" setup>
|
|
128
128
|
import { computed, ref, toValue, inject, useSlots, defineComponent, h } from "vue";
|
|
129
129
|
import { IBladeToolbar } from "../../../../core/types";
|
|
@@ -168,8 +168,8 @@ withDefaults(defineProps<Props>(), {
|
|
|
168
168
|
});
|
|
169
169
|
|
|
170
170
|
const slots = defineSlots<{
|
|
171
|
-
actions:
|
|
172
|
-
default:
|
|
171
|
+
actions: (props: any) => any;
|
|
172
|
+
default: (props: any) => any;
|
|
173
173
|
/**
|
|
174
174
|
* @deprecated
|
|
175
175
|
* Use `useWidgets` composable instead
|
|
@@ -197,8 +197,8 @@ const slots = defineSlots<{
|
|
|
197
197
|
* }
|
|
198
198
|
* });
|
|
199
199
|
*/
|
|
200
|
-
widgets:
|
|
201
|
-
backButton:
|
|
200
|
+
widgets: (props: any) => any;
|
|
201
|
+
backButton: (props: any) => any;
|
|
202
202
|
}>();
|
|
203
203
|
|
|
204
204
|
const emit = defineEmits<Emits>();
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
</div>
|
|
21
21
|
</div>
|
|
22
22
|
</template>
|
|
23
|
-
|
|
23
|
+
<!-- eslint-disable @typescript-eslint/no-explicit-any -->
|
|
24
24
|
<script lang="ts" setup>
|
|
25
25
|
import { computed } from "vue";
|
|
26
26
|
import { useRouter } from "vue-router";
|
|
@@ -36,7 +36,7 @@ const props = withDefaults(defineProps<Props>(), {
|
|
|
36
36
|
});
|
|
37
37
|
|
|
38
38
|
defineSlots<{
|
|
39
|
-
default:
|
|
39
|
+
default: (props: any) => any;
|
|
40
40
|
}>();
|
|
41
41
|
|
|
42
42
|
const router = useRouter();
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
</Dialog>
|
|
120
120
|
</TransitionRoot>
|
|
121
121
|
</template>
|
|
122
|
-
|
|
122
|
+
<!-- eslint-disable @typescript-eslint/no-explicit-any -->
|
|
123
123
|
<script lang="ts" setup>
|
|
124
124
|
import { Ref, computed, inject } from "vue";
|
|
125
125
|
import { TransitionRoot, TransitionChild, Dialog, DialogPanel, DialogTitle } from "@headlessui/vue";
|
|
@@ -146,9 +146,9 @@ const props = withDefaults(defineProps<Props>(), {
|
|
|
146
146
|
const emit = defineEmits<Emits>();
|
|
147
147
|
|
|
148
148
|
defineSlots<{
|
|
149
|
-
header:
|
|
150
|
-
content:
|
|
151
|
-
footer: (props: { close: () => void }) =>
|
|
149
|
+
header: (props: any) => any;
|
|
150
|
+
content: (props: any) => any;
|
|
151
|
+
footer: (props: { close: () => void }) => any;
|
|
152
152
|
}>();
|
|
153
153
|
|
|
154
154
|
const isMobile = inject("isMobile") as Ref<boolean>;
|
|
@@ -287,7 +287,7 @@ import VcInputCurrency from "../../../../molecules/vc-input-currency/vc-input-cu
|
|
|
287
287
|
import VcInput from "../../../../molecules/vc-input/vc-input.vue";
|
|
288
288
|
import VcTooltip from "../../../../atoms/vc-tooltip/vc-tooltip.vue";
|
|
289
289
|
import { Field } from "vee-validate";
|
|
290
|
-
import type { TableItem } from "../../
|
|
290
|
+
import type { TableItem } from "../../types";
|
|
291
291
|
import { ITableColumns } from "../../../../../../core/types";
|
|
292
292
|
|
|
293
293
|
export interface Props {
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
<script lang="ts" setup>
|
|
42
42
|
import { ref, watch } from "vue";
|
|
43
43
|
import { ITableColumns } from "./../../../../../../core/types";
|
|
44
|
-
import { TableColPartial } from "../../
|
|
44
|
+
import { TableColPartial } from "../../types";
|
|
45
45
|
import { GenericDropdown } from "../../../../../../shared/components/generic-dropdown";
|
|
46
46
|
|
|
47
47
|
export interface Props {
|