orion-design 0.1.57 → 0.1.59
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/Button/index.js.map +1 -1
- package/dist/components/Form/FileInput/FileInput.vue.d.ts +3 -3
- package/dist/components/Form/LovInput/LovInput.vue.d.ts +6 -6
- package/dist/components/Form/TableSelect/TableSelect.vue.d.ts +6 -6
- package/dist/components/Form/index.js +27 -27
- package/dist/components/Icon/Icon.vue.d.ts +15 -1
- package/dist/components/Icon/index.d.ts +22 -4
- package/dist/components/Icon/index.js +24 -15
- package/dist/components/Icon/index.js.map +1 -1
- package/dist/components/Pagetable/hooks/useColumns.js +33 -29
- package/dist/components/Pagetable/hooks/useColumns.js.map +1 -1
- package/dist/components/Pagetable/index.js +347 -314
- package/dist/components/Pagetable/index.js.map +1 -1
- package/dist/components/Querytable/hooks/useColumns.js +12 -8
- package/dist/components/Querytable/hooks/useColumns.js.map +1 -1
- package/dist/components/Querytable/index.js +276 -243
- package/dist/components/Querytable/index.js.map +1 -1
- package/dist/components/TableSelectPagetable/index.js +7 -7
- package/dist/components/Tabs/index.js +1 -1
- package/dist/components/Tooltip/index.d.ts +8993 -0
- package/dist/components/Tooltip/index.js +12 -0
- package/dist/components/Tooltip/index.js.map +1 -0
- package/dist/components/_util/vue/icon.js +10 -10
- package/dist/components/components.d.ts +1 -0
- package/dist/components/components.js +31 -29
- package/dist/components/components.js.map +1 -1
- package/dist/components/index.js +41 -39
- package/dist/components/index.js.map +1 -1
- package/dist/components-DqItbXAG.js +56 -0
- package/dist/{components-BZKLgLQx.js.map → components-DqItbXAG.js.map} +1 -1
- package/dist/icon/index.d.ts +1 -0
- package/dist/icon/index.js +297 -0
- package/dist/icon/index.js.map +1 -0
- package/dist/index-CIR6wX_E.js +4885 -0
- package/dist/{index-Bm0F5NQQ.js.map → index-CIR6wX_E.js.map} +1 -1
- package/dist/index.js +46 -44
- package/dist/index.js.map +1 -1
- package/dist/request/leaf7/Leaf7ErrorHandler.js +6 -7
- package/dist/request/leaf7/Leaf7ErrorHandler.js.map +1 -1
- package/dist/version/version.d.ts +1 -1
- package/dist/version/version.js +1 -1
- package/dist/version/version.js.map +1 -1
- package/package.json +1 -1
- package/dist/components-BZKLgLQx.js +0 -54
- package/dist/index-Bm0F5NQQ.js +0 -224
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/components/Button/ButtonGroup/ButtonGroup.vue","../../../src/components/Button/index.ts"],"sourcesContent":["<template>\r\n <div :style=\"normalizedStyle\">\r\n <space :gutter=\"gutter\">\r\n <slot></slot>\r\n </space>\r\n </div>\r\n</template>\r\n\r\n<script setup lang=\"ts\">\r\nimport { computed, CSSProperties } from 'vue'\r\nimport type { ButtonGroupProps } from './ButtonGroup'\r\nimport Space from '../../Space'\r\n\r\ndefineOptions({ name: 'OButtongroup', inheritAttrs: false })\r\n\r\nconst { gutter, align = 'right', style } = defineProps<ButtonGroupProps>()\r\nconst normalizedStyle = computed<CSSProperties>(() => {\r\n return {\r\n textAlign: align,\r\n ...style\r\n }\r\n})\r\n</script>\r\n","import { withInstall } from '../_util'\r\nimport { ElButton } from 'element-plus'\r\nimport { cloneDeep } from 'lodash-es'\r\n\r\
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/components/Button/ButtonGroup/ButtonGroup.vue","../../../src/components/Button/index.ts"],"sourcesContent":["<template>\r\n <div :style=\"normalizedStyle\">\r\n <space :gutter=\"gutter\">\r\n <slot></slot>\r\n </space>\r\n </div>\r\n</template>\r\n\r\n<script setup lang=\"ts\">\r\nimport { computed, CSSProperties } from 'vue'\r\nimport type { ButtonGroupProps } from './ButtonGroup'\r\nimport Space from '../../Space'\r\n\r\ndefineOptions({ name: 'OButtongroup', inheritAttrs: false })\r\n\r\nconst { gutter, align = 'right', style } = defineProps<ButtonGroupProps>()\r\nconst normalizedStyle = computed<CSSProperties>(() => {\r\n return {\r\n textAlign: align,\r\n ...style\r\n }\r\n})\r\n</script>\r\n","import { withInstall } from '../_util'\r\nimport { ElButton } from 'element-plus'\r\nimport { cloneDeep } from 'lodash-es'\r\n\r\nconst Button = cloneDeep(ElButton)\r\nButton.name = 'OButton'\r\nButton.__name = 'OButton'\r\n\r\nimport ButtonGroup from './ButtonGroup/ButtonGroup.vue'\r\n\r\nexport default withInstall<typeof Button, { ButtonGroup: typeof ButtonGroup }>(Button, {\r\n ButtonGroup\r\n})\r\n"],"names":["normalizedStyle","computed","__props","Button","cloneDeep","ElButton","index","withInstall","ButtonGroup"],"mappings":";;;;;;;;;;;;;;;AAgBM,UAAAA,IAAkBC,EAAwB,OACvC;AAAA,MACL,WAAWC,EAAA;AAAA,MACX,GAAGA;MAEN;;;;;;;;;;;;ICjBKC,IAASC,EAAUC,CAAQ;AACjCF,EAAO,OAAO;AACdA,EAAO,SAAS;AAIhB,MAAeG,IAAAC,EAAgEJ,GAAQ;AAAA,EAAA,aACrFK;AACF,CAAC;"}
|
@@ -39,8 +39,8 @@ declare const _default: import('vue').DefineComponent<FileInputProps, {}, {}, {}
|
|
39
39
|
readonly resize?: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown> | undefined;
|
40
40
|
readonly size?: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never> | undefined;
|
41
41
|
readonly id?: string | undefined;
|
42
|
-
readonly formatter?: Function | undefined;
|
43
42
|
readonly ariaLabel?: string | undefined;
|
43
|
+
readonly formatter?: Function | undefined;
|
44
44
|
readonly maxlength?: import('element-plus/es/utils/index.mjs').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
45
45
|
readonly placeholder?: string | undefined;
|
46
46
|
readonly minlength?: import('element-plus/es/utils/index.mjs').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
@@ -73,7 +73,7 @@ declare const _default: import('vue').DefineComponent<FileInputProps, {}, {}, {}
|
|
73
73
|
$root: import('vue').ComponentPublicInstance | null;
|
74
74
|
$parent: import('vue').ComponentPublicInstance | null;
|
75
75
|
$host: Element | null;
|
76
|
-
$emit: ((event: "input", value: string) => void) & ((event: "clear") => void) & ((event: "
|
76
|
+
$emit: ((event: "input", value: string) => void) & ((event: "clear") => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "update:modelValue", value: string) => void) & ((event: "change", value: string) => void) & ((event: "blur", evt: FocusEvent) => void) & ((event: "compositionend", evt: CompositionEvent) => void) & ((event: "compositionstart", evt: CompositionEvent) => void) & ((event: "compositionupdate", evt: CompositionEvent) => void) & ((event: "keydown", evt: Event | KeyboardEvent) => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "mouseleave", evt: MouseEvent) => void);
|
77
77
|
$el: any;
|
78
78
|
$options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
79
79
|
readonly ariaLabel: StringConstructor;
|
@@ -348,7 +348,7 @@ declare const _default: import('vue').DefineComponent<FileInputProps, {}, {}, {}
|
|
348
348
|
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
349
349
|
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
350
350
|
onClear?: (() => any) | undefined;
|
351
|
-
}, "input" | "select" | "textarea" | "clear" | "disabled" | "id" | "type" | "ref" | "autofocus" | "
|
351
|
+
}, "input" | "select" | "textarea" | "clear" | "disabled" | "id" | "type" | "ref" | "autofocus" | "focus" | "modelValue" | "blur" | "readonly" | "autosize" | "autocomplete" | "clearable" | "showPassword" | "showWordLimit" | "containerRole" | "tabindex" | "validateEvent" | "inputStyle" | "rows" | "textareaStyle" | "isComposing" | "resizeTextarea"> & import('vue').ShallowUnwrapRef<{
|
352
352
|
input: import('vue').ShallowRef<HTMLInputElement | undefined>;
|
353
353
|
textarea: import('vue').ShallowRef<HTMLTextAreaElement | undefined>;
|
354
354
|
ref: import('vue').ComputedRef<HTMLInputElement | HTMLTextAreaElement | undefined>;
|
@@ -12933,8 +12933,8 @@ declare function __VLS_template(): {
|
|
12933
12933
|
readonly resize?: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown> | undefined;
|
12934
12934
|
readonly size?: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never> | undefined;
|
12935
12935
|
readonly id?: string | undefined;
|
12936
|
-
readonly formatter?: Function | undefined;
|
12937
12936
|
readonly ariaLabel?: string | undefined;
|
12937
|
+
readonly formatter?: Function | undefined;
|
12938
12938
|
readonly maxlength?: import('element-plus/es/utils/index.mjs').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
12939
12939
|
readonly placeholder?: string | undefined;
|
12940
12940
|
readonly minlength?: import('element-plus/es/utils/index.mjs').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
@@ -12967,7 +12967,7 @@ declare function __VLS_template(): {
|
|
12967
12967
|
$root: import('vue').ComponentPublicInstance | null;
|
12968
12968
|
$parent: import('vue').ComponentPublicInstance | null;
|
12969
12969
|
$host: Element | null;
|
12970
|
-
$emit: ((event: "input", value: string) => void) & ((event: "clear") => void) & ((event: "
|
12970
|
+
$emit: ((event: "input", value: string) => void) & ((event: "clear") => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "update:modelValue", value: string) => void) & ((event: "change", value: string) => void) & ((event: "blur", evt: FocusEvent) => void) & ((event: "compositionend", evt: CompositionEvent) => void) & ((event: "compositionstart", evt: CompositionEvent) => void) & ((event: "compositionupdate", evt: CompositionEvent) => void) & ((event: "keydown", evt: Event | KeyboardEvent) => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "mouseleave", evt: MouseEvent) => void);
|
12971
12971
|
$el: any;
|
12972
12972
|
$options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
12973
12973
|
readonly ariaLabel: StringConstructor;
|
@@ -13242,7 +13242,7 @@ declare function __VLS_template(): {
|
|
13242
13242
|
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
13243
13243
|
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
13244
13244
|
onClear?: (() => any) | undefined;
|
13245
|
-
}, "input" | "select" | "textarea" | "clear" | "disabled" | "id" | "type" | "ref" | "autofocus" | "
|
13245
|
+
}, "input" | "select" | "textarea" | "clear" | "disabled" | "id" | "type" | "ref" | "autofocus" | "focus" | "modelValue" | "blur" | "readonly" | "autosize" | "autocomplete" | "clearable" | "showPassword" | "showWordLimit" | "containerRole" | "tabindex" | "validateEvent" | "inputStyle" | "rows" | "textareaStyle" | "isComposing" | "resizeTextarea"> & import('vue').ShallowUnwrapRef<{
|
13246
13246
|
input: import('vue').ShallowRef<HTMLInputElement | undefined>;
|
13247
13247
|
textarea: import('vue').ShallowRef<HTMLTextAreaElement | undefined>;
|
13248
13248
|
ref: import('vue').ComputedRef<HTMLInputElement | HTMLTextAreaElement | undefined>;
|
@@ -26196,8 +26196,8 @@ declare const __VLS_component: import('vue').DefineComponent<LovInputProps, {},
|
|
26196
26196
|
readonly resize?: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown> | undefined;
|
26197
26197
|
readonly size?: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never> | undefined;
|
26198
26198
|
readonly id?: string | undefined;
|
26199
|
-
readonly formatter?: Function | undefined;
|
26200
26199
|
readonly ariaLabel?: string | undefined;
|
26200
|
+
readonly formatter?: Function | undefined;
|
26201
26201
|
readonly maxlength?: import('element-plus/es/utils/index.mjs').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
26202
26202
|
readonly placeholder?: string | undefined;
|
26203
26203
|
readonly minlength?: import('element-plus/es/utils/index.mjs').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
@@ -26230,7 +26230,7 @@ declare const __VLS_component: import('vue').DefineComponent<LovInputProps, {},
|
|
26230
26230
|
$root: import('vue').ComponentPublicInstance | null;
|
26231
26231
|
$parent: import('vue').ComponentPublicInstance | null;
|
26232
26232
|
$host: Element | null;
|
26233
|
-
$emit: ((event: "input", value: string) => void) & ((event: "clear") => void) & ((event: "
|
26233
|
+
$emit: ((event: "input", value: string) => void) & ((event: "clear") => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "update:modelValue", value: string) => void) & ((event: "change", value: string) => void) & ((event: "blur", evt: FocusEvent) => void) & ((event: "compositionend", evt: CompositionEvent) => void) & ((event: "compositionstart", evt: CompositionEvent) => void) & ((event: "compositionupdate", evt: CompositionEvent) => void) & ((event: "keydown", evt: Event | KeyboardEvent) => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "mouseleave", evt: MouseEvent) => void);
|
26234
26234
|
$el: any;
|
26235
26235
|
$options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
26236
26236
|
readonly ariaLabel: StringConstructor;
|
@@ -26505,7 +26505,7 @@ declare const __VLS_component: import('vue').DefineComponent<LovInputProps, {},
|
|
26505
26505
|
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
26506
26506
|
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
26507
26507
|
onClear?: (() => any) | undefined;
|
26508
|
-
}, "input" | "select" | "textarea" | "clear" | "disabled" | "id" | "type" | "ref" | "autofocus" | "
|
26508
|
+
}, "input" | "select" | "textarea" | "clear" | "disabled" | "id" | "type" | "ref" | "autofocus" | "focus" | "modelValue" | "blur" | "readonly" | "autosize" | "autocomplete" | "clearable" | "showPassword" | "showWordLimit" | "containerRole" | "tabindex" | "validateEvent" | "inputStyle" | "rows" | "textareaStyle" | "isComposing" | "resizeTextarea"> & import('vue').ShallowUnwrapRef<{
|
26509
26509
|
input: import('vue').ShallowRef<HTMLInputElement | undefined>;
|
26510
26510
|
textarea: import('vue').ShallowRef<HTMLTextAreaElement | undefined>;
|
26511
26511
|
ref: import('vue').ComputedRef<HTMLInputElement | HTMLTextAreaElement | undefined>;
|
@@ -12933,8 +12933,8 @@ declare function __VLS_template(): {
|
|
12933
12933
|
readonly resize?: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown> | undefined;
|
12934
12934
|
readonly size?: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never> | undefined;
|
12935
12935
|
readonly id?: string | undefined;
|
12936
|
-
readonly formatter?: Function | undefined;
|
12937
12936
|
readonly ariaLabel?: string | undefined;
|
12937
|
+
readonly formatter?: Function | undefined;
|
12938
12938
|
readonly maxlength?: import('element-plus/es/utils/index.mjs').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
12939
12939
|
readonly placeholder?: string | undefined;
|
12940
12940
|
readonly minlength?: import('element-plus/es/utils/index.mjs').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
@@ -12967,7 +12967,7 @@ declare function __VLS_template(): {
|
|
12967
12967
|
$root: import('vue').ComponentPublicInstance | null;
|
12968
12968
|
$parent: import('vue').ComponentPublicInstance | null;
|
12969
12969
|
$host: Element | null;
|
12970
|
-
$emit: ((event: "input", value: string) => void) & ((event: "clear") => void) & ((event: "
|
12970
|
+
$emit: ((event: "input", value: string) => void) & ((event: "clear") => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "update:modelValue", value: string) => void) & ((event: "change", value: string) => void) & ((event: "blur", evt: FocusEvent) => void) & ((event: "compositionend", evt: CompositionEvent) => void) & ((event: "compositionstart", evt: CompositionEvent) => void) & ((event: "compositionupdate", evt: CompositionEvent) => void) & ((event: "keydown", evt: Event | KeyboardEvent) => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "mouseleave", evt: MouseEvent) => void);
|
12971
12971
|
$el: any;
|
12972
12972
|
$options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
12973
12973
|
readonly ariaLabel: StringConstructor;
|
@@ -13242,7 +13242,7 @@ declare function __VLS_template(): {
|
|
13242
13242
|
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
13243
13243
|
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
13244
13244
|
onClear?: (() => any) | undefined;
|
13245
|
-
}, "input" | "select" | "textarea" | "clear" | "disabled" | "id" | "type" | "ref" | "autofocus" | "
|
13245
|
+
}, "input" | "select" | "textarea" | "clear" | "disabled" | "id" | "type" | "ref" | "autofocus" | "focus" | "modelValue" | "blur" | "readonly" | "autosize" | "autocomplete" | "clearable" | "showPassword" | "showWordLimit" | "containerRole" | "tabindex" | "validateEvent" | "inputStyle" | "rows" | "textareaStyle" | "isComposing" | "resizeTextarea"> & import('vue').ShallowUnwrapRef<{
|
13246
13246
|
input: import('vue').ShallowRef<HTMLInputElement | undefined>;
|
13247
13247
|
textarea: import('vue').ShallowRef<HTMLTextAreaElement | undefined>;
|
13248
13248
|
ref: import('vue').ComputedRef<HTMLInputElement | HTMLTextAreaElement | undefined>;
|
@@ -26200,8 +26200,8 @@ declare const __VLS_component: import('vue').DefineComponent<TableSelectProps, {
|
|
26200
26200
|
readonly resize?: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown> | undefined;
|
26201
26201
|
readonly size?: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never> | undefined;
|
26202
26202
|
readonly id?: string | undefined;
|
26203
|
-
readonly formatter?: Function | undefined;
|
26204
26203
|
readonly ariaLabel?: string | undefined;
|
26204
|
+
readonly formatter?: Function | undefined;
|
26205
26205
|
readonly maxlength?: import('element-plus/es/utils/index.mjs').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
26206
26206
|
readonly placeholder?: string | undefined;
|
26207
26207
|
readonly minlength?: import('element-plus/es/utils/index.mjs').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
@@ -26234,7 +26234,7 @@ declare const __VLS_component: import('vue').DefineComponent<TableSelectProps, {
|
|
26234
26234
|
$root: import('vue').ComponentPublicInstance | null;
|
26235
26235
|
$parent: import('vue').ComponentPublicInstance | null;
|
26236
26236
|
$host: Element | null;
|
26237
|
-
$emit: ((event: "input", value: string) => void) & ((event: "clear") => void) & ((event: "
|
26237
|
+
$emit: ((event: "input", value: string) => void) & ((event: "clear") => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "update:modelValue", value: string) => void) & ((event: "change", value: string) => void) & ((event: "blur", evt: FocusEvent) => void) & ((event: "compositionend", evt: CompositionEvent) => void) & ((event: "compositionstart", evt: CompositionEvent) => void) & ((event: "compositionupdate", evt: CompositionEvent) => void) & ((event: "keydown", evt: Event | KeyboardEvent) => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "mouseleave", evt: MouseEvent) => void);
|
26238
26238
|
$el: any;
|
26239
26239
|
$options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
26240
26240
|
readonly ariaLabel: StringConstructor;
|
@@ -26509,7 +26509,7 @@ declare const __VLS_component: import('vue').DefineComponent<TableSelectProps, {
|
|
26509
26509
|
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
26510
26510
|
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
26511
26511
|
onClear?: (() => any) | undefined;
|
26512
|
-
}, "input" | "select" | "textarea" | "clear" | "disabled" | "id" | "type" | "ref" | "autofocus" | "
|
26512
|
+
}, "input" | "select" | "textarea" | "clear" | "disabled" | "id" | "type" | "ref" | "autofocus" | "focus" | "modelValue" | "blur" | "readonly" | "autosize" | "autocomplete" | "clearable" | "showPassword" | "showWordLimit" | "containerRole" | "tabindex" | "validateEvent" | "inputStyle" | "rows" | "textareaStyle" | "isComposing" | "resizeTextarea"> & import('vue').ShallowUnwrapRef<{
|
26513
26513
|
input: import('vue').ShallowRef<HTMLInputElement | undefined>;
|
26514
26514
|
textarea: import('vue').ShallowRef<HTMLTextAreaElement | undefined>;
|
26515
26515
|
ref: import('vue').ComputedRef<HTMLInputElement | HTMLTextAreaElement | undefined>;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { difference as ce, isEmpty as he, isDate as ye, isString as
|
2
|
-
import { defineComponent as v, useTemplateRef as A, provide as x, reactive as _, toRef as
|
1
|
+
import { difference as ce, isEmpty as he, isDate as ye, isString as j, isNumber as ve, toNumber as ge, isArray as we, pick as Ve } from "lodash-es";
|
2
|
+
import { defineComponent as v, useTemplateRef as A, provide as x, reactive as _, toRef as L, openBlock as m, createBlock as h, unref as e, withCtx as r, createVNode as c, renderSlot as S, useSlots as ae, isRef as k, createSlots as oe, useAttrs as K, computed as O, createElementBlock as E, Fragment as U, renderList as N, createTextVNode as ne, toDisplayString as te, watch as re, ref as z, onMounted as de, normalizeStyle as Ce, resolveComponent as Se, createElementVNode as Be, createCommentVNode as qe } from "vue";
|
3
3
|
import { withInstall as Me } from "../_util/vue/install.js";
|
4
4
|
import { ElForm as ke, ElRow as Oe, ElCol as w, ElFormItem as C, ElInput as W, ElSelect as se, ElOption as ie, ElRadioGroup as Fe, ElRadio as ze, ElCheckboxGroup as We, ElCheckbox as ue, ElSwitch as Re, dayjs as le, ElTimePicker as $e, ElDatePicker as Ae, ElDropdown as pe, ElInputNumber as Ee, ElTag as De } from "element-plus";
|
5
5
|
import { formContextKey as Te } from "./Form.js";
|
@@ -7,9 +7,9 @@ import D from "../../error/OrionError.js";
|
|
7
7
|
import { useFormItemSpan as V, useFormItemRules as B, useFormItemStringModel as $, useFormItemDisabled as me, useFormItemCode as H, useFormItemMultiModel as fe, useFormContext as P, useFormItemBooleanModel as be } from "./hooks/index.js";
|
8
8
|
import { getSingleCodeContent as Ie, getMultiCodeContent as Ue } from "./utils/index.js";
|
9
9
|
import { S as Ne } from "../../index-CvcZkdiG.js";
|
10
|
-
import {
|
11
|
-
import { lovContextKey as
|
12
|
-
import { tableSelectContext as
|
10
|
+
import { cG as Pe, k as Ge, e as Ye } from "../../index-CIR6wX_E.js";
|
11
|
+
import { lovContextKey as Le } from "./LovInput/LovInput.js";
|
12
|
+
import { tableSelectContext as je } from "./TableSelect/TableSelect.js";
|
13
13
|
import { default as ql } from "./LovInput/hooks/useLov.js";
|
14
14
|
import { default as kl } from "./TableSelect/hooks/useTableSelect.js";
|
15
15
|
const Ke = /* @__PURE__ */ v({
|
@@ -40,12 +40,12 @@ const Ke = /* @__PURE__ */ v({
|
|
40
40
|
}), x(
|
41
41
|
Te,
|
42
42
|
_({
|
43
|
-
modelValue:
|
43
|
+
modelValue: L(() => o.modelValue),
|
44
44
|
updateModelValue: t,
|
45
45
|
updateModelValueMulti: n,
|
46
|
-
rules:
|
47
|
-
itemSpan:
|
48
|
-
disabled:
|
46
|
+
rules: L(() => o.rules),
|
47
|
+
itemSpan: L(() => o.itemSpan),
|
48
|
+
disabled: L(() => o.disabled)
|
49
49
|
})
|
50
50
|
), (a, p) => (m(), h(e(ke), {
|
51
51
|
ref: "form",
|
@@ -558,7 +558,7 @@ const Ke = /* @__PURE__ */ v({
|
|
558
558
|
if (a) {
|
559
559
|
if (ye(a))
|
560
560
|
return a;
|
561
|
-
if (
|
561
|
+
if (j(a)) {
|
562
562
|
const p = le(a, t.value, !0);
|
563
563
|
if (!p.isValid())
|
564
564
|
throw new D(`日期输入框的值无效,不符合${t.value}格式`);
|
@@ -753,10 +753,10 @@ const Ke = /* @__PURE__ */ v({
|
|
753
753
|
p = b;
|
754
754
|
}, q = (b) => {
|
755
755
|
["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight", "Enter", "Space"].indexOf(b.code) > -1 && (n.value && p && p(b.code), b.stopPropagation()), ["ArrowUp", "ArrowDown"].indexOf(b.code) > -1 && !n.value && T.value.handleOpen();
|
756
|
-
}, J = A("input"),
|
756
|
+
}, J = A("input"), G = async (b) => {
|
757
757
|
n.value && J.value.focus(), !(b.relatedTarget && b.relatedTarget.closest(".el-popper")) && Q();
|
758
758
|
}, Q = () => {
|
759
|
-
if (s.value &&
|
759
|
+
if (s.value && j(o.fillMapping)) {
|
760
760
|
const b = {}, g = o.fillMapping.split(",");
|
761
761
|
for (let M = 0; M < g.length; M++) {
|
762
762
|
const F = g[M].split(":")[0].trim();
|
@@ -766,11 +766,11 @@ const Ke = /* @__PURE__ */ v({
|
|
766
766
|
}
|
767
767
|
}, T = A("dropdown");
|
768
768
|
return x(
|
769
|
-
|
769
|
+
Le,
|
770
770
|
_({
|
771
771
|
lovValue: d,
|
772
772
|
backfill: (b) => {
|
773
|
-
if (T.value.handleClose(),
|
773
|
+
if (T.value.handleClose(), j(o.fillMapping)) {
|
774
774
|
const g = {}, M = o.fillMapping.split(",");
|
775
775
|
for (let F = 0; F < M.length; F++) {
|
776
776
|
const R = M[F].split(":")[0].trim(), X = M[F].split(":")[1].trim(), u = b[X];
|
@@ -813,7 +813,7 @@ const Ke = /* @__PURE__ */ v({
|
|
813
813
|
readonly: b.readonly,
|
814
814
|
onInput: a,
|
815
815
|
onKeydown: q,
|
816
|
-
onBlur:
|
816
|
+
onBlur: G,
|
817
817
|
"suffix-icon": e(Pe)
|
818
818
|
}, null, 8, ["modelValue", "maxlength", "placeholder", "disabled", "readonly", "suffix-icon"])
|
819
819
|
]),
|
@@ -855,7 +855,7 @@ const Ke = /* @__PURE__ */ v({
|
|
855
855
|
if (l) {
|
856
856
|
if (ve(l))
|
857
857
|
return l;
|
858
|
-
if (
|
858
|
+
if (j(l))
|
859
859
|
return ge(l);
|
860
860
|
throw new D("数字输入框的值只能为字符串或数字类型");
|
861
861
|
}
|
@@ -970,14 +970,14 @@ const Ke = /* @__PURE__ */ v({
|
|
970
970
|
y.value = u;
|
971
971
|
}, J = () => {
|
972
972
|
y.value || g.value.handleOpen();
|
973
|
-
},
|
974
|
-
|
973
|
+
}, G = A("input"), Q = () => {
|
974
|
+
G.value.focus();
|
975
975
|
}, T = (u) => {
|
976
976
|
y.value ? ["Enter", "Escape"].indexOf(u.code) > -1 ? g.value.handleClose() : u.code == "ArrowDown" ? u.stopPropagation() : u.code == "Tab" && (y.value = !1, g.value.handleClose()) : ["ArrowUp", "ArrowDown"].indexOf(u.code) > -1 && (g.value.handleOpen(), u.stopPropagation());
|
977
977
|
}, ee = async (u) => {
|
978
|
-
y.value ?
|
979
|
-
}, b = z([]), g = A("dropdown"), M = (u,
|
980
|
-
a.value = u.map((I) => Ve(I, o.pick)), b.value = u.map((I) => o.tag(I)),
|
978
|
+
y.value ? G.value.focus() : n.value = "";
|
979
|
+
}, b = z([]), g = A("dropdown"), M = (u, Y) => {
|
980
|
+
a.value = u.map((I) => Ve(I, o.pick)), b.value = u.map((I) => o.tag(I)), Y && (n.value = ""), f("change", u);
|
981
981
|
}, F = () => {
|
982
982
|
g.value.handleClose();
|
983
983
|
};
|
@@ -986,7 +986,7 @@ const Ke = /* @__PURE__ */ v({
|
|
986
986
|
R = u;
|
987
987
|
};
|
988
988
|
return x(
|
989
|
-
|
989
|
+
je,
|
990
990
|
_({
|
991
991
|
inputValue: n,
|
992
992
|
selection: p,
|
@@ -995,7 +995,7 @@ const Ke = /* @__PURE__ */ v({
|
|
995
995
|
tag: o.tag,
|
996
996
|
registerRowCompletionProvider: X
|
997
997
|
})
|
998
|
-
), (u,
|
998
|
+
), (u, Y) => {
|
999
999
|
const I = Se("o-space");
|
1000
1000
|
return m(), h(e(w), { span: e(d) }, {
|
1001
1001
|
default: r(() => [
|
@@ -1024,7 +1024,7 @@ const Ke = /* @__PURE__ */ v({
|
|
1024
1024
|
c(e(W), {
|
1025
1025
|
ref: "input",
|
1026
1026
|
modelValue: n.value,
|
1027
|
-
"onUpdate:modelValue":
|
1027
|
+
"onUpdate:modelValue": Y[0] || (Y[0] = (Z) => n.value = Z),
|
1028
1028
|
maxlength: u.maxlength,
|
1029
1029
|
placeholder: u.placeholder,
|
1030
1030
|
disabled: u.disabled,
|
@@ -1032,7 +1032,7 @@ const Ke = /* @__PURE__ */ v({
|
|
1032
1032
|
onInput: J,
|
1033
1033
|
onKeydown: T,
|
1034
1034
|
onBlur: ee,
|
1035
|
-
"suffix-icon": y.value ? e(
|
1035
|
+
"suffix-icon": y.value ? e(Ge) : e(Ye)
|
1036
1036
|
}, null, 8, ["modelValue", "maxlength", "placeholder", "disabled", "readonly", "suffix-icon"]),
|
1037
1037
|
y.value ? qe("", !0) : (m(), E("div", sl, [
|
1038
1038
|
c(I, null, {
|
@@ -1080,8 +1080,8 @@ const Ke = /* @__PURE__ */ v({
|
|
1080
1080
|
export {
|
1081
1081
|
Cl as default,
|
1082
1082
|
Te as formContextKey,
|
1083
|
-
|
1084
|
-
|
1083
|
+
Le as lovContextKey,
|
1084
|
+
je as tableSelectContext,
|
1085
1085
|
ql as useLov,
|
1086
1086
|
kl as useTableselect
|
1087
1087
|
};
|
@@ -1,6 +1,20 @@
|
|
1
|
-
declare
|
1
|
+
declare function __VLS_template(): {
|
2
|
+
slots: {
|
3
|
+
default?(_: {}): any;
|
4
|
+
};
|
5
|
+
refs: {};
|
6
|
+
attrs: Partial<{}>;
|
7
|
+
};
|
8
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
9
|
+
declare const __VLS_component: import('vue').DefineComponent<{
|
2
10
|
name: string;
|
3
11
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
4
12
|
name: string;
|
5
13
|
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
14
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
6
15
|
export default _default;
|
16
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
17
|
+
new (): {
|
18
|
+
$slots: S;
|
19
|
+
};
|
20
|
+
};
|
@@ -1,6 +1,24 @@
|
|
1
|
-
declare const _default: import('../_util').SFCWithInstall<
|
1
|
+
declare const _default: import('../_util').SFCWithInstall<{
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
3
|
+
name: string;
|
4
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
5
|
+
P: {};
|
6
|
+
B: {};
|
7
|
+
D: {};
|
8
|
+
C: {};
|
9
|
+
M: {};
|
10
|
+
Defaults: {};
|
11
|
+
}, Readonly<{
|
12
|
+
name: string;
|
13
|
+
}> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
14
|
+
__isFragment?: never;
|
15
|
+
__isTeleport?: never;
|
16
|
+
__isSuspense?: never;
|
17
|
+
} & import('vue').ComponentOptionsBase<Readonly<{
|
2
18
|
name: string;
|
3
|
-
}
|
4
|
-
|
5
|
-
|
19
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
20
|
+
$slots: {
|
21
|
+
default?(_: {}): any;
|
22
|
+
};
|
23
|
+
})> & {};
|
6
24
|
export default _default;
|
@@ -1,34 +1,43 @@
|
|
1
1
|
import "lodash-es";
|
2
|
-
import { defineComponent as
|
3
|
-
import { withInstall as
|
4
|
-
import "element-plus";
|
5
|
-
const
|
2
|
+
import { defineComponent as a, useAttrs as i, computed as c, useSlots as m, unref as t, openBlock as o, createBlock as u, normalizeStyle as r, withCtx as f, renderSlot as d, createElementBlock as p, normalizeClass as h, createElementVNode as y } from "vue";
|
3
|
+
import { withInstall as _ } from "../_util/vue/install.js";
|
4
|
+
import { ElIcon as k } from "element-plus";
|
5
|
+
const v = ["xlink:href"], x = /* @__PURE__ */ a({
|
6
6
|
name: "OIcon",
|
7
7
|
inheritAttrs: !1,
|
8
8
|
__name: "Icon",
|
9
9
|
props: {
|
10
10
|
name: {}
|
11
11
|
},
|
12
|
-
setup(
|
13
|
-
const e =
|
12
|
+
setup(C) {
|
13
|
+
const e = i(), l = c(() => {
|
14
14
|
if (e.style)
|
15
15
|
return e.style;
|
16
|
-
});
|
17
|
-
return (
|
16
|
+
}), n = m();
|
17
|
+
return (s, I) => t(n).default ? (o(), u(t(k), {
|
18
|
+
key: 0,
|
19
|
+
style: r(l.value)
|
20
|
+
}, {
|
21
|
+
default: f(() => [
|
22
|
+
d(s.$slots, "default")
|
23
|
+
]),
|
24
|
+
_: 3
|
25
|
+
}, 8, ["style"])) : (o(), p("svg", {
|
26
|
+
key: 1,
|
18
27
|
"aria-hidden": "true",
|
19
28
|
width: "1em",
|
20
29
|
height: "1em",
|
21
|
-
style:
|
22
|
-
class:
|
30
|
+
style: r(l.value),
|
31
|
+
class: h(t(e).class)
|
23
32
|
}, [
|
24
|
-
|
25
|
-
"xlink:href": `#${
|
33
|
+
y("use", {
|
34
|
+
"xlink:href": `#${s.name}`,
|
26
35
|
fill: "currentColor"
|
27
|
-
}, null, 8,
|
36
|
+
}, null, 8, v)
|
28
37
|
], 6));
|
29
38
|
}
|
30
|
-
}),
|
39
|
+
}), g = _(x, {});
|
31
40
|
export {
|
32
|
-
|
41
|
+
g as default
|
33
42
|
};
|
34
43
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/components/Icon/Icon.vue","../../../src/components/Icon/index.ts"],"sourcesContent":["<template>\r\n <svg aria-hidden=\"true\" width=\"1em\" height=\"1em\" :style=\"style\" :class=\"attrs.class\">\r\n <use :xlink:href=\"`#${name}`\" fill=\"currentColor\" />\r\n </svg>\r\n</template>\r\n<script setup lang=\"ts\">\r\nimport { computed, useAttrs, type CSSProperties } from 'vue'\r\n\r\ndefineOptions({ name: 'OIcon', inheritAttrs: false })\r\n\r\nconst { name } = defineProps<{ name: string }>()\r\nconst attrs = useAttrs()\r\nconst style = computed(() => {\r\n if (attrs.style) {\r\n return attrs.style as CSSProperties\r\n }\r\n return undefined\r\n})\r\n</script>","import { withInstall } from '../_util'\r\n\r\nimport Icon from './Icon.vue'\r\nexport default withInstall<typeof Icon, {}>(Icon, {})\r\n"],"names":["attrs","useAttrs","style","computed","index","withInstall","Icon"],"mappings":";;;;;;;;;;;;
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/components/Icon/Icon.vue","../../../src/components/Icon/index.ts"],"sourcesContent":["<template>\r\n <el-icon v-if=\"slots.default\" :style=\"style\">\r\n <slot></slot>\r\n </el-icon>\r\n <svg v-else aria-hidden=\"true\" width=\"1em\" height=\"1em\" :style=\"style\" :class=\"attrs.class\">\r\n <use :xlink:href=\"`#${name}`\" fill=\"currentColor\" />\r\n </svg>\r\n</template>\r\n<script setup lang=\"ts\">\r\nimport { computed, useAttrs, useSlots, type CSSProperties } from 'vue'\r\nimport { ElIcon } from 'element-plus';\r\n\r\ndefineOptions({ name: 'OIcon', inheritAttrs: false })\r\n\r\nconst { name } = defineProps<{ name: string }>()\r\nconst attrs = useAttrs()\r\nconst style = computed(() => {\r\n if (attrs.style) {\r\n return attrs.style as CSSProperties\r\n }\r\n return undefined\r\n})\r\nconst slots = useSlots()\r\n</script>","import { withInstall } from '../_util'\r\n\r\nimport Icon from './Icon.vue'\r\nexport default withInstall<typeof Icon, {}>(Icon, {})\r\n"],"names":["attrs","useAttrs","style","computed","slots","useSlots","index","withInstall","Icon"],"mappings":";;;;;;;;;;;;AAeA,UAAMA,IAAQC,KACRC,IAAQC,EAAS,MAAM;AACzB,UAAIH,EAAM;AACN,eAAOA,EAAM;AAAA,IAEV,CACV,GACKI,IAAQC;;;;;;;;;;;;;;;;;;;;;;;ICnBdC,IAAeC,EAA6BC,GAAM,EAAE;"}
|
@@ -2,30 +2,31 @@ import { computed as g } from "vue";
|
|
2
2
|
import y from "../../../error/OrionError.js";
|
3
3
|
import f from "../../_antd_util/camelize.js";
|
4
4
|
import { filterEmpty as d } from "../../_antd_util/index.js";
|
5
|
-
function m(
|
6
|
-
return
|
5
|
+
function m(a) {
|
6
|
+
return a == null ? void 0 : a.map((n) => {
|
7
7
|
var t, i;
|
8
|
-
const e = { ...
|
8
|
+
const e = { ...n.props || {} };
|
9
9
|
for (const [l, u] of Object.entries(e))
|
10
10
|
delete e[l], e[f(l)] = u;
|
11
|
-
if (
|
11
|
+
if (n.type.name === "OPagetableColumnIndex")
|
12
12
|
return {
|
13
|
-
type:
|
13
|
+
type: n.type.name
|
14
14
|
};
|
15
|
-
if (
|
15
|
+
if (n.type.name === "OPagetableColumnString" || n.type.name === "OPagetableColumnLink")
|
16
16
|
return {
|
17
|
-
type:
|
17
|
+
type: n.type.name,
|
18
18
|
head: e == null ? void 0 : e.head,
|
19
19
|
headAlign: e == null ? void 0 : e.headAlign,
|
20
20
|
bodyAlign: e == null ? void 0 : e.bodyAlign,
|
21
21
|
name: e == null ? void 0 : e.name,
|
22
22
|
width: e == null ? void 0 : e.width,
|
23
23
|
fixed: e == null ? void 0 : e.fixed,
|
24
|
-
tail: e == null ? void 0 : e.tail
|
24
|
+
tail: e == null ? void 0 : e.tail,
|
25
|
+
children: n.children
|
25
26
|
};
|
26
|
-
if (
|
27
|
+
if (n.type.name === "OPagetableColumnNumber")
|
27
28
|
return {
|
28
|
-
type:
|
29
|
+
type: n.type.name,
|
29
30
|
head: e == null ? void 0 : e.head,
|
30
31
|
headAlign: e == null ? void 0 : e.headAlign,
|
31
32
|
bodyAlign: e == null ? void 0 : e.bodyAlign,
|
@@ -35,11 +36,12 @@ function m(n) {
|
|
35
36
|
tail: e == null ? void 0 : e.tail,
|
36
37
|
thousandsSeparator: e == null ? void 0 : e.thousandsSeparator,
|
37
38
|
precision: Number(e == null ? void 0 : e.precision),
|
38
|
-
percentage: e == null ? void 0 : e.percentage
|
39
|
+
percentage: e == null ? void 0 : e.percentage,
|
40
|
+
children: n.children
|
39
41
|
};
|
40
|
-
if (
|
42
|
+
if (n.type.name === "OPagetableColumnDate")
|
41
43
|
return {
|
42
|
-
type:
|
44
|
+
type: n.type.name,
|
43
45
|
head: e == null ? void 0 : e.head,
|
44
46
|
headAlign: e == null ? void 0 : e.headAlign,
|
45
47
|
bodyAlign: e == null ? void 0 : e.bodyAlign,
|
@@ -48,11 +50,12 @@ function m(n) {
|
|
48
50
|
fixed: e == null ? void 0 : e.fixed,
|
49
51
|
tail: e == null ? void 0 : e.tail,
|
50
52
|
format: e == null ? void 0 : e.format,
|
51
|
-
sourceFormat: e == null ? void 0 : e.sourceFormat
|
53
|
+
sourceFormat: e == null ? void 0 : e.sourceFormat,
|
54
|
+
children: n.children
|
52
55
|
};
|
53
|
-
if (
|
56
|
+
if (n.type.name === "OPagetableColumnSingleselect" || n.type.name === "OPagetableColumnMultiselect")
|
54
57
|
return {
|
55
|
-
type:
|
58
|
+
type: n.type.name,
|
56
59
|
head: e == null ? void 0 : e.head,
|
57
60
|
headAlign: e == null ? void 0 : e.headAlign,
|
58
61
|
bodyAlign: e == null ? void 0 : e.bodyAlign,
|
@@ -60,11 +63,12 @@ function m(n) {
|
|
60
63
|
width: e == null ? void 0 : e.width,
|
61
64
|
fixed: e == null ? void 0 : e.fixed,
|
62
65
|
tail: e == null ? void 0 : e.tail,
|
63
|
-
code: e == null ? void 0 : e.code
|
66
|
+
code: e == null ? void 0 : e.code,
|
67
|
+
children: n.children
|
64
68
|
};
|
65
|
-
if (
|
69
|
+
if (n.type.name === "OPagetableColumnButtongroup")
|
66
70
|
return {
|
67
|
-
type:
|
71
|
+
type: n.type.name,
|
68
72
|
head: e == null ? void 0 : e.head,
|
69
73
|
headAlign: e == null ? void 0 : e.headAlign,
|
70
74
|
bodyAlign: e == null ? void 0 : e.bodyAlign,
|
@@ -72,33 +76,33 @@ function m(n) {
|
|
72
76
|
width: e == null ? void 0 : e.width,
|
73
77
|
fixed: e == null ? void 0 : e.fixed,
|
74
78
|
tail: e == null ? void 0 : e.tail,
|
75
|
-
children:
|
79
|
+
children: n.children
|
76
80
|
};
|
77
|
-
if (
|
81
|
+
if (n.type.name === "OPagetableColumngroup")
|
78
82
|
return {
|
79
|
-
type:
|
83
|
+
type: n.type.name,
|
80
84
|
head: e == null ? void 0 : e.head,
|
81
85
|
headAlign: e == null ? void 0 : e.headAlign,
|
82
|
-
children: m(d((i = (t =
|
86
|
+
children: m(d((i = (t = n.children) == null ? void 0 : t.default) == null ? void 0 : i.call(t)))
|
83
87
|
};
|
84
|
-
if (
|
88
|
+
if (n.type.name === "OPagetableColumnDiy")
|
85
89
|
return {
|
86
|
-
type:
|
90
|
+
type: n.type.name,
|
87
91
|
head: e == null ? void 0 : e.head,
|
88
92
|
headAlign: e == null ? void 0 : e.headAlign,
|
89
93
|
name: e == null ? void 0 : e.name,
|
90
94
|
width: e == null ? void 0 : e.width,
|
91
95
|
fixed: e == null ? void 0 : e.fixed,
|
92
96
|
tail: e == null ? void 0 : e.tail,
|
93
|
-
children:
|
97
|
+
children: n.children
|
94
98
|
};
|
95
|
-
throw new y(`OPagetable不能正确解析'${
|
99
|
+
throw new y(`OPagetable不能正确解析'${n.type.name}'子组件。`);
|
96
100
|
});
|
97
101
|
}
|
98
|
-
function x(
|
102
|
+
function x(a) {
|
99
103
|
return g(() => {
|
100
104
|
var i;
|
101
|
-
const
|
105
|
+
const n = (i = a.default) == null ? void 0 : i.call(a), e = d(n);
|
102
106
|
return m(e);
|
103
107
|
});
|
104
108
|
}
|