@vc-shell/framework 1.0.326 → 1.1.0-alpha.1
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 +8 -0
- package/core/types/index.ts +4 -8
- package/dist/core/types/index.d.ts +5 -8
- package/dist/core/types/index.d.ts.map +1 -1
- package/dist/framework.js +231 -218
- package/dist/{index-YPa3sZmi.js → index-6afjoxl_.js} +1 -1
- package/dist/{index-B0gk_mcS.js → index-BbQdOYmi.js} +1 -1
- package/dist/{index-CJmhp9vS.js → index-BrkL9UJR.js} +1 -1
- package/dist/{index-CgCz4CyH.js → index-BrmiwSoL.js} +1 -1
- package/dist/{index-D2jOZZjY.js → index-C2fcXLd3.js} +1 -1
- package/dist/{index-F3Hq-uIf.js → index-CUGEM4hi.js} +1 -1
- package/dist/{index-DAPeO06N.js → index-D0rhsYYW.js} +1 -1
- package/dist/{index-cnzEckQv.js → index-D8jMD-EZ.js} +1 -1
- package/dist/{index-iKZHcZzW.js → index-DQP89JB7.js} +1 -1
- package/dist/{index-BzXuUqVu.js → index-DaD28rcu.js} +1 -1
- package/dist/{index-uJMg_eoD.js → index-Df8tA8qI.js} +1 -1
- package/dist/{index-sB8jPoQD.js → index-Dg25Tarq.js} +1 -1
- package/dist/{index-KsWKxMp0.js → index-DrL4GDih.js} +1 -1
- package/dist/{index-CimbhNJz.js → index-DrxadmGH.js} +1 -1
- package/dist/{index-52C01JSh.js → index-DulPT6l3.js} +1 -1
- package/dist/{index-C8ZFV-LP.js → index-Y1Vd-H3g.js} +34754 -34242
- package/dist/{index-Dr0Jm59E.js → index-lQO4lsVu.js} +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/locales/en.json +1 -0
- package/dist/shared/components/app-bar-button/app-bar-button.vue.d.ts.map +1 -1
- package/dist/shared/components/app-switcher/components/vc-app-switcher/vc-app-switcher.vue.d.ts.map +1 -1
- package/dist/shared/components/blade-navigation/components/vc-blade-navigation/vc-blade-navigation.vue.d.ts.map +1 -1
- package/dist/shared/components/blade-navigation/components/vc-blade-view/vc-blade-view.d.ts +15 -1
- package/dist/shared/components/blade-navigation/components/vc-blade-view/vc-blade-view.d.ts.map +1 -1
- package/dist/shared/components/generic-dropdown/generic-dropdown.vue.d.ts +110 -0
- package/dist/shared/components/generic-dropdown/generic-dropdown.vue.d.ts.map +1 -0
- package/dist/shared/components/generic-dropdown/index.d.ts +2 -0
- package/dist/shared/components/generic-dropdown/index.d.ts.map +1 -0
- package/dist/shared/components/index.d.ts +2 -0
- package/dist/shared/components/index.d.ts.map +1 -1
- package/dist/shared/components/language-selector/language-selector.vue.d.ts.map +1 -1
- package/dist/shared/components/menu-item/index.d.ts +2 -0
- package/dist/shared/components/menu-item/index.d.ts.map +1 -0
- package/dist/shared/components/menu-item/menu-item.vue.d.ts +57 -0
- package/dist/shared/components/menu-item/menu-item.vue.d.ts.map +1 -0
- package/dist/shared/components/notification-dropdown/notification-dropdown.vue.d.ts.map +1 -1
- package/dist/shared/components/notification-template/index.d.ts +0 -6
- package/dist/shared/components/notification-template/index.d.ts.map +1 -1
- package/dist/shared/components/notification-template/notification-template.vue.d.ts +2 -2
- package/dist/shared/components/notification-template/notification-template.vue.d.ts.map +1 -1
- package/dist/shared/components/sidebar/sidebar.vue.d.ts +1 -0
- package/dist/shared/components/sidebar/sidebar.vue.d.ts.map +1 -1
- package/dist/shared/components/theme-selector/theme-selector.vue.d.ts.map +1 -1
- package/dist/shared/components/user-dropdown-button/_internal/user-actions.vue.d.ts +21 -0
- package/dist/shared/components/user-dropdown-button/_internal/user-actions.vue.d.ts.map +1 -0
- package/dist/shared/components/user-dropdown-button/_internal/user-info.vue.d.ts +17 -0
- package/dist/shared/components/user-dropdown-button/_internal/user-info.vue.d.ts.map +1 -0
- package/dist/shared/components/user-dropdown-button/_internal/user-sidebar.vue.d.ts +25 -0
- package/dist/shared/components/user-dropdown-button/_internal/user-sidebar.vue.d.ts.map +1 -0
- package/dist/shared/components/user-dropdown-button/composables/useUserActions.d.ts +3921 -0
- package/dist/shared/components/user-dropdown-button/composables/useUserActions.d.ts.map +1 -0
- package/dist/shared/components/user-dropdown-button/index.d.ts +5 -5
- package/dist/shared/components/user-dropdown-button/user-dropdown-button.vue.d.ts +4 -4
- package/dist/shared/components/user-dropdown-button/user-dropdown-button.vue.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/Button.d.ts +0 -6
- package/dist/shared/modules/dynamic/components/fields/Button.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/Card.d.ts +0 -6
- package/dist/shared/modules/dynamic/components/fields/Card.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/Checkbox.d.ts +0 -6
- package/dist/shared/modules/dynamic/components/fields/Checkbox.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/ContentField.d.ts +0 -6
- package/dist/shared/modules/dynamic/components/fields/ContentField.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/CustomComponent.d.ts +0 -6
- package/dist/shared/modules/dynamic/components/fields/CustomComponent.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/DynamicProperty.d.ts +0 -6
- package/dist/shared/modules/dynamic/components/fields/DynamicProperty.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/EditorField.d.ts +0 -6
- package/dist/shared/modules/dynamic/components/fields/EditorField.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/Fieldset.d.ts +0 -6
- package/dist/shared/modules/dynamic/components/fields/Fieldset.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/GalleryField.d.ts +0 -6
- package/dist/shared/modules/dynamic/components/fields/GalleryField.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/ImageField.d.ts +0 -6
- package/dist/shared/modules/dynamic/components/fields/ImageField.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/InputCurrency.d.ts +0 -6
- package/dist/shared/modules/dynamic/components/fields/InputCurrency.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/InputField.d.ts +0 -6
- package/dist/shared/modules/dynamic/components/fields/InputField.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/MultivalueField.d.ts +0 -6
- package/dist/shared/modules/dynamic/components/fields/MultivalueField.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/RadioButtonGroup.d.ts +0 -6
- package/dist/shared/modules/dynamic/components/fields/RadioButtonGroup.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/RatingField.d.ts +0 -6
- package/dist/shared/modules/dynamic/components/fields/RatingField.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/SelectField.d.ts +0 -6
- package/dist/shared/modules/dynamic/components/fields/SelectField.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/StatusField.d.ts +0 -6
- package/dist/shared/modules/dynamic/components/fields/StatusField.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/SwitchField.d.ts +0 -6
- package/dist/shared/modules/dynamic/components/fields/SwitchField.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/Table.d.ts +0 -6
- package/dist/shared/modules/dynamic/components/fields/Table.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/TextareaField.d.ts +0 -6
- package/dist/shared/modules/dynamic/components/fields/TextareaField.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/VideoField.d.ts +0 -6
- package/dist/shared/modules/dynamic/components/fields/VideoField.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/props.d.ts +0 -6
- package/dist/shared/modules/dynamic/components/fields/props.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/storybook/Button.stories.d.ts +0 -18
- package/dist/shared/modules/dynamic/components/fields/storybook/Button.stories.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/storybook/Card.stories.d.ts +0 -18
- package/dist/shared/modules/dynamic/components/fields/storybook/Card.stories.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/storybook/Checkbox.stories.d.ts +0 -18
- package/dist/shared/modules/dynamic/components/fields/storybook/Checkbox.stories.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/storybook/ContentField.stories.d.ts +0 -18
- package/dist/shared/modules/dynamic/components/fields/storybook/ContentField.stories.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/storybook/EditorField.stories.d.ts +0 -18
- package/dist/shared/modules/dynamic/components/fields/storybook/EditorField.stories.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/storybook/Fieldset.stories.d.ts +0 -18
- package/dist/shared/modules/dynamic/components/fields/storybook/Fieldset.stories.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/storybook/GalleryField.stories.d.ts +0 -18
- package/dist/shared/modules/dynamic/components/fields/storybook/GalleryField.stories.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/storybook/ImageField.stories.d.ts +0 -18
- package/dist/shared/modules/dynamic/components/fields/storybook/ImageField.stories.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/storybook/InputCurrency.stories.d.ts +0 -18
- package/dist/shared/modules/dynamic/components/fields/storybook/InputCurrency.stories.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/storybook/InputField.stories.d.ts +0 -18
- package/dist/shared/modules/dynamic/components/fields/storybook/InputField.stories.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/storybook/MultivalueField.stories.d.ts +0 -18
- package/dist/shared/modules/dynamic/components/fields/storybook/MultivalueField.stories.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/storybook/RadioButtonGroup.stories.d.ts +0 -18
- package/dist/shared/modules/dynamic/components/fields/storybook/RadioButtonGroup.stories.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/storybook/RatingField.stories.d.ts +0 -18
- package/dist/shared/modules/dynamic/components/fields/storybook/RatingField.stories.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/storybook/SelectField.stories.d.ts +0 -18
- package/dist/shared/modules/dynamic/components/fields/storybook/SelectField.stories.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/storybook/StatusField.stories.d.ts +0 -18
- package/dist/shared/modules/dynamic/components/fields/storybook/StatusField.stories.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/storybook/TextareaField.stories.d.ts +0 -18
- package/dist/shared/modules/dynamic/components/fields/storybook/TextareaField.stories.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/storybook/VideoField.stories.d.ts +0 -18
- package/dist/shared/modules/dynamic/components/fields/storybook/VideoField.stories.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/storybook/pages/DynamicRender.d.ts +0 -18
- package/dist/shared/modules/dynamic/components/fields/storybook/pages/DynamicRender.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/pages/dynamic-blade-form.vue.d.ts +0 -12
- package/dist/shared/modules/dynamic/pages/dynamic-blade-form.vue.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/pages/dynamic-blade-list.vue.d.ts +0 -12
- package/dist/shared/modules/dynamic/pages/dynamic-blade-list.vue.d.ts.map +1 -1
- package/dist/shared/pages/InvitePage/components/invite/index.d.ts +8 -8
- package/dist/shared/pages/ResetPasswordPage/components/reset-password/index.d.ts +8 -8
- package/dist/tailwind.config.d.ts +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui/components/atoms/vc-button/vc-button.stories.d.ts +156 -156
- package/dist/ui/components/atoms/vc-button/vc-button.vue.d.ts +2 -1
- package/dist/ui/components/atoms/vc-button/vc-button.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-icon/icons/AppWindowIcon.vue.d.ts +18 -0
- package/dist/ui/components/atoms/vc-icon/icons/AppWindowIcon.vue.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-icon/icons/ArrowLeftIcon.vue.d.ts +18 -0
- package/dist/ui/components/atoms/vc-icon/icons/ArrowLeftIcon.vue.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-icon/icons/ArrowRightIcon.vue.d.ts +18 -0
- package/dist/ui/components/atoms/vc-icon/icons/ArrowRightIcon.vue.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-icon/icons/BellIcon.vue.d.ts +18 -0
- package/dist/ui/components/atoms/vc-icon/icons/BellIcon.vue.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-icon/icons/CircleDotsIcon.vue.d.ts +18 -0
- package/dist/ui/components/atoms/vc-icon/icons/CircleDotsIcon.vue.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-icon/icons/CrossSignIcon.vue.d.ts +18 -0
- package/dist/ui/components/atoms/vc-icon/icons/CrossSignIcon.vue.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-icon/icons/LogoutIcon.vue.d.ts +18 -0
- package/dist/ui/components/atoms/vc-icon/icons/LogoutIcon.vue.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-icon/icons/MenuBurgerIcon.vue.d.ts +18 -0
- package/dist/ui/components/atoms/vc-icon/icons/MenuBurgerIcon.vue.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-icon/icons/MinusSignIcon.vue.d.ts +18 -0
- package/dist/ui/components/atoms/vc-icon/icons/MinusSignIcon.vue.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-icon/icons/PlusSignIcon.vue.d.ts +18 -0
- package/dist/ui/components/atoms/vc-icon/icons/PlusSignIcon.vue.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-icon/icons/SettingsBoltIcon.vue.d.ts +18 -0
- package/dist/ui/components/atoms/vc-icon/icons/SettingsBoltIcon.vue.d.ts.map +1 -0
- package/dist/ui/components/atoms/vc-icon/icons/index.d.ts +12 -0
- package/dist/ui/components/atoms/vc-icon/icons/index.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/vc-icon.stories.d.ts +3 -3
- package/dist/ui/components/atoms/vc-icon/vc-icon.vue.d.ts +3 -2
- package/dist/ui/components/atoms/vc-icon/vc-icon.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-status/vc-status.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-tooltip/vc-tooltip.vue.d.ts +4 -0
- package/dist/ui/components/atoms/vc-tooltip/vc-tooltip.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-editor/vc-editor.stories.d.ts +996 -0
- package/dist/ui/components/molecules/vc-editor/vc-editor.stories.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-editor/vc-editor.vue.d.ts +332 -0
- package/dist/ui/components/molecules/vc-editor/vc-editor.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-pagination/vc-pagination.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-bar/vc-app-bar.vue.d.ts +3 -1
- 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/_internal/vc-app-menu-link.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/vc-app-menu.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/composables/useToolbarSlots.d.ts +5 -0
- package/dist/ui/components/organisms/vc-app/composables/useToolbarSlots.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-app/vc-app.stories.d.ts +16 -106
- package/dist/ui/components/organisms/vc-app/vc-app.stories.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/vc-app.vue.d.ts +16 -106
- 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-header/vc-blade-header.vue.d.ts +0 -2
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-header/vc-blade-header.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-button/vc-blade-toolbar-button.vue.d.ts +0 -3
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_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/vc-blade-toolbar.vue.d.ts +13 -2
- package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/vc-blade-toolbar.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/vc-blade.stories.d.ts +0 -16
- package/dist/ui/components/organisms/vc-blade/vc-blade.stories.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts +0 -2
- package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-filter/vc-table-filter.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-mobile-item/vc-table-mobile-item.vue.d.ts +3 -3
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-mobile-item/vc-table-mobile-item.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/vc-table.stories.d.ts +30 -30
- package/dist/ui/components/organisms/vc-table/vc-table.vue.d.ts +6 -6
- package/dist/ui/components/organisms/vc-table/vc-table.vue.d.ts.map +1 -1
- package/package.json +9 -6
- package/shared/components/app-bar-button/app-bar-button.vue +62 -45
- package/shared/components/app-switcher/components/vc-app-switcher/vc-app-switcher.vue +31 -134
- package/shared/components/blade-navigation/components/vc-blade-navigation/vc-blade-navigation.vue +8 -7
- package/shared/components/blade-navigation/components/vc-blade-view/vc-blade-view.ts +16 -4
- package/shared/components/change-password/change-password.vue +2 -1
- package/shared/components/generic-dropdown/generic-dropdown.vue +171 -0
- package/shared/components/generic-dropdown/index.ts +1 -0
- package/shared/components/index.ts +2 -0
- package/shared/components/language-selector/language-selector.vue +29 -64
- package/shared/components/menu-item/index.ts +1 -0
- package/shared/components/menu-item/menu-item.vue +111 -0
- package/shared/components/notification-dropdown/notification-dropdown.vue +21 -72
- package/shared/components/notification-template/notification-template.vue +23 -34
- package/shared/components/sidebar/sidebar.vue +16 -1
- package/shared/components/theme-selector/theme-selector.vue +34 -76
- package/shared/components/user-dropdown-button/_internal/user-actions.vue +68 -0
- package/shared/components/user-dropdown-button/_internal/user-info.vue +74 -0
- package/shared/components/user-dropdown-button/_internal/user-sidebar.vue +73 -0
- package/shared/components/user-dropdown-button/composables/useUserActions.ts +56 -0
- package/shared/components/user-dropdown-button/user-dropdown-button.vue +69 -271
- package/tailwind.config.ts +1 -1
- package/ui/components/atoms/vc-badge/vc-badge.vue +10 -9
- package/ui/components/atoms/vc-button/vc-button.vue +2 -2
- package/ui/components/atoms/vc-card/vc-card.vue +4 -7
- package/ui/components/atoms/vc-icon/icons/AppWindowIcon.vue +32 -0
- package/ui/components/atoms/vc-icon/icons/ArrowLeftIcon.vue +24 -0
- package/ui/components/atoms/vc-icon/icons/ArrowRightIcon.vue +24 -0
- package/ui/components/atoms/vc-icon/icons/BellIcon.vue +29 -0
- package/ui/components/atoms/vc-icon/icons/CircleDotsIcon.vue +41 -0
- package/ui/components/atoms/vc-icon/icons/CrossSignIcon.vue +24 -0
- package/ui/components/atoms/vc-icon/icons/LogoutIcon.vue +24 -0
- package/ui/components/atoms/vc-icon/icons/MenuBurgerIcon.vue +24 -0
- package/ui/components/atoms/vc-icon/icons/MinusSignIcon.vue +24 -0
- package/ui/components/atoms/vc-icon/icons/PlusSignIcon.vue +24 -0
- package/ui/components/atoms/vc-icon/icons/SettingsBoltIcon.vue +31 -0
- package/ui/components/atoms/vc-icon/icons/index.ts +11 -0
- package/ui/components/atoms/vc-icon/index.ts +1 -0
- package/ui/components/atoms/vc-icon/vc-icon.vue +33 -3
- package/ui/components/atoms/vc-status/vc-status.vue +17 -4
- package/ui/components/atoms/vc-tooltip/vc-tooltip.vue +22 -7
- package/ui/components/atoms/vc-widget/vc-widget.vue +31 -22
- package/ui/components/molecules/vc-pagination/vc-pagination.vue +9 -17
- package/ui/components/organisms/vc-app/_internal/vc-app-bar/vc-app-bar.vue +196 -33
- package/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/_internal/vc-app-menu-link.vue +47 -47
- package/ui/components/organisms/vc-app/_internal/vc-app-menu/vc-app-menu.vue +5 -29
- package/ui/components/organisms/vc-app/composables/useToolbarSlots.ts +37 -0
- package/ui/components/organisms/vc-app/vc-app.vue +87 -70
- package/ui/components/organisms/vc-blade/_internal/vc-blade-header/vc-blade-header.vue +17 -17
- package/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-button/vc-blade-toolbar-button.vue +9 -69
- package/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/vc-blade-toolbar.vue +199 -31
- package/ui/components/organisms/vc-blade/vc-blade.stories.ts +1 -1
- package/ui/components/organisms/vc-blade/vc-blade.vue +129 -38
- package/ui/components/organisms/vc-table/_internal/vc-table-base-header/vc-table-base-header.vue +2 -2
- 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-filter/vc-table-filter.vue +34 -23
- package/ui/components/organisms/vc-table/vc-table.vue +44 -29
|
@@ -61,33 +61,33 @@ function onClick(): void {
|
|
|
61
61
|
|
|
62
62
|
<style lang="scss">
|
|
63
63
|
:root {
|
|
64
|
-
--badge-background-color: var(--
|
|
64
|
+
--badge-background-color: var(--accent-500);
|
|
65
65
|
--badge-background-color-hover: var(--neutrals-200);
|
|
66
66
|
--badge-background-color-active: var(--neutrals-200);
|
|
67
67
|
--badge-background-color-disabled: var(--neutrals-300);
|
|
68
68
|
|
|
69
|
-
--badge-text-color: var(--
|
|
69
|
+
--badge-text-color: var(--additional-50);
|
|
70
70
|
--badge-text-color-hover: var(--neutrals-800);
|
|
71
71
|
--badge-text-color-active: var(--neutrals-800);
|
|
72
72
|
--badge-text-color-disabled: var(--neutrals-500);
|
|
73
73
|
|
|
74
74
|
--badge-border-radius: 9999px;
|
|
75
75
|
|
|
76
|
-
--badge-border-color: var(--
|
|
76
|
+
--badge-border-color: var(--additional-50);
|
|
77
77
|
--badge-border-color-hover: var(--primary-300);
|
|
78
78
|
--badge-border-color-active: var(--primary-300);
|
|
79
79
|
--badge-border-color-disabled: var(--primary-200);
|
|
80
80
|
|
|
81
|
-
--badge-width-small:
|
|
82
|
-
--badge-width-medium:
|
|
81
|
+
--badge-width-small: 16px;
|
|
82
|
+
--badge-width-medium: 16px;
|
|
83
83
|
|
|
84
84
|
--badge-padding-small: 0px 4px;
|
|
85
85
|
--badge-padding-medium: 0 4px;
|
|
86
86
|
|
|
87
|
-
--badge-distance-top-small: -
|
|
88
|
-
--badge-distance-right-small: -
|
|
87
|
+
--badge-distance-top-small: -8px;
|
|
88
|
+
--badge-distance-right-small: -10px;
|
|
89
89
|
|
|
90
|
-
--badge-distance-top-medium: -
|
|
90
|
+
--badge-distance-top-medium: -8px;
|
|
91
91
|
--badge-distance-right-medium: -10px;
|
|
92
92
|
}
|
|
93
93
|
|
|
@@ -101,6 +101,7 @@ $sizes: small, medium;
|
|
|
101
101
|
padding: var(--badge-padding-#{$size});
|
|
102
102
|
top: var(--badge-distance-top-#{$size});
|
|
103
103
|
right: var(--badge-distance-right-#{$size});
|
|
104
|
+
width: 100%;
|
|
104
105
|
@apply tw-text-xs tw-leading-snug;
|
|
105
106
|
}
|
|
106
107
|
}
|
|
@@ -112,7 +113,7 @@ $sizes: small, medium;
|
|
|
112
113
|
}
|
|
113
114
|
|
|
114
115
|
.vc-badge__badge {
|
|
115
|
-
@apply tw-absolute tw-inline-flex tw-justify-center tw-items-center tw-text-center tw-indent-0 tw-rounded-full tw-font-
|
|
116
|
+
@apply tw-absolute tw-inline-flex tw-justify-center tw-items-center tw-text-center tw-indent-0 tw-rounded-full tw-font-semibold tw-text-xxs tw-bg-[color:var(--badge-background-color)] tw-text-[color:var(--badge-text-color)] tw-border tw-border-solid tw-border-[color:var(--badge-border-color)] tw-transition tw-duration-200;
|
|
116
117
|
}
|
|
117
118
|
|
|
118
119
|
.vc-badge__badge--active {
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
</template>
|
|
21
21
|
<!-- eslint-disable @typescript-eslint/no-explicit-any -->
|
|
22
22
|
<script lang="ts" setup>
|
|
23
|
-
import { computed } from "vue";
|
|
23
|
+
import { computed, type Component } from "vue";
|
|
24
24
|
import { VcIcon } from "./../vc-icon";
|
|
25
25
|
export interface Props {
|
|
26
|
-
icon?: string;
|
|
26
|
+
icon?: string | Component;
|
|
27
27
|
iconClass?: string;
|
|
28
28
|
iconSize?: InstanceType<typeof VcIcon>["$props"]["size"];
|
|
29
29
|
variant?: "primary" | "warning" | "danger";
|
|
@@ -96,10 +96,8 @@ watch(
|
|
|
96
96
|
:root {
|
|
97
97
|
--card-background: var(--additional-50);
|
|
98
98
|
--card-border-radius: 6px;
|
|
99
|
-
--card-box-shadow-color: var(--secondary-600);
|
|
100
|
-
--card-box-shadow: 1px 1px 7px rgb(from var(--card-box-shadow-color) r g b / 15%);
|
|
101
99
|
--card-header-background: var(--secondary-50);
|
|
102
|
-
--card-header-color: var(--secondary-
|
|
100
|
+
--card-header-color: var(--base-text-color, var(--secondary-950));
|
|
103
101
|
|
|
104
102
|
--card-header-background-success: var(--success-100);
|
|
105
103
|
--card-header-background-danger: var(--danger-100);
|
|
@@ -107,8 +105,8 @@ watch(
|
|
|
107
105
|
--card-header-color-success: var(--success-600);
|
|
108
106
|
--card-header-color-danger: var(--danger-600);
|
|
109
107
|
|
|
110
|
-
--card-header-padding-hor:
|
|
111
|
-
--card-header-padding-vert:
|
|
108
|
+
--card-header-padding-hor: 24px;
|
|
109
|
+
--card-header-padding-vert: 17px;
|
|
112
110
|
|
|
113
111
|
--card-border-color: var(--base-border-color, var(--neutrals-200));
|
|
114
112
|
}
|
|
@@ -118,7 +116,6 @@ $variants: success, danger;
|
|
|
118
116
|
.vc-card {
|
|
119
117
|
@apply tw-bg-[color:var(--card-background)] tw-border
|
|
120
118
|
tw-border-[color:var(--card-border-color)] tw-border-solid tw-box-border
|
|
121
|
-
tw-shadow-[var(--card-box-shadow)]
|
|
122
119
|
tw-rounded-[var(--card-border-radius)] tw-overflow-hidden
|
|
123
120
|
tw-flex-grow tw-flex tw-flex-col;
|
|
124
121
|
|
|
@@ -131,7 +128,7 @@ $variants: success, danger;
|
|
|
131
128
|
}
|
|
132
129
|
|
|
133
130
|
&__title {
|
|
134
|
-
@apply tw-
|
|
131
|
+
@apply tw-normal-case tw-flex-grow
|
|
135
132
|
tw-text-[color:var(--card-header-color)]
|
|
136
133
|
tw-text-sm tw-font-bold;
|
|
137
134
|
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<svg
|
|
3
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
4
|
+
viewBox="0 0 20 20"
|
|
5
|
+
fill="none"
|
|
6
|
+
:width="width"
|
|
7
|
+
:height="height"
|
|
8
|
+
>
|
|
9
|
+
<path
|
|
10
|
+
d="M3.3335 6.00033V14.0003C3.3335 14.9337 3.3335 15.4002 3.51515 15.7567C3.67494 16.0703 3.92972 16.3256 4.24333 16.4854C4.5995 16.6668 5.06599 16.6668 5.99759 16.6668H14.0027C14.9343 16.6668 15.4002 16.6668 15.7563 16.4854C16.0699 16.3256 16.3256 16.0703 16.4854 15.7567C16.6668 15.4006 16.6668 14.9347 16.6668 14.0031V5.99759C16.6668 5.06599 16.6668 4.5995 16.4854 4.24333C16.3256 3.92972 16.0699 3.67494 15.7563 3.51515C15.3998 3.3335 14.9337 3.3335 14.0003 3.3335H6.00033C5.0669 3.3335 4.59985 3.3335 4.24333 3.51515C3.92972 3.67494 3.67494 3.92972 3.51515 4.24333C3.3335 4.59985 3.3335 5.0669 3.3335 6.00033Z"
|
|
11
|
+
stroke="currentColor"
|
|
12
|
+
stroke-width="2"
|
|
13
|
+
stroke-linecap="round"
|
|
14
|
+
stroke-linejoin="round"
|
|
15
|
+
/>
|
|
16
|
+
<line
|
|
17
|
+
x1="4.1665"
|
|
18
|
+
y1="8.1665"
|
|
19
|
+
x2="15.8332"
|
|
20
|
+
y2="8.1665"
|
|
21
|
+
stroke="currentColor"
|
|
22
|
+
stroke-width="2"
|
|
23
|
+
/>
|
|
24
|
+
</svg>
|
|
25
|
+
</template>
|
|
26
|
+
|
|
27
|
+
<script setup lang="ts">
|
|
28
|
+
defineProps<{
|
|
29
|
+
width?: number | string;
|
|
30
|
+
height?: number | string;
|
|
31
|
+
}>();
|
|
32
|
+
</script>
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<svg
|
|
3
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
4
|
+
viewBox="0 0 12 10"
|
|
5
|
+
fill="none"
|
|
6
|
+
:width="width"
|
|
7
|
+
:height="height"
|
|
8
|
+
>
|
|
9
|
+
<path
|
|
10
|
+
d="M11 5H1M1 5L5 9M1 5L5 1"
|
|
11
|
+
stroke="currentColor"
|
|
12
|
+
stroke-width="2"
|
|
13
|
+
stroke-linecap="round"
|
|
14
|
+
stroke-linejoin="round"
|
|
15
|
+
/>
|
|
16
|
+
</svg>
|
|
17
|
+
</template>
|
|
18
|
+
|
|
19
|
+
<script setup lang="ts">
|
|
20
|
+
defineProps<{
|
|
21
|
+
width?: number | string;
|
|
22
|
+
height?: number | string;
|
|
23
|
+
}>();
|
|
24
|
+
</script>
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<svg
|
|
3
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
4
|
+
viewBox="0 0 12 10"
|
|
5
|
+
fill="none"
|
|
6
|
+
:width="width"
|
|
7
|
+
:height="height"
|
|
8
|
+
>
|
|
9
|
+
<path
|
|
10
|
+
d="M1 5H11M11 5L7 1M11 5L7 9"
|
|
11
|
+
stroke="currentColor"
|
|
12
|
+
stroke-width="2"
|
|
13
|
+
stroke-linecap="round"
|
|
14
|
+
stroke-linejoin="round"
|
|
15
|
+
/>
|
|
16
|
+
</svg>
|
|
17
|
+
</template>
|
|
18
|
+
|
|
19
|
+
<script setup lang="ts">
|
|
20
|
+
defineProps<{
|
|
21
|
+
width?: number | string;
|
|
22
|
+
height?: number | string;
|
|
23
|
+
}>();
|
|
24
|
+
</script>
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<svg
|
|
3
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
4
|
+
viewBox="0 0 19 20"
|
|
5
|
+
fill="none"
|
|
6
|
+
:width="width"
|
|
7
|
+
:height="height"
|
|
8
|
+
>
|
|
9
|
+
<path
|
|
10
|
+
fill-rule="evenodd"
|
|
11
|
+
clip-rule="evenodd"
|
|
12
|
+
d="M6.25178 3.30157C5.55825 4.09224 5.16667 5.23859 5.16667 6.60195V8.33529C5.16667 9.19582 4.77938 9.91075 4.36882 10.4555C3.99335 10.9537 3.52576 11.4009 3.15857 11.7522C3.12774 11.7817 3.09761 11.8105 3.06831 11.8386C2.72481 12.1681 2.5 12.6156 2.5 13.1353C2.5 13.6605 2.89364 14.002 3.27778 14.002H15.7222C16.1064 14.002 16.5 13.6605 16.5 13.1353C16.5 12.6156 16.2752 12.1681 15.9317 11.8386C15.9024 11.8105 15.8723 11.7817 15.8414 11.7522C15.4742 11.4009 15.0066 10.9536 14.6312 10.4555C14.2206 9.91075 13.8333 9.19582 13.8333 8.33529V6.60195C13.8333 5.23859 13.4417 4.09224 12.7482 3.30157C12.0713 2.52978 11.0251 2.00195 9.5 2.00195C7.97494 2.00195 6.92875 2.52978 6.25178 3.30157ZM4.74822 1.98274C5.84903 0.727732 7.4695 0.00195312 9.5 0.00195312C11.5305 0.00195312 13.151 0.727732 14.2518 1.98274C15.336 3.21887 15.8333 4.87252 15.8333 6.60195V8.33529C15.8333 8.57932 15.9428 8.87289 16.2283 9.2517C16.502 9.61482 16.8573 9.95538 17.2498 10.3316C17.2718 10.3527 17.294 10.374 17.3163 10.3954C18 11.0513 18.5 12.0016 18.5 13.1353C18.5 14.672 17.3018 16.002 15.7222 16.002H3.27778C1.69824 16.002 0.5 14.672 0.5 13.1353C0.5 12.0016 0.999968 11.0513 1.68372 10.3954C1.706 10.374 1.72817 10.3527 1.75022 10.3316C2.1427 9.95539 2.49798 9.61482 2.77166 9.25171C3.05716 8.8729 3.16667 8.57932 3.16667 8.33529V6.60195C3.16667 4.87252 3.66397 3.21887 4.74822 1.98274Z"
|
|
13
|
+
fill="currentColor"
|
|
14
|
+
/>
|
|
15
|
+
<path
|
|
16
|
+
fill-rule="evenodd"
|
|
17
|
+
clip-rule="evenodd"
|
|
18
|
+
d="M6.94301 17.1715C7.4017 16.8639 8.02291 16.9864 8.33051 17.4451C8.4299 17.5933 8.5843 17.7331 8.79191 17.8365C8.99975 17.9401 9.24442 17.9985 9.49998 17.9985C9.75554 17.9985 10.0002 17.9401 10.2081 17.8365C10.4157 17.7331 10.5701 17.5933 10.6694 17.4451C10.9771 16.9864 11.5983 16.8639 12.057 17.1715C12.5156 17.4791 12.6381 18.1003 12.3305 18.559C12.0234 19.017 11.5943 19.3803 11.0999 19.6266C10.6058 19.8729 10.0545 19.9985 9.49998 19.9985C8.94542 19.9985 8.39418 19.8729 7.90002 19.6266C7.40562 19.3803 6.97656 19.017 6.66945 18.559C6.36184 18.1003 6.48432 17.4791 6.94301 17.1715Z"
|
|
19
|
+
fill="currentColor"
|
|
20
|
+
/>
|
|
21
|
+
</svg>
|
|
22
|
+
</template>
|
|
23
|
+
|
|
24
|
+
<script setup lang="ts">
|
|
25
|
+
defineProps<{
|
|
26
|
+
width?: number | string;
|
|
27
|
+
height?: number | string;
|
|
28
|
+
}>();
|
|
29
|
+
</script>
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<svg
|
|
3
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
4
|
+
viewBox="0 0 20 20"
|
|
5
|
+
fill="none"
|
|
6
|
+
:width="width"
|
|
7
|
+
:height="height"
|
|
8
|
+
>
|
|
9
|
+
<path
|
|
10
|
+
fill-rule="evenodd"
|
|
11
|
+
clip-rule="evenodd"
|
|
12
|
+
d="M0 10C0 4.47715 4.47715 0 10 0C15.5228 0 20 4.47715 20 10C20 15.5228 15.5228 20 10 20C4.47715 20 0 15.5228 0 10ZM10 2C5.58172 2 2 5.58172 2 10C2 14.4183 5.58172 18 10 18C14.4183 18 18 14.4183 18 10C18 5.58172 14.4183 2 10 2Z"
|
|
13
|
+
fill="#737373"
|
|
14
|
+
/>
|
|
15
|
+
<path
|
|
16
|
+
fill-rule="evenodd"
|
|
17
|
+
clip-rule="evenodd"
|
|
18
|
+
d="M8.6998 6.0002C8.6998 6.71817 9.28183 7.3002 9.9998 7.3002C10.7178 7.3002 11.2998 6.71817 11.2998 6.0002C11.2998 5.28223 10.7178 4.7002 9.9998 4.7002C9.28183 4.7002 8.6998 5.28222 8.6998 6.0002Z"
|
|
19
|
+
fill="#737373"
|
|
20
|
+
/>
|
|
21
|
+
<path
|
|
22
|
+
fill-rule="evenodd"
|
|
23
|
+
clip-rule="evenodd"
|
|
24
|
+
d="M8.6998 14.0002C8.6998 14.7182 9.28183 15.3002 9.9998 15.3002C10.7178 15.3002 11.2998 14.7182 11.2998 14.0002C11.2998 13.2822 10.7178 12.7002 9.9998 12.7002C9.28183 12.7002 8.6998 13.2822 8.6998 14.0002Z"
|
|
25
|
+
fill="#737373"
|
|
26
|
+
/>
|
|
27
|
+
<path
|
|
28
|
+
fill-rule="evenodd"
|
|
29
|
+
clip-rule="evenodd"
|
|
30
|
+
d="M8.6998 10.0002C8.6998 10.7182 9.28183 11.3002 9.9998 11.3002C10.7178 11.3002 11.2998 10.7182 11.2998 10.0002C11.2998 9.28223 10.7178 8.7002 9.9998 8.7002C9.28183 8.7002 8.6998 9.28222 8.6998 10.0002Z"
|
|
31
|
+
fill="#737373"
|
|
32
|
+
/>
|
|
33
|
+
</svg>
|
|
34
|
+
</template>
|
|
35
|
+
|
|
36
|
+
<script setup lang="ts">
|
|
37
|
+
defineProps<{
|
|
38
|
+
width?: number | string;
|
|
39
|
+
height?: number | string;
|
|
40
|
+
}>();
|
|
41
|
+
</script>
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<svg
|
|
3
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
4
|
+
viewBox="0 0 12 12"
|
|
5
|
+
fill="none"
|
|
6
|
+
:width="width"
|
|
7
|
+
:height="height"
|
|
8
|
+
>
|
|
9
|
+
<path
|
|
10
|
+
d="M11 11L6.00001 6.00001M6.00001 6.00001L1 1M6.00001 6.00001L11 1M6.00001 6.00001L1 11"
|
|
11
|
+
stroke="currentColor"
|
|
12
|
+
stroke-width="2"
|
|
13
|
+
stroke-linecap="round"
|
|
14
|
+
stroke-linejoin="round"
|
|
15
|
+
/>
|
|
16
|
+
</svg>
|
|
17
|
+
</template>
|
|
18
|
+
|
|
19
|
+
<script setup lang="ts">
|
|
20
|
+
defineProps<{
|
|
21
|
+
width?: number | string;
|
|
22
|
+
height?: number | string;
|
|
23
|
+
}>();
|
|
24
|
+
</script>
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<svg
|
|
3
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
4
|
+
viewBox="0 0 18 18"
|
|
5
|
+
fill="none"
|
|
6
|
+
:width="width"
|
|
7
|
+
:height="height"
|
|
8
|
+
>
|
|
9
|
+
<path
|
|
10
|
+
d="M9 12L12 9M12 9L9 6M12 9H1M1 4.24802V4.2002C1 3.08009 1 2.51962 1.21799 2.0918C1.40973 1.71547 1.71547 1.40973 2.0918 1.21799C2.51962 1 3.08009 1 4.2002 1H13.8002C14.9203 1 15.4796 1 15.9074 1.21799C16.2837 1.40973 16.5905 1.71547 16.7822 2.0918C17 2.5192 17 3.07899 17 4.19691V13.8036C17 14.9215 17 15.4805 16.7822 15.9079C16.5905 16.2842 16.2837 16.5905 15.9074 16.7822C15.48 17 14.921 17 13.8031 17H4.19691C3.07899 17 2.5192 17 2.0918 16.7822C1.71547 16.5905 1.40973 16.2839 1.21799 15.9076C1 15.4798 1 14.9201 1 13.8V13.75"
|
|
11
|
+
stroke="currentColor"
|
|
12
|
+
stroke-width="2"
|
|
13
|
+
stroke-linecap="round"
|
|
14
|
+
stroke-linejoin="round"
|
|
15
|
+
/>
|
|
16
|
+
</svg>
|
|
17
|
+
</template>
|
|
18
|
+
|
|
19
|
+
<script setup lang="ts">
|
|
20
|
+
defineProps<{
|
|
21
|
+
width?: number | string;
|
|
22
|
+
height?: number | string;
|
|
23
|
+
}>();
|
|
24
|
+
</script>
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<svg
|
|
3
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
4
|
+
viewBox="0 0 12 12"
|
|
5
|
+
fill="none"
|
|
6
|
+
:width="width"
|
|
7
|
+
:height="height"
|
|
8
|
+
>
|
|
9
|
+
<path
|
|
10
|
+
d="M6 11H11M1 6H11M1 1H11"
|
|
11
|
+
stroke="currentColor"
|
|
12
|
+
stroke-width="2"
|
|
13
|
+
stroke-linecap="round"
|
|
14
|
+
stroke-linejoin="round"
|
|
15
|
+
/>
|
|
16
|
+
</svg>
|
|
17
|
+
</template>
|
|
18
|
+
|
|
19
|
+
<script setup lang="ts">
|
|
20
|
+
defineProps<{
|
|
21
|
+
width?: number | string;
|
|
22
|
+
height?: number | string;
|
|
23
|
+
}>();
|
|
24
|
+
</script>
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<svg
|
|
3
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
4
|
+
viewBox="0 0 18 18"
|
|
5
|
+
fill="none"
|
|
6
|
+
:width="width"
|
|
7
|
+
:height="height"
|
|
8
|
+
>
|
|
9
|
+
<path
|
|
10
|
+
d="M4.5 9H13.5"
|
|
11
|
+
stroke="currentColor"
|
|
12
|
+
stroke-width="2"
|
|
13
|
+
stroke-linecap="round"
|
|
14
|
+
stroke-linejoin="round"
|
|
15
|
+
/>
|
|
16
|
+
</svg>
|
|
17
|
+
</template>
|
|
18
|
+
|
|
19
|
+
<script setup lang="ts">
|
|
20
|
+
defineProps<{
|
|
21
|
+
width?: number | string;
|
|
22
|
+
height?: number | string;
|
|
23
|
+
}>();
|
|
24
|
+
</script>
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<svg
|
|
3
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
4
|
+
viewBox="0 0 18 18"
|
|
5
|
+
fill="none"
|
|
6
|
+
:width="width"
|
|
7
|
+
:height="height"
|
|
8
|
+
>
|
|
9
|
+
<path
|
|
10
|
+
d="M4.5 9H9M9 9H13.5M9 9V13.5M9 9V4.5"
|
|
11
|
+
stroke="currentColor"
|
|
12
|
+
stroke-width="2"
|
|
13
|
+
stroke-linecap="round"
|
|
14
|
+
stroke-linejoin="round"
|
|
15
|
+
/>
|
|
16
|
+
</svg>
|
|
17
|
+
</template>
|
|
18
|
+
|
|
19
|
+
<script setup lang="ts">
|
|
20
|
+
defineProps<{
|
|
21
|
+
width?: number | string;
|
|
22
|
+
height?: number | string;
|
|
23
|
+
}>();
|
|
24
|
+
</script>
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<svg
|
|
3
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
4
|
+
viewBox="0 0 20 22"
|
|
5
|
+
fill="none"
|
|
6
|
+
:width="width"
|
|
7
|
+
:height="height"
|
|
8
|
+
>
|
|
9
|
+
<path
|
|
10
|
+
d="M11.6006 20.0761L17.0608 16.9236C17.6437 16.5871 17.9346 16.4188 18.1465 16.1834C18.3341 15.9751 18.4759 15.7297 18.5625 15.4632C18.6602 15.1626 18.6602 14.8267 18.6602 14.1568V7.84268C18.6602 7.17277 18.6602 6.83694 18.5625 6.53638C18.4759 6.26982 18.3341 6.02428 18.1465 5.816C17.9355 5.58161 17.6453 5.41405 17.0674 5.08043L11.5996 1.92359C11.0167 1.58706 10.7259 1.41913 10.416 1.35328C10.1419 1.295 9.85843 1.295 9.58427 1.35328C9.27443 1.41914 8.98259 1.58706 8.39971 1.92359L2.93843 5.07666C2.35623 5.41279 2.06535 5.58073 1.85352 5.816C1.66597 6.02428 1.52434 6.26982 1.43773 6.53638C1.33984 6.83765 1.33984 7.17436 1.33984 7.84742V14.1524C1.33984 14.8254 1.33984 15.1619 1.43773 15.4632C1.52434 15.7297 1.66597 15.9751 1.85352 16.1834C2.06548 16.4188 2.35657 16.5871 2.93945 16.9236L8.39971 20.0761C8.98258 20.4126 9.27443 20.5806 9.58427 20.6465C9.85843 20.7047 10.1419 20.7047 10.416 20.6465C10.7259 20.5806 11.0177 20.4126 11.6006 20.0761Z"
|
|
11
|
+
stroke="currentColor"
|
|
12
|
+
stroke-width="2"
|
|
13
|
+
stroke-linecap="round"
|
|
14
|
+
stroke-linejoin="round"
|
|
15
|
+
/>
|
|
16
|
+
<path
|
|
17
|
+
d="M7 10.9998C7 12.6566 8.34315 13.9998 10 13.9998C11.6569 13.9998 13 12.6566 13 10.9998C13 9.34291 11.6569 7.99976 10 7.99976C8.34315 7.99976 7 9.34291 7 10.9998Z"
|
|
18
|
+
stroke="currentColor"
|
|
19
|
+
stroke-width="2"
|
|
20
|
+
stroke-linecap="round"
|
|
21
|
+
stroke-linejoin="round"
|
|
22
|
+
/>
|
|
23
|
+
</svg>
|
|
24
|
+
</template>
|
|
25
|
+
|
|
26
|
+
<script setup lang="ts">
|
|
27
|
+
defineProps<{
|
|
28
|
+
width?: number | string;
|
|
29
|
+
height?: number | string;
|
|
30
|
+
}>();
|
|
31
|
+
</script>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export { default as AppWindowIcon } from "./AppWindowIcon.vue";
|
|
2
|
+
export { default as ArrowLeftIcon } from "./ArrowLeftIcon.vue";
|
|
3
|
+
export { default as ArrowRightIcon } from "./ArrowRightIcon.vue";
|
|
4
|
+
export { default as BellIcon } from "./BellIcon.vue";
|
|
5
|
+
export { default as CircleDotsIcon } from "./CircleDotsIcon.vue";
|
|
6
|
+
export { default as CrossSignIcon } from "./CrossSignIcon.vue";
|
|
7
|
+
export { default as LogoutIcon } from "./LogoutIcon.vue";
|
|
8
|
+
export { default as MenuBurgerIcon } from "./MenuBurgerIcon.vue";
|
|
9
|
+
export { default as MinusSignIcon } from "./MinusSignIcon.vue";
|
|
10
|
+
export { default as PlusSignIcon } from "./PlusSignIcon.vue";
|
|
11
|
+
export { default as SettingsBoltIcon } from "./SettingsBoltIcon.vue";
|
|
@@ -1,18 +1,44 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<
|
|
2
|
+
<component
|
|
3
|
+
:is="isCustomIcon ? icon : 'i'"
|
|
4
|
+
:class="[
|
|
5
|
+
'vc-icon',
|
|
6
|
+
`vc-icon_${size}`,
|
|
7
|
+
variant ? `vc-icon_${variant}` : '',
|
|
8
|
+
!isCustomIcon ? (icon as string).toLowerCase() : '',
|
|
9
|
+
]"
|
|
10
|
+
v-bind="isCustomIcon ? { width: iconSize, height: iconSize } : {}"
|
|
11
|
+
/>
|
|
3
12
|
</template>
|
|
4
13
|
|
|
5
14
|
<script lang="ts" setup>
|
|
15
|
+
import { computed } from "vue";
|
|
16
|
+
import type { Component } from "vue";
|
|
17
|
+
|
|
6
18
|
export interface Props {
|
|
7
|
-
icon?: string;
|
|
19
|
+
icon?: string | Component;
|
|
8
20
|
size?: "xs" | "s" | "m" | "l" | "xl" | "xxl" | "xxxl";
|
|
9
21
|
variant?: "warning" | "danger" | "success";
|
|
10
22
|
}
|
|
11
23
|
|
|
12
|
-
withDefaults(defineProps<Props>(), {
|
|
24
|
+
const props = withDefaults(defineProps<Props>(), {
|
|
13
25
|
icon: "fas fa-square-full",
|
|
14
26
|
size: "m",
|
|
15
27
|
});
|
|
28
|
+
|
|
29
|
+
const isCustomIcon = computed(() => typeof props.icon !== "string");
|
|
30
|
+
|
|
31
|
+
const sizeMap = {
|
|
32
|
+
xs: 12,
|
|
33
|
+
s: 14,
|
|
34
|
+
m: 18,
|
|
35
|
+
l: 20,
|
|
36
|
+
xl: 22,
|
|
37
|
+
xxl: 30,
|
|
38
|
+
xxxl: 64,
|
|
39
|
+
} as const;
|
|
40
|
+
|
|
41
|
+
const iconSize = computed(() => sizeMap[props.size]);
|
|
16
42
|
</script>
|
|
17
43
|
|
|
18
44
|
<style lang="scss">
|
|
@@ -43,6 +69,10 @@ $variants: warning, danger, success;
|
|
|
43
69
|
@each $variant in $variants {
|
|
44
70
|
&_#{$variant} {
|
|
45
71
|
@apply tw-text-[color:var(--icon-color-#{$variant})];
|
|
72
|
+
|
|
73
|
+
:deep(path) {
|
|
74
|
+
stroke: var(--icon-color-#{$variant});
|
|
75
|
+
}
|
|
46
76
|
}
|
|
47
77
|
}
|
|
48
78
|
}
|
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
class="vc-status"
|
|
4
4
|
:class="[`vc-status_${variant}`, { 'vc-status_outline': outline }, { 'vc-status_extended': extend }]"
|
|
5
5
|
>
|
|
6
|
+
<div
|
|
7
|
+
v-if="outline"
|
|
8
|
+
class="vc-status__dot"
|
|
9
|
+
></div>
|
|
6
10
|
<slot></slot>
|
|
7
11
|
</div>
|
|
8
12
|
</template>
|
|
@@ -30,10 +34,12 @@ defineSlots<{
|
|
|
30
34
|
--status-padding: 4px 14px;
|
|
31
35
|
--status-padding-extended: 8px;
|
|
32
36
|
|
|
33
|
-
--status-border-radius:
|
|
37
|
+
--status-border-radius: 20px;
|
|
34
38
|
--status-border-radius-extended: 4px;
|
|
35
39
|
--status-border-width: 1px;
|
|
36
40
|
|
|
41
|
+
--status-border-color: var(--neutrals-500);
|
|
42
|
+
|
|
37
43
|
--status-info-color: var(--additional-950);
|
|
38
44
|
--status-info-main-color: var(--info-500);
|
|
39
45
|
|
|
@@ -61,7 +67,7 @@ defineSlots<{
|
|
|
61
67
|
$variants: info, warning, danger, success, light-danger, info-dark, primary;
|
|
62
68
|
|
|
63
69
|
.vc-status {
|
|
64
|
-
@apply tw-inline-block tw-font-normal tw-whitespace-nowrap tw-text-
|
|
70
|
+
@apply tw-inline-block tw-font-normal tw-whitespace-nowrap tw-text-xs tw-truncate tw-text-center tw-border tw-border-solid tw-box-border;
|
|
65
71
|
|
|
66
72
|
@apply tw-py-1 tw-px-3.5 tw-rounded-[var(--status-border-radius)];
|
|
67
73
|
|
|
@@ -69,10 +75,17 @@ $variants: info, warning, danger, success, light-danger, info-dark, primary;
|
|
|
69
75
|
|
|
70
76
|
@each $variant in $variants {
|
|
71
77
|
&.vc-status_#{$variant} {
|
|
72
|
-
@apply tw-
|
|
78
|
+
@apply tw-border-[color:var(--status-#{$variant}-main-color)] tw-bg-[color:var(--status-#{$variant}-main-color)];
|
|
73
79
|
|
|
74
80
|
&.vc-status_outline {
|
|
75
|
-
@apply tw-
|
|
81
|
+
@apply tw-bg-[color:var(--status-outline-bg-color)];
|
|
82
|
+
@apply tw-flex tw-items-center tw-justify-center tw-flex-row tw-relative;
|
|
83
|
+
@apply tw-border-[color:var(--status-border-color)] #{!important};
|
|
84
|
+
|
|
85
|
+
&::before {
|
|
86
|
+
content: "";
|
|
87
|
+
@apply tw-bg-[color:var(--status-#{$variant}-main-color)] tw-w-4 tw-h-4 tw-rounded-full tw-mr-2 tw-shrink-0;
|
|
88
|
+
}
|
|
76
89
|
}
|
|
77
90
|
}
|
|
78
91
|
}
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
<div
|
|
3
3
|
ref="target"
|
|
4
4
|
class="vc-tooltip"
|
|
5
|
+
@mouseenter="showTooltip"
|
|
6
|
+
@mouseleave="hideTooltip"
|
|
5
7
|
>
|
|
6
8
|
<div
|
|
7
9
|
ref="tooltipCompRef"
|
|
@@ -25,8 +27,7 @@
|
|
|
25
27
|
|
|
26
28
|
<script lang="ts" setup>
|
|
27
29
|
import { useFloating, shift, Placement, offset as floatingOffset } from "@floating-ui/vue";
|
|
28
|
-
import { getCurrentInstance, ref
|
|
29
|
-
import { useMouseInElement } from "@vueuse/core";
|
|
30
|
+
import { getCurrentInstance, ref } from "vue";
|
|
30
31
|
|
|
31
32
|
export interface Props {
|
|
32
33
|
placement?: Placement;
|
|
@@ -34,6 +35,7 @@ export interface Props {
|
|
|
34
35
|
crossAxis?: number;
|
|
35
36
|
mainAxis?: number;
|
|
36
37
|
};
|
|
38
|
+
delay?: number;
|
|
37
39
|
}
|
|
38
40
|
|
|
39
41
|
const props = withDefaults(defineProps<Props>(), {
|
|
@@ -42,6 +44,7 @@ const props = withDefaults(defineProps<Props>(), {
|
|
|
42
44
|
crossAxis: 5,
|
|
43
45
|
mainAxis: 5,
|
|
44
46
|
}),
|
|
47
|
+
delay: 0,
|
|
45
48
|
});
|
|
46
49
|
|
|
47
50
|
defineSlots<{
|
|
@@ -53,9 +56,9 @@ const tooltipVisible = ref(false);
|
|
|
53
56
|
const tooltipCompRef = ref<HTMLElement | null>(null);
|
|
54
57
|
const tooltipRef = ref<HTMLElement | null>(null);
|
|
55
58
|
const target = ref(null);
|
|
59
|
+
let showTimeout: NodeJS.Timeout | null = null;
|
|
56
60
|
|
|
57
61
|
const instance = getCurrentInstance();
|
|
58
|
-
|
|
59
62
|
const appContainer = instance?.appContext.app._container.id;
|
|
60
63
|
|
|
61
64
|
const { floatingStyles } = useFloating(tooltipCompRef, tooltipRef, {
|
|
@@ -63,11 +66,23 @@ const { floatingStyles } = useFloating(tooltipCompRef, tooltipRef, {
|
|
|
63
66
|
middleware: [floatingOffset(props.offset), shift()],
|
|
64
67
|
});
|
|
65
68
|
|
|
66
|
-
const
|
|
69
|
+
const showTooltip = () => {
|
|
70
|
+
if (props.delay > 0) {
|
|
71
|
+
showTimeout = setTimeout(() => {
|
|
72
|
+
tooltipVisible.value = true;
|
|
73
|
+
}, props.delay);
|
|
74
|
+
} else {
|
|
75
|
+
tooltipVisible.value = true;
|
|
76
|
+
}
|
|
77
|
+
};
|
|
67
78
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
79
|
+
const hideTooltip = () => {
|
|
80
|
+
if (showTimeout) {
|
|
81
|
+
clearTimeout(showTimeout);
|
|
82
|
+
showTimeout = null;
|
|
83
|
+
}
|
|
84
|
+
tooltipVisible.value = false;
|
|
85
|
+
};
|
|
71
86
|
</script>
|
|
72
87
|
|
|
73
88
|
<style lang="scss">
|