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,130 @@
|
|
|
1
|
+
import { ArrowDownward as e, ArrowUpward as t } from "../../../svg-icons/dist/es/index.mjs";
|
|
2
|
+
import { useNamespace as n } from "../../../composables/use-namespace/index.mjs";
|
|
3
|
+
import { useElementSize as r, useMutationObserver as i } from "../../../node_modules/.pnpm/@vueuse_core@14.4.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/core/dist/index.mjs";
|
|
4
|
+
import "../../../composables/index.mjs";
|
|
5
|
+
import { ReButton as a } from "../../button/index.mjs";
|
|
6
|
+
import "../style/index.mjs";
|
|
7
|
+
import "../../index.mjs";
|
|
8
|
+
import { computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createTextVNode as d, createVNode as f, defineComponent as p, effectScope as m, mergeModels as h, normalizeClass as g, normalizeStyle as _, onMounted as v, onUnmounted as y, openBlock as b, renderSlot as x, unref as S, useModel as C, useTemplateRef as w, watch as T, watchEffect as E, withCtx as D, withModifiers as O } from "vue";
|
|
9
|
+
//#region packages/components/filter-panel/src/filter-panel.vue?vue&type=script&setup=true&lang.ts
|
|
10
|
+
var k = /*@__PURE__*/ p({
|
|
11
|
+
name: "ReFilterPanel",
|
|
12
|
+
__name: "filter-panel",
|
|
13
|
+
props: /*@__PURE__*/ h({
|
|
14
|
+
selector: { default: "> *" },
|
|
15
|
+
maxHeight: { default: 0 },
|
|
16
|
+
itemMinw: { default: 240 },
|
|
17
|
+
exclude: { default: "[exclude]" },
|
|
18
|
+
loading: {
|
|
19
|
+
type: Boolean,
|
|
20
|
+
default: !1
|
|
21
|
+
},
|
|
22
|
+
enableObserver: {
|
|
23
|
+
type: Boolean,
|
|
24
|
+
default: !1
|
|
25
|
+
},
|
|
26
|
+
observerOptions: { default: () => ({}) }
|
|
27
|
+
}, {
|
|
28
|
+
isExpand: {
|
|
29
|
+
type: Boolean,
|
|
30
|
+
default: !1
|
|
31
|
+
},
|
|
32
|
+
isExpandModifiers: {}
|
|
33
|
+
}),
|
|
34
|
+
emits: /*@__PURE__*/ h(["reset", "search"], ["update:isExpand"]),
|
|
35
|
+
setup(p, { expose: h, emit: k }) {
|
|
36
|
+
let { n: A, ns: j } = n("filter-panel"), M = w("main"), { height: N } = r(M), P = o(() => p.maxHeight || N.value), F = k, I = w("wrapper"), L = w("inner"), R = C(p, "isExpand"), z = o(() => V.value > P.value), B = () => {
|
|
37
|
+
R.value = !R.value;
|
|
38
|
+
}, { height: V, width: H } = r(L, {
|
|
39
|
+
width: 0,
|
|
40
|
+
height: P.value
|
|
41
|
+
}), { width: U } = r(I, {
|
|
42
|
+
width: 0,
|
|
43
|
+
height: P.value
|
|
44
|
+
}), W = () => {
|
|
45
|
+
if (!L.value) return;
|
|
46
|
+
let e = L.value.querySelectorAll(`.${j("inner")} ${p.selector}:not(${p.exclude})`), t = Math.floor(H.value / p.itemMinw);
|
|
47
|
+
e.forEach((e) => {
|
|
48
|
+
e.style.width = `${100 / t}%`;
|
|
49
|
+
});
|
|
50
|
+
}, G = m();
|
|
51
|
+
G.run(() => {
|
|
52
|
+
E(() => {
|
|
53
|
+
H.value && U.value && W();
|
|
54
|
+
}), T(() => V.value, (e) => {
|
|
55
|
+
e > P.value && (R.value = !1);
|
|
56
|
+
});
|
|
57
|
+
});
|
|
58
|
+
let K = () => {
|
|
59
|
+
let { stop: e } = i(L, () => {
|
|
60
|
+
W();
|
|
61
|
+
}, Object.assign({
|
|
62
|
+
childList: !0,
|
|
63
|
+
subtree: !0,
|
|
64
|
+
attributes: !0,
|
|
65
|
+
characterData: !0
|
|
66
|
+
}, p.observerOptions || {}));
|
|
67
|
+
return { stop: e };
|
|
68
|
+
}, q;
|
|
69
|
+
return p.enableObserver && (q = K().stop), y(() => {
|
|
70
|
+
G.stop(), q == null || q();
|
|
71
|
+
}), v(() => {
|
|
72
|
+
W();
|
|
73
|
+
}), h({
|
|
74
|
+
toggle: B,
|
|
75
|
+
update: W,
|
|
76
|
+
isExpand: R,
|
|
77
|
+
innerH: V,
|
|
78
|
+
innerW: H,
|
|
79
|
+
wrapperW: U,
|
|
80
|
+
maxH: P
|
|
81
|
+
}), (n, r) => (b(), l("div", {
|
|
82
|
+
ref_key: "wrapper",
|
|
83
|
+
ref: I,
|
|
84
|
+
class: g([S(A)()]),
|
|
85
|
+
style: _({ "max-height": `${R.value ? S(V) : P.value}px` })
|
|
86
|
+
}, [u("div", {
|
|
87
|
+
ref_key: "inner",
|
|
88
|
+
ref: L,
|
|
89
|
+
class: g([S(j)("inner")])
|
|
90
|
+
}, [x(n.$slots, "default")], 2), u("div", { class: g([S(j)("operator")]) }, [u("div", {
|
|
91
|
+
ref_key: "main",
|
|
92
|
+
ref: M,
|
|
93
|
+
class: g([S(j)("main")])
|
|
94
|
+
}, [x(n.$slots, "main", {}, () => [
|
|
95
|
+
x(n.$slots, "expand", {
|
|
96
|
+
showExpand: z.value,
|
|
97
|
+
isExpand: R.value
|
|
98
|
+
}, () => [z.value ? (b(), s(S(a), {
|
|
99
|
+
key: 0,
|
|
100
|
+
type: "primary",
|
|
101
|
+
title: R.value ? "收起" : "展开",
|
|
102
|
+
text: "",
|
|
103
|
+
onClick: O(B, ["stop"])
|
|
104
|
+
}, {
|
|
105
|
+
default: D(() => [x(n.$slots, "expand-icon", {}, () => [R.value ? (b(), s(S(t), { key: 0 })) : (b(), s(S(e), { key: 1 }))])]),
|
|
106
|
+
_: 3
|
|
107
|
+
}, 8, ["title"])) : c("", !0)]),
|
|
108
|
+
x(n.$slots, "reset", {}, () => [f(S(a), {
|
|
109
|
+
disabled: p.loading,
|
|
110
|
+
onClick: r[0] || (r[0] = O((e) => F("reset"), ["stop"]))
|
|
111
|
+
}, {
|
|
112
|
+
default: D(() => [...r[2] || (r[2] = [d("重置", -1)])]),
|
|
113
|
+
_: 1
|
|
114
|
+
}, 8, ["disabled"])]),
|
|
115
|
+
x(n.$slots, "search", {}, () => [f(S(a), {
|
|
116
|
+
type: "primary",
|
|
117
|
+
disabled: p.loading,
|
|
118
|
+
onClick: r[1] || (r[1] = O((e) => F("search"), ["stop"]))
|
|
119
|
+
}, {
|
|
120
|
+
default: D(() => [...r[3] || (r[3] = [d(" 查询 ", -1)])]),
|
|
121
|
+
_: 1
|
|
122
|
+
}, 8, ["disabled"])])
|
|
123
|
+
])], 2), n.$slots.extra ? (b(), l("div", {
|
|
124
|
+
key: 0,
|
|
125
|
+
class: g([S(j)("extra")])
|
|
126
|
+
}, [x(n.$slots, "extra")], 2)) : c("", !0)], 2)], 6));
|
|
127
|
+
}
|
|
128
|
+
});
|
|
129
|
+
//#endregion
|
|
130
|
+
export { k as default };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export interface FilterPanelProps {
|
|
2
|
+
selector?: string;
|
|
3
|
+
maxHeight?: number;
|
|
4
|
+
itemMinw?: number;
|
|
5
|
+
exclude?: string;
|
|
6
|
+
loading?: boolean;
|
|
7
|
+
enableObserver?: boolean;
|
|
8
|
+
observerOptions?: {
|
|
9
|
+
attributeFilter?: string[];
|
|
10
|
+
attributeOldValue?: boolean;
|
|
11
|
+
attributes?: boolean;
|
|
12
|
+
characterData?: boolean;
|
|
13
|
+
characterDataOldValue?: boolean;
|
|
14
|
+
childList?: boolean;
|
|
15
|
+
subtree?: boolean;
|
|
16
|
+
};
|
|
17
|
+
}
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { __exportAll as e } from "../_virtual/_rolldown/runtime.mjs";
|
|
2
|
+
import { _buttonGroupProps as t, buttonNativeTypes as n, buttonSizes as r, buttonTypes as i } from "./button/src/constants.mjs";
|
|
3
|
+
import { ReButton as a, ReButtonGroup as o } from "./button/index.mjs";
|
|
4
|
+
import { ReInput as s } from "./input/index.mjs";
|
|
5
|
+
import { ReTabs as c } from "./tabs/index.mjs";
|
|
6
|
+
import l from "./colors/src/primary-color.mjs";
|
|
7
|
+
import u from "./colors/src/secondary-color.mjs";
|
|
8
|
+
import d from "./colors/src/neutral-color.mjs";
|
|
9
|
+
import { ReColors as f } from "./colors/index.mjs";
|
|
10
|
+
import { ReFilterPanel as p } from "./filter-panel/index.mjs";
|
|
11
|
+
import { ReSvgIcon as m } from "./svg-icon/index.mjs";
|
|
12
|
+
import { ReTooltip as h } from "./tooltip/index.mjs";
|
|
13
|
+
import { RePopover as g } from "./popover/index.mjs";
|
|
14
|
+
import { RePopconfirm as _ } from "./popconfirm/index.mjs";
|
|
15
|
+
//#region packages/components/index.ts
|
|
16
|
+
var v = /* @__PURE__ */ e({
|
|
17
|
+
ReButton: () => a,
|
|
18
|
+
ReButtonGroup: () => o,
|
|
19
|
+
ReColors: () => f,
|
|
20
|
+
ReFilterPanel: () => p,
|
|
21
|
+
ReInput: () => s,
|
|
22
|
+
ReNeutralColor: () => d,
|
|
23
|
+
RePopconfirm: () => _,
|
|
24
|
+
RePopover: () => g,
|
|
25
|
+
RePrimaryColor: () => l,
|
|
26
|
+
ReSecondaryColor: () => u,
|
|
27
|
+
ReSvgIcon: () => m,
|
|
28
|
+
ReTabs: () => c,
|
|
29
|
+
ReTooltip: () => h,
|
|
30
|
+
_buttonGroupProps: () => t,
|
|
31
|
+
buttonNativeTypes: () => n,
|
|
32
|
+
buttonSizes: () => r,
|
|
33
|
+
buttonTypes: () => i
|
|
34
|
+
});
|
|
35
|
+
//#endregion
|
|
36
|
+
export { a as ReButton, o as ReButtonGroup, f as ReColors, p as ReFilterPanel, s as ReInput, d as ReNeutralColor, _ as RePopconfirm, g as RePopover, l as RePrimaryColor, u as ReSecondaryColor, m as ReSvgIcon, c as ReTabs, h as ReTooltip, t as _buttonGroupProps, n as buttonNativeTypes, r as buttonSizes, i as buttonTypes, v as components_exports };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare const ReInput: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
type: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
size: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
11
|
+
type: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
size: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
}>> & Readonly<{}>, {
|
|
20
|
+
size: string;
|
|
21
|
+
type: string;
|
|
22
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
23
|
+
export default ReInput;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
declare const __VLS_export: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
type: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
size: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
11
|
+
type: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
size: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
}>> & Readonly<{}>, {
|
|
20
|
+
size: string;
|
|
21
|
+
type: string;
|
|
22
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
23
|
+
declare const _default: typeof __VLS_export;
|
|
24
|
+
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { createElementBlock as e, defineComponent as t, mergeProps as n, openBlock as r } from "vue";
|
|
2
|
+
//#region packages/components/input/src/input.vue?vue&type=script&setup=true&lang.ts
|
|
3
|
+
var i = /*@__PURE__*/ t({
|
|
4
|
+
name: "ReInput",
|
|
5
|
+
__name: "input",
|
|
6
|
+
props: {
|
|
7
|
+
type: {
|
|
8
|
+
type: String,
|
|
9
|
+
default: "text"
|
|
10
|
+
},
|
|
11
|
+
size: {
|
|
12
|
+
type: String,
|
|
13
|
+
default: "default"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
setup(t) {
|
|
17
|
+
return (t, i) => (r(), e("input", n({ class: "pinput" }, t.$attrs), null, 16));
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
export { i as default };
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
export * from './src/types.ts';
|
|
2
|
+
export declare const RePopconfirm: {
|
|
3
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./index.ts').PopconfirmProps & {
|
|
4
|
+
visible?: boolean;
|
|
5
|
+
}> & Readonly<{
|
|
6
|
+
onCancel?: ((e: MouseEvent) => any) | undefined;
|
|
7
|
+
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
8
|
+
onConfirm?: ((e: MouseEvent) => any) | undefined;
|
|
9
|
+
}>, {
|
|
10
|
+
tooltipRef: Readonly<import('vue').ShallowRef<any, any>>;
|
|
11
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
|
+
cancel: (e: MouseEvent) => any;
|
|
13
|
+
"update:visible": (value: boolean) => any;
|
|
14
|
+
confirm: (e: MouseEvent) => any;
|
|
15
|
+
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
16
|
+
P: {};
|
|
17
|
+
B: {};
|
|
18
|
+
D: {};
|
|
19
|
+
C: {};
|
|
20
|
+
M: {};
|
|
21
|
+
Defaults: {};
|
|
22
|
+
}, Readonly<import('./index.ts').PopconfirmProps & {
|
|
23
|
+
visible?: boolean;
|
|
24
|
+
}> & Readonly<{
|
|
25
|
+
onCancel?: ((e: MouseEvent) => any) | undefined;
|
|
26
|
+
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
27
|
+
onConfirm?: ((e: MouseEvent) => any) | undefined;
|
|
28
|
+
}>, {
|
|
29
|
+
tooltipRef: Readonly<import('vue').ShallowRef<any, any>>;
|
|
30
|
+
}, {}, {}, {}, {}>;
|
|
31
|
+
__isFragment?: never;
|
|
32
|
+
__isTeleport?: never;
|
|
33
|
+
__isSuspense?: never;
|
|
34
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('./index.ts').PopconfirmProps & {
|
|
35
|
+
visible?: boolean;
|
|
36
|
+
}> & Readonly<{
|
|
37
|
+
onCancel?: ((e: MouseEvent) => any) | undefined;
|
|
38
|
+
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
39
|
+
onConfirm?: ((e: MouseEvent) => any) | undefined;
|
|
40
|
+
}>, {
|
|
41
|
+
tooltipRef: Readonly<import('vue').ShallowRef<any, any>>;
|
|
42
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
43
|
+
cancel: (e: MouseEvent) => any;
|
|
44
|
+
"update:visible": (value: boolean) => any;
|
|
45
|
+
confirm: (e: MouseEvent) => any;
|
|
46
|
+
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
47
|
+
$slots: {
|
|
48
|
+
header?: (props: {}) => any;
|
|
49
|
+
} & {
|
|
50
|
+
icon?: (props: {
|
|
51
|
+
icon: any;
|
|
52
|
+
}) => any;
|
|
53
|
+
} & {
|
|
54
|
+
title?: (props: {
|
|
55
|
+
title: string;
|
|
56
|
+
}) => any;
|
|
57
|
+
} & {
|
|
58
|
+
content?: (props: {
|
|
59
|
+
content: string;
|
|
60
|
+
}) => any;
|
|
61
|
+
} & {
|
|
62
|
+
footer?: (props: {
|
|
63
|
+
cancel: (e: MouseEvent) => void;
|
|
64
|
+
cancelSize: "" | "small" | "mini" | "large";
|
|
65
|
+
cancelType: "" | "primary" | "success" | "warning" | "danger" | "info";
|
|
66
|
+
cancelText: string;
|
|
67
|
+
confirm: (e: MouseEvent) => void;
|
|
68
|
+
confirmSize: "" | "small" | "mini" | "large";
|
|
69
|
+
confirmType: "" | "primary" | "success" | "warning" | "danger" | "info";
|
|
70
|
+
confirmText: string;
|
|
71
|
+
}) => any;
|
|
72
|
+
} & {
|
|
73
|
+
cancel?: (props: {
|
|
74
|
+
cancel: (e: MouseEvent) => void;
|
|
75
|
+
cancelSize: "" | "small" | "mini" | "large";
|
|
76
|
+
cancelType: "" | "primary" | "success" | "warning" | "danger" | "info";
|
|
77
|
+
cancelText: string;
|
|
78
|
+
}) => any;
|
|
79
|
+
} & {
|
|
80
|
+
extra?: (props: {}) => any;
|
|
81
|
+
} & {
|
|
82
|
+
confirm?: (props: {
|
|
83
|
+
confirm: (e: MouseEvent) => void;
|
|
84
|
+
confirmSize: "" | "small" | "mini" | "large";
|
|
85
|
+
confirmType: "" | "primary" | "success" | "warning" | "danger" | "info";
|
|
86
|
+
confirmText: string;
|
|
87
|
+
}) => any;
|
|
88
|
+
};
|
|
89
|
+
});
|
|
90
|
+
export default RePopconfirm;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { PopconfirmProps } from './types';
|
|
2
|
+
type __VLS_Props = PopconfirmProps;
|
|
3
|
+
type __VLS_ModelProps = {
|
|
4
|
+
'visible'?: boolean;
|
|
5
|
+
};
|
|
6
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
7
|
+
declare var __VLS_15: {}, __VLS_17: {
|
|
8
|
+
icon: any;
|
|
9
|
+
}, __VLS_24: {
|
|
10
|
+
title: string;
|
|
11
|
+
}, __VLS_26: {
|
|
12
|
+
content: string;
|
|
13
|
+
}, __VLS_28: {
|
|
14
|
+
cancel: (e: MouseEvent) => void;
|
|
15
|
+
cancelSize: "" | "small" | "mini" | "large";
|
|
16
|
+
cancelType: "" | "primary" | "success" | "warning" | "danger" | "info";
|
|
17
|
+
cancelText: string;
|
|
18
|
+
confirm: (e: MouseEvent) => void;
|
|
19
|
+
confirmSize: "" | "small" | "mini" | "large";
|
|
20
|
+
confirmType: "" | "primary" | "success" | "warning" | "danger" | "info";
|
|
21
|
+
confirmText: string;
|
|
22
|
+
}, __VLS_30: {
|
|
23
|
+
cancel: (e: MouseEvent) => void;
|
|
24
|
+
cancelSize: "" | "small" | "mini" | "large";
|
|
25
|
+
cancelType: "" | "primary" | "success" | "warning" | "danger" | "info";
|
|
26
|
+
cancelText: string;
|
|
27
|
+
}, __VLS_40: {}, __VLS_42: {
|
|
28
|
+
confirm: (e: MouseEvent) => void;
|
|
29
|
+
confirmSize: "" | "small" | "mini" | "large";
|
|
30
|
+
confirmType: "" | "primary" | "success" | "warning" | "danger" | "info";
|
|
31
|
+
confirmText: string;
|
|
32
|
+
};
|
|
33
|
+
type __VLS_Slots = {} & {
|
|
34
|
+
header?: (props: typeof __VLS_15) => any;
|
|
35
|
+
} & {
|
|
36
|
+
icon?: (props: typeof __VLS_17) => any;
|
|
37
|
+
} & {
|
|
38
|
+
title?: (props: typeof __VLS_24) => any;
|
|
39
|
+
} & {
|
|
40
|
+
content?: (props: typeof __VLS_26) => any;
|
|
41
|
+
} & {
|
|
42
|
+
footer?: (props: typeof __VLS_28) => any;
|
|
43
|
+
} & {
|
|
44
|
+
cancel?: (props: typeof __VLS_30) => any;
|
|
45
|
+
} & {
|
|
46
|
+
extra?: (props: typeof __VLS_40) => any;
|
|
47
|
+
} & {
|
|
48
|
+
confirm?: (props: typeof __VLS_42) => any;
|
|
49
|
+
};
|
|
50
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, {
|
|
51
|
+
tooltipRef: Readonly<import('vue').ShallowRef<any, any>>;
|
|
52
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
53
|
+
cancel: (e: MouseEvent) => any;
|
|
54
|
+
"update:visible": (value: boolean) => any;
|
|
55
|
+
confirm: (e: MouseEvent) => any;
|
|
56
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
57
|
+
onCancel?: ((e: MouseEvent) => any) | undefined;
|
|
58
|
+
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
59
|
+
onConfirm?: ((e: MouseEvent) => any) | undefined;
|
|
60
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
61
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
62
|
+
declare const _default: typeof __VLS_export;
|
|
63
|
+
export default _default;
|
|
64
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
65
|
+
new (): {
|
|
66
|
+
$slots: S;
|
|
67
|
+
};
|
|
68
|
+
};
|