@keyblade/pro-components 1.13.8-alpha.17 → 1.13.8-alpha.19
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/es/components.d.ts +1 -1
- package/es/pro-calendar/calendar.vue.d.ts +2 -2
- package/es/pro-calendar/calendar.vue.js +96 -96
- package/es/pro-calendar/header.vue.d.ts +14 -30
- package/es/pro-calendar/header.vue.js +18 -19
- package/es/pro-calendar/hooks/useCellClassName.js +2 -2
- package/es/pro-calendar/index.d.ts +6 -6
- package/es/pro-calendar/index.js +1 -1
- package/es/pro-calendar/inerface.d.ts +56 -11
- package/es/pro-calendar/month.js +1 -1
- package/es/pro-calendar/month.vue.d.ts +2 -17
- package/es/pro-calendar/month.vue.js +10 -10
- package/es/pro-calendar/week.vue.d.ts +2 -14
- package/es/pro-calendar/week.vue.js +15 -16
- package/es/pro-calendar/year.vue.d.ts +2 -14
- package/es/pro-calendar/year.vue.js +11 -11
- package/es/pro-image-upload/image-upload.vue.d.ts +1 -1
- package/es/pro-image-upload/index.d.ts +3 -3
- package/es/pro-layout/hooks.d.ts +1 -1
- package/es/pro-layout/hooks.js +2 -2
- package/es/pro-layout/pro-layout.vue.js +35 -37
- package/es/pro-menu/index.d.ts +11 -80
- package/es/pro-menu/interface.d.ts +19 -0
- package/es/pro-menu/menu-item.vue.d.ts +25 -0
- package/es/pro-menu/menu-item.vue.js +35 -0
- package/es/pro-menu/menu-item.vue2.js +4 -0
- package/es/pro-menu/pro-menu-item.vue.d.ts +7 -0
- package/es/pro-menu/pro-menu-item.vue.js +63 -0
- package/es/pro-menu/pro-menu-item.vue2.js +4 -0
- package/es/pro-menu/pro-menu.vue.d.ts +7 -55
- package/es/pro-menu/pro-menu.vue.js +28 -114
- package/es/pro-menu/sub-menu.vue.d.ts +22 -0
- package/es/pro-menu/sub-menu.vue.js +54 -0
- package/es/pro-menu/sub-menu.vue2.js +4 -0
- package/es/pro-menu/util.d.ts +9 -0
- package/es/pro-menu/util.js +7 -0
- package/es/pro-table/index.d.ts +3 -3
- package/es/pro-table/index.vue.d.ts +1 -1
- package/es/style.css +1 -1
- package/package.json +1 -1
- package/es/_virtual/_commonjsHelpers.js +0 -6
- package/es/_virtual/advancedFormat.js +0 -7
- package/es/_virtual/advancedFormat2.js +0 -4
- package/es/_virtual/customParseFormat.js +0 -7
- package/es/_virtual/customParseFormat2.js +0 -4
- package/es/_virtual/isBetween.js +0 -7
- package/es/_virtual/isBetween2.js +0 -4
- package/es/_virtual/quarterOfYear.js +0 -7
- package/es/_virtual/quarterOfYear2.js +0 -4
- package/es/_virtual/weekOfYear.js +0 -7
- package/es/_virtual/weekOfYear2.js +0 -4
- package/es/_virtual/weekYear.js +0 -7
- package/es/_virtual/weekYear2.js +0 -4
- package/es/_virtual/zh-cn.js +0 -2
- package/es/_virtual/zh-cn2.js +0 -4
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/_components/client-only.js +0 -16
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/_components/feedback-icon.js +0 -42
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/_components/icon-hover.js +0 -42
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/_components/input-label/input-label.js +0 -134
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/_components/resize-observer-v2.js +0 -35
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/_components/resize-observer.js +0 -40
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/_components/select-view/select-view.js +0 -192
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/_components/virtual-list-v2/hooks/use-size.js +0 -61
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/_components/virtual-list-v2/virtual-list-item.js +0 -35
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/_components/virtual-list-v2/virtual-list.js +0 -186
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/_hooks/use-component-ref.js +0 -16
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/_hooks/use-first-element.js +0 -15
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/_hooks/use-form-item.js +0 -24
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/_hooks/use-input.js +0 -63
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/_hooks/use-pick-slots.js +0 -11
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/_hooks/use-popup-manager.js +0 -44
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/_hooks/use-resize-observer.js +0 -22
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/_hooks/use-scrollbar.js +0 -25
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/_hooks/use-size.js +0 -14
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/_hooks/use-teleport-container.js +0 -22
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/_hooks/use-trigger.js +0 -23
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/_utils/constant.js +0 -33
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/_utils/date.js +0 -96
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/_utils/debounce.js +0 -12
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/_utils/dom.js +0 -53
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/_utils/global-config.js +0 -28
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/_utils/is-equal.js +0 -26
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/_utils/is.js +0 -46
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/_utils/keyboard.js +0 -32
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/_utils/keycode.js +0 -9
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/_utils/omit.js +0 -17
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/_utils/pad.js +0 -7
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/_utils/pick.js +0 -10
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/_utils/raf.js +0 -5
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/_utils/throttle-by-raf.js +0 -15
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/_utils/vue-utils.js +0 -96
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/_virtual/plugin-vue_export-helper.js +0 -8
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/button/button-group.js +0 -47
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/button/button.js +0 -130
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/button/context.js +0 -4
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/button/index.js +0 -15
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/checkbox/checkbox-group.js +0 -94
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/checkbox/checkbox.js +0 -129
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/checkbox/context.js +0 -4
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/checkbox/icon-check.js +0 -20
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/checkbox/index.js +0 -15
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/config-provider/context.js +0 -4
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/empty/empty.js +0 -41
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/empty/index.js +0 -12
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/form/context.js +0 -4
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/icon/icon-check-circle-fill/icon-check-circle-fill.js +0 -70
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/icon/icon-check-circle-fill/index.js +0 -11
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/icon/icon-close/icon-close.js +0 -64
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/icon/icon-close/index.js +0 -11
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/icon/icon-close-circle-fill/icon-close-circle-fill.js +0 -70
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/icon/icon-close-circle-fill/index.js +0 -11
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/icon/icon-down/icon-down.js +0 -64
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/icon/icon-down/index.js +0 -11
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/icon/icon-empty/icon-empty.js +0 -64
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/icon/icon-empty/index.js +0 -11
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/icon/icon-exclamation-circle-fill/icon-exclamation-circle-fill.js +0 -70
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/icon/icon-exclamation-circle-fill/index.js +0 -11
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/icon/icon-left/icon-left.js +0 -64
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/icon/icon-left/index.js +0 -11
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/icon/icon-loading/icon-loading.js +0 -64
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/icon/icon-loading/index.js +0 -11
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/icon/icon-right/icon-right.js +0 -64
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/icon/icon-right/index.js +0 -11
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/icon/icon-search/icon-search.js +0 -64
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/icon/icon-search/index.js +0 -11
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/input-tag/index.js +0 -12
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/input-tag/input-tag.js +0 -318
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/input-tag/utils.js +0 -35
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/locale/index.js +0 -32
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/locale/lang/zh-cn.js +0 -196
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/radio/context.js +0 -4
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/radio/index.js +0 -15
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/radio/radio-group.js +0 -105
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/radio/radio.js +0 -117
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/scrollbar/index.js +0 -12
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/scrollbar/scrollbar.js +0 -194
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/scrollbar/thumb.js +0 -108
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/select/context.js +0 -4
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/select/hooks/use-options.js +0 -96
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/select/hooks/use-select.js +0 -137
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/select/index.js +0 -18
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/select/optgroup.js +0 -32
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/select/option.js +0 -162
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/select/select-dropdown.js +0 -119
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/select/select.js +0 -506
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/select/utils.js +0 -100
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/spin/dot-loading.js +0 -34
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/spin/index.js +0 -12
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/spin/spin.js +0 -64
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/tag/index.js +0 -12
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/tag/interface.js +0 -18
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/tag/tag.js +0 -146
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/trigger/context.js +0 -4
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/trigger/index.js +0 -12
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/trigger/trigger.js +0 -446
- package/es/node_modules/.pnpm/@arco-design_web-vue@2.53.3_vue@3.5.13_typescript@5.8.2_/node_modules/@arco-design/web-vue/es/trigger/utils.js +0 -305
- package/es/node_modules/.pnpm/dayjs@1.11.18/node_modules/dayjs/locale/zh-cn.js +0 -24
- package/es/node_modules/.pnpm/dayjs@1.11.18/node_modules/dayjs/plugin/advancedFormat.js +0 -54
- package/es/node_modules/.pnpm/dayjs@1.11.18/node_modules/dayjs/plugin/customParseFormat.js +0 -127
- package/es/node_modules/.pnpm/dayjs@1.11.18/node_modules/dayjs/plugin/isBetween.js +0 -19
- package/es/node_modules/.pnpm/dayjs@1.11.18/node_modules/dayjs/plugin/quarterOfYear.js +0 -33
- package/es/node_modules/.pnpm/dayjs@1.11.18/node_modules/dayjs/plugin/weekOfYear.js +0 -29
- package/es/node_modules/.pnpm/dayjs@1.11.18/node_modules/dayjs/plugin/weekYear.js +0 -19
- package/es/node_modules/.pnpm/resize-observer-polyfill@1.5.1/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js +0 -290
|
@@ -1,506 +0,0 @@
|
|
|
1
|
-
import { defineComponent as Fe, toRefs as Ee, computed as i, ref as p, watch as z, nextTick as xe, watchEffect as je, createVNode as f, mergeProps as E, isVNode as Le } from "vue";
|
|
2
|
-
import { getPrefixCls as ke } from "../_utils/global-config.js";
|
|
3
|
-
import { isObject as x, isFunction as O, isArray as De, isNumber as Ne, isString as Ke, isBoolean as Ae, isUndefined as j, isNull as Re, isEmptyObject as Ie } from "../_utils/is.js";
|
|
4
|
-
import { getKeyFromValue as H, isGroupOptionInfo as Te, isValidOption as ze, hasEmptyStringKey as He } from "./utils.js";
|
|
5
|
-
import M from "../trigger/index.js";
|
|
6
|
-
import U from "../_components/select-view/select-view.js";
|
|
7
|
-
import Me from "./select-dropdown.js";
|
|
8
|
-
import Ue from "./option.js";
|
|
9
|
-
import $e from "./optgroup.js";
|
|
10
|
-
import Ge from "../_components/virtual-list-v2/virtual-list.js";
|
|
11
|
-
import { useSelect as We } from "./hooks/use-select.js";
|
|
12
|
-
import { useTrigger as qe } from "../_hooks/use-trigger.js";
|
|
13
|
-
import { useFormItem as Je } from "../_hooks/use-form-item.js";
|
|
14
|
-
import { debounce as Qe } from "../_utils/debounce.js";
|
|
15
|
-
var Xe = Object.defineProperty, Ye = Object.defineProperties, Ze = Object.getOwnPropertyDescriptors, $ = Object.getOwnPropertySymbols, el = Object.prototype.hasOwnProperty, ll = Object.prototype.propertyIsEnumerable, G = (l, n, r) => n in l ? Xe(l, n, { enumerable: !0, configurable: !0, writable: !0, value: r }) : l[n] = r, w = (l, n) => {
|
|
16
|
-
for (var r in n || (n = {}))
|
|
17
|
-
el.call(n, r) && G(l, r, n[r]);
|
|
18
|
-
if ($)
|
|
19
|
-
for (var r of $(n))
|
|
20
|
-
ll.call(n, r) && G(l, r, n[r]);
|
|
21
|
-
return l;
|
|
22
|
-
}, tl = (l, n) => Ye(l, Ze(n));
|
|
23
|
-
function al(l) {
|
|
24
|
-
return typeof l == "function" || Object.prototype.toString.call(l) === "[object Object]" && !Le(l);
|
|
25
|
-
}
|
|
26
|
-
const ol = {
|
|
27
|
-
value: "value",
|
|
28
|
-
label: "label",
|
|
29
|
-
disabled: "disabled",
|
|
30
|
-
tagProps: "tagProps",
|
|
31
|
-
render: "render"
|
|
32
|
-
};
|
|
33
|
-
var hl = Fe({
|
|
34
|
-
name: "Select",
|
|
35
|
-
components: {
|
|
36
|
-
Trigger: M,
|
|
37
|
-
SelectView: U
|
|
38
|
-
},
|
|
39
|
-
inheritAttrs: !1,
|
|
40
|
-
props: {
|
|
41
|
-
multiple: {
|
|
42
|
-
type: Boolean,
|
|
43
|
-
default: !1
|
|
44
|
-
},
|
|
45
|
-
modelValue: {
|
|
46
|
-
type: [String, Number, Boolean, Object, Array],
|
|
47
|
-
default: void 0
|
|
48
|
-
},
|
|
49
|
-
defaultValue: {
|
|
50
|
-
type: [String, Number, Boolean, Object, Array],
|
|
51
|
-
default: (l) => j(l.multiple) ? "" : []
|
|
52
|
-
},
|
|
53
|
-
inputValue: {
|
|
54
|
-
type: String
|
|
55
|
-
},
|
|
56
|
-
defaultInputValue: {
|
|
57
|
-
type: String,
|
|
58
|
-
default: ""
|
|
59
|
-
},
|
|
60
|
-
size: {
|
|
61
|
-
type: String
|
|
62
|
-
},
|
|
63
|
-
placeholder: String,
|
|
64
|
-
loading: {
|
|
65
|
-
type: Boolean,
|
|
66
|
-
default: !1
|
|
67
|
-
},
|
|
68
|
-
disabled: {
|
|
69
|
-
type: Boolean,
|
|
70
|
-
default: !1
|
|
71
|
-
},
|
|
72
|
-
error: {
|
|
73
|
-
type: Boolean,
|
|
74
|
-
default: !1
|
|
75
|
-
},
|
|
76
|
-
allowClear: {
|
|
77
|
-
type: Boolean,
|
|
78
|
-
default: !1
|
|
79
|
-
},
|
|
80
|
-
allowSearch: {
|
|
81
|
-
type: [Boolean, Object],
|
|
82
|
-
default: (l) => !!l.multiple
|
|
83
|
-
},
|
|
84
|
-
allowCreate: {
|
|
85
|
-
type: Boolean,
|
|
86
|
-
default: !1
|
|
87
|
-
},
|
|
88
|
-
maxTagCount: {
|
|
89
|
-
type: Number,
|
|
90
|
-
default: 0
|
|
91
|
-
},
|
|
92
|
-
popupContainer: {
|
|
93
|
-
type: [String, Object]
|
|
94
|
-
},
|
|
95
|
-
bordered: {
|
|
96
|
-
type: Boolean,
|
|
97
|
-
default: !0
|
|
98
|
-
},
|
|
99
|
-
defaultActiveFirstOption: {
|
|
100
|
-
type: Boolean,
|
|
101
|
-
default: !0
|
|
102
|
-
},
|
|
103
|
-
popupVisible: {
|
|
104
|
-
type: Boolean,
|
|
105
|
-
default: void 0
|
|
106
|
-
},
|
|
107
|
-
defaultPopupVisible: {
|
|
108
|
-
type: Boolean,
|
|
109
|
-
default: !1
|
|
110
|
-
},
|
|
111
|
-
unmountOnClose: {
|
|
112
|
-
type: Boolean,
|
|
113
|
-
default: !1
|
|
114
|
-
},
|
|
115
|
-
filterOption: {
|
|
116
|
-
type: [Boolean, Function],
|
|
117
|
-
default: !0
|
|
118
|
-
},
|
|
119
|
-
options: {
|
|
120
|
-
type: Array,
|
|
121
|
-
default: () => []
|
|
122
|
-
},
|
|
123
|
-
virtualListProps: {
|
|
124
|
-
type: Object
|
|
125
|
-
},
|
|
126
|
-
triggerProps: {
|
|
127
|
-
type: Object
|
|
128
|
-
},
|
|
129
|
-
formatLabel: {
|
|
130
|
-
type: Function
|
|
131
|
-
},
|
|
132
|
-
fallbackOption: {
|
|
133
|
-
type: [Boolean, Function],
|
|
134
|
-
default: !0
|
|
135
|
-
},
|
|
136
|
-
showExtraOptions: {
|
|
137
|
-
type: Boolean,
|
|
138
|
-
default: !0
|
|
139
|
-
},
|
|
140
|
-
valueKey: {
|
|
141
|
-
type: String,
|
|
142
|
-
default: "value"
|
|
143
|
-
},
|
|
144
|
-
searchDelay: {
|
|
145
|
-
type: Number,
|
|
146
|
-
default: 500
|
|
147
|
-
},
|
|
148
|
-
limit: {
|
|
149
|
-
type: Number,
|
|
150
|
-
default: 0
|
|
151
|
-
},
|
|
152
|
-
fieldNames: {
|
|
153
|
-
type: Object
|
|
154
|
-
},
|
|
155
|
-
scrollbar: {
|
|
156
|
-
type: [Boolean, Object],
|
|
157
|
-
default: !0
|
|
158
|
-
},
|
|
159
|
-
showHeaderOnEmpty: {
|
|
160
|
-
type: Boolean,
|
|
161
|
-
default: !1
|
|
162
|
-
},
|
|
163
|
-
showFooterOnEmpty: {
|
|
164
|
-
type: Boolean,
|
|
165
|
-
default: !1
|
|
166
|
-
}
|
|
167
|
-
},
|
|
168
|
-
emits: {
|
|
169
|
-
"update:modelValue": (l) => !0,
|
|
170
|
-
"update:inputValue": (l) => !0,
|
|
171
|
-
"update:popupVisible": (l) => !0,
|
|
172
|
-
change: (l) => !0,
|
|
173
|
-
inputValueChange: (l) => !0,
|
|
174
|
-
popupVisibleChange: (l) => !0,
|
|
175
|
-
clear: (l) => !0,
|
|
176
|
-
remove: (l) => !0,
|
|
177
|
-
search: (l) => !0,
|
|
178
|
-
dropdownScroll: (l) => !0,
|
|
179
|
-
dropdownReachBottom: (l) => !0,
|
|
180
|
-
exceedLimit: (l, n) => !0
|
|
181
|
-
},
|
|
182
|
-
setup(l, {
|
|
183
|
-
slots: n,
|
|
184
|
-
emit: r,
|
|
185
|
-
attrs: W
|
|
186
|
-
}) {
|
|
187
|
-
const {
|
|
188
|
-
size: q,
|
|
189
|
-
disabled: J,
|
|
190
|
-
error: Q,
|
|
191
|
-
options: X,
|
|
192
|
-
filterOption: _,
|
|
193
|
-
valueKey: v,
|
|
194
|
-
multiple: L,
|
|
195
|
-
popupVisible: Y,
|
|
196
|
-
showExtraOptions: Z,
|
|
197
|
-
modelValue: ee,
|
|
198
|
-
fieldNames: S,
|
|
199
|
-
loading: le,
|
|
200
|
-
defaultActiveFirstOption: te
|
|
201
|
-
} = Ee(l), ae = ke("select"), {
|
|
202
|
-
mergedSize: oe,
|
|
203
|
-
mergedDisabled: k,
|
|
204
|
-
mergedError: ne,
|
|
205
|
-
eventHandlers: re
|
|
206
|
-
} = Je({
|
|
207
|
-
size: q,
|
|
208
|
-
disabled: J,
|
|
209
|
-
error: Q
|
|
210
|
-
}), ue = i(() => l.virtualListProps ? "div" : "li"), C = i(() => x(l.allowSearch) && !!l.allowSearch.retainInputValue);
|
|
211
|
-
i(() => {
|
|
212
|
-
if (O(l.formatLabel))
|
|
213
|
-
return (e) => {
|
|
214
|
-
const t = u.get(e.value);
|
|
215
|
-
return l.formatLabel(t);
|
|
216
|
-
};
|
|
217
|
-
});
|
|
218
|
-
const D = p(), N = p({}), K = p(), {
|
|
219
|
-
computedPopupVisible: m,
|
|
220
|
-
handlePopupVisibleChange: V
|
|
221
|
-
} = qe({
|
|
222
|
-
popupVisible: Y,
|
|
223
|
-
emit: r
|
|
224
|
-
}), P = p(l.defaultValue), B = i(() => {
|
|
225
|
-
var e;
|
|
226
|
-
const t = (e = l.modelValue) != null ? e : P.value;
|
|
227
|
-
return (De(t) ? t : t || Ne(t) || Ke(t) || Ae(t) ? [t] : []).map((o) => ({
|
|
228
|
-
value: o,
|
|
229
|
-
key: H(o, l.valueKey)
|
|
230
|
-
}));
|
|
231
|
-
});
|
|
232
|
-
z(ee, (e) => {
|
|
233
|
-
(j(e) || Re(e)) && (P.value = L.value ? [] : e);
|
|
234
|
-
});
|
|
235
|
-
const d = i(() => B.value.map((e) => e.key)), A = i(() => w(w({}, ol), S == null ? void 0 : S.value)), R = p(), ie = (e) => {
|
|
236
|
-
const t = {};
|
|
237
|
-
return e.forEach((a) => {
|
|
238
|
-
t[a] = u.get(a);
|
|
239
|
-
}), t;
|
|
240
|
-
}, de = (e) => {
|
|
241
|
-
R.value = ie(e);
|
|
242
|
-
}, ce = (e) => O(l.fallbackOption) ? l.fallbackOption(e) : {
|
|
243
|
-
[A.value.value]: e,
|
|
244
|
-
[A.value.label]: String(x(e) ? e[v == null ? void 0 : v.value] : e)
|
|
245
|
-
}, se = () => {
|
|
246
|
-
const e = [], t = [];
|
|
247
|
-
if (l.allowCreate || l.fallbackOption) {
|
|
248
|
-
for (const a of B.value)
|
|
249
|
-
if (!t.includes(a.key) && a.value !== "") {
|
|
250
|
-
const o = u.get(a.key);
|
|
251
|
-
(!o || o.origin === "extraOptions") && (e.push(a), t.push(a.key));
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
if (l.allowCreate && c.value) {
|
|
255
|
-
const a = H(c.value);
|
|
256
|
-
if (!t.includes(a)) {
|
|
257
|
-
const o = u.get(a);
|
|
258
|
-
(!o || o.origin === "extraOptions") && e.push({
|
|
259
|
-
value: c.value,
|
|
260
|
-
key: a
|
|
261
|
-
});
|
|
262
|
-
}
|
|
263
|
-
}
|
|
264
|
-
return e;
|
|
265
|
-
}, g = p([]), pe = i(() => g.value.map((e) => {
|
|
266
|
-
var t;
|
|
267
|
-
let a = ce(e.value);
|
|
268
|
-
const o = (t = R.value) == null ? void 0 : t[e.key];
|
|
269
|
-
return !j(o) && !Ie(o) && (a = w(w({}, a), o)), a;
|
|
270
|
-
}));
|
|
271
|
-
xe(() => {
|
|
272
|
-
je(() => {
|
|
273
|
-
var e;
|
|
274
|
-
const t = se();
|
|
275
|
-
if (t.length !== g.value.length)
|
|
276
|
-
g.value = t;
|
|
277
|
-
else if (t.length > 0) {
|
|
278
|
-
for (let a = 0; a < t.length; a++)
|
|
279
|
-
if (t[a].key !== ((e = g.value[a]) == null ? void 0 : e.key)) {
|
|
280
|
-
g.value = t;
|
|
281
|
-
break;
|
|
282
|
-
}
|
|
283
|
-
}
|
|
284
|
-
});
|
|
285
|
-
});
|
|
286
|
-
const I = p(""), c = i(() => {
|
|
287
|
-
var e;
|
|
288
|
-
return (e = l.inputValue) != null ? e : I.value;
|
|
289
|
-
});
|
|
290
|
-
z(m, (e) => {
|
|
291
|
-
!e && !C.value && c.value && y("");
|
|
292
|
-
});
|
|
293
|
-
const fe = (e) => {
|
|
294
|
-
var t, a;
|
|
295
|
-
return l.multiple ? e.map((o) => {
|
|
296
|
-
var h, s;
|
|
297
|
-
return (s = (h = u.get(o)) == null ? void 0 : h.value) != null ? s : "";
|
|
298
|
-
}) : (a = (t = u.get(e[0])) == null ? void 0 : t.value) != null ? a : He(u) ? void 0 : "";
|
|
299
|
-
}, b = (e) => {
|
|
300
|
-
var t, a;
|
|
301
|
-
const o = fe(e);
|
|
302
|
-
P.value = o, r("update:modelValue", o), r("change", o), (a = (t = re.value) == null ? void 0 : t.onChange) == null || a.call(t), de(e);
|
|
303
|
-
}, y = (e) => {
|
|
304
|
-
I.value = e, r("update:inputValue", e), r("inputValueChange", e);
|
|
305
|
-
}, ve = (e, t) => {
|
|
306
|
-
if (l.multiple) {
|
|
307
|
-
if (d.value.includes(e)) {
|
|
308
|
-
const a = d.value.filter((o) => o !== e);
|
|
309
|
-
b(a);
|
|
310
|
-
} else if (Ve.value.includes(e))
|
|
311
|
-
if (l.limit > 0 && d.value.length >= l.limit) {
|
|
312
|
-
const a = u.get(e);
|
|
313
|
-
r("exceedLimit", a == null ? void 0 : a.value, t);
|
|
314
|
-
} else {
|
|
315
|
-
const a = d.value.concat(e);
|
|
316
|
-
b(a);
|
|
317
|
-
}
|
|
318
|
-
C.value || y("");
|
|
319
|
-
} else {
|
|
320
|
-
if (e !== d.value[0] && b([e]), C.value) {
|
|
321
|
-
const a = u.get(e);
|
|
322
|
-
a && y(a.label);
|
|
323
|
-
}
|
|
324
|
-
V(!1);
|
|
325
|
-
}
|
|
326
|
-
}, me = Qe((e) => {
|
|
327
|
-
r("search", e);
|
|
328
|
-
}, l.searchDelay), ge = (e) => {
|
|
329
|
-
e !== c.value && (m.value || V(!0), y(e), l.allowSearch && me(e));
|
|
330
|
-
}, be = (e) => {
|
|
331
|
-
const t = u.get(e), a = d.value.filter((o) => o !== e);
|
|
332
|
-
b(a), r("remove", t == null ? void 0 : t.value);
|
|
333
|
-
}, ye = (e) => {
|
|
334
|
-
e == null || e.stopPropagation();
|
|
335
|
-
const t = d.value.filter((a) => {
|
|
336
|
-
var o;
|
|
337
|
-
return (o = u.get(a)) == null ? void 0 : o.disabled;
|
|
338
|
-
});
|
|
339
|
-
b(t), y(""), r("clear", e);
|
|
340
|
-
}, he = (e) => {
|
|
341
|
-
r("dropdownScroll", e);
|
|
342
|
-
}, Oe = (e) => {
|
|
343
|
-
r("dropdownReachBottom", e);
|
|
344
|
-
}, {
|
|
345
|
-
validOptions: T,
|
|
346
|
-
optionInfoMap: u,
|
|
347
|
-
validOptionInfos: we,
|
|
348
|
-
enabledOptionKeys: Ve,
|
|
349
|
-
handleKeyDown: _e
|
|
350
|
-
} = We({
|
|
351
|
-
multiple: L,
|
|
352
|
-
options: X,
|
|
353
|
-
extraOptions: pe,
|
|
354
|
-
inputValue: c,
|
|
355
|
-
filterOption: _,
|
|
356
|
-
showExtraOptions: Z,
|
|
357
|
-
component: ue,
|
|
358
|
-
valueKey: v,
|
|
359
|
-
fieldNames: S,
|
|
360
|
-
loading: le,
|
|
361
|
-
popupVisible: m,
|
|
362
|
-
valueKeys: d,
|
|
363
|
-
dropdownRef: D,
|
|
364
|
-
optionRefs: N,
|
|
365
|
-
virtualListRef: K,
|
|
366
|
-
defaultActiveFirstOption: te,
|
|
367
|
-
onSelect: ve,
|
|
368
|
-
onPopupVisibleChange: V
|
|
369
|
-
}), Se = i(() => {
|
|
370
|
-
var e;
|
|
371
|
-
const t = [];
|
|
372
|
-
for (const a of B.value) {
|
|
373
|
-
const o = u.get(a.key);
|
|
374
|
-
o && t.push(tl(w({}, o), {
|
|
375
|
-
value: a.key,
|
|
376
|
-
label: (e = o == null ? void 0 : o.label) != null ? e : String(x(a.value) ? a.value[v == null ? void 0 : v.value] : a.value),
|
|
377
|
-
closable: !(o != null && o.disabled),
|
|
378
|
-
tagProps: o == null ? void 0 : o.tagProps
|
|
379
|
-
}));
|
|
380
|
-
}
|
|
381
|
-
return t;
|
|
382
|
-
}), Ce = (e) => {
|
|
383
|
-
if (O(n.option)) {
|
|
384
|
-
const t = n.option;
|
|
385
|
-
return () => t({
|
|
386
|
-
data: e.raw
|
|
387
|
-
});
|
|
388
|
-
}
|
|
389
|
-
return O(e.render) ? e.render : () => e.label;
|
|
390
|
-
}, F = (e) => {
|
|
391
|
-
if (Te(e)) {
|
|
392
|
-
let t;
|
|
393
|
-
return f($e, {
|
|
394
|
-
key: e.key,
|
|
395
|
-
label: e.label
|
|
396
|
-
}, al(t = e.options.map((a) => F(a))) ? t : {
|
|
397
|
-
default: () => [t]
|
|
398
|
-
});
|
|
399
|
-
}
|
|
400
|
-
return ze(e, {
|
|
401
|
-
inputValue: c.value,
|
|
402
|
-
filterOption: _ == null ? void 0 : _.value
|
|
403
|
-
}) ? f(Ue, {
|
|
404
|
-
ref: (t) => {
|
|
405
|
-
t != null && t.$el && (N.value[e.key] = t.$el);
|
|
406
|
-
},
|
|
407
|
-
key: e.key,
|
|
408
|
-
value: e.value,
|
|
409
|
-
label: e.label,
|
|
410
|
-
disabled: e.disabled,
|
|
411
|
-
internal: !0
|
|
412
|
-
}, {
|
|
413
|
-
default: Ce(e)
|
|
414
|
-
}) : null;
|
|
415
|
-
}, Pe = () => f(Me, {
|
|
416
|
-
ref: D,
|
|
417
|
-
loading: l.loading,
|
|
418
|
-
empty: we.value.length === 0,
|
|
419
|
-
virtualList: !!l.virtualListProps,
|
|
420
|
-
scrollbar: l.scrollbar,
|
|
421
|
-
showHeaderOnEmpty: l.showHeaderOnEmpty,
|
|
422
|
-
showFooterOnEmpty: l.showFooterOnEmpty,
|
|
423
|
-
onScroll: he,
|
|
424
|
-
onReachBottom: Oe
|
|
425
|
-
}, {
|
|
426
|
-
default: () => {
|
|
427
|
-
var e, t;
|
|
428
|
-
return [...(t = (e = n.default) == null ? void 0 : e.call(n)) != null ? t : [], ...T.value.map(F)];
|
|
429
|
-
},
|
|
430
|
-
"virtual-list": () => f(Ge, E(l.virtualListProps, {
|
|
431
|
-
ref: K,
|
|
432
|
-
data: T.value
|
|
433
|
-
}), {
|
|
434
|
-
item: ({
|
|
435
|
-
item: e
|
|
436
|
-
}) => F(e)
|
|
437
|
-
}),
|
|
438
|
-
empty: n.empty,
|
|
439
|
-
header: n.header,
|
|
440
|
-
footer: n.footer
|
|
441
|
-
}), Be = ({
|
|
442
|
-
data: e
|
|
443
|
-
}) => {
|
|
444
|
-
var t, a, o, h;
|
|
445
|
-
if ((n.label || O(l.formatLabel)) && e) {
|
|
446
|
-
const s = u.get(e.value);
|
|
447
|
-
if (s != null && s.raw)
|
|
448
|
-
return (o = (t = n.label) == null ? void 0 : t.call(n, {
|
|
449
|
-
data: s.raw
|
|
450
|
-
})) != null ? o : (a = l.formatLabel) == null ? void 0 : a.call(l, s.raw);
|
|
451
|
-
}
|
|
452
|
-
return (h = e == null ? void 0 : e.label) != null ? h : "";
|
|
453
|
-
};
|
|
454
|
-
return () => f(M, E({
|
|
455
|
-
trigger: "click",
|
|
456
|
-
position: "bl",
|
|
457
|
-
popupOffset: 4,
|
|
458
|
-
animationName: "slide-dynamic-origin",
|
|
459
|
-
hideEmpty: !0,
|
|
460
|
-
preventFocus: !0,
|
|
461
|
-
autoFitPopupWidth: !0,
|
|
462
|
-
autoFitTransformOrigin: !0,
|
|
463
|
-
disabled: k.value,
|
|
464
|
-
popupVisible: m.value,
|
|
465
|
-
unmountOnClose: l.unmountOnClose,
|
|
466
|
-
clickToClose: !(l.allowSearch || l.allowCreate),
|
|
467
|
-
popupContainer: l.popupContainer,
|
|
468
|
-
onPopupVisibleChange: V
|
|
469
|
-
}, l.triggerProps), {
|
|
470
|
-
default: () => {
|
|
471
|
-
var e, t;
|
|
472
|
-
return [(t = (e = n.trigger) == null ? void 0 : e.call(n)) != null ? t : f(U, E({
|
|
473
|
-
class: ae,
|
|
474
|
-
modelValue: Se.value,
|
|
475
|
-
inputValue: c.value,
|
|
476
|
-
multiple: l.multiple,
|
|
477
|
-
disabled: k.value,
|
|
478
|
-
error: ne.value,
|
|
479
|
-
loading: l.loading,
|
|
480
|
-
allowClear: l.allowClear,
|
|
481
|
-
allowCreate: l.allowCreate,
|
|
482
|
-
allowSearch: !!l.allowSearch,
|
|
483
|
-
opened: m.value,
|
|
484
|
-
maxTagCount: l.maxTagCount,
|
|
485
|
-
placeholder: l.placeholder,
|
|
486
|
-
bordered: l.bordered,
|
|
487
|
-
size: oe.value,
|
|
488
|
-
onInputValueChange: ge,
|
|
489
|
-
onRemove: be,
|
|
490
|
-
onClear: ye,
|
|
491
|
-
onKeydown: _e
|
|
492
|
-
}, W), {
|
|
493
|
-
label: Be,
|
|
494
|
-
prefix: n.prefix,
|
|
495
|
-
"arrow-icon": n["arrow-icon"],
|
|
496
|
-
"loading-icon": n["loading-icon"],
|
|
497
|
-
"search-icon": n["search-icon"]
|
|
498
|
-
})];
|
|
499
|
-
},
|
|
500
|
-
content: Pe
|
|
501
|
-
});
|
|
502
|
-
}
|
|
503
|
-
});
|
|
504
|
-
export {
|
|
505
|
-
hl as default
|
|
506
|
-
};
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
import { isObject as i, isNumber as O, isString as b, isBoolean as P, isFunction as y } from "../_utils/is.js";
|
|
2
|
-
var d = Object.defineProperty, w = Object.defineProperties, h = Object.getOwnPropertyDescriptors, l = Object.getOwnPropertySymbols, m = Object.prototype.hasOwnProperty, v = Object.prototype.propertyIsEnumerable, u = (r, t, e) => t in r ? d(r, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[t] = e, p = (r, t) => {
|
|
3
|
-
for (var e in t || (t = {}))
|
|
4
|
-
m.call(t, e) && u(r, e, t[e]);
|
|
5
|
-
if (l)
|
|
6
|
-
for (var e of l(t))
|
|
7
|
-
v.call(t, e) && u(r, e, t[e]);
|
|
8
|
-
return r;
|
|
9
|
-
}, g = (r, t) => w(r, h(t));
|
|
10
|
-
const S = (r) => i(r) && "isGroup" in r, j = (r) => i(r) && "isGroup" in r, G = (r, t = "value") => String(i(r) ? r[t] : r), f = (r, t = "value") => i(r) ? `__arco__option__object__${r[t]}` : r || O(r) || b(r) || P(r) ? `__arco__option__${typeof r}-${r}` : "", B = (r) => r.has("__arco__option__string-"), $ = (r, {
|
|
11
|
-
valueKey: t,
|
|
12
|
-
fieldNames: e,
|
|
13
|
-
origin: _,
|
|
14
|
-
index: a = -1
|
|
15
|
-
}) => {
|
|
16
|
-
var c;
|
|
17
|
-
if (i(r)) {
|
|
18
|
-
const o = r[e.value];
|
|
19
|
-
return {
|
|
20
|
-
raw: r,
|
|
21
|
-
index: a,
|
|
22
|
-
key: f(o, t),
|
|
23
|
-
origin: _,
|
|
24
|
-
value: o,
|
|
25
|
-
label: (c = r[e.label]) != null ? c : G(o, t),
|
|
26
|
-
render: r[e.render],
|
|
27
|
-
disabled: !!r[e.disabled],
|
|
28
|
-
tagProps: r[e.tagProps]
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
const s = {
|
|
32
|
-
value: r,
|
|
33
|
-
label: String(r),
|
|
34
|
-
disabled: !1
|
|
35
|
-
};
|
|
36
|
-
return p({
|
|
37
|
-
raw: s,
|
|
38
|
-
index: a,
|
|
39
|
-
key: f(r, t),
|
|
40
|
-
origin: _
|
|
41
|
-
}, s);
|
|
42
|
-
}, k = (r, {
|
|
43
|
-
valueKey: t,
|
|
44
|
-
fieldNames: e,
|
|
45
|
-
origin: _,
|
|
46
|
-
optionInfoMap: a
|
|
47
|
-
}) => {
|
|
48
|
-
var c;
|
|
49
|
-
const s = [];
|
|
50
|
-
for (const o of r)
|
|
51
|
-
if (S(o)) {
|
|
52
|
-
const n = k((c = o.options) != null ? c : [], {
|
|
53
|
-
valueKey: t,
|
|
54
|
-
fieldNames: e,
|
|
55
|
-
origin: _,
|
|
56
|
-
optionInfoMap: a
|
|
57
|
-
});
|
|
58
|
-
n.length > 0 && s.push(g(p({}, o), {
|
|
59
|
-
key: `__arco__group__${o.label}`,
|
|
60
|
-
options: n
|
|
61
|
-
}));
|
|
62
|
-
} else {
|
|
63
|
-
const n = $(o, {
|
|
64
|
-
valueKey: t,
|
|
65
|
-
fieldNames: e,
|
|
66
|
-
origin: _
|
|
67
|
-
});
|
|
68
|
-
s.push(n), a.get(n.key) || a.set(n.key, n);
|
|
69
|
-
}
|
|
70
|
-
return s;
|
|
71
|
-
}, C = (r, {
|
|
72
|
-
inputValue: t,
|
|
73
|
-
filterOption: e
|
|
74
|
-
}) => {
|
|
75
|
-
const _ = (a) => {
|
|
76
|
-
var c;
|
|
77
|
-
const s = [];
|
|
78
|
-
for (const o of a)
|
|
79
|
-
if (j(o)) {
|
|
80
|
-
const n = _((c = o.options) != null ? c : []);
|
|
81
|
-
n.length > 0 && s.push(g(p({}, o), { options: n }));
|
|
82
|
-
} else E(o, { inputValue: t, filterOption: e }) && s.push(o);
|
|
83
|
-
return s;
|
|
84
|
-
};
|
|
85
|
-
return _(r);
|
|
86
|
-
}, E = (r, {
|
|
87
|
-
inputValue: t,
|
|
88
|
-
filterOption: e
|
|
89
|
-
}) => y(e) ? !t || e(t, r.raw) : e ? r.label.toLowerCase().includes((t ?? "").toLowerCase()) : !0;
|
|
90
|
-
export {
|
|
91
|
-
$ as createOptionInfo,
|
|
92
|
-
f as getKeyFromValue,
|
|
93
|
-
k as getOptionInfos,
|
|
94
|
-
C as getValidOptions,
|
|
95
|
-
G as getValueString,
|
|
96
|
-
B as hasEmptyStringKey,
|
|
97
|
-
S as isGroupOption,
|
|
98
|
-
j as isGroupOptionInfo,
|
|
99
|
-
E as isValidOption
|
|
100
|
-
};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { defineComponent as d, createVNode as t } from "vue";
|
|
2
|
-
import { getPrefixCls as l } from "../_utils/global-config.js";
|
|
3
|
-
const n = 5;
|
|
4
|
-
var z = d({
|
|
5
|
-
name: "DotLoading",
|
|
6
|
-
props: {
|
|
7
|
-
size: {
|
|
8
|
-
type: Number
|
|
9
|
-
}
|
|
10
|
-
},
|
|
11
|
-
setup(e) {
|
|
12
|
-
const i = l("dot-loading");
|
|
13
|
-
return () => {
|
|
14
|
-
const s = e.size ? {
|
|
15
|
-
width: `${e.size}px`,
|
|
16
|
-
height: `${e.size}px`
|
|
17
|
-
} : {};
|
|
18
|
-
return t("div", {
|
|
19
|
-
class: i,
|
|
20
|
-
style: {
|
|
21
|
-
width: e.size ? `${e.size * 7}px` : void 0,
|
|
22
|
-
height: e.size ? `${e.size}px` : void 0
|
|
23
|
-
}
|
|
24
|
-
}, [Array(n).fill(1).map((a, o) => t("div", {
|
|
25
|
-
class: `${i}-item`,
|
|
26
|
-
key: o,
|
|
27
|
-
style: s
|
|
28
|
-
}, null))]);
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
});
|
|
32
|
-
export {
|
|
33
|
-
z as default
|
|
34
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { setGlobalConfig as i, getComponentPrefix as m } from "../_utils/global-config.js";
|
|
2
|
-
import n from "./spin.js";
|
|
3
|
-
const s = Object.assign(n, {
|
|
4
|
-
install: (o, t) => {
|
|
5
|
-
i(o, t);
|
|
6
|
-
const e = m(t);
|
|
7
|
-
o.component(e + n.name, n);
|
|
8
|
-
}
|
|
9
|
-
});
|
|
10
|
-
export {
|
|
11
|
-
s as default
|
|
12
|
-
};
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import { defineComponent as g, inject as v, computed as p, createVNode as e, Fragment as c, cloneVNode as z } from "vue";
|
|
2
|
-
import { getPrefixCls as $ } from "../_utils/global-config.js";
|
|
3
|
-
import I from "../icon/icon-loading/index.js";
|
|
4
|
-
import x from "./dot-loading.js";
|
|
5
|
-
import { getFirstComponent as y } from "../_utils/vue-utils.js";
|
|
6
|
-
import { configProviderInjectionKey as C } from "../config-provider/context.js";
|
|
7
|
-
var b = g({
|
|
8
|
-
name: "Spin",
|
|
9
|
-
props: {
|
|
10
|
-
size: {
|
|
11
|
-
type: Number
|
|
12
|
-
},
|
|
13
|
-
loading: Boolean,
|
|
14
|
-
dot: Boolean,
|
|
15
|
-
tip: String,
|
|
16
|
-
hideIcon: {
|
|
17
|
-
type: Boolean,
|
|
18
|
-
default: !1
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
setup(n, {
|
|
22
|
-
slots: i
|
|
23
|
-
}) {
|
|
24
|
-
const t = $("spin"), l = v(C, void 0), u = p(() => [t, {
|
|
25
|
-
[`${t}-loading`]: n.loading,
|
|
26
|
-
[`${t}-with-tip`]: n.tip && !i.default
|
|
27
|
-
}]), f = () => {
|
|
28
|
-
if (i.icon) {
|
|
29
|
-
const o = y(i.icon());
|
|
30
|
-
if (o)
|
|
31
|
-
return z(o, {
|
|
32
|
-
spin: !0
|
|
33
|
-
});
|
|
34
|
-
}
|
|
35
|
-
return i.element ? i.element() : n.dot ? e(x, {
|
|
36
|
-
size: n.size
|
|
37
|
-
}, null) : l != null && l.slots.loading ? l.slots.loading() : e(I, {
|
|
38
|
-
spin: !0,
|
|
39
|
-
size: n.size
|
|
40
|
-
}, null);
|
|
41
|
-
}, a = () => {
|
|
42
|
-
var o, r, d;
|
|
43
|
-
const m = n.size ? {
|
|
44
|
-
fontSize: `${n.size}px`
|
|
45
|
-
} : void 0, s = !!((o = i.tip) != null ? o : n.tip);
|
|
46
|
-
return e(c, null, [!n.hideIcon && e("div", {
|
|
47
|
-
class: `${t}-icon`,
|
|
48
|
-
style: m
|
|
49
|
-
}, [f()]), s && e("div", {
|
|
50
|
-
class: `${t}-tip`
|
|
51
|
-
}, [(d = (r = i.tip) == null ? void 0 : r.call(i)) != null ? d : n.tip])]);
|
|
52
|
-
};
|
|
53
|
-
return () => e("div", {
|
|
54
|
-
class: u.value
|
|
55
|
-
}, [i.default ? e(c, null, [i.default(), n.loading && e("div", {
|
|
56
|
-
class: `${t}-mask`
|
|
57
|
-
}, [e("div", {
|
|
58
|
-
class: `${t}-mask-icon`
|
|
59
|
-
}, [a()])])]) : a()]);
|
|
60
|
-
}
|
|
61
|
-
});
|
|
62
|
-
export {
|
|
63
|
-
b as default
|
|
64
|
-
};
|