@dazhicheng/ui 1.5.243 → 1.5.245

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.
@@ -0,0 +1,98 @@
1
+ import { TtFormSchema } from '../components/tt-form';
2
+ import { Recordable } from '../../../utils/src';
3
+ import { MaybeRef, Ref } from 'vue';
4
+ import { BasicDataCode, BasicDataOption, PanelSelectGroupBy } from './basicDataCodes';
5
+ import { BasicDataOptionsMap } from './useBasicDataOptions';
6
+ type FieldComponentProps = Recordable | ((values: Recordable, actions: any, options: BasicDataOption[]) => Recordable);
7
+ export interface PanelSelectFieldOnChangeContext {
8
+ values: Recordable;
9
+ actions: any;
10
+ fieldName: string;
11
+ code: BasicDataCode;
12
+ options: BasicDataOption[];
13
+ currentOption: BasicDataOption[] | BasicDataOption | undefined;
14
+ }
15
+ export interface PanelSelectExcludeConfig {
16
+ /** 排除字段名 */
17
+ fieldName: string;
18
+ /** 排除字段标签,默认取 CODE_REGISTRY.defaultExcludeLabel */
19
+ label?: string;
20
+ /** 返回解构 key,默认 exclude + Pascal(主字段 key) */
21
+ key?: string;
22
+ /** 排除字段是否展示「全部」,默认 false */
23
+ showAll?: boolean;
24
+ showAllField?: string | number;
25
+ multiple?: boolean;
26
+ componentProps?: FieldComponentProps;
27
+ dependencies?: TtFormSchema["dependencies"];
28
+ onChange?: (value: unknown, context: PanelSelectFieldOnChangeContext) => void;
29
+ rules?: TtFormSchema["rules"];
30
+ }
31
+ export interface PanelSelectFieldConfig {
32
+ code: BasicDataCode;
33
+ /**
34
+ * 返回解构名。
35
+ * 默认:唯一 code 用 code;同 code 多字段时用 fieldName(缺省则用 registry 默认 fieldName)。
36
+ */
37
+ key?: string;
38
+ fieldName?: string;
39
+ label?: string;
40
+ multiple?: boolean;
41
+ showAll?: boolean;
42
+ showAllField?: string | number;
43
+ componentProps?: FieldComponentProps;
44
+ dependencies?: TtFormSchema["dependencies"];
45
+ onChange?: (value: unknown, context: PanelSelectFieldOnChangeContext) => void;
46
+ rules?: TtFormSchema["rules"];
47
+ /** 与另一字段互斥:填对方的 fieldName */
48
+ mutexWith?: string;
49
+ /** 同 code 数据源的排除字段联动 */
50
+ exclude?: PanelSelectExcludeConfig;
51
+ /**
52
+ * 分组方式。
53
+ * - 机场默认 `country`(按国家)
54
+ * - 可传 `continent` / `region` / `country` / `pinyin`
55
+ * - 也可用 `GROUP_BY.CONTINENT` 等常量
56
+ */
57
+ groupBy?: PanelSelectGroupBy;
58
+ /** 自定义过滤完整 options(过滤在分组前执行,入参为扁平 options) */
59
+ customOptions?: (values: Recordable, options: BasicDataOption[]) => BasicDataOption[];
60
+ }
61
+ export interface UsePanelSelectSchemasOptions {
62
+ dataSource?: MaybeRef<BasicDataOptionsMap | undefined>;
63
+ }
64
+ /**
65
+ * 基础数据 PanelSelect schema hooks。
66
+ *
67
+ * - 按 CODES 拉取 options;接口失败时兜底空数组,不影响 schema 生成
68
+ * - 默认组件 TtPanelSelect
69
+ * - 支持 exclude 排除联动、mutexWith 互斥过滤
70
+ * - 同 code 多字段时自动用 fieldName 作为返回解构名,避免互相覆盖
71
+ *
72
+ * @example
73
+ * ```ts
74
+ * const { airline, excludeAirline, depAirport, arrAirport } = usePanelSelectSchemas([
75
+ * {
76
+ * code: CODES.AIRLINE,
77
+ * fieldName: 'airlineCodes',
78
+ * exclude: { fieldName: 'excludeAirlineCodes', label: '排除航司' },
79
+ * },
80
+ * {
81
+ * code: CODES.AIRPORT,
82
+ * fieldName: 'depAirport',
83
+ * label: '出发',
84
+ * mutexWith: 'arrAirport',
85
+ * },
86
+ * {
87
+ * code: CODES.AIRPORT,
88
+ * fieldName: 'arrAirport',
89
+ * label: '到达',
90
+ * mutexWith: 'depAirport',
91
+ * },
92
+ * ]);
93
+ * ```
94
+ */
95
+ export declare function usePanelSelectSchemas(fields: PanelSelectFieldConfig[], options?: UsePanelSelectSchemasOptions): Record<string, TtFormSchema> & {
96
+ dataSource: Ref<Record<BasicDataCode, BasicDataOption[]>>;
97
+ };
98
+ export {};
@@ -0,0 +1,211 @@
1
+ import "axios";
2
+ import "element-plus";
3
+ import { isFunction as j } from "../packages/utils/src/is.js";
4
+ import "vue";
5
+ import "xe-utils";
6
+ import "dayjs";
7
+ import "dayjs/plugin/utc";
8
+ import "dayjs/plugin/timezone";
9
+ import "../node_modules/.pnpm/decimal.js@10.6.0/node_modules/decimal.js/decimal.js";
10
+ import "../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/aes.js";
11
+ import "../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/enc-utf8.js";
12
+ import "../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/mode-ecb.js";
13
+ import "../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/pad-pkcs7.js";
14
+ import { omit as L } from "lodash-es";
15
+ import { CODE_REGISTRY as C, resolveDefaultGroupBy as ee, GROUP_BY as te, groupBasicDataOptions as U } from "./basicDataCodes.js";
16
+ import { useBasicDataOptions as ne } from "./useBasicDataOptions.js";
17
+ const N = "all";
18
+ function d(t) {
19
+ return Array.isArray(t) ? t : t == null || t === "" ? [] : [t];
20
+ }
21
+ function oe(t, n = N) {
22
+ return t === n ? !0 : typeof t == "string" && typeof n == "string" && t.toLowerCase() === String(n).toLowerCase();
23
+ }
24
+ function re(t, n = N) {
25
+ return d(t).some((r) => oe(r, n));
26
+ }
27
+ function se(t) {
28
+ return t.replace(/[-_]+/g, " ").replace(/([a-z])([A-Z])/g, "$1 $2").split(/\s+/).filter(Boolean).map((n) => n.charAt(0).toUpperCase() + n.slice(1)).join("");
29
+ }
30
+ function W(t, n, r, s) {
31
+ return t ? j(t) ? t(n, r, s) : t : {};
32
+ }
33
+ function Y(t, n, r, s) {
34
+ const p = new Set(r.map((e) => e.value)), l = t[n];
35
+ if (s) {
36
+ const e = d(l).filter((u) => p.has(u)), c = d(l);
37
+ (e.length !== c.length || e.some((u, S) => u !== c[S])) && (t[n] = e);
38
+ return;
39
+ }
40
+ l == null || l === "" || p.has(l) || (t[n] = void 0);
41
+ }
42
+ function $(t, n, r, s, p, l) {
43
+ const e = l ? p.filter((c) => d(r[n]).includes(c.value)) : p.find((c) => c.value === r[n]);
44
+ return {
45
+ values: r,
46
+ actions: s,
47
+ fieldName: n,
48
+ code: t,
49
+ options: p,
50
+ currentOption: e
51
+ };
52
+ }
53
+ function z(t, n, r) {
54
+ const s = d(t);
55
+ if (!s.length) return [];
56
+ if (re(t, r)) return n;
57
+ const p = new Set(s);
58
+ return n.filter((l) => p.has(l.value));
59
+ }
60
+ function K(t, n) {
61
+ const r = new Set(d(t));
62
+ return r.size ? n.filter((s) => !r.has(s.value)) : n;
63
+ }
64
+ function V(t, n) {
65
+ var s;
66
+ const r = (s = t.value) == null ? void 0 : s[n];
67
+ return Array.isArray(r) ? r : [];
68
+ }
69
+ function ge(t, n = {}) {
70
+ const r = [...new Set(t.map((e) => e.code))], s = t.reduce(
71
+ (e, c) => (e[c.code] = (e[c.code] || 0) + 1, e),
72
+ {}
73
+ ), { dataSource: p } = ne({
74
+ codes: r,
75
+ dataSource: n.dataSource
76
+ }), l = {};
77
+ return t.forEach((e) => {
78
+ var G;
79
+ const c = C[e.code], u = e.fieldName || c.defaultFieldName, S = e.key || ((s[e.code] || 0) > 1 ? u : e.code), T = e.label || c.defaultLabel, _ = e.multiple ?? c.defaultMultiple, q = e.showAll ?? c.defaultShowAll, b = e.showAllField ?? N, m = e.mutexWith, E = ee(e.code, e.groupBy), F = E !== te.PINYIN, Z = [
80
+ ...m ? [m] : [],
81
+ ...((G = e.dependencies) == null ? void 0 : G.triggerFields) || []
82
+ ], k = [...new Set(Z)], H = L(e.dependencies || {}, ["triggerFields"]), J = k.length ? {
83
+ ...H,
84
+ triggerFields: k
85
+ } : e.dependencies, M = {
86
+ component: "TtPanelSelect",
87
+ fieldName: u,
88
+ label: T,
89
+ rules: e.rules,
90
+ dependencies: J,
91
+ componentProps: (o, x) => {
92
+ const A = V(p, e.code);
93
+ let a = m ? K(o[m], A) : A;
94
+ j(e.customOptions) && (a = e.customOptions(o, a) || []);
95
+ const O = F ? U(a, E) : a, B = W(e.componentProps, o, x, a), { onChange: I, ...P } = B;
96
+ return {
97
+ multiple: _,
98
+ showAll: q,
99
+ showAllField: b,
100
+ showNav: !1,
101
+ showOriginMode: !1,
102
+ showPinyinMode: !F,
103
+ ...P,
104
+ options: O,
105
+ onChange(w) {
106
+ var y;
107
+ if (m) {
108
+ const i = Array.isArray(o[m]), h = K(w, A);
109
+ Y(o, m, h, i);
110
+ }
111
+ if (e.exclude) {
112
+ const i = e.exclude.fieldName, h = e.exclude.multiple ?? !0, D = z(w, A, b);
113
+ d(w).length ? Y(o, i, D, h) : o[i] = h ? [] : void 0;
114
+ }
115
+ (y = e.onChange) == null || y.call(
116
+ e,
117
+ w,
118
+ $(e.code, u, o, x, a, _)
119
+ );
120
+ }
121
+ };
122
+ }
123
+ };
124
+ if (l[S] = {
125
+ ...M,
126
+ ...L(e, [
127
+ "code",
128
+ "key",
129
+ "fieldName",
130
+ "label",
131
+ "multiple",
132
+ "showAll",
133
+ "showAllField",
134
+ "componentProps",
135
+ "dependencies",
136
+ "onChange",
137
+ "rules",
138
+ "mutexWith",
139
+ "exclude",
140
+ "groupBy",
141
+ "customOptions"
142
+ ]),
143
+ fieldName: u,
144
+ label: T,
145
+ rules: e.rules,
146
+ dependencies: M.dependencies,
147
+ componentProps: M.componentProps,
148
+ component: "TtPanelSelect"
149
+ }, e.exclude) {
150
+ const o = e.exclude, x = o.fieldName, A = o.key || `exclude${se(S)}`, a = o.label || c.defaultExcludeLabel, O = o.multiple ?? !0, B = o.showAll ?? !1, I = o.showAllField ?? N, P = o.dependencies || {}, w = {
151
+ ...P,
152
+ triggerFields: P.triggerFields ?? [u],
153
+ if: P.if ?? ((i) => d(i[u]).length > 0)
154
+ }, y = {
155
+ component: "TtPanelSelect",
156
+ fieldName: x,
157
+ label: a,
158
+ rules: o.rules,
159
+ dependencies: w,
160
+ componentProps: (i, h) => {
161
+ const D = V(p, e.code), g = z(i[u], D, b), Q = F ? U(g, E) : g, X = W(o.componentProps, i, h, g), { onChange: ce, ...v } = X;
162
+ return {
163
+ multiple: O,
164
+ showAll: B,
165
+ showAllField: I,
166
+ showNav: !1,
167
+ showOriginMode: !1,
168
+ showPinyinMode: !F,
169
+ ...v,
170
+ options: Q,
171
+ onChange(f) {
172
+ var R;
173
+ (R = o.onChange) == null || R.call(
174
+ o,
175
+ f,
176
+ $(e.code, x, i, h, g, O)
177
+ );
178
+ }
179
+ };
180
+ }
181
+ };
182
+ l[A] = {
183
+ ...y,
184
+ ...L(o, [
185
+ "fieldName",
186
+ "label",
187
+ "key",
188
+ "showAll",
189
+ "showAllField",
190
+ "multiple",
191
+ "componentProps",
192
+ "dependencies",
193
+ "onChange",
194
+ "rules"
195
+ ]),
196
+ fieldName: x,
197
+ label: a,
198
+ rules: o.rules,
199
+ dependencies: y.dependencies,
200
+ componentProps: y.componentProps,
201
+ component: "TtPanelSelect"
202
+ };
203
+ }
204
+ }), {
205
+ ...l,
206
+ dataSource: p
207
+ };
208
+ }
209
+ export {
210
+ ge as usePanelSelectSchemas
211
+ };
package/dist/index.d.ts CHANGED
@@ -24,6 +24,9 @@ export * from './components/tt-panel-select';
24
24
  export * from './components/tt-radio-group';
25
25
  export { useFormSchemasLink } from './hooks/useFormSchemasLink';
26
26
  export { useDataPermissionOptions } from './hooks/useDataPermissionOptions';
27
+ export { useBasicDataOptions } from './hooks/useBasicDataOptions';
28
+ export { usePanelSelectSchemas, type PanelSelectFieldConfig, type PanelSelectExcludeConfig, } from './hooks/usePanelSelectSchemas';
29
+ export { CODES, GROUP_BY, type BasicDataCode, type PanelSelectGroupBy } from './hooks/basicDataCodes';
27
30
  export { useFormat } from './hooks/useFormat';
28
31
  export { useLoading } from './hooks/useLoading';
29
32
  export { useScreenshotOss, type ScreenshotOssComponentOptions, type ScreenshotOssDataUrlResult, type ScreenshotOssOptions, type ScreenshotOssResult, } from './hooks/useScreenshotOss';
package/dist/index.js CHANGED
@@ -1,10 +1,10 @@
1
- import { TtButton as f } from "./components/tt-button/index.js";
2
- import { TtAddButton as fr } from "./components/tt-button/index.js";
3
- import { TtCheckbox as a } from "./components/tt-checkbox/index.js";
1
+ import { TtButton as a } from "./components/tt-button/index.js";
2
+ import { TtAddButton as ar } from "./components/tt-button/index.js";
3
+ import { TtCheckbox as f } from "./components/tt-checkbox/index.js";
4
4
  import { TtEmpty as p } from "./components/tt-empty/index.js";
5
- import { addComponent as d, setConfig as i } from "./components/tt-form/index.js";
6
- import { TtFormItemErrorTooltip as s } from "./components/tt-form-item-error-tooltip/index.js";
7
- import { TtIcon as T, TtAddIcon as x, TtSubIcon as u } from "./components/tt-icon/index.js";
5
+ import { addComponent as s, setConfig as i } from "./components/tt-form/index.js";
6
+ import { TtFormItemErrorTooltip as d } from "./components/tt-form-item-error-tooltip/index.js";
7
+ import { TtIcon as x, TtAddIcon as T, TtSubIcon as u } from "./components/tt-icon/index.js";
8
8
  import { TtImage as l } from "./components/tt-image/index.js";
9
9
  import { RenderDrawer as n } from "./components/tt-drawer/index.js";
10
10
  import { RenderModal as c } from "./components/tt-modal/index.js";
@@ -12,81 +12,84 @@ import { TtModal as pr } from "./components/tt-modal/index.js";
12
12
  import { TtSelect as b } from "./components/tt-select/index.js";
13
13
  import { TtText as w } from "./components/tt-text/index.js";
14
14
  import { TtUpload as R } from "./components/tt-upload/index.js";
15
- import { TtNavAnchor as g } from "./components/tt-nav-anchor/index.js";
16
- import { TtApiComponent as h } from "./components/tt-api-component/index.js";
15
+ import { TtNavAnchor as h } from "./components/tt-nav-anchor/index.js";
16
+ import { TtApiComponent as g } from "./components/tt-api-component/index.js";
17
17
  import * as e from "./directives/index.js";
18
18
  import { setup as M } from "./hooks/useSetup.js";
19
- import { TtLog as A } from "./components/tt-log/index.js";
20
- import { TtPanelSelect as C } from "./components/tt-panel-select/index.js";
21
- import { TtRadioGroup as F } from "./components/tt-radio-group/index.js";
19
+ import { TtLog as S } from "./components/tt-log/index.js";
20
+ import { TtPanelSelect as A } from "./components/tt-panel-select/index.js";
21
+ import { TtRadioGroup as C } from "./components/tt-radio-group/index.js";
22
22
  import { setXHR as ir } from "./utils/xhr.js";
23
23
  /* empty css */
24
24
  /* empty css */
25
25
  /* empty css */
26
26
  /* empty css */
27
- import { default as Tr } from "./components/tt-area/TtArea.vue.js";
27
+ import { default as xr } from "./components/tt-area/TtArea.vue.js";
28
28
  import { useModalForm as ur } from "./components/tt-modal-form/useModalForm.js";
29
29
  import { TtLoading as nr } from "./components/tt-loading/index.js";
30
30
  import { TtTable as br, TtTableAction as wr, TtTableButton as Rr } from "./components/tt-table/index.js";
31
- import { useFormSchemasLink as hr } from "./hooks/useFormSchemasLink.js";
32
- import { useDataPermissionOptions as Ar } from "./hooks/useDataPermissionOptions.js";
33
- import { useFormat as Fr } from "./hooks/useFormat.js";
34
- import { useLoading as Lr } from "./hooks/useLoading.js";
35
- import { useScreenshotOss as Ir } from "./hooks/useScreenshotOss.js";
31
+ import { useFormSchemasLink as gr } from "./hooks/useFormSchemasLink.js";
32
+ import { useDataPermissionOptions as Sr } from "./hooks/useDataPermissionOptions.js";
33
+ import { useBasicDataOptions as Cr } from "./hooks/useBasicDataOptions.js";
34
+ import { usePanelSelectSchemas as Fr } from "./hooks/usePanelSelectSchemas.js";
35
+ import { CODES as Pr, GROUP_BY as Lr } from "./hooks/basicDataCodes.js";
36
+ import { useFormat as Ir } from "./hooks/useFormat.js";
37
+ import { useLoading as vr } from "./hooks/useLoading.js";
38
+ import { useScreenshotOss as Nr } from "./hooks/useScreenshotOss.js";
36
39
  import { setupDrawer as D } from "./components/tt-drawer/src/index.js";
37
- import { useShowDrawer as Er } from "./components/tt-drawer/src/index.js";
38
- import { setupModal as L } from "./components/tt-modal/src/index.js";
39
- import { useShowModal as vr } from "./components/tt-modal/src/index.js";
40
- import { default as Nr } from "./directives/disabled-tip/index.js";
41
- import { default as kr } from "./directives/auto-tip/index.js";
42
- import { showTtDrawer as Ur, useDrawerRender as $r } from "./components/tt-drawer/src/hooks/useDrawerRender.js";
43
- import { useDrawerResizable as yr } from "./components/tt-drawer/src/hooks/useResizable.js";
44
- import { showTtModal as Vr, useModalRender as Xr } from "./components/tt-modal/src/hooks/useModalRender.js";
45
- import { default as _r } from "./directives/dialog-resize/index.js";
40
+ import { useShowDrawer as Ur } from "./components/tt-drawer/src/index.js";
41
+ import { setupModal as F } from "./components/tt-modal/src/index.js";
42
+ import { useShowModal as _r } from "./components/tt-modal/src/index.js";
43
+ import { default as jr } from "./directives/disabled-tip/index.js";
44
+ import { default as Hr } from "./directives/auto-tip/index.js";
45
+ import { showTtDrawer as Xr, useDrawerRender as Yr } from "./components/tt-drawer/src/hooks/useDrawerRender.js";
46
+ import { useDrawerResizable as qr } from "./components/tt-drawer/src/hooks/useResizable.js";
47
+ import { showTtModal as Kr, useModalRender as Qr } from "./components/tt-modal/src/hooks/useModalRender.js";
48
+ import { default as ro } from "./directives/dialog-resize/index.js";
46
49
  import * as rr from "zod";
47
- import { useGroupForm as Jr } from "./components/tt-form/src/group-form/useGroupForm.js";
48
- import { COMPONENT_MAP as Qr } from "./components/tt-form/src/config.js";
49
- import { useForm as Yr } from "./components/tt-form/src/useForm.js";
50
- import { TtImageViewer as oo } from "./components/tt-image/src/components/ImageViewer.js";
51
- import { vTtLoading as to } from "./components/tt-loading/src/directive.js";
52
- import { Loading as fo } from "./components/tt-loading/src/service.js";
53
- import { useTableContext as po, useTableFormContext as io } from "./components/tt-table/src/hooks/useTableContext.js";
54
- import { useTableFormRender as To, useTableRender as xo } from "./components/tt-table/src/hooks/useTableRender.js";
55
- import { ttUploadProps as lo } from "./components/tt-upload/src/typing.js";
56
- const S = [
57
- f,
50
+ import { useGroupForm as eo } from "./components/tt-form/src/group-form/useGroupForm.js";
51
+ import { COMPONENT_MAP as mo } from "./components/tt-form/src/config.js";
52
+ import { useForm as fo } from "./components/tt-form/src/useForm.js";
53
+ import { TtImageViewer as so } from "./components/tt-image/src/components/ImageViewer.js";
54
+ import { vTtLoading as xo } from "./components/tt-loading/src/directive.js";
55
+ import { Loading as uo } from "./components/tt-loading/src/service.js";
56
+ import { useTableContext as no, useTableFormContext as co } from "./components/tt-table/src/hooks/useTableContext.js";
57
+ import { useTableFormRender as wo, useTableRender as Ro } from "./components/tt-table/src/hooks/useTableRender.js";
58
+ import { ttUploadProps as go } from "./components/tt-upload/src/typing.js";
59
+ const O = [
60
+ a,
58
61
  n,
59
62
  c,
60
- T,
63
+ x,
61
64
  b,
62
65
  p,
63
66
  w,
64
- a,
65
- s,
67
+ f,
68
+ d,
66
69
  l,
67
70
  R,
68
- g,
69
- x,
70
- u,
71
71
  h,
72
+ T,
73
+ u,
74
+ g,
75
+ S,
72
76
  A,
73
- C,
74
- F
75
- ], I = (r) => {
76
- S.forEach((o) => r.use(o)), Object.keys(e).forEach((o) => {
77
+ C
78
+ ], P = (r) => {
79
+ O.forEach((o) => r.use(o)), Object.keys(e).forEach((o) => {
77
80
  const t = e[o], m = o.replace(/([A-Z])/g, "-$1").toLowerCase();
78
81
  r.directive(m, t);
79
- }), D(r), L(r);
82
+ }), D(r), F(r);
80
83
  };
81
84
  function or(r) {
82
- d(r == null ? void 0 : r.components), i(r == null ? void 0 : r.defineRules, r == null ? void 0 : r.modelPropNameMap);
85
+ s(r == null ? void 0 : r.components), i(r == null ? void 0 : r.defineRules, r == null ? void 0 : r.modelPropNameMap);
83
86
  }
84
87
  const er = {
85
88
  /**
86
89
  * 安装组件
87
90
  * @param app Vue 应用实例
88
91
  */
89
- install: I,
92
+ install: P,
90
93
  /**
91
94
  * 全局参数设置
92
95
  * @param options 全局参数
@@ -95,26 +98,28 @@ const er = {
95
98
  setup: M
96
99
  };
97
100
  export {
98
- Qr as COMPONENT_MAP,
99
- fo as Loading,
101
+ Pr as CODES,
102
+ mo as COMPONENT_MAP,
103
+ Lr as GROUP_BY,
104
+ uo as Loading,
100
105
  n as RenderDrawer,
101
106
  c as RenderModal,
102
- fr as TtAddButton,
103
- x as TtAddIcon,
104
- h as TtApiComponent,
105
- Tr as TtArea,
106
- f as TtButton,
107
- a as TtCheckbox,
107
+ ar as TtAddButton,
108
+ T as TtAddIcon,
109
+ g as TtApiComponent,
110
+ xr as TtArea,
111
+ a as TtButton,
112
+ f as TtCheckbox,
108
113
  p as TtEmpty,
109
- T as TtIcon,
114
+ x as TtIcon,
110
115
  l as TtImage,
111
- oo as TtImageViewer,
116
+ so as TtImageViewer,
112
117
  nr as TtLoading,
113
- A as TtLog,
118
+ S as TtLog,
114
119
  pr as TtModal,
115
- g as TtNavAnchor,
116
- C as TtPanelSelect,
117
- F as TtRadioGroup,
120
+ h as TtNavAnchor,
121
+ A as TtPanelSelect,
122
+ C as TtRadioGroup,
118
123
  b as TtSelect,
119
124
  u as TtSubIcon,
120
125
  br as TtTable,
@@ -122,36 +127,38 @@ export {
122
127
  Rr as TtTableButton,
123
128
  w as TtText,
124
129
  R as TtUpload,
125
- d as addComponent,
126
- kr as autoTip,
130
+ s as addComponent,
131
+ Hr as autoTip,
127
132
  er as default,
128
- _r as dialogResize,
129
- Nr as disabledTip,
133
+ ro as dialogResize,
134
+ jr as disabledTip,
130
135
  or as formAdapter,
131
136
  i as setConfig,
132
137
  ir as setXHR,
133
138
  D as setupDrawer,
134
- L as setupModal,
135
- Ur as showTtDrawer,
136
- Vr as showTtModal,
137
- lo as ttUploadProps,
138
- Ar as useDataPermissionOptions,
139
- $r as useDrawerRender,
140
- yr as useDrawerResizable,
141
- Yr as useForm,
142
- hr as useFormSchemasLink,
143
- Fr as useFormat,
144
- Jr as useGroupForm,
145
- Lr as useLoading,
139
+ F as setupModal,
140
+ Xr as showTtDrawer,
141
+ Kr as showTtModal,
142
+ go as ttUploadProps,
143
+ Cr as useBasicDataOptions,
144
+ Sr as useDataPermissionOptions,
145
+ Yr as useDrawerRender,
146
+ qr as useDrawerResizable,
147
+ fo as useForm,
148
+ gr as useFormSchemasLink,
149
+ Ir as useFormat,
150
+ eo as useGroupForm,
151
+ vr as useLoading,
146
152
  ur as useModalForm,
147
- Xr as useModalRender,
148
- Ir as useScreenshotOss,
149
- Er as useShowDrawer,
150
- vr as useShowModal,
151
- po as useTableContext,
152
- io as useTableFormContext,
153
- To as useTableFormRender,
154
- xo as useTableRender,
155
- to as vTtLoading,
153
+ Qr as useModalRender,
154
+ Fr as usePanelSelectSchemas,
155
+ Nr as useScreenshotOss,
156
+ Ur as useShowDrawer,
157
+ _r as useShowModal,
158
+ no as useTableContext,
159
+ co as useTableFormContext,
160
+ wo as useTableFormRender,
161
+ Ro as useTableRender,
162
+ xo as vTtLoading,
156
163
  rr as z
157
164
  };