@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,318 +0,0 @@
|
|
|
1
|
-
import { defineComponent as ce, toRefs as fe, ref as c, computed as s, reactive as pe, watch as A, onMounted as me, createVNode as v, mergeProps as F, TransitionGroup as ge, nextTick as M } from "vue";
|
|
2
|
-
import { getPrefixCls as he } from "../_utils/global-config.js";
|
|
3
|
-
import { INPUT_EVENTS as L } from "../_utils/constant.js";
|
|
4
|
-
import { Enter as be, Backspace as _e } from "../_utils/keycode.js";
|
|
5
|
-
import { getValueData as ye } from "./utils.js";
|
|
6
|
-
import Ve from "../tag/index.js";
|
|
7
|
-
import Ie from "../_components/icon-hover.js";
|
|
8
|
-
import Ce from "../icon/icon-close/index.js";
|
|
9
|
-
import { omit as xe } from "../_utils/omit.js";
|
|
10
|
-
import we from "../_utils/pick.js";
|
|
11
|
-
import $e from "../_components/resize-observer.js";
|
|
12
|
-
import Be from "../_components/feedback-icon.js";
|
|
13
|
-
import { useFormItem as Pe } from "../_hooks/use-form-item.js";
|
|
14
|
-
import { useSize as Te } from "../_hooks/use-size.js";
|
|
15
|
-
import { isObject as Se, isUndefined as Ee, isNull as Fe } from "../_utils/is.js";
|
|
16
|
-
var Oe = Object.defineProperty, U = Object.getOwnPropertySymbols, ze = Object.prototype.hasOwnProperty, ke = Object.prototype.propertyIsEnumerable, W = (a, u, n) => u in a ? Oe(a, u, { enumerable: !0, configurable: !0, writable: !0, value: n }) : a[u] = n, x = (a, u) => {
|
|
17
|
-
for (var n in u || (u = {}))
|
|
18
|
-
ze.call(u, n) && W(a, n, u[n]);
|
|
19
|
-
if (U)
|
|
20
|
-
for (var n of U(u))
|
|
21
|
-
ke.call(u, n) && W(a, n, u[n]);
|
|
22
|
-
return a;
|
|
23
|
-
};
|
|
24
|
-
const Ne = {
|
|
25
|
-
value: "value",
|
|
26
|
-
label: "label",
|
|
27
|
-
closable: "closable",
|
|
28
|
-
tagProps: "tagProps"
|
|
29
|
-
};
|
|
30
|
-
var Ze = ce({
|
|
31
|
-
name: "InputTag",
|
|
32
|
-
inheritAttrs: !1,
|
|
33
|
-
props: {
|
|
34
|
-
modelValue: {
|
|
35
|
-
type: Array
|
|
36
|
-
},
|
|
37
|
-
defaultValue: {
|
|
38
|
-
type: Array,
|
|
39
|
-
default: () => []
|
|
40
|
-
},
|
|
41
|
-
inputValue: String,
|
|
42
|
-
defaultInputValue: {
|
|
43
|
-
type: String,
|
|
44
|
-
default: ""
|
|
45
|
-
},
|
|
46
|
-
placeholder: String,
|
|
47
|
-
disabled: {
|
|
48
|
-
type: Boolean,
|
|
49
|
-
default: !1
|
|
50
|
-
},
|
|
51
|
-
error: {
|
|
52
|
-
type: Boolean,
|
|
53
|
-
default: !1
|
|
54
|
-
},
|
|
55
|
-
readonly: {
|
|
56
|
-
type: Boolean,
|
|
57
|
-
default: !1
|
|
58
|
-
},
|
|
59
|
-
allowClear: {
|
|
60
|
-
type: Boolean,
|
|
61
|
-
default: !1
|
|
62
|
-
},
|
|
63
|
-
size: {
|
|
64
|
-
type: String
|
|
65
|
-
},
|
|
66
|
-
maxTagCount: {
|
|
67
|
-
type: Number,
|
|
68
|
-
default: 0
|
|
69
|
-
},
|
|
70
|
-
retainInputValue: {
|
|
71
|
-
type: [Boolean, Object],
|
|
72
|
-
default: !1
|
|
73
|
-
},
|
|
74
|
-
formatTag: {
|
|
75
|
-
type: Function
|
|
76
|
-
},
|
|
77
|
-
uniqueValue: {
|
|
78
|
-
type: Boolean,
|
|
79
|
-
default: !1
|
|
80
|
-
},
|
|
81
|
-
fieldNames: {
|
|
82
|
-
type: Object
|
|
83
|
-
},
|
|
84
|
-
baseCls: String,
|
|
85
|
-
focused: Boolean,
|
|
86
|
-
disabledInput: Boolean,
|
|
87
|
-
uninjectFormItemContext: Boolean
|
|
88
|
-
},
|
|
89
|
-
emits: {
|
|
90
|
-
"update:modelValue": (a) => !0,
|
|
91
|
-
"update:inputValue": (a) => !0,
|
|
92
|
-
change: (a, u) => !0,
|
|
93
|
-
inputValueChange: (a, u) => !0,
|
|
94
|
-
pressEnter: (a, u) => !0,
|
|
95
|
-
remove: (a, u) => !0,
|
|
96
|
-
clear: (a) => !0,
|
|
97
|
-
focus: (a) => !0,
|
|
98
|
-
blur: (a) => !0
|
|
99
|
-
},
|
|
100
|
-
setup(a, {
|
|
101
|
-
emit: u,
|
|
102
|
-
slots: n,
|
|
103
|
-
attrs: O
|
|
104
|
-
}) {
|
|
105
|
-
const {
|
|
106
|
-
size: q,
|
|
107
|
-
disabled: H,
|
|
108
|
-
error: K,
|
|
109
|
-
uninjectFormItemContext: z,
|
|
110
|
-
modelValue: G
|
|
111
|
-
} = fe(a), o = a.baseCls || he("input-tag"), i = c(), g = c(), {
|
|
112
|
-
mergedSize: J,
|
|
113
|
-
mergedDisabled: h,
|
|
114
|
-
mergedError: Q,
|
|
115
|
-
feedback: _,
|
|
116
|
-
eventHandlers: w
|
|
117
|
-
} = Pe({
|
|
118
|
-
size: q,
|
|
119
|
-
disabled: H,
|
|
120
|
-
error: K,
|
|
121
|
-
uninject: z == null ? void 0 : z.value
|
|
122
|
-
}), {
|
|
123
|
-
mergedSize: X
|
|
124
|
-
} = Te(J), Y = s(() => x(x({}, Ne), a.fieldNames)), $ = c(!1), B = c(a.defaultValue), k = c(a.defaultInputValue), f = c(!1), y = c(""), N = s(() => Se(a.retainInputValue) ? x({
|
|
125
|
-
create: !1,
|
|
126
|
-
blur: !1
|
|
127
|
-
}, a.retainInputValue) : {
|
|
128
|
-
create: a.retainInputValue,
|
|
129
|
-
blur: a.retainInputValue
|
|
130
|
-
}), P = pe({
|
|
131
|
-
width: "12px"
|
|
132
|
-
}), Z = s(() => a.focused || $.value), V = (e, l) => {
|
|
133
|
-
k.value = e, u("update:inputValue", e), u("inputValueChange", e, l);
|
|
134
|
-
}, T = (e) => {
|
|
135
|
-
var l;
|
|
136
|
-
const {
|
|
137
|
-
value: t
|
|
138
|
-
} = e.target;
|
|
139
|
-
e.type === "compositionend" ? (f.value = !1, y.value = "", V(t, e), M(() => {
|
|
140
|
-
i.value && r.value !== i.value.value && (i.value.value = r.value);
|
|
141
|
-
})) : (f.value = !0, y.value = r.value + ((l = e.data) != null ? l : ""));
|
|
142
|
-
}, p = s(() => {
|
|
143
|
-
var e;
|
|
144
|
-
return (e = a.modelValue) != null ? e : B.value;
|
|
145
|
-
}), r = s(() => {
|
|
146
|
-
var e;
|
|
147
|
-
return (e = a.inputValue) != null ? e : k.value;
|
|
148
|
-
});
|
|
149
|
-
A(G, (e) => {
|
|
150
|
-
(Ee(e) || Fe(e)) && (B.value = []);
|
|
151
|
-
});
|
|
152
|
-
const ee = (e) => {
|
|
153
|
-
i.value && e.target !== i.value && (e.preventDefault(), i.value.focus());
|
|
154
|
-
}, ae = (e) => {
|
|
155
|
-
const {
|
|
156
|
-
value: l
|
|
157
|
-
} = e.target;
|
|
158
|
-
f.value || (V(l, e), M(() => {
|
|
159
|
-
i.value && r.value !== i.value.value && (i.value.value = r.value);
|
|
160
|
-
}));
|
|
161
|
-
}, m = s(() => ye(p.value, Y.value)), b = s(() => {
|
|
162
|
-
if (a.maxTagCount > 0) {
|
|
163
|
-
const e = m.value.length - a.maxTagCount;
|
|
164
|
-
if (e > 0) {
|
|
165
|
-
const l = m.value.slice(0, a.maxTagCount), t = {
|
|
166
|
-
value: "__arco__more",
|
|
167
|
-
label: `+${e}...`,
|
|
168
|
-
closable: !1
|
|
169
|
-
};
|
|
170
|
-
return l.push(x({
|
|
171
|
-
raw: t
|
|
172
|
-
}, t)), l;
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
return m.value;
|
|
176
|
-
}), S = (e, l) => {
|
|
177
|
-
var t, d;
|
|
178
|
-
B.value = e, u("update:modelValue", e), u("change", e, l), (d = (t = w.value) == null ? void 0 : t.onChange) == null || d.call(t, l);
|
|
179
|
-
}, R = (e, l, t) => {
|
|
180
|
-
var d;
|
|
181
|
-
const I = (d = p.value) == null ? void 0 : d.filter((E, C) => C !== l);
|
|
182
|
-
S(I, t), u("remove", e, t);
|
|
183
|
-
}, le = (e) => {
|
|
184
|
-
S([], e), u("clear", e);
|
|
185
|
-
}, j = s(() => !h.value && !a.readonly && a.allowClear && !!p.value.length), ue = (e) => {
|
|
186
|
-
var l;
|
|
187
|
-
if (r.value) {
|
|
188
|
-
if (e.preventDefault(), a.uniqueValue && ((l = p.value) != null && l.includes(r.value))) {
|
|
189
|
-
u("pressEnter", r.value, e);
|
|
190
|
-
return;
|
|
191
|
-
}
|
|
192
|
-
const t = p.value.concat(r.value);
|
|
193
|
-
S(t, e), u("pressEnter", r.value, e), N.value.create || V("", e);
|
|
194
|
-
}
|
|
195
|
-
}, te = (e) => {
|
|
196
|
-
var l, t;
|
|
197
|
-
$.value = !0, u("focus", e), (t = (l = w.value) == null ? void 0 : l.onFocus) == null || t.call(l, e);
|
|
198
|
-
}, ne = (e) => {
|
|
199
|
-
var l, t;
|
|
200
|
-
$.value = !1, !N.value.blur && r.value && V("", e), u("blur", e), (t = (l = w.value) == null ? void 0 : l.onBlur) == null || t.call(l, e);
|
|
201
|
-
}, oe = () => {
|
|
202
|
-
for (let e = m.value.length - 1; e >= 0; e--)
|
|
203
|
-
if (m.value[e].closable)
|
|
204
|
-
return e;
|
|
205
|
-
return -1;
|
|
206
|
-
}, re = (e) => {
|
|
207
|
-
if (h.value || a.readonly)
|
|
208
|
-
return;
|
|
209
|
-
const l = e.key || e.code;
|
|
210
|
-
if (!f.value && r.value && l === be.key && ue(e), !f.value && b.value.length > 0 && !r.value && l === _e.key) {
|
|
211
|
-
const t = oe();
|
|
212
|
-
t >= 0 && R(m.value[t].value, t, e);
|
|
213
|
-
}
|
|
214
|
-
}, D = (e) => {
|
|
215
|
-
e > 12 ? P.width = `${e}px` : P.width = "12px";
|
|
216
|
-
};
|
|
217
|
-
me(() => {
|
|
218
|
-
g.value && D(g.value.offsetWidth);
|
|
219
|
-
});
|
|
220
|
-
const ie = () => {
|
|
221
|
-
g.value && D(g.value.offsetWidth);
|
|
222
|
-
};
|
|
223
|
-
A(r, (e) => {
|
|
224
|
-
i.value && !f.value && e !== i.value.value && (i.value.value = e);
|
|
225
|
-
});
|
|
226
|
-
const se = s(() => [o, `${o}-size-${X.value}`, {
|
|
227
|
-
[`${o}-disabled`]: h.value,
|
|
228
|
-
[`${o}-disabled-input`]: a.disabledInput,
|
|
229
|
-
[`${o}-error`]: Q.value,
|
|
230
|
-
[`${o}-focus`]: Z.value,
|
|
231
|
-
[`${o}-readonly`]: a.readonly,
|
|
232
|
-
[`${o}-has-tag`]: b.value.length > 0,
|
|
233
|
-
[`${o}-has-prefix`]: !!n.prefix,
|
|
234
|
-
[`${o}-has-suffix`]: !!n.suffix || j.value || _.value,
|
|
235
|
-
[`${o}-has-placeholder`]: !p.value.length
|
|
236
|
-
}]), ve = s(() => xe(O, L)), de = s(() => we(O, L));
|
|
237
|
-
return {
|
|
238
|
-
inputRef: i,
|
|
239
|
-
render: () => {
|
|
240
|
-
var e;
|
|
241
|
-
return v("span", F({
|
|
242
|
-
class: se.value,
|
|
243
|
-
onMousedown: ee
|
|
244
|
-
}, ve.value), [v($e, {
|
|
245
|
-
onResize: ie
|
|
246
|
-
}, {
|
|
247
|
-
default: () => [v("span", {
|
|
248
|
-
ref: g,
|
|
249
|
-
class: `${o}-mirror`
|
|
250
|
-
}, [b.value.length > 0 ? y.value || r.value : y.value || r.value || a.placeholder])]
|
|
251
|
-
}), n.prefix && v("span", {
|
|
252
|
-
class: `${o}-prefix`
|
|
253
|
-
}, [n.prefix()]), v(ge, {
|
|
254
|
-
tag: "span",
|
|
255
|
-
name: "input-tag-zoom",
|
|
256
|
-
class: `${o}-inner`
|
|
257
|
-
}, {
|
|
258
|
-
default: () => [b.value.map((l, t) => v(Ve, F({
|
|
259
|
-
key: `tag-${l.value}`,
|
|
260
|
-
class: `${o}-tag`,
|
|
261
|
-
closable: !h.value && !a.readonly && l.closable,
|
|
262
|
-
visible: !0
|
|
263
|
-
}, l.tagProps, {
|
|
264
|
-
onClose: (d) => R(l.value, t, d)
|
|
265
|
-
}), {
|
|
266
|
-
default: () => {
|
|
267
|
-
var d, I, E, C;
|
|
268
|
-
return [(C = (E = (d = n.tag) == null ? void 0 : d.call(n, {
|
|
269
|
-
data: l.raw
|
|
270
|
-
})) != null ? E : (I = a.formatTag) == null ? void 0 : I.call(a, l.raw)) != null ? C : l.label];
|
|
271
|
-
}
|
|
272
|
-
})), v("input", F(de.value, {
|
|
273
|
-
ref: i,
|
|
274
|
-
key: "input-tag-input",
|
|
275
|
-
class: `${o}-input`,
|
|
276
|
-
style: P,
|
|
277
|
-
placeholder: b.value.length === 0 ? a.placeholder : void 0,
|
|
278
|
-
disabled: h.value,
|
|
279
|
-
readonly: a.readonly || a.disabledInput,
|
|
280
|
-
onInput: ae,
|
|
281
|
-
onKeydown: re,
|
|
282
|
-
onFocus: te,
|
|
283
|
-
onBlur: ne,
|
|
284
|
-
onCompositionstart: T,
|
|
285
|
-
onCompositionupdate: T,
|
|
286
|
-
onCompositionend: T
|
|
287
|
-
}), null)]
|
|
288
|
-
}), j.value && v(Ie, {
|
|
289
|
-
class: `${o}-clear-btn`,
|
|
290
|
-
onClick: le,
|
|
291
|
-
onMousedown: (l) => l.stopPropagation()
|
|
292
|
-
}, {
|
|
293
|
-
default: () => [v(Ce, null, null)]
|
|
294
|
-
}), (n.suffix || !!_.value) && v("span", {
|
|
295
|
-
class: `${o}-suffix`
|
|
296
|
-
}, [(e = n.suffix) == null ? void 0 : e.call(n), !!_.value && v(Be, {
|
|
297
|
-
type: _.value
|
|
298
|
-
}, null)])]);
|
|
299
|
-
}
|
|
300
|
-
};
|
|
301
|
-
},
|
|
302
|
-
methods: {
|
|
303
|
-
focus() {
|
|
304
|
-
var a;
|
|
305
|
-
(a = this.inputRef) == null || a.focus();
|
|
306
|
-
},
|
|
307
|
-
blur() {
|
|
308
|
-
var a;
|
|
309
|
-
(a = this.inputRef) == null || a.blur();
|
|
310
|
-
}
|
|
311
|
-
},
|
|
312
|
-
render() {
|
|
313
|
-
return this.render();
|
|
314
|
-
}
|
|
315
|
-
});
|
|
316
|
-
export {
|
|
317
|
-
Ze as default
|
|
318
|
-
};
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { isObject as s, isNumber as n } from "../_utils/is.js";
|
|
2
|
-
var u = Object.defineProperty, l = Object.getOwnPropertySymbols, c = Object.prototype.hasOwnProperty, f = Object.prototype.propertyIsEnumerable, p = (t, r, e) => r in t ? u(t, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[r] = e, i = (t, r) => {
|
|
3
|
-
for (var e in r || (r = {}))
|
|
4
|
-
c.call(r, e) && p(t, e, r[e]);
|
|
5
|
-
if (l)
|
|
6
|
-
for (var e of l(r))
|
|
7
|
-
f.call(r, e) && p(t, e, r[e]);
|
|
8
|
-
return t;
|
|
9
|
-
};
|
|
10
|
-
const b = (t, r) => {
|
|
11
|
-
const e = [];
|
|
12
|
-
for (const o of t)
|
|
13
|
-
if (s(o))
|
|
14
|
-
e.push({
|
|
15
|
-
raw: o,
|
|
16
|
-
value: o[r.value],
|
|
17
|
-
label: o[r.label],
|
|
18
|
-
closable: o[r.closable],
|
|
19
|
-
tagProps: o[r.tagProps]
|
|
20
|
-
});
|
|
21
|
-
else if (t || n(t)) {
|
|
22
|
-
const a = {
|
|
23
|
-
value: o,
|
|
24
|
-
label: String(o),
|
|
25
|
-
closable: !0
|
|
26
|
-
};
|
|
27
|
-
e.push(i({
|
|
28
|
-
raw: a
|
|
29
|
-
}, a));
|
|
30
|
-
}
|
|
31
|
-
return e;
|
|
32
|
-
};
|
|
33
|
-
export {
|
|
34
|
-
b as getValueData
|
|
35
|
-
};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { inject as f, computed as c, reactive as m, ref as v } from "vue";
|
|
2
|
-
import { isString as p } from "../_utils/is.js";
|
|
3
|
-
import { configProviderInjectionKey as d } from "../config-provider/context.js";
|
|
4
|
-
import g from "./lang/zh-cn.js";
|
|
5
|
-
const I = v("zh-CN"), S = m({
|
|
6
|
-
"zh-CN": g
|
|
7
|
-
}), N = () => {
|
|
8
|
-
const n = f(d, void 0), o = c(() => {
|
|
9
|
-
var t;
|
|
10
|
-
return (t = n == null ? void 0 : n.locale) != null ? t : S[I.value];
|
|
11
|
-
}), a = c(() => o.value.locale);
|
|
12
|
-
return {
|
|
13
|
-
i18nMessage: o,
|
|
14
|
-
locale: a,
|
|
15
|
-
t: (t, ...i) => {
|
|
16
|
-
const s = t.split(".");
|
|
17
|
-
let r = o.value;
|
|
18
|
-
for (const e of s) {
|
|
19
|
-
if (!r[e])
|
|
20
|
-
return t;
|
|
21
|
-
r = r[e];
|
|
22
|
-
}
|
|
23
|
-
return p(r) && i.length > 0 ? r.replace(/{(\d+)}/g, (e, u) => {
|
|
24
|
-
var l;
|
|
25
|
-
return (l = i[u]) != null ? l : e;
|
|
26
|
-
}) : r;
|
|
27
|
-
}
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
export {
|
|
31
|
-
N as useI18n
|
|
32
|
-
};
|
|
@@ -1,196 +0,0 @@
|
|
|
1
|
-
const u = {
|
|
2
|
-
formatYear: "YYYY 年",
|
|
3
|
-
formatMonth: "YYYY 年 MM 月",
|
|
4
|
-
today: "今天",
|
|
5
|
-
view: {
|
|
6
|
-
month: "月",
|
|
7
|
-
year: "年",
|
|
8
|
-
week: "周",
|
|
9
|
-
day: "日"
|
|
10
|
-
},
|
|
11
|
-
month: {
|
|
12
|
-
long: {
|
|
13
|
-
January: "一月",
|
|
14
|
-
February: "二月",
|
|
15
|
-
March: "三月",
|
|
16
|
-
April: "四月",
|
|
17
|
-
May: "五月",
|
|
18
|
-
June: "六月",
|
|
19
|
-
July: "七月",
|
|
20
|
-
August: "八月",
|
|
21
|
-
September: "九月",
|
|
22
|
-
October: "十月",
|
|
23
|
-
November: "十一月",
|
|
24
|
-
December: "十二月"
|
|
25
|
-
},
|
|
26
|
-
short: {
|
|
27
|
-
January: "一月",
|
|
28
|
-
February: "二月",
|
|
29
|
-
March: "三月",
|
|
30
|
-
April: "四月",
|
|
31
|
-
May: "五月",
|
|
32
|
-
June: "六月",
|
|
33
|
-
July: "七月",
|
|
34
|
-
August: "八月",
|
|
35
|
-
September: "九月",
|
|
36
|
-
October: "十月",
|
|
37
|
-
November: "十一月",
|
|
38
|
-
December: "十二月"
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
week: {
|
|
42
|
-
long: {
|
|
43
|
-
self: "周",
|
|
44
|
-
monday: "周一",
|
|
45
|
-
tuesday: "周二",
|
|
46
|
-
wednesday: "周三",
|
|
47
|
-
thursday: "周四",
|
|
48
|
-
friday: "周五",
|
|
49
|
-
saturday: "周六",
|
|
50
|
-
sunday: "周日"
|
|
51
|
-
},
|
|
52
|
-
short: {
|
|
53
|
-
self: "周",
|
|
54
|
-
monday: "一",
|
|
55
|
-
tuesday: "二",
|
|
56
|
-
wednesday: "三",
|
|
57
|
-
thursday: "四",
|
|
58
|
-
friday: "五",
|
|
59
|
-
saturday: "六",
|
|
60
|
-
sunday: "日"
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
}, e = {
|
|
64
|
-
locale: "zh-CN",
|
|
65
|
-
empty: {
|
|
66
|
-
description: "暂无数据"
|
|
67
|
-
},
|
|
68
|
-
drawer: {
|
|
69
|
-
okText: "确定",
|
|
70
|
-
cancelText: "取消"
|
|
71
|
-
},
|
|
72
|
-
popconfirm: {
|
|
73
|
-
okText: "确定",
|
|
74
|
-
cancelText: "取消"
|
|
75
|
-
},
|
|
76
|
-
modal: {
|
|
77
|
-
okText: "确定",
|
|
78
|
-
cancelText: "取消"
|
|
79
|
-
},
|
|
80
|
-
pagination: {
|
|
81
|
-
goto: "前往",
|
|
82
|
-
page: "页",
|
|
83
|
-
countPerPage: "条/页",
|
|
84
|
-
total: "共 {0} 条"
|
|
85
|
-
},
|
|
86
|
-
table: {
|
|
87
|
-
okText: "确定",
|
|
88
|
-
resetText: "重置"
|
|
89
|
-
},
|
|
90
|
-
upload: {
|
|
91
|
-
start: "开始",
|
|
92
|
-
cancel: "取消",
|
|
93
|
-
delete: "删除",
|
|
94
|
-
retry: "点击重试",
|
|
95
|
-
buttonText: "点击上传",
|
|
96
|
-
preview: "预览",
|
|
97
|
-
drag: "点击或拖拽文件到此处上传",
|
|
98
|
-
dragHover: "释放文件并开始上传",
|
|
99
|
-
error: "上传失败"
|
|
100
|
-
},
|
|
101
|
-
calendar: u,
|
|
102
|
-
datePicker: {
|
|
103
|
-
view: u.view,
|
|
104
|
-
month: u.month,
|
|
105
|
-
week: u.week,
|
|
106
|
-
placeholder: {
|
|
107
|
-
date: "请选择日期",
|
|
108
|
-
week: "请选择周",
|
|
109
|
-
month: "请选择月份",
|
|
110
|
-
year: "请选择年份",
|
|
111
|
-
quarter: "请选择季度",
|
|
112
|
-
time: "请选择时间"
|
|
113
|
-
},
|
|
114
|
-
rangePlaceholder: {
|
|
115
|
-
date: ["开始日期", "结束日期"],
|
|
116
|
-
week: ["开始周", "结束周"],
|
|
117
|
-
month: ["开始月份", "结束月份"],
|
|
118
|
-
year: ["开始年份", "结束年份"],
|
|
119
|
-
quarter: ["开始季度", "结束季度"],
|
|
120
|
-
time: ["开始时间", "结束时间"]
|
|
121
|
-
},
|
|
122
|
-
selectTime: "选择时间",
|
|
123
|
-
today: "今天",
|
|
124
|
-
now: "此刻",
|
|
125
|
-
ok: "确定"
|
|
126
|
-
},
|
|
127
|
-
image: {
|
|
128
|
-
loading: "加载中"
|
|
129
|
-
},
|
|
130
|
-
imagePreview: {
|
|
131
|
-
fullScreen: "全屏",
|
|
132
|
-
rotateRight: "向右旋转",
|
|
133
|
-
rotateLeft: "向左旋转",
|
|
134
|
-
zoomIn: "放大",
|
|
135
|
-
zoomOut: "缩小",
|
|
136
|
-
originalSize: "原始尺寸"
|
|
137
|
-
},
|
|
138
|
-
typography: {
|
|
139
|
-
copied: "已复制",
|
|
140
|
-
copy: "复制",
|
|
141
|
-
expand: "展开",
|
|
142
|
-
collapse: "折叠",
|
|
143
|
-
edit: "编辑"
|
|
144
|
-
},
|
|
145
|
-
form: {
|
|
146
|
-
validateMessages: {
|
|
147
|
-
required: "#{field} 是必填项",
|
|
148
|
-
type: {
|
|
149
|
-
string: "#{field} 不是合法的文本类型",
|
|
150
|
-
number: "#{field} 不是合法的数字类型",
|
|
151
|
-
boolean: "#{field} 不是合法的布尔类型",
|
|
152
|
-
array: "#{field} 不是合法的数组类型",
|
|
153
|
-
object: "#{field} 不是合法的对象类型",
|
|
154
|
-
url: "#{field} 不是合法的 url 地址",
|
|
155
|
-
email: "#{field} 不是合法的邮箱地址",
|
|
156
|
-
ip: "#{field} 不是合法的 IP 地址"
|
|
157
|
-
},
|
|
158
|
-
number: {
|
|
159
|
-
min: "`#{value}` 小于最小值 `#{min}`",
|
|
160
|
-
max: "`#{value}` 大于最大值 `#{max}`",
|
|
161
|
-
equal: "`#{value}` 不等于 `#{equal}`",
|
|
162
|
-
range: "`#{value}` 不在 `#{min} ~ #{max}` 范围内",
|
|
163
|
-
positive: "`#{value}` 不是正数",
|
|
164
|
-
negative: "`#{value}` 不是负数"
|
|
165
|
-
},
|
|
166
|
-
array: {
|
|
167
|
-
length: "`#{field}` 个数不等于 #{length}",
|
|
168
|
-
minLength: "`#{field}` 个数最少为 #{minLength}",
|
|
169
|
-
maxLength: "`#{field}` 个数最多为 #{maxLength}",
|
|
170
|
-
includes: "#{field} 不包含 #{includes}",
|
|
171
|
-
deepEqual: "#{field} 不等于 #{deepEqual}",
|
|
172
|
-
empty: "`#{field}` 不是空数组"
|
|
173
|
-
},
|
|
174
|
-
string: {
|
|
175
|
-
minLength: "字符数最少为 #{minLength}",
|
|
176
|
-
maxLength: "字符数最多为 #{maxLength}",
|
|
177
|
-
length: "字符数必须是 #{length}",
|
|
178
|
-
match: "`#{value}` 不符合模式 #{pattern}",
|
|
179
|
-
uppercase: "`#{value}` 必须全大写",
|
|
180
|
-
lowercase: "`#{value}` 必须全小写"
|
|
181
|
-
},
|
|
182
|
-
object: {
|
|
183
|
-
deepEqual: "`#{field}` 不等于期望值",
|
|
184
|
-
hasKeys: "`#{field}` 不包含必须字段",
|
|
185
|
-
empty: "`#{field}` 不是对象"
|
|
186
|
-
},
|
|
187
|
-
boolean: {
|
|
188
|
-
true: "期望是 `true`",
|
|
189
|
-
false: "期望是 `false`"
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
};
|
|
194
|
-
export {
|
|
195
|
-
e as default
|
|
196
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { setGlobalConfig as r, getComponentPrefix as i } from "../_utils/global-config.js";
|
|
2
|
-
import n from "./radio.js";
|
|
3
|
-
import t from "./radio-group.js";
|
|
4
|
-
const s = Object.assign(n, {
|
|
5
|
-
Group: t,
|
|
6
|
-
install: (o, e) => {
|
|
7
|
-
r(o, e);
|
|
8
|
-
const m = i(e);
|
|
9
|
-
o.component(m + n.name, n), o.component(m + t.name, t);
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
export {
|
|
13
|
-
t as RadioGroup,
|
|
14
|
-
s as default
|
|
15
|
-
};
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
import { defineComponent as $, toRefs as z, ref as C, computed as o, provide as N, reactive as R, watch as c, createVNode as b } from "vue";
|
|
2
|
-
import { getPrefixCls as G } from "../_utils/global-config.js";
|
|
3
|
-
import { radioGroupKey as x } from "./context.js";
|
|
4
|
-
import { isString as B, isNumber as A, isUndefined as F, isNull as k, isFunction as w } from "../_utils/is.js";
|
|
5
|
-
import { useFormItem as D } from "../_hooks/use-form-item.js";
|
|
6
|
-
import H from "./radio.js";
|
|
7
|
-
var E = $({
|
|
8
|
-
name: "RadioGroup",
|
|
9
|
-
props: {
|
|
10
|
-
modelValue: {
|
|
11
|
-
type: [String, Number, Boolean],
|
|
12
|
-
default: void 0
|
|
13
|
-
},
|
|
14
|
-
defaultValue: {
|
|
15
|
-
type: [String, Number, Boolean],
|
|
16
|
-
default: ""
|
|
17
|
-
},
|
|
18
|
-
type: {
|
|
19
|
-
type: String,
|
|
20
|
-
default: "radio"
|
|
21
|
-
},
|
|
22
|
-
size: {
|
|
23
|
-
type: String
|
|
24
|
-
},
|
|
25
|
-
options: {
|
|
26
|
-
type: Array
|
|
27
|
-
},
|
|
28
|
-
direction: {
|
|
29
|
-
type: String,
|
|
30
|
-
default: "horizontal"
|
|
31
|
-
},
|
|
32
|
-
disabled: {
|
|
33
|
-
type: Boolean,
|
|
34
|
-
default: !1
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
emits: {
|
|
38
|
-
"update:modelValue": (a) => !0,
|
|
39
|
-
change: (a, d) => !0
|
|
40
|
-
},
|
|
41
|
-
setup(a, {
|
|
42
|
-
emit: d,
|
|
43
|
-
slots: u
|
|
44
|
-
}) {
|
|
45
|
-
const t = G("radio-group"), {
|
|
46
|
-
size: p,
|
|
47
|
-
type: g,
|
|
48
|
-
disabled: y,
|
|
49
|
-
modelValue: h
|
|
50
|
-
} = z(a), {
|
|
51
|
-
mergedDisabled: m,
|
|
52
|
-
mergedSize: v,
|
|
53
|
-
eventHandlers: V
|
|
54
|
-
} = D({
|
|
55
|
-
size: p,
|
|
56
|
-
disabled: y
|
|
57
|
-
}), r = C(a.defaultValue), n = o(() => {
|
|
58
|
-
var e;
|
|
59
|
-
return (e = a.modelValue) != null ? e : r.value;
|
|
60
|
-
}), s = o(() => {
|
|
61
|
-
var e;
|
|
62
|
-
return ((e = a.options) != null ? e : []).map((l) => B(l) || A(l) ? {
|
|
63
|
-
label: l,
|
|
64
|
-
value: l
|
|
65
|
-
} : l);
|
|
66
|
-
});
|
|
67
|
-
N(x, R({
|
|
68
|
-
name: "ArcoRadioGroup",
|
|
69
|
-
value: n,
|
|
70
|
-
size: v,
|
|
71
|
-
type: g,
|
|
72
|
-
disabled: m,
|
|
73
|
-
slots: u,
|
|
74
|
-
handleChange: (e, l) => {
|
|
75
|
-
var i, f;
|
|
76
|
-
r.value = e, d("update:modelValue", e), d("change", e, l), (f = (i = V.value) == null ? void 0 : i.onChange) == null || f.call(i, l);
|
|
77
|
-
}
|
|
78
|
-
})), c(n, (e) => {
|
|
79
|
-
r.value !== e && (r.value = e);
|
|
80
|
-
}), c(h, (e) => {
|
|
81
|
-
(F(e) || k(e)) && (r.value = "");
|
|
82
|
-
});
|
|
83
|
-
const S = o(() => [`${t}${a.type === "button" ? "-button" : ""}`, `${t}-size-${v.value}`, `${t}-direction-${a.direction}`, {
|
|
84
|
-
[`${t}-disabled`]: m.value
|
|
85
|
-
}]), _ = () => s.value.map((e) => b(H, {
|
|
86
|
-
key: e.value,
|
|
87
|
-
value: e.value,
|
|
88
|
-
disabled: e.disabled,
|
|
89
|
-
modelValue: n.value === e.value
|
|
90
|
-
}, {
|
|
91
|
-
default: () => [u.label ? u.label({
|
|
92
|
-
data: e
|
|
93
|
-
}) : w(e.label) ? e.label() : e.label]
|
|
94
|
-
}));
|
|
95
|
-
return () => {
|
|
96
|
-
var e;
|
|
97
|
-
return b("span", {
|
|
98
|
-
class: S.value
|
|
99
|
-
}, [s.value.length > 0 ? _() : (e = u.default) == null ? void 0 : e.call(u)]);
|
|
100
|
-
};
|
|
101
|
-
}
|
|
102
|
-
});
|
|
103
|
-
export {
|
|
104
|
-
E as default
|
|
105
|
-
};
|