oxy-uni-ui 1.0.1
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/LICENSE +21 -0
- package/README.md +13 -0
- package/attributes.json +1 -0
- package/components/common/AbortablePromise.ts +28 -0
- package/components/common/abstracts/_config.scss +7 -0
- package/components/common/abstracts/_function.scss +89 -0
- package/components/common/abstracts/_mixin.scss +385 -0
- package/components/common/abstracts/variable.scss +974 -0
- package/components/common/base64.ts +29 -0
- package/components/common/canvasHelper.ts +49 -0
- package/components/common/clickoutside.ts +25 -0
- package/components/common/event.ts +8 -0
- package/components/common/interceptor.ts +43 -0
- package/components/common/props.ts +51 -0
- package/components/common/util.ts +778 -0
- package/components/composables/index.ts +11 -0
- package/components/composables/useCell.ts +13 -0
- package/components/composables/useChildren.ts +113 -0
- package/components/composables/useCountDown.ts +138 -0
- package/components/composables/useLockScroll.ts +37 -0
- package/components/composables/useParent.ts +41 -0
- package/components/composables/usePopover.ts +176 -0
- package/components/composables/useQueue.ts +52 -0
- package/components/composables/useRaf.ts +37 -0
- package/components/composables/useTouch.ts +43 -0
- package/components/composables/useTranslate.ts +12 -0
- package/components/composables/useUpload.ts +364 -0
- package/components/oxy-action-sheet/index.scss +204 -0
- package/components/oxy-action-sheet/oxy-action-sheet.vue +155 -0
- package/components/oxy-action-sheet/types.ts +118 -0
- package/components/oxy-backtop/index.scss +25 -0
- package/components/oxy-backtop/oxy-backtop.vue +45 -0
- package/components/oxy-backtop/types.ts +37 -0
- package/components/oxy-badge/index.scss +63 -0
- package/components/oxy-badge/oxy-badge.vue +61 -0
- package/components/oxy-badge/types.ts +41 -0
- package/components/oxy-button/index.scss +336 -0
- package/components/oxy-button/oxy-button.vue +195 -0
- package/components/oxy-button/types.ts +133 -0
- package/components/oxy-calendar/index.scss +158 -0
- package/components/oxy-calendar/oxy-calendar.vue +451 -0
- package/components/oxy-calendar/types.ts +217 -0
- package/components/oxy-calendar-view/index.scss +0 -0
- package/components/oxy-calendar-view/month/index.scss +162 -0
- package/components/oxy-calendar-view/month/month.vue +389 -0
- package/components/oxy-calendar-view/month/types.ts +20 -0
- package/components/oxy-calendar-view/monthPanel/index.scss +89 -0
- package/components/oxy-calendar-view/monthPanel/month-panel.vue +374 -0
- package/components/oxy-calendar-view/monthPanel/types.ts +48 -0
- package/components/oxy-calendar-view/oxy-calendar-view.vue +111 -0
- package/components/oxy-calendar-view/types.ts +109 -0
- package/components/oxy-calendar-view/utils.ts +429 -0
- package/components/oxy-calendar-view/year/index.scss +153 -0
- package/components/oxy-calendar-view/year/types.ts +20 -0
- package/components/oxy-calendar-view/year/year.vue +202 -0
- package/components/oxy-calendar-view/yearPanel/index.scss +24 -0
- package/components/oxy-calendar-view/yearPanel/types.ts +38 -0
- package/components/oxy-calendar-view/yearPanel/year-panel.vue +135 -0
- package/components/oxy-card/index.scss +71 -0
- package/components/oxy-card/oxy-card.vue +37 -0
- package/components/oxy-card/types.ts +30 -0
- package/components/oxy-cell/index.scss +206 -0
- package/components/oxy-cell/oxy-cell.vue +140 -0
- package/components/oxy-cell/types.ts +111 -0
- package/components/oxy-cell-group/index.scss +56 -0
- package/components/oxy-cell-group/oxy-cell-group.vue +45 -0
- package/components/oxy-cell-group/types.ts +32 -0
- package/components/oxy-checkbox/index.scss +285 -0
- package/components/oxy-checkbox/oxy-checkbox.vue +177 -0
- package/components/oxy-checkbox/types.ts +68 -0
- package/components/oxy-checkbox-group/index.scss +20 -0
- package/components/oxy-checkbox-group/oxy-checkbox-group.vue +100 -0
- package/components/oxy-checkbox-group/types.ts +59 -0
- package/components/oxy-circle/index.scss +18 -0
- package/components/oxy-circle/oxy-circle.vue +296 -0
- package/components/oxy-circle/types.ts +54 -0
- package/components/oxy-col/index.scss +19 -0
- package/components/oxy-col/oxy-col.vue +49 -0
- package/components/oxy-col/types.ts +15 -0
- package/components/oxy-col-picker/index.scss +168 -0
- package/components/oxy-col-picker/oxy-col-picker.vue +498 -0
- package/components/oxy-col-picker/types.ts +166 -0
- package/components/oxy-collapse/index.scss +55 -0
- package/components/oxy-collapse/oxy-collapse.vue +151 -0
- package/components/oxy-collapse/types.ts +58 -0
- package/components/oxy-collapse-item/index.scss +90 -0
- package/components/oxy-collapse-item/oxy-collapse-item.vue +171 -0
- package/components/oxy-collapse-item/types.ts +48 -0
- package/components/oxy-config-provider/oxy-config-provider.vue +73 -0
- package/components/oxy-config-provider/types.ts +1052 -0
- package/components/oxy-count-down/index.scss +15 -0
- package/components/oxy-count-down/oxy-count-down.vue +60 -0
- package/components/oxy-count-down/types.ts +41 -0
- package/components/oxy-count-down/utils.ts +52 -0
- package/components/oxy-count-to/index.scss +7 -0
- package/components/oxy-count-to/oxy-count-to.vue +125 -0
- package/components/oxy-count-to/types.ts +117 -0
- package/components/oxy-curtain/index.scss +85 -0
- package/components/oxy-curtain/oxy-curtain.vue +172 -0
- package/components/oxy-curtain/types.ts +73 -0
- package/components/oxy-datetime-picker/index.scss +164 -0
- package/components/oxy-datetime-picker/oxy-datetime-picker.vue +801 -0
- package/components/oxy-datetime-picker/types.ts +231 -0
- package/components/oxy-datetime-picker-view/oxy-datetime-picker-view.vue +499 -0
- package/components/oxy-datetime-picker-view/types.ts +120 -0
- package/components/oxy-datetime-picker-view/util.ts +30 -0
- package/components/oxy-design-uni/oxy-design-uni.vue +5 -0
- package/components/oxy-divider/index.scss +100 -0
- package/components/oxy-divider/oxy-divider.vue +52 -0
- package/components/oxy-divider/types.ts +35 -0
- package/components/oxy-drop-menu/index.scss +86 -0
- package/components/oxy-drop-menu/oxy-drop-menu.vue +166 -0
- package/components/oxy-drop-menu/types.ts +38 -0
- package/components/oxy-drop-menu-item/index.scss +66 -0
- package/components/oxy-drop-menu-item/oxy-drop-menu-item.vue +221 -0
- package/components/oxy-drop-menu-item/types.ts +94 -0
- package/components/oxy-fab/index.scss +116 -0
- package/components/oxy-fab/oxy-fab.vue +276 -0
- package/components/oxy-fab/types.ts +66 -0
- package/components/oxy-floating-panel/index.scss +64 -0
- package/components/oxy-floating-panel/oxy-floating-panel.vue +140 -0
- package/components/oxy-floating-panel/type.ts +32 -0
- package/components/oxy-form/oxy-form.vue +207 -0
- package/components/oxy-form/types.ts +76 -0
- package/components/oxy-form-item/index.scss +18 -0
- package/components/oxy-form-item/oxy-form-item.vue +56 -0
- package/components/oxy-form-item/types.ts +16 -0
- package/components/oxy-gap/index.scss +9 -0
- package/components/oxy-gap/oxy-gap.vue +36 -0
- package/components/oxy-gap/types.ts +17 -0
- package/components/oxy-grid/index.scss +9 -0
- package/components/oxy-grid/oxy-grid.vue +106 -0
- package/components/oxy-grid/types.ts +50 -0
- package/components/oxy-grid-item/index.scss +148 -0
- package/components/oxy-grid-item/oxy-grid-item.vue +176 -0
- package/components/oxy-grid-item/types.ts +77 -0
- package/components/oxy-icon/index.scss +1230 -0
- package/components/oxy-icon/oxy-icon.vue +53 -0
- package/components/oxy-icon/oxy-icons.ttf +0 -0
- package/components/oxy-icon/types.ts +21 -0
- package/components/oxy-img/index.scss +19 -0
- package/components/oxy-img/oxy-img.vue +81 -0
- package/components/oxy-img/types.ts +61 -0
- package/components/oxy-img-cropper/index.scss +231 -0
- package/components/oxy-img-cropper/oxy-img-cropper.vue +664 -0
- package/components/oxy-img-cropper/types.ts +76 -0
- package/components/oxy-index-anchor/index.scss +35 -0
- package/components/oxy-index-anchor/oxy-index-anchor.vue +55 -0
- package/components/oxy-index-anchor/type.ts +9 -0
- package/components/oxy-index-bar/index.scss +39 -0
- package/components/oxy-index-bar/oxy-index-bar.vue +156 -0
- package/components/oxy-index-bar/type.ts +23 -0
- package/components/oxy-input/index.scss +323 -0
- package/components/oxy-input/oxy-input.vue +300 -0
- package/components/oxy-input/placeholder.scss +21 -0
- package/components/oxy-input/types.ts +189 -0
- package/components/oxy-input-number/index.scss +132 -0
- package/components/oxy-input-number/oxy-input-number.vue +464 -0
- package/components/oxy-input-number/types.ts +101 -0
- package/components/oxy-keyboard/constants.ts +81 -0
- package/components/oxy-keyboard/index.scss +102 -0
- package/components/oxy-keyboard/key/index.scss +79 -0
- package/components/oxy-keyboard/key/index.vue +76 -0
- package/components/oxy-keyboard/key/types.ts +11 -0
- package/components/oxy-keyboard/oxy-keyboard.vue +206 -0
- package/components/oxy-keyboard/types.ts +92 -0
- package/components/oxy-loading/index.scss +37 -0
- package/components/oxy-loading/oxy-loading.vue +90 -0
- package/components/oxy-loading/types.ts +22 -0
- package/components/oxy-loadmore/index.scss +39 -0
- package/components/oxy-loadmore/oxy-loadmore.vue +59 -0
- package/components/oxy-loadmore/types.ts +30 -0
- package/components/oxy-message-box/index.scss +108 -0
- package/components/oxy-message-box/index.ts +87 -0
- package/components/oxy-message-box/oxy-message-box.vue +291 -0
- package/components/oxy-message-box/types.ts +132 -0
- package/components/oxy-navbar/index.scss +93 -0
- package/components/oxy-navbar/oxy-navbar.vue +111 -0
- package/components/oxy-navbar/types.ts +52 -0
- package/components/oxy-navbar-capsule/index.scss +66 -0
- package/components/oxy-navbar-capsule/oxy-navbar-capsule.vue +35 -0
- package/components/oxy-navbar-capsule/types.ts +8 -0
- package/components/oxy-notice-bar/index.scss +68 -0
- package/components/oxy-notice-bar/oxy-notice-bar.vue +266 -0
- package/components/oxy-notice-bar/types.ts +67 -0
- package/components/oxy-notify/index.scss +34 -0
- package/components/oxy-notify/index.ts +61 -0
- package/components/oxy-notify/oxy-notify.vue +85 -0
- package/components/oxy-notify/types.ts +66 -0
- package/components/oxy-number-keyboard/index.scss +78 -0
- package/components/oxy-number-keyboard/key/index.scss +81 -0
- package/components/oxy-number-keyboard/key/index.vue +78 -0
- package/components/oxy-number-keyboard/key/types.ts +11 -0
- package/components/oxy-number-keyboard/oxy-number-keyboard.vue +151 -0
- package/components/oxy-number-keyboard/types.ts +83 -0
- package/components/oxy-overlay/index.scss +17 -0
- package/components/oxy-overlay/oxy-overlay.vue +47 -0
- package/components/oxy-overlay/types.ts +25 -0
- package/components/oxy-pagination/index.scss +57 -0
- package/components/oxy-pagination/oxy-pagination.vue +110 -0
- package/components/oxy-pagination/types.ts +41 -0
- package/components/oxy-password-input/index.scss +124 -0
- package/components/oxy-password-input/oxy-password-input.vue +49 -0
- package/components/oxy-password-input/types.ts +33 -0
- package/components/oxy-picker/index.scss +110 -0
- package/components/oxy-picker/oxy-picker.vue +412 -0
- package/components/oxy-picker/types.ts +189 -0
- package/components/oxy-picker-view/index.scss +92 -0
- package/components/oxy-picker-view/oxy-picker-view.vue +369 -0
- package/components/oxy-picker-view/types.ts +152 -0
- package/components/oxy-popover/index.scss +116 -0
- package/components/oxy-popover/oxy-popover.vue +180 -0
- package/components/oxy-popover/types.ts +69 -0
- package/components/oxy-popup/index.scss +84 -0
- package/components/oxy-popup/oxy-popup.vue +169 -0
- package/components/oxy-popup/types.ts +95 -0
- package/components/oxy-progress/index.scss +68 -0
- package/components/oxy-progress/oxy-progress.vue +197 -0
- package/components/oxy-progress/types.ts +35 -0
- package/components/oxy-radio/index.scss +301 -0
- package/components/oxy-radio/oxy-radio.vue +118 -0
- package/components/oxy-radio/types.ts +42 -0
- package/components/oxy-radio-group/index.scss +23 -0
- package/components/oxy-radio-group/oxy-radio-group.vue +51 -0
- package/components/oxy-radio-group/types.ts +39 -0
- package/components/oxy-rate/index.scss +25 -0
- package/components/oxy-rate/oxy-rate.vue +178 -0
- package/components/oxy-rate/types.ts +103 -0
- package/components/oxy-resize/index.scss +27 -0
- package/components/oxy-resize/oxy-resize.vue +144 -0
- package/components/oxy-resize/types.ts +6 -0
- package/components/oxy-root-portal/oxy-root-portal.vue +50 -0
- package/components/oxy-row/index.scss +10 -0
- package/components/oxy-row/oxy-row.vue +42 -0
- package/components/oxy-row/types.ts +16 -0
- package/components/oxy-search/index.scss +148 -0
- package/components/oxy-search/oxy-search.vue +187 -0
- package/components/oxy-search/types.ts +93 -0
- package/components/oxy-segmented/index.scss +101 -0
- package/components/oxy-segmented/oxy-segmented.vue +143 -0
- package/components/oxy-segmented/types.ts +71 -0
- package/components/oxy-select-picker/index.scss +102 -0
- package/components/oxy-select-picker/oxy-select-picker.vue +432 -0
- package/components/oxy-select-picker/types.ts +123 -0
- package/components/oxy-sidebar/index.scss +25 -0
- package/components/oxy-sidebar/oxy-sidebar.vue +63 -0
- package/components/oxy-sidebar/types.ts +38 -0
- package/components/oxy-sidebar-item/index.scss +97 -0
- package/components/oxy-sidebar-item/oxy-sidebar-item.vue +116 -0
- package/components/oxy-sidebar-item/types.ts +31 -0
- package/components/oxy-signature/index.scss +31 -0
- package/components/oxy-signature/oxy-signature.vue +630 -0
- package/components/oxy-signature/types.ts +108 -0
- package/components/oxy-skeleton/index.scss +96 -0
- package/components/oxy-skeleton/index.ts +1 -0
- package/components/oxy-skeleton/oxy-skeleton.vue +110 -0
- package/components/oxy-skeleton/types.ts +69 -0
- package/components/oxy-slider/index.scss +98 -0
- package/components/oxy-slider/oxy-slider.vue +356 -0
- package/components/oxy-slider/types.ts +138 -0
- package/components/oxy-sort-button/index.scss +89 -0
- package/components/oxy-sort-button/oxy-sort-button.vue +69 -0
- package/components/oxy-sort-button/types.ts +43 -0
- package/components/oxy-status-tip/images/collect.png +0 -0
- package/components/oxy-status-tip/images/content.png +0 -0
- package/components/oxy-status-tip/images/network.png +0 -0
- package/components/oxy-status-tip/images/search.png +0 -0
- package/components/oxy-status-tip/index.scss +37 -0
- package/components/oxy-status-tip/oxy-status-tip.vue +71 -0
- package/components/oxy-status-tip/types.ts +50 -0
- package/components/oxy-step/index.scss +235 -0
- package/components/oxy-step/oxy-step.vue +150 -0
- package/components/oxy-step/types.ts +33 -0
- package/components/oxy-steps/index.scss +10 -0
- package/components/oxy-steps/oxy-steps.vue +28 -0
- package/components/oxy-steps/types.ts +50 -0
- package/components/oxy-sticky/index.scss +9 -0
- package/components/oxy-sticky/oxy-sticky.vue +190 -0
- package/components/oxy-sticky/types.ts +13 -0
- package/components/oxy-sticky-box/index.scss +6 -0
- package/components/oxy-sticky-box/oxy-sticky-box.vue +155 -0
- package/components/oxy-sticky-box/types.ts +11 -0
- package/components/oxy-swipe-action/index.scss +22 -0
- package/components/oxy-swipe-action/oxy-swipe-action.vue +294 -0
- package/components/oxy-swipe-action/types.ts +40 -0
- package/components/oxy-swiper/index.scss +53 -0
- package/components/oxy-swiper/oxy-swiper.vue +318 -0
- package/components/oxy-swiper/types.ts +264 -0
- package/components/oxy-swiper-nav/index.scss +159 -0
- package/components/oxy-swiper-nav/oxy-swiper-nav.vue +37 -0
- package/components/oxy-swiper-nav/types.ts +42 -0
- package/components/oxy-switch/index.scss +58 -0
- package/components/oxy-switch/oxy-switch.vue +83 -0
- package/components/oxy-switch/types.ts +58 -0
- package/components/oxy-tab/index.scss +16 -0
- package/components/oxy-tab/oxy-tab.vue +88 -0
- package/components/oxy-tab/types.ts +30 -0
- package/components/oxy-tabbar/index.scss +62 -0
- package/components/oxy-tabbar/oxy-tabbar.vue +91 -0
- package/components/oxy-tabbar/types.ts +73 -0
- package/components/oxy-tabbar-item/index.scss +55 -0
- package/components/oxy-tabbar-item/oxy-tabbar-item.vue +99 -0
- package/components/oxy-tabbar-item/types.ts +51 -0
- package/components/oxy-table/index.scss +163 -0
- package/components/oxy-table/oxy-table.vue +283 -0
- package/components/oxy-table/types.ts +58 -0
- package/components/oxy-table-col/index.scss +46 -0
- package/components/oxy-table-col/oxy-table-col.vue +149 -0
- package/components/oxy-table-col/types.ts +54 -0
- package/components/oxy-tabs/index.scss +299 -0
- package/components/oxy-tabs/oxy-tabs.vue +443 -0
- package/components/oxy-tabs/types.ts +107 -0
- package/components/oxy-tag/index.scss +115 -0
- package/components/oxy-tag/oxy-tag.vue +148 -0
- package/components/oxy-tag/types.ts +81 -0
- package/components/oxy-text/index.scss +37 -0
- package/components/oxy-text/oxy-text.vue +139 -0
- package/components/oxy-text/types.ts +98 -0
- package/components/oxy-textarea/index.scss +340 -0
- package/components/oxy-textarea/oxy-textarea.vue +296 -0
- package/components/oxy-textarea/placeholder.scss +20 -0
- package/components/oxy-textarea/types.ts +288 -0
- package/components/oxy-toast/index.scss +75 -0
- package/components/oxy-toast/index.ts +92 -0
- package/components/oxy-toast/oxy-toast.vue +198 -0
- package/components/oxy-toast/types.ts +181 -0
- package/components/oxy-tooltip/index.scss +66 -0
- package/components/oxy-tooltip/oxy-tooltip.vue +141 -0
- package/components/oxy-tooltip/types.ts +107 -0
- package/components/oxy-transition/index.scss +95 -0
- package/components/oxy-transition/oxy-transition.vue +232 -0
- package/components/oxy-transition/types.ts +98 -0
- package/components/oxy-upload/index.scss +175 -0
- package/components/oxy-upload/oxy-upload.vue +673 -0
- package/components/oxy-upload/types.ts +391 -0
- package/components/oxy-video-preview/index.scss +34 -0
- package/components/oxy-video-preview/oxy-video-preview.vue +72 -0
- package/components/oxy-video-preview/types.ts +23 -0
- package/components/oxy-watermark/index.scss +18 -0
- package/components/oxy-watermark/oxy-watermark.vue +486 -0
- package/components/oxy-watermark/types.ts +76 -0
- package/dayjs/constant.js +26 -0
- package/dayjs/index.d.ts +430 -0
- package/dayjs/index.js +542 -0
- package/dayjs/locale/en.js +13 -0
- package/dayjs/utils.js +59 -0
- package/global.d.ts +101 -0
- package/index.ts +12 -0
- package/locale/index.ts +32 -0
- package/locale/lang/ar-SA.ts +133 -0
- package/locale/lang/en-US.ts +133 -0
- package/locale/lang/zh-CN.ts +137 -0
- package/package.json +1 -0
- package/tags.json +1 -0
- package/web-types.json +1 -0
package/global.d.ts
ADDED
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
declare module 'vue' {
|
|
2
|
+
// Helper for Volar
|
|
3
|
+
export interface GlobalComponents {
|
|
4
|
+
OxyActionSheet: typeof import('./components/oxy-action-sheet/oxy-action-sheet.vue')['default']
|
|
5
|
+
OxyBadge: typeof import('./components/oxy-badge/oxy-badge.vue')['default']
|
|
6
|
+
OxyButton: typeof import('./components/oxy-button/oxy-button.vue')['default']
|
|
7
|
+
OxyCalendar: typeof import('./components/oxy-calendar/oxy-calendar.vue')['default']
|
|
8
|
+
OxyCalendarView: typeof import('./components/oxy-calendar-view/oxy-calendar-view.vue')['default']
|
|
9
|
+
OxyCard: typeof import('./components/oxy-card/oxy-card.vue')['default']
|
|
10
|
+
OxyCell: typeof import('./components/oxy-cell/oxy-cell.vue')['default']
|
|
11
|
+
OxyCellGroup: typeof import('./components/oxy-cell-group/oxy-cell-group.vue')['default']
|
|
12
|
+
OxyCheckbox: typeof import('./components/oxy-checkbox/oxy-checkbox.vue')['default']
|
|
13
|
+
OxyCheckboxGroup: typeof import('./components/oxy-checkbox-group/oxy-checkbox-group.vue')['default']
|
|
14
|
+
OxyCol: typeof import('./components/oxy-col/oxy-col.vue')['default']
|
|
15
|
+
OxyColPicker: typeof import('./components/oxy-col-picker/oxy-col-picker.vue')['default']
|
|
16
|
+
OxyCollapse: typeof import('./components/oxy-collapse/oxy-collapse.vue')['default']
|
|
17
|
+
OxyCollapseItem: typeof import('./components/oxy-collapse-item/oxy-collapse-item.vue')['default']
|
|
18
|
+
OxyConfigProvider: typeof import('./components/oxy-config-provider/oxy-config-provider.vue')['default']
|
|
19
|
+
OxyCurtain: typeof import('./components/oxy-curtain/oxy-curtain.vue')['default']
|
|
20
|
+
OxyDatetimePicker: typeof import('./components/oxy-datetime-picker/oxy-datetime-picker.vue')['default']
|
|
21
|
+
OxyDatetimePickerView: typeof import('./components/oxy-datetime-picker-view/oxy-datetime-picker-view.vue')['default']
|
|
22
|
+
OxyDivider: typeof import('./components/oxy-divider/oxy-divider.vue')['default']
|
|
23
|
+
OxyDropMenu: typeof import('./components/oxy-drop-menu/oxy-drop-menu.vue')['default']
|
|
24
|
+
OxyDropMenuItem: typeof import('./components/oxy-drop-menu-item/oxy-drop-menu-item.vue')['default']
|
|
25
|
+
OxyGrid: typeof import('./components/oxy-grid/oxy-grid.vue')['default']
|
|
26
|
+
OxyGridItem: typeof import('./components/oxy-grid-item/oxy-grid-item.vue')['default']
|
|
27
|
+
OxyIcon: typeof import('./components/oxy-icon/oxy-icon.vue')['default']
|
|
28
|
+
OxyImg: typeof import('./components/oxy-img/oxy-img.vue')['default']
|
|
29
|
+
OxyImgCropper: typeof import('./components/oxy-img-cropper/oxy-img-cropper.vue')['default']
|
|
30
|
+
OxyInput: typeof import('./components/oxy-input/oxy-input.vue')['default']
|
|
31
|
+
OxyInputNumber: typeof import('./components/oxy-input-number/oxy-input-number.vue')['default']
|
|
32
|
+
OxyLoading: typeof import('./components/oxy-loading/oxy-loading.vue')['default']
|
|
33
|
+
OxyLoadmore: typeof import('./components/oxy-loadmore/oxy-loadmore.vue')['default']
|
|
34
|
+
OxyMessageBox: typeof import('./components/oxy-message-box/oxy-message-box.vue')['default']
|
|
35
|
+
OxyOverlay: typeof import('./components/oxy-overlay/oxy-overlay.vue')['default']
|
|
36
|
+
OxyNoticeBar: typeof import('./components/oxy-notice-bar/oxy-notice-bar.vue')['default']
|
|
37
|
+
OxyPagination: typeof import('./components/oxy-pagination/oxy-pagination.vue')['default']
|
|
38
|
+
OxyPicker: typeof import('./components/oxy-picker/oxy-picker.vue')['default']
|
|
39
|
+
OxyPickerView: typeof import('./components/oxy-picker-view/oxy-picker-view.vue')['default']
|
|
40
|
+
OxyPopover: typeof import('./components/oxy-popover/oxy-popover.vue')['default']
|
|
41
|
+
OxyPopup: typeof import('./components/oxy-popup/oxy-popup.vue')['default']
|
|
42
|
+
OxyProgress: typeof import('./components/oxy-progress/oxy-progress.vue')['default']
|
|
43
|
+
OxyRadio: typeof import('./components/oxy-radio/oxy-radio.vue')['default']
|
|
44
|
+
OxyRadioGroup: typeof import('./components/oxy-radio-group/oxy-radio-group.vue')['default']
|
|
45
|
+
OxyRate: typeof import('./components/oxy-rate/oxy-rate.vue')['default']
|
|
46
|
+
OxyResize: typeof import('./components/oxy-resize/oxy-resize.vue')['default']
|
|
47
|
+
OxyRow: typeof import('./components/oxy-row/oxy-row.vue')['default']
|
|
48
|
+
OxySearch: typeof import('./components/oxy-search/oxy-search.vue')['default']
|
|
49
|
+
OxySelectPicker: typeof import('./components/oxy-select-picker/oxy-select-picker.vue')['default']
|
|
50
|
+
OxySlider: typeof import('./components/oxy-slider/oxy-slider.vue')['default']
|
|
51
|
+
OxySortButton: typeof import('./components/oxy-sort-button/oxy-sort-button.vue')['default']
|
|
52
|
+
OxyStatusTip: typeof import('./components/oxy-status-tip/oxy-status-tip.vue')['default']
|
|
53
|
+
OxyStep: typeof import('./components/oxy-step/oxy-step.vue')['default']
|
|
54
|
+
OxySteps: typeof import('./components/oxy-steps/oxy-steps.vue')['default']
|
|
55
|
+
OxySticky: typeof import('./components/oxy-sticky/oxy-sticky.vue')['default']
|
|
56
|
+
OxyStickyBox: typeof import('./components/oxy-sticky-box/oxy-sticky-box.vue')['default']
|
|
57
|
+
OxySwipeAction: typeof import('./components/oxy-swipe-action/oxy-swipe-action.vue')['default']
|
|
58
|
+
OxySwitch: typeof import('./components/oxy-switch/oxy-switch.vue')['default']
|
|
59
|
+
OxyTab: typeof import('./components/oxy-tab/oxy-tab.vue')['default']
|
|
60
|
+
OxyTabs: typeof import('./components/oxy-tabs/oxy-tabs.vue')['default']
|
|
61
|
+
OxyTag: typeof import('./components/oxy-tag/oxy-tag.vue')['default']
|
|
62
|
+
OxyToast: typeof import('./components/oxy-toast/oxy-toast.vue')['default']
|
|
63
|
+
OxyTooltip: typeof import('./components/oxy-tooltip/oxy-tooltip.vue')['default']
|
|
64
|
+
OxyTransition: typeof import('./components/oxy-transition/oxy-transition.vue')['default']
|
|
65
|
+
OxyUpload: typeof import('./components/oxy-upload/oxy-upload.vue')['default']
|
|
66
|
+
OxyNotify: typeof import('./components/oxy-notify/oxy-notify.vue')['default']
|
|
67
|
+
OxyWatermark: typeof import('./components/oxy-watermark/oxy-watermark.vue')['default']
|
|
68
|
+
OxyCircle: typeof import('./components/oxy-circle/oxy-circle.vue')['default']
|
|
69
|
+
OxySwiper: typeof import('./components/oxy-swiper/oxy-swiper.vue')['default']
|
|
70
|
+
OxySwiperNav: typeof import('./components/oxy-swiper-nav/oxy-swiper-nav.vue')['default']
|
|
71
|
+
OxySegmented: typeof import('./components/oxy-segmented/oxy-segmented.vue')['default']
|
|
72
|
+
OxyTabbar: typeof import('./components/oxy-tabbar/oxy-tabbar.vue')['default']
|
|
73
|
+
OxyTabbarItem: typeof import('./components/oxy-tabbar-item/oxy-tabbar-item.vue')['default']
|
|
74
|
+
OxyNavbar: typeof import('./components/oxy-navbar/oxy-navbar.vue')['default']
|
|
75
|
+
OxyNavbarCapsule: typeof import('./components/oxy-navbar-capsule/oxy-navbar-capsule.vue')['default']
|
|
76
|
+
OxyTable: typeof import('./components/oxy-table/oxy-table.vue')['default']
|
|
77
|
+
OxyTableCol: typeof import('./components/oxy-table-col/oxy-table-col.vue')['default']
|
|
78
|
+
OxySidebar: typeof import('./components/oxy-sidebar/oxy-sidebar.vue')['default']
|
|
79
|
+
OxySidebarItem: typeof import('./components/oxy-sidebar-item/oxy-sidebar-item.vue')['default']
|
|
80
|
+
OxyFab: typeof import('./components/oxy-fab/oxy-fab.vue')['default']
|
|
81
|
+
OxyCountDown: typeof import('./components/oxy-count-down/oxy-count-down.vue')['default']
|
|
82
|
+
OxyNumberKeyboard: typeof import('./components/oxy-number-keyboard/oxy-number-keyboard.vue')['default']
|
|
83
|
+
OxyKeyboard: typeof import('./components/oxy-keyboard/oxy-keyboard.vue')['default']
|
|
84
|
+
OxyGap: typeof import('./components/oxy-gap/oxy-gap.vue')['default']
|
|
85
|
+
OxyPasswordInput: typeof import('./components/oxy-password-input/oxy-password-input.vue')['default']
|
|
86
|
+
OxyForm: typeof import('./components/oxy-form/oxy-form.vue')['default']
|
|
87
|
+
OxyTextarea: typeof import('./components/oxy-textarea/oxy-textarea.vue')['default']
|
|
88
|
+
OxyVideoPreview: typeof import('./components/oxy-video-preview/oxy-video-preview.vue')['default']
|
|
89
|
+
OxyBacktop: typeof import('./components/oxy-backtop/oxy-backtop.vue')['default']
|
|
90
|
+
OxySkeleton: typeof import('./components/oxy-skeleton/oxy-skeleton.vue')['default']
|
|
91
|
+
OxyIndexBar: typeof import('./components/oxy-index-bar/oxy-index-bar.vue')['default']
|
|
92
|
+
OxyIndexAnchor: typeof import('./components/oxy-index-anchor/oxy-index-anchor.vue')['default']
|
|
93
|
+
OxyText: typeof import('./components/oxy-text/oxy-text.vue')['default']
|
|
94
|
+
OxyCountTo: typeof import('./components/oxy-count-to/oxy-count-to.vue')['default']
|
|
95
|
+
OxyFloatingPanel: typeof import('./components/oxy-floating-panel/oxy-floating-panel.vue')['default']
|
|
96
|
+
OxySignature: typeof import('./components/oxy-signature/oxy-signature.vue')['default']
|
|
97
|
+
OxyRootPortal: typeof import('./components/oxy-root-portal/oxy-root-portal.vue')['default']
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
export {}
|
package/index.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export { useToast } from './components/oxy-toast'
|
|
2
|
+
export { useMessage } from './components/oxy-message-box'
|
|
3
|
+
export * from './components/composables'
|
|
4
|
+
export * from './components/oxy-notify'
|
|
5
|
+
|
|
6
|
+
export { default as dayjs } from './dayjs'
|
|
7
|
+
|
|
8
|
+
export * as CommonUtil from './components/common/util'
|
|
9
|
+
export * as clickOut from './components/common/clickoutside'
|
|
10
|
+
|
|
11
|
+
export * from './locale'
|
|
12
|
+
export type { ConfigProviderThemeVars } from './components/oxy-config-provider/types'
|
package/locale/index.ts
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { reactive, ref } from 'vue'
|
|
2
|
+
import zhCN from './lang/zh-CN'
|
|
3
|
+
import { deepAssign } from '../components/common/util'
|
|
4
|
+
|
|
5
|
+
type Message = Record<string, any>
|
|
6
|
+
type Messages = Record<string, Message>
|
|
7
|
+
|
|
8
|
+
const lang = ref<string>('zh-CN')
|
|
9
|
+
const messages = reactive<Messages>({
|
|
10
|
+
'zh-CN': zhCN
|
|
11
|
+
})
|
|
12
|
+
|
|
13
|
+
export const Locale = {
|
|
14
|
+
messages(): Message {
|
|
15
|
+
return messages[lang.value]
|
|
16
|
+
},
|
|
17
|
+
|
|
18
|
+
use(newLang: string, newMessage?: Message) {
|
|
19
|
+
lang.value = newLang
|
|
20
|
+
if (newMessage) {
|
|
21
|
+
this.add({ [newLang]: newMessage })
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
|
|
25
|
+
add(newMessages: Messages = {}) {
|
|
26
|
+
deepAssign(messages, newMessages)
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export const useCurrentLang = () => lang
|
|
31
|
+
|
|
32
|
+
export default Locale
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
calendar: {
|
|
3
|
+
placeholder: 'حدد التاريخ',
|
|
4
|
+
title: 'حدد التاريخ',
|
|
5
|
+
day: 'يوم',
|
|
6
|
+
week: 'أسبوع',
|
|
7
|
+
month: 'شهر',
|
|
8
|
+
confirm: 'تأكيد',
|
|
9
|
+
startTime: 'وقت البداية',
|
|
10
|
+
endTime: 'وقت النهاية',
|
|
11
|
+
to: 'إلى',
|
|
12
|
+
timeFormat: 'YY-MM-DD HH:mm:ss',
|
|
13
|
+
dateFormat: 'YYYY-MM-DD',
|
|
14
|
+
weekFormat: (year: number, week: number) => `${year} الأسبوع ${week}`,
|
|
15
|
+
startWeek: 'بداية الأسبوع',
|
|
16
|
+
endWeek: 'نهاية الأسبوع',
|
|
17
|
+
startMonth: 'بداية الشهر',
|
|
18
|
+
endMonth: 'نهاية الشهر',
|
|
19
|
+
monthFormat: 'YYYY-MM'
|
|
20
|
+
},
|
|
21
|
+
calendarView: {
|
|
22
|
+
startTime: 'وقت البداية',
|
|
23
|
+
endTime: 'وقت النهاية',
|
|
24
|
+
weeks: {
|
|
25
|
+
sun: 'الأحد',
|
|
26
|
+
mon: 'الاثنين',
|
|
27
|
+
tue: 'الثلاثاء',
|
|
28
|
+
wed: 'الأربعاء',
|
|
29
|
+
thu: 'الخميس',
|
|
30
|
+
fri: 'الجمعة',
|
|
31
|
+
sat: 'السبت'
|
|
32
|
+
},
|
|
33
|
+
rangePrompt: (maxRange: number) => `لا يمكن أن تزيد الأيام المحددة عن ${maxRange} يوم`,
|
|
34
|
+
rangePromptWeek: (maxRange: number) => `لا يمكن أن تزيد الأسابيع المحددة عن ${maxRange} أسبوع`,
|
|
35
|
+
rangePromptMonth: (maxRange: number) => `لا يمكن أن تزيد الشهور المحددة عن ${maxRange} شهر`,
|
|
36
|
+
monthTitle: 'YYYY-MM',
|
|
37
|
+
yearTitle: 'YYYY',
|
|
38
|
+
month: 'MM',
|
|
39
|
+
hour: (value: number) => `${value} ساعة`,
|
|
40
|
+
minute: (value: number) => `${value} دقيقة`,
|
|
41
|
+
second: (value: number) => `${value} ثانية`
|
|
42
|
+
},
|
|
43
|
+
datetimePicker: {
|
|
44
|
+
start: 'من',
|
|
45
|
+
end: 'إلى',
|
|
46
|
+
to: 'إلى',
|
|
47
|
+
placeholder: 'حدد التاريخ والوقت',
|
|
48
|
+
confirm: 'تأكيد',
|
|
49
|
+
cancel: 'إلغاء'
|
|
50
|
+
},
|
|
51
|
+
collapse: {
|
|
52
|
+
expand: 'توسيع',
|
|
53
|
+
retract: 'طي'
|
|
54
|
+
},
|
|
55
|
+
colPicker: {
|
|
56
|
+
title: 'حدد لون',
|
|
57
|
+
placeholder: 'حدد لون',
|
|
58
|
+
select: 'حدد'
|
|
59
|
+
},
|
|
60
|
+
loadmore: {
|
|
61
|
+
loading: 'جارٍ التحميل...',
|
|
62
|
+
finished: 'التحميل قد انتهى',
|
|
63
|
+
error: 'فشل التحميل...',
|
|
64
|
+
retry: 'إعادة المحاولة'
|
|
65
|
+
},
|
|
66
|
+
imgCropper: {
|
|
67
|
+
confirm: 'تأكيد',
|
|
68
|
+
cancel: 'إلغاء'
|
|
69
|
+
},
|
|
70
|
+
messageBox: {
|
|
71
|
+
inputPlaceholder: 'الرجاء إدخال المعلومات',
|
|
72
|
+
confirm: 'تأكيد',
|
|
73
|
+
cancel: 'إلغاء',
|
|
74
|
+
inputNoValidate: 'الرجاء التأكد من إدخال المعلومات الصحيحة'
|
|
75
|
+
},
|
|
76
|
+
numberKeyboard: {
|
|
77
|
+
confirm: 'إنهاء'
|
|
78
|
+
},
|
|
79
|
+
pagination: {
|
|
80
|
+
prev: 'السابق',
|
|
81
|
+
next: 'التالي',
|
|
82
|
+
page: (value: number) => `صفحة: ${value}`,
|
|
83
|
+
total: (total: number) => `المجموع: ${total}`,
|
|
84
|
+
size: (size: number) => `${size} / صفحة`
|
|
85
|
+
},
|
|
86
|
+
picker: {
|
|
87
|
+
cancel: 'إلغاء',
|
|
88
|
+
done: 'إنهاء',
|
|
89
|
+
placeholder: 'حدد'
|
|
90
|
+
},
|
|
91
|
+
search: {
|
|
92
|
+
search: 'بحث',
|
|
93
|
+
cancel: 'إلغاء'
|
|
94
|
+
},
|
|
95
|
+
steps: {
|
|
96
|
+
wait: 'لم يبدأ',
|
|
97
|
+
finished: 'تم',
|
|
98
|
+
process: 'جاري',
|
|
99
|
+
failed: 'فشل'
|
|
100
|
+
},
|
|
101
|
+
tabs: {
|
|
102
|
+
all: 'الجميع'
|
|
103
|
+
},
|
|
104
|
+
upload: {
|
|
105
|
+
error: 'فشل التحميل'
|
|
106
|
+
},
|
|
107
|
+
input: {
|
|
108
|
+
placeholder: 'الرجاء إدخال المعلومات...'
|
|
109
|
+
},
|
|
110
|
+
selectPicker: {
|
|
111
|
+
title: 'حدد',
|
|
112
|
+
placeholder: 'حدد',
|
|
113
|
+
select: 'حدد',
|
|
114
|
+
confirm: 'تأكيد',
|
|
115
|
+
filterPlaceholder: 'بحث'
|
|
116
|
+
},
|
|
117
|
+
tag: {
|
|
118
|
+
placeholder: 'إدخال',
|
|
119
|
+
add: 'إضافة وسم'
|
|
120
|
+
},
|
|
121
|
+
textarea: {
|
|
122
|
+
placeholder: 'الرجاء إدخال نص متعدد الأسطر هنا...'
|
|
123
|
+
},
|
|
124
|
+
tableCol: {
|
|
125
|
+
indexLabel: 'فهرس'
|
|
126
|
+
},
|
|
127
|
+
signature: {
|
|
128
|
+
confirmText: 'تأكيد',
|
|
129
|
+
clearText: 'مسح',
|
|
130
|
+
revokeText: 'تراجع',
|
|
131
|
+
restoreText: 'استعادة'
|
|
132
|
+
}
|
|
133
|
+
}
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
calendar: {
|
|
3
|
+
placeholder: 'Select',
|
|
4
|
+
title: 'Select Date',
|
|
5
|
+
day: 'Date',
|
|
6
|
+
week: 'Week',
|
|
7
|
+
month: 'Month',
|
|
8
|
+
confirm: 'OK',
|
|
9
|
+
startTime: 'Start Date',
|
|
10
|
+
endTime: 'End Date',
|
|
11
|
+
to: 'To',
|
|
12
|
+
timeFormat: 'YY-MM-DD HH:mm:ss',
|
|
13
|
+
dateFormat: 'YYYY-MM-DD',
|
|
14
|
+
weekFormat: (year: number, week: number) => `${year} W${week}`,
|
|
15
|
+
startWeek: 'Start Week',
|
|
16
|
+
endWeek: 'End Week',
|
|
17
|
+
startMonth: 'Start Month',
|
|
18
|
+
endMonth: 'End Month',
|
|
19
|
+
monthFormat: 'YYYY-MM'
|
|
20
|
+
},
|
|
21
|
+
calendarView: {
|
|
22
|
+
startTime: 'Start Time',
|
|
23
|
+
endTime: 'End Time',
|
|
24
|
+
weeks: {
|
|
25
|
+
sun: 'Sun',
|
|
26
|
+
mon: 'Mon',
|
|
27
|
+
tue: 'Tue',
|
|
28
|
+
wed: 'Wed',
|
|
29
|
+
thu: 'Thu',
|
|
30
|
+
fri: 'Fri',
|
|
31
|
+
sat: 'Sat'
|
|
32
|
+
},
|
|
33
|
+
rangePrompt: (maxRange: number) => `The number of selected days cannot exceed ${maxRange} days`,
|
|
34
|
+
rangePromptWeek: (maxRange: number) => `The number of weeks selected cannot exceed ${maxRange} weeks`,
|
|
35
|
+
rangePromptMonth: (maxRange: number) => `The selected month cannot exceed ${maxRange} months`,
|
|
36
|
+
monthTitle: 'YYYY-MM',
|
|
37
|
+
yearTitle: 'YYYY',
|
|
38
|
+
month: 'MM',
|
|
39
|
+
hour: (value: number) => `${value}`,
|
|
40
|
+
minute: (value: number) => `${value}`,
|
|
41
|
+
second: (value: number) => `${value}`
|
|
42
|
+
},
|
|
43
|
+
datetimePicker: {
|
|
44
|
+
start: 'From',
|
|
45
|
+
end: 'To',
|
|
46
|
+
to: 'To',
|
|
47
|
+
placeholder: 'Select',
|
|
48
|
+
confirm: 'OK',
|
|
49
|
+
cancel: 'Cancel'
|
|
50
|
+
},
|
|
51
|
+
collapse: {
|
|
52
|
+
expand: 'Expand',
|
|
53
|
+
retract: 'Fold'
|
|
54
|
+
},
|
|
55
|
+
colPicker: {
|
|
56
|
+
title: 'Select',
|
|
57
|
+
placeholder: 'Select',
|
|
58
|
+
select: 'Select'
|
|
59
|
+
},
|
|
60
|
+
loadmore: {
|
|
61
|
+
loading: 'Loading...',
|
|
62
|
+
finished: 'Finished loading',
|
|
63
|
+
error: 'Failed to load...',
|
|
64
|
+
retry: 'Refresh'
|
|
65
|
+
},
|
|
66
|
+
imgCropper: {
|
|
67
|
+
confirm: 'OK',
|
|
68
|
+
cancel: 'Cancel'
|
|
69
|
+
},
|
|
70
|
+
messageBox: {
|
|
71
|
+
inputPlaceholder: 'Please input information',
|
|
72
|
+
confirm: 'OK',
|
|
73
|
+
cancel: 'Cancel',
|
|
74
|
+
inputNoValidate: 'Please ensure you input correct information'
|
|
75
|
+
},
|
|
76
|
+
numberKeyboard: {
|
|
77
|
+
confirm: 'done'
|
|
78
|
+
},
|
|
79
|
+
pagination: {
|
|
80
|
+
prev: 'Previous',
|
|
81
|
+
next: 'Next',
|
|
82
|
+
page: (value: number) => `Page: ${value}`,
|
|
83
|
+
total: (total: number) => `Total: ${total}`,
|
|
84
|
+
size: (size: number) => `${size}/page`
|
|
85
|
+
},
|
|
86
|
+
picker: {
|
|
87
|
+
cancel: 'Cancel',
|
|
88
|
+
done: 'Done',
|
|
89
|
+
placeholder: 'Select'
|
|
90
|
+
},
|
|
91
|
+
search: {
|
|
92
|
+
search: 'Search',
|
|
93
|
+
cancel: 'Cancel'
|
|
94
|
+
},
|
|
95
|
+
steps: {
|
|
96
|
+
wait: 'Not Started',
|
|
97
|
+
finished: 'Expired',
|
|
98
|
+
process: 'In Progress',
|
|
99
|
+
failed: 'Failed'
|
|
100
|
+
},
|
|
101
|
+
tabs: {
|
|
102
|
+
all: 'All'
|
|
103
|
+
},
|
|
104
|
+
upload: {
|
|
105
|
+
error: 'Failed to upload'
|
|
106
|
+
},
|
|
107
|
+
input: {
|
|
108
|
+
placeholder: 'Please input information...'
|
|
109
|
+
},
|
|
110
|
+
selectPicker: {
|
|
111
|
+
title: 'Select',
|
|
112
|
+
placeholder: 'Select',
|
|
113
|
+
select: 'Select',
|
|
114
|
+
confirm: 'Ok',
|
|
115
|
+
filterPlaceholder: 'Search'
|
|
116
|
+
},
|
|
117
|
+
tag: {
|
|
118
|
+
placeholder: 'Enter',
|
|
119
|
+
add: 'Add Tag'
|
|
120
|
+
},
|
|
121
|
+
textarea: {
|
|
122
|
+
placeholder: 'Please input information...'
|
|
123
|
+
},
|
|
124
|
+
tableCol: {
|
|
125
|
+
indexLabel: 'index'
|
|
126
|
+
},
|
|
127
|
+
signature: {
|
|
128
|
+
confirmText: 'OK',
|
|
129
|
+
clearText: 'Clear',
|
|
130
|
+
revokeText: 'Undo',
|
|
131
|
+
restoreText: 'Restore'
|
|
132
|
+
}
|
|
133
|
+
}
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file contains localization strings for various components.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
export default {
|
|
6
|
+
calendar: {
|
|
7
|
+
placeholder: '请选择',
|
|
8
|
+
title: '选择日期',
|
|
9
|
+
day: '日',
|
|
10
|
+
week: '周',
|
|
11
|
+
month: '月',
|
|
12
|
+
confirm: '确定',
|
|
13
|
+
startTime: '开始时间',
|
|
14
|
+
endTime: '结束时间',
|
|
15
|
+
to: '至',
|
|
16
|
+
timeFormat: 'YY年MM月DD日 HH:mm:ss',
|
|
17
|
+
dateFormat: 'YYYY年MM月DD日',
|
|
18
|
+
weekFormat: (year: number, week: number) => `${year} 第 ${week} 周`,
|
|
19
|
+
startWeek: '开始周',
|
|
20
|
+
endWeek: '结束周',
|
|
21
|
+
startMonth: '开始月',
|
|
22
|
+
endMonth: '结束月',
|
|
23
|
+
monthFormat: 'YYYY年MM月'
|
|
24
|
+
},
|
|
25
|
+
calendarView: {
|
|
26
|
+
startTime: '开始',
|
|
27
|
+
endTime: '结束',
|
|
28
|
+
weeks: {
|
|
29
|
+
sun: '日',
|
|
30
|
+
mon: '一',
|
|
31
|
+
tue: '二',
|
|
32
|
+
wed: '三',
|
|
33
|
+
thu: '四',
|
|
34
|
+
fri: '五',
|
|
35
|
+
sat: '六'
|
|
36
|
+
},
|
|
37
|
+
rangePrompt: (maxRange: number) => `选择天数不能超过${maxRange}天`,
|
|
38
|
+
rangePromptWeek: (maxRange: number) => `选择周数不能超过${maxRange}周`,
|
|
39
|
+
rangePromptMonth: (maxRange: number) => `选择月份不能超过${maxRange}个月`,
|
|
40
|
+
monthTitle: 'YYYY年M月',
|
|
41
|
+
yearTitle: 'YYYY年',
|
|
42
|
+
month: 'M月',
|
|
43
|
+
hour: (value: number) => `${value}时`,
|
|
44
|
+
minute: (value: number) => `${value}分`,
|
|
45
|
+
second: (value: number) => `${value}秒`
|
|
46
|
+
},
|
|
47
|
+
collapse: {
|
|
48
|
+
expand: '展开',
|
|
49
|
+
retract: '收起'
|
|
50
|
+
},
|
|
51
|
+
colPicker: {
|
|
52
|
+
title: '请选择',
|
|
53
|
+
placeholder: '请选择',
|
|
54
|
+
select: '请选择'
|
|
55
|
+
},
|
|
56
|
+
datetimePicker: {
|
|
57
|
+
start: '开始时间',
|
|
58
|
+
end: '结束时间',
|
|
59
|
+
to: '至',
|
|
60
|
+
placeholder: '请选择',
|
|
61
|
+
confirm: '完成',
|
|
62
|
+
cancel: '取消'
|
|
63
|
+
},
|
|
64
|
+
loadmore: {
|
|
65
|
+
loading: '正在努力加载中...',
|
|
66
|
+
finished: '已加载完毕',
|
|
67
|
+
error: '加载失败',
|
|
68
|
+
retry: '点击重试'
|
|
69
|
+
},
|
|
70
|
+
messageBox: {
|
|
71
|
+
inputPlaceholder: '请输入',
|
|
72
|
+
confirm: '确定',
|
|
73
|
+
cancel: '取消',
|
|
74
|
+
inputNoValidate: '输入的数据不合法'
|
|
75
|
+
},
|
|
76
|
+
numberKeyboard: {
|
|
77
|
+
confirm: '完成'
|
|
78
|
+
},
|
|
79
|
+
pagination: {
|
|
80
|
+
prev: '上一页',
|
|
81
|
+
next: '下一页',
|
|
82
|
+
page: (value: number) => `当前页:${value}`,
|
|
83
|
+
total: (total: number) => `当前数据:${total}条`,
|
|
84
|
+
size: (size: number) => `分页大小:${size}`
|
|
85
|
+
},
|
|
86
|
+
picker: {
|
|
87
|
+
cancel: '取消',
|
|
88
|
+
done: '完成',
|
|
89
|
+
placeholder: '请选择'
|
|
90
|
+
},
|
|
91
|
+
imgCropper: {
|
|
92
|
+
confirm: '完成',
|
|
93
|
+
cancel: '取消'
|
|
94
|
+
},
|
|
95
|
+
search: {
|
|
96
|
+
search: '搜索',
|
|
97
|
+
cancel: '取消'
|
|
98
|
+
},
|
|
99
|
+
steps: {
|
|
100
|
+
wait: '未开始',
|
|
101
|
+
finished: '已完成',
|
|
102
|
+
process: '进行中',
|
|
103
|
+
failed: '失败'
|
|
104
|
+
},
|
|
105
|
+
tabs: {
|
|
106
|
+
all: '全部'
|
|
107
|
+
},
|
|
108
|
+
upload: {
|
|
109
|
+
error: '上传失败'
|
|
110
|
+
},
|
|
111
|
+
input: {
|
|
112
|
+
placeholder: '请输入...'
|
|
113
|
+
},
|
|
114
|
+
selectPicker: {
|
|
115
|
+
title: '请选择',
|
|
116
|
+
placeholder: '请选择',
|
|
117
|
+
select: '请选择',
|
|
118
|
+
confirm: '确认',
|
|
119
|
+
filterPlaceholder: '搜索'
|
|
120
|
+
},
|
|
121
|
+
tag: {
|
|
122
|
+
placeholder: '请输入',
|
|
123
|
+
add: '新增标签'
|
|
124
|
+
},
|
|
125
|
+
textarea: {
|
|
126
|
+
placeholder: '请输入...'
|
|
127
|
+
},
|
|
128
|
+
tableCol: {
|
|
129
|
+
indexLabel: '序号'
|
|
130
|
+
},
|
|
131
|
+
signature: {
|
|
132
|
+
confirmText: '确认',
|
|
133
|
+
clearText: '清空',
|
|
134
|
+
revokeText: '撤销',
|
|
135
|
+
restoreText: '恢复'
|
|
136
|
+
}
|
|
137
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"id":"oxy-uni-ui","name":"oxy-uni-ui","displayName":"oxy-uni-ui 基于vue3+Typescript的高颜值组件库","version":"1.0.1","license":"MIT","description":"一个基于Vue3+TS开发的uni-app组件库,提供70+高质量组件,支持暗黑模式、国际化和自定义主题。","keywords":["oxy-uni-ui","国际化","组件库","vue3","暗黑模式"],"main":"index.ts","engines":{"HBuilderX":"^3.8.7"},"dcloudext":{"type":"component-vue","sale":{"regular":{"price":"0.00"},"sourcecode":{"price":"0.00"}},"contact":{"qq":""},"declaration":{"ads":"无","data":"插件不采集任何数据","permissions":"无"},"npmurl":"https://www.npmjs.com/package/oxy-uni-ui"},"vetur":{"tags":"tags.json","attributes":"attributes.json"},"web-types":"web-types.json","uni_modules":{"dependencies":[],"encrypt":[],"platforms":{"cloud":{"tcb":"y","aliyun":"y","alipay":"n"},"client":{"Vue":{"vue2":"n","vue3":"y"},"App":{"app-vue":"y","app-nvue":"n","app-uvue":"n"},"H5-mobile":{"Safari":"y","Android Browser":"y","微信浏览器(Android)":"y","QQ浏览器(Android)":"y"},"H5-pc":{"Chrome":"y","IE":"u","Edge":"y","Firefox":"y","Safari":"y"},"小程序":{"微信":"y","阿里":"y","百度":"u","字节跳动":"u","QQ":"y","钉钉":"y","快手":"u","飞书":"u","京东":"u"},"快应用":{"华为":"u","联盟":"u"}}}},"peerDependencies":{"vue":">=3.2.47"}}
|