@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,28 +0,0 @@
|
|
|
1
|
-
import { getCurrentInstance as f, inject as p } from "vue";
|
|
2
|
-
import { configProviderInjectionKey as P } from "../config-provider/context.js";
|
|
3
|
-
var _ = Object.defineProperty, u = Object.defineProperties, v = Object.getOwnPropertyDescriptors, a = Object.getOwnPropertySymbols, g = Object.prototype.hasOwnProperty, O = Object.prototype.propertyIsEnumerable, c = (e, r, o) => r in e ? _(e, r, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[r] = o, d = (e, r) => {
|
|
4
|
-
for (var o in r || (r = {}))
|
|
5
|
-
g.call(r, o) && c(e, o, r[o]);
|
|
6
|
-
if (a)
|
|
7
|
-
for (var o of a(r))
|
|
8
|
-
O.call(r, o) && c(e, o, r[o]);
|
|
9
|
-
return e;
|
|
10
|
-
}, x = (e, r) => u(e, v(r));
|
|
11
|
-
const m = "A", b = "arco", t = "$arco", w = (e) => {
|
|
12
|
-
var r;
|
|
13
|
-
return (r = e == null ? void 0 : e.componentPrefix) != null ? r : m;
|
|
14
|
-
}, I = (e, r) => {
|
|
15
|
-
var o;
|
|
16
|
-
r && r.classPrefix && (e.config.globalProperties[t] = x(d({}, (o = e.config.globalProperties[t]) != null ? o : {}), {
|
|
17
|
-
classPrefix: r.classPrefix
|
|
18
|
-
}));
|
|
19
|
-
}, j = (e) => {
|
|
20
|
-
var r, o, n;
|
|
21
|
-
const l = f(), i = p(P, void 0), s = (n = (o = i == null ? void 0 : i.prefixCls) != null ? o : (r = l == null ? void 0 : l.appContext.config.globalProperties[t]) == null ? void 0 : r.classPrefix) != null ? n : b;
|
|
22
|
-
return e ? `${s}-${e}` : s;
|
|
23
|
-
};
|
|
24
|
-
export {
|
|
25
|
-
w as getComponentPrefix,
|
|
26
|
-
j as getPrefixCls,
|
|
27
|
-
I as setGlobalConfig
|
|
28
|
-
};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
const l = (t, e) => {
|
|
2
|
-
if (!t || !e || t.length !== e.length)
|
|
3
|
-
return !1;
|
|
4
|
-
for (const r of Object.keys(t))
|
|
5
|
-
if (!u(t[r], e[r]))
|
|
6
|
-
return !1;
|
|
7
|
-
return !0;
|
|
8
|
-
}, s = (t, e) => {
|
|
9
|
-
if (!t || !e)
|
|
10
|
-
return !1;
|
|
11
|
-
const { length: r } = t;
|
|
12
|
-
if (r !== e.length)
|
|
13
|
-
return !1;
|
|
14
|
-
for (let n = 0; n < r; n++)
|
|
15
|
-
if (!u(t[n], e[n]))
|
|
16
|
-
return !1;
|
|
17
|
-
return !0;
|
|
18
|
-
}, u = (t, e) => {
|
|
19
|
-
const r = Object.prototype.toString.call(t);
|
|
20
|
-
return r !== Object.prototype.toString.call(e) ? !1 : r === "[object Object]" ? l(t, e) : r === "[object Array]" ? s(t, e) : r === "[object Function]" ? t === e ? !0 : t.toString() === e.toString() : t === e;
|
|
21
|
-
};
|
|
22
|
-
export {
|
|
23
|
-
u as isEqual,
|
|
24
|
-
s as isEqualArray,
|
|
25
|
-
l as isEqualObject
|
|
26
|
-
};
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
const t = Object.prototype.toString;
|
|
2
|
-
function c(n) {
|
|
3
|
-
return t.call(n) === "[object Array]";
|
|
4
|
-
}
|
|
5
|
-
function o(n) {
|
|
6
|
-
return t.call(n) === "[object Null]";
|
|
7
|
-
}
|
|
8
|
-
function i(n) {
|
|
9
|
-
return t.call(n) === "[object Boolean]";
|
|
10
|
-
}
|
|
11
|
-
function r(n) {
|
|
12
|
-
return t.call(n) === "[object Object]";
|
|
13
|
-
}
|
|
14
|
-
function e(n) {
|
|
15
|
-
return t.call(n) === "[object String]";
|
|
16
|
-
}
|
|
17
|
-
function u(n) {
|
|
18
|
-
return t.call(n) === "[object Number]" && n === n;
|
|
19
|
-
}
|
|
20
|
-
function l(n) {
|
|
21
|
-
return n === void 0;
|
|
22
|
-
}
|
|
23
|
-
function s(n) {
|
|
24
|
-
return typeof n == "function";
|
|
25
|
-
}
|
|
26
|
-
function f(n) {
|
|
27
|
-
return r(n) && Object.keys(n).length === 0;
|
|
28
|
-
}
|
|
29
|
-
const a = (n) => (n == null ? void 0 : n.$) !== void 0, b = (n) => /\[Q]Q/.test(n);
|
|
30
|
-
function j(n) {
|
|
31
|
-
return r(n) && "$y" in n && "$M" in n && "$D" in n && "$d" in n && "$H" in n && "$m" in n && "$s" in n;
|
|
32
|
-
}
|
|
33
|
-
export {
|
|
34
|
-
c as isArray,
|
|
35
|
-
i as isBoolean,
|
|
36
|
-
a as isComponentInstance,
|
|
37
|
-
j as isDayjs,
|
|
38
|
-
f as isEmptyObject,
|
|
39
|
-
s as isFunction,
|
|
40
|
-
o as isNull,
|
|
41
|
-
u as isNumber,
|
|
42
|
-
r as isObject,
|
|
43
|
-
b as isQuarter,
|
|
44
|
-
e as isString,
|
|
45
|
-
l as isUndefined
|
|
46
|
-
};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { isString as n } from "./is.js";
|
|
2
|
-
const e = {
|
|
3
|
-
ENTER: "Enter",
|
|
4
|
-
ESC: "Escape",
|
|
5
|
-
ARROW_UP: "ArrowUp",
|
|
6
|
-
ARROW_DOWN: "ArrowDown"
|
|
7
|
-
}, l = (o) => JSON.stringify({
|
|
8
|
-
key: o.key,
|
|
9
|
-
ctrl: !!o.ctrl,
|
|
10
|
-
shift: !!o.shift,
|
|
11
|
-
alt: !!o.alt,
|
|
12
|
-
meta: !!o.meta
|
|
13
|
-
}), i = (o) => {
|
|
14
|
-
const s = {};
|
|
15
|
-
return o.forEach((t, r) => {
|
|
16
|
-
const a = n(r) ? { key: r } : r;
|
|
17
|
-
s[l(a)] = t;
|
|
18
|
-
}), (t) => {
|
|
19
|
-
const r = l({
|
|
20
|
-
key: t.key,
|
|
21
|
-
ctrl: t.ctrlKey,
|
|
22
|
-
shift: t.shiftKey,
|
|
23
|
-
alt: t.altKey,
|
|
24
|
-
meta: t.metaKey
|
|
25
|
-
}), a = s[r];
|
|
26
|
-
a && (t.stopPropagation(), a(t));
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
export {
|
|
30
|
-
e as KEYBOARD_KEY,
|
|
31
|
-
i as getKeyDownHandler
|
|
32
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
var p = Object.defineProperty, n = Object.getOwnPropertySymbols, f = Object.prototype.hasOwnProperty, l = Object.prototype.propertyIsEnumerable, a = (t, e, r) => e in t ? p(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, i = (t, e) => {
|
|
2
|
-
for (var r in e || (e = {}))
|
|
3
|
-
f.call(e, r) && a(t, r, e[r]);
|
|
4
|
-
if (n)
|
|
5
|
-
for (var r of n(e))
|
|
6
|
-
l.call(e, r) && a(t, r, e[r]);
|
|
7
|
-
return t;
|
|
8
|
-
};
|
|
9
|
-
const s = (t, e) => {
|
|
10
|
-
const r = i({}, t);
|
|
11
|
-
for (const o of e)
|
|
12
|
-
o in r && delete r[o];
|
|
13
|
-
return r;
|
|
14
|
-
};
|
|
15
|
-
export {
|
|
16
|
-
s as omit
|
|
17
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { caf as e, raf as c } from "./raf.js";
|
|
2
|
-
function a(o) {
|
|
3
|
-
let t = 0;
|
|
4
|
-
const r = (...f) => {
|
|
5
|
-
t && e(t), t = c(() => {
|
|
6
|
-
o(...f), t = 0;
|
|
7
|
-
});
|
|
8
|
-
};
|
|
9
|
-
return r.cancel = () => {
|
|
10
|
-
e(t), t = 0;
|
|
11
|
-
}, r;
|
|
12
|
-
}
|
|
13
|
-
export {
|
|
14
|
-
a as throttleByRaf
|
|
15
|
-
};
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import { cloneVNode as C } from "vue";
|
|
2
|
-
import { isFunction as R, isArray as O } from "./is.js";
|
|
3
|
-
var u;
|
|
4
|
-
(function(r) {
|
|
5
|
-
r[r.ELEMENT = 1] = "ELEMENT", r[r.FUNCTIONAL_COMPONENT = 2] = "FUNCTIONAL_COMPONENT", r[r.STATEFUL_COMPONENT = 4] = "STATEFUL_COMPONENT", r[r.COMPONENT = 6] = "COMPONENT", r[r.TEXT_CHILDREN = 8] = "TEXT_CHILDREN", r[r.ARRAY_CHILDREN = 16] = "ARRAY_CHILDREN", r[r.SLOTS_CHILDREN = 32] = "SLOTS_CHILDREN", r[r.TELEPORT = 64] = "TELEPORT", r[r.SUSPENSE = 128] = "SUSPENSE", r[r.COMPONENT_SHOULD_KEEP_ALIVE = 256] = "COMPONENT_SHOULD_KEEP_ALIVE", r[r.COMPONENT_KEPT_ALIVE = 512] = "COMPONENT_KEPT_ALIVE";
|
|
6
|
-
})(u || (u = {}));
|
|
7
|
-
var _;
|
|
8
|
-
(function(r) {
|
|
9
|
-
r[r.TEXT = 1] = "TEXT", r[r.CLASS = 2] = "CLASS", r[r.STYLE = 4] = "STYLE", r[r.PROPS = 8] = "PROPS", r[r.FULL_PROPS = 16] = "FULL_PROPS", r[r.HYDRATE_EVENTS = 32] = "HYDRATE_EVENTS", r[r.STABLE_FRAGMENT = 64] = "STABLE_FRAGMENT", r[r.KEYED_FRAGMENT = 128] = "KEYED_FRAGMENT", r[r.UNKEYED_FRAGMENT = 256] = "UNKEYED_FRAGMENT", r[r.NEED_PATCH = 512] = "NEED_PATCH", r[r.DYNAMIC_SLOTS = 1024] = "DYNAMIC_SLOTS", r[r.DEV_ROOT_FRAGMENT = 2048] = "DEV_ROOT_FRAGMENT", r[r.HOISTED = -1] = "HOISTED", r[r.BAIL = -2] = "BAIL";
|
|
10
|
-
})(_ || (_ = {}));
|
|
11
|
-
const T = (r) => !!(r && r.shapeFlag & 1), N = (r, e) => !!(r && r.shapeFlag & 6), f = (r, e) => !!(r && r.shapeFlag & 16), d = (r, e) => !!(r && r.shapeFlag & 32), t = (r) => {
|
|
12
|
-
var e, n;
|
|
13
|
-
if (r)
|
|
14
|
-
for (const E of r) {
|
|
15
|
-
if (T(E) || N(E))
|
|
16
|
-
return E;
|
|
17
|
-
if (f(E, E.children)) {
|
|
18
|
-
const o = t(E.children);
|
|
19
|
-
if (o)
|
|
20
|
-
return o;
|
|
21
|
-
} else if (d(E, E.children)) {
|
|
22
|
-
const o = (n = (e = E.children).default) == null ? void 0 : n.call(e);
|
|
23
|
-
if (o) {
|
|
24
|
-
const i = t(o);
|
|
25
|
-
if (i)
|
|
26
|
-
return i;
|
|
27
|
-
}
|
|
28
|
-
} else if (O(E)) {
|
|
29
|
-
const o = t(E);
|
|
30
|
-
if (o)
|
|
31
|
-
return o;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}, S = (r) => {
|
|
35
|
-
if (!r)
|
|
36
|
-
return !0;
|
|
37
|
-
for (const e of r)
|
|
38
|
-
if (e.children)
|
|
39
|
-
return !1;
|
|
40
|
-
return !0;
|
|
41
|
-
}, D = (r, e) => {
|
|
42
|
-
if (r && r.length > 0)
|
|
43
|
-
for (let n = 0; n < r.length; n++) {
|
|
44
|
-
const E = r[n];
|
|
45
|
-
if (T(E) || N(E)) {
|
|
46
|
-
const i = R(e) ? e(E) : e;
|
|
47
|
-
return r[n] = C(E, i, !0), !0;
|
|
48
|
-
}
|
|
49
|
-
const o = L(E);
|
|
50
|
-
if (o && o.length > 0 && D(o, e))
|
|
51
|
-
return !0;
|
|
52
|
-
}
|
|
53
|
-
return !1;
|
|
54
|
-
}, L = (r) => {
|
|
55
|
-
if (f(r, r.children))
|
|
56
|
-
return r.children;
|
|
57
|
-
if (O(r))
|
|
58
|
-
return r;
|
|
59
|
-
}, A = (r) => {
|
|
60
|
-
var e, n;
|
|
61
|
-
if (T(r))
|
|
62
|
-
return r.el;
|
|
63
|
-
if (N(r)) {
|
|
64
|
-
if (((e = r.el) == null ? void 0 : e.nodeType) === 1)
|
|
65
|
-
return r.el;
|
|
66
|
-
if ((n = r.component) != null && n.subTree) {
|
|
67
|
-
const E = A(r.component.subTree);
|
|
68
|
-
if (E)
|
|
69
|
-
return E;
|
|
70
|
-
}
|
|
71
|
-
} else {
|
|
72
|
-
const E = L(r);
|
|
73
|
-
return M(E);
|
|
74
|
-
}
|
|
75
|
-
}, M = (r) => {
|
|
76
|
-
if (r && r.length > 0)
|
|
77
|
-
for (const e of r) {
|
|
78
|
-
const n = A(e);
|
|
79
|
-
if (n)
|
|
80
|
-
return n;
|
|
81
|
-
}
|
|
82
|
-
};
|
|
83
|
-
export {
|
|
84
|
-
_ as PatchFlags,
|
|
85
|
-
u as ShapeFlags,
|
|
86
|
-
L as getChildrenArray,
|
|
87
|
-
t as getFirstComponent,
|
|
88
|
-
M as getFirstElementFromChildren,
|
|
89
|
-
A as getFirstElementFromVNode,
|
|
90
|
-
f as isArrayChildren,
|
|
91
|
-
N as isComponent,
|
|
92
|
-
T as isElement,
|
|
93
|
-
S as isEmptyChildren,
|
|
94
|
-
d as isSlotsChildren,
|
|
95
|
-
D as mergeFirstChild
|
|
96
|
-
};
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { defineComponent as i, createElementBlock as a, openBlock as l, normalizeClass as u, renderSlot as f, toRefs as c, provide as d, reactive as m } from "vue";
|
|
2
|
-
import { getPrefixCls as y } from "../_utils/global-config.js";
|
|
3
|
-
import { buttonGroupInjectionKey as g } from "./context.js";
|
|
4
|
-
import _ from "../_virtual/plugin-vue_export-helper.js";
|
|
5
|
-
const B = i({
|
|
6
|
-
name: "ButtonGroup",
|
|
7
|
-
props: {
|
|
8
|
-
type: {
|
|
9
|
-
type: String
|
|
10
|
-
},
|
|
11
|
-
status: {
|
|
12
|
-
type: String
|
|
13
|
-
},
|
|
14
|
-
shape: {
|
|
15
|
-
type: String
|
|
16
|
-
},
|
|
17
|
-
size: {
|
|
18
|
-
type: String
|
|
19
|
-
},
|
|
20
|
-
disabled: {
|
|
21
|
-
type: Boolean
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
|
-
setup(e) {
|
|
25
|
-
const { type: t, size: o, status: r, disabled: s, shape: p } = c(e), n = y("btn-group");
|
|
26
|
-
return d(g, m({
|
|
27
|
-
type: t,
|
|
28
|
-
size: o,
|
|
29
|
-
shape: p,
|
|
30
|
-
status: r,
|
|
31
|
-
disabled: s
|
|
32
|
-
})), {
|
|
33
|
-
prefixCls: n
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
});
|
|
37
|
-
function C(e, t, o, r, s, p) {
|
|
38
|
-
return l(), a("div", {
|
|
39
|
-
class: u(e.prefixCls)
|
|
40
|
-
}, [
|
|
41
|
-
f(e.$slots, "default")
|
|
42
|
-
], 2);
|
|
43
|
-
}
|
|
44
|
-
var x = /* @__PURE__ */ _(B, [["render", C]]);
|
|
45
|
-
export {
|
|
46
|
-
x as default
|
|
47
|
-
};
|
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
import { defineComponent as B, resolveComponent as D, createElementBlock as r, openBlock as s, normalizeClass as d, createCommentVNode as v, renderSlot as u, createBlock as b, toRefs as I, inject as j, computed as f } from "vue";
|
|
2
|
-
import { getPrefixCls as T } from "../_utils/global-config.js";
|
|
3
|
-
import { isString as q } from "../_utils/is.js";
|
|
4
|
-
import E from "../icon/icon-loading/index.js";
|
|
5
|
-
import { useSize as F } from "../_hooks/use-size.js";
|
|
6
|
-
import { useFormItem as G } from "../_hooks/use-form-item.js";
|
|
7
|
-
import { buttonGroupInjectionKey as K } from "./context.js";
|
|
8
|
-
import L from "../_virtual/plugin-vue_export-helper.js";
|
|
9
|
-
const N = B({
|
|
10
|
-
name: "Button",
|
|
11
|
-
components: {
|
|
12
|
-
IconLoading: E
|
|
13
|
-
},
|
|
14
|
-
props: {
|
|
15
|
-
type: {
|
|
16
|
-
type: String
|
|
17
|
-
},
|
|
18
|
-
shape: {
|
|
19
|
-
type: String
|
|
20
|
-
},
|
|
21
|
-
status: {
|
|
22
|
-
type: String
|
|
23
|
-
},
|
|
24
|
-
size: {
|
|
25
|
-
type: String
|
|
26
|
-
},
|
|
27
|
-
long: {
|
|
28
|
-
type: Boolean,
|
|
29
|
-
default: !1
|
|
30
|
-
},
|
|
31
|
-
loading: {
|
|
32
|
-
type: Boolean,
|
|
33
|
-
default: !1
|
|
34
|
-
},
|
|
35
|
-
disabled: {
|
|
36
|
-
type: Boolean
|
|
37
|
-
},
|
|
38
|
-
htmlType: {
|
|
39
|
-
type: String,
|
|
40
|
-
default: "button"
|
|
41
|
-
},
|
|
42
|
-
href: String
|
|
43
|
-
},
|
|
44
|
-
emits: {
|
|
45
|
-
click: (e) => !0
|
|
46
|
-
},
|
|
47
|
-
setup(e, { emit: i }) {
|
|
48
|
-
const { size: m, disabled: p } = I(e), l = T("btn"), n = j(K, void 0), a = f(() => {
|
|
49
|
-
var o;
|
|
50
|
-
return (o = m.value) != null ? o : n == null ? void 0 : n.size;
|
|
51
|
-
}), t = f(() => !!(p.value || n != null && n.disabled)), { mergedSize: h, mergedDisabled: g } = G({
|
|
52
|
-
size: a,
|
|
53
|
-
disabled: t
|
|
54
|
-
}), { mergedSize: S } = F(h), z = f(() => {
|
|
55
|
-
var o, $, c, y, k, C;
|
|
56
|
-
return [
|
|
57
|
-
l,
|
|
58
|
-
`${l}-${($ = (o = e.type) != null ? o : n == null ? void 0 : n.type) != null ? $ : "secondary"}`,
|
|
59
|
-
`${l}-shape-${(y = (c = e.shape) != null ? c : n == null ? void 0 : n.shape) != null ? y : "square"}`,
|
|
60
|
-
`${l}-size-${S.value}`,
|
|
61
|
-
`${l}-status-${(C = (k = e.status) != null ? k : n == null ? void 0 : n.status) != null ? C : "normal"}`,
|
|
62
|
-
{
|
|
63
|
-
[`${l}-long`]: e.long,
|
|
64
|
-
[`${l}-loading`]: e.loading,
|
|
65
|
-
[`${l}-disabled`]: g.value,
|
|
66
|
-
[`${l}-link`]: q(e.href)
|
|
67
|
-
}
|
|
68
|
-
];
|
|
69
|
-
});
|
|
70
|
-
return {
|
|
71
|
-
prefixCls: l,
|
|
72
|
-
cls: z,
|
|
73
|
-
mergedDisabled: g,
|
|
74
|
-
handleClick: (o) => {
|
|
75
|
-
if (e.disabled || e.loading) {
|
|
76
|
-
o.preventDefault();
|
|
77
|
-
return;
|
|
78
|
-
}
|
|
79
|
-
i("click", o);
|
|
80
|
-
}
|
|
81
|
-
};
|
|
82
|
-
}
|
|
83
|
-
}), P = ["href"], R = ["type", "disabled"];
|
|
84
|
-
function V(e, i, m, p, l, n) {
|
|
85
|
-
const a = D("icon-loading");
|
|
86
|
-
return e.href ? (s(), r("a", {
|
|
87
|
-
key: 0,
|
|
88
|
-
class: d([
|
|
89
|
-
e.cls,
|
|
90
|
-
{ [`${e.prefixCls}-only-icon`]: e.$slots.icon && !e.$slots.default }
|
|
91
|
-
]),
|
|
92
|
-
href: e.mergedDisabled || e.loading ? void 0 : e.href,
|
|
93
|
-
onClick: i[0] || (i[0] = (...t) => e.handleClick && e.handleClick(...t))
|
|
94
|
-
}, [
|
|
95
|
-
e.loading || e.$slots.icon ? (s(), r("span", {
|
|
96
|
-
key: 0,
|
|
97
|
-
class: d(`${e.prefixCls}-icon`)
|
|
98
|
-
}, [
|
|
99
|
-
e.loading ? (s(), b(a, {
|
|
100
|
-
key: 0,
|
|
101
|
-
spin: "true"
|
|
102
|
-
})) : u(e.$slots, "icon", { key: 1 })
|
|
103
|
-
], 2)) : v("v-if", !0),
|
|
104
|
-
u(e.$slots, "default")
|
|
105
|
-
], 10, P)) : (s(), r("button", {
|
|
106
|
-
key: 1,
|
|
107
|
-
class: d([
|
|
108
|
-
e.cls,
|
|
109
|
-
{ [`${e.prefixCls}-only-icon`]: e.$slots.icon && !e.$slots.default }
|
|
110
|
-
]),
|
|
111
|
-
type: e.htmlType,
|
|
112
|
-
disabled: e.mergedDisabled,
|
|
113
|
-
onClick: i[1] || (i[1] = (...t) => e.handleClick && e.handleClick(...t))
|
|
114
|
-
}, [
|
|
115
|
-
e.loading || e.$slots.icon ? (s(), r("span", {
|
|
116
|
-
key: 0,
|
|
117
|
-
class: d(`${e.prefixCls}-icon`)
|
|
118
|
-
}, [
|
|
119
|
-
e.loading ? (s(), b(a, {
|
|
120
|
-
key: 0,
|
|
121
|
-
spin: !0
|
|
122
|
-
})) : u(e.$slots, "icon", { key: 1 })
|
|
123
|
-
], 2)) : v("v-if", !0),
|
|
124
|
-
u(e.$slots, "default")
|
|
125
|
-
], 10, R));
|
|
126
|
-
}
|
|
127
|
-
var X = /* @__PURE__ */ L(N, [["render", V]]);
|
|
128
|
-
export {
|
|
129
|
-
X as default
|
|
130
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { setGlobalConfig as r, getComponentPrefix as f } from "../_utils/global-config.js";
|
|
2
|
-
import t from "./button.js";
|
|
3
|
-
import n from "./button-group.js";
|
|
4
|
-
const u = Object.assign(t, {
|
|
5
|
-
Group: n,
|
|
6
|
-
install: (o, e) => {
|
|
7
|
-
r(o, e);
|
|
8
|
-
const m = f(e);
|
|
9
|
-
o.component(m + t.name, t), o.component(m + n.name, n);
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
export {
|
|
13
|
-
n as ButtonGroup,
|
|
14
|
-
u as default
|
|
15
|
-
};
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { defineComponent as C, toRefs as V, ref as k, computed as t, provide as p, reactive as _, watch as A, createVNode as s } from "vue";
|
|
2
|
-
import { getPrefixCls as G } from "../_utils/global-config.js";
|
|
3
|
-
import { checkboxGroupKey as N } from "./context.js";
|
|
4
|
-
import { useFormItem as F } from "../_hooks/use-form-item.js";
|
|
5
|
-
import S from "./checkbox.js";
|
|
6
|
-
import { isArray as f, isString as $, isNumber as w, isFunction as z } from "../_utils/is.js";
|
|
7
|
-
var P = C({
|
|
8
|
-
name: "CheckboxGroup",
|
|
9
|
-
props: {
|
|
10
|
-
modelValue: {
|
|
11
|
-
type: Array,
|
|
12
|
-
default: void 0
|
|
13
|
-
},
|
|
14
|
-
defaultValue: {
|
|
15
|
-
type: Array,
|
|
16
|
-
default: () => []
|
|
17
|
-
},
|
|
18
|
-
max: {
|
|
19
|
-
type: Number
|
|
20
|
-
},
|
|
21
|
-
options: {
|
|
22
|
-
type: Array
|
|
23
|
-
},
|
|
24
|
-
direction: {
|
|
25
|
-
type: String,
|
|
26
|
-
default: "horizontal"
|
|
27
|
-
},
|
|
28
|
-
disabled: {
|
|
29
|
-
type: Boolean,
|
|
30
|
-
default: !1
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
emits: {
|
|
34
|
-
"update:modelValue": (a) => !0,
|
|
35
|
-
change: (a, d) => !0
|
|
36
|
-
},
|
|
37
|
-
setup(a, {
|
|
38
|
-
emit: d,
|
|
39
|
-
slots: u
|
|
40
|
-
}) {
|
|
41
|
-
const {
|
|
42
|
-
disabled: b
|
|
43
|
-
} = V(a), o = G("checkbox-group"), {
|
|
44
|
-
mergedDisabled: h,
|
|
45
|
-
eventHandlers: x
|
|
46
|
-
} = F({
|
|
47
|
-
disabled: b
|
|
48
|
-
}), r = k(a.defaultValue), n = t(() => f(a.modelValue) ? a.modelValue : r.value), i = t(() => a.max === void 0 ? !1 : n.value.length >= a.max), m = t(() => {
|
|
49
|
-
var e;
|
|
50
|
-
return ((e = a.options) != null ? e : []).map((l) => $(l) || w(l) ? {
|
|
51
|
-
label: l,
|
|
52
|
-
value: l
|
|
53
|
-
} : l);
|
|
54
|
-
});
|
|
55
|
-
p(N, _({
|
|
56
|
-
name: "ArcoCheckboxGroup",
|
|
57
|
-
computedValue: n,
|
|
58
|
-
disabled: h,
|
|
59
|
-
isMaxed: i,
|
|
60
|
-
slots: u,
|
|
61
|
-
handleChange: (e, l) => {
|
|
62
|
-
var c, v;
|
|
63
|
-
r.value = e, d("update:modelValue", e), d("change", e, l), (v = (c = x.value) == null ? void 0 : c.onChange) == null || v.call(c, l);
|
|
64
|
-
}
|
|
65
|
-
}));
|
|
66
|
-
const g = t(() => [o, `${o}-direction-${a.direction}`]);
|
|
67
|
-
A(() => a.modelValue, (e) => {
|
|
68
|
-
f(e) ? r.value = [...e] : r.value = [];
|
|
69
|
-
});
|
|
70
|
-
const y = () => m.value.map((e) => {
|
|
71
|
-
const l = n.value.includes(e.value);
|
|
72
|
-
return s(S, {
|
|
73
|
-
key: e.value,
|
|
74
|
-
value: e.value,
|
|
75
|
-
disabled: e.disabled || !l && i.value,
|
|
76
|
-
indeterminate: e.indeterminate,
|
|
77
|
-
modelValue: l
|
|
78
|
-
}, {
|
|
79
|
-
default: () => [u.label ? u.label({
|
|
80
|
-
data: e
|
|
81
|
-
}) : z(e.label) ? e.label() : e.label]
|
|
82
|
-
});
|
|
83
|
-
});
|
|
84
|
-
return () => {
|
|
85
|
-
var e;
|
|
86
|
-
return s("span", {
|
|
87
|
-
class: g.value
|
|
88
|
-
}, [m.value.length > 0 ? y() : (e = u.default) == null ? void 0 : e.call(u)]);
|
|
89
|
-
};
|
|
90
|
-
}
|
|
91
|
-
});
|
|
92
|
-
export {
|
|
93
|
-
P as default
|
|
94
|
-
};
|