rappel-ui 1.0.13 → 1.0.15
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/cjs/_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/defineProperty.js +1 -0
- package/cjs/_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/toPrimitive.js +1 -0
- package/cjs/_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/toPropertyKey.js +1 -0
- package/cjs/_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/typeof.js +1 -0
- package/cjs/_virtual/_plugin-vue_export-helper.js +1 -0
- package/cjs/_virtual/_rolldown/runtime.js +1 -0
- package/cjs/components/button/index.d.ts +57 -0
- package/cjs/components/button/index.js +1 -0
- package/cjs/components/button/src/button-group.js +1 -0
- package/cjs/components/button/src/button-group.vue.d.ts +14 -0
- package/cjs/components/button/src/button-group.vue_vue_type_script_setup_true_lang.js +1 -0
- package/cjs/components/button/src/button.js +1 -0
- package/cjs/components/button/src/button.vue.d.ts +24 -0
- package/cjs/components/button/src/button.vue_vue_type_script_setup_true_lang.js +1 -0
- package/cjs/components/button/src/constants.d.ts +4 -0
- package/cjs/components/button/src/constants.js +1 -0
- package/cjs/components/button/src/types.d.ts +32 -0
- package/cjs/components/button/style/css.d.ts +0 -0
- package/cjs/components/button/style/index.d.ts +0 -0
- package/cjs/components/button/style/index.js +1 -0
- package/cjs/components/button-group/style/css.d.ts +0 -0
- package/cjs/components/button-group/style/index.d.ts +0 -0
- package/cjs/components/button-group/style/index.js +1 -0
- package/cjs/components/colors/index.d.ts +6 -0
- package/cjs/components/colors/index.js +1 -0
- package/cjs/components/colors/src/colors.js +1 -0
- package/cjs/components/colors/src/colors.vue.d.ts +3 -0
- package/cjs/components/colors/src/colors.vue_vue_type_script_setup_true_lang.js +1 -0
- package/cjs/components/colors/src/neutral-color.js +1 -0
- package/cjs/components/colors/src/neutral-color.vue.d.ts +3 -0
- package/cjs/components/colors/src/neutral-color.vue_vue_type_script_setup_true_lang.js +1 -0
- package/cjs/components/colors/src/primary-color.js +1 -0
- package/cjs/components/colors/src/primary-color.vue.d.ts +3 -0
- package/cjs/components/colors/src/primary-color.vue_vue_type_script_setup_true_lang.js +1 -0
- package/cjs/components/colors/src/secondary-color.js +1 -0
- package/cjs/components/colors/src/secondary-color.vue.d.ts +3 -0
- package/cjs/components/colors/src/secondary-color.vue_vue_type_script_setup_true_lang.js +1 -0
- package/cjs/components/colors/style/css.d.ts +0 -0
- package/cjs/components/colors/style/index.d.ts +0 -0
- package/cjs/components/colors/style/index.js +1 -0
- package/cjs/components/filter-panel/index.d.ts +74 -0
- package/cjs/components/filter-panel/index.js +1 -0
- package/cjs/components/filter-panel/src/constants.d.ts +1 -0
- package/cjs/components/filter-panel/src/filter-panel.js +1 -0
- package/cjs/components/filter-panel/src/filter-panel.vue.d.ts +46 -0
- package/cjs/components/filter-panel/src/filter-panel.vue_vue_type_script_setup_true_lang.js +1 -0
- package/cjs/components/filter-panel/src/types.d.ts +17 -0
- package/cjs/components/filter-panel/style/css.d.ts +0 -0
- package/cjs/components/filter-panel/style/index.d.ts +0 -0
- package/cjs/components/filter-panel/style/index.js +1 -0
- package/cjs/components/index.d.ts +9 -0
- package/cjs/components/index.js +1 -0
- package/cjs/components/input/index.d.ts +23 -0
- package/cjs/components/input/index.js +1 -0
- package/cjs/components/input/src/input.js +1 -0
- package/cjs/components/input/src/input.vue.d.ts +24 -0
- package/cjs/components/input/src/input.vue_vue_type_script_setup_true_lang.js +1 -0
- package/cjs/components/package.js +1 -0
- package/cjs/components/popconfirm/index.d.ts +90 -0
- package/cjs/components/popconfirm/index.js +1 -0
- package/cjs/components/popconfirm/src/popconfirm.js +1 -0
- package/cjs/components/popconfirm/src/popconfirm.vue.d.ts +68 -0
- package/cjs/components/popconfirm/src/popconfirm.vue_vue_type_script_setup_true_lang.js +1 -0
- package/cjs/components/popconfirm/src/types.d.ts +18 -0
- package/cjs/components/popconfirm/style/css.d.ts +0 -0
- package/cjs/components/popconfirm/style/index.d.ts +0 -0
- package/cjs/components/popover/index.d.ts +37 -0
- package/cjs/components/popover/index.js +1 -0
- package/cjs/components/popover/src/popover.js +1 -0
- package/cjs/components/popover/src/popover.vue.d.ts +25 -0
- package/cjs/components/popover/src/popover.vue_vue_type_script_setup_true_lang.js +1 -0
- package/cjs/components/popover/src/types.d.ts +4 -0
- package/cjs/components/popover/style/css.d.ts +0 -0
- package/cjs/components/popover/style/index.d.ts +0 -0
- package/cjs/components/svg-icon/index.d.ts +3 -0
- package/cjs/components/svg-icon/index.js +1 -0
- package/cjs/components/svg-icon/src/svg-icon.js +1 -0
- package/cjs/components/svg-icon/src/svg-icon.vue.d.ts +4 -0
- package/cjs/components/svg-icon/src/svg-icon.vue_vue_type_script_setup_true_lang.js +1 -0
- package/cjs/components/svg-icon/src/types.d.ts +8 -0
- package/cjs/components/svg-icon/style/css.d.ts +0 -0
- package/cjs/components/svg-icon/style/index.d.ts +0 -0
- package/cjs/components/svg-icon/style/index.js +1 -0
- package/cjs/components/tabs/index.d.ts +18 -0
- package/cjs/components/tabs/index.js +1 -0
- package/cjs/components/tabs/src/tabs.js +1 -0
- package/cjs/components/tabs/src/tabs.vue.d.ts +13 -0
- package/cjs/components/tooltip/index.d.ts +112 -0
- package/cjs/components/tooltip/index.js +1 -0
- package/cjs/components/tooltip/src/constants.d.ts +7 -0
- package/cjs/components/tooltip/src/constants.js +1 -0
- package/cjs/components/tooltip/src/content.js +1 -0
- package/cjs/components/tooltip/src/content.vue.d.ts +47 -0
- package/cjs/components/tooltip/src/content.vue_vue_type_script_setup_true_lang.js +1 -0
- package/cjs/components/tooltip/src/tooltip.js +1 -0
- package/cjs/components/tooltip/src/tooltip.vue.d.ts +52 -0
- package/cjs/components/tooltip/src/tooltip.vue_vue_type_script_setup_true_lang.js +1 -0
- package/cjs/components/tooltip/src/types.d.ts +98 -0
- package/cjs/components/tooltip/src/use-emit.d.ts +14 -0
- package/cjs/components/tooltip/src/use-emit.js +1 -0
- package/cjs/components/tooltip/src/use-tooltip.d.ts +11 -0
- package/cjs/components/tooltip/src/use-tooltip.js +1 -0
- package/cjs/components/tooltip/style/css.d.ts +0 -0
- package/cjs/components/tooltip/style/index.d.ts +0 -0
- package/cjs/composables/index.d.ts +8 -0
- package/cjs/composables/index.js +1 -0
- package/cjs/composables/use-date-format/index.d.ts +7 -0
- package/cjs/composables/use-date-format/index.js +1 -0
- package/cjs/composables/use-draggable/index.d.ts +10 -0
- package/cjs/composables/use-draggable/index.js +1 -0
- package/cjs/composables/use-namespace/index.d.ts +13 -0
- package/cjs/composables/use-namespace/index.js +1 -0
- package/cjs/composables/use-once-fn/index.d.ts +24 -0
- package/cjs/composables/use-once-fn/index.js +1 -0
- package/cjs/composables/use-theme/index.d.ts +7 -0
- package/cjs/composables/use-theme/index.js +1 -0
- package/cjs/composables/use-time-nodes/index.d.ts +3 -0
- package/cjs/composables/use-time-nodes/index.js +1 -0
- package/cjs/composables/use-waterfall-layout/index.d.ts +10 -0
- package/cjs/composables/use-waterfall-layout/index.js +1 -0
- package/cjs/composables/use-z-index/index.d.ts +11 -0
- package/cjs/composables/use-z-index/index.js +1 -0
- package/cjs/constants/index.d.ts +1 -0
- package/cjs/constants/svgLoading.d.ts +2 -0
- package/cjs/constants/svgLoading.js +36 -0
- package/cjs/directives/index.d.ts +3 -0
- package/cjs/directives/index.js +1 -0
- package/cjs/directives/vDraggable.d.ts +2 -0
- package/cjs/directives/vDraggable.js +1 -0
- package/cjs/directives/vResizable.d.ts +14 -0
- package/cjs/directives/vResizable.js +21 -0
- package/cjs/directives/vSvgLoading.d.ts +4 -0
- package/cjs/directives/vSvgLoading.js +1 -0
- package/cjs/index.d.ts +1601 -0
- package/cjs/index.js +1 -1
- package/cjs/node_modules/.pnpm/@floating-ui_core@1.8.0/node_modules/@floating-ui/core/dist/floating-ui.core.js +1 -0
- package/cjs/node_modules/.pnpm/@floating-ui_dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +1 -0
- package/cjs/node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +1 -0
- package/cjs/node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +1 -0
- package/cjs/node_modules/.pnpm/@floating-ui_vue@2.0.1_vue@3.5.26_typescript@5.9.3_/node_modules/@floating-ui/vue/dist/floating-ui.vue.js +1 -0
- package/cjs/node_modules/.pnpm/@vueuse_core@14.4.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/core/dist/index.js +1 -0
- package/cjs/node_modules/.pnpm/@vueuse_shared@14.4.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/shared/dist/index.js +1 -0
- package/cjs/rappel-ui/resolver.d.ts +4 -0
- package/cjs/svg-icons/constants.d.ts +3 -0
- package/cjs/svg-icons/constants.js +1 -0
- package/cjs/svg-icons/dist/es/constants.js +1 -0
- package/cjs/svg-icons/dist/es/index.js +1 -0
- package/cjs/svg-icons/dist/es/node_modules/.pnpm/@vueuse_core@14.4.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/core/dist/index.js +1 -0
- package/cjs/svg-icons/dist/es/node_modules/.pnpm/@vueuse_shared@14.4.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/shared/dist/index.js +1 -0
- package/cjs/svg-icons/dist/es/packages/components/svg-icon/index.js +1 -0
- package/cjs/svg-icons/dist/es/packages/components/svg-icon/src/svg-icon.js +1 -0
- package/cjs/svg-icons/dist/es/packages/components/svg-icon/src/svg-icon.vue_vue_type_script_setup_true_lang.js +1 -0
- package/cjs/svg-icons/dist/es/packages/composables/index.js +1 -0
- package/cjs/svg-icons/dist/es/packages/composables/use-namespace/index.js +1 -0
- package/cjs/svg-icons/dist/es/packages/composables/use-theme/index.js +1 -0
- package/cjs/svg-icons/dist/es/packages/composables/use-waterfall-layout/index.js +1 -0
- package/cjs/svg-icons/dist/es/packages/utils/index.js +1 -0
- package/cjs/svg-icons/dist/es/packages/utils/util.js +1 -0
- package/cjs/svg-icons/dist/es/packages/utils/vue/index.js +1 -0
- package/cjs/svg-icons/index.d.ts +1180 -0
- package/cjs/svg-icons/index.js +1 -0
- package/cjs/svg-icons/types.d.ts +5 -0
- package/cjs/theme-chalk/src/base.css +1 -0
- package/cjs/theme-chalk/src/button-group.css +1 -0
- package/cjs/theme-chalk/src/button.css +1 -0
- package/cjs/theme-chalk/src/colors.css +1 -0
- package/cjs/theme-chalk/src/filter-panel.css +1 -0
- package/cjs/theme-chalk/src/svg-icon.css +1 -0
- package/cjs/types/common.d.ts +1 -0
- package/cjs/types/component.d.ts +1 -0
- package/cjs/types/event.d.ts +1 -0
- package/cjs/types/index.d.ts +4 -0
- package/cjs/types/theme.d.ts +1 -0
- package/cjs/utils/index.d.ts +2 -0
- package/cjs/utils/index.js +1 -0
- package/cjs/utils/util.d.ts +170 -0
- package/cjs/utils/util.js +3 -0
- package/cjs/utils/vue/index.d.ts +21 -0
- package/cjs/utils/vue/index.js +1 -0
- package/es/_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/defineProperty.mjs +12 -0
- package/es/_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/toPrimitive.mjs +14 -0
- package/es/_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/toPropertyKey.mjs +9 -0
- package/es/_virtual/_@oxc-project_runtime@0.139.0/helpers/esm/typeof.mjs +11 -0
- package/es/_virtual/_plugin-vue_export-helper.mjs +8 -0
- package/es/_virtual/_rolldown/runtime.mjs +11 -0
- package/es/components/button/index.d.ts +57 -0
- package/es/components/button/index.mjs +9 -0
- package/es/components/button/src/button-group.mjs +5 -0
- package/es/components/button/src/button-group.vue.d.ts +14 -0
- package/es/components/button/src/button-group.vue_vue_type_script_setup_true_lang.mjs +25 -0
- package/es/components/button/src/button.mjs +5 -0
- package/es/components/button/src/button.vue.d.ts +24 -0
- package/es/components/button/src/button.vue_vue_type_script_setup_true_lang.mjs +139 -0
- package/es/components/button/src/constants.d.ts +4 -0
- package/es/components/button/src/constants.mjs +20 -0
- package/es/components/button/src/types.d.ts +32 -0
- package/es/components/button/style/css.d.ts +0 -0
- package/es/components/button/style/index.d.ts +0 -0
- package/es/components/button/style/index.mjs +2 -0
- package/es/components/button-group/style/css.d.ts +0 -0
- package/es/components/button-group/style/index.d.ts +0 -0
- package/es/components/button-group/style/index.mjs +2 -0
- package/es/components/colors/index.d.ts +6 -0
- package/es/components/colors/index.mjs +14 -0
- package/es/components/colors/src/colors.mjs +5 -0
- package/es/components/colors/src/colors.vue.d.ts +3 -0
- package/es/components/colors/src/colors.vue_vue_type_script_setup_true_lang.mjs +21 -0
- package/es/components/colors/src/neutral-color.mjs +5 -0
- package/es/components/colors/src/neutral-color.vue.d.ts +3 -0
- package/es/components/colors/src/neutral-color.vue_vue_type_script_setup_true_lang.mjs +105 -0
- package/es/components/colors/src/primary-color.mjs +5 -0
- package/es/components/colors/src/primary-color.vue.d.ts +3 -0
- package/es/components/colors/src/primary-color.vue_vue_type_script_setup_true_lang.mjs +38 -0
- package/es/components/colors/src/secondary-color.mjs +5 -0
- package/es/components/colors/src/secondary-color.vue.d.ts +3 -0
- package/es/components/colors/src/secondary-color.vue_vue_type_script_setup_true_lang.mjs +56 -0
- package/es/components/colors/style/css.d.ts +0 -0
- package/es/components/colors/style/index.d.ts +0 -0
- package/es/components/colors/style/index.mjs +2 -0
- package/es/components/filter-panel/index.d.ts +74 -0
- package/es/components/filter-panel/index.mjs +7 -0
- package/es/components/filter-panel/src/constants.d.ts +1 -0
- package/es/components/filter-panel/src/filter-panel.mjs +5 -0
- package/es/components/filter-panel/src/filter-panel.vue.d.ts +46 -0
- package/es/components/filter-panel/src/filter-panel.vue_vue_type_script_setup_true_lang.mjs +130 -0
- package/es/components/filter-panel/src/types.d.ts +17 -0
- package/es/components/filter-panel/style/css.d.ts +0 -0
- package/es/components/filter-panel/style/index.d.ts +0 -0
- package/es/components/filter-panel/style/index.mjs +2 -0
- package/es/components/index.d.ts +9 -0
- package/es/components/index.mjs +36 -0
- package/es/components/input/index.d.ts +23 -0
- package/es/components/input/index.mjs +7 -0
- package/es/components/input/src/input.mjs +5 -0
- package/es/components/input/src/input.vue.d.ts +24 -0
- package/es/components/input/src/input.vue_vue_type_script_setup_true_lang.mjs +21 -0
- package/es/components/package.mjs +4 -0
- package/es/components/popconfirm/index.d.ts +90 -0
- package/es/components/popconfirm/index.mjs +7 -0
- package/es/components/popconfirm/src/popconfirm.mjs +5 -0
- package/es/components/popconfirm/src/popconfirm.vue.d.ts +68 -0
- package/es/components/popconfirm/src/popconfirm.vue_vue_type_script_setup_true_lang.mjs +238 -0
- package/es/components/popconfirm/src/types.d.ts +18 -0
- package/es/components/popconfirm/style/css.d.ts +0 -0
- package/es/components/popconfirm/style/index.d.ts +0 -0
- package/es/components/popover/index.d.ts +37 -0
- package/es/components/popover/index.mjs +7 -0
- package/es/components/popover/src/popover.mjs +5 -0
- package/es/components/popover/src/popover.vue.d.ts +25 -0
- package/es/components/popover/src/popover.vue_vue_type_script_setup_true_lang.mjs +169 -0
- package/es/components/popover/src/types.d.ts +4 -0
- package/es/components/popover/style/css.d.ts +0 -0
- package/es/components/popover/style/index.d.ts +0 -0
- package/es/components/svg-icon/index.d.ts +3 -0
- package/es/components/svg-icon/index.mjs +7 -0
- package/es/components/svg-icon/src/svg-icon.mjs +5 -0
- package/es/components/svg-icon/src/svg-icon.vue.d.ts +4 -0
- package/es/components/svg-icon/src/svg-icon.vue_vue_type_script_setup_true_lang.mjs +52 -0
- package/es/components/svg-icon/src/types.d.ts +8 -0
- package/es/components/svg-icon/style/css.d.ts +0 -0
- package/es/components/svg-icon/style/index.d.ts +0 -0
- package/es/components/svg-icon/style/index.mjs +2 -0
- package/es/components/tabs/index.d.ts +18 -0
- package/es/components/tabs/index.mjs +7 -0
- package/es/components/tabs/src/tabs.mjs +11 -0
- package/es/components/tabs/src/tabs.vue.d.ts +13 -0
- package/es/components/tooltip/index.d.ts +112 -0
- package/es/components/tooltip/index.mjs +7 -0
- package/es/components/tooltip/src/constants.d.ts +7 -0
- package/es/components/tooltip/src/constants.mjs +13 -0
- package/es/components/tooltip/src/content.mjs +5 -0
- package/es/components/tooltip/src/content.vue.d.ts +47 -0
- package/es/components/tooltip/src/content.vue_vue_type_script_setup_true_lang.mjs +158 -0
- package/es/components/tooltip/src/tooltip.mjs +5 -0
- package/es/components/tooltip/src/tooltip.vue.d.ts +52 -0
- package/es/components/tooltip/src/tooltip.vue_vue_type_script_setup_true_lang.mjs +260 -0
- package/es/components/tooltip/src/types.d.ts +98 -0
- package/es/components/tooltip/src/use-emit.d.ts +14 -0
- package/es/components/tooltip/src/use-emit.mjs +17 -0
- package/es/components/tooltip/src/use-tooltip.d.ts +11 -0
- package/es/components/tooltip/src/use-tooltip.mjs +98 -0
- package/es/components/tooltip/style/css.d.ts +0 -0
- package/es/components/tooltip/style/index.d.ts +0 -0
- package/es/composables/index.d.ts +8 -0
- package/es/composables/index.mjs +9 -0
- package/es/composables/use-date-format/index.d.ts +7 -0
- package/es/composables/use-date-format/index.mjs +20 -0
- package/es/composables/use-draggable/index.d.ts +10 -0
- package/es/composables/use-draggable/index.mjs +61 -0
- package/es/composables/use-namespace/index.d.ts +13 -0
- package/es/composables/use-namespace/index.mjs +22 -0
- package/es/composables/use-once-fn/index.d.ts +24 -0
- package/es/composables/use-once-fn/index.mjs +30 -0
- package/es/composables/use-theme/index.d.ts +7 -0
- package/es/composables/use-theme/index.mjs +23 -0
- package/es/composables/use-time-nodes/index.d.ts +3 -0
- package/es/composables/use-time-nodes/index.mjs +25 -0
- package/es/composables/use-waterfall-layout/index.d.ts +10 -0
- package/es/composables/use-waterfall-layout/index.mjs +46 -0
- package/es/composables/use-z-index/index.d.ts +11 -0
- package/es/composables/use-z-index/index.mjs +17 -0
- package/es/constants/index.d.ts +1 -0
- package/es/constants/svgLoading.d.ts +2 -0
- package/es/constants/svgLoading.mjs +4 -0
- package/es/directives/index.d.ts +3 -0
- package/es/directives/index.mjs +4 -0
- package/es/directives/vDraggable.d.ts +2 -0
- package/es/directives/vDraggable.mjs +14 -0
- package/es/directives/vResizable.d.ts +14 -0
- package/es/directives/vResizable.mjs +136 -0
- package/es/directives/vSvgLoading.d.ts +4 -0
- package/es/directives/vSvgLoading.mjs +47 -0
- package/es/index.d.ts +1601 -0
- package/es/index.mjs +45 -0
- package/es/node_modules/.pnpm/@floating-ui_core@1.8.0/node_modules/@floating-ui/core/dist/floating-ui.core.mjs +276 -0
- package/es/node_modules/.pnpm/@floating-ui_dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs +322 -0
- package/es/node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs +99 -0
- package/es/node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs +101 -0
- package/es/node_modules/.pnpm/@floating-ui_vue@2.0.1_vue@3.5.26_typescript@5.9.3_/node_modules/@floating-ui/vue/dist/floating-ui.vue.mjs +111 -0
- package/es/node_modules/.pnpm/@vueuse_core@14.4.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/core/dist/index.mjs +454 -0
- package/es/node_modules/.pnpm/@vueuse_shared@14.4.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/shared/dist/index.mjs +136 -0
- package/es/rappel-ui/resolver.d.ts +4 -0
- package/es/svg-icons/constants.d.ts +3 -0
- package/es/svg-icons/constants.mjs +114 -0
- package/es/svg-icons/dist/es/constants.mjs +114 -0
- package/es/svg-icons/dist/es/index.mjs +49 -0
- package/es/svg-icons/dist/es/node_modules/.pnpm/@vueuse_core@14.4.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/core/dist/index.mjs +275 -0
- package/es/svg-icons/dist/es/node_modules/.pnpm/@vueuse_shared@14.4.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/shared/dist/index.mjs +88 -0
- package/es/svg-icons/dist/es/packages/components/svg-icon/index.mjs +7 -0
- package/es/svg-icons/dist/es/packages/components/svg-icon/src/svg-icon.mjs +5 -0
- package/es/svg-icons/dist/es/packages/components/svg-icon/src/svg-icon.vue_vue_type_script_setup_true_lang.mjs +51 -0
- package/es/svg-icons/dist/es/packages/composables/index.mjs +3 -0
- package/es/svg-icons/dist/es/packages/composables/use-namespace/index.mjs +22 -0
- package/es/svg-icons/dist/es/packages/composables/use-theme/index.mjs +14 -0
- package/es/svg-icons/dist/es/packages/composables/use-waterfall-layout/index.mjs +1 -0
- package/es/svg-icons/dist/es/packages/utils/index.mjs +2 -0
- package/es/svg-icons/dist/es/packages/utils/util.mjs +6 -0
- package/es/svg-icons/dist/es/packages/utils/vue/index.mjs +16 -0
- package/es/svg-icons/index.d.ts +1180 -0
- package/es/svg-icons/index.mjs +77 -0
- package/es/svg-icons/types.d.ts +5 -0
- package/es/theme-chalk/src/base.css +1 -0
- package/es/theme-chalk/src/button-group.css +1 -0
- package/es/theme-chalk/src/button.css +1 -0
- package/es/theme-chalk/src/colors.css +1 -0
- package/es/theme-chalk/src/filter-panel.css +1 -0
- package/es/theme-chalk/src/svg-icon.css +1 -0
- package/es/types/common.d.ts +1 -0
- package/es/types/component.d.ts +1 -0
- package/es/types/event.d.ts +1 -0
- package/es/types/index.d.ts +4 -0
- package/es/types/theme.d.ts +1 -0
- package/es/utils/index.d.ts +2 -0
- package/es/utils/index.mjs +3 -0
- package/es/utils/util.d.ts +170 -0
- package/es/utils/util.mjs +198 -0
- package/es/utils/vue/index.d.ts +21 -0
- package/es/utils/vue/index.mjs +37 -0
- package/package.json +6 -5
- package/theme-chalk/base.css +231 -0
- package/theme-chalk/css-vars/_button-group.css +15 -0
- package/theme-chalk/css-vars/_button.css +15 -0
- package/theme-chalk/css-vars/_colors.css +33 -0
- package/theme-chalk/css-vars/_popconfirm.css +15 -0
- package/theme-chalk/css-vars/_tooltip.css +15 -0
- package/theme-chalk/function/_button.css +15 -0
- package/theme-chalk/function/index.css +15 -0
- package/theme-chalk/index.css +1271 -0
- package/theme-chalk/mixins/_base.css +15 -0
- package/theme-chalk/mixins/_button.css +18 -0
- package/theme-chalk/mixins/_popconfirm.css +18 -0
- package/theme-chalk/mixins/_tooltip.css +18 -0
- package/theme-chalk/mixins/index.css +18 -0
- package/theme-chalk/re-button-group.css +68 -0
- package/theme-chalk/re-button.css +810 -0
- package/theme-chalk/re-colors.css +87 -0
- package/theme-chalk/re-filter-panel.css +36 -0
- package/theme-chalk/re-popconfirm.css +47 -0
- package/theme-chalk/re-popover.css +31 -0
- package/theme-chalk/re-svg-icon.css +33 -0
- package/theme-chalk/re-tooltip.css +62 -0
- package/theme-chalk/root-vars.css +201 -0
- package/theme-chalk/src/base.scss +32 -0
- package/theme-chalk/src/button-group.scss +63 -0
- package/theme-chalk/src/button.scss +133 -0
- package/theme-chalk/src/colors.scss +85 -0
- package/theme-chalk/src/css-vars/_button-group.scss +12 -0
- package/theme-chalk/src/css-vars/_button.scss +88 -0
- package/theme-chalk/src/css-vars/_colors.scss +125 -0
- package/theme-chalk/src/css-vars/_namespace.scss +14 -0
- package/theme-chalk/src/css-vars/_popconfirm.scss +12 -0
- package/theme-chalk/src/css-vars/_tooltip.scss +23 -0
- package/theme-chalk/src/filter-panel.scss +21 -0
- package/theme-chalk/src/function/_button.scss +2 -0
- package/theme-chalk/src/function/index.scss +163 -0
- package/theme-chalk/src/index.scss +9 -0
- package/theme-chalk/src/mixins/_base.scss +14 -0
- package/theme-chalk/src/mixins/_button.scss +220 -0
- package/theme-chalk/src/mixins/_popconfirm.scss +12 -0
- package/theme-chalk/src/mixins/_tooltip.scss +37 -0
- package/theme-chalk/src/mixins/index.scss +60 -0
- package/theme-chalk/src/popconfirm.scss +35 -0
- package/theme-chalk/src/popover.scss +18 -0
- package/theme-chalk/src/root-vars.scss +20 -0
- package/theme-chalk/src/svg-icon.scss +19 -0
- package/theme-chalk/src/tooltip.scss +61 -0
- package/umd/index.js +58 -0
|
@@ -0,0 +1,454 @@
|
|
|
1
|
+
import { bypassFilter as e, createFilterWrapper as t, debounceFilter as n, getLifeCycleTarget as r, injectLocal as i, isClient as a, isIOS as o, isObject as s, noop as c, notNullish as l, pausableFilter as u, pxValue as d, toArray as f, toRef as p, tryOnMounted as m, tryOnScopeDispose as h, useDebounceFn as g, useToggle as _, watchImmediate as v, watchPausable as y, watchWithFilter as b } from "../../../../../@vueuse_shared@14.4.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/shared/dist/index.mjs";
|
|
2
|
+
import { computed as x, getCurrentInstance as S, hasInjectionContext as C, nextTick as w, onMounted as T, ref as E, shallowRef as D, toValue as O, unref as k, watch as A, watchEffect as j } from "vue";
|
|
3
|
+
//#region node_modules/.pnpm/@vueuse+core@14.4.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/core/dist/index.js
|
|
4
|
+
var M = a ? window : void 0;
|
|
5
|
+
a && window.document, a && window.navigator, a && window.location;
|
|
6
|
+
function N(e) {
|
|
7
|
+
var t;
|
|
8
|
+
let n = O(e);
|
|
9
|
+
return (t = n == null ? void 0 : n.$el) == null ? n : t;
|
|
10
|
+
}
|
|
11
|
+
function P(...e) {
|
|
12
|
+
let t = (e, t, n, r) => (e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r)), n = x(() => {
|
|
13
|
+
let t = f(O(e[0])).filter((e) => e != null);
|
|
14
|
+
return t.every((e) => typeof e != "string") ? t : void 0;
|
|
15
|
+
});
|
|
16
|
+
return v(() => {
|
|
17
|
+
var t, r;
|
|
18
|
+
return [
|
|
19
|
+
(t = (r = n.value) == null ? void 0 : r.map((e) => N(e))) == null ? [M].filter((e) => e != null) : t,
|
|
20
|
+
f(O(n.value ? e[1] : e[0])),
|
|
21
|
+
f(k(n.value ? e[2] : e[1])),
|
|
22
|
+
O(n.value ? e[3] : e[2])
|
|
23
|
+
];
|
|
24
|
+
}, ([e, n, r, i], a, o) => {
|
|
25
|
+
if (!(e != null && e.length) || !(n != null && n.length) || !(r != null && r.length)) return;
|
|
26
|
+
let c = s(i) ? { ...i } : i, l = e.flatMap((e) => n.flatMap((n) => r.map((r) => t(e, n, r, c))));
|
|
27
|
+
o(() => {
|
|
28
|
+
l.forEach((e) => e());
|
|
29
|
+
});
|
|
30
|
+
}, { flush: "post" });
|
|
31
|
+
}
|
|
32
|
+
var F = !1;
|
|
33
|
+
function I(e, t, n = {}) {
|
|
34
|
+
let { window: r = M, ignore: i = [], capture: a = !0, detectIframe: s = !1, controls: l = !1 } = n;
|
|
35
|
+
if (!r) return l ? {
|
|
36
|
+
stop: c,
|
|
37
|
+
cancel: c,
|
|
38
|
+
trigger: c
|
|
39
|
+
} : c;
|
|
40
|
+
if (o && !F) {
|
|
41
|
+
F = !0;
|
|
42
|
+
let e = { passive: !0 };
|
|
43
|
+
Array.from(r.document.body.children).forEach((t) => t.addEventListener("click", c, e)), r.document.documentElement.addEventListener("click", c, e);
|
|
44
|
+
}
|
|
45
|
+
let u = !0, d = (e) => O(i).some((t) => {
|
|
46
|
+
if (typeof t == "string") return Array.from(r.document.querySelectorAll(t)).some((t) => t === e.target || e.composedPath().includes(t));
|
|
47
|
+
{
|
|
48
|
+
let n = N(t);
|
|
49
|
+
return n && (e.target === n || e.composedPath().includes(n));
|
|
50
|
+
}
|
|
51
|
+
});
|
|
52
|
+
function f(e) {
|
|
53
|
+
let t = O(e);
|
|
54
|
+
return t && t.$.subTree.shapeFlag === 16;
|
|
55
|
+
}
|
|
56
|
+
function p(e, t) {
|
|
57
|
+
let n = O(e), r = n.$.subTree && n.$.subTree.children;
|
|
58
|
+
return r == null || !Array.isArray(r) ? !1 : r.some((e) => e.el === t.target || t.composedPath().includes(e.el));
|
|
59
|
+
}
|
|
60
|
+
let m = (n) => {
|
|
61
|
+
let r = N(e);
|
|
62
|
+
if (n.target != null && !(!(r instanceof Element) && f(e) && p(e, n)) && !(!r || r === n.target || n.composedPath().includes(r))) {
|
|
63
|
+
if ("detail" in n && n.detail === 0 && (u = !d(n)), !u) {
|
|
64
|
+
u = !0;
|
|
65
|
+
return;
|
|
66
|
+
}
|
|
67
|
+
t(n);
|
|
68
|
+
}
|
|
69
|
+
}, h = !1, g = [
|
|
70
|
+
P(r, "click", (e) => {
|
|
71
|
+
h || (h = !0, setTimeout(() => {
|
|
72
|
+
h = !1;
|
|
73
|
+
}, 0), m(e));
|
|
74
|
+
}, {
|
|
75
|
+
passive: !0,
|
|
76
|
+
capture: a
|
|
77
|
+
}),
|
|
78
|
+
P(r, "pointerdown", (t) => {
|
|
79
|
+
let n = N(e);
|
|
80
|
+
u = !d(t) && !!(n && !t.composedPath().includes(n));
|
|
81
|
+
}, { passive: !0 }),
|
|
82
|
+
s && P(r, "blur", (n) => {
|
|
83
|
+
setTimeout(() => {
|
|
84
|
+
let i = N(e), a = r.document.activeElement;
|
|
85
|
+
for (; a != null && a.shadowRoot;) a = a.shadowRoot.activeElement;
|
|
86
|
+
(a == null ? void 0 : a.tagName) === "IFRAME" && !(i != null && i.contains(r.document.activeElement)) && t(n);
|
|
87
|
+
}, 0);
|
|
88
|
+
}, { passive: !0 })
|
|
89
|
+
].filter(Boolean), _ = () => g.forEach((e) => e());
|
|
90
|
+
return l ? {
|
|
91
|
+
stop: _,
|
|
92
|
+
cancel: () => {
|
|
93
|
+
u = !1;
|
|
94
|
+
},
|
|
95
|
+
trigger: (e) => {
|
|
96
|
+
u = !0, m(e), u = !1;
|
|
97
|
+
}
|
|
98
|
+
} : _;
|
|
99
|
+
}
|
|
100
|
+
function L() {
|
|
101
|
+
let e = D(!1), t = S();
|
|
102
|
+
return t && T(() => {
|
|
103
|
+
e.value = !0;
|
|
104
|
+
}, t), e;
|
|
105
|
+
}
|
|
106
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
107
|
+
function R(e) {
|
|
108
|
+
let t = L();
|
|
109
|
+
return x(() => (t.value, !!e()));
|
|
110
|
+
}
|
|
111
|
+
function z(e, t, n = {}) {
|
|
112
|
+
let { window: r = M, ...i } = n, a, o = /* @__PURE__ */ R(() => r && "MutationObserver" in r), s = () => {
|
|
113
|
+
a && (a.disconnect(), a = void 0);
|
|
114
|
+
}, c = A(x(() => {
|
|
115
|
+
let t = f(O(e)).map(N).filter(l);
|
|
116
|
+
return new Set(t);
|
|
117
|
+
}), (e) => {
|
|
118
|
+
s(), o.value && e.size && (a = new MutationObserver(t), e.forEach((e) => a.observe(e, i)));
|
|
119
|
+
}, {
|
|
120
|
+
immediate: !0,
|
|
121
|
+
flush: "post"
|
|
122
|
+
}), u = () => a == null ? void 0 : a.takeRecords(), d = () => {
|
|
123
|
+
c(), s();
|
|
124
|
+
};
|
|
125
|
+
return h(d), {
|
|
126
|
+
isSupported: o,
|
|
127
|
+
stop: d,
|
|
128
|
+
takeRecords: u
|
|
129
|
+
};
|
|
130
|
+
}
|
|
131
|
+
function B(e, t, n = {}) {
|
|
132
|
+
let { window: r = M, document: i = r == null ? void 0 : r.document, flush: a = "sync" } = n;
|
|
133
|
+
if (!r || !i) return c;
|
|
134
|
+
let o, s = (e) => {
|
|
135
|
+
o == null || o(), o = e;
|
|
136
|
+
}, l = j(() => {
|
|
137
|
+
let n = N(e);
|
|
138
|
+
if (n) {
|
|
139
|
+
let { stop: e } = z(i, (e) => {
|
|
140
|
+
e.map((e) => [...e.removedNodes]).flat().some((e) => e === n || e.contains(n)) && t(e);
|
|
141
|
+
}, {
|
|
142
|
+
window: r,
|
|
143
|
+
childList: !0,
|
|
144
|
+
subtree: !0
|
|
145
|
+
});
|
|
146
|
+
s(e);
|
|
147
|
+
}
|
|
148
|
+
}, { flush: a }), u = () => {
|
|
149
|
+
l(), s();
|
|
150
|
+
};
|
|
151
|
+
return h(u), u;
|
|
152
|
+
}
|
|
153
|
+
var ee = Symbol("vueuse-ssr-width");
|
|
154
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
155
|
+
function V() {
|
|
156
|
+
let e = C() ? i(ee, null) : null;
|
|
157
|
+
return typeof e == "number" ? e : void 0;
|
|
158
|
+
}
|
|
159
|
+
function H(e, t = {}) {
|
|
160
|
+
let { window: n = M, ssrWidth: r = /* @__PURE__ */ V() } = t, i = /* @__PURE__ */ R(() => n && "matchMedia" in n && typeof n.matchMedia == "function"), a = D(typeof r == "number"), o = D(), s = D(!1);
|
|
161
|
+
return j(() => {
|
|
162
|
+
if (a.value) {
|
|
163
|
+
a.value = !i.value;
|
|
164
|
+
let t = O(e).split(",");
|
|
165
|
+
s.value = t.some((e) => {
|
|
166
|
+
let t = e.includes("not all"), n = e.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/), i = e.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/), a = !!(n || i);
|
|
167
|
+
return n && a && (a = r >= d(n[1])), i && a && (a = r <= d(i[1])), t ? !a : a;
|
|
168
|
+
});
|
|
169
|
+
return;
|
|
170
|
+
}
|
|
171
|
+
i.value && (o.value = n.matchMedia(O(e)), s.value = o.value.matches);
|
|
172
|
+
}), P(o, "change", (e) => {
|
|
173
|
+
s.value = e.matches;
|
|
174
|
+
}, { passive: !0 }), x(() => s.value);
|
|
175
|
+
}
|
|
176
|
+
var U = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, W = "__vueuse_ssr_handlers__", G = /* #__PURE__ */ K();
|
|
177
|
+
function K() {
|
|
178
|
+
return W in U || (U[W] = U[W] || {}), U[W];
|
|
179
|
+
}
|
|
180
|
+
function q(e, t) {
|
|
181
|
+
return G[e] || t;
|
|
182
|
+
}
|
|
183
|
+
function J(e) {
|
|
184
|
+
return H("(prefers-color-scheme: dark)", e);
|
|
185
|
+
}
|
|
186
|
+
function te(e) {
|
|
187
|
+
return e == null ? "any" : e instanceof Set ? "set" : e instanceof Map ? "map" : e instanceof Date ? "date" : typeof e == "boolean" ? "boolean" : typeof e == "string" ? "string" : typeof e == "object" ? "object" : Number.isNaN(e) ? "any" : "number";
|
|
188
|
+
}
|
|
189
|
+
var Y = {
|
|
190
|
+
boolean: {
|
|
191
|
+
read: (e) => e === "true",
|
|
192
|
+
write: (e) => String(e)
|
|
193
|
+
},
|
|
194
|
+
object: {
|
|
195
|
+
read: (e) => JSON.parse(e),
|
|
196
|
+
write: (e) => JSON.stringify(e)
|
|
197
|
+
},
|
|
198
|
+
number: {
|
|
199
|
+
read: (e) => Number.parseFloat(e),
|
|
200
|
+
write: (e) => String(e)
|
|
201
|
+
},
|
|
202
|
+
any: {
|
|
203
|
+
read: (e) => e,
|
|
204
|
+
write: (e) => String(e)
|
|
205
|
+
},
|
|
206
|
+
string: {
|
|
207
|
+
read: (e) => e,
|
|
208
|
+
write: (e) => String(e)
|
|
209
|
+
},
|
|
210
|
+
map: {
|
|
211
|
+
read: (e) => new Map(JSON.parse(e)),
|
|
212
|
+
write: (e) => JSON.stringify(Array.from(e.entries()))
|
|
213
|
+
},
|
|
214
|
+
set: {
|
|
215
|
+
read: (e) => new Set(JSON.parse(e)),
|
|
216
|
+
write: (e) => JSON.stringify(Array.from(e))
|
|
217
|
+
},
|
|
218
|
+
date: {
|
|
219
|
+
read: (e) => new Date(e),
|
|
220
|
+
write: (e) => e.toISOString()
|
|
221
|
+
}
|
|
222
|
+
}, X = "vueuse-storage";
|
|
223
|
+
function Z(e, t, n, r = {}) {
|
|
224
|
+
var i;
|
|
225
|
+
let { flush: a = "pre", deep: o = !0, listenToStorageChanges: s = !0, writeDefaults: c = !0, mergeDefaults: l = !1, shallow: u, window: d = M, eventFilter: f, onError: p = (e) => {
|
|
226
|
+
console.error(e);
|
|
227
|
+
}, initOnMounted: h } = r, g = (u ? D : E)(typeof t == "function" ? t() : t), _ = x(() => O(e));
|
|
228
|
+
if (!n) try {
|
|
229
|
+
n = q("getDefaultStorage", () => M == null ? void 0 : M.localStorage)();
|
|
230
|
+
} catch (e) {
|
|
231
|
+
p(e);
|
|
232
|
+
}
|
|
233
|
+
if (!n) return g;
|
|
234
|
+
let v = O(t), b = te(v), S = (i = r.serializer) == null ? Y[b] : i, { pause: C, resume: T } = y(g, (e) => N(e), {
|
|
235
|
+
flush: a,
|
|
236
|
+
deep: o,
|
|
237
|
+
eventFilter: f
|
|
238
|
+
});
|
|
239
|
+
A(_, () => I(), { flush: a });
|
|
240
|
+
let k = !1;
|
|
241
|
+
d && s && (n instanceof Storage ? P(d, "storage", (e) => {
|
|
242
|
+
h && !k || I(e);
|
|
243
|
+
}, { passive: !0 }) : P(d, X, (e) => {
|
|
244
|
+
h && !k || L(e);
|
|
245
|
+
})), h ? m(() => {
|
|
246
|
+
k = !0, I();
|
|
247
|
+
}) : I();
|
|
248
|
+
function j(e, t) {
|
|
249
|
+
if (d) {
|
|
250
|
+
let r = {
|
|
251
|
+
key: _.value,
|
|
252
|
+
oldValue: e,
|
|
253
|
+
newValue: t,
|
|
254
|
+
storageArea: n
|
|
255
|
+
};
|
|
256
|
+
d.dispatchEvent(n instanceof Storage ? new StorageEvent("storage", r) : new CustomEvent(X, { detail: r }));
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
function N(e) {
|
|
260
|
+
try {
|
|
261
|
+
let t = n.getItem(_.value);
|
|
262
|
+
if (e == null) j(t, null), n.removeItem(_.value);
|
|
263
|
+
else {
|
|
264
|
+
let r = S.write(e);
|
|
265
|
+
t !== r && (n.setItem(_.value, r), j(t, r));
|
|
266
|
+
}
|
|
267
|
+
} catch (e) {
|
|
268
|
+
p(e);
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
function F(e) {
|
|
272
|
+
let t = e ? e.newValue : n.getItem(_.value);
|
|
273
|
+
if (t == null) return c && v != null && n.setItem(_.value, S.write(v)), v;
|
|
274
|
+
if (!e && l) {
|
|
275
|
+
let e = S.read(t);
|
|
276
|
+
return typeof l == "function" ? l(e, v) : b === "object" && !Array.isArray(e) ? {
|
|
277
|
+
...v,
|
|
278
|
+
...e
|
|
279
|
+
} : e;
|
|
280
|
+
} else if (typeof t != "string") return t;
|
|
281
|
+
else return S.read(t);
|
|
282
|
+
}
|
|
283
|
+
function I(e) {
|
|
284
|
+
if (!(e && e.storageArea !== n)) {
|
|
285
|
+
if (e && e.key == null) {
|
|
286
|
+
g.value = v;
|
|
287
|
+
return;
|
|
288
|
+
}
|
|
289
|
+
if (!(e && e.key !== _.value)) {
|
|
290
|
+
C();
|
|
291
|
+
try {
|
|
292
|
+
let t = S.write(g.value);
|
|
293
|
+
(e === void 0 || (e == null ? void 0 : e.newValue) !== t) && (g.value = F(e));
|
|
294
|
+
} catch (e) {
|
|
295
|
+
p(e);
|
|
296
|
+
} finally {
|
|
297
|
+
e ? w(T) : T();
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
function L(e) {
|
|
303
|
+
I(e.detail);
|
|
304
|
+
}
|
|
305
|
+
return g;
|
|
306
|
+
}
|
|
307
|
+
var ne = "*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";
|
|
308
|
+
function Q(e = {}) {
|
|
309
|
+
let { selector: t = "html", attribute: n = "class", initialValue: r = "auto", window: i = M, storage: a, storageKey: o = "vueuse-color-scheme", listenToStorageChanges: s = !0, storageRef: c, emitAuto: l, disableTransition: u = !0 } = e, d = {
|
|
310
|
+
auto: "",
|
|
311
|
+
light: "light",
|
|
312
|
+
dark: "dark",
|
|
313
|
+
...e.modes || {}
|
|
314
|
+
}, f = J({ window: i }), h = x(() => f.value ? "dark" : "light"), g = c || (o == null ? p(r) : Z(o, r, a, {
|
|
315
|
+
window: i,
|
|
316
|
+
listenToStorageChanges: s
|
|
317
|
+
})), _ = x(() => g.value === "auto" ? h.value : g.value), v = q("updateHTMLAttrs", (e, t, n) => {
|
|
318
|
+
let r = typeof e == "string" ? i == null ? void 0 : i.document.querySelector(e) : N(e);
|
|
319
|
+
if (!r) return;
|
|
320
|
+
let a = /* @__PURE__ */ new Set(), o = /* @__PURE__ */ new Set(), s = null;
|
|
321
|
+
if (t === "class") {
|
|
322
|
+
let e = n.split(/\s/g);
|
|
323
|
+
Object.values(d).flatMap((e) => (e || "").split(/\s/g)).filter(Boolean).forEach((t) => {
|
|
324
|
+
e.includes(t) ? a.add(t) : o.add(t);
|
|
325
|
+
});
|
|
326
|
+
} else s = {
|
|
327
|
+
key: t,
|
|
328
|
+
value: n
|
|
329
|
+
};
|
|
330
|
+
if (a.size === 0 && o.size === 0 && s === null) return;
|
|
331
|
+
let c;
|
|
332
|
+
u && (c = i.document.createElement("style"), c.appendChild(document.createTextNode(ne)), i.document.head.appendChild(c));
|
|
333
|
+
for (let e of a) r.classList.add(e);
|
|
334
|
+
for (let e of o) r.classList.remove(e);
|
|
335
|
+
s && r.setAttribute(s.key, s.value), u && (i.getComputedStyle(c).opacity, document.head.removeChild(c));
|
|
336
|
+
});
|
|
337
|
+
function y(e) {
|
|
338
|
+
var r;
|
|
339
|
+
v(t, n, (r = d[e]) == null ? e : r);
|
|
340
|
+
}
|
|
341
|
+
function b(t) {
|
|
342
|
+
e.onChanged ? e.onChanged(t, y) : y(t);
|
|
343
|
+
}
|
|
344
|
+
A(_, b, {
|
|
345
|
+
flush: "post",
|
|
346
|
+
immediate: !0
|
|
347
|
+
}), m(() => b(_.value));
|
|
348
|
+
let S = x({
|
|
349
|
+
get() {
|
|
350
|
+
return l ? g.value : _.value;
|
|
351
|
+
},
|
|
352
|
+
set(e) {
|
|
353
|
+
g.value = e;
|
|
354
|
+
}
|
|
355
|
+
});
|
|
356
|
+
return Object.assign(S, {
|
|
357
|
+
store: g,
|
|
358
|
+
system: h,
|
|
359
|
+
state: _
|
|
360
|
+
});
|
|
361
|
+
}
|
|
362
|
+
function re(e = {}) {
|
|
363
|
+
let { valueDark: t = "dark", valueLight: n = "" } = e, r = Q({
|
|
364
|
+
...e,
|
|
365
|
+
onChanged: (t, n) => {
|
|
366
|
+
var r;
|
|
367
|
+
e.onChanged ? (r = e.onChanged) == null || r.call(e, t === "dark", n, t) : n(t);
|
|
368
|
+
},
|
|
369
|
+
modes: {
|
|
370
|
+
dark: t,
|
|
371
|
+
light: n
|
|
372
|
+
}
|
|
373
|
+
}), i = x(() => r.system.value);
|
|
374
|
+
return x({
|
|
375
|
+
get() {
|
|
376
|
+
return r.value === "dark";
|
|
377
|
+
},
|
|
378
|
+
set(e) {
|
|
379
|
+
let t = e ? "dark" : "light";
|
|
380
|
+
i.value === t ? r.value = "auto" : r.value = t;
|
|
381
|
+
}
|
|
382
|
+
});
|
|
383
|
+
}
|
|
384
|
+
function $(e, t, n = {}) {
|
|
385
|
+
let { window: r = M, ...i } = n, a, o = /* @__PURE__ */ R(() => r && "ResizeObserver" in r), s = () => {
|
|
386
|
+
a && (a.disconnect(), a = void 0);
|
|
387
|
+
}, c = A(x(() => {
|
|
388
|
+
let t = O(e);
|
|
389
|
+
return Array.isArray(t) ? t.map((e) => N(e)) : [N(t)];
|
|
390
|
+
}), (e) => {
|
|
391
|
+
if (s(), o.value && r) {
|
|
392
|
+
a = new ResizeObserver(t);
|
|
393
|
+
for (let t of e) t && a.observe(t, i);
|
|
394
|
+
}
|
|
395
|
+
}, {
|
|
396
|
+
immediate: !0,
|
|
397
|
+
flush: "post"
|
|
398
|
+
}), l = () => {
|
|
399
|
+
s(), c();
|
|
400
|
+
};
|
|
401
|
+
return h(l), {
|
|
402
|
+
isSupported: o,
|
|
403
|
+
stop: l
|
|
404
|
+
};
|
|
405
|
+
}
|
|
406
|
+
function ie(e, t = {}) {
|
|
407
|
+
let { delayEnter: n = 0, delayLeave: r = 0, triggerOnRemoval: i = !1, window: a = M } = t, o = D(!1), s, c = (e) => {
|
|
408
|
+
let t = e ? n : r;
|
|
409
|
+
s && (clearTimeout(s), s = void 0), t ? s = setTimeout(() => o.value = e, t) : o.value = e;
|
|
410
|
+
};
|
|
411
|
+
return a ? (P(e, "mouseenter", () => c(!0), { passive: !0 }), P(e, "mouseleave", () => c(!1), { passive: !0 }), i && B(x(() => N(e)), () => c(!1)), o) : o;
|
|
412
|
+
}
|
|
413
|
+
function ae(e, t = {
|
|
414
|
+
width: 0,
|
|
415
|
+
height: 0
|
|
416
|
+
}, n = {}) {
|
|
417
|
+
let { window: r = M, box: i = "content-box" } = n, a = x(() => {
|
|
418
|
+
var t;
|
|
419
|
+
return (t = N(e)) == null || (t = t.namespaceURI) == null ? void 0 : t.includes("svg");
|
|
420
|
+
}), o = D(t.width), s = D(t.height), { stop: c } = $(e, ([t]) => {
|
|
421
|
+
let n = i === "border-box" ? t.borderBoxSize : i === "content-box" ? t.contentBoxSize : t.devicePixelContentBoxSize;
|
|
422
|
+
if (r && a.value) {
|
|
423
|
+
let t = N(e);
|
|
424
|
+
if (t) {
|
|
425
|
+
let e = t.getBoundingClientRect();
|
|
426
|
+
o.value = e.width, s.value = e.height;
|
|
427
|
+
}
|
|
428
|
+
} else if (n) {
|
|
429
|
+
let e = f(n);
|
|
430
|
+
o.value = e.reduce((e, { inlineSize: t }) => e + t, 0), s.value = e.reduce((e, { blockSize: t }) => e + t, 0);
|
|
431
|
+
} else o.value = t.contentRect.width, s.value = t.contentRect.height;
|
|
432
|
+
}, n);
|
|
433
|
+
m(() => {
|
|
434
|
+
let n = N(e);
|
|
435
|
+
if (n && "offsetWidth" in n) if (i === "content-box" && r) {
|
|
436
|
+
let e = r.getComputedStyle(n), t = Number.parseFloat(e.paddingLeft) + Number.parseFloat(e.paddingRight), i = Number.parseFloat(e.paddingTop) + Number.parseFloat(e.paddingBottom), a = Number.parseFloat(e.borderLeftWidth) + Number.parseFloat(e.borderRightWidth), c = Number.parseFloat(e.borderTopWidth) + Number.parseFloat(e.borderBottomWidth);
|
|
437
|
+
o.value = n.offsetWidth - t - a, s.value = n.offsetHeight - i - c;
|
|
438
|
+
} else o.value = n.offsetWidth, s.value = n.offsetHeight;
|
|
439
|
+
else n && (o.value = t.width, s.value = t.height);
|
|
440
|
+
});
|
|
441
|
+
let l = A(() => N(e), (e) => {
|
|
442
|
+
o.value = e ? t.width : 0, s.value = e ? t.height : 0;
|
|
443
|
+
});
|
|
444
|
+
function u() {
|
|
445
|
+
c(), l();
|
|
446
|
+
}
|
|
447
|
+
return {
|
|
448
|
+
width: o,
|
|
449
|
+
height: s,
|
|
450
|
+
stop: u
|
|
451
|
+
};
|
|
452
|
+
}
|
|
453
|
+
//#endregion
|
|
454
|
+
export { Y as StorageSerializers, e as bypassFilter, t as createFilterWrapper, X as customStorageEventName, n as debounceFilter, M as defaultWindow, r as getLifeCycleTarget, q as getSSRHandler, i as injectLocal, a as isClient, o as isIOS, s as isObject, c as noop, l as notNullish, I as onClickOutside, B as onElementRemoval, u as pausableFilter, d as pxValue, f as toArray, p as toRef, m as tryOnMounted, h as tryOnScopeDispose, N as unrefElement, Q as useColorMode, re as useDark, g as useDebounceFn, ie as useElementHover, ae as useElementSize, P as useEventListener, H as useMediaQuery, L as useMounted, z as useMutationObserver, J as usePreferredDark, $ as useResizeObserver, V as useSSRWidth, Z as useStorage, R as useSupported, _ as useToggle, v as watchImmediate, y as watchPausable, b as watchWithFilter };
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import { customRef as e, getCurrentInstance as t, getCurrentScope as n, hasInjectionContext as r, inject as i, isRef as a, nextTick as o, onMounted as s, onScopeDispose as c, readonly as l, ref as u, shallowReadonly as d, shallowRef as f, toRef as p, toValue as m, watch as h } from "vue";
|
|
2
|
+
//#region node_modules/.pnpm/@vueuse+shared@14.4.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/shared/dist/index.js
|
|
3
|
+
function g(e, t) {
|
|
4
|
+
return n() ? (c(e, t), !0) : !1;
|
|
5
|
+
}
|
|
6
|
+
var _ = /* @__PURE__ */ new WeakMap(), v = (...e) => {
|
|
7
|
+
var a;
|
|
8
|
+
let o = e[0], s = (a = t()) == null ? void 0 : a.proxy, c = s == null ? n() : s;
|
|
9
|
+
if (c == null && !r()) throw Error("injectLocal must be called in setup");
|
|
10
|
+
return c && _.has(c) && o in _.get(c) ? _.get(c)[o] : i(...e);
|
|
11
|
+
}, y = typeof window < "u" && typeof document < "u";
|
|
12
|
+
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
13
|
+
var b = (e) => e != null, x = Object.prototype.toString, S = (e) => x.call(e) === "[object Object]", C = () => {}, w = /* #__PURE__ */ T();
|
|
14
|
+
function T() {
|
|
15
|
+
var e, t, n;
|
|
16
|
+
return y && !!(!((e = window) == null || (e = e.navigator) == null) && e.userAgent) && (/iP(?:ad|hone|od)/.test(window.navigator.userAgent) || ((t = window) == null || (t = t.navigator) == null ? void 0 : t.maxTouchPoints) > 2 && /iPad|Macintosh/.test((n = window) == null ? void 0 : n.navigator.userAgent));
|
|
17
|
+
}
|
|
18
|
+
function E(...t) {
|
|
19
|
+
if (t.length !== 1) return p(...t);
|
|
20
|
+
let n = t[0];
|
|
21
|
+
return typeof n == "function" ? l(e(() => ({
|
|
22
|
+
get: n,
|
|
23
|
+
set: C
|
|
24
|
+
}))) : u(n);
|
|
25
|
+
}
|
|
26
|
+
function D(e, t) {
|
|
27
|
+
function n(...n) {
|
|
28
|
+
return new Promise((r, i) => {
|
|
29
|
+
Promise.resolve(e(() => t.apply(this, n), {
|
|
30
|
+
fn: t,
|
|
31
|
+
thisArg: this,
|
|
32
|
+
args: n
|
|
33
|
+
})).then(r).catch(i);
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
return "cancel" in e && Object.assign(n, {
|
|
37
|
+
cancel: e.cancel,
|
|
38
|
+
flush: e.flush,
|
|
39
|
+
isPending: e.isPending
|
|
40
|
+
}), n;
|
|
41
|
+
}
|
|
42
|
+
var O = (e) => e();
|
|
43
|
+
function k(e, t = {}) {
|
|
44
|
+
let n, r, i = C, a = C, o = f(!1), s = (e) => {
|
|
45
|
+
clearTimeout(e), i(), i = C;
|
|
46
|
+
}, c;
|
|
47
|
+
return Object.assign((l) => {
|
|
48
|
+
let u = m(e), d = m(t.maxWait);
|
|
49
|
+
return n && s(n), u <= 0 || d !== void 0 && d <= 0 ? (r && (s(r), r = void 0), o.value = !1, Promise.resolve(l())) : (o.value = !0, new Promise((e, f) => {
|
|
50
|
+
i = t.rejectOnCancel ? f : e, a = e, c = l, d && !r && (r = setTimeout(() => {
|
|
51
|
+
n && s(n), r = void 0, o.value = !1, e(c());
|
|
52
|
+
}, d)), n = setTimeout(() => {
|
|
53
|
+
r && s(r), r = void 0, o.value = !1, e(l());
|
|
54
|
+
}, u);
|
|
55
|
+
}));
|
|
56
|
+
}, {
|
|
57
|
+
cancel: () => {
|
|
58
|
+
n && (s(n), n = void 0), r && (s(r), r = void 0), o.value = !1, a = C;
|
|
59
|
+
},
|
|
60
|
+
flush: () => {
|
|
61
|
+
if (o.value) {
|
|
62
|
+
n && (clearTimeout(n), n = void 0), r && (clearTimeout(r), r = void 0), o.value = !1;
|
|
63
|
+
let e = a;
|
|
64
|
+
i = C, a = C, e(c());
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
isPending: d(o)
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
function A(e = O, t = {}) {
|
|
71
|
+
let { initialState: n = "active" } = t, r = E(n === "active");
|
|
72
|
+
function i() {
|
|
73
|
+
r.value = !1;
|
|
74
|
+
}
|
|
75
|
+
function a() {
|
|
76
|
+
r.value = !0;
|
|
77
|
+
}
|
|
78
|
+
return {
|
|
79
|
+
isActive: d(r),
|
|
80
|
+
pause: i,
|
|
81
|
+
resume: a,
|
|
82
|
+
eventFilter: (...t) => {
|
|
83
|
+
r.value && e(...t);
|
|
84
|
+
}
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
function j(e) {
|
|
88
|
+
return e.endsWith("rem") ? Number.parseFloat(e) * 16 : Number.parseFloat(e);
|
|
89
|
+
}
|
|
90
|
+
function M(e) {
|
|
91
|
+
return Array.isArray(e) ? e : [e];
|
|
92
|
+
}
|
|
93
|
+
function N(e) {
|
|
94
|
+
return e || t();
|
|
95
|
+
}
|
|
96
|
+
function P(e, t = 200, n = {}) {
|
|
97
|
+
return D(k(t, n), e);
|
|
98
|
+
}
|
|
99
|
+
function F(e, t, n = {}) {
|
|
100
|
+
let { eventFilter: r = O, ...i } = n;
|
|
101
|
+
return h(e, D(r, t), i);
|
|
102
|
+
}
|
|
103
|
+
function I(e, t, n = {}) {
|
|
104
|
+
let { eventFilter: r, initialState: i = "active", ...a } = n, { eventFilter: o, pause: s, resume: c, isActive: l } = A(r, { initialState: i });
|
|
105
|
+
return {
|
|
106
|
+
stop: F(e, t, {
|
|
107
|
+
...a,
|
|
108
|
+
eventFilter: o
|
|
109
|
+
}),
|
|
110
|
+
pause: s,
|
|
111
|
+
resume: c,
|
|
112
|
+
isActive: l
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
function L(e, t = !0, n) {
|
|
116
|
+
N(n) ? s(e, n) : t ? e() : o(e);
|
|
117
|
+
}
|
|
118
|
+
function R(e = !1, t = {}) {
|
|
119
|
+
let { truthyValue: n = !0, falsyValue: r = !1 } = t, i = a(e), o = f(e);
|
|
120
|
+
function s(e) {
|
|
121
|
+
if (arguments.length) return o.value = e, o.value;
|
|
122
|
+
{
|
|
123
|
+
let e = m(n);
|
|
124
|
+
return o.value = o.value === e ? m(r) : e, o.value;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
return i ? s : [o, s];
|
|
128
|
+
}
|
|
129
|
+
function z(e, t, n) {
|
|
130
|
+
return h(e, t, {
|
|
131
|
+
...n,
|
|
132
|
+
immediate: !0
|
|
133
|
+
});
|
|
134
|
+
}
|
|
135
|
+
//#endregion
|
|
136
|
+
export { O as bypassFilter, D as createFilterWrapper, k as debounceFilter, N as getLifeCycleTarget, v as injectLocal, y as isClient, w as isIOS, S as isObject, C as noop, b as notNullish, A as pausableFilter, j as pxValue, M as toArray, E as toRef, L as tryOnMounted, g as tryOnScopeDispose, P as useDebounceFn, R as useToggle, z as watchImmediate, I as watchPausable, F as watchWithFilter };
|