@robot-admin/naive-ui-components 0.37.0 → 0.37.2
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/CHANGELOG.md +16 -0
- package/README.md +24 -3
- package/README_EN.md +23 -2
- package/dist/C_Captcha.d.ts +1 -1
- package/dist/C_DataPicker.d.ts +0 -1
- package/dist/C_Density2.cjs +1 -1
- package/dist/C_Density2.js +1 -1
- package/dist/C_Form.d.cts +1 -1
- package/dist/C_Form.d.ts +2 -1
- package/dist/C_FormModal.d.ts +2 -1
- package/dist/C_FormSearch.d.ts +2 -2
- package/dist/C_Icon2.cjs +1 -1
- package/dist/C_Icon2.js +1 -1
- package/dist/C_Login.d.ts +1 -1
- package/dist/C_Steps.css +39 -39
- package/dist/C_Steps2.cjs +1 -1
- package/dist/C_Steps2.js +1 -1
- package/dist/C_Table.base.css +127 -111
- package/dist/C_Table.cjs +1 -1
- package/dist/C_Table.css +127 -111
- package/dist/C_Table.d.cts +1 -1
- package/dist/C_Table.d.ts +2 -3
- package/dist/C_Table.js +1 -1
- package/dist/C_Table2.cjs +4 -4
- package/dist/C_Table2.js +4 -4
- package/dist/C_Tree.d.ts +0 -1
- package/dist/C_UserPicker.d.ts +0 -1
- package/dist/C_WorkFlow.d.ts +0 -1
- package/dist/component-config.d.ts +1723 -2
- package/dist/config.cjs +1 -1
- package/dist/config.d.cts +2 -2
- package/dist/config.d.ts +3 -2
- package/dist/config.js +1 -1
- package/dist/constants3.d.cts +5 -5
- package/dist/constants3.d.ts +5 -5
- package/dist/constants4.d.cts +4 -4
- package/dist/constants4.d.ts +4 -4
- package/dist/constants5.d.cts +2 -2
- package/dist/constants5.d.ts +2 -2
- package/dist/context.cjs +1 -1
- package/dist/context.d.cts +1118 -3
- package/dist/context.js +1 -1
- package/dist/data2.d.cts +9 -9
- package/dist/data2.d.ts +9 -9
- package/dist/dateRange.d.ts +1 -1
- package/dist/editors.d.cts +9 -7
- package/dist/editors.d.ts +9 -7
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -3
- package/dist/index.js +1 -1
- package/dist/index.vue.d.cts +3 -3
- package/dist/index.vue.d.ts +3 -3
- package/dist/index10.vue.d.ts +2 -2
- package/dist/index11.vue.d.cts +2 -2
- package/dist/index11.vue.d.ts +4 -4
- package/dist/index12.vue.d.cts +4 -4
- package/dist/index13.vue.d.ts +1 -1
- package/dist/index14.vue.d.cts +1 -1
- package/dist/index15.vue.d.ts +3 -3
- package/dist/index16.vue.d.cts +3 -3
- package/dist/index16.vue.d.ts +2 -2
- package/dist/index17.vue.d.cts +2 -2
- package/dist/index17.vue.d.ts +6 -6
- package/dist/index18.vue.d.cts +6 -6
- package/dist/index18.vue.d.ts +1 -1
- package/dist/index19.vue.d.cts +1 -1
- package/dist/index24.vue.d.cts +2 -2
- package/dist/index24.vue.d.ts +2 -2
- package/dist/index27.vue.d.cts +1 -1
- package/dist/index27.vue.d.ts +1 -1
- package/dist/index28.vue.d.cts +2 -2
- package/dist/index28.vue.d.ts +2 -2
- package/dist/index3.vue.d.cts +3 -3
- package/dist/index3.vue.d.ts +3 -3
- package/dist/index31.vue.d.cts +3 -3
- package/dist/index31.vue.d.ts +3 -3
- package/dist/index32.vue.d.cts +2 -2
- package/dist/index32.vue.d.ts +2 -2
- package/dist/index4.vue.d.cts +6 -6
- package/dist/index4.vue.d.ts +6 -6
- package/dist/index8.vue.d.ts +2 -2
- package/dist/index9.vue.d.cts +2 -2
- package/dist/mapUtils.d.cts +4 -4
- package/dist/mapUtils.d.ts +4 -4
- package/dist/style.css +166 -150
- package/dist/types3.d.ts +5 -1119
- package/dist/types4.d.cts +5 -1119
- package/dist/types6.d.ts +2 -1
- package/dist/types7.d.cts +2 -1
- package/dist/useCollapsePanel.d.cts +2 -2
- package/dist/useCollapsePanel.d.ts +2 -2
- package/dist/useCropperCore.d.cts +9 -9
- package/dist/useCropperCore.d.ts +9 -9
- package/dist/useDynamicFormState.d.cts +3 -3
- package/dist/useDynamicFormState.d.ts +3 -3
- package/dist/useEdgeInteraction.d.cts +2 -2
- package/dist/useEdgeInteraction.d.ts +2 -2
- package/dist/useFormRenderer.d.cts +1 -1
- package/dist/useFormRenderer.d.ts +1 -1
- package/dist/useFullscreen.d.cts +1 -1
- package/dist/useFullscreen.d.ts +1 -1
- package/dist/useInfiniteScroll.d.cts +5 -5
- package/dist/useInfiniteScroll.d.ts +5 -5
- package/dist/useQRCode.d.cts +4 -4
- package/dist/useQRCode.d.ts +4 -4
- package/dist/useSignatureHistory.d.cts +2 -2
- package/dist/useSignatureHistory.d.ts +2 -2
- package/dist/useSplitResize.d.cts +6 -6
- package/dist/useSplitResize.d.ts +6 -6
- package/dist/useWorkflowValidation.d.cts +84 -84
- package/dist/useWorkflowValidation.d.ts +84 -84
- package/dist/verification.d.cts +2 -2
- package/dist/verification.d.ts +2 -2
- package/docs/guides/table-density.md +19 -2
- package/docs/guides/theme.md +2 -0
- package/package.json +1 -1
- package/dist/context.d.ts +0 -610
- package/dist/useTableGlobalConfig.cjs +0 -1
- package/dist/useTableGlobalConfig.js +0 -1
package/dist/context.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=Symbol(`robot-component-feedback`),t=Symbol(`robot-component-locale`),n=Symbol(`robot-component-density`),r=Symbol(`c-form-global-config`);export{r as i,e as n,t as r,n as t};
|
|
1
|
+
const e=Symbol(`robot-component-feedback`),t=Symbol(`robot-component-locale`),n=Symbol(`robot-component-density`),r=Symbol(`c-form-global-config`),i=Symbol(`C_TABLE_GLOBAL_CONFIG`);export{i as a,r as i,e as n,t as r,n as t};
|
package/dist/data2.d.cts
CHANGED
|
@@ -66,27 +66,27 @@ declare const __VLS_base: vue.DefineComponent<CTabsProps, {
|
|
|
66
66
|
activeValue: vue.WritableComputedRef<TabsValue | null, TabsValue | null>;
|
|
67
67
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
68
68
|
"update:modelValue": (value: TabsValue) => any;
|
|
69
|
-
close: (value: TabsValue) => any;
|
|
70
|
-
add: () => any;
|
|
71
69
|
change: (value: TabsValue, item: TabsItem | undefined) => any;
|
|
70
|
+
add: () => any;
|
|
71
|
+
close: (value: TabsValue) => any;
|
|
72
72
|
}, string, vue.PublicProps, Readonly<CTabsProps> & Readonly<{
|
|
73
73
|
"onUpdate:modelValue"?: ((value: TabsValue) => any) | undefined;
|
|
74
|
-
onClose?: ((value: TabsValue) => any) | undefined;
|
|
75
|
-
onAdd?: (() => any) | undefined;
|
|
76
74
|
onChange?: ((value: TabsValue, item: TabsItem | undefined) => any) | undefined;
|
|
75
|
+
onAdd?: (() => any) | undefined;
|
|
76
|
+
onClose?: ((value: TabsValue) => any) | undefined;
|
|
77
77
|
}>, {
|
|
78
|
-
modelValue: TabsValue | null;
|
|
79
|
-
defaultValue: TabsValue | null;
|
|
80
|
-
items: readonly TabsItem[];
|
|
81
78
|
type: TabsType;
|
|
79
|
+
modelValue: TabsValue | null;
|
|
82
80
|
size: TabsSize;
|
|
81
|
+
defaultValue: TabsValue | null;
|
|
83
82
|
placement: TabsPlacement;
|
|
84
|
-
|
|
83
|
+
displayDirective: TabsDisplayDirective;
|
|
84
|
+
items: readonly TabsItem[];
|
|
85
85
|
animated: boolean;
|
|
86
|
+
justifyContent: TabsJustifyContent;
|
|
86
87
|
closable: boolean;
|
|
87
88
|
addable: boolean;
|
|
88
89
|
tabsOnly: boolean;
|
|
89
|
-
displayDirective: TabsDisplayDirective;
|
|
90
90
|
paneClass: string;
|
|
91
91
|
paneStyle: string | vue.CSSProperties;
|
|
92
92
|
beforeChange: (target: TabsValue, current: TabsValue | null) => boolean | Promise<boolean>;
|
package/dist/data2.d.ts
CHANGED
|
@@ -66,27 +66,27 @@ declare const __VLS_base: vue.DefineComponent<CTabsProps, {
|
|
|
66
66
|
activeValue: vue.WritableComputedRef<TabsValue | null, TabsValue | null>;
|
|
67
67
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
68
68
|
"update:modelValue": (value: TabsValue) => any;
|
|
69
|
-
close: (value: TabsValue) => any;
|
|
70
|
-
add: () => any;
|
|
71
69
|
change: (value: TabsValue, item: TabsItem | undefined) => any;
|
|
70
|
+
add: () => any;
|
|
71
|
+
close: (value: TabsValue) => any;
|
|
72
72
|
}, string, vue.PublicProps, Readonly<CTabsProps> & Readonly<{
|
|
73
73
|
"onUpdate:modelValue"?: ((value: TabsValue) => any) | undefined;
|
|
74
|
-
onClose?: ((value: TabsValue) => any) | undefined;
|
|
75
|
-
onAdd?: (() => any) | undefined;
|
|
76
74
|
onChange?: ((value: TabsValue, item: TabsItem | undefined) => any) | undefined;
|
|
75
|
+
onAdd?: (() => any) | undefined;
|
|
76
|
+
onClose?: ((value: TabsValue) => any) | undefined;
|
|
77
77
|
}>, {
|
|
78
|
-
modelValue: TabsValue | null;
|
|
79
|
-
defaultValue: TabsValue | null;
|
|
80
|
-
items: readonly TabsItem[];
|
|
81
78
|
type: TabsType;
|
|
79
|
+
modelValue: TabsValue | null;
|
|
82
80
|
size: TabsSize;
|
|
81
|
+
defaultValue: TabsValue | null;
|
|
83
82
|
placement: TabsPlacement;
|
|
84
|
-
|
|
83
|
+
displayDirective: TabsDisplayDirective;
|
|
84
|
+
items: readonly TabsItem[];
|
|
85
85
|
animated: boolean;
|
|
86
|
+
justifyContent: TabsJustifyContent;
|
|
86
87
|
closable: boolean;
|
|
87
88
|
addable: boolean;
|
|
88
89
|
tabsOnly: boolean;
|
|
89
|
-
displayDirective: TabsDisplayDirective;
|
|
90
90
|
paneClass: string;
|
|
91
91
|
paneStyle: string | vue.CSSProperties;
|
|
92
92
|
beforeChange: (target: TabsValue, current: TabsValue | null) => boolean | Promise<boolean>;
|
package/dist/dateRange.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as OptionValue, r as OptionSource } from "./optionSource.js";
|
|
2
2
|
import { t as ComponentDensity } from "./density.js";
|
|
3
3
|
import { n as ComponentLocale, t as ComponentFeedback } from "./contracts.js";
|
|
4
|
-
import {
|
|
4
|
+
import { vn as OptionsState } from "./component-config.js";
|
|
5
5
|
import * as vue from "vue";
|
|
6
6
|
import { MaybeRefOrGetter, Ref, VNodeChild } from "vue";
|
|
7
7
|
import { FormInst, FormItemRule } from "naive-ui";
|
package/dist/editors.d.cts
CHANGED
|
@@ -2,7 +2,7 @@ import { i as OptionValue, r as OptionSource } from "./optionSource.cjs";
|
|
|
2
2
|
import { n as ResolvedComponentDensity, t as ComponentDensity } from "./density.cjs";
|
|
3
3
|
import { n as ComponentLocale, t as ComponentFeedback } from "./contracts.cjs";
|
|
4
4
|
import { n as AutoCompleteProps$1, t as AutoCompleteOptionItem } from "./types2.cjs";
|
|
5
|
-
import {
|
|
5
|
+
import { A as RowDragConfig, C as ToolbarConfig, F as DynamicRowsReturn, J as DataRecord, O as ExportConfig, P as DynamicRowsOptions, S as TableConfig, T as VirtualScrollConfig, Y as EditMode, _ as ErrorConfig, _t as UseTableActionsReturn, b as SelectionConfig, bt as CrossPageSelectionConfig, ct as TableColumn, f as BatchActionsConfig, g as EditConfig, gt as UseTableActionsOptions, h as DisplayConfig, ht as TableRuntimeProps, mt as TableRowKeyIssue, nt as ParentChildLinkMode, o as FormatterConfig, ot as SimpleTableActions, p as ColumnDragConfig, pt as TableRowKey, st as StrictTableColumn, tt as PaginationConfig, ut as TableInstance, v as ExpandConfig, vt as UseTableExpandOptions, w as TreeConfig, x as SummaryConfig, y as ResolvedConfig, yt as UseTableExpandReturn } from "./context.cjs";
|
|
6
6
|
import { a as SelectProps$1, o as SelectSelection, r as SelectOptionItem, s as SelectValue, t as SelectModelValue } from "./types6.cjs";
|
|
7
7
|
import { E as TreeRenderContext, O as TreeSlots, T as TreeProps$1, _ as TreeExpose, f as DropInfo, g as TreeEmits, k as TreeUpdateMeta, p as IconConfig, u as ActionConfig, v as TreeKey, x as TreeNodeData, y as TreeMode } from "./types7.cjs";
|
|
8
8
|
import * as vue from "vue";
|
|
@@ -123,6 +123,8 @@ interface UseTableColumnsOptions {
|
|
|
123
123
|
outerWidth: number;
|
|
124
124
|
}>>;
|
|
125
125
|
nativeLayout?: () => boolean;
|
|
126
|
+
/** @internal 应用级范围变化也清理未启用存储的列偏好。 */
|
|
127
|
+
preferenceScope?: () => string | undefined;
|
|
126
128
|
/** 用户设定的 scrollX */
|
|
127
129
|
scrollX?: number | string;
|
|
128
130
|
/** 行键获取函数 */
|
|
@@ -552,17 +554,17 @@ declare function setupHighlight(app: App, options?: HighlightPluginOptions): Hig
|
|
|
552
554
|
//#region src/components/C_Tree/index.vue.d.ts
|
|
553
555
|
declare const __VLS_export: <T extends object = TreeNodeData>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
554
556
|
props: vue.PublicProps & __VLS_PrettifyLocal<TreeProps$1<T> & {
|
|
555
|
-
"onUpdate:expandedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "select" | "filter" | "
|
|
556
|
-
onAdd?: ((parentNode?: T | undefined) => any) | undefined;
|
|
557
|
+
"onUpdate:expandedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "select" | "filter" | "collapse" | "expand" | "unselect" | "check" | "uncheck">) => any) | undefined;
|
|
557
558
|
onRefresh?: (() => any) | undefined;
|
|
559
|
+
onAdd?: ((parentNode?: T | undefined) => any) | undefined;
|
|
558
560
|
"onLoad-error"?: ((error: unknown, node: T) => any) | undefined;
|
|
561
|
+
"onSearch-error"?: ((error: unknown) => any) | undefined;
|
|
559
562
|
"onUpdate:searchPattern"?: ((pattern: string) => any) | undefined;
|
|
560
|
-
"onUpdate:selectedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "select" | "filter" | "
|
|
561
|
-
"onUpdate:checkedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "select" | "filter" | "
|
|
563
|
+
"onUpdate:selectedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "select" | "filter" | "collapse" | "expand" | "unselect" | "check" | "uncheck">) => any) | undefined;
|
|
564
|
+
"onUpdate:checkedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "select" | "filter" | "collapse" | "expand" | "unselect" | "check" | "uncheck">) => any) | undefined;
|
|
562
565
|
"onNode-select"?: ((node: T | null, selectedKeys: TreeKey[]) => any) | undefined;
|
|
563
566
|
"onNode-action"?: ((action: string, node: T) => any) | undefined;
|
|
564
567
|
"onNode-drop"?: ((info: DropInfo<T>) => any) | undefined;
|
|
565
|
-
"onSearch-error"?: ((error: unknown) => any) | undefined;
|
|
566
568
|
}> & (typeof globalThis extends {
|
|
567
569
|
__VLS_PROPS_FALLBACK: infer P;
|
|
568
570
|
} ? P : {});
|
|
@@ -577,7 +579,7 @@ declare const __VLS_export: <T extends object = TreeNodeData>(__VLS_props: NonNu
|
|
|
577
579
|
}>) => void;
|
|
578
580
|
attrs: any;
|
|
579
581
|
slots: TreeSlots<T>;
|
|
580
|
-
emit: ((evt: "update:expandedKeys", keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "select" | "filter" | "
|
|
582
|
+
emit: ((evt: "update:expandedKeys", keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "select" | "filter" | "collapse" | "expand" | "unselect" | "check" | "uncheck">) => void) & ((evt: "refresh") => void) & ((evt: "add", parentNode?: T | undefined) => void) & ((evt: "load-error", error: unknown, node: T) => void) & ((evt: "search-error", error: unknown) => void) & ((evt: "update:searchPattern", pattern: string) => void) & ((evt: "update:selectedKeys", keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "select" | "filter" | "collapse" | "expand" | "unselect" | "check" | "uncheck">) => void) & ((evt: "update:checkedKeys", keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "select" | "filter" | "collapse" | "expand" | "unselect" | "check" | "uncheck">) => void) & ((evt: "node-select", node: T | null, selectedKeys: TreeKey[]) => void) & ((evt: "node-action", action: string, node: T) => void) & ((evt: "node-drop", info: DropInfo<T>) => void);
|
|
581
583
|
}>) => vue.VNode & {
|
|
582
584
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
583
585
|
};
|
package/dist/editors.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { i as OptionValue, r as OptionSource } from "./optionSource.js";
|
|
|
2
2
|
import { n as ResolvedComponentDensity, t as ComponentDensity } from "./density.js";
|
|
3
3
|
import { n as ComponentLocale, t as ComponentFeedback } from "./contracts.js";
|
|
4
4
|
import { n as AutoCompleteProps$1, t as AutoCompleteOptionItem } from "./types2.js";
|
|
5
|
-
import {
|
|
5
|
+
import { A as ExportConfig, C as SummaryConfig, D as VirtualScrollConfig, E as TreeConfig, I as DynamicRowsOptions, L as DynamicRowsReturn, M as RowDragConfig, S as SelectionConfig, St as CrossPageSelectionConfig, T as ToolbarConfig, X as DataRecord, Z as EditMode, _ as DisplayConfig, _t as TableRuntimeProps, b as ExpandConfig, bt as UseTableExpandOptions, c as FormatterConfig, ct as SimpleTableActions, ft as TableInstance, gt as TableRowKeyIssue, h as ColumnDragConfig, ht as TableRowKey, it as ParentChildLinkMode, lt as StrictTableColumn, m as BatchActionsConfig, rt as PaginationConfig, ut as TableColumn, v as EditConfig, vt as UseTableActionsOptions, w as TableConfig, x as ResolvedConfig, xt as UseTableExpandReturn, y as ErrorConfig, yt as UseTableActionsReturn } from "./component-config.js";
|
|
6
6
|
import { a as SelectProps$1, o as SelectSelection, r as SelectOptionItem, s as SelectValue, t as SelectModelValue } from "./types5.js";
|
|
7
7
|
import { E as TreeRenderContext, O as TreeSlots, T as TreeProps$1, _ as TreeExpose, f as DropInfo, g as TreeEmits, k as TreeUpdateMeta, p as IconConfig, u as ActionConfig, v as TreeKey, x as TreeNodeData, y as TreeMode } from "./types6.js";
|
|
8
8
|
import * as vue from "vue";
|
|
@@ -113,6 +113,8 @@ interface UseTableColumnsOptions {
|
|
|
113
113
|
outerWidth: number;
|
|
114
114
|
}>>;
|
|
115
115
|
nativeLayout?: () => boolean;
|
|
116
|
+
/** @internal 应用级范围变化也清理未启用存储的列偏好。 */
|
|
117
|
+
preferenceScope?: () => string | undefined;
|
|
116
118
|
/** 用户设定的 scrollX */
|
|
117
119
|
scrollX?: number | string;
|
|
118
120
|
/** 行键获取函数 */
|
|
@@ -542,17 +544,17 @@ declare function setupHighlight(app: App, options?: HighlightPluginOptions): Hig
|
|
|
542
544
|
//#region src/components/C_Tree/index.vue.d.ts
|
|
543
545
|
declare const __VLS_export: <T extends object = TreeNodeData>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
544
546
|
props: vue.PublicProps & __VLS_PrettifyLocal<TreeProps$1<T> & {
|
|
545
|
-
"onUpdate:expandedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "select" | "filter" | "
|
|
546
|
-
onAdd?: ((parentNode?: T | undefined) => any) | undefined;
|
|
547
|
+
"onUpdate:expandedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "select" | "filter" | "collapse" | "expand" | "unselect" | "check" | "uncheck">) => any) | undefined;
|
|
547
548
|
onRefresh?: (() => any) | undefined;
|
|
549
|
+
onAdd?: ((parentNode?: T | undefined) => any) | undefined;
|
|
548
550
|
"onLoad-error"?: ((error: unknown, node: T) => any) | undefined;
|
|
551
|
+
"onSearch-error"?: ((error: unknown) => any) | undefined;
|
|
549
552
|
"onUpdate:searchPattern"?: ((pattern: string) => any) | undefined;
|
|
550
|
-
"onUpdate:selectedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "select" | "filter" | "
|
|
551
|
-
"onUpdate:checkedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "select" | "filter" | "
|
|
553
|
+
"onUpdate:selectedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "select" | "filter" | "collapse" | "expand" | "unselect" | "check" | "uncheck">) => any) | undefined;
|
|
554
|
+
"onUpdate:checkedKeys"?: ((keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "select" | "filter" | "collapse" | "expand" | "unselect" | "check" | "uncheck">) => any) | undefined;
|
|
552
555
|
"onNode-select"?: ((node: T | null, selectedKeys: TreeKey[]) => any) | undefined;
|
|
553
556
|
"onNode-action"?: ((action: string, node: T) => any) | undefined;
|
|
554
557
|
"onNode-drop"?: ((info: DropInfo<T>) => any) | undefined;
|
|
555
|
-
"onSearch-error"?: ((error: unknown) => any) | undefined;
|
|
556
558
|
}> & (typeof globalThis extends {
|
|
557
559
|
__VLS_PROPS_FALLBACK: infer P;
|
|
558
560
|
} ? P : {});
|
|
@@ -567,7 +569,7 @@ declare const __VLS_export: <T extends object = TreeNodeData>(__VLS_props: NonNu
|
|
|
567
569
|
}>) => void;
|
|
568
570
|
attrs: any;
|
|
569
571
|
slots: TreeSlots<T>;
|
|
570
|
-
emit: ((evt: "update:expandedKeys", keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "select" | "filter" | "
|
|
572
|
+
emit: ((evt: "update:expandedKeys", keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "select" | "filter" | "collapse" | "expand" | "unselect" | "check" | "uncheck">) => void) & ((evt: "refresh") => void) & ((evt: "add", parentNode?: T | undefined) => void) & ((evt: "load-error", error: unknown, node: T) => void) & ((evt: "search-error", error: unknown) => void) & ((evt: "update:searchPattern", pattern: string) => void) & ((evt: "update:selectedKeys", keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "select" | "filter" | "collapse" | "expand" | "unselect" | "check" | "uncheck">) => void) & ((evt: "update:checkedKeys", keys: TreeKey[], options: (T | null)[], meta: TreeUpdateMeta<T, "select" | "filter" | "collapse" | "expand" | "unselect" | "check" | "uncheck">) => void) & ((evt: "node-select", node: T | null, selectedKeys: TreeKey[]) => void) & ((evt: "node-action", action: string, node: T) => void) & ((evt: "node-drop", info: DropInfo<T>) => void);
|
|
571
573
|
}>) => vue.VNode & {
|
|
572
574
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
573
575
|
};
|
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require(`./chunk.cjs`),t=require(`./density.cjs`),n=require(`./numberCodec.cjs`),r=require(`./validation.cjs`),i=require(`./batchPatch.cjs`),a=require(`./observer.cjs`),o=require(`./useDataResource.cjs`),s=require(`./useFormArray.cjs`),c=require(`./context.cjs`),ee=require(`./useComponentLocale.cjs`),te=require(`./feedback.cjs`),ne=require(`./theme.cjs`),re=require(`./C_Code2.cjs`),ie=require(`./C_Icon2.cjs`),ae=require(`./C_Select2.cjs`),oe=require(`./C_AutoComplete2.cjs`),se=require(`./C_Loading2.cjs`),l=require(`./createPageLoading.cjs`),u=require(`./C_Upload2.cjs`),ce=require(`./C_Barcode2.cjs`),d=require(`./C_Captcha2.cjs`),le=require(`./C_Cascade2.cjs`),ue=require(`./C_Guide2.cjs`),de=require(`./C_Progress2.cjs`),fe=require(`./C_Steps2.cjs`),f=require(`./C_ActionBar2.cjs`),pe=require(`./C_Theme2.cjs`),me=require(`./C_Language2.cjs`);require(`./C_Date2.cjs`);const he=require(`./C_Date.cjs`),ge=require(`./C_Editor2.cjs`),_e=require(`./C_Markdown2.cjs`),p=require(`./C_Map2.cjs`),ve=require(`./C_City2.cjs`),ye=require(`./graphics.cjs`),be=require(`./C_VtableGantt.cjs`),m=require(`./C_Signature2.cjs`),xe=require(`./C_SplitPane2.cjs`),h=require(`./C_CollapsePanel2.cjs`),Se=require(`./C_Time2.cjs`),Ce=require(`./C_Time.cjs`),g=require(`./useFormConfig.cjs`),_=require(`./storage.cjs`),v=require(`./serializeSearch.cjs`),we=require(`./C_FormSearch.cjs`),y=require(`./C_Tree2.cjs`),b=require(`./C_QRCode2.cjs`),x=require(`./C_ImageCropper2.cjs`),S=require(`./C_Draggable2.cjs`),C=require(`./C_WaterFall2.cjs`),w=require(`./C_FullCalendar2.cjs`),T=require(`./C_NotificationCenter2.cjs`),E=require(`./C_Cron2.cjs`),D=require(`./useFormulaEvaluator.cjs`),Te=require(`./C_AntV2.cjs`),Ee=require(`./useGraphExport.cjs`),De=require(`./useEdgeInteraction.cjs`),O=require(`./C_VideoPlayer2.cjs`),k=require(`./C_FilePreview2.cjs`),A=require(`./C_WorkFlow2.cjs`),j=require(`./fieldRenderers.cjs`),M=require(`./useDynamicFormState.cjs`),Oe=require(`./C_FormModal2.cjs`),N=require(`./C_Table2.cjs`),P=require(`./helpers.cjs`),F=require(`./useTableGlobalConfig.cjs`),I=require(`./editors.cjs`),L=require(`./C_GlobalSearch2.cjs`),R=require(`./C_Menu2.cjs`),ke=require(`./C_Breadcrumb2.cjs`),z=require(`./C_TagsView2.cjs`),B=require(`./C_AudioPlayer2.cjs`),V=require(`./C_AvatarGroup2.cjs`),H=require(`./C_Chat2.cjs`),U=require(`./C_ContextMenu2.cjs`),W=require(`./C_Login2.cjs`),G=require(`./C_Timeline2.cjs`),K=require(`./data3.cjs`),q=require(`./C_Transfer2.cjs`),Ae=require(`./C_Skeleton2.cjs`);require(`./C_OrgChart2.cjs`);const je=require(`./C_OrgChart.cjs`),Me=require(`./C_ErrorSummary2.cjs`),Ne=require(`./C_Density2.cjs`),Pe=require(`./C_SectionNav2.cjs`),Fe=require(`./C_DataPicker2.cjs`),Ie=require(`./formField.cjs`),Le=require(`./source.cjs`),Re=require(`./C_BatchResult2.cjs`),ze=require(`./theme2.cjs`);let Be=require(`vue`),Ve=require(`highlight.js/lib/core`);Ve=e.n(Ve);let He=require(`highlight.js/lib/languages/javascript`);He=e.n(He);let Ue=require(`highlight.js/lib/languages/typescript`);Ue=e.n(Ue);let We=require(`highlight.js/lib/languages/json`);We=e.n(We);let J=require(`highlight.js/lib/languages/xml`);J=e.n(J);let Ge=require(`highlight.js/lib/languages/css`);Ge=e.n(Ge);let Y=require(`highlight.js/lib/languages/bash`);Y=e.n(Y);let X=require(`highlight.js/lib/languages/yaml`);X=e.n(X);let Ke=require(`highlight.js/lib/languages/markdown`);Ke=e.n(Ke);let Z=require(`highlight.js/lib/languages/java`);Z=e.n(Z);let qe=require(`highlight.js/lib/languages/csharp`);qe=e.n(qe);let Je=require(`highlight.js/lib/languages/go`);Je=e.n(Je);let Ye=require(`highlight.js/lib/languages/python`);Ye=e.n(Ye);let Xe=require(`@robot-admin/form-validate`);const Ze={cpp:()=>import(`highlight.js/lib/languages/cpp`),c:()=>import(`highlight.js/lib/languages/c`),php:()=>import(`highlight.js/lib/languages/php`),ruby:()=>import(`highlight.js/lib/languages/ruby`),rust:()=>import(`highlight.js/lib/languages/rust`),swift:()=>import(`highlight.js/lib/languages/swift`),kotlin:()=>import(`highlight.js/lib/languages/kotlin`),scss:()=>import(`highlight.js/lib/languages/scss`),less:()=>import(`highlight.js/lib/languages/less`),sql:()=>import(`highlight.js/lib/languages/sql`),dockerfile:()=>import(`highlight.js/lib/languages/dockerfile`),powershell:()=>import(`highlight.js/lib/languages/powershell`)};function Qe(e,t,n){e.instance.registerLanguage(t,n),e.loadedLanguages.add(t)}function $e(e,t){[[`javascript`,He.default],[`typescript`,Ue.default],[`json`,We.default],[`html`,J.default],[`xml`,J.default],[`css`,Ge.default],[`bash`,Y.default],[`shell`,Y.default],[`yaml`,X.default],[`yml`,X.default],[`markdown`,Ke.default],[`java`,Z.default],[`csharp`,qe.default],[`go`,Je.default],[`python`,Ye.default]].forEach(([t,n])=>{Qe(e,t,n)}),e.instance.configure({ignoreUnescapedHTML:!0,languages:t.autoDetect?void 0:[]}),t.extraLanguages?.length&&et(e,t.extraLanguages,t)}async function et(e,t,n={}){let r=t.map(t=>tt(e,t,n));return(await Promise.allSettled(r)).map((e,n)=>e.status===`fulfilled`&&e.value?t[n]:null).filter(Boolean)}async function tt(e,t,n={}){let r=t.toLowerCase();if(e.loadedLanguages.has(r))return!0;let i=e.pendingLanguageLoads.get(r);if(i)return i;let o=Ze[r];if(!o)return a.t(()=>n.logger?.warn(`[HighlightPlugin] Language '${t}' not supported`)),!1;let s=(async()=>{try{return Qe(e,r,(await o()).default),n.debug&&a.t(()=>n.logger?.info(`[HighlightPlugin] Language '${r}' loaded successfully`)),!0}catch(e){return a.t(()=>n.logger?.error(`[HighlightPlugin] Failed to load language '${r}'`,e)),a.t(()=>n.onError?.(e,{source:`language-loader`,language:r})),!1}finally{e.pendingLanguageLoads.delete(r)}})();return e.pendingLanguageLoads.set(r,s),s}function nt(e={}){let t={instance:Ve.default.newInstance(),loadedLanguages:new Set,pendingLanguageLoads:new Map};return $e(t,e),{getHljs:()=>t.instance,loadLanguage:n=>tt(t,n,e),loadLanguages:n=>et(t,n,e),getLoadedLanguages:()=>Array.from(t.loadedLanguages)}}function rt(e={}){return((0,Be.hasInjectionContext)()?(0,Be.inject)(`highlightManager`,void 0):void 0)??nt(e)}const Q=new WeakMap;function it(e,t){if(t.active=!1,Object.getOwnPropertyDescriptor(e,`hljs`)?.value!==t.instance){Q.get(e)===t&&Q.delete(e);return}let n=t.previousDescriptor,r=t.previousExposure;for(;r&&!r.active;)n=r.previousDescriptor,r=r.previousExposure;n?Reflect.defineProperty(e,`hljs`,n):Reflect.deleteProperty(e,`hljs`),r?Q.set(e,r):Q.delete(e)}function at(e){if(typeof window>`u`)return;let t=window,n=Object.getOwnPropertyDescriptor(t,`hljs`),r=Q.get(t),i={instance:e,previousDescriptor:n,previousExposure:r?.instance===n?.value?r:void 0,active:!0};if(Reflect.defineProperty(t,`hljs`,{configurable:!0,enumerable:n?.enumerable??!1,writable:!0,value:e}))return Q.set(t,i),()=>it(t,i)}const $=new WeakMap;function ot(e,t,n){let r=e.config.globalProperties,i=Object.getOwnPropertyDescriptor(r,`$highlight`),a=n&&i?.value===n.api?n.previousProperty:i;return Object.defineProperty(r,`$highlight`,{configurable:i?.configurable??!0,enumerable:i?.enumerable??!0,writable:!0,value:t}),a}function st(e){let t=$.get(e);if(!t)return;$.delete(e),t.releaseWindow?.();let n=e.config.globalProperties;Object.getOwnPropertyDescriptor(n,`$highlight`)?.value===t.api&&(t.previousProperty?Reflect.defineProperty(n,`$highlight`,t.previousProperty):Reflect.deleteProperty(n,`$highlight`))}function ct(e,t={}){let n={autoDetect:!1,extraLanguages:[],...t},r=nt(n),i=$.get(e),o=ot(e,r,i);i?.releaseWindow?.(),e.provide(`highlightManager`,r);let s=n.exposeToWindow?at(r.getHljs()):void 0;return $.set(e,{api:r,previousProperty:o,releaseWindow:s}),i||e.onUnmount(()=>st(e)),n.debug&&a.t(()=>n.logger?.info(`[HighlightPlugin] highlight.js plugin installed`)),r}const lt={C_Code:re.t,C_Icon:ie.t,C_Loading:se.t,C_PageLoading:l.n,C_Upload:u.t,C_Barcode:ce.t,C_Captcha:d.t,C_Cascade:le.t,C_Guide:ue.t,C_Progress:de.t,C_Steps:fe.t,C_ActionBar:f.t,C_Theme:pe.t,C_Language:me.t,C_Date:he.C_Date,C_Editor:ge.t,C_Markdown:_e.t,C_Map:p.t,C_City:ve.t,C_VtableGantt:be.C_VtableGantt,C_Signature:m.t,C_SplitPane:xe.t,C_CollapsePanel:h.t,C_Time:Ce.C_Time,C_FormSearch:we.C_FormSearch,C_Select:ae.t,C_AutoComplete:oe.t,C_Tree:y.t,C_QRCode:b.t,C_ImageCropper:x.t,C_Draggable:S.t,C_WaterFall:C.t,C_FullCalendar:w.t,C_NotificationCenter:T.t,C_Cron:E.t,C_FormulaEditor:D.n,C_AntV:Te.t,C_VideoPlayer:O.t,C_FilePreview:k.t,C_WorkFlow:A.t,C_Form:j.o,C_FormModal:Oe.t,C_Table:N.t,C_GlobalSearch:L.t,C_Menu:R.t,C_Breadcrumb:ke.t,C_TagsView:z.t,C_AudioPlayer:B.t,C_AvatarGroup:V.t,C_Chat:H.t,C_ContextMenu:U.t,C_Login:W.t,C_Timeline:G.t,C_Tabs:K.n,C_Transfer:q.t,C_Skeleton:Ae.t,C_OrgChart:je.C_OrgChart,C_ErrorSummary:Me.t,C_Density:Ne.t,C_SectionNav:Pe.t,C_DataPicker:Fe.t,C_UserPicker:Le.n,C_BatchResult:Re.t};var ut={install:(e,t={})=>{Object.entries(lt).forEach(([t,n])=>{e.component(t,n)}),t.highlight!==void 0&&ct(e,t.highlight),t.feedback&&e.provide(c.n,t.feedback),t.locale&&e.provide(c.r,t.locale),t.form&&e.provide(c.i,t.form),e.provide(j.s,t.formRenderers??j.c()),t.table&&e.provide(F.t,t.table)}};exports.ACTION_BAR_DEFAULT_CONFIG=f.n,exports.ACTION_KEYS=D.i,exports.ACTION_PRESETS=f.r,exports.AVATAR_STATUS_COLOR_MAP=V.r,exports.BUTTON_TEXT=w.r,exports.CATEGORY_MAP=T.a,exports.CATEGORY_TABS=T.o,exports.COMPONENT_COLOR_PALETTES=ne.t,exports.COMPONENT_CONTROL_HEIGHTS=ne.n,exports.COMPONENT_FEEDBACK_KEY=c.n,exports.COMPONENT_LOCALE_KEY=c.r,exports.CRON_FIELD_META=E.a,exports.CRON_TEMPLATES=E.o,exports.C_ActionBar=f.t,exports.C_AntV=Te.t,exports.C_AudioPlayer=B.t,exports.C_AutoComplete=oe.t,exports.C_AvatarGroup=V.t,exports.C_Barcode=ce.t,exports.C_BatchResult=Re.t,exports.C_Breadcrumb=ke.t,exports.C_Captcha=d.t,exports.C_Cascade=le.t,exports.C_Chat=H.t,exports.C_City=ve.t,exports.C_Code=re.t,exports.C_CollapsePanel=h.t,exports.C_ContextMenu=U.t,exports.C_Cron=E.t,exports.C_DataPicker=Fe.t,exports.C_Date=he.C_Date,exports.C_Density=Ne.t,exports.C_Draggable=S.t,exports.C_Editor=ge.t,exports.C_ErrorSummary=Me.t,exports.C_FilePreview=k.t,exports.C_Form=j.o,exports.C_FormModal=Oe.t,exports.C_FormSearch=we.C_FormSearch,exports.C_FormulaEditor=D.n,exports.C_FullCalendar=w.t,exports.C_GlobalSearch=L.t,exports.C_Guide=ue.t,exports.C_Icon=ie.t,exports.C_ImageCropper=x.t,exports.C_Language=me.t,exports.C_Loading=se.t,exports.C_Login=W.t,exports.C_Map=p.t,exports.C_Markdown=_e.t,exports.C_Menu=R.t,exports.C_NotificationCenter=T.t,exports.C_OrgChart=je.C_OrgChart,exports.C_PageLoading=l.n,exports.C_Progress=de.t,exports.C_QRCode=b.t,exports.C_SectionNav=Pe.t,exports.C_Select=ae.t,exports.C_Signature=m.t,exports.C_Skeleton=Ae.t,exports.C_SplitPane=xe.t,exports.C_Steps=fe.t,exports.C_Table=N.t,exports.C_Tabs=K.n,exports.C_TagsView=z.t,exports.C_Theme=pe.t,exports.C_Time=Ce.C_Time,exports.C_Timeline=G.t,exports.C_Transfer=q.t,exports.C_Tree=y.t,exports.C_Upload=u.t,exports.C_UserPicker=Le.n,exports.C_VideoPlayer=O.t,exports.C_VtableGantt=be.C_VtableGantt,exports.C_WaterFall=C.t,exports.C_WorkFlow=A.t,exports.CaptchaVerificationError=d.n,exports.DEFAULT_ACTION_ICON=f.i,exports.DEFAULT_ANIMATION_DURATION=C.a,exports.DEFAULT_AUDIO_PLAYER_PROPS=B.n,exports.DEFAULT_AVATAR_GROUP_PROPS=V.n,exports.DEFAULT_BREAKPOINTS=C.o,exports.DEFAULT_CHAT_PROPS=H.n,exports.DEFAULT_CONTEXT_MENU_PROPS=U.n,exports.DEFAULT_CRON_EXPRESSION=E.s,exports.DEFAULT_CRON_VALUE=E.c,exports.DEFAULT_EDIT_FORM=w.i,exports.DEFAULT_FEATURES=W.n,exports.DEFAULT_FIELD_VALUE=E.l,exports.DEFAULT_FUNCTIONS=D.a,exports.DEFAULT_GAP=C.s,exports.DEFAULT_HEARTBEAT_INTERVAL=O.c,exports.DEFAULT_MAP_CONFIG=p.s,exports.DEFAULT_MAX_BADGE_COUNT=T.s,exports.DEFAULT_PAGE_SIZE=T.c,exports.DEFAULT_PLAYBACK_RATE=O.l,exports.DEFAULT_PLAYBACK_RATES=O.u,exports.DEFAULT_POLLING_INTERVAL=T.l,exports.DEFAULT_SKELETON_COUNT=C.c,exports.DEFAULT_SOCIAL_PROVIDERS=W.r,exports.DEFAULT_STORAGE_KEY=T.u,exports.DEFAULT_TIMELINE_PROPS=G.n,exports.DEFAULT_TRANSFER_PROPS=q.n,exports.DEFAULT_VOLUME=O.d,exports.DEFAULT_WS_HEARTBEAT_INTERVAL=T.d,exports.DEFAULT_WS_HEARTBEAT_MESSAGE=T.f,exports.DEFAULT_WS_MAX_RECONNECT=T.p,exports.DEFAULT_WS_RECONNECT_INTERVAL=T.m,exports.DYNAMIC_FORM_STATE_KEY=M.t,exports.EVENT_COLORS=w.a,exports.FIELD_TYPE_OPTIONS=M.n,exports.FORM_DEFAULTS=g.t,exports.FORM_GLOBAL_CONFIG_KEY=c.i,exports.FORM_RENDERER_REGISTRY_KEY=j.s,exports.HEADER_TOOLBAR=w.o,exports.INFINITE_SCROLL_THRESHOLD=C.l,exports.KEYBOARD_SHORTCUTS=O.f,exports.LAYOUTS_WITH_OWN_CONTROLS=g.n,exports.MAP_TYPES=p.c,exports.MOCK_MESSAGES=T.h,exports.MODE_ICON_MAP=B.r,exports.MONTH_LABELS=E.u,Object.defineProperty(exports,`NAIVE_COMBOS`,{enumerable:!0,get:function(){return Xe.NAIVE_COMBOS}}),exports.NUMBER_KEYS=D.o,exports.OPERATORS=D.s,exports.OPERATOR_KEYS=D.c,exports.OSM_TILE_CONFIG=p.l,Object.defineProperty(exports,`PRESET_RULES`,{enumerable:!0,get:function(){return Xe.PRESET_RULES}}),exports.PRIORITY_MAP=T.g,exports.PROGRESS_THROTTLE_INTERVAL=O.p,exports.QUALITY_LABEL_MAP=O.m,exports.SEEK_STEP=O.h,exports.SKELETON_HEIGHT_RANGE=C.u,exports.SOURCE_TYPE_MAP=O.g,exports.SPACED_OPERATORS=D.l,Object.defineProperty(exports,`SPEC_RULES`,{enumerable:!0,get:function(){return Xe.SPEC_RULES}}),exports.STORAGE_KEYS=O._,exports.STORAGE_PREFIX=O.v,exports.TABLE_GLOBAL_CONFIG_KEY=F.t,exports.TIMELINE_STATUS_COLOR_MAP=G.r,exports.VOLUME_STEP=O.y,exports.WATERMARK_DEFAULT_STYLE=O.b,exports.WEEK_LABELS=E.d,exports.XGPLAYER_EVENTS=O.x,exports.appendGanttGroup=ye.t,exports.applyFormatter=F.n,exports.collectValidationIssues=r.t,exports.createAutoCompleteField=j.t,exports.createBatchPatch=i.t,exports.createCaptchaProof=d.r,exports.createComponentTheme=ze.t,exports.createDataPickerField=Ie.t,exports.createEditModeChecker=N._,exports.createFormRendererRegistry=j.c,exports.createHighlight=nt,exports.createMenuOptions=R.n,exports.createNumberCodec=n.t,exports.createPageLoading=l.t,exports.createSelectField=j.n,exports.createTableAutoCompleteEditor=I.t,exports.createTableSelectEditor=I.n,exports.createUserPickerSource=Le.t,exports.default=ut,exports.defineActions=f.a,exports.defineFormConfig=j.r,exports.defineFormOptions=j.i,exports.defineTableColumns=P.n,exports.defineTableConfig=P.r,exports.defineTabs=K.t,exports.exportTableData=N.r,exports.flattenRoutes=R.r,exports.formatFileSize=u.s,exports.formatTime=B.i,exports.ganttPresetConfigs=ye.r,exports.getFileIcon=u.c,exports.getInitials=V.i,exports.getItem=_.t,exports.getRetryableKeys=i.n,exports.getValidMapMarkers=p.n,exports.isValidMapCoordinate=p.r,exports.mergeFormConfig=g.r,exports.mergeGlobalConfig=F.r,exports.nameToColor=V.a,exports.normalizeMapZoom=p.i,exports.printPresets=N.d,exports.registerRenderer=j.l,exports.removeAllItem=_.n,exports.removeItem=_.r,exports.resolveActionPreset=f.o,exports.resolveComponentDensity=t.t,exports.resolveConfig=N.v,exports.resolveFormConfig=g.i,exports.resolveTileConfig=p.a,exports.serializeSearch=v.t,exports.setItem=_.i,exports.setupHighlight=ct,exports.shouldShowActions=g.a,exports.toAMapPosition=p.o,exports.treePresetConfigs=y.i,exports.unregisterRenderer=j.u,exports.useBookmarks=O.r,exports.useCForm=j.a,exports.useCalendarEvents=w.n,exports.useCellEdit=N.h,exports.useChapters=O.i,exports.useChunkUpload=u.a,exports.useCollapsePanel=h.n,exports.useComponentFeedback=te.t,exports.useComponentLocale=ee.t,exports.useCronDescription=E.n,exports.useCronParser=E.i,exports.useCronPreview=E.r,exports.useCropperCore=x.n,exports.useCrossPageSelection=N.i,exports.useDataResource=o.t,exports.useDragDrop=u.n,exports.useDraggableLayout=S.n,exports.useDynamicFormState=M.r,exports.useDynamicRows=N.u,exports.useEdgeInteraction=De.t,exports.useFileHash=u.o,exports.useFilePreview=k.r,exports.useFormArray=s.t,exports.useFormDirty=j.p,exports.useFormGlobalConfig=g.o,exports.useFormRenderer=j.d,exports.useFormState=j.f,exports.useFormulaEvaluator=D.t,exports.useFormulaParser=D.r,exports.useFullscreen=k.n,exports.useGlobalSearch=L.n,exports.useGraphBase=Ee.n,exports.useGraphExport=Ee.t,exports.useHighlight=rt,exports.useInfiniteScroll=C.n,exports.useModalEdit=N.m,exports.useNotificationCore=T.r,exports.useNotificationFormat=T.n,exports.useNotificationWS=T.i,exports.usePagination=N.c,exports.usePlaybackControl=O.o,exports.usePlayerCore=O.s,exports.usePrintWatermark=N.f,exports.useProgressTracker=O.a,exports.useQRCode=b.n,exports.useResponsiveColumns=C.i,exports.useRowDrag=N.a,exports.useRowEdit=N.g,exports.useSearchHistory=v.i,exports.useSearchState=v.r,exports.useSignatureCanvas=m.i,exports.useSignatureExport=m.n,exports.useSignatureHistory=m.r,exports.useSplitResize=xe.n,exports.useSubtitle=O.n,exports.useTableActions=N.s,exports.useTableColumns=N.o,exports.useTableExpand=N.p,exports.useTableGlobalConfig=F.i,exports.useTableManager=N.l,exports.useTableQuery=I.r,exports.useTagsView=z.n,exports.useTimeSelection=Se.n,exports.useTreeOperations=y.r,exports.useUploadCore=u.r,exports.useUploadQueue=u.i,exports.useValidationScope=s.n,exports.useWaterFallLayout=C.r,exports.useWorkflowNodes=A.i,exports.useWorkflowPreview=A.n,exports.useWorkflowValidation=A.r,exports.validateTableRowKeys=P.l,exports.verifyCaptchaProof=d.i;
|
|
1
|
+
Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});const e=require(`./chunk.cjs`),t=require(`./density.cjs`),n=require(`./numberCodec.cjs`),r=require(`./validation.cjs`),i=require(`./batchPatch.cjs`),a=require(`./observer.cjs`),o=require(`./useDataResource.cjs`),s=require(`./useFormArray.cjs`),c=require(`./context.cjs`),ee=require(`./useComponentLocale.cjs`),te=require(`./feedback.cjs`),ne=require(`./theme.cjs`),re=require(`./C_Code2.cjs`),ie=require(`./C_Icon2.cjs`),ae=require(`./C_Select2.cjs`),oe=require(`./C_AutoComplete2.cjs`),se=require(`./C_Loading2.cjs`),l=require(`./createPageLoading.cjs`),u=require(`./C_Upload2.cjs`),ce=require(`./C_Barcode2.cjs`),d=require(`./C_Captcha2.cjs`),le=require(`./C_Cascade2.cjs`),ue=require(`./C_Guide2.cjs`),de=require(`./C_Progress2.cjs`),fe=require(`./C_Steps2.cjs`),f=require(`./C_ActionBar2.cjs`),pe=require(`./C_Theme2.cjs`),me=require(`./C_Language2.cjs`);require(`./C_Date2.cjs`);const he=require(`./C_Date.cjs`),ge=require(`./C_Editor2.cjs`),_e=require(`./C_Markdown2.cjs`),p=require(`./C_Map2.cjs`),ve=require(`./C_City2.cjs`),ye=require(`./graphics.cjs`),be=require(`./C_VtableGantt.cjs`),m=require(`./C_Signature2.cjs`),xe=require(`./C_SplitPane2.cjs`),h=require(`./C_CollapsePanel2.cjs`),Se=require(`./C_Time2.cjs`),Ce=require(`./C_Time.cjs`),g=require(`./useFormConfig.cjs`),_=require(`./storage.cjs`),v=require(`./serializeSearch.cjs`),we=require(`./C_FormSearch.cjs`),y=require(`./C_Tree2.cjs`),b=require(`./C_QRCode2.cjs`),x=require(`./C_ImageCropper2.cjs`),S=require(`./C_Draggable2.cjs`),C=require(`./C_WaterFall2.cjs`),w=require(`./C_FullCalendar2.cjs`),T=require(`./C_NotificationCenter2.cjs`),E=require(`./C_Cron2.cjs`),D=require(`./useFormulaEvaluator.cjs`),Te=require(`./C_AntV2.cjs`),Ee=require(`./useGraphExport.cjs`),De=require(`./useEdgeInteraction.cjs`),O=require(`./C_VideoPlayer2.cjs`),k=require(`./C_FilePreview2.cjs`),A=require(`./C_WorkFlow2.cjs`),j=require(`./fieldRenderers.cjs`),M=require(`./useDynamicFormState.cjs`),Oe=require(`./C_FormModal2.cjs`),N=require(`./C_Table2.cjs`),P=require(`./helpers.cjs`),F=require(`./editors.cjs`),I=require(`./C_GlobalSearch2.cjs`),L=require(`./C_Menu2.cjs`),ke=require(`./C_Breadcrumb2.cjs`),R=require(`./C_TagsView2.cjs`),z=require(`./C_AudioPlayer2.cjs`),B=require(`./C_AvatarGroup2.cjs`),V=require(`./C_Chat2.cjs`),H=require(`./C_ContextMenu2.cjs`),U=require(`./C_Login2.cjs`),W=require(`./C_Timeline2.cjs`),G=require(`./data3.cjs`),K=require(`./C_Transfer2.cjs`),Ae=require(`./C_Skeleton2.cjs`);require(`./C_OrgChart2.cjs`);const je=require(`./C_OrgChart.cjs`),Me=require(`./C_ErrorSummary2.cjs`),Ne=require(`./C_Density2.cjs`),Pe=require(`./C_SectionNav2.cjs`),Fe=require(`./C_DataPicker2.cjs`),Ie=require(`./formField.cjs`),q=require(`./source.cjs`),Le=require(`./C_BatchResult2.cjs`),Re=require(`./theme2.cjs`);let ze=require(`vue`),J=require(`highlight.js/lib/core`);J=e.n(J);let Be=require(`highlight.js/lib/languages/javascript`);Be=e.n(Be);let Ve=require(`highlight.js/lib/languages/typescript`);Ve=e.n(Ve);let He=require(`highlight.js/lib/languages/json`);He=e.n(He);let Y=require(`highlight.js/lib/languages/xml`);Y=e.n(Y);let Ue=require(`highlight.js/lib/languages/css`);Ue=e.n(Ue);let X=require(`highlight.js/lib/languages/bash`);X=e.n(X);let Z=require(`highlight.js/lib/languages/yaml`);Z=e.n(Z);let We=require(`highlight.js/lib/languages/markdown`);We=e.n(We);let Ge=require(`highlight.js/lib/languages/java`);Ge=e.n(Ge);let Ke=require(`highlight.js/lib/languages/csharp`);Ke=e.n(Ke);let qe=require(`highlight.js/lib/languages/go`);qe=e.n(qe);let Je=require(`highlight.js/lib/languages/python`);Je=e.n(Je);let Ye=require(`@robot-admin/form-validate`);const Xe={cpp:()=>import(`highlight.js/lib/languages/cpp`),c:()=>import(`highlight.js/lib/languages/c`),php:()=>import(`highlight.js/lib/languages/php`),ruby:()=>import(`highlight.js/lib/languages/ruby`),rust:()=>import(`highlight.js/lib/languages/rust`),swift:()=>import(`highlight.js/lib/languages/swift`),kotlin:()=>import(`highlight.js/lib/languages/kotlin`),scss:()=>import(`highlight.js/lib/languages/scss`),less:()=>import(`highlight.js/lib/languages/less`),sql:()=>import(`highlight.js/lib/languages/sql`),dockerfile:()=>import(`highlight.js/lib/languages/dockerfile`),powershell:()=>import(`highlight.js/lib/languages/powershell`)};function Ze(e,t,n){e.instance.registerLanguage(t,n),e.loadedLanguages.add(t)}function Qe(e,t){[[`javascript`,Be.default],[`typescript`,Ve.default],[`json`,He.default],[`html`,Y.default],[`xml`,Y.default],[`css`,Ue.default],[`bash`,X.default],[`shell`,X.default],[`yaml`,Z.default],[`yml`,Z.default],[`markdown`,We.default],[`java`,Ge.default],[`csharp`,Ke.default],[`go`,qe.default],[`python`,Je.default]].forEach(([t,n])=>{Ze(e,t,n)}),e.instance.configure({ignoreUnescapedHTML:!0,languages:t.autoDetect?void 0:[]}),t.extraLanguages?.length&&$e(e,t.extraLanguages,t)}async function $e(e,t,n={}){let r=t.map(t=>et(e,t,n));return(await Promise.allSettled(r)).map((e,n)=>e.status===`fulfilled`&&e.value?t[n]:null).filter(Boolean)}async function et(e,t,n={}){let r=t.toLowerCase();if(e.loadedLanguages.has(r))return!0;let i=e.pendingLanguageLoads.get(r);if(i)return i;let o=Xe[r];if(!o)return a.t(()=>n.logger?.warn(`[HighlightPlugin] Language '${t}' not supported`)),!1;let s=(async()=>{try{return Ze(e,r,(await o()).default),n.debug&&a.t(()=>n.logger?.info(`[HighlightPlugin] Language '${r}' loaded successfully`)),!0}catch(e){return a.t(()=>n.logger?.error(`[HighlightPlugin] Failed to load language '${r}'`,e)),a.t(()=>n.onError?.(e,{source:`language-loader`,language:r})),!1}finally{e.pendingLanguageLoads.delete(r)}})();return e.pendingLanguageLoads.set(r,s),s}function tt(e={}){let t={instance:J.default.newInstance(),loadedLanguages:new Set,pendingLanguageLoads:new Map};return Qe(t,e),{getHljs:()=>t.instance,loadLanguage:n=>et(t,n,e),loadLanguages:n=>$e(t,n,e),getLoadedLanguages:()=>Array.from(t.loadedLanguages)}}function nt(e={}){return((0,ze.hasInjectionContext)()?(0,ze.inject)(`highlightManager`,void 0):void 0)??tt(e)}const Q=new WeakMap;function rt(e,t){if(t.active=!1,Object.getOwnPropertyDescriptor(e,`hljs`)?.value!==t.instance){Q.get(e)===t&&Q.delete(e);return}let n=t.previousDescriptor,r=t.previousExposure;for(;r&&!r.active;)n=r.previousDescriptor,r=r.previousExposure;n?Reflect.defineProperty(e,`hljs`,n):Reflect.deleteProperty(e,`hljs`),r?Q.set(e,r):Q.delete(e)}function it(e){if(typeof window>`u`)return;let t=window,n=Object.getOwnPropertyDescriptor(t,`hljs`),r=Q.get(t),i={instance:e,previousDescriptor:n,previousExposure:r?.instance===n?.value?r:void 0,active:!0};if(Reflect.defineProperty(t,`hljs`,{configurable:!0,enumerable:n?.enumerable??!1,writable:!0,value:e}))return Q.set(t,i),()=>rt(t,i)}const $=new WeakMap;function at(e,t,n){let r=e.config.globalProperties,i=Object.getOwnPropertyDescriptor(r,`$highlight`),a=n&&i?.value===n.api?n.previousProperty:i;return Object.defineProperty(r,`$highlight`,{configurable:i?.configurable??!0,enumerable:i?.enumerable??!0,writable:!0,value:t}),a}function ot(e){let t=$.get(e);if(!t)return;$.delete(e),t.releaseWindow?.();let n=e.config.globalProperties;Object.getOwnPropertyDescriptor(n,`$highlight`)?.value===t.api&&(t.previousProperty?Reflect.defineProperty(n,`$highlight`,t.previousProperty):Reflect.deleteProperty(n,`$highlight`))}function st(e,t={}){let n={autoDetect:!1,extraLanguages:[],...t},r=tt(n),i=$.get(e),o=at(e,r,i);i?.releaseWindow?.(),e.provide(`highlightManager`,r);let s=n.exposeToWindow?it(r.getHljs()):void 0;return $.set(e,{api:r,previousProperty:o,releaseWindow:s}),i||e.onUnmount(()=>ot(e)),n.debug&&a.t(()=>n.logger?.info(`[HighlightPlugin] highlight.js plugin installed`)),r}const ct={C_Code:re.t,C_Icon:ie.t,C_Loading:se.t,C_PageLoading:l.n,C_Upload:u.t,C_Barcode:ce.t,C_Captcha:d.t,C_Cascade:le.t,C_Guide:ue.t,C_Progress:de.t,C_Steps:fe.t,C_ActionBar:f.t,C_Theme:pe.t,C_Language:me.t,C_Date:he.C_Date,C_Editor:ge.t,C_Markdown:_e.t,C_Map:p.t,C_City:ve.t,C_VtableGantt:be.C_VtableGantt,C_Signature:m.t,C_SplitPane:xe.t,C_CollapsePanel:h.t,C_Time:Ce.C_Time,C_FormSearch:we.C_FormSearch,C_Select:ae.t,C_AutoComplete:oe.t,C_Tree:y.t,C_QRCode:b.t,C_ImageCropper:x.t,C_Draggable:S.t,C_WaterFall:C.t,C_FullCalendar:w.t,C_NotificationCenter:T.t,C_Cron:E.t,C_FormulaEditor:D.n,C_AntV:Te.t,C_VideoPlayer:O.t,C_FilePreview:k.t,C_WorkFlow:A.t,C_Form:j.o,C_FormModal:Oe.t,C_Table:N.t,C_GlobalSearch:I.t,C_Menu:L.t,C_Breadcrumb:ke.t,C_TagsView:R.t,C_AudioPlayer:z.t,C_AvatarGroup:B.t,C_Chat:V.t,C_ContextMenu:H.t,C_Login:U.t,C_Timeline:W.t,C_Tabs:G.n,C_Transfer:K.t,C_Skeleton:Ae.t,C_OrgChart:je.C_OrgChart,C_ErrorSummary:Me.t,C_Density:Ne.t,C_SectionNav:Pe.t,C_DataPicker:Fe.t,C_UserPicker:q.n,C_BatchResult:Le.t};var lt={install:(e,t={})=>{Object.entries(ct).forEach(([t,n])=>{e.component(t,n)}),t.highlight!==void 0&&st(e,t.highlight),t.feedback&&e.provide(c.n,t.feedback),t.locale&&e.provide(c.r,t.locale),t.form&&e.provide(c.i,t.form),e.provide(j.s,t.formRenderers??j.c()),t.table&&e.provide(c.a,t.table)}};exports.ACTION_BAR_DEFAULT_CONFIG=f.n,exports.ACTION_KEYS=D.i,exports.ACTION_PRESETS=f.r,exports.AVATAR_STATUS_COLOR_MAP=B.r,exports.BUTTON_TEXT=w.r,exports.CATEGORY_MAP=T.a,exports.CATEGORY_TABS=T.o,exports.COMPONENT_COLOR_PALETTES=ne.t,exports.COMPONENT_CONTROL_HEIGHTS=ne.n,exports.COMPONENT_FEEDBACK_KEY=c.n,exports.COMPONENT_LOCALE_KEY=c.r,exports.CRON_FIELD_META=E.a,exports.CRON_TEMPLATES=E.o,exports.C_ActionBar=f.t,exports.C_AntV=Te.t,exports.C_AudioPlayer=z.t,exports.C_AutoComplete=oe.t,exports.C_AvatarGroup=B.t,exports.C_Barcode=ce.t,exports.C_BatchResult=Le.t,exports.C_Breadcrumb=ke.t,exports.C_Captcha=d.t,exports.C_Cascade=le.t,exports.C_Chat=V.t,exports.C_City=ve.t,exports.C_Code=re.t,exports.C_CollapsePanel=h.t,exports.C_ContextMenu=H.t,exports.C_Cron=E.t,exports.C_DataPicker=Fe.t,exports.C_Date=he.C_Date,exports.C_Density=Ne.t,exports.C_Draggable=S.t,exports.C_Editor=ge.t,exports.C_ErrorSummary=Me.t,exports.C_FilePreview=k.t,exports.C_Form=j.o,exports.C_FormModal=Oe.t,exports.C_FormSearch=we.C_FormSearch,exports.C_FormulaEditor=D.n,exports.C_FullCalendar=w.t,exports.C_GlobalSearch=I.t,exports.C_Guide=ue.t,exports.C_Icon=ie.t,exports.C_ImageCropper=x.t,exports.C_Language=me.t,exports.C_Loading=se.t,exports.C_Login=U.t,exports.C_Map=p.t,exports.C_Markdown=_e.t,exports.C_Menu=L.t,exports.C_NotificationCenter=T.t,exports.C_OrgChart=je.C_OrgChart,exports.C_PageLoading=l.n,exports.C_Progress=de.t,exports.C_QRCode=b.t,exports.C_SectionNav=Pe.t,exports.C_Select=ae.t,exports.C_Signature=m.t,exports.C_Skeleton=Ae.t,exports.C_SplitPane=xe.t,exports.C_Steps=fe.t,exports.C_Table=N.t,exports.C_Tabs=G.n,exports.C_TagsView=R.t,exports.C_Theme=pe.t,exports.C_Time=Ce.C_Time,exports.C_Timeline=W.t,exports.C_Transfer=K.t,exports.C_Tree=y.t,exports.C_Upload=u.t,exports.C_UserPicker=q.n,exports.C_VideoPlayer=O.t,exports.C_VtableGantt=be.C_VtableGantt,exports.C_WaterFall=C.t,exports.C_WorkFlow=A.t,exports.CaptchaVerificationError=d.n,exports.DEFAULT_ACTION_ICON=f.i,exports.DEFAULT_ANIMATION_DURATION=C.a,exports.DEFAULT_AUDIO_PLAYER_PROPS=z.n,exports.DEFAULT_AVATAR_GROUP_PROPS=B.n,exports.DEFAULT_BREAKPOINTS=C.o,exports.DEFAULT_CHAT_PROPS=V.n,exports.DEFAULT_CONTEXT_MENU_PROPS=H.n,exports.DEFAULT_CRON_EXPRESSION=E.s,exports.DEFAULT_CRON_VALUE=E.c,exports.DEFAULT_EDIT_FORM=w.i,exports.DEFAULT_FEATURES=U.n,exports.DEFAULT_FIELD_VALUE=E.l,exports.DEFAULT_FUNCTIONS=D.a,exports.DEFAULT_GAP=C.s,exports.DEFAULT_HEARTBEAT_INTERVAL=O.c,exports.DEFAULT_MAP_CONFIG=p.s,exports.DEFAULT_MAX_BADGE_COUNT=T.s,exports.DEFAULT_PAGE_SIZE=T.c,exports.DEFAULT_PLAYBACK_RATE=O.l,exports.DEFAULT_PLAYBACK_RATES=O.u,exports.DEFAULT_POLLING_INTERVAL=T.l,exports.DEFAULT_SKELETON_COUNT=C.c,exports.DEFAULT_SOCIAL_PROVIDERS=U.r,exports.DEFAULT_STORAGE_KEY=T.u,exports.DEFAULT_TIMELINE_PROPS=W.n,exports.DEFAULT_TRANSFER_PROPS=K.n,exports.DEFAULT_VOLUME=O.d,exports.DEFAULT_WS_HEARTBEAT_INTERVAL=T.d,exports.DEFAULT_WS_HEARTBEAT_MESSAGE=T.f,exports.DEFAULT_WS_MAX_RECONNECT=T.p,exports.DEFAULT_WS_RECONNECT_INTERVAL=T.m,exports.DYNAMIC_FORM_STATE_KEY=M.t,exports.EVENT_COLORS=w.a,exports.FIELD_TYPE_OPTIONS=M.n,exports.FORM_DEFAULTS=g.t,exports.FORM_GLOBAL_CONFIG_KEY=c.i,exports.FORM_RENDERER_REGISTRY_KEY=j.s,exports.HEADER_TOOLBAR=w.o,exports.INFINITE_SCROLL_THRESHOLD=C.l,exports.KEYBOARD_SHORTCUTS=O.f,exports.LAYOUTS_WITH_OWN_CONTROLS=g.n,exports.MAP_TYPES=p.c,exports.MOCK_MESSAGES=T.h,exports.MODE_ICON_MAP=z.r,exports.MONTH_LABELS=E.u,Object.defineProperty(exports,`NAIVE_COMBOS`,{enumerable:!0,get:function(){return Ye.NAIVE_COMBOS}}),exports.NUMBER_KEYS=D.o,exports.OPERATORS=D.s,exports.OPERATOR_KEYS=D.c,exports.OSM_TILE_CONFIG=p.l,Object.defineProperty(exports,`PRESET_RULES`,{enumerable:!0,get:function(){return Ye.PRESET_RULES}}),exports.PRIORITY_MAP=T.g,exports.PROGRESS_THROTTLE_INTERVAL=O.p,exports.QUALITY_LABEL_MAP=O.m,exports.SEEK_STEP=O.h,exports.SKELETON_HEIGHT_RANGE=C.u,exports.SOURCE_TYPE_MAP=O.g,exports.SPACED_OPERATORS=D.l,Object.defineProperty(exports,`SPEC_RULES`,{enumerable:!0,get:function(){return Ye.SPEC_RULES}}),exports.STORAGE_KEYS=O._,exports.STORAGE_PREFIX=O.v,exports.TABLE_GLOBAL_CONFIG_KEY=c.a,exports.TIMELINE_STATUS_COLOR_MAP=W.r,exports.VOLUME_STEP=O.y,exports.WATERMARK_DEFAULT_STYLE=O.b,exports.WEEK_LABELS=E.d,exports.XGPLAYER_EVENTS=O.x,exports.appendGanttGroup=ye.t,exports.applyFormatter=N.s,exports.collectValidationIssues=r.t,exports.createAutoCompleteField=j.t,exports.createBatchPatch=i.t,exports.createCaptchaProof=d.r,exports.createComponentTheme=Re.t,exports.createDataPickerField=Ie.t,exports.createEditModeChecker=N.b,exports.createFormRendererRegistry=j.c,exports.createHighlight=tt,exports.createMenuOptions=L.n,exports.createNumberCodec=n.t,exports.createPageLoading=l.t,exports.createSelectField=j.n,exports.createTableAutoCompleteEditor=F.t,exports.createTableSelectEditor=F.n,exports.createUserPickerSource=q.t,exports.default=lt,exports.defineActions=f.a,exports.defineFormConfig=j.r,exports.defineFormOptions=j.i,exports.defineTableColumns=P.n,exports.defineTableConfig=P.r,exports.defineTabs=G.t,exports.exportTableData=N.r,exports.flattenRoutes=L.r,exports.formatFileSize=u.s,exports.formatTime=z.i,exports.ganttPresetConfigs=ye.r,exports.getFileIcon=u.c,exports.getInitials=B.i,exports.getItem=_.t,exports.getRetryableKeys=i.n,exports.getValidMapMarkers=p.n,exports.isValidMapCoordinate=p.r,exports.mergeFormConfig=g.r,exports.mergeGlobalConfig=N.c,exports.nameToColor=B.a,exports.normalizeMapZoom=p.i,exports.printPresets=N.m,exports.registerRenderer=j.l,exports.removeAllItem=_.n,exports.removeItem=_.r,exports.resolveActionPreset=f.o,exports.resolveComponentDensity=t.t,exports.resolveConfig=N.x,exports.resolveFormConfig=g.i,exports.resolveTileConfig=p.a,exports.serializeSearch=v.t,exports.setItem=_.i,exports.setupHighlight=st,exports.shouldShowActions=g.a,exports.toAMapPosition=p.o,exports.treePresetConfigs=y.i,exports.unregisterRenderer=j.u,exports.useBookmarks=O.r,exports.useCForm=j.a,exports.useCalendarEvents=w.n,exports.useCellEdit=N.v,exports.useChapters=O.i,exports.useChunkUpload=u.a,exports.useCollapsePanel=h.n,exports.useComponentFeedback=te.t,exports.useComponentLocale=ee.t,exports.useCronDescription=E.n,exports.useCronParser=E.i,exports.useCronPreview=E.r,exports.useCropperCore=x.n,exports.useCrossPageSelection=N.i,exports.useDataResource=o.t,exports.useDragDrop=u.n,exports.useDraggableLayout=S.n,exports.useDynamicFormState=M.r,exports.useDynamicRows=N.p,exports.useEdgeInteraction=De.t,exports.useFileHash=u.o,exports.useFilePreview=k.r,exports.useFormArray=s.t,exports.useFormDirty=j.p,exports.useFormGlobalConfig=g.o,exports.useFormRenderer=j.d,exports.useFormState=j.f,exports.useFormulaEvaluator=D.t,exports.useFormulaParser=D.r,exports.useFullscreen=k.n,exports.useGlobalSearch=I.n,exports.useGraphBase=Ee.n,exports.useGraphExport=Ee.t,exports.useHighlight=nt,exports.useInfiniteScroll=C.n,exports.useModalEdit=N._,exports.useNotificationCore=T.r,exports.useNotificationFormat=T.n,exports.useNotificationWS=T.i,exports.usePagination=N.d,exports.usePlaybackControl=O.o,exports.usePlayerCore=O.s,exports.usePrintWatermark=N.h,exports.useProgressTracker=O.a,exports.useQRCode=b.n,exports.useResponsiveColumns=C.i,exports.useRowDrag=N.a,exports.useRowEdit=N.y,exports.useSearchHistory=v.i,exports.useSearchState=v.r,exports.useSignatureCanvas=m.i,exports.useSignatureExport=m.n,exports.useSignatureHistory=m.r,exports.useSplitResize=xe.n,exports.useSubtitle=O.n,exports.useTableActions=N.u,exports.useTableColumns=N.o,exports.useTableExpand=N.g,exports.useTableGlobalConfig=N.l,exports.useTableManager=N.f,exports.useTableQuery=F.r,exports.useTagsView=R.n,exports.useTimeSelection=Se.n,exports.useTreeOperations=y.r,exports.useUploadCore=u.r,exports.useUploadQueue=u.i,exports.useValidationScope=s.n,exports.useWaterFallLayout=C.r,exports.useWorkflowNodes=A.i,exports.useWorkflowPreview=A.n,exports.useWorkflowValidation=A.r,exports.validateTableRowKeys=P.l,exports.verifyCaptchaProof=d.i;
|
package/dist/index.d.cts
CHANGED
|
@@ -15,7 +15,7 @@ import { i as TagItem, n as RouteItem, r as RouteMeta, t as BreadcrumbItem } fro
|
|
|
15
15
|
import { a as MenuProps, c as createMenuOptions, i as MenuKey, l as flattenRoutes, n as MenuEmits, o as MenuValue, r as MenuExpose, s as MenuAdapterConfig, t as _default$35 } from "./index6.vue.cjs";
|
|
16
16
|
import { n as BreadcrumbMenuItem, t as _default$7 } from "./index7.vue.cjs";
|
|
17
17
|
import { t as OptionsState } from "./options.cjs";
|
|
18
|
-
import { A as
|
|
18
|
+
import { $ as MaybeRefLike, $t as FormSubmitContext, A as RowDragConfig, At as mergeFormConfig, B as WatermarkConfig, Bt as DynamicFormController, C as ToolbarConfig, Ct as useCrossPageSelection, D as resolveConfig, Dt as LAYOUTS_WITH_OWN_CONTROLS, E as createEditModeChecker, Et as FormConfig, F as DynamicRowsReturn, Ft as CardLayoutConfig, G as ChildSelectionState, Gt as FormErrorContext, H as usePrintWatermark, Ht as FieldPath, I as useDynamicRows, It as ComponentType, J as DataRecord, Jt as FormModel, K as ColumnWithKey, Kt as FormInstance, L as CaptureConfig, Lt as CustomLayoutConfig, M as UseRowDragReturn, Mt as shouldShowActions, N as useRowDrag, Nt as useFormGlobalConfig, O as ExportConfig, Ot as LayoutCallbacks, P as DynamicRowsOptions, Pt as AsyncOptionsContext, Q as InlineTableAction, Qt as FormStepActionsSlotProps, R as PrintConfig, Rt as DynamicFieldConfig, S as TableConfig, St as UseCrossPageSelectionReturn, T as VirtualScrollConfig, Tt as FORM_DEFAULTS, U as ApiFunction, Ut as FieldPathValue, V as printPresets, Vt as DynamicFormState, W as BuiltInTableColumn, Wt as FormActionSlotProps, X as EditProps, Xt as FormRecord, Y as EditMode, Yt as FormOption, Z as GroupTableColumn, Zt as FormSlots, _ as ErrorConfig, a as ColumnFormatter, an as LayoutType, at as SelectOption, b as SelectionConfig$1, bt as CrossPageSelectionConfig, c as TableGlobalConfig, cn as StepsLayoutConfig, ct as TableColumn, d as useTableGlobalConfig, dn as FormValidationRule, dt as TableManagerApi, en as FormTabActionsSlotProps, et as NormalTableColumn, f as BatchActionsConfig, fn as NAIVE_COMBOS, ft as TableProps, g as EditConfig, h as DisplayConfig, hn as SPEC_RULES, i as TABLE_GLOBAL_CONFIG_KEY, in as LayoutConfig, it as RowAction, j as UseRowDragOptions, jt as resolveFormConfig, k as exportTableData, kt as ResolvedFormConfig, l as applyFormatter, ln as SubmitEventPayload, lt as TableEmits, m as CrudBinding, mn as RuleSpec, mt as TableRowKeyIssue, n as COMPONENT_LOCALE_KEY, nn as InlineLayoutConfig, nt as ParentChildLinkMode, o as FormatterConfig, on as MaybePromise, ot as SimpleTableActions, p as ColumnDragConfig, pn as PRESET_RULES, pt as TableRowKey, q as CustomAction, qt as FormMode, r as FORM_GLOBAL_CONFIG_KEY, rn as LabelPlacement, rt as RenderFunction, s as FormatterType, sn as OptionItem, st as StrictTableColumn, t as COMPONENT_FEEDBACK_KEY, tn as GridLayoutConfig, tt as PaginationConfig, u as mergeGlobalConfig, un as TabsLayoutConfig, ut as TableInstance, v as ExpandConfig, vt as UseTableExpandOptions, w as TreeConfig, wt as ColumnStatus, x as SummaryConfig, xt as UseCrossPageSelectionOptions, yt as UseTableExpandReturn, z as PrintWatermarkOptions, zt as DynamicFormConfig } from "./context.cjs";
|
|
19
19
|
import { A as validateTableRowKeys, C as useTableActions, D as useTableColumns, E as useRowEdit, M as useComponentFeedback, N as useComponentLocale, O as defineTableColumns, S as usePagination, T as useTableManager, _ as createHighlight, a as TableQueryResult, b as useModalEdit, c as getItem, d as setItem, f as useTreeOperations, g as HighlightPluginOptions, h as HighlightAPI, i as TableQueryContext, j as _default$46, k as defineTableConfig, l as removeAllItem, m as _default$52, n as createTableAutoCompleteEditor, o as UseTableQueryOptions, p as presetConfigs$1, r as createTableSelectEditor, s as useTableQuery, t as TableEditorContext, u as removeItem, v as setupHighlight, w as useTableExpand, x as useCellEdit, y as useHighlight } from "./editors.cjs";
|
|
20
20
|
import { a as CaptchaEmits, c as CaptchaProps, d as CaptchaVerificationRequest, f as CaptchaVerificationResult, i as _default$8, l as CaptchaProvider, n as createCaptchaProof, o as CaptchaInstance, p as CaptchaVerifier, r as verifyCaptchaProof, s as CaptchaProof, t as CaptchaVerificationError, u as CaptchaSuccessPayload } from "./verification.cjs";
|
|
21
21
|
import { n as CascadeItem, r as CascadeValue, t as _default$9 } from "./index8.vue.cjs";
|
|
@@ -25,7 +25,7 @@ import { t as _default$12 } from "./index11.vue.cjs";
|
|
|
25
25
|
import { a as CollapsePanelItem, c as ExpandIconPosition, i as CollapsePanelExpose, n as _default$13, o as CollapsePanelProps, r as CollapsePanelEmits, s as CollapsePanelVariant, t as useCollapsePanel } from "./useCollapsePanel.cjs";
|
|
26
26
|
import { i as DEFAULT_CONTEXT_MENU_PROPS, n as ContextMenuItem, r as ContextMenuProps, t as _default$14 } from "./index12.vue.cjs";
|
|
27
27
|
import { S as CronValue, _ as CronFieldType, a as DEFAULT_FIELD_VALUE, b as CronTemplate, c as useCronDescription, d as _default$15, f as CronConfig, g as CronFieldMode, h as CronFieldMeta, i as DEFAULT_CRON_VALUE, l as useCronPreview, m as CronExpose, n as CRON_TEMPLATES, o as MONTH_LABELS, p as CronEmits, r as DEFAULT_CRON_EXPRESSION, s as WEEK_LABELS, t as CRON_FIELD_META, u as useCronParser, v as CronFieldValue, x as CronValidation, y as CronProps } from "./constants.cjs";
|
|
28
|
-
import {
|
|
28
|
+
import { a as DataPickerNavigationContext, c as DataPickerRequest, d as DataPickerSource, f as DataPickerSourceInput, i as DataPickerNavigation, l as DataPickerSelectedItem, n as DataPickerExpose, o as DataPickerNavigationNode, p as DataPickerValue, r as DataPickerHistoryOptions, s as DataPickerProps, t as DataPickerEmits, u as DataPickerSelectionContext } from "./types4.cjs";
|
|
29
29
|
import { n as _default$16, t as createDataPickerField } from "./formField.cjs";
|
|
30
30
|
import { a as FormRendererRegistry, c as createFormRendererRegistry, d as useFormRenderer, i as FormRendererContext, l as registerRenderer, n as FORM_RENDERER_REGISTRY_KEY, o as RendererProps, r as FormRenderer, s as UseFormRendererOptions, t as ComponentMap, u as unregisterRenderer } from "./useFormRenderer.cjs";
|
|
31
31
|
import { a as DateProps, i as DatePickerMode, n as DateExpose, o as DateRangeValue, r as DateModelValue, s as DateValue, t as DateEmits } from "./types5.cjs";
|
package/dist/index.d.ts
CHANGED
|
@@ -17,8 +17,7 @@ import { n as BatchResultEmits, r as BatchResultProps, t as _default$6 } from ".
|
|
|
17
17
|
import { a as RouteItem, i as BreadcrumbItem, n as createMenuOptions, o as RouteMeta, r as flattenRoutes, s as TagItem, t as MenuAdapterConfig } from "./public.js";
|
|
18
18
|
import { n as BreadcrumbMenuItem, t as _default$7 } from "./index6.vue.js";
|
|
19
19
|
import "./C_Breadcrumb.js";
|
|
20
|
-
import {
|
|
21
|
-
import { n as useComponentLocale, t as useComponentFeedback } from "./component-config.js";
|
|
20
|
+
import { $ as GroupTableColumn, $t as FormSlots, A as ExportConfig, At as LayoutCallbacks, B as PrintConfig, Bt as DynamicFieldConfig, C as SummaryConfig, Ct as UseCrossPageSelectionOptions, D as VirtualScrollConfig, Dt as FORM_DEFAULTS, E as TreeConfig, Et as ColumnStatus, F as useRowDrag, Ft as useFormGlobalConfig, G as ApiFunction, Gt as FieldPathValue, H as WatermarkConfig, Ht as DynamicFormController, I as DynamicRowsOptions, It as AsyncOptionsContext, J as ColumnWithKey, Jt as FormInstance, K as BuiltInTableColumn, Kt as FormActionSlotProps, L as DynamicRowsReturn, Lt as CardLayoutConfig, M as RowDragConfig, Mt as mergeFormConfig, N as UseRowDragOptions, Nt as resolveFormConfig, O as createEditModeChecker, Ot as FormConfig, P as UseRowDragReturn, Pt as shouldShowActions, Q as EditProps, Qt as FormRecord, R as useDynamicRows, Rt as ComponentType, S as SelectionConfig$1, St as CrossPageSelectionConfig, T as ToolbarConfig, Tt as useCrossPageSelection, U as printPresets, Ut as DynamicFormState, V as PrintWatermarkOptions, Vt as DynamicFormConfig, W as usePrintWatermark, Wt as FieldPath, X as DataRecord, Xt as FormModel, Y as CustomAction, Yt as FormMode, Z as EditMode, Zt as FormOption, _ as DisplayConfig, _n as SPEC_RULES, a as FORM_GLOBAL_CONFIG_KEY, an as LabelPlacement, at as RenderFunction, b as ExpandConfig, bt as UseTableExpandOptions, c as FormatterConfig, cn as MaybePromise, ct as SimpleTableActions, d as applyFormatter, dn as SubmitEventPayload, dt as TableEmits, en as FormStepActionsSlotProps, et as InlineTableAction, f as mergeGlobalConfig, fn as TabsLayoutConfig, ft as TableInstance, g as CrudBinding, gn as RuleSpec, gt as TableRowKeyIssue, h as ColumnDragConfig, hn as PRESET_RULES, ht as TableRowKey, i as COMPONENT_LOCALE_KEY, in as InlineLayoutConfig, it as ParentChildLinkMode, j as exportTableData, jt as ResolvedFormConfig, k as resolveConfig, kt as LAYOUTS_WITH_OWN_CONTROLS, l as FormatterType, ln as OptionItem, lt as StrictTableColumn, m as BatchActionsConfig, mn as NAIVE_COMBOS, mt as TableProps, n as useComponentLocale, nn as FormTabActionsSlotProps, nt as NormalTableColumn, o as TABLE_GLOBAL_CONFIG_KEY, on as LayoutConfig, ot as RowAction, p as useTableGlobalConfig, pn as FormValidationRule, pt as TableManagerApi, q as ChildSelectionState, qt as FormErrorContext, r as COMPONENT_FEEDBACK_KEY, rn as GridLayoutConfig, rt as PaginationConfig, s as ColumnFormatter, sn as LayoutType, st as SelectOption, t as useComponentFeedback, tn as FormSubmitContext, tt as MaybeRefLike, u as TableGlobalConfig, un as StepsLayoutConfig, ut as TableColumn, v as EditConfig, vn as OptionsState, w as TableConfig, wt as UseCrossPageSelectionReturn, xt as UseTableExpandReturn, y as ErrorConfig, z as CaptureConfig, zt as CustomLayoutConfig } from "./component-config.js";
|
|
22
21
|
import { a as CaptchaEmits, c as CaptchaProps, d as CaptchaVerificationRequest, f as CaptchaVerificationResult, i as _default$8, l as CaptchaProvider, n as createCaptchaProof, o as CaptchaInstance, p as CaptchaVerifier, r as verifyCaptchaProof, s as CaptchaProof, t as CaptchaVerificationError, u as CaptchaSuccessPayload } from "./verification.js";
|
|
23
22
|
import "./C_Captcha.js";
|
|
24
23
|
import { n as CascadeItem, r as CascadeValue, t as _default$9 } from "./index7.vue.js";
|
|
@@ -28,7 +27,7 @@ import { t as _default$12 } from "./index10.vue.js";
|
|
|
28
27
|
import { a as CollapsePanelItem, c as ExpandIconPosition, i as CollapsePanelExpose, n as _default$13, o as CollapsePanelProps, r as CollapsePanelEmits, s as CollapsePanelVariant, t as useCollapsePanel } from "./useCollapsePanel.js";
|
|
29
28
|
import { i as DEFAULT_CONTEXT_MENU_PROPS, n as ContextMenuItem, r as ContextMenuProps, t as _default$14 } from "./index11.vue.js";
|
|
30
29
|
import { S as CronValue, _ as CronFieldType, a as DEFAULT_FIELD_VALUE, b as CronTemplate, c as useCronDescription, d as _default$15, f as CronConfig, g as CronFieldMode, h as CronFieldMeta, i as DEFAULT_CRON_VALUE, l as useCronPreview, m as CronExpose, n as CRON_TEMPLATES, o as MONTH_LABELS, p as CronEmits, r as DEFAULT_CRON_EXPRESSION, s as WEEK_LABELS, t as CRON_FIELD_META, u as useCronParser, v as CronFieldValue, x as CronValidation, y as CronProps } from "./constants.js";
|
|
31
|
-
import {
|
|
30
|
+
import { a as DataPickerNavigationContext, c as DataPickerRequest, d as DataPickerSource, f as DataPickerSourceInput, i as DataPickerNavigation, l as DataPickerSelectedItem, n as DataPickerExpose, o as DataPickerNavigationNode, p as DataPickerValue, r as DataPickerHistoryOptions, s as DataPickerProps, t as DataPickerEmits, u as DataPickerSelectionContext } from "./types3.js";
|
|
32
31
|
import { n as _default$16, t as createDataPickerField } from "./formField.js";
|
|
33
32
|
import { a as FormRendererRegistry, c as createFormRendererRegistry, d as useFormRenderer, i as FormRendererContext, l as registerRenderer, n as FORM_RENDERER_REGISTRY_KEY, o as RendererProps, r as FormRenderer, s as UseFormRendererOptions, t as ComponentMap, u as unregisterRenderer } from "./useFormRenderer.js";
|
|
34
33
|
import "./C_DataPicker.js";
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e}from"./density.js";import{t}from"./numberCodec.js";import{t as n}from"./validation.js";import{n as r,t as i}from"./batchPatch.js";import{t as a}from"./observer.js";import{t as o}from"./useDataResource.js";import{n as s,t as ee}from"./useFormArray.js";import{i as te,n as ne,r as re}from"./context.js";import{t as ie}from"./useComponentLocale.js";import{t as ae}from"./feedback.js";import{n as oe,t as se}from"./theme.js";import{t as ce}from"./C_Code2.js";import{t as le}from"./C_Icon2.js";import{t as c}from"./C_Select2.js";import{t as l}from"./C_AutoComplete2.js";import{t as u}from"./C_Loading2.js";import{n as d,t as ue}from"./createPageLoading.js";import{a as de,c as fe,i as pe,n as me,o as he,r as ge,s as _e,t as f}from"./C_Upload2.js";import{t as p}from"./C_Barcode2.js";import{i as ve,n as ye,r as be,t as m}from"./C_Captcha2.js";import{t as h}from"./C_Cascade2.js";import{t as g}from"./C_Guide2.js";import{t as _}from"./C_Progress2.js";import{t as v}from"./C_Steps2.js";import{a as xe,i as Se,n as Ce,o as we,r as Te,t as y}from"./C_ActionBar2.js";import{t as b}from"./C_Theme2.js";import{t as x}from"./C_Language2.js";import"./C_Date2.js";import{C_Date as S}from"./C_Date.js";import{t as C}from"./C_Editor2.js";import{t as w}from"./C_Markdown2.js";import{a as Ee,c as De,i as Oe,l as ke,n as Ae,o as je,r as Me,s as Ne,t as T}from"./C_Map2.js";import{t as E}from"./C_City2.js";import{r as Pe,t as Fe}from"./graphics.js";import{C_VtableGantt as D}from"./C_VtableGantt.js";import{i as Ie,n as Le,r as Re,t as O}from"./C_Signature2.js";import{n as ze,t as k}from"./C_SplitPane2.js";import{n as Be,t as A}from"./C_CollapsePanel2.js";import{n as Ve}from"./C_Time2.js";import{C_Time as j}from"./C_Time.js";import{a as He,i as Ue,n as We,o as Ge,r as Ke,t as qe}from"./useFormConfig.js";import{i as Je,n as Ye,r as Xe,t as Ze}from"./storage.js";import{i as Qe,r as $e,t as et}from"./serializeSearch.js";import{C_FormSearch as M}from"./C_FormSearch.js";import{i as tt,r as nt,t as N}from"./C_Tree2.js";import{n as rt,t as P}from"./C_QRCode2.js";import{n as it,t as F}from"./C_ImageCropper2.js";import{n as at,t as I}from"./C_Draggable2.js";import{a as ot,c as st,i as ct,l as lt,n as ut,o as dt,r as ft,s as pt,t as L,u as mt}from"./C_WaterFall2.js";import{a as ht,i as gt,n as _t,o as vt,r as yt,t as R}from"./C_FullCalendar2.js";import{a as bt,c as xt,d as St,f as Ct,g as wt,h as Tt,i as Et,l as Dt,m as Ot,n as kt,o as At,p as jt,r as Mt,s as Nt,t as z,u as Pt}from"./C_NotificationCenter2.js";import{a as Ft,c as It,d as Lt,i as Rt,l as zt,n as Bt,o as Vt,r as Ht,s as Ut,t as B,u as Wt}from"./C_Cron2.js";import{a as Gt,c as Kt,i as qt,l as Jt,n as V,o as Yt,r as Xt,s as Zt,t as Qt}from"./useFormulaEvaluator.js";import{t as H}from"./C_AntV2.js";import{n as $t,t as en}from"./useGraphExport.js";import{t as tn}from"./useEdgeInteraction.js";import{_ as nn,a as rn,b as an,c as on,d as sn,f as cn,g as ln,h as un,i as dn,l as fn,m as pn,n as mn,o as hn,p as gn,r as _n,s as vn,t as U,u as yn,v as bn,x as xn,y as Sn}from"./C_VideoPlayer2.js";import{n as Cn,r as wn,t as W}from"./C_FilePreview2.js";import{i as Tn,n as En,r as Dn,t as G}from"./C_WorkFlow2.js";import{a as On,c as K,d as kn,f as An,i as jn,l as Mn,n as Nn,o as q,p as Pn,r as Fn,s as In,t as Ln,u as Rn}from"./fieldRenderers.js";import{n as zn,r as Bn,t as Vn}from"./formValidation.js";import{n as Hn,r as Un,t as Wn}from"./useDynamicFormState.js";import{t as J}from"./C_FormModal2.js";import{_ as Gn,a as Kn,c as qn,d as Jn,f as Yn,g as Xn,h as Zn,i as Qn,l as $n,m as er,o as tr,p as nr,r as rr,s as ir,t as Y,u as ar,v as or}from"./C_Table2.js";import{l as sr,n as cr,r as lr}from"./helpers.js";import{i as ur,n as dr,r as fr,t as pr}from"./useTableGlobalConfig.js";import{n as mr,r as hr,t as gr}from"./editors.js";import{n as _r,t as vr}from"./C_GlobalSearch2.js";import{n as yr,r as br,t as xr}from"./C_Menu2.js";import{t as Sr}from"./C_Breadcrumb2.js";import{n as Cr,t as wr}from"./C_TagsView2.js";import{i as Tr,n as Er,r as Dr,t as Or}from"./C_AudioPlayer2.js";import{a as kr,i as Ar,n as jr,r as Mr,t as Nr}from"./C_AvatarGroup2.js";import{n as Pr,t as Fr}from"./C_Chat2.js";import{n as Ir,t as Lr}from"./C_ContextMenu2.js";import{n as Rr,r as zr,t as Br}from"./C_Login2.js";import{n as Vr,r as Hr,t as Ur}from"./C_Timeline2.js";import{n as Wr,t as Gr}from"./data3.js";import{n as Kr,t as qr}from"./C_Transfer2.js";import{t as Jr}from"./C_Skeleton2.js";import"./C_OrgChart2.js";import{C_OrgChart as Yr}from"./C_OrgChart.js";import{t as Xr}from"./C_ErrorSummary2.js";import{t as Zr}from"./C_Density2.js";import{t as Qr}from"./C_SectionNav2.js";import{t as $r}from"./C_DataPicker2.js";import{t as ei}from"./formField.js";import{n as X,t as ti}from"./source.js";import{t as ni}from"./C_BatchResult2.js";import{t as ri}from"./theme2.js";import{hasInjectionContext as ii,inject as ai}from"vue";import oi from"highlight.js/lib/core";import si from"highlight.js/lib/languages/javascript";import ci from"highlight.js/lib/languages/typescript";import li from"highlight.js/lib/languages/json";import ui from"highlight.js/lib/languages/xml";import di from"highlight.js/lib/languages/css";import fi from"highlight.js/lib/languages/bash";import pi from"highlight.js/lib/languages/yaml";import mi from"highlight.js/lib/languages/markdown";import hi from"highlight.js/lib/languages/java";import gi from"highlight.js/lib/languages/csharp";import _i from"highlight.js/lib/languages/go";import vi from"highlight.js/lib/languages/python";const yi={cpp:()=>import(`highlight.js/lib/languages/cpp`),c:()=>import(`highlight.js/lib/languages/c`),php:()=>import(`highlight.js/lib/languages/php`),ruby:()=>import(`highlight.js/lib/languages/ruby`),rust:()=>import(`highlight.js/lib/languages/rust`),swift:()=>import(`highlight.js/lib/languages/swift`),kotlin:()=>import(`highlight.js/lib/languages/kotlin`),scss:()=>import(`highlight.js/lib/languages/scss`),less:()=>import(`highlight.js/lib/languages/less`),sql:()=>import(`highlight.js/lib/languages/sql`),dockerfile:()=>import(`highlight.js/lib/languages/dockerfile`),powershell:()=>import(`highlight.js/lib/languages/powershell`)};function bi(e,t,n){e.instance.registerLanguage(t,n),e.loadedLanguages.add(t)}function xi(e,t){[[`javascript`,si],[`typescript`,ci],[`json`,li],[`html`,ui],[`xml`,ui],[`css`,di],[`bash`,fi],[`shell`,fi],[`yaml`,pi],[`yml`,pi],[`markdown`,mi],[`java`,hi],[`csharp`,gi],[`go`,_i],[`python`,vi]].forEach(([t,n])=>{bi(e,t,n)}),e.instance.configure({ignoreUnescapedHTML:!0,languages:t.autoDetect?void 0:[]}),t.extraLanguages?.length&&Si(e,t.extraLanguages,t)}async function Si(e,t,n={}){let r=t.map(t=>Ci(e,t,n));return(await Promise.allSettled(r)).map((e,n)=>e.status===`fulfilled`&&e.value?t[n]:null).filter(Boolean)}async function Ci(e,t,n={}){let r=t.toLowerCase();if(e.loadedLanguages.has(r))return!0;let i=e.pendingLanguageLoads.get(r);if(i)return i;let o=yi[r];if(!o)return a(()=>n.logger?.warn(`[HighlightPlugin] Language '${t}' not supported`)),!1;let s=(async()=>{try{return bi(e,r,(await o()).default),n.debug&&a(()=>n.logger?.info(`[HighlightPlugin] Language '${r}' loaded successfully`)),!0}catch(e){return a(()=>n.logger?.error(`[HighlightPlugin] Failed to load language '${r}'`,e)),a(()=>n.onError?.(e,{source:`language-loader`,language:r})),!1}finally{e.pendingLanguageLoads.delete(r)}})();return e.pendingLanguageLoads.set(r,s),s}function Z(e={}){let t={instance:oi.newInstance(),loadedLanguages:new Set,pendingLanguageLoads:new Map};return xi(t,e),{getHljs:()=>t.instance,loadLanguage:n=>Ci(t,n,e),loadLanguages:n=>Si(t,n,e),getLoadedLanguages:()=>Array.from(t.loadedLanguages)}}function wi(e={}){return(ii()?ai(`highlightManager`,void 0):void 0)??Z(e)}const Q=new WeakMap;function Ti(e,t){if(t.active=!1,Object.getOwnPropertyDescriptor(e,`hljs`)?.value!==t.instance){Q.get(e)===t&&Q.delete(e);return}let n=t.previousDescriptor,r=t.previousExposure;for(;r&&!r.active;)n=r.previousDescriptor,r=r.previousExposure;n?Reflect.defineProperty(e,`hljs`,n):Reflect.deleteProperty(e,`hljs`),r?Q.set(e,r):Q.delete(e)}function Ei(e){if(typeof window>`u`)return;let t=window,n=Object.getOwnPropertyDescriptor(t,`hljs`),r=Q.get(t),i={instance:e,previousDescriptor:n,previousExposure:r?.instance===n?.value?r:void 0,active:!0};if(Reflect.defineProperty(t,`hljs`,{configurable:!0,enumerable:n?.enumerable??!1,writable:!0,value:e}))return Q.set(t,i),()=>Ti(t,i)}const $=new WeakMap;function Di(e,t,n){let r=e.config.globalProperties,i=Object.getOwnPropertyDescriptor(r,`$highlight`),a=n&&i?.value===n.api?n.previousProperty:i;return Object.defineProperty(r,`$highlight`,{configurable:i?.configurable??!0,enumerable:i?.enumerable??!0,writable:!0,value:t}),a}function Oi(e){let t=$.get(e);if(!t)return;$.delete(e),t.releaseWindow?.();let n=e.config.globalProperties;Object.getOwnPropertyDescriptor(n,`$highlight`)?.value===t.api&&(t.previousProperty?Reflect.defineProperty(n,`$highlight`,t.previousProperty):Reflect.deleteProperty(n,`$highlight`))}function ki(e,t={}){let n={autoDetect:!1,extraLanguages:[],...t},r=Z(n),i=$.get(e),o=Di(e,r,i);i?.releaseWindow?.(),e.provide(`highlightManager`,r);let s=n.exposeToWindow?Ei(r.getHljs()):void 0;return $.set(e,{api:r,previousProperty:o,releaseWindow:s}),i||e.onUnmount(()=>Oi(e)),n.debug&&a(()=>n.logger?.info(`[HighlightPlugin] highlight.js plugin installed`)),r}const Ai={C_Code:ce,C_Icon:le,C_Loading:u,C_PageLoading:d,C_Upload:f,C_Barcode:p,C_Captcha:m,C_Cascade:h,C_Guide:g,C_Progress:_,C_Steps:v,C_ActionBar:y,C_Theme:b,C_Language:x,C_Date:S,C_Editor:C,C_Markdown:w,C_Map:T,C_City:E,C_VtableGantt:D,C_Signature:O,C_SplitPane:k,C_CollapsePanel:A,C_Time:j,C_FormSearch:M,C_Select:c,C_AutoComplete:l,C_Tree:N,C_QRCode:P,C_ImageCropper:F,C_Draggable:I,C_WaterFall:L,C_FullCalendar:R,C_NotificationCenter:z,C_Cron:B,C_FormulaEditor:V,C_AntV:H,C_VideoPlayer:U,C_FilePreview:W,C_WorkFlow:G,C_Form:q,C_FormModal:J,C_Table:Y,C_GlobalSearch:vr,C_Menu:xr,C_Breadcrumb:Sr,C_TagsView:wr,C_AudioPlayer:Or,C_AvatarGroup:Nr,C_Chat:Fr,C_ContextMenu:Lr,C_Login:Br,C_Timeline:Ur,C_Tabs:Wr,C_Transfer:qr,C_Skeleton:Jr,C_OrgChart:Yr,C_ErrorSummary:Xr,C_Density:Zr,C_SectionNav:Qr,C_DataPicker:$r,C_UserPicker:X,C_BatchResult:ni};var ji={install:(e,t={})=>{Object.entries(Ai).forEach(([t,n])=>{e.component(t,n)}),t.highlight!==void 0&&ki(e,t.highlight),t.feedback&&e.provide(ne,t.feedback),t.locale&&e.provide(re,t.locale),t.form&&e.provide(te,t.form),e.provide(In,t.formRenderers??K()),t.table&&e.provide(pr,t.table)}};export{Ce as ACTION_BAR_DEFAULT_CONFIG,qt as ACTION_KEYS,Te as ACTION_PRESETS,Mr as AVATAR_STATUS_COLOR_MAP,yt as BUTTON_TEXT,bt as CATEGORY_MAP,At as CATEGORY_TABS,se as COMPONENT_COLOR_PALETTES,oe as COMPONENT_CONTROL_HEIGHTS,ne as COMPONENT_FEEDBACK_KEY,re as COMPONENT_LOCALE_KEY,Ft as CRON_FIELD_META,Vt as CRON_TEMPLATES,y as C_ActionBar,H as C_AntV,Or as C_AudioPlayer,l as C_AutoComplete,Nr as C_AvatarGroup,p as C_Barcode,ni as C_BatchResult,Sr as C_Breadcrumb,m as C_Captcha,h as C_Cascade,Fr as C_Chat,E as C_City,ce as C_Code,A as C_CollapsePanel,Lr as C_ContextMenu,B as C_Cron,$r as C_DataPicker,S as C_Date,Zr as C_Density,I as C_Draggable,C as C_Editor,Xr as C_ErrorSummary,W as C_FilePreview,q as C_Form,J as C_FormModal,M as C_FormSearch,V as C_FormulaEditor,R as C_FullCalendar,vr as C_GlobalSearch,g as C_Guide,le as C_Icon,F as C_ImageCropper,x as C_Language,u as C_Loading,Br as C_Login,T as C_Map,w as C_Markdown,xr as C_Menu,z as C_NotificationCenter,Yr as C_OrgChart,d as C_PageLoading,_ as C_Progress,P as C_QRCode,Qr as C_SectionNav,c as C_Select,O as C_Signature,Jr as C_Skeleton,k as C_SplitPane,v as C_Steps,Y as C_Table,Wr as C_Tabs,wr as C_TagsView,b as C_Theme,j as C_Time,Ur as C_Timeline,qr as C_Transfer,N as C_Tree,f as C_Upload,X as C_UserPicker,U as C_VideoPlayer,D as C_VtableGantt,L as C_WaterFall,G as C_WorkFlow,ye as CaptchaVerificationError,Se as DEFAULT_ACTION_ICON,ot as DEFAULT_ANIMATION_DURATION,Er as DEFAULT_AUDIO_PLAYER_PROPS,jr as DEFAULT_AVATAR_GROUP_PROPS,dt as DEFAULT_BREAKPOINTS,Pr as DEFAULT_CHAT_PROPS,Ir as DEFAULT_CONTEXT_MENU_PROPS,Ut as DEFAULT_CRON_EXPRESSION,It as DEFAULT_CRON_VALUE,gt as DEFAULT_EDIT_FORM,Rr as DEFAULT_FEATURES,zt as DEFAULT_FIELD_VALUE,Gt as DEFAULT_FUNCTIONS,pt as DEFAULT_GAP,on as DEFAULT_HEARTBEAT_INTERVAL,Ne as DEFAULT_MAP_CONFIG,Nt as DEFAULT_MAX_BADGE_COUNT,xt as DEFAULT_PAGE_SIZE,fn as DEFAULT_PLAYBACK_RATE,yn as DEFAULT_PLAYBACK_RATES,Dt as DEFAULT_POLLING_INTERVAL,st as DEFAULT_SKELETON_COUNT,zr as DEFAULT_SOCIAL_PROVIDERS,Pt as DEFAULT_STORAGE_KEY,Vr as DEFAULT_TIMELINE_PROPS,Kr as DEFAULT_TRANSFER_PROPS,sn as DEFAULT_VOLUME,St as DEFAULT_WS_HEARTBEAT_INTERVAL,Ct as DEFAULT_WS_HEARTBEAT_MESSAGE,jt as DEFAULT_WS_MAX_RECONNECT,Ot as DEFAULT_WS_RECONNECT_INTERVAL,Wn as DYNAMIC_FORM_STATE_KEY,ht as EVENT_COLORS,Hn as FIELD_TYPE_OPTIONS,qe as FORM_DEFAULTS,te as FORM_GLOBAL_CONFIG_KEY,In as FORM_RENDERER_REGISTRY_KEY,vt as HEADER_TOOLBAR,lt as INFINITE_SCROLL_THRESHOLD,cn as KEYBOARD_SHORTCUTS,We as LAYOUTS_WITH_OWN_CONTROLS,De as MAP_TYPES,Tt as MOCK_MESSAGES,Dr as MODE_ICON_MAP,Wt as MONTH_LABELS,Vn as NAIVE_COMBOS,Yt as NUMBER_KEYS,Zt as OPERATORS,Kt as OPERATOR_KEYS,ke as OSM_TILE_CONFIG,zn as PRESET_RULES,wt as PRIORITY_MAP,gn as PROGRESS_THROTTLE_INTERVAL,pn as QUALITY_LABEL_MAP,un as SEEK_STEP,mt as SKELETON_HEIGHT_RANGE,ln as SOURCE_TYPE_MAP,Jt as SPACED_OPERATORS,Bn as SPEC_RULES,nn as STORAGE_KEYS,bn as STORAGE_PREFIX,pr as TABLE_GLOBAL_CONFIG_KEY,Hr as TIMELINE_STATUS_COLOR_MAP,Sn as VOLUME_STEP,an as WATERMARK_DEFAULT_STYLE,Lt as WEEK_LABELS,xn as XGPLAYER_EVENTS,Fe as appendGanttGroup,dr as applyFormatter,n as collectValidationIssues,Ln as createAutoCompleteField,i as createBatchPatch,be as createCaptchaProof,ri as createComponentTheme,ei as createDataPickerField,Gn as createEditModeChecker,K as createFormRendererRegistry,Z as createHighlight,yr as createMenuOptions,t as createNumberCodec,ue as createPageLoading,Nn as createSelectField,gr as createTableAutoCompleteEditor,mr as createTableSelectEditor,ti as createUserPickerSource,ji as default,xe as defineActions,Fn as defineFormConfig,jn as defineFormOptions,cr as defineTableColumns,lr as defineTableConfig,Gr as defineTabs,rr as exportTableData,br as flattenRoutes,_e as formatFileSize,Tr as formatTime,Pe as ganttPresetConfigs,fe as getFileIcon,Ar as getInitials,Ze as getItem,r as getRetryableKeys,Ae as getValidMapMarkers,Me as isValidMapCoordinate,Ke as mergeFormConfig,fr as mergeGlobalConfig,kr as nameToColor,Oe as normalizeMapZoom,Jn as printPresets,Mn as registerRenderer,Ye as removeAllItem,Xe as removeItem,we as resolveActionPreset,e as resolveComponentDensity,or as resolveConfig,Ue as resolveFormConfig,Ee as resolveTileConfig,et as serializeSearch,Je as setItem,ki as setupHighlight,He as shouldShowActions,je as toAMapPosition,tt as treePresetConfigs,Rn as unregisterRenderer,_n as useBookmarks,On as useCForm,_t as useCalendarEvents,Zn as useCellEdit,dn as useChapters,de as useChunkUpload,Be as useCollapsePanel,ae as useComponentFeedback,ie as useComponentLocale,Bt as useCronDescription,Rt as useCronParser,Ht as useCronPreview,it as useCropperCore,Qn as useCrossPageSelection,o as useDataResource,me as useDragDrop,at as useDraggableLayout,Un as useDynamicFormState,ar as useDynamicRows,tn as useEdgeInteraction,he as useFileHash,wn as useFilePreview,ee as useFormArray,Pn as useFormDirty,Ge as useFormGlobalConfig,kn as useFormRenderer,An as useFormState,Qt as useFormulaEvaluator,Xt as useFormulaParser,Cn as useFullscreen,_r as useGlobalSearch,$t as useGraphBase,en as useGraphExport,wi as useHighlight,ut as useInfiniteScroll,er as useModalEdit,Mt as useNotificationCore,kt as useNotificationFormat,Et as useNotificationWS,qn as usePagination,hn as usePlaybackControl,vn as usePlayerCore,Yn as usePrintWatermark,rn as useProgressTracker,rt as useQRCode,ct as useResponsiveColumns,Kn as useRowDrag,Xn as useRowEdit,Qe as useSearchHistory,$e as useSearchState,Ie as useSignatureCanvas,Le as useSignatureExport,Re as useSignatureHistory,ze as useSplitResize,mn as useSubtitle,ir as useTableActions,tr as useTableColumns,nr as useTableExpand,ur as useTableGlobalConfig,$n as useTableManager,hr as useTableQuery,Cr as useTagsView,Ve as useTimeSelection,nt as useTreeOperations,ge as useUploadCore,pe as useUploadQueue,s as useValidationScope,ft as useWaterFallLayout,Tn as useWorkflowNodes,En as useWorkflowPreview,Dn as useWorkflowValidation,sr as validateTableRowKeys,ve as verifyCaptchaProof};
|
|
1
|
+
import{t as e}from"./density.js";import{t}from"./numberCodec.js";import{t as n}from"./validation.js";import{n as r,t as i}from"./batchPatch.js";import{t as a}from"./observer.js";import{t as o}from"./useDataResource.js";import{n as s,t as ee}from"./useFormArray.js";import{a as c,i as te,n as ne,r as re}from"./context.js";import{t as ie}from"./useComponentLocale.js";import{t as ae}from"./feedback.js";import{n as oe,t as se}from"./theme.js";import{t as ce}from"./C_Code2.js";import{t as l}from"./C_Icon2.js";import{t as u}from"./C_Select2.js";import{t as d}from"./C_AutoComplete2.js";import{t as f}from"./C_Loading2.js";import{n as p,t as le}from"./createPageLoading.js";import{a as ue,c as de,i as fe,n as pe,o as me,r as he,s as ge,t as m}from"./C_Upload2.js";import{t as h}from"./C_Barcode2.js";import{i as _e,n as ve,r as ye,t as g}from"./C_Captcha2.js";import{t as _}from"./C_Cascade2.js";import{t as v}from"./C_Guide2.js";import{t as y}from"./C_Progress2.js";import{t as b}from"./C_Steps2.js";import{a as be,i as xe,n as Se,o as Ce,r as we,t as x}from"./C_ActionBar2.js";import{t as S}from"./C_Theme2.js";import{t as C}from"./C_Language2.js";import"./C_Date2.js";import{C_Date as w}from"./C_Date.js";import{t as T}from"./C_Editor2.js";import{t as E}from"./C_Markdown2.js";import{a as Te,c as Ee,i as De,l as Oe,n as ke,o as Ae,r as je,s as Me,t as D}from"./C_Map2.js";import{t as O}from"./C_City2.js";import{r as Ne,t as Pe}from"./graphics.js";import{C_VtableGantt as k}from"./C_VtableGantt.js";import{i as Fe,n as Ie,r as Le,t as A}from"./C_Signature2.js";import{n as Re,t as j}from"./C_SplitPane2.js";import{n as ze,t as M}from"./C_CollapsePanel2.js";import{n as Be}from"./C_Time2.js";import{C_Time as N}from"./C_Time.js";import{a as Ve,i as He,n as Ue,o as We,r as Ge,t as Ke}from"./useFormConfig.js";import{i as qe,n as Je,r as Ye,t as Xe}from"./storage.js";import{i as Ze,r as Qe,t as $e}from"./serializeSearch.js";import{C_FormSearch as P}from"./C_FormSearch.js";import{i as et,r as tt,t as F}from"./C_Tree2.js";import{n as nt,t as I}from"./C_QRCode2.js";import{n as rt,t as L}from"./C_ImageCropper2.js";import{n as it,t as R}from"./C_Draggable2.js";import{a as at,c as ot,i as st,l as ct,n as lt,o as ut,r as dt,s as ft,t as z,u as pt}from"./C_WaterFall2.js";import{a as mt,i as ht,n as gt,o as _t,r as vt,t as B}from"./C_FullCalendar2.js";import{a as yt,c as bt,d as xt,f as St,g as Ct,h as wt,i as Tt,l as Et,m as Dt,n as Ot,o as kt,p as At,r as jt,s as Mt,t as V,u as Nt}from"./C_NotificationCenter2.js";import{a as Pt,c as Ft,d as It,i as Lt,l as Rt,n as zt,o as Bt,r as Vt,s as Ht,t as H,u as Ut}from"./C_Cron2.js";import{a as Wt,c as Gt,i as Kt,l as qt,n as U,o as Jt,r as Yt,s as Xt,t as Zt}from"./useFormulaEvaluator.js";import{t as W}from"./C_AntV2.js";import{n as Qt,t as $t}from"./useGraphExport.js";import{t as en}from"./useEdgeInteraction.js";import{_ as tn,a as nn,b as rn,c as an,d as on,f as sn,g as cn,h as ln,i as un,l as dn,m as fn,n as pn,o as mn,p as hn,r as gn,s as _n,t as G,u as vn,v as yn,x as bn,y as xn}from"./C_VideoPlayer2.js";import{n as Sn,r as Cn,t as K}from"./C_FilePreview2.js";import{i as wn,n as Tn,r as En,t as q}from"./C_WorkFlow2.js";import{a as Dn,c as On,d as kn,f as An,i as jn,l as Mn,n as Nn,o as J,p as Pn,r as Fn,s as Y,t as In,u as Ln}from"./fieldRenderers.js";import{n as Rn,r as zn,t as Bn}from"./formValidation.js";import{n as Vn,r as Hn,t as Un}from"./useDynamicFormState.js";import{t as Wn}from"./C_FormModal2.js";import{_ as Gn,a as Kn,b as qn,c as Jn,d as Yn,f as Xn,g as Zn,h as Qn,i as $n,l as er,m as tr,o as nr,p as rr,r as ir,s as ar,t as or,u as sr,v as cr,x as lr,y as ur}from"./C_Table2.js";import{l as dr,n as fr,r as pr}from"./helpers.js";import{n as mr,r as hr,t as gr}from"./editors.js";import{n as _r,t as vr}from"./C_GlobalSearch2.js";import{n as yr,r as br,t as xr}from"./C_Menu2.js";import{t as Sr}from"./C_Breadcrumb2.js";import{n as Cr,t as wr}from"./C_TagsView2.js";import{i as Tr,n as Er,r as Dr,t as Or}from"./C_AudioPlayer2.js";import{a as kr,i as Ar,n as jr,r as Mr,t as Nr}from"./C_AvatarGroup2.js";import{n as Pr,t as Fr}from"./C_Chat2.js";import{n as Ir,t as Lr}from"./C_ContextMenu2.js";import{n as Rr,r as zr,t as Br}from"./C_Login2.js";import{n as Vr,r as Hr,t as Ur}from"./C_Timeline2.js";import{n as Wr,t as Gr}from"./data3.js";import{n as Kr,t as qr}from"./C_Transfer2.js";import{t as Jr}from"./C_Skeleton2.js";import"./C_OrgChart2.js";import{C_OrgChart as Yr}from"./C_OrgChart.js";import{t as Xr}from"./C_ErrorSummary2.js";import{t as Zr}from"./C_Density2.js";import{t as Qr}from"./C_SectionNav2.js";import{t as X}from"./C_DataPicker2.js";import{t as $r}from"./formField.js";import{n as ei,t as ti}from"./source.js";import{t as ni}from"./C_BatchResult2.js";import{t as ri}from"./theme2.js";import{hasInjectionContext as ii,inject as ai}from"vue";import oi from"highlight.js/lib/core";import si from"highlight.js/lib/languages/javascript";import ci from"highlight.js/lib/languages/typescript";import li from"highlight.js/lib/languages/json";import ui from"highlight.js/lib/languages/xml";import di from"highlight.js/lib/languages/css";import fi from"highlight.js/lib/languages/bash";import pi from"highlight.js/lib/languages/yaml";import mi from"highlight.js/lib/languages/markdown";import hi from"highlight.js/lib/languages/java";import gi from"highlight.js/lib/languages/csharp";import _i from"highlight.js/lib/languages/go";import vi from"highlight.js/lib/languages/python";const yi={cpp:()=>import(`highlight.js/lib/languages/cpp`),c:()=>import(`highlight.js/lib/languages/c`),php:()=>import(`highlight.js/lib/languages/php`),ruby:()=>import(`highlight.js/lib/languages/ruby`),rust:()=>import(`highlight.js/lib/languages/rust`),swift:()=>import(`highlight.js/lib/languages/swift`),kotlin:()=>import(`highlight.js/lib/languages/kotlin`),scss:()=>import(`highlight.js/lib/languages/scss`),less:()=>import(`highlight.js/lib/languages/less`),sql:()=>import(`highlight.js/lib/languages/sql`),dockerfile:()=>import(`highlight.js/lib/languages/dockerfile`),powershell:()=>import(`highlight.js/lib/languages/powershell`)};function bi(e,t,n){e.instance.registerLanguage(t,n),e.loadedLanguages.add(t)}function xi(e,t){[[`javascript`,si],[`typescript`,ci],[`json`,li],[`html`,ui],[`xml`,ui],[`css`,di],[`bash`,fi],[`shell`,fi],[`yaml`,pi],[`yml`,pi],[`markdown`,mi],[`java`,hi],[`csharp`,gi],[`go`,_i],[`python`,vi]].forEach(([t,n])=>{bi(e,t,n)}),e.instance.configure({ignoreUnescapedHTML:!0,languages:t.autoDetect?void 0:[]}),t.extraLanguages?.length&&Si(e,t.extraLanguages,t)}async function Si(e,t,n={}){let r=t.map(t=>Ci(e,t,n));return(await Promise.allSettled(r)).map((e,n)=>e.status===`fulfilled`&&e.value?t[n]:null).filter(Boolean)}async function Ci(e,t,n={}){let r=t.toLowerCase();if(e.loadedLanguages.has(r))return!0;let i=e.pendingLanguageLoads.get(r);if(i)return i;let o=yi[r];if(!o)return a(()=>n.logger?.warn(`[HighlightPlugin] Language '${t}' not supported`)),!1;let s=(async()=>{try{return bi(e,r,(await o()).default),n.debug&&a(()=>n.logger?.info(`[HighlightPlugin] Language '${r}' loaded successfully`)),!0}catch(e){return a(()=>n.logger?.error(`[HighlightPlugin] Failed to load language '${r}'`,e)),a(()=>n.onError?.(e,{source:`language-loader`,language:r})),!1}finally{e.pendingLanguageLoads.delete(r)}})();return e.pendingLanguageLoads.set(r,s),s}function Z(e={}){let t={instance:oi.newInstance(),loadedLanguages:new Set,pendingLanguageLoads:new Map};return xi(t,e),{getHljs:()=>t.instance,loadLanguage:n=>Ci(t,n,e),loadLanguages:n=>Si(t,n,e),getLoadedLanguages:()=>Array.from(t.loadedLanguages)}}function wi(e={}){return(ii()?ai(`highlightManager`,void 0):void 0)??Z(e)}const Q=new WeakMap;function Ti(e,t){if(t.active=!1,Object.getOwnPropertyDescriptor(e,`hljs`)?.value!==t.instance){Q.get(e)===t&&Q.delete(e);return}let n=t.previousDescriptor,r=t.previousExposure;for(;r&&!r.active;)n=r.previousDescriptor,r=r.previousExposure;n?Reflect.defineProperty(e,`hljs`,n):Reflect.deleteProperty(e,`hljs`),r?Q.set(e,r):Q.delete(e)}function Ei(e){if(typeof window>`u`)return;let t=window,n=Object.getOwnPropertyDescriptor(t,`hljs`),r=Q.get(t),i={instance:e,previousDescriptor:n,previousExposure:r?.instance===n?.value?r:void 0,active:!0};if(Reflect.defineProperty(t,`hljs`,{configurable:!0,enumerable:n?.enumerable??!1,writable:!0,value:e}))return Q.set(t,i),()=>Ti(t,i)}const $=new WeakMap;function Di(e,t,n){let r=e.config.globalProperties,i=Object.getOwnPropertyDescriptor(r,`$highlight`),a=n&&i?.value===n.api?n.previousProperty:i;return Object.defineProperty(r,`$highlight`,{configurable:i?.configurable??!0,enumerable:i?.enumerable??!0,writable:!0,value:t}),a}function Oi(e){let t=$.get(e);if(!t)return;$.delete(e),t.releaseWindow?.();let n=e.config.globalProperties;Object.getOwnPropertyDescriptor(n,`$highlight`)?.value===t.api&&(t.previousProperty?Reflect.defineProperty(n,`$highlight`,t.previousProperty):Reflect.deleteProperty(n,`$highlight`))}function ki(e,t={}){let n={autoDetect:!1,extraLanguages:[],...t},r=Z(n),i=$.get(e),o=Di(e,r,i);i?.releaseWindow?.(),e.provide(`highlightManager`,r);let s=n.exposeToWindow?Ei(r.getHljs()):void 0;return $.set(e,{api:r,previousProperty:o,releaseWindow:s}),i||e.onUnmount(()=>Oi(e)),n.debug&&a(()=>n.logger?.info(`[HighlightPlugin] highlight.js plugin installed`)),r}const Ai={C_Code:ce,C_Icon:l,C_Loading:f,C_PageLoading:p,C_Upload:m,C_Barcode:h,C_Captcha:g,C_Cascade:_,C_Guide:v,C_Progress:y,C_Steps:b,C_ActionBar:x,C_Theme:S,C_Language:C,C_Date:w,C_Editor:T,C_Markdown:E,C_Map:D,C_City:O,C_VtableGantt:k,C_Signature:A,C_SplitPane:j,C_CollapsePanel:M,C_Time:N,C_FormSearch:P,C_Select:u,C_AutoComplete:d,C_Tree:F,C_QRCode:I,C_ImageCropper:L,C_Draggable:R,C_WaterFall:z,C_FullCalendar:B,C_NotificationCenter:V,C_Cron:H,C_FormulaEditor:U,C_AntV:W,C_VideoPlayer:G,C_FilePreview:K,C_WorkFlow:q,C_Form:J,C_FormModal:Wn,C_Table:or,C_GlobalSearch:vr,C_Menu:xr,C_Breadcrumb:Sr,C_TagsView:wr,C_AudioPlayer:Or,C_AvatarGroup:Nr,C_Chat:Fr,C_ContextMenu:Lr,C_Login:Br,C_Timeline:Ur,C_Tabs:Wr,C_Transfer:qr,C_Skeleton:Jr,C_OrgChart:Yr,C_ErrorSummary:Xr,C_Density:Zr,C_SectionNav:Qr,C_DataPicker:X,C_UserPicker:ei,C_BatchResult:ni};var ji={install:(e,t={})=>{Object.entries(Ai).forEach(([t,n])=>{e.component(t,n)}),t.highlight!==void 0&&ki(e,t.highlight),t.feedback&&e.provide(ne,t.feedback),t.locale&&e.provide(re,t.locale),t.form&&e.provide(te,t.form),e.provide(Y,t.formRenderers??On()),t.table&&e.provide(c,t.table)}};export{Se as ACTION_BAR_DEFAULT_CONFIG,Kt as ACTION_KEYS,we as ACTION_PRESETS,Mr as AVATAR_STATUS_COLOR_MAP,vt as BUTTON_TEXT,yt as CATEGORY_MAP,kt as CATEGORY_TABS,se as COMPONENT_COLOR_PALETTES,oe as COMPONENT_CONTROL_HEIGHTS,ne as COMPONENT_FEEDBACK_KEY,re as COMPONENT_LOCALE_KEY,Pt as CRON_FIELD_META,Bt as CRON_TEMPLATES,x as C_ActionBar,W as C_AntV,Or as C_AudioPlayer,d as C_AutoComplete,Nr as C_AvatarGroup,h as C_Barcode,ni as C_BatchResult,Sr as C_Breadcrumb,g as C_Captcha,_ as C_Cascade,Fr as C_Chat,O as C_City,ce as C_Code,M as C_CollapsePanel,Lr as C_ContextMenu,H as C_Cron,X as C_DataPicker,w as C_Date,Zr as C_Density,R as C_Draggable,T as C_Editor,Xr as C_ErrorSummary,K as C_FilePreview,J as C_Form,Wn as C_FormModal,P as C_FormSearch,U as C_FormulaEditor,B as C_FullCalendar,vr as C_GlobalSearch,v as C_Guide,l as C_Icon,L as C_ImageCropper,C as C_Language,f as C_Loading,Br as C_Login,D as C_Map,E as C_Markdown,xr as C_Menu,V as C_NotificationCenter,Yr as C_OrgChart,p as C_PageLoading,y as C_Progress,I as C_QRCode,Qr as C_SectionNav,u as C_Select,A as C_Signature,Jr as C_Skeleton,j as C_SplitPane,b as C_Steps,or as C_Table,Wr as C_Tabs,wr as C_TagsView,S as C_Theme,N as C_Time,Ur as C_Timeline,qr as C_Transfer,F as C_Tree,m as C_Upload,ei as C_UserPicker,G as C_VideoPlayer,k as C_VtableGantt,z as C_WaterFall,q as C_WorkFlow,ve as CaptchaVerificationError,xe as DEFAULT_ACTION_ICON,at as DEFAULT_ANIMATION_DURATION,Er as DEFAULT_AUDIO_PLAYER_PROPS,jr as DEFAULT_AVATAR_GROUP_PROPS,ut as DEFAULT_BREAKPOINTS,Pr as DEFAULT_CHAT_PROPS,Ir as DEFAULT_CONTEXT_MENU_PROPS,Ht as DEFAULT_CRON_EXPRESSION,Ft as DEFAULT_CRON_VALUE,ht as DEFAULT_EDIT_FORM,Rr as DEFAULT_FEATURES,Rt as DEFAULT_FIELD_VALUE,Wt as DEFAULT_FUNCTIONS,ft as DEFAULT_GAP,an as DEFAULT_HEARTBEAT_INTERVAL,Me as DEFAULT_MAP_CONFIG,Mt as DEFAULT_MAX_BADGE_COUNT,bt as DEFAULT_PAGE_SIZE,dn as DEFAULT_PLAYBACK_RATE,vn as DEFAULT_PLAYBACK_RATES,Et as DEFAULT_POLLING_INTERVAL,ot as DEFAULT_SKELETON_COUNT,zr as DEFAULT_SOCIAL_PROVIDERS,Nt as DEFAULT_STORAGE_KEY,Vr as DEFAULT_TIMELINE_PROPS,Kr as DEFAULT_TRANSFER_PROPS,on as DEFAULT_VOLUME,xt as DEFAULT_WS_HEARTBEAT_INTERVAL,St as DEFAULT_WS_HEARTBEAT_MESSAGE,At as DEFAULT_WS_MAX_RECONNECT,Dt as DEFAULT_WS_RECONNECT_INTERVAL,Un as DYNAMIC_FORM_STATE_KEY,mt as EVENT_COLORS,Vn as FIELD_TYPE_OPTIONS,Ke as FORM_DEFAULTS,te as FORM_GLOBAL_CONFIG_KEY,Y as FORM_RENDERER_REGISTRY_KEY,_t as HEADER_TOOLBAR,ct as INFINITE_SCROLL_THRESHOLD,sn as KEYBOARD_SHORTCUTS,Ue as LAYOUTS_WITH_OWN_CONTROLS,Ee as MAP_TYPES,wt as MOCK_MESSAGES,Dr as MODE_ICON_MAP,Ut as MONTH_LABELS,Bn as NAIVE_COMBOS,Jt as NUMBER_KEYS,Xt as OPERATORS,Gt as OPERATOR_KEYS,Oe as OSM_TILE_CONFIG,Rn as PRESET_RULES,Ct as PRIORITY_MAP,hn as PROGRESS_THROTTLE_INTERVAL,fn as QUALITY_LABEL_MAP,ln as SEEK_STEP,pt as SKELETON_HEIGHT_RANGE,cn as SOURCE_TYPE_MAP,qt as SPACED_OPERATORS,zn as SPEC_RULES,tn as STORAGE_KEYS,yn as STORAGE_PREFIX,c as TABLE_GLOBAL_CONFIG_KEY,Hr as TIMELINE_STATUS_COLOR_MAP,xn as VOLUME_STEP,rn as WATERMARK_DEFAULT_STYLE,It as WEEK_LABELS,bn as XGPLAYER_EVENTS,Pe as appendGanttGroup,ar as applyFormatter,n as collectValidationIssues,In as createAutoCompleteField,i as createBatchPatch,ye as createCaptchaProof,ri as createComponentTheme,$r as createDataPickerField,qn as createEditModeChecker,On as createFormRendererRegistry,Z as createHighlight,yr as createMenuOptions,t as createNumberCodec,le as createPageLoading,Nn as createSelectField,gr as createTableAutoCompleteEditor,mr as createTableSelectEditor,ti as createUserPickerSource,ji as default,be as defineActions,Fn as defineFormConfig,jn as defineFormOptions,fr as defineTableColumns,pr as defineTableConfig,Gr as defineTabs,ir as exportTableData,br as flattenRoutes,ge as formatFileSize,Tr as formatTime,Ne as ganttPresetConfigs,de as getFileIcon,Ar as getInitials,Xe as getItem,r as getRetryableKeys,ke as getValidMapMarkers,je as isValidMapCoordinate,Ge as mergeFormConfig,Jn as mergeGlobalConfig,kr as nameToColor,De as normalizeMapZoom,tr as printPresets,Mn as registerRenderer,Je as removeAllItem,Ye as removeItem,Ce as resolveActionPreset,e as resolveComponentDensity,lr as resolveConfig,He as resolveFormConfig,Te as resolveTileConfig,$e as serializeSearch,qe as setItem,ki as setupHighlight,Ve as shouldShowActions,Ae as toAMapPosition,et as treePresetConfigs,Ln as unregisterRenderer,gn as useBookmarks,Dn as useCForm,gt as useCalendarEvents,cr as useCellEdit,un as useChapters,ue as useChunkUpload,ze as useCollapsePanel,ae as useComponentFeedback,ie as useComponentLocale,zt as useCronDescription,Lt as useCronParser,Vt as useCronPreview,rt as useCropperCore,$n as useCrossPageSelection,o as useDataResource,pe as useDragDrop,it as useDraggableLayout,Hn as useDynamicFormState,rr as useDynamicRows,en as useEdgeInteraction,me as useFileHash,Cn as useFilePreview,ee as useFormArray,Pn as useFormDirty,We as useFormGlobalConfig,kn as useFormRenderer,An as useFormState,Zt as useFormulaEvaluator,Yt as useFormulaParser,Sn as useFullscreen,_r as useGlobalSearch,Qt as useGraphBase,$t as useGraphExport,wi as useHighlight,lt as useInfiniteScroll,Gn as useModalEdit,jt as useNotificationCore,Ot as useNotificationFormat,Tt as useNotificationWS,Yn as usePagination,mn as usePlaybackControl,_n as usePlayerCore,Qn as usePrintWatermark,nn as useProgressTracker,nt as useQRCode,st as useResponsiveColumns,Kn as useRowDrag,ur as useRowEdit,Ze as useSearchHistory,Qe as useSearchState,Fe as useSignatureCanvas,Ie as useSignatureExport,Le as useSignatureHistory,Re as useSplitResize,pn as useSubtitle,sr as useTableActions,nr as useTableColumns,Zn as useTableExpand,er as useTableGlobalConfig,Xn as useTableManager,hr as useTableQuery,Cr as useTagsView,Be as useTimeSelection,tt as useTreeOperations,he as useUploadCore,fe as useUploadQueue,s as useValidationScope,dt as useWaterFallLayout,wn as useWorkflowNodes,Tn as useWorkflowPreview,En as useWorkflowValidation,dr as validateTableRowKeys,_e as verifyCaptchaProof};
|
package/dist/index.vue.d.cts
CHANGED
|
@@ -61,19 +61,19 @@ type __VLS_Props = {
|
|
|
61
61
|
};
|
|
62
62
|
declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
63
63
|
error: (error: unknown) => any;
|
|
64
|
-
ended: (index: number) => any;
|
|
65
64
|
play: (index: number) => any;
|
|
66
65
|
pause: () => any;
|
|
66
|
+
ended: (index: number) => any;
|
|
67
67
|
modeChange: (mode: string) => any;
|
|
68
68
|
}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
69
69
|
onError?: ((error: unknown) => any) | undefined;
|
|
70
|
-
onEnded?: ((index: number) => any) | undefined;
|
|
71
70
|
onPlay?: ((index: number) => any) | undefined;
|
|
72
71
|
onPause?: (() => any) | undefined;
|
|
72
|
+
onEnded?: ((index: number) => any) | undefined;
|
|
73
73
|
onModeChange?: ((mode: string) => any) | undefined;
|
|
74
74
|
}>, {
|
|
75
|
+
mode: "single" | "list" | "loop" | "shuffle";
|
|
75
76
|
theme: "default" | "minimal";
|
|
76
|
-
mode: "loop" | "single" | "list" | "shuffle";
|
|
77
77
|
autoplay: boolean;
|
|
78
78
|
initialIndex: number;
|
|
79
79
|
showPlaylist: boolean;
|
package/dist/index.vue.d.ts
CHANGED
|
@@ -61,19 +61,19 @@ type __VLS_Props = {
|
|
|
61
61
|
};
|
|
62
62
|
declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
63
63
|
error: (error: unknown) => any;
|
|
64
|
-
ended: (index: number) => any;
|
|
65
64
|
play: (index: number) => any;
|
|
66
65
|
pause: () => any;
|
|
66
|
+
ended: (index: number) => any;
|
|
67
67
|
modeChange: (mode: string) => any;
|
|
68
68
|
}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
69
69
|
onError?: ((error: unknown) => any) | undefined;
|
|
70
|
-
onEnded?: ((index: number) => any) | undefined;
|
|
71
70
|
onPlay?: ((index: number) => any) | undefined;
|
|
72
71
|
onPause?: (() => any) | undefined;
|
|
72
|
+
onEnded?: ((index: number) => any) | undefined;
|
|
73
73
|
onModeChange?: ((mode: string) => any) | undefined;
|
|
74
74
|
}>, {
|
|
75
|
+
mode: "single" | "list" | "loop" | "shuffle";
|
|
75
76
|
theme: "default" | "minimal";
|
|
76
|
-
mode: "loop" | "single" | "list" | "shuffle";
|
|
77
77
|
autoplay: boolean;
|
|
78
78
|
initialIndex: number;
|
|
79
79
|
showPlaylist: boolean;
|
package/dist/index10.vue.d.ts
CHANGED
|
@@ -23,13 +23,13 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
23
23
|
copyCode: typeof copyCode;
|
|
24
24
|
toggleFullscreen: typeof toggleFullscreen;
|
|
25
25
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
26
|
+
copy: (code: string) => any;
|
|
26
27
|
click: (event: MouseEvent) => any;
|
|
27
28
|
fullscreen: (isFullscreen: boolean) => any;
|
|
28
|
-
copy: (code: string) => any;
|
|
29
29
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
30
|
+
onCopy?: ((code: string) => any) | undefined;
|
|
30
31
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
31
32
|
onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
|
|
32
|
-
onCopy?: ((code: string) => any) | undefined;
|
|
33
33
|
}>, {
|
|
34
34
|
trim: boolean;
|
|
35
35
|
code: string;
|
package/dist/index11.vue.d.cts
CHANGED
|
@@ -23,13 +23,13 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
23
23
|
copyCode: typeof copyCode;
|
|
24
24
|
toggleFullscreen: typeof toggleFullscreen;
|
|
25
25
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
26
|
+
copy: (code: string) => any;
|
|
26
27
|
click: (event: MouseEvent) => any;
|
|
27
28
|
fullscreen: (isFullscreen: boolean) => any;
|
|
28
|
-
copy: (code: string) => any;
|
|
29
29
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
30
|
+
onCopy?: ((code: string) => any) | undefined;
|
|
30
31
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
31
32
|
onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
|
|
32
|
-
onCopy?: ((code: string) => any) | undefined;
|
|
33
33
|
}>, {
|
|
34
34
|
trim: boolean;
|
|
35
35
|
code: string;
|
package/dist/index11.vue.d.ts
CHANGED
|
@@ -62,24 +62,24 @@ declare const __VLS_export: vue.DefineComponent<ContextMenuProps, {
|
|
|
62
62
|
visible: vue.ComputedRef<boolean>;
|
|
63
63
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
64
64
|
select: (item: ContextMenuItem) => any;
|
|
65
|
-
close: () => any;
|
|
66
65
|
open: (position: {
|
|
67
66
|
x: number;
|
|
68
67
|
y: number;
|
|
69
68
|
}) => any;
|
|
69
|
+
close: () => any;
|
|
70
70
|
}, string, vue.PublicProps, Readonly<ContextMenuProps> & Readonly<{
|
|
71
71
|
onSelect?: ((item: ContextMenuItem) => any) | undefined;
|
|
72
|
-
onClose?: (() => any) | undefined;
|
|
73
72
|
onOpen?: ((position: {
|
|
74
73
|
x: number;
|
|
75
74
|
y: number;
|
|
76
75
|
}) => any) | undefined;
|
|
76
|
+
onClose?: (() => any) | undefined;
|
|
77
77
|
}>, {
|
|
78
|
-
items: ContextMenuItem[];
|
|
79
78
|
disabled: boolean;
|
|
80
|
-
|
|
79
|
+
items: ContextMenuItem[];
|
|
81
80
|
zIndex: number;
|
|
82
81
|
minWidth: number;
|
|
82
|
+
maxWidth: number;
|
|
83
83
|
subMenuPlacement: "right" | "left";
|
|
84
84
|
autoClose: boolean;
|
|
85
85
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/dist/index12.vue.d.cts
CHANGED
|
@@ -62,24 +62,24 @@ declare const __VLS_export: vue.DefineComponent<ContextMenuProps, {
|
|
|
62
62
|
visible: vue.ComputedRef<boolean>;
|
|
63
63
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
64
64
|
select: (item: ContextMenuItem) => any;
|
|
65
|
-
close: () => any;
|
|
66
65
|
open: (position: {
|
|
67
66
|
x: number;
|
|
68
67
|
y: number;
|
|
69
68
|
}) => any;
|
|
69
|
+
close: () => any;
|
|
70
70
|
}, string, vue.PublicProps, Readonly<ContextMenuProps> & Readonly<{
|
|
71
71
|
onSelect?: ((item: ContextMenuItem) => any) | undefined;
|
|
72
|
-
onClose?: (() => any) | undefined;
|
|
73
72
|
onOpen?: ((position: {
|
|
74
73
|
x: number;
|
|
75
74
|
y: number;
|
|
76
75
|
}) => any) | undefined;
|
|
76
|
+
onClose?: (() => any) | undefined;
|
|
77
77
|
}>, {
|
|
78
|
-
items: ContextMenuItem[];
|
|
79
78
|
disabled: boolean;
|
|
80
|
-
|
|
79
|
+
items: ContextMenuItem[];
|
|
81
80
|
zIndex: number;
|
|
82
81
|
minWidth: number;
|
|
82
|
+
maxWidth: number;
|
|
83
83
|
subMenuPlacement: "right" | "left";
|
|
84
84
|
autoClose: boolean;
|
|
85
85
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|