cosey 0.1.1 → 0.1.4
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/components/audio-card/audio-card.vue.js +1 -1
- package/components/audio-card/style/index.d.ts +1 -1
- package/components/audio-viewer/style/index.d.ts +1 -1
- package/components/close/close.vue.js +1 -1
- package/components/close/style/index.d.ts +1 -1
- package/components/col/style/index.d.ts +1 -1
- package/components/col/style/index.js +1 -1
- package/components/components.d.ts +98 -44
- package/components/config-provider/config-provider.js +1 -3
- package/components/config-provider/config-provider.vue.d.ts +2 -7
- package/components/config-provider/config-provider.vue.js +8 -4
- package/components/config-provider/index.d.ts +1 -1
- package/components/config-provider/override-element-plus.d.ts +3 -2
- package/components/config-provider/override-element-plus.js +2 -2
- package/components/container/container.d.ts +0 -1
- package/components/container/container.vue.js +0 -4
- package/components/container/style/index.d.ts +1 -1
- package/components/context-menu/content.vue.js +1 -1
- package/components/context-menu/context-menu.vue.js +2 -2
- package/components/context-menu/style/index.d.ts +1 -1
- package/components/copy/copy.d.ts +0 -2
- package/components/copy/copy.vue.d.ts +1 -7
- package/components/copy/copy.vue.js +1 -2
- package/components/copy/index.d.ts +3 -19
- package/components/copy/style/index.d.ts +1 -1
- package/components/cssinjs/parser.js +8 -25
- package/components/dnd-sort/dnd-sort-item.vue.js +3 -4
- package/components/dnd-sort/dnd-sort.vue.js +1 -2
- package/components/dnd-sort/index.d.ts +1 -1
- package/components/dnd-sort/style/index.d.ts +1 -1
- package/components/dnd-sort/style/index.js +1 -0
- package/components/editor/components/button-group.vue.d.ts +2 -7
- package/components/editor/components/button.vue.d.ts +2 -7
- package/components/editor/components/color-picker/color-picker.style.d.ts +1 -1
- package/components/editor/components/color-picker/color-picker.vue.d.ts +2 -43
- package/components/editor/components/color-picker/color-picker.vue.js +14 -11
- package/components/editor/components/list/list.style.d.ts +1 -1
- package/components/editor/components/picker/picker.style.d.ts +1 -1
- package/components/editor/components/picker/picker.vue.d.ts +2 -15
- package/components/editor/components/resize/resize.js +4 -4
- package/components/editor/components/resize/resize.style.d.ts +1 -1
- package/components/editor/components/resize/resize.style.js +9 -32
- package/components/editor/components/resize/resize.vue.js +21 -14
- package/components/editor/components/select-button.vue.d.ts +2 -9
- package/components/editor/components/select-button.vue.js +1 -1
- package/components/editor/components/split-button.vue.d.ts +2 -19
- package/components/editor/components/split-button.vue.js +1 -1
- package/components/editor/components/table-toolbar/table-toolbar.style.d.ts +1 -1
- package/components/editor/components/table-toolbar/table-toolbar.vue.js +9 -9
- package/components/editor/components/toolbar/formats/align.vue.js +4 -4
- package/components/editor/components/toolbar/formats/blockquote.vue.js +1 -1
- package/components/editor/components/toolbar/formats/bold.vue.js +1 -1
- package/components/editor/components/toolbar/formats/clean.vue.js +1 -1
- package/components/editor/components/toolbar/formats/code-block.vue.js +1 -1
- package/components/editor/components/toolbar/formats/code.vue.js +1 -1
- package/components/editor/components/toolbar/formats/formula.vue.js +4 -3
- package/components/editor/components/toolbar/formats/image.vue.js +1 -1
- package/components/editor/components/toolbar/formats/indent.vue.js +2 -2
- package/components/editor/components/toolbar/formats/italic.vue.js +1 -1
- package/components/editor/components/toolbar/formats/link.vue.js +15 -13
- package/components/editor/components/toolbar/formats/list.vue.js +3 -3
- package/components/editor/components/toolbar/formats/script.vue.js +2 -2
- package/components/editor/components/toolbar/formats/size-delta.vue.js +2 -2
- package/components/editor/components/toolbar/formats/strike.vue.js +1 -1
- package/components/editor/components/toolbar/formats/table.style.d.ts +1 -1
- package/components/editor/components/toolbar/formats/table.vue.js +1 -1
- package/components/editor/components/toolbar/formats/underline.vue.js +1 -1
- package/components/editor/components/toolbar/formats/video.vue.js +1 -1
- package/components/editor/components/toolbar/toolbar.d.ts +1 -2
- package/components/editor/components/toolbar/toolbar.js +17 -21
- package/components/editor/components/toolbar/toolbarContext.js +1 -3
- package/components/editor/editor.d.ts +0 -2
- package/components/editor/editor.vue.js +1 -11
- package/components/editor/formats/image.d.ts +13 -0
- package/components/editor/formats/image.js +46 -0
- package/components/editor/formats/indent.d.ts +2 -0
- package/components/editor/formats/indent.js +12 -7
- package/components/editor/formats/link.js +1 -5
- package/components/editor/formats/list.d.ts +0 -4
- package/components/editor/formats/list.js +10 -5
- package/components/editor/formats/video.js +6 -9
- package/components/editor/modules/custom-list.js +1 -6
- package/components/editor/modules/image-uploader/formats/image-loading.style.d.ts +1 -1
- package/components/editor/modules/image-uploader/formats/image-loading.style.js +4 -4
- package/components/editor/modules/image-uploader/image-uploader.js +1 -3
- package/components/editor/quill.js +7 -4
- package/components/editor/quillContext.js +1 -3
- package/components/editor/style/hljs.d.ts +1 -1
- package/components/editor/style/index.d.ts +1 -1
- package/components/editor/style/index.js +1 -5
- package/components/field/components/checkbox-group/panel.vue.d.ts +2 -20
- package/components/field/components/checkbox-group/panel.vue.js +2 -2
- package/components/field/components/tree-select/tree-select.d.ts +1 -2
- package/components/field/components/tree-select/tree-select.js +69 -0
- package/components/file-card/file-card.vue.js +1 -1
- package/components/file-card/style/index.d.ts +1 -1
- package/components/form/form-item.vue.js +1 -1
- package/components/form/style/index.d.ts +1 -1
- package/components/form/useFormItemWidth.js +1 -1
- package/components/form/useFormTemplate.js +2 -10
- package/components/form-dialog/form-dialog.vue.d.ts +0 -1
- package/components/form-dialog/form-dialog.vue.js +1 -1
- package/components/form-dialog/index.d.ts +0 -3
- package/components/form-group/form-group.vue.js +1 -1
- package/components/form-list/form-list.js +1 -6
- package/components/form-list/form-list.vue.js +2 -2
- package/components/form-list/style/index.d.ts +1 -1
- package/components/form-query/form-query.vue.js +5 -5
- package/components/form-query/style/index.d.ts +1 -1
- package/components/highlight/highlight.d.ts +1 -1
- package/components/highlight/highlight.vue.js +11 -4
- package/components/highlight/style/index.d.ts +1 -1
- package/components/highlight/style/index.js +15 -5
- package/components/horizontal-tree/horizontal-tree.vue.js +16 -12
- package/components/horizontal-tree/style/index.d.ts +1 -1
- package/components/icon/style/index.d.ts +1 -1
- package/components/iconify-icon/iconify-icon.d.ts +3 -0
- package/components/iconify-icon/iconify-icon.js +9 -0
- package/components/iconify-icon/iconify-icon.vue.js +2 -5
- package/components/iconify-icon/index.js +1 -0
- package/components/image-card/style/index.d.ts +1 -1
- package/components/index.js +4 -2
- package/components/long-text/style/index.d.ts +1 -1
- package/components/mask/style/index.d.ts +1 -1
- package/components/media-card-group/media-card-group.vue.js +4 -3
- package/components/media-card-group/style/index.d.ts +1 -1
- package/components/panel/style/index.d.ts +1 -1
- package/components/row/style/index.d.ts +1 -1
- package/components/scroll-view/scroll-view.vue.js +1 -2
- package/components/scroll-view/style/index.d.ts +1 -1
- package/components/snug-menu/snug-menu.vue.js +1 -2
- package/components/snug-menu/style/index.d.ts +1 -1
- package/components/style/animation.d.ts +5 -0
- package/components/style/animation.js +33 -0
- package/components/style/index.d.ts +1 -1
- package/components/style/index.js +2 -2
- package/components/style/mixins.d.ts +2 -0
- package/components/style/mixins.js +10 -1
- package/components/table/index.d.ts +0 -8
- package/components/table/style/index.d.ts +1 -1
- package/components/table/style/index.js +2 -2
- package/components/table/table-column/renderer.js +22 -18
- package/components/table/table-column/style/index.d.ts +1 -1
- package/components/table/table-column/table-column.vue.d.ts +3 -3
- package/components/table/table-column-editor/item.vue.js +5 -8
- package/components/table/table-column-editor/style/index.d.ts +1 -1
- package/components/table/table-column-editor/style/index.js +1 -0
- package/components/table/table-column-editor/table-column-editor.vue.d.ts +2 -246
- package/components/table/table-column-editor/table-column-editor.vue.js +9 -9
- package/components/table/table-export/style/index.d.ts +1 -1
- package/components/table/table-export/table-export.vue.js +2 -2
- package/components/table/table-query/table-query.d.ts +0 -4
- package/components/table/table-query/table-query.js +0 -4
- package/components/table/table-query/table-query.vue.d.ts +0 -9
- package/components/table/table-query/table-query.vue.js +14 -12
- package/components/table/table.js +1 -3
- package/components/table/table.vue.js +22 -24
- package/components/table/useTable.js +1 -4
- package/components/table/utils.js +1 -3
- package/components/table-action/item.vue.js +5 -5
- package/components/table-action/style/index.d.ts +1 -1
- package/components/table-action/table-action.vue.js +4 -3
- package/components/theme/StyleContext.js +1 -3
- package/components/theme/createCacheToken.js +1 -4
- package/components/theme/getGlobalStyleHook.d.ts +2 -3
- package/components/theme/getGlobalStyleHook.js +5 -13
- package/components/theme/getOverrideStyleHook.d.ts +8 -0
- package/components/theme/getOverrideStyleHook.js +39 -0
- package/components/theme/getSimpleStyleHook.d.ts +2 -2
- package/components/theme/getSimpleStyleHook.js +4 -11
- package/components/theme/getStyleHook.d.ts +2 -2
- package/components/theme/getStyleHook.js +4 -11
- package/components/theme/index.d.ts +2 -1
- package/components/theme/index.js +1 -0
- package/components/theme/interface/index.d.ts +1 -1
- package/components/theme/theme-context.d.ts +11 -2
- package/components/theme/theme-context.js +36 -6
- package/components/theme/themes/shared/genColorMapToken.js +1 -4
- package/components/theme/useStyleRegister.d.ts +1 -7
- package/components/theme/useStyleRegister.js +3 -6
- package/components/theme/util/alias.js +4 -16
- package/components/theme/util/getAlphaColor.js +1 -6
- package/components/theme/util/normalizeStyle.js +1 -1
- package/components/theme/util/statistic.js +4 -1
- package/components/theme/util/useToken.d.ts +4 -4
- package/components/theme/util/useToken.js +7 -10
- package/components/toggle/toggle.vue.js +1 -1
- package/components/transition/style/index.d.ts +1 -1
- package/components/transition/transition.vue.js +1 -2
- package/components/transition-group/index.d.ts +3 -3
- package/components/transition-group/style/index.d.ts +1 -1
- package/components/transition-group/transition-group.vue.d.ts +1 -1
- package/components/upload/index.d.ts +0 -3
- package/components/upload/style/index.d.ts +1 -1
- package/components/upload/upload-item.vue.js +8 -8
- package/components/upload/upload.d.ts +0 -2
- package/components/upload/upload.js +0 -1
- package/components/upload/upload.vue.d.ts +0 -1
- package/components/upload/upload.vue.js +1 -5
- package/components/video-card/style/index.d.ts +1 -1
- package/components/video-card/video-card.vue.js +1 -1
- package/components/video-viewer/style/index.d.ts +1 -1
- package/config/http.d.ts +1 -1
- package/config/http.js +1 -1
- package/config/index.d.ts +23 -22
- package/config/index.js +2 -7
- package/config/layout.d.ts +36 -0
- package/config/layout.js +37 -1
- package/config/nprogress.style.d.ts +2 -0
- package/config/nprogress.style.js +51 -0
- package/config/root-config-provider.vue.d.ts +2 -20
- package/config/root-config-provider.vue.js +2 -0
- package/hooks/useColorScheme.js +5 -9
- package/hooks/useEcharts.js +2 -4
- package/hooks/useFetch.d.ts +1 -1
- package/hooks/useFetch.js +1 -7
- package/hooks/useFullPage.js +7 -9
- package/hooks/useLocale.js +1 -3
- package/hooks/useLockscreenObserver.js +1 -1
- package/hooks/usePersist.js +1 -3
- package/hooks/useTreeCheck.js +13 -26
- package/hooks/useUpsert.d.ts +15 -16
- package/hooks/useUpsert.js +3 -3
- package/index.d.ts +1 -0
- package/index.js +5 -4
- package/layout/index.js +2 -2
- package/layout/layout-aside/layout-aside.vue.js +2 -1
- package/layout/layout-aside/style/index.d.ts +1 -1
- package/layout/layout-auth/style/index.d.ts +1 -1
- package/layout/layout-base/layout-base.vue.js +9 -9
- package/layout/layout-base/style/index.d.ts +1 -1
- package/layout/layout-brand/style/index.d.ts +1 -1
- package/layout/layout-change-password/layout-change-password.vue.js +8 -8
- package/layout/layout-change-password/style/index.d.ts +1 -1
- package/layout/layout-change-password/style/index.js +1 -1
- package/layout/layout-color-scheme/layout-color-scheme.vue.js +8 -14
- package/layout/layout-color-scheme/style/index.d.ts +2 -5
- package/layout/layout-color-scheme/style/index.js +26 -44
- package/layout/layout-content/layout-content.vue.d.ts +2 -13
- package/layout/layout-content/style/index.d.ts +1 -1
- package/layout/layout-exception/style/index.d.ts +1 -1
- package/layout/layout-forbidden/layout-forbidden.vue.js +2 -2
- package/layout/layout-header/layout-header.vue.d.ts +2 -14
- package/layout/layout-header/style/index.d.ts +1 -1
- package/layout/layout-iframe/style/index.d.ts +1 -1
- package/layout/layout-internal-server-error/layout-internal-server-error.vue.js +2 -2
- package/layout/layout-login/layout-login.vue.js +5 -5
- package/layout/layout-login/style/index.d.ts +1 -1
- package/layout/layout-login/style/index.js +1 -1
- package/layout/layout-main/style/index.d.ts +1 -1
- package/layout/layout-mask/style/index.d.ts +1 -1
- package/layout/layout-mask/style/index.js +1 -1
- package/layout/layout-menu/layout-menu.vue.js +5 -0
- package/layout/layout-menu/style/index.d.ts +1 -1
- package/layout/layout-not-found/layout-not-found.vue.js +2 -2
- package/layout/layout-search/layout-search.vue.js +37 -34
- package/layout/layout-search/style/index.d.ts +1 -1
- package/layout/layout-sidebar/layout-sidebar.vue.d.ts +2 -15
- package/layout/layout-sidebar/style/index.d.ts +1 -1
- package/layout/layout-sidebar/style/index.js +1 -1
- package/layout/layout-snug-aside/style/index.d.ts +1 -1
- package/layout/layout-switch-effect/layout-switch-effect.vue.d.ts +2 -7
- package/layout/layout-switch-effect/style/index.d.ts +1 -1
- package/layout/layout-tabbar/layout-tabbar.vue.js +8 -3
- package/layout/layout-tabbar/reload.vue.js +1 -1
- package/layout/layout-tabbar/style/index.d.ts +1 -1
- package/layout/layout-tabbar/style/index.js +6 -2
- package/layout/layout-toggle/layout-toggle.vue.js +1 -1
- package/layout/layout-top-snug-menu/layout-top-snug-menu.vue.js +4 -3
- package/layout/layout-topbar/layout-topbar.vue.d.ts +2 -1217
- package/layout/layout-topbar/style/index.d.ts +1 -1
- package/layout/layout-user-menu/index.d.ts +1 -0
- package/layout/layout-user-menu/index.js +1 -0
- package/layout/{layout-user/layout-user.vue.js → layout-user-menu/layout-user-menu.vue.js} +18 -13
- package/layout/{layout-user → layout-user-menu}/style/index.d.ts +1 -1
- package/layout/{layout-user → layout-user-menu}/style/index.js +9 -5
- package/layout/layout.d.ts +1 -1
- package/layout/layout.js +1 -1
- package/layout/merged/index.d.ts +1 -1
- package/layout/merged/index.js +1 -1
- package/layout/merged/{layout-user.js → layout-user-menu.js} +1 -1
- package/layout/utils.js +1 -4
- package/package.json +16 -6
- package/request/useRequest.js +1 -1
- package/router/guard/auth.js +2 -5
- package/router/guard/index.js +2 -2
- package/router/guard/pageTitle.d.ts +2 -0
- package/router/guard/pageTitle.js +11 -0
- package/router/guard/progress.js +11 -1
- package/router/index.d.ts +22 -0
- package/router/index.js +1 -1
- package/router/routes/static/auth.js +5 -6
- package/router/routes/static/exception.js +3 -3
- package/router/utils.js +11 -3
- package/store/layout.d.ts +4 -10
- package/store/layout.js +19 -31
- package/store/user.d.ts +4 -4
- package/store/user.js +2 -1
- package/utils/array.js +3 -0
- package/utils/dynamicCSS.d.ts +3 -2
- package/utils/dynamicCSS.js +12 -1
- package/utils/excel/index.js +1 -3
- package/utils/excel/utils.js +1 -5
- package/utils/file.js +1 -3
- package/utils/index.js +1 -1
- package/utils/object.js +1 -3
- package/utils/tree.js +2 -11
- package/utils/vue.js +1 -1
- package/components/global.d.js +0 -1
- package/components/style/motion/index.d.ts +0 -1
- package/components/style/motion/index.js +0 -1
- package/components/style/motion/loading.d.ts +0 -3
- package/components/style/motion/loading.js +0 -23
- package/layout/layout-user/index.d.ts +0 -1
- package/layout/layout-user/index.js +0 -1
- package/router/guard/popup.d.ts +0 -2
- package/router/guard/popup.js +0 -6
- package/types/vue-router.d.js +0 -1
- package/types/vue.d.js +0 -1
- /package/layout/{layout-user/layout-user.vue.d.ts → layout-user-menu/layout-user-menu.vue.d.ts} +0 -0
- /package/layout/merged/{layout-user.d.ts → layout-user-menu.d.ts} +0 -0
|
@@ -56,8 +56,8 @@ var stdin_default = /* @__PURE__ */defineComponent({
|
|
|
56
56
|
onChange: handleCheckAllChange
|
|
57
57
|
}, {
|
|
58
58
|
default: withCtx(() => _cache[1] || (_cache[1] = [createTextVNode(" \u5168\u9009 ")])),
|
|
59
|
-
_: 1
|
|
60
|
-
|
|
59
|
+
_: 1,
|
|
60
|
+
__: [1]
|
|
61
61
|
}, 8, ["modelValue", "indeterminate"]), createElementVNode("div", {
|
|
62
62
|
style: normalizeStyle({
|
|
63
63
|
marginLeft: "auto",
|
|
@@ -2,7 +2,7 @@ import { type TreeInstance } from 'element-plus';
|
|
|
2
2
|
import { type FieldComponentCommonProps } from '../common';
|
|
3
3
|
import { FieldSelectProps, FieldSelectSlots, type FieldSelectEmits, type FieldSelectExpose } from '../select/select';
|
|
4
4
|
import { ExtractPropTypes, PropType } from 'vue';
|
|
5
|
-
declare const elTreeProps: {
|
|
5
|
+
export declare const elTreeProps: {
|
|
6
6
|
data: {
|
|
7
7
|
type: PropType<Array<{
|
|
8
8
|
[key: string]: any;
|
|
@@ -106,4 +106,3 @@ export type FieldTreeSelectEmits = FieldSelectEmits & {
|
|
|
106
106
|
(e: 'node-drop', ...args: any[]): void;
|
|
107
107
|
};
|
|
108
108
|
export type FieldTreeSelectExpose = FieldSelectExpose & TreeInstance;
|
|
109
|
-
export {};
|
|
@@ -1 +1,70 @@
|
|
|
1
|
+
import { iconPropType } from 'element-plus/es/utils/index.mjs';
|
|
1
2
|
|
|
3
|
+
const elTreeProps = {
|
|
4
|
+
data: {
|
|
5
|
+
type: Array,
|
|
6
|
+
default: () => []
|
|
7
|
+
},
|
|
8
|
+
emptyText: {
|
|
9
|
+
type: String
|
|
10
|
+
},
|
|
11
|
+
renderAfterExpand: {
|
|
12
|
+
type: Boolean,
|
|
13
|
+
default: true
|
|
14
|
+
},
|
|
15
|
+
nodeKey: String,
|
|
16
|
+
checkStrictly: Boolean,
|
|
17
|
+
defaultExpandAll: Boolean,
|
|
18
|
+
expandOnClickNode: {
|
|
19
|
+
type: Boolean,
|
|
20
|
+
default: true
|
|
21
|
+
},
|
|
22
|
+
checkOnClickNode: Boolean,
|
|
23
|
+
checkDescendants: {
|
|
24
|
+
type: Boolean,
|
|
25
|
+
default: false
|
|
26
|
+
},
|
|
27
|
+
autoExpandParent: {
|
|
28
|
+
type: Boolean,
|
|
29
|
+
default: true
|
|
30
|
+
},
|
|
31
|
+
defaultCheckedKeys: Array,
|
|
32
|
+
defaultExpandedKeys: Array,
|
|
33
|
+
currentNodeKey: [String, Number],
|
|
34
|
+
renderContent: Function,
|
|
35
|
+
showCheckbox: {
|
|
36
|
+
type: Boolean,
|
|
37
|
+
default: false
|
|
38
|
+
},
|
|
39
|
+
draggable: {
|
|
40
|
+
type: Boolean,
|
|
41
|
+
default: false
|
|
42
|
+
},
|
|
43
|
+
allowDrag: Function,
|
|
44
|
+
allowDrop: Function,
|
|
45
|
+
props: {
|
|
46
|
+
type: Object,
|
|
47
|
+
default: () => ({
|
|
48
|
+
children: "children",
|
|
49
|
+
label: "label",
|
|
50
|
+
disabled: "disabled"
|
|
51
|
+
})
|
|
52
|
+
},
|
|
53
|
+
lazy: {
|
|
54
|
+
type: Boolean,
|
|
55
|
+
default: false
|
|
56
|
+
},
|
|
57
|
+
highlightCurrent: Boolean,
|
|
58
|
+
load: Function,
|
|
59
|
+
filterNodeMethod: Function,
|
|
60
|
+
accordion: Boolean,
|
|
61
|
+
indent: {
|
|
62
|
+
type: Number,
|
|
63
|
+
default: 18
|
|
64
|
+
},
|
|
65
|
+
icon: {
|
|
66
|
+
type: iconPropType
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
export { elTreeProps };
|
|
@@ -45,7 +45,7 @@ var stdin_default = /* @__PURE__ */defineComponent({
|
|
|
45
45
|
class: normalizeClass([unref(hashId), unref(prefixCls), `is-${_ctx.size}`]),
|
|
46
46
|
title: _ctx.title || _ctx.src
|
|
47
47
|
}, [createVNode(stdin_default$2, {
|
|
48
|
-
name: "
|
|
48
|
+
name: "co:document"
|
|
49
49
|
}), createElementVNode("div", {
|
|
50
50
|
class: normalizeClass([`${unref(prefixCls)}-filename`])
|
|
51
51
|
}, toDisplayString(_ctx.name), 3
|
|
@@ -3,7 +3,7 @@ export interface ComponentToken {
|
|
|
3
3
|
}
|
|
4
4
|
export interface FileCardToken extends FullToken<'FileCard'> {
|
|
5
5
|
}
|
|
6
|
-
declare const _default: (_prefixCls?: import("vue").ComputedRef<string> | string,
|
|
6
|
+
declare const _default: (_prefixCls?: import("vue").ComputedRef<string> | string, themeManager?: import("../../theme/theme-context").ThemeManager) => {
|
|
7
7
|
hashId: import("vue").Ref<string, string>;
|
|
8
8
|
};
|
|
9
9
|
export default _default;
|
|
@@ -239,7 +239,7 @@ var stdin_default = /* @__PURE__ */defineComponent({
|
|
|
239
239
|
key: 1
|
|
240
240
|
})]),
|
|
241
241
|
default: withCtx(() => [createVNode(stdin_default$1, {
|
|
242
|
-
name: "
|
|
242
|
+
name: "co:help",
|
|
243
243
|
class: normalizeClass(`${unref(prefixCls)}-item-label-icon`),
|
|
244
244
|
size: "md"
|
|
245
245
|
}, null, 8, ["class"])]),
|
|
@@ -4,7 +4,7 @@ export interface ComponentToken {
|
|
|
4
4
|
export interface FormToken extends FullToken<'Form'> {
|
|
5
5
|
formItemCls: string;
|
|
6
6
|
}
|
|
7
|
-
declare const _default: (_prefixCls?: import("vue").ComputedRef<string> | string,
|
|
7
|
+
declare const _default: (_prefixCls?: import("vue").ComputedRef<string> | string, themeManager?: import("../../theme/theme-context").ThemeManager) => {
|
|
8
8
|
hashId: import("vue").Ref<string, string>;
|
|
9
9
|
};
|
|
10
10
|
export default _default;
|
|
@@ -4,11 +4,7 @@ import { provide, reactive, toRef, useTemplateRef, ref } from 'vue';
|
|
|
4
4
|
import { createMergedExpose } from '../../utils/vue.js';
|
|
5
5
|
|
|
6
6
|
function useFormTemplate(props, options = {}) {
|
|
7
|
-
const elFormProps = reactiveOmit(
|
|
8
|
-
props,
|
|
9
|
-
...formPropsOmit,
|
|
10
|
-
...options.omittedProps || []
|
|
11
|
-
);
|
|
7
|
+
const elFormProps = reactiveOmit(props, ...formPropsOmit, ...options.omittedProps || []);
|
|
12
8
|
const resetList = [];
|
|
13
9
|
const addResetField = (reset2) => {
|
|
14
10
|
resetList.unshift(reset2);
|
|
@@ -62,11 +58,7 @@ function useFormTemplate(props, options = {}) {
|
|
|
62
58
|
submit,
|
|
63
59
|
reset
|
|
64
60
|
};
|
|
65
|
-
const expose = createMergedExpose(
|
|
66
|
-
formExposeKeys,
|
|
67
|
-
() => elFormRef.value,
|
|
68
|
-
customExpose
|
|
69
|
-
);
|
|
61
|
+
const expose = createMergedExpose(formExposeKeys, () => elFormRef.value, customExpose);
|
|
70
62
|
return {
|
|
71
63
|
elFormProps,
|
|
72
64
|
expose,
|
|
@@ -473,7 +473,6 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
473
473
|
$router: import("vue-router").TypesConfig extends Record<"$router", infer T> ? T : import("vue-router").Router;
|
|
474
474
|
$pinia: import("pinia").Pinia;
|
|
475
475
|
_pStores?: Record<string, import("pinia").StoreGeneric>;
|
|
476
|
-
$cosey: import("../..").GlobalConfig;
|
|
477
476
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
478
477
|
open: () => any;
|
|
479
478
|
close: () => any;
|
|
@@ -41,7 +41,7 @@ var stdin_default = /* @__PURE__ */defineComponent({
|
|
|
41
41
|
"modelValue": visible.value,
|
|
42
42
|
"onUpdate:modelValue": $event => visible.value = $event,
|
|
43
43
|
"style": {
|
|
44
|
-
maxWidth: "calc(100vw - 32px)"
|
|
44
|
+
maxWidth: props.fullscreen ? null : "calc(100vw - 32px)"
|
|
45
45
|
},
|
|
46
46
|
"width": width.value,
|
|
47
47
|
"append-to-body": true,
|
|
@@ -482,7 +482,6 @@ declare const _FormDialog: {
|
|
|
482
482
|
$router: import("vue-router").TypesConfig extends Record<"$router", infer T> ? T : import("vue-router").Router;
|
|
483
483
|
$pinia: import("pinia").Pinia;
|
|
484
484
|
_pStores?: Record<string, import("pinia").StoreGeneric>;
|
|
485
|
-
$cosey: import("../..").GlobalConfig;
|
|
486
485
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
487
486
|
open: () => any;
|
|
488
487
|
close: () => any;
|
|
@@ -1005,7 +1004,6 @@ declare const _FormDialog: {
|
|
|
1005
1004
|
$router: import("vue-router").TypesConfig extends Record<"$router", infer T> ? T : import("vue-router").Router;
|
|
1006
1005
|
$pinia: import("pinia").Pinia;
|
|
1007
1006
|
_pStores?: Record<string, import("pinia").StoreGeneric>;
|
|
1008
|
-
$cosey: import("../..").GlobalConfig;
|
|
1009
1007
|
}, {}, {}, {}, {
|
|
1010
1008
|
width: import("./form-dialog").FormDialogWidth;
|
|
1011
1009
|
overflow: boolean;
|
|
@@ -1517,7 +1515,6 @@ declare const _FormDialog: {
|
|
|
1517
1515
|
$router: import("vue-router").TypesConfig extends Record<"$router", infer T> ? T : import("vue-router").Router;
|
|
1518
1516
|
$pinia: import("pinia").Pinia;
|
|
1519
1517
|
_pStores?: Record<string, import("pinia").StoreGeneric>;
|
|
1520
|
-
$cosey: import("../..").GlobalConfig;
|
|
1521
1518
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
1522
1519
|
open: () => any;
|
|
1523
1520
|
close: () => any;
|
|
@@ -114,7 +114,7 @@ var stdin_default = /* @__PURE__ */defineComponent({
|
|
|
114
114
|
onClick: handleToggle
|
|
115
115
|
}, [_ctx.collapsible ? (openBlock(), createBlock(stdin_default$1, {
|
|
116
116
|
key: 0,
|
|
117
|
-
name: innerCollapsed.value ? "
|
|
117
|
+
name: innerCollapsed.value ? "co:caret-up" : "co:caret-down",
|
|
118
118
|
size: "xl"
|
|
119
119
|
}, null, 8, ["name"])) : createCommentVNode("v-if", true), createTextVNode(" " + toDisplayString(_ctx.title), 1
|
|
120
120
|
/* TEXT */)], 4
|
|
@@ -5,11 +5,6 @@ const defaultFormListProps = {
|
|
|
5
5
|
modelValue: () => [],
|
|
6
6
|
addText: "\u65B0\u589E"
|
|
7
7
|
};
|
|
8
|
-
const formListExposeKeys = [
|
|
9
|
-
...formItemExposeKeys,
|
|
10
|
-
"add",
|
|
11
|
-
"remove",
|
|
12
|
-
"move"
|
|
13
|
-
];
|
|
8
|
+
const formListExposeKeys = [...formItemExposeKeys, "add", "remove", "move"];
|
|
14
9
|
|
|
15
10
|
export { defaultFormListProps, formListExposeKeys };
|
|
@@ -305,7 +305,7 @@ var stdin_default = /* @__PURE__ */defineComponent({
|
|
|
305
305
|
"onClick": () => remove(index)
|
|
306
306
|
}, {
|
|
307
307
|
default: () => [createVNode(_Icon, {
|
|
308
|
-
"name": "
|
|
308
|
+
"name": "co:trash-can",
|
|
309
309
|
"size": "lg"
|
|
310
310
|
}, null)]
|
|
311
311
|
})]
|
|
@@ -320,7 +320,7 @@ var stdin_default = /* @__PURE__ */defineComponent({
|
|
|
320
320
|
"onClick": handleAdd
|
|
321
321
|
}, {
|
|
322
322
|
default: () => [createVNode(_Icon, {
|
|
323
|
-
"name": "
|
|
323
|
+
"name": "co:add-large",
|
|
324
324
|
"class": `${prefixCls.value}-plus-icon`
|
|
325
325
|
}, null), props.addText]
|
|
326
326
|
})])])],
|
|
@@ -3,7 +3,7 @@ export interface ComponentToken {
|
|
|
3
3
|
}
|
|
4
4
|
export interface FormListToken extends FullToken<'FormList'> {
|
|
5
5
|
}
|
|
6
|
-
declare const _default: (_prefixCls?: import("vue").ComputedRef<string> | string,
|
|
6
|
+
declare const _default: (_prefixCls?: import("vue").ComputedRef<string> | string, themeManager?: import("../../theme/theme-context").ThemeManager) => {
|
|
7
7
|
hashId: import("vue").Ref<string, string>;
|
|
8
8
|
};
|
|
9
9
|
export default _default;
|
|
@@ -112,15 +112,15 @@ var stdin_default = /* @__PURE__ */defineComponent({
|
|
|
112
112
|
type: "primary",
|
|
113
113
|
loading: unref(submitting)
|
|
114
114
|
}, {
|
|
115
|
-
default: withCtx(() => _cache[2] || (_cache[2] = [createTextVNode("
|
|
116
|
-
_: 1
|
|
117
|
-
|
|
115
|
+
default: withCtx(() => _cache[2] || (_cache[2] = [createTextVNode("\u67E5\u8BE2")])),
|
|
116
|
+
_: 1,
|
|
117
|
+
__: [2]
|
|
118
118
|
}, 8, ["loading"]), createVNode(unref(ElButton), {
|
|
119
119
|
onClick: unref(reset)
|
|
120
120
|
}, {
|
|
121
121
|
default: withCtx(() => _cache[3] || (_cache[3] = [createTextVNode("\u91CD\u7F6E")])),
|
|
122
|
-
_: 1
|
|
123
|
-
|
|
122
|
+
_: 1,
|
|
123
|
+
__: [3]
|
|
124
124
|
}, 8, ["onClick"])]), showToggle.value ? (openBlock(), createBlock(unref(_Toggle), {
|
|
125
125
|
key: 0,
|
|
126
126
|
modelValue: unref(innerCollapsed),
|
|
@@ -3,7 +3,7 @@ export interface ComponentToken {
|
|
|
3
3
|
}
|
|
4
4
|
export interface FormQueryToken extends FullToken<'FormQuery'> {
|
|
5
5
|
}
|
|
6
|
-
declare const _default: (_prefixCls?: import("vue").ComputedRef<string> | string,
|
|
6
|
+
declare const _default: (_prefixCls?: import("vue").ComputedRef<string> | string, themeManager?: import("../../theme/theme-context").ThemeManager) => {
|
|
7
7
|
hashId: import("vue").Ref<string, string>;
|
|
8
8
|
};
|
|
9
9
|
export default _default;
|
|
@@ -10,7 +10,7 @@ type ts = 'typescript' | 'ts' | 'tsx' | 'mts' | 'cts';
|
|
|
10
10
|
type plaintext = 'plaintext' | 'text' | 'txt';
|
|
11
11
|
export interface HighlightProps {
|
|
12
12
|
code?: string;
|
|
13
|
-
lang?: xml | json | js | ts | plaintext | 'css' | 'scss' | 'less';
|
|
13
|
+
lang?: xml | json | js | ts | plaintext | 'css' | 'scss' | 'less' | (string & {});
|
|
14
14
|
}
|
|
15
15
|
export interface HighlightSlots {
|
|
16
16
|
default?: (props: Record<string, never>) => any;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { defineComponent, computed, createElementBlock, openBlock, normalizeClass, unref, createElementVNode } from 'vue';
|
|
1
|
+
import { defineComponent, computed, createElementBlock, openBlock, normalizeClass, unref, createElementVNode, createVNode } from 'vue';
|
|
2
2
|
import './highlight.js';
|
|
3
3
|
import stdin_default$1 from './style/index.js';
|
|
4
|
+
import stdin_default$2 from '../copy/copy.vue.js';
|
|
4
5
|
import { useComponentConfig } from '../config-provider/config-provider.js';
|
|
5
6
|
import hljs from 'highlight.js/lib/core';
|
|
6
7
|
|
|
@@ -35,12 +36,18 @@ var stdin_default = /* @__PURE__ */defineComponent({
|
|
|
35
36
|
}).value);
|
|
36
37
|
__expose();
|
|
37
38
|
return (_ctx, _cache) => {
|
|
38
|
-
return openBlock(), createElementBlock("
|
|
39
|
+
return openBlock(), createElementBlock("div", {
|
|
39
40
|
class: normalizeClass([unref(hashId), unref(prefixCls)])
|
|
40
|
-
}, [createElementVNode("code", {
|
|
41
|
+
}, [createElementVNode("pre", null, [createElementVNode("code", {
|
|
41
42
|
class: "hljs",
|
|
42
43
|
innerHTML: highlightedCode.value
|
|
43
|
-
}, null, 8, _hoisted_1)],
|
|
44
|
+
}, null, 8, _hoisted_1)]), createElementVNode("div", {
|
|
45
|
+
class: normalizeClass(`${unref(prefixCls)}-copy`)
|
|
46
|
+
}, [createVNode(stdin_default$2, {
|
|
47
|
+
text: _ctx.code,
|
|
48
|
+
class: normalizeClass(`${unref(prefixCls)}-copy`)
|
|
49
|
+
}, null, 8, ["text", "class"])], 2
|
|
50
|
+
/* CLASS */)], 2
|
|
44
51
|
/* CLASS */);
|
|
45
52
|
};
|
|
46
53
|
}
|
|
@@ -3,7 +3,7 @@ export interface ComponentToken {
|
|
|
3
3
|
}
|
|
4
4
|
export interface MaskToken extends FullToken<'Mask'> {
|
|
5
5
|
}
|
|
6
|
-
declare const _default: (_prefixCls?: import("vue").ComputedRef<string> | string,
|
|
6
|
+
declare const _default: (_prefixCls?: import("vue").ComputedRef<string> | string, themeManager?: import("../../theme/theme-context").ThemeManager) => {
|
|
7
7
|
hashId: import("vue").Ref<string, string>;
|
|
8
8
|
};
|
|
9
9
|
export default _default;
|
|
@@ -5,11 +5,21 @@ const getMaskStyle = (token) => {
|
|
|
5
5
|
const { componentCls } = token;
|
|
6
6
|
return {
|
|
7
7
|
[componentCls]: {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
8
|
+
position: "relative",
|
|
9
|
+
pre: {
|
|
10
|
+
padding: token.paddingSM,
|
|
11
|
+
overflow: "auto",
|
|
12
|
+
color: "#abb2bf",
|
|
13
|
+
background: "#282c34",
|
|
14
|
+
borderRadius: token.borderRadius
|
|
15
|
+
},
|
|
16
|
+
[`${componentCls}-copy`]: {
|
|
17
|
+
position: "absolute",
|
|
18
|
+
top: token.sizeXXS,
|
|
19
|
+
right: token.sizeXXS,
|
|
20
|
+
zIndex: 10,
|
|
21
|
+
color: token.colorWhite
|
|
22
|
+
},
|
|
13
23
|
...getHljs()
|
|
14
24
|
}
|
|
15
25
|
};
|
|
@@ -187,7 +187,7 @@ var stdin_default = /* @__PURE__ */defineComponent({
|
|
|
187
187
|
}, [tableTree.value.length === 0 ? (openBlock(), createElementBlock("div", {
|
|
188
188
|
key: 0,
|
|
189
189
|
class: normalizeClass(`${unref(prefixCls)}-empty`)
|
|
190
|
-
}, "
|
|
190
|
+
}, "\u6682\u65E0\u6570\u636E", 2
|
|
191
191
|
/* CLASS */)) : (openBlock(), createElementBlock("table", _hoisted_1, [_ctx.showCheckbox && !_ctx.checkStrictly ? (openBlock(), createElementBlock("thead", _hoisted_2, [createElementVNode("tr", null, [createElementVNode("td", {
|
|
192
192
|
colspan: maxLevel.value
|
|
193
193
|
}, [createElementVNode("div", {
|
|
@@ -198,12 +198,15 @@ var stdin_default = /* @__PURE__ */defineComponent({
|
|
|
198
198
|
onChange: unref(onCheckAllChange)
|
|
199
199
|
}, {
|
|
200
200
|
default: withCtx(() => _cache[0] || (_cache[0] = [createTextVNode(" \u6240\u6709 ")])),
|
|
201
|
-
_: 1
|
|
202
|
-
|
|
201
|
+
_: 1,
|
|
202
|
+
__: [0]
|
|
203
203
|
}, 8, ["model-value", "indeterminate", "onChange"])], 2
|
|
204
|
-
/* CLASS */)], 8, _hoisted_3)])])) : createCommentVNode("v-if", true), createElementVNode("tbody", null, [(openBlock(true), createElementBlock(Fragment, null, renderList(tableTree.value, row => {
|
|
205
|
-
return openBlock(), createElementBlock("tr",
|
|
204
|
+
/* CLASS */)], 8, _hoisted_3)])])) : createCommentVNode("v-if", true), createElementVNode("tbody", null, [(openBlock(true), createElementBlock(Fragment, null, renderList(tableTree.value, (row, i) => {
|
|
205
|
+
return openBlock(), createElementBlock("tr", {
|
|
206
|
+
key: i
|
|
207
|
+
}, [(openBlock(true), createElementBlock(Fragment, null, renderList(row, (node, j) => {
|
|
206
208
|
return openBlock(), createElementBlock("td", {
|
|
209
|
+
key: j,
|
|
207
210
|
colspan: node.reverseLevel === 1 ? maxLevel.value - node.level + 1 : 1,
|
|
208
211
|
rowspan: node.leafCount
|
|
209
212
|
}, [node.reverseLevel !== 1 || !_ctx.mergeLast ? (openBlock(), createElementBlock("div", {
|
|
@@ -229,8 +232,9 @@ var stdin_default = /* @__PURE__ */defineComponent({
|
|
|
229
232
|
}, [renderSlot(_ctx.$slots, "node", {}, () => [createTextVNode(toDisplayString(node.data[propNames.value.label]), 1
|
|
230
233
|
/* TEXT */)])], 2
|
|
231
234
|
/* CLASS */))], 2
|
|
232
|
-
/* CLASS */)) : (openBlock(), createElementBlock("div", _hoisted_5, [(openBlock(true), createElementBlock(Fragment, null, renderList(node.parent.children, _node => {
|
|
235
|
+
/* CLASS */)) : (openBlock(), createElementBlock("div", _hoisted_5, [(openBlock(true), createElementBlock(Fragment, null, renderList(node.parent.children, (_node, k) => {
|
|
233
236
|
return openBlock(), createElementBlock("div", {
|
|
237
|
+
key: k,
|
|
234
238
|
class: normalizeClass(`${unref(prefixCls)}-node`)
|
|
235
239
|
}, [_ctx.showCheckbox ? (openBlock(), createBlock(_component_el_checkbox, {
|
|
236
240
|
key: 0,
|
|
@@ -252,12 +256,12 @@ var stdin_default = /* @__PURE__ */defineComponent({
|
|
|
252
256
|
}, toDisplayString(_node.data[propNames.value.label]), 3
|
|
253
257
|
/* TEXT, CLASS */)])], 2
|
|
254
258
|
/* CLASS */);
|
|
255
|
-
}),
|
|
256
|
-
/*
|
|
257
|
-
}),
|
|
258
|
-
/*
|
|
259
|
-
}),
|
|
260
|
-
/*
|
|
259
|
+
}), 128
|
|
260
|
+
/* KEYED_FRAGMENT */))]))], 8, _hoisted_4);
|
|
261
|
+
}), 128
|
|
262
|
+
/* KEYED_FRAGMENT */))]);
|
|
263
|
+
}), 128
|
|
264
|
+
/* KEYED_FRAGMENT */))])]))], 2
|
|
261
265
|
/* CLASS */);
|
|
262
266
|
};
|
|
263
267
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: (_prefixCls?: import("vue").ComputedRef<string> | string,
|
|
1
|
+
declare const _default: (_prefixCls?: import("vue").ComputedRef<string> | string, themeManager?: import("../../theme/theme-context").ThemeManager) => {
|
|
2
2
|
hashId: import("vue").Ref<string, string>;
|
|
3
3
|
};
|
|
4
4
|
export default _default;
|
|
@@ -3,7 +3,7 @@ export interface ComponentToken {
|
|
|
3
3
|
}
|
|
4
4
|
export interface IconToken extends FullToken<'Icon'> {
|
|
5
5
|
}
|
|
6
|
-
declare const _default: (_prefixCls?: import("vue").ComputedRef<string> | string,
|
|
6
|
+
declare const _default: (_prefixCls?: import("vue").ComputedRef<string> | string, themeManager?: import("../../theme/theme-context").ThemeManager) => {
|
|
7
7
|
hashId: import("vue").Ref<string, string>;
|
|
8
8
|
};
|
|
9
9
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, createElementBlock, openBlock } from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import { iconifyIconsSets } from './iconify-icon.js';
|
|
3
3
|
|
|
4
4
|
const _hoisted_1 = ["viewBox", "innerHTML"];
|
|
5
5
|
var stdin_default = /* @__PURE__ */defineComponent({
|
|
@@ -19,10 +19,7 @@ var stdin_default = /* @__PURE__ */defineComponent({
|
|
|
19
19
|
},
|
|
20
20
|
setup(__props) {
|
|
21
21
|
const props = __props;
|
|
22
|
-
const
|
|
23
|
-
mdi: icons
|
|
24
|
-
};
|
|
25
|
-
const iconSet = computed(() => iconSets[props.prefix]);
|
|
22
|
+
const iconSet = computed(() => iconifyIconsSets[props.prefix]);
|
|
26
23
|
const viewBox = computed(() => `0 0 ${iconSet.value?.width ?? 16} ${iconSet.value?.height ?? 16}`);
|
|
27
24
|
const path = computed(() => {
|
|
28
25
|
const icon = iconSet.value?.icons[props.name];
|
|
@@ -3,7 +3,7 @@ export interface ComponentToken {
|
|
|
3
3
|
}
|
|
4
4
|
export interface ImageCardToken extends FullToken<'ImageCard'> {
|
|
5
5
|
}
|
|
6
|
-
declare const _default: (_prefixCls?: import("vue").ComputedRef<string> | string,
|
|
6
|
+
declare const _default: (_prefixCls?: import("vue").ComputedRef<string> | string, themeManager?: import("../../theme/theme-context").ThemeManager) => {
|
|
7
7
|
hashId: import("vue").Ref<string, string>;
|
|
8
8
|
};
|
|
9
9
|
export default _default;
|
package/components/index.js
CHANGED
|
@@ -66,6 +66,7 @@ export { elFormDrawerExposeKeys, formDrawerProps } from './form-drawer/form-draw
|
|
|
66
66
|
export { defaultFormListProps, formListExposeKeys } from './form-list/form-list.js';
|
|
67
67
|
export { defaultMapSizeColNumber, formQueryContextSymbol, formQueryProps } from './form-query/form-query.js';
|
|
68
68
|
export { default as hljs } from 'highlight.js/lib/core';
|
|
69
|
+
export { addIconifyIcon, iconifyIconsSets } from './iconify-icon/iconify-icon.js';
|
|
69
70
|
export { imageProps } from './image-card/image-card.js';
|
|
70
71
|
export { defaultLongTextProps } from './long-text/long-text.js';
|
|
71
72
|
export { defaultMediaCardBaseProps, mediaCardBaseProps } from './media-card/media-card.js';
|
|
@@ -73,8 +74,8 @@ export { defaultMediaViewerBaseProps, defaultMediaViewerProps } from './media-vi
|
|
|
73
74
|
export { defaultNumberFormatProps } from './number-format/number-format.js';
|
|
74
75
|
export { defaultBreakpoints, defaultRowProps, generateAlgorithms, rowColumns, rowContextSymbol, rowSizes } from './row/row.js';
|
|
75
76
|
export { snugMenuContextSymbol } from './snug-menu/snug-menu.js';
|
|
76
|
-
export {
|
|
77
|
-
export {
|
|
77
|
+
export { getFocusVisibleStyle, getLineClampStyle, getTruncateStyle } from './style/mixins.js';
|
|
78
|
+
export { contrarotation, rotation, rotation45, spinner } from './style/animation.js';
|
|
78
79
|
export { defaultPaginationProps, defaultTableConfig, elSlotsName, omittedTableProps, tableExposeKeys, tableProps } from './table/table.js';
|
|
79
80
|
export { useTable } from './table/useTable.js';
|
|
80
81
|
export { defaultTableActionProps } from './table-action/table-action.js';
|
|
@@ -86,6 +87,7 @@ export { default as defaultAlgorithm } from './theme/themes/default/index.js';
|
|
|
86
87
|
export { generateColorPalettes as defaultGenerateColorPalettes } from './theme/themes/default/colors.js';
|
|
87
88
|
export { extractCacheStyle, extractStyle } from './theme/extractStyle.js';
|
|
88
89
|
export { getGlobalStyleHook } from './theme/getGlobalStyleHook.js';
|
|
90
|
+
export { getOverrideStyleHook } from './theme/getOverrideStyleHook.js';
|
|
89
91
|
export { getSimpleStyleHook } from './theme/getSimpleStyleHook.js';
|
|
90
92
|
export { getStyleHook } from './theme/getStyleHook.js';
|
|
91
93
|
export { default as seedToken } from './theme/themes/seed.js';
|
|
@@ -3,7 +3,7 @@ export interface ComponentToken {
|
|
|
3
3
|
}
|
|
4
4
|
export interface LongTextToken extends FullToken<'LongText'> {
|
|
5
5
|
}
|
|
6
|
-
declare const _default: (_prefixCls?: import("vue").ComputedRef<string> | string,
|
|
6
|
+
declare const _default: (_prefixCls?: import("vue").ComputedRef<string> | string, themeManager?: import("../../theme/theme-context").ThemeManager) => {
|
|
7
7
|
hashId: import("vue").Ref<string, string>;
|
|
8
8
|
};
|
|
9
9
|
export default _default;
|
|
@@ -3,7 +3,7 @@ export interface ComponentToken {
|
|
|
3
3
|
}
|
|
4
4
|
export interface MaskToken extends FullToken<'Mask'> {
|
|
5
5
|
}
|
|
6
|
-
declare const _default: (_prefixCls?: import("vue").ComputedRef<string> | string,
|
|
6
|
+
declare const _default: (_prefixCls?: import("vue").ComputedRef<string> | string, themeManager?: import("../../theme/theme-context").ThemeManager) => {
|
|
7
7
|
hashId: import("vue").Ref<string, string>;
|
|
8
8
|
};
|
|
9
9
|
export default _default;
|
|
@@ -51,14 +51,15 @@ var stdin_default = /* @__PURE__ */defineComponent({
|
|
|
51
51
|
return (_ctx, _cache) => {
|
|
52
52
|
return openBlock(), createElementBlock("div", {
|
|
53
53
|
class: normalizeClass([unref(hashId), unref(prefixCls)])
|
|
54
|
-
}, [(openBlock(true), createElementBlock(Fragment, null, renderList(mergedSrcset.value, item => {
|
|
54
|
+
}, [(openBlock(true), createElementBlock(Fragment, null, renderList(mergedSrcset.value, (item, i) => {
|
|
55
55
|
return openBlock(), createBlock(stdin_default$2, mergeProps({
|
|
56
|
+
key: i,
|
|
56
57
|
ref_for: true
|
|
57
58
|
}, item, {
|
|
58
59
|
size: _ctx.size
|
|
59
60
|
}), null, 16, ["size"]);
|
|
60
|
-
}),
|
|
61
|
-
/*
|
|
61
|
+
}), 128
|
|
62
|
+
/* KEYED_FRAGMENT */))], 2
|
|
62
63
|
/* CLASS */);
|
|
63
64
|
};
|
|
64
65
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: (_prefixCls?: import("vue").ComputedRef<string> | string,
|
|
1
|
+
declare const _default: (_prefixCls?: import("vue").ComputedRef<string> | string, themeManager?: import("../../theme/theme-context").ThemeManager) => {
|
|
2
2
|
hashId: import("vue").Ref<string, string>;
|
|
3
3
|
};
|
|
4
4
|
export default _default;
|
|
@@ -3,7 +3,7 @@ export interface ComponentToken {
|
|
|
3
3
|
}
|
|
4
4
|
export interface PanelToken extends FullToken<'Panel'> {
|
|
5
5
|
}
|
|
6
|
-
declare const _default: (_prefixCls?: import("vue").ComputedRef<string> | string,
|
|
6
|
+
declare const _default: (_prefixCls?: import("vue").ComputedRef<string> | string, themeManager?: import("../../theme/theme-context").ThemeManager) => {
|
|
7
7
|
hashId: import("vue").Ref<string, string>;
|
|
8
8
|
};
|
|
9
9
|
export default _default;
|
|
@@ -3,7 +3,7 @@ export interface ComponentToken {
|
|
|
3
3
|
}
|
|
4
4
|
export interface RowToken extends FullToken<'Row'> {
|
|
5
5
|
}
|
|
6
|
-
declare const _default: (_prefixCls?: import("vue").ComputedRef<string> | string,
|
|
6
|
+
declare const _default: (_prefixCls?: import("vue").ComputedRef<string> | string, themeManager?: import("../../theme/theme-context").ThemeManager) => {
|
|
7
7
|
hashId: import("vue").Ref<string, string>;
|
|
8
8
|
};
|
|
9
9
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent,
|
|
1
|
+
import { defineComponent, useTemplateRef, ref, computed, onMounted, onBeforeUnmount, createElementBlock, openBlock, normalizeClass, unref, createElementVNode, normalizeStyle, renderSlot } from 'vue';
|
|
2
2
|
import stdin_default$1 from './style/index.js';
|
|
3
3
|
import { useComponentConfig } from '../config-provider/config-provider.js';
|
|
4
4
|
import { useResizeObserver } from '../../hooks/useResizeObserver.js';
|
|
@@ -15,7 +15,6 @@ var stdin_default = /* @__PURE__ */defineComponent({
|
|
|
15
15
|
}
|
|
16
16
|
},
|
|
17
17
|
setup(__props) {
|
|
18
|
-
useSlots();
|
|
19
18
|
const {
|
|
20
19
|
prefixCls
|
|
21
20
|
} = useComponentConfig("scroll-view");
|