@fangzhongya/fang-ui 0.0.36 → 0.0.38
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/dist/components/alert/index.d.ts +4 -4
- package/dist/components/alert/src/index.d.ts +8 -8
- package/dist/components/array/index.d.ts +3 -3
- package/dist/components/array/src/index.cjs +10 -16
- package/dist/components/array/src/index.d.ts +1 -1
- package/dist/components/array/src/index.js +11 -17
- package/dist/components/box/index.css +1 -1
- package/dist/components/box/index.d.ts +3 -3
- package/dist/components/box/src/index.d.ts +1 -1
- package/dist/components/box-adjust/index.css +1 -1
- package/dist/components/box-adjust/index.d.ts +3 -3
- package/dist/components/box-adjust/src/index.d.ts +1 -1
- package/dist/components/box-local/index.css +1 -1
- package/dist/components/box-local/index.d.ts +3 -3
- package/dist/components/box-local/src/index.d.ts +1 -1
- package/dist/components/box-title/index.css +1 -1
- package/dist/components/box-title/index.scss +1 -1
- package/dist/components/box-title/src/index.cjs +10 -14
- package/dist/components/box-title/src/index.js +11 -15
- package/dist/components/button/index.d.ts +5 -5
- package/dist/components/button/src/index.d.ts +10 -10
- package/dist/components/cascader/index.d.ts +2 -2
- package/dist/components/cascader/src/index.d.ts +4 -4
- package/dist/components/cascader-panel/index.d.ts +1 -1
- package/dist/components/cascader-panel/src/index.d.ts +2 -2
- package/dist/components/cascaders/index.d.ts +4 -4
- package/dist/components/cascaders/src/data.d.ts +2 -2
- package/dist/components/cascaders/src/index.d.ts +4 -4
- package/dist/components/checkbox/index.d.ts +4 -4
- package/dist/components/checkbox/src/index.d.ts +8 -8
- package/dist/components/checkbox-group/index.d.ts +4 -4
- package/dist/components/checkbox-group/src/index.d.ts +8 -8
- package/dist/components/checks/index.d.ts +4 -4
- package/dist/components/checks/src/data.d.ts +2 -2
- package/dist/components/checks/src/index.d.ts +4 -4
- package/dist/components/collapse/index.d.ts +4 -4
- package/dist/components/collapse/src/index.d.ts +8 -8
- package/dist/components/collapse-item/index.d.ts +3 -3
- package/dist/components/collapse-item/src/index.d.ts +6 -6
- package/dist/components/common/list.d.ts +2 -2
- package/dist/components/common/urls.d.ts +1 -1
- package/dist/components/dates/index.css +1 -1
- package/dist/components/dates/index.d.ts +4 -4
- package/dist/components/dates/src/data.d.ts +2 -2
- package/dist/components/dates/src/index.d.ts +4 -4
- package/dist/components/dialog/index.d.ts +309 -46
- package/dist/components/dialog/index.scss +1 -28
- package/dist/components/dialog/src/data.cjs +5 -15
- package/dist/components/dialog/src/data.d.ts +13 -17
- package/dist/components/dialog/src/data.js +5 -15
- package/dist/components/dialog/src/index.cjs +28 -68
- package/dist/components/dialog/src/index.d.ts +599 -28
- package/dist/components/dialog/src/index.js +29 -69
- package/dist/components/dialog/style/index2.scss +0 -1
- package/dist/components/{cs-config → dialogs}/index.cjs +4 -3
- package/dist/components/{dialog → dialogs}/index.css +5 -5
- package/dist/components/dialogs/index.d.ts +59 -0
- package/dist/components/{cs-i18n → dialogs}/index.js +4 -3
- package/dist/components/dialogs/index.scss +32 -0
- package/dist/components/dialogs/src/data.cjs +19 -0
- package/dist/components/dialogs/src/data.d.ts +18 -0
- package/dist/components/dialogs/src/data.js +19 -0
- package/dist/components/dialogs/src/index.cjs +84 -0
- package/dist/components/{frame/common/box-teleport.d.ts → dialogs/src/index.d.ts} +17 -15
- package/dist/components/dialogs/src/index.js +84 -0
- package/dist/components/dialogs/style/index2.scss +3 -0
- package/dist/components/divider/index.cjs +1 -0
- package/dist/components/divider/index.d.ts +21 -70
- package/dist/components/divider/index.js +1 -0
- package/dist/components/divider/index.scss +5 -0
- package/dist/components/divider/src/data.cjs +1 -9
- package/dist/components/divider/src/data.d.ts +4 -4
- package/dist/components/divider/src/data.js +1 -9
- package/dist/components/divider/src/index.cjs +8 -32
- package/dist/components/divider/src/index.d.ts +34 -121
- package/dist/components/divider/src/index.js +8 -32
- package/dist/components/divider/style/index2.scss +2 -0
- package/dist/components/drawer/index.d.ts +86 -295
- package/dist/components/drawer/index.scss +2 -10
- package/dist/components/drawer/src/data.d.ts +1 -1
- package/dist/components/drawer/src/index.cjs +14 -13
- package/dist/components/drawer/src/index.d.ts +169 -588
- package/dist/components/drawer/src/index.js +11 -10
- package/dist/components/drawer/style/index2.scss +2 -0
- package/dist/components/edit/index.d.ts +1 -1
- package/dist/components/edit/src/index.cjs +9 -16
- package/dist/components/edit/src/index.d.ts +1 -1
- package/dist/components/edit/src/index.js +10 -17
- package/dist/components/edit-float/index.css +6 -6
- package/dist/components/edit-float/index.d.ts +1 -1
- package/dist/components/edit-float/src/index.cjs +1 -1
- package/dist/components/edit-float/src/index.d.ts +1 -1
- package/dist/components/edit-float/src/index.js +1 -1
- package/dist/components/edit-float/src/index2.cjs +9 -16
- package/dist/components/edit-float/src/index2.js +10 -17
- package/dist/components/form/index.d.ts +2 -2
- package/dist/components/form/src/index.d.ts +2 -2
- package/dist/components/forms/index.d.ts +24 -24
- package/dist/components/forms/src/data.d.ts +1 -1
- package/dist/components/forms/src/index.d.ts +11 -11
- package/dist/components/forms-drag/index.d.ts +23 -23
- package/dist/components/forms-drag/src/index.d.ts +10 -10
- package/dist/components/global-config/index.css +0 -44
- package/dist/components/history/index.css +4 -4
- package/dist/components/history/src/index.cjs +1 -1
- package/dist/components/history/src/index.js +1 -1
- package/dist/components/history/src/index2.cjs +31 -40
- package/dist/components/history/src/index2.js +22 -31
- package/dist/components/icon-picker/src/index.cjs +2 -2
- package/dist/components/icon-picker/src/index.js +2 -2
- package/dist/components/image/index.d.ts +1 -1
- package/dist/components/image/src/index.d.ts +2 -2
- package/dist/components/index.cjs +214 -226
- package/dist/components/index.d.ts +2 -8
- package/dist/components/index.js +3 -15
- package/dist/components/index.scss +5 -3
- package/dist/components/index2.scss +6 -4
- package/dist/components/input/index.d.ts +5 -5
- package/dist/components/input/src/index.d.ts +10 -10
- package/dist/components/input-array/index.d.ts +3 -3
- package/dist/components/input-array/src/index.cjs +15 -22
- package/dist/components/input-array/src/index.d.ts +1 -1
- package/dist/components/input-array/src/index.js +12 -19
- package/dist/components/input-history/index.css +13 -13
- package/dist/components/input-history/index.d.ts +4 -4
- package/dist/components/input-history/src/index.cjs +1 -1
- package/dist/components/input-history/src/index.d.ts +3 -3
- package/dist/components/input-history/src/index.js +1 -1
- package/dist/components/input-history/src/index2.cjs +13 -22
- package/dist/components/input-history/src/index2.js +9 -18
- package/dist/components/input-number/index.d.ts +2 -2
- package/dist/components/input-number/src/index.d.ts +4 -4
- package/dist/components/input-select/index.cjs +3 -2
- package/dist/components/input-select/index.css +25 -11
- package/dist/components/input-select/index.d.ts +80 -221
- package/dist/components/input-select/index.js +3 -2
- package/dist/components/input-select/index.scss +4 -4
- package/dist/components/input-select/src/data.d.ts +2 -2
- package/dist/components/input-select/src/index.cjs +204 -5
- package/dist/components/input-select/src/index.d.ts +150 -433
- package/dist/components/input-select/src/index.js +204 -5
- package/dist/components/input-select/src/index2.cjs +2 -219
- package/dist/components/input-select/src/index2.js +1 -218
- package/dist/components/labels/index.d.ts +4 -4
- package/dist/components/labels/src/data.d.ts +2 -2
- package/dist/components/labels/src/index.d.ts +4 -4
- package/dist/components/lists/index.d.ts +2 -2
- package/dist/components/lists/src/index.d.ts +2 -2
- package/dist/components/page/index.css +0 -21
- package/dist/components/page/index.d.ts +44 -44
- package/dist/components/page/set-column.css +8 -8
- package/dist/components/page/src/index.cjs +3 -3
- package/dist/components/page/src/index.d.ts +81 -81
- package/dist/components/page/src/index.js +3 -3
- package/dist/components/page/src/set-column.cjs +1 -1
- package/dist/components/page/src/set-column.js +1 -1
- package/dist/components/page/src/set-column2.cjs +2 -2
- package/dist/components/page/src/set-column2.js +2 -2
- package/dist/components/popconfirm/index.d.ts +5 -5
- package/dist/components/popconfirm/src/index.d.ts +10 -10
- package/dist/components/popover/index.d.ts +6 -6
- package/dist/components/popover/src/index.d.ts +12 -12
- package/dist/components/popup/index.css +1 -1
- package/dist/components/popup/index.d.ts +3 -3
- package/dist/components/popup/src/index.d.ts +1 -1
- package/dist/components/radio/index.d.ts +4 -4
- package/dist/components/radio/src/index.d.ts +8 -8
- package/dist/components/radio-group/index.d.ts +3 -3
- package/dist/components/radio-group/src/index.d.ts +6 -6
- package/dist/components/retract/index.d.ts +6 -6
- package/dist/components/retract/src/index.cjs +11 -14
- package/dist/components/retract/src/index.d.ts +3 -3
- package/dist/components/retract/src/index.js +12 -15
- package/dist/components/right-key/index.d.ts +3 -3
- package/dist/components/right-key/src/data.d.ts +1 -1
- package/dist/components/right-key/src/index.cjs +4 -4
- package/dist/components/right-key/src/index.d.ts +2 -2
- package/dist/components/right-key/src/index.js +2 -2
- package/dist/components/role-select/index.d.ts +2 -2
- package/dist/components/role-select/src/index.d.ts +4 -4
- package/dist/components/select/index.d.ts +1 -1
- package/dist/components/select/src/index.d.ts +2 -2
- package/dist/components/select-dialog/src/index.cjs +2 -2
- package/dist/components/select-dialog/src/index.js +2 -2
- package/dist/components/select-popover/index.d.ts +1 -1
- package/dist/components/select-popover/src/index.d.ts +2 -2
- package/dist/components/selector/index.d.ts +1 -1
- package/dist/components/selector/src/index.d.ts +1 -1
- package/dist/components/selects/index.d.ts +4 -4
- package/dist/components/selects/src/data.d.ts +2 -2
- package/dist/components/selects/src/index.d.ts +4 -4
- package/dist/components/stick-edge/index.d.ts +15 -15
- package/dist/components/stick-edge/src/index.d.ts +9 -9
- package/dist/components/stick-window/src/index.cjs +11 -15
- package/dist/components/stick-window/src/index.js +10 -14
- package/dist/components/switch/index.d.ts +5 -5
- package/dist/components/switch/src/index.d.ts +10 -10
- package/dist/components/switchs/index.d.ts +4 -4
- package/dist/components/switchs/src/data.d.ts +2 -2
- package/dist/components/switchs/src/index.d.ts +4 -4
- package/dist/components/tables/common/pagin.d.ts +1 -1
- package/dist/components/tables/index.d.ts +3 -3
- package/dist/components/tables/src/index.d.ts +1 -1
- package/dist/components/tablesp/index.d.ts +12 -12
- package/dist/components/tablesp/src/index.d.ts +15 -15
- package/dist/components/tabless/index.d.ts +12 -12
- package/dist/components/tabless/src/index.d.ts +15 -15
- package/dist/components/tablesv/index.d.ts +3 -3
- package/dist/components/tablesv/src/index.d.ts +1 -1
- package/dist/components/tablesvp/index.d.ts +12 -12
- package/dist/components/tablesvp/src/index.d.ts +15 -15
- package/dist/components/tooltip/index.d.ts +6 -6
- package/dist/components/tooltip/src/index.d.ts +12 -12
- package/dist/components/tree-select-box/index.d.ts +2 -2
- package/dist/components/tree-select-box/src/index.d.ts +4 -4
- package/dist/components/upload/index.d.ts +4 -4
- package/dist/components/upload/src/index.d.ts +8 -8
- package/dist/components/user-select/index.d.ts +2 -2
- package/dist/components/user-select/src/index.d.ts +4 -4
- package/dist/components/window/index.css +1 -1
- package/dist/components/window/index.d.ts +3 -3
- package/dist/components/window/src/index.cjs +28 -47
- package/dist/components/window/src/index.d.ts +1 -1
- package/dist/components/window/src/index.js +24 -43
- package/dist/expand/{chunk-IMQMZ66E.js → chunk-5DCURPLA.js} +81 -9
- package/dist/expand/{chunk-KYVOOBKQ.cjs → chunk-NWMTWNXH.cjs} +81 -9
- package/dist/expand/components.cjs +16 -12
- package/dist/expand/components.d.cts +2 -1
- package/dist/expand/components.d.ts +2 -1
- package/dist/expand/components.js +12 -8
- package/dist/expand/config.cjs +2 -2
- package/dist/expand/config.js +1 -1
- package/dist/hooks/global-config/index.cjs +0 -6
- package/dist/hooks/global-config/index.js +0 -6
- package/dist/icons/index.css +143 -0
- package/dist/icons/index.json +31 -0
- package/dist/icons/vue/bar.cjs +20 -0
- package/dist/icons/vue/bar.d.ts +3 -0
- package/dist/icons/vue/bar.js +20 -0
- package/dist/{locale/common.cjs → icons/vue/bar2.cjs} +3 -7
- package/dist/icons/vue/bar2.js +6 -0
- package/dist/icons/vue/below.cjs +20 -0
- package/dist/icons/vue/below.d.ts +3 -0
- package/dist/icons/vue/below.js +20 -0
- package/dist/icons/vue/below2.cjs +6 -0
- package/dist/icons/vue/below2.js +6 -0
- package/dist/icons/vue/clear.cjs +25 -0
- package/dist/icons/vue/clear.d.ts +3 -0
- package/dist/icons/vue/clear.js +25 -0
- package/dist/icons/vue/clear2.cjs +6 -0
- package/dist/icons/vue/clear2.js +6 -0
- package/dist/icons/vue/close.cjs +19 -0
- package/dist/icons/vue/close.d.ts +3 -0
- package/dist/icons/vue/close.js +19 -0
- package/dist/icons/vue/close2.cjs +6 -0
- package/dist/icons/vue/close2.js +6 -0
- package/dist/icons/vue/edit.cjs +24 -0
- package/dist/icons/vue/edit.d.ts +3 -0
- package/dist/icons/vue/edit.js +24 -0
- package/dist/icons/vue/edit2.cjs +6 -0
- package/dist/icons/vue/edit2.js +6 -0
- package/dist/icons/vue/frame.cjs +20 -0
- package/dist/icons/vue/frame.d.ts +3 -0
- package/dist/icons/vue/frame.js +20 -0
- package/dist/icons/vue/frame2.cjs +6 -0
- package/dist/icons/vue/frame2.js +6 -0
- package/dist/icons/vue/index.cjs +18 -0
- package/dist/icons/vue/index.d.ts +9 -0
- package/dist/icons/vue/index.js +26 -8
- package/dist/icons/vue/left.cjs +20 -0
- package/dist/icons/vue/left.d.ts +3 -0
- package/dist/icons/vue/left.js +20 -0
- package/dist/icons/vue/left2.cjs +6 -0
- package/dist/icons/vue/left2.js +6 -0
- package/dist/icons/vue/right.cjs +19 -0
- package/dist/icons/vue/right.d.ts +3 -0
- package/dist/icons/vue/right.js +19 -0
- package/dist/icons/vue/right2.cjs +6 -0
- package/dist/icons/vue/right2.js +6 -0
- package/dist/icons/vue/star.cjs +20 -0
- package/dist/icons/vue/star.d.ts +3 -0
- package/dist/icons/vue/star.js +20 -0
- package/dist/icons/vue/star2.cjs +6 -0
- package/dist/icons/vue/star2.js +6 -0
- package/dist/index.cjs +233 -245
- package/dist/index.css +139 -66
- package/dist/index.js +3 -15
- package/dist/utils/vues/getBuildProps.cjs +0 -13
- package/dist/utils/vues/getBuildProps.js +1 -14
- package/package.json +6 -6
- package/dist/components/cs-config/index.d.ts +0 -45
- package/dist/components/cs-config/index.js +0 -7
- package/dist/components/cs-config/src/data.cjs +0 -41
- package/dist/components/cs-config/src/data.d.ts +0 -23
- package/dist/components/cs-config/src/data.js +0 -41
- package/dist/components/cs-config/src/index.cjs +0 -38
- package/dist/components/cs-config/src/index.d.ts +0 -35
- package/dist/components/cs-config/src/index.js +0 -38
- package/dist/components/cs-config/src/index2.d.ts +0 -22
- package/dist/components/cs-emits/index.cjs +0 -7
- package/dist/components/cs-emits/index.d.ts +0 -8
- package/dist/components/cs-emits/index.js +0 -7
- package/dist/components/cs-emits/src/data.cjs +0 -10
- package/dist/components/cs-emits/src/data.d.ts +0 -11
- package/dist/components/cs-emits/src/data.js +0 -10
- package/dist/components/cs-emits/src/index.cjs +0 -25
- package/dist/components/cs-emits/src/index.d.ts +0 -7
- package/dist/components/cs-emits/src/index.js +0 -25
- package/dist/components/cs-emits/src/index2.cjs +0 -4
- package/dist/components/cs-emits/src/index2.js +0 -4
- package/dist/components/cs-expose/index.cjs +0 -7
- package/dist/components/cs-expose/index.d.ts +0 -7
- package/dist/components/cs-expose/index.js +0 -7
- package/dist/components/cs-expose/src/data.cjs +0 -7
- package/dist/components/cs-expose/src/data.d.ts +0 -12
- package/dist/components/cs-expose/src/data.js +0 -7
- package/dist/components/cs-expose/src/index.cjs +0 -30
- package/dist/components/cs-expose/src/index.d.ts +0 -8
- package/dist/components/cs-expose/src/index.js +0 -30
- package/dist/components/cs-expose/src/index2.cjs +0 -4
- package/dist/components/cs-expose/src/index2.js +0 -4
- package/dist/components/cs-i18n/index.cjs +0 -7
- package/dist/components/cs-i18n/index.d.ts +0 -16
- package/dist/components/cs-i18n/src/data.cjs +0 -14
- package/dist/components/cs-i18n/src/data.d.ts +0 -12
- package/dist/components/cs-i18n/src/data.js +0 -14
- package/dist/components/cs-i18n/src/index.cjs +0 -55
- package/dist/components/cs-i18n/src/index.d.ts +0 -15
- package/dist/components/cs-i18n/src/index.js +0 -55
- package/dist/components/cs-i18n/src/index2.cjs +0 -4
- package/dist/components/cs-i18n/src/index2.js +0 -4
- package/dist/components/cs-props/index.cjs +0 -7
- package/dist/components/cs-props/index.d.ts +0 -74
- package/dist/components/cs-props/index.js +0 -7
- package/dist/components/cs-props/src/data.cjs +0 -78
- package/dist/components/cs-props/src/data.d.ts +0 -76
- package/dist/components/cs-props/src/data.js +0 -78
- package/dist/components/cs-props/src/index.cjs +0 -40
- package/dist/components/cs-props/src/index.d.ts +0 -73
- package/dist/components/cs-props/src/index.js +0 -40
- package/dist/components/cs-props/src/index2.cjs +0 -4
- package/dist/components/cs-props/src/index2.js +0 -4
- package/dist/components/cs-slot/index.cjs +0 -7
- package/dist/components/cs-slot/index.d.ts +0 -25
- package/dist/components/cs-slot/index.js +0 -7
- package/dist/components/cs-slot/src/data.cjs +0 -10
- package/dist/components/cs-slot/src/data.d.ts +0 -19
- package/dist/components/cs-slot/src/data.js +0 -10
- package/dist/components/cs-slot/src/index.cjs +0 -46
- package/dist/components/cs-slot/src/index.d.ts +0 -23
- package/dist/components/cs-slot/src/index.js +0 -46
- package/dist/components/cs-slot/src/index2.cjs +0 -4
- package/dist/components/cs-slot/src/index2.js +0 -4
- package/dist/components/cs-title/index.cjs +0 -7
- package/dist/components/cs-title/index.d.ts +0 -20
- package/dist/components/cs-title/index.js +0 -7
- package/dist/components/cs-title/src/data.cjs +0 -5
- package/dist/components/cs-title/src/data.d.ts +0 -16
- package/dist/components/cs-title/src/data.js +0 -5
- package/dist/components/cs-title/src/index.cjs +0 -20
- package/dist/components/cs-title/src/index.d.ts +0 -18
- package/dist/components/cs-title/src/index.js +0 -20
- package/dist/components/cs-title/src/index.scss +0 -17
- package/dist/components/cs-title/src/index2.cjs +0 -4
- package/dist/components/cs-title/src/index2.js +0 -4
- package/dist/components/drawer/index.css +0 -57
- package/dist/components/drawer/style/cs.scss +0 -12
- package/dist/components/frame/common/box-teleport.cjs +0 -33
- package/dist/components/frame/common/box-teleport.js +0 -33
- package/dist/components/frame/common/box-teleport2.cjs +0 -4
- package/dist/components/frame/common/box-teleport2.js +0 -4
- package/dist/locale/common.js +0 -10
- package/dist/locale/en.cjs +0 -25
- package/dist/locale/en.js +0 -25
- package/dist/locale/index.cjs +0 -8
- package/dist/locale/index.js +0 -8
- /package/dist/components/{cs-config → dialogs}/src/index2.cjs +0 -0
- /package/dist/components/{cs-config → dialogs}/src/index2.js +0 -0
- /package/dist/components/{time-picker → pagination}/index.css +0 -0
|
@@ -1,22 +1,21 @@
|
|
|
1
1
|
import { SFCWithInstall } from '../../utils/vues';
|
|
2
|
-
import { CreateComponentPublicInstanceWithMixins, Ref, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes,
|
|
2
|
+
import { CreateComponentPublicInstanceWithMixins, Ref, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, ComponentProvideOptions, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
|
|
3
|
+
import { EpPropMergeType, EpPropFinalized } from 'element-plus/es/utils';
|
|
3
4
|
import { OnCleanup } from '@vue/reactivity';
|
|
4
5
|
declare const Divider: SFCWithInstall<{
|
|
5
6
|
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {
|
|
6
7
|
refEl: Ref<any, any>;
|
|
7
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}
|
|
8
|
-
[x: string]: any;
|
|
9
|
-
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
8
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
10
9
|
refEl: ({
|
|
11
10
|
$: ComponentInternalInstance;
|
|
12
11
|
$data: {};
|
|
13
12
|
$props: Partial<{
|
|
14
|
-
readonly direction: "horizontal" | "vertical"
|
|
13
|
+
readonly direction: EpPropMergeType<StringConstructor, "horizontal" | "vertical", unknown>;
|
|
15
14
|
readonly borderStyle: string;
|
|
16
|
-
readonly contentPosition: "
|
|
15
|
+
readonly contentPosition: EpPropMergeType<StringConstructor, "center" | "left" | "right", unknown>;
|
|
17
16
|
}> & Omit<{
|
|
18
|
-
readonly direction: "horizontal" | "vertical"
|
|
19
|
-
readonly contentPosition: "left" | "right" | "center"
|
|
17
|
+
readonly direction: EpPropMergeType<StringConstructor, "horizontal" | "vertical", unknown>;
|
|
18
|
+
readonly contentPosition: EpPropMergeType<StringConstructor, "left" | "right" | "center", unknown>;
|
|
20
19
|
readonly borderStyle: string;
|
|
21
20
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "direction" | "contentPosition" | "borderStyle">;
|
|
22
21
|
$attrs: {
|
|
@@ -34,34 +33,13 @@ declare const Divider: SFCWithInstall<{
|
|
|
34
33
|
$emit: (event: string, ...args: any[]) => void;
|
|
35
34
|
$el: any;
|
|
36
35
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
37
|
-
readonly direction:
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
41
|
-
__epPropKey: true;
|
|
42
|
-
} & {
|
|
43
|
-
readonly default: "horizontal";
|
|
44
|
-
};
|
|
45
|
-
readonly contentPosition: {
|
|
46
|
-
readonly type: PropType<"left" | "right" | "center">;
|
|
47
|
-
readonly required: false;
|
|
48
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
49
|
-
__epPropKey: true;
|
|
50
|
-
} & {
|
|
51
|
-
readonly default: "center";
|
|
52
|
-
};
|
|
53
|
-
readonly borderStyle: {
|
|
54
|
-
readonly type: PropType<string>;
|
|
55
|
-
readonly required: false;
|
|
56
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
57
|
-
__epPropKey: true;
|
|
58
|
-
} & {
|
|
59
|
-
readonly default: "solid";
|
|
60
|
-
};
|
|
36
|
+
readonly direction: EpPropFinalized<StringConstructor, "horizontal" | "vertical", unknown, "horizontal", boolean>;
|
|
37
|
+
readonly contentPosition: EpPropFinalized<StringConstructor, "center" | "left" | "right", unknown, "center", boolean>;
|
|
38
|
+
readonly borderStyle: EpPropFinalized<(new (...args: any[]) => string) | (() => string) | ((new (...args: any[]) => string) | (() => string))[], unknown, unknown, "solid", boolean>;
|
|
61
39
|
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, {
|
|
62
|
-
readonly direction: "horizontal" | "vertical"
|
|
40
|
+
readonly direction: EpPropMergeType<StringConstructor, "horizontal" | "vertical", unknown>;
|
|
63
41
|
readonly borderStyle: string;
|
|
64
|
-
readonly contentPosition: "
|
|
42
|
+
readonly contentPosition: EpPropMergeType<StringConstructor, "center" | "left" | "right", unknown>;
|
|
65
43
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
66
44
|
beforeCreate?: (() => void) | (() => void)[];
|
|
67
45
|
created?: (() => void) | (() => void)[];
|
|
@@ -83,40 +61,19 @@ declare const Divider: SFCWithInstall<{
|
|
|
83
61
|
$nextTick: nextTick;
|
|
84
62
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
85
63
|
} & Readonly<{
|
|
86
|
-
readonly direction: "horizontal" | "vertical"
|
|
64
|
+
readonly direction: EpPropMergeType<StringConstructor, "horizontal" | "vertical", unknown>;
|
|
87
65
|
readonly borderStyle: string;
|
|
88
|
-
readonly contentPosition: "
|
|
66
|
+
readonly contentPosition: EpPropMergeType<StringConstructor, "center" | "left" | "right", unknown>;
|
|
89
67
|
}> & Omit<Readonly< ExtractPropTypes<{
|
|
90
|
-
readonly direction:
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
94
|
-
__epPropKey: true;
|
|
95
|
-
} & {
|
|
96
|
-
readonly default: "horizontal";
|
|
97
|
-
};
|
|
98
|
-
readonly contentPosition: {
|
|
99
|
-
readonly type: PropType<"left" | "right" | "center">;
|
|
100
|
-
readonly required: false;
|
|
101
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
102
|
-
__epPropKey: true;
|
|
103
|
-
} & {
|
|
104
|
-
readonly default: "center";
|
|
105
|
-
};
|
|
106
|
-
readonly borderStyle: {
|
|
107
|
-
readonly type: PropType<string>;
|
|
108
|
-
readonly required: false;
|
|
109
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
110
|
-
__epPropKey: true;
|
|
111
|
-
} & {
|
|
112
|
-
readonly default: "solid";
|
|
113
|
-
};
|
|
68
|
+
readonly direction: EpPropFinalized<StringConstructor, "horizontal" | "vertical", unknown, "horizontal", boolean>;
|
|
69
|
+
readonly contentPosition: EpPropFinalized<StringConstructor, "center" | "left" | "right", unknown, "center", boolean>;
|
|
70
|
+
readonly borderStyle: EpPropFinalized<(new (...args: any[]) => string) | (() => string) | ((new (...args: any[]) => string) | (() => string))[], unknown, unknown, "solid", boolean>;
|
|
114
71
|
}>>, "direction" | "contentPosition" | "borderStyle"> & ShallowUnwrapRef<{}> & {} & ComponentCustomProperties & {} & {
|
|
115
72
|
$slots: {
|
|
116
73
|
default?(_: {}): any;
|
|
117
74
|
};
|
|
118
75
|
}) | null;
|
|
119
|
-
},
|
|
76
|
+
}, HTMLDivElement, ComponentProvideOptions, {
|
|
120
77
|
P: {};
|
|
121
78
|
B: {};
|
|
122
79
|
D: {};
|
|
@@ -125,19 +82,13 @@ declare const Divider: SFCWithInstall<{
|
|
|
125
82
|
Defaults: {};
|
|
126
83
|
}, Readonly<{}> & Readonly<{}>, {
|
|
127
84
|
refEl: Ref<any, any>;
|
|
128
|
-
}, {}, {}, {}, {}
|
|
129
|
-
[x: string]: any;
|
|
130
|
-
}>;
|
|
85
|
+
}, {}, {}, {}, {}>;
|
|
131
86
|
__isFragment?: never;
|
|
132
87
|
__isTeleport?: never;
|
|
133
88
|
__isSuspense?: never;
|
|
134
89
|
} & ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {
|
|
135
90
|
refEl: Ref<any, any>;
|
|
136
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}
|
|
137
|
-
|
|
138
|
-
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
139
|
-
$slots: Partial<Record<string, (_: {}) => any>> & {
|
|
140
|
-
default?(_: {}): any;
|
|
141
|
-
};
|
|
91
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
92
|
+
$slots: Partial<Record<string, (_: any) => any>>;
|
|
142
93
|
})>;
|
|
143
94
|
export { Divider, Divider as default };
|
|
@@ -1,15 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const buildProps = require("../../../utils/vues/buildProps.cjs");
|
|
4
|
-
const dataProps = buildProps.buildProps({
|
|
5
|
-
/**
|
|
6
|
-
* @props { String } modelValue
|
|
7
|
-
* 在没有插槽的情况下展示modelValue的值
|
|
8
|
-
*/
|
|
9
|
-
modelValue: {
|
|
10
|
-
type: String
|
|
11
|
-
}
|
|
12
|
-
});
|
|
4
|
+
const dataProps = buildProps.buildProps({});
|
|
13
5
|
const dataEmits = [];
|
|
14
6
|
const dataExpose = {};
|
|
15
7
|
exports.dataEmits = dataEmits;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExtractPublicPropTypes } from 'vue';
|
|
2
2
|
/**
|
|
3
|
-
* @title {h2} Divider
|
|
3
|
+
* @title {h2} Divider 输入框
|
|
4
4
|
* @text 目前完全继承 element-plus 中 el-divider
|
|
5
5
|
*/
|
|
6
|
-
export declare const dataProps:
|
|
7
|
-
export type DataProps =
|
|
6
|
+
export declare const dataProps: {};
|
|
7
|
+
export type DataProps = ExtractPublicPropTypes<typeof dataProps>;
|
|
8
8
|
export declare const dataEmits: never[];
|
|
9
9
|
export type DataEmits = typeof dataEmits;
|
|
10
10
|
export declare const dataSlot: {};
|
|
@@ -1,13 +1,5 @@
|
|
|
1
1
|
import { buildProps } from "../../../utils/vues/buildProps.js";
|
|
2
|
-
const dataProps = buildProps({
|
|
3
|
-
/**
|
|
4
|
-
* @props { String } modelValue
|
|
5
|
-
* 在没有插槽的情况下展示modelValue的值
|
|
6
|
-
*/
|
|
7
|
-
modelValue: {
|
|
8
|
-
type: String
|
|
9
|
-
}
|
|
10
|
-
});
|
|
2
|
+
const dataProps = buildProps({});
|
|
11
3
|
const dataEmits = [];
|
|
12
4
|
const dataExpose = {};
|
|
13
5
|
export {
|
|
@@ -3,63 +3,39 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
|
|
|
3
3
|
const vue = require("vue");
|
|
4
4
|
const data = require("./data.cjs");
|
|
5
5
|
const index$1 = require("../../../hooks/cssname/index.cjs");
|
|
6
|
-
require("@fangzhongya/utils/basic/string/splitUpper");
|
|
7
|
-
require("@fangzhongya/utils/basic/array/isArray");
|
|
8
|
-
require("@fangzhongya/utils/basic/object/isObject");
|
|
9
|
-
require("@fangzhongya/utils/basic/string/firstLower");
|
|
10
|
-
require("@fangzhongya/utils/basic/object/hasOwn");
|
|
11
|
-
require("@fangzhongya/utils/basic/string/firstUpper");
|
|
12
|
-
require("@fangzhongya/utils/name/lineToLargeHump");
|
|
13
|
-
require("@fangzhongya/utils/name/lineToSmallHump");
|
|
14
|
-
require("@fangzhongya/utils/name/humpToLine");
|
|
15
|
-
require("@fangzhongya/utils/basic/object/deepCopy");
|
|
16
|
-
require("@fangzhongya/utils/basic/Array/toggleArray");
|
|
17
|
-
require("@fangzhongya/utils/basic/object/objValue");
|
|
18
|
-
require("../../../hooks/global-config/index.cjs");
|
|
19
6
|
const index$2 = require("../../../hooks/locale/index.cjs");
|
|
20
7
|
const index = require("../../../hooks/inherit/index.cjs");
|
|
21
|
-
const
|
|
8
|
+
const index$3 = require("element-plus/es/components/divider/index");
|
|
22
9
|
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
23
|
-
...{ inheritAttrs: false },
|
|
24
10
|
__name: "index",
|
|
25
11
|
props: data.dataProps,
|
|
26
12
|
emits: data.dataEmits,
|
|
27
13
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
28
14
|
const refEl = vue.ref();
|
|
29
|
-
const attrs = index.useInherit();
|
|
15
|
+
const attrs = index.useInherit(vue.useAttrs());
|
|
30
16
|
const slots = vue.useSlots();
|
|
31
17
|
const cs = index$1.useCssName("divider");
|
|
32
18
|
index$2.useLocale();
|
|
33
|
-
const props = __props;
|
|
34
19
|
__expose({
|
|
35
20
|
...data.dataExpose,
|
|
36
21
|
refEl
|
|
37
22
|
});
|
|
38
23
|
return (_ctx, _cache) => {
|
|
39
24
|
return vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
40
|
-
class:
|
|
25
|
+
class: vue.unref(cs).z()
|
|
41
26
|
}, vue.unref(attrs).root), [
|
|
42
|
-
vue.createVNode(vue.unref(
|
|
27
|
+
vue.createVNode(vue.unref(index$3.ElDivider), vue.mergeProps(vue.unref(attrs).assem, {
|
|
43
28
|
ref_key: "refEl",
|
|
44
29
|
ref: refEl
|
|
45
30
|
}), vue.createSlots({ _: 2 }, [
|
|
46
|
-
vue.renderList(Object.keys(vue.unref(slots)), (k,
|
|
31
|
+
vue.renderList(Object.keys(vue.unref(slots)), (k, i) => {
|
|
47
32
|
return {
|
|
48
33
|
name: k,
|
|
49
|
-
fn: vue.withCtx(() => [
|
|
50
|
-
vue.renderSlot(_ctx.$slots, k)
|
|
34
|
+
fn: vue.withCtx((scope) => [
|
|
35
|
+
vue.renderSlot(_ctx.$slots, k, vue.normalizeProps(vue.guardReactiveProps(scope)))
|
|
51
36
|
])
|
|
52
37
|
};
|
|
53
|
-
})
|
|
54
|
-
vue.unref(slots).default || props.modelValue ? {
|
|
55
|
-
name: "default",
|
|
56
|
-
fn: vue.withCtx(() => [
|
|
57
|
-
vue.renderSlot(_ctx.$slots, "default", {}, () => [
|
|
58
|
-
vue.createTextVNode(vue.toDisplayString(props.modelValue), 1)
|
|
59
|
-
])
|
|
60
|
-
]),
|
|
61
|
-
key: "0"
|
|
62
|
-
} : void 0
|
|
38
|
+
})
|
|
63
39
|
]), 1040)
|
|
64
40
|
], 16);
|
|
65
41
|
};
|
|
@@ -1,21 +1,20 @@
|
|
|
1
|
-
import { ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes,
|
|
1
|
+
import { ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, ComponentOptionsMixin, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, DefineComponent, Ref, PublicProps } from 'vue';
|
|
2
|
+
import { EpPropMergeType, EpPropFinalized } from 'element-plus/es/utils';
|
|
2
3
|
import { OnCleanup } from '@vue/reactivity';
|
|
3
4
|
declare function __VLS_template(): {
|
|
4
5
|
attrs: Partial<{}>;
|
|
5
|
-
slots: Partial<Record<string, (_:
|
|
6
|
-
default?(_: {}): any;
|
|
7
|
-
};
|
|
6
|
+
slots: Partial<Record<string, (_: any) => any>>;
|
|
8
7
|
refs: {
|
|
9
8
|
refEl: ({
|
|
10
9
|
$: ComponentInternalInstance;
|
|
11
10
|
$data: {};
|
|
12
11
|
$props: Partial<{
|
|
13
|
-
readonly direction: "horizontal" | "vertical"
|
|
12
|
+
readonly direction: EpPropMergeType<StringConstructor, "horizontal" | "vertical", unknown>;
|
|
14
13
|
readonly borderStyle: string;
|
|
15
|
-
readonly contentPosition: "
|
|
14
|
+
readonly contentPosition: EpPropMergeType<StringConstructor, "center" | "left" | "right", unknown>;
|
|
16
15
|
}> & Omit<{
|
|
17
|
-
readonly direction: "horizontal" | "vertical"
|
|
18
|
-
readonly contentPosition: "left" | "right" | "center"
|
|
16
|
+
readonly direction: EpPropMergeType<StringConstructor, "horizontal" | "vertical", unknown>;
|
|
17
|
+
readonly contentPosition: EpPropMergeType<StringConstructor, "left" | "right" | "center", unknown>;
|
|
19
18
|
readonly borderStyle: string;
|
|
20
19
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "direction" | "contentPosition" | "borderStyle">;
|
|
21
20
|
$attrs: {
|
|
@@ -33,34 +32,13 @@ declare function __VLS_template(): {
|
|
|
33
32
|
$emit: (event: string, ...args: any[]) => void;
|
|
34
33
|
$el: any;
|
|
35
34
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
36
|
-
readonly direction:
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
40
|
-
__epPropKey: true;
|
|
41
|
-
} & {
|
|
42
|
-
readonly default: "horizontal";
|
|
43
|
-
};
|
|
44
|
-
readonly contentPosition: {
|
|
45
|
-
readonly type: PropType<"left" | "right" | "center">;
|
|
46
|
-
readonly required: false;
|
|
47
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
48
|
-
__epPropKey: true;
|
|
49
|
-
} & {
|
|
50
|
-
readonly default: "center";
|
|
51
|
-
};
|
|
52
|
-
readonly borderStyle: {
|
|
53
|
-
readonly type: PropType<string>;
|
|
54
|
-
readonly required: false;
|
|
55
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
56
|
-
__epPropKey: true;
|
|
57
|
-
} & {
|
|
58
|
-
readonly default: "solid";
|
|
59
|
-
};
|
|
35
|
+
readonly direction: EpPropFinalized<StringConstructor, "horizontal" | "vertical", unknown, "horizontal", boolean>;
|
|
36
|
+
readonly contentPosition: EpPropFinalized<StringConstructor, "center" | "left" | "right", unknown, "center", boolean>;
|
|
37
|
+
readonly borderStyle: EpPropFinalized<(new (...args: any[]) => string) | (() => string) | ((new (...args: any[]) => string) | (() => string))[], unknown, unknown, "solid", boolean>;
|
|
60
38
|
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, {
|
|
61
|
-
readonly direction: "horizontal" | "vertical"
|
|
39
|
+
readonly direction: EpPropMergeType<StringConstructor, "horizontal" | "vertical", unknown>;
|
|
62
40
|
readonly borderStyle: string;
|
|
63
|
-
readonly contentPosition: "
|
|
41
|
+
readonly contentPosition: EpPropMergeType<StringConstructor, "center" | "left" | "right", unknown>;
|
|
64
42
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
65
43
|
beforeCreate?: (() => void) | (() => void)[];
|
|
66
44
|
created?: (() => void) | (() => void)[];
|
|
@@ -82,58 +60,35 @@ declare function __VLS_template(): {
|
|
|
82
60
|
$nextTick: nextTick;
|
|
83
61
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
84
62
|
} & Readonly<{
|
|
85
|
-
readonly direction: "horizontal" | "vertical"
|
|
63
|
+
readonly direction: EpPropMergeType<StringConstructor, "horizontal" | "vertical", unknown>;
|
|
86
64
|
readonly borderStyle: string;
|
|
87
|
-
readonly contentPosition: "
|
|
65
|
+
readonly contentPosition: EpPropMergeType<StringConstructor, "center" | "left" | "right", unknown>;
|
|
88
66
|
}> & Omit<Readonly< ExtractPropTypes<{
|
|
89
|
-
readonly direction:
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
93
|
-
__epPropKey: true;
|
|
94
|
-
} & {
|
|
95
|
-
readonly default: "horizontal";
|
|
96
|
-
};
|
|
97
|
-
readonly contentPosition: {
|
|
98
|
-
readonly type: PropType<"left" | "right" | "center">;
|
|
99
|
-
readonly required: false;
|
|
100
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
101
|
-
__epPropKey: true;
|
|
102
|
-
} & {
|
|
103
|
-
readonly default: "center";
|
|
104
|
-
};
|
|
105
|
-
readonly borderStyle: {
|
|
106
|
-
readonly type: PropType<string>;
|
|
107
|
-
readonly required: false;
|
|
108
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
109
|
-
__epPropKey: true;
|
|
110
|
-
} & {
|
|
111
|
-
readonly default: "solid";
|
|
112
|
-
};
|
|
67
|
+
readonly direction: EpPropFinalized<StringConstructor, "horizontal" | "vertical", unknown, "horizontal", boolean>;
|
|
68
|
+
readonly contentPosition: EpPropFinalized<StringConstructor, "center" | "left" | "right", unknown, "center", boolean>;
|
|
69
|
+
readonly borderStyle: EpPropFinalized<(new (...args: any[]) => string) | (() => string) | ((new (...args: any[]) => string) | (() => string))[], unknown, unknown, "solid", boolean>;
|
|
113
70
|
}>>, "direction" | "contentPosition" | "borderStyle"> & ShallowUnwrapRef<{}> & {} & ComponentCustomProperties & {} & {
|
|
114
71
|
$slots: {
|
|
115
72
|
default?(_: {}): any;
|
|
116
73
|
};
|
|
117
74
|
}) | null;
|
|
118
75
|
};
|
|
119
|
-
rootEl:
|
|
76
|
+
rootEl: HTMLDivElement;
|
|
120
77
|
};
|
|
121
78
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
122
79
|
declare const __VLS_component: DefineComponent<{}, {
|
|
123
80
|
refEl: Ref<any, any>;
|
|
124
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}
|
|
125
|
-
[x: string]: any;
|
|
126
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
81
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
127
82
|
refEl: ({
|
|
128
83
|
$: ComponentInternalInstance;
|
|
129
84
|
$data: {};
|
|
130
85
|
$props: Partial<{
|
|
131
|
-
readonly direction: "horizontal" | "vertical"
|
|
86
|
+
readonly direction: EpPropMergeType<StringConstructor, "horizontal" | "vertical", unknown>;
|
|
132
87
|
readonly borderStyle: string;
|
|
133
|
-
readonly contentPosition: "
|
|
88
|
+
readonly contentPosition: EpPropMergeType<StringConstructor, "center" | "left" | "right", unknown>;
|
|
134
89
|
}> & Omit<{
|
|
135
|
-
readonly direction: "horizontal" | "vertical"
|
|
136
|
-
readonly contentPosition: "left" | "right" | "center"
|
|
90
|
+
readonly direction: EpPropMergeType<StringConstructor, "horizontal" | "vertical", unknown>;
|
|
91
|
+
readonly contentPosition: EpPropMergeType<StringConstructor, "left" | "right" | "center", unknown>;
|
|
137
92
|
readonly borderStyle: string;
|
|
138
93
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "direction" | "contentPosition" | "borderStyle">;
|
|
139
94
|
$attrs: {
|
|
@@ -151,34 +106,13 @@ declare const __VLS_component: DefineComponent<{}, {
|
|
|
151
106
|
$emit: (event: string, ...args: any[]) => void;
|
|
152
107
|
$el: any;
|
|
153
108
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
154
|
-
readonly direction:
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
158
|
-
__epPropKey: true;
|
|
159
|
-
} & {
|
|
160
|
-
readonly default: "horizontal";
|
|
161
|
-
};
|
|
162
|
-
readonly contentPosition: {
|
|
163
|
-
readonly type: PropType<"left" | "right" | "center">;
|
|
164
|
-
readonly required: false;
|
|
165
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
166
|
-
__epPropKey: true;
|
|
167
|
-
} & {
|
|
168
|
-
readonly default: "center";
|
|
169
|
-
};
|
|
170
|
-
readonly borderStyle: {
|
|
171
|
-
readonly type: PropType<string>;
|
|
172
|
-
readonly required: false;
|
|
173
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
174
|
-
__epPropKey: true;
|
|
175
|
-
} & {
|
|
176
|
-
readonly default: "solid";
|
|
177
|
-
};
|
|
109
|
+
readonly direction: EpPropFinalized<StringConstructor, "horizontal" | "vertical", unknown, "horizontal", boolean>;
|
|
110
|
+
readonly contentPosition: EpPropFinalized<StringConstructor, "center" | "left" | "right", unknown, "center", boolean>;
|
|
111
|
+
readonly borderStyle: EpPropFinalized<(new (...args: any[]) => string) | (() => string) | ((new (...args: any[]) => string) | (() => string))[], unknown, unknown, "solid", boolean>;
|
|
178
112
|
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, {
|
|
179
|
-
readonly direction: "horizontal" | "vertical"
|
|
113
|
+
readonly direction: EpPropMergeType<StringConstructor, "horizontal" | "vertical", unknown>;
|
|
180
114
|
readonly borderStyle: string;
|
|
181
|
-
readonly contentPosition: "
|
|
115
|
+
readonly contentPosition: EpPropMergeType<StringConstructor, "center" | "left" | "right", unknown>;
|
|
182
116
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
183
117
|
beforeCreate?: (() => void) | (() => void)[];
|
|
184
118
|
created?: (() => void) | (() => void)[];
|
|
@@ -200,40 +134,19 @@ declare const __VLS_component: DefineComponent<{}, {
|
|
|
200
134
|
$nextTick: nextTick;
|
|
201
135
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
202
136
|
} & Readonly<{
|
|
203
|
-
readonly direction: "horizontal" | "vertical"
|
|
137
|
+
readonly direction: EpPropMergeType<StringConstructor, "horizontal" | "vertical", unknown>;
|
|
204
138
|
readonly borderStyle: string;
|
|
205
|
-
readonly contentPosition: "
|
|
139
|
+
readonly contentPosition: EpPropMergeType<StringConstructor, "center" | "left" | "right", unknown>;
|
|
206
140
|
}> & Omit<Readonly< ExtractPropTypes<{
|
|
207
|
-
readonly direction:
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
211
|
-
__epPropKey: true;
|
|
212
|
-
} & {
|
|
213
|
-
readonly default: "horizontal";
|
|
214
|
-
};
|
|
215
|
-
readonly contentPosition: {
|
|
216
|
-
readonly type: PropType<"left" | "right" | "center">;
|
|
217
|
-
readonly required: false;
|
|
218
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
219
|
-
__epPropKey: true;
|
|
220
|
-
} & {
|
|
221
|
-
readonly default: "center";
|
|
222
|
-
};
|
|
223
|
-
readonly borderStyle: {
|
|
224
|
-
readonly type: PropType<string>;
|
|
225
|
-
readonly required: false;
|
|
226
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
227
|
-
__epPropKey: true;
|
|
228
|
-
} & {
|
|
229
|
-
readonly default: "solid";
|
|
230
|
-
};
|
|
141
|
+
readonly direction: EpPropFinalized<StringConstructor, "horizontal" | "vertical", unknown, "horizontal", boolean>;
|
|
142
|
+
readonly contentPosition: EpPropFinalized<StringConstructor, "center" | "left" | "right", unknown, "center", boolean>;
|
|
143
|
+
readonly borderStyle: EpPropFinalized<(new (...args: any[]) => string) | (() => string) | ((new (...args: any[]) => string) | (() => string))[], unknown, unknown, "solid", boolean>;
|
|
231
144
|
}>>, "direction" | "contentPosition" | "borderStyle"> & ShallowUnwrapRef<{}> & {} & ComponentCustomProperties & {} & {
|
|
232
145
|
$slots: {
|
|
233
146
|
default?(_: {}): any;
|
|
234
147
|
};
|
|
235
148
|
}) | null;
|
|
236
|
-
},
|
|
149
|
+
}, HTMLDivElement>;
|
|
237
150
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
238
151
|
export default _default;
|
|
239
152
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,63 +1,39 @@
|
|
|
1
|
-
import { defineComponent, ref, useSlots, createElementBlock, openBlock, mergeProps, unref, createVNode, createSlots, renderList, withCtx, renderSlot,
|
|
1
|
+
import { defineComponent, ref, useAttrs, useSlots, createElementBlock, openBlock, mergeProps, unref, createVNode, createSlots, renderList, withCtx, renderSlot, normalizeProps, guardReactiveProps } from "vue";
|
|
2
2
|
import { dataEmits, dataProps, dataExpose } from "./data.js";
|
|
3
3
|
import { useCssName } from "../../../hooks/cssname/index.js";
|
|
4
|
-
import "@fangzhongya/utils/basic/string/splitUpper";
|
|
5
|
-
import "@fangzhongya/utils/basic/array/isArray";
|
|
6
|
-
import "@fangzhongya/utils/basic/object/isObject";
|
|
7
|
-
import "@fangzhongya/utils/basic/string/firstLower";
|
|
8
|
-
import "@fangzhongya/utils/basic/object/hasOwn";
|
|
9
|
-
import "@fangzhongya/utils/basic/string/firstUpper";
|
|
10
|
-
import "@fangzhongya/utils/name/lineToLargeHump";
|
|
11
|
-
import "@fangzhongya/utils/name/lineToSmallHump";
|
|
12
|
-
import "@fangzhongya/utils/name/humpToLine";
|
|
13
|
-
import "@fangzhongya/utils/basic/object/deepCopy";
|
|
14
|
-
import "@fangzhongya/utils/basic/Array/toggleArray";
|
|
15
|
-
import "@fangzhongya/utils/basic/object/objValue";
|
|
16
|
-
import "../../../hooks/global-config/index.js";
|
|
17
4
|
import { useLocale } from "../../../hooks/locale/index.js";
|
|
18
5
|
import { useInherit } from "../../../hooks/inherit/index.js";
|
|
19
|
-
import { ElDivider } from "element-plus";
|
|
6
|
+
import { ElDivider } from "element-plus/es/components/divider/index";
|
|
20
7
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
21
|
-
...{ inheritAttrs: false },
|
|
22
8
|
__name: "index",
|
|
23
9
|
props: dataProps,
|
|
24
10
|
emits: dataEmits,
|
|
25
11
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
26
12
|
const refEl = ref();
|
|
27
|
-
const attrs = useInherit();
|
|
13
|
+
const attrs = useInherit(useAttrs());
|
|
28
14
|
const slots = useSlots();
|
|
29
15
|
const cs = useCssName("divider");
|
|
30
16
|
useLocale();
|
|
31
|
-
const props = __props;
|
|
32
17
|
__expose({
|
|
33
18
|
...dataExpose,
|
|
34
19
|
refEl
|
|
35
20
|
});
|
|
36
21
|
return (_ctx, _cache) => {
|
|
37
22
|
return openBlock(), createElementBlock("div", mergeProps({
|
|
38
|
-
class:
|
|
23
|
+
class: unref(cs).z()
|
|
39
24
|
}, unref(attrs).root), [
|
|
40
25
|
createVNode(unref(ElDivider), mergeProps(unref(attrs).assem, {
|
|
41
26
|
ref_key: "refEl",
|
|
42
27
|
ref: refEl
|
|
43
28
|
}), createSlots({ _: 2 }, [
|
|
44
|
-
renderList(Object.keys(unref(slots)), (k,
|
|
29
|
+
renderList(Object.keys(unref(slots)), (k, i) => {
|
|
45
30
|
return {
|
|
46
31
|
name: k,
|
|
47
|
-
fn: withCtx(() => [
|
|
48
|
-
renderSlot(_ctx.$slots, k)
|
|
32
|
+
fn: withCtx((scope) => [
|
|
33
|
+
renderSlot(_ctx.$slots, k, normalizeProps(guardReactiveProps(scope)))
|
|
49
34
|
])
|
|
50
35
|
};
|
|
51
|
-
})
|
|
52
|
-
unref(slots).default || props.modelValue ? {
|
|
53
|
-
name: "default",
|
|
54
|
-
fn: withCtx(() => [
|
|
55
|
-
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
56
|
-
createTextVNode(toDisplayString(props.modelValue), 1)
|
|
57
|
-
])
|
|
58
|
-
]),
|
|
59
|
-
key: "0"
|
|
60
|
-
} : void 0
|
|
36
|
+
})
|
|
61
37
|
]), 1040)
|
|
62
38
|
], 16);
|
|
63
39
|
};
|