@dazhicheng/ui 1.1.1 → 1.4.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/dist/components/tt-form/src/components/FormFilter.vue.d.ts.map +1 -1
- package/dist/components/tt-form/src/form-render/form.vue.d.ts +1 -1
- package/dist/components/tt-form/src/index.vue.d.ts +4 -4
- package/dist/components/tt-loading/index.d.ts +17 -0
- package/dist/components/tt-loading/index.d.ts.map +1 -0
- package/dist/components/tt-loading/src/directive.d.ts +10 -0
- package/dist/components/tt-loading/src/directive.d.ts.map +1 -0
- package/dist/components/tt-loading/src/loading.vue.d.ts +13 -0
- package/dist/components/tt-loading/src/loading.vue.d.ts.map +1 -0
- package/dist/components/tt-loading/src/service.d.ts +26 -0
- package/dist/components/tt-loading/src/service.d.ts.map +1 -0
- package/dist/components/tt-loading/src/type.d.ts +21 -0
- package/dist/components/tt-loading/src/type.d.ts.map +1 -0
- package/dist/components/tt-part/index.d.ts +3 -3
- package/dist/components/tt-part/index.vue.d.ts +1 -1
- package/dist/components/tt-table/index.d.ts +128 -0
- package/dist/components/tt-table/index.d.ts.map +1 -0
- package/dist/components/tt-table/src/Table.vue.d.ts +1746 -0
- package/dist/components/tt-table/src/Table.vue.d.ts.map +1 -0
- package/dist/components/tt-table/src/TableForm.vue.d.ts +163 -0
- package/dist/components/tt-table/src/TableForm.vue.d.ts.map +1 -0
- package/dist/components/tt-table/src/componentMap.d.ts +9 -0
- package/dist/components/tt-table/src/componentMap.d.ts.map +1 -0
- package/dist/components/tt-table/src/components/RowContext.d.ts +25 -0
- package/dist/components/tt-table/src/components/RowContext.d.ts.map +1 -0
- package/dist/components/tt-table/src/components/TableAction.vue.d.ts +80 -0
- package/dist/components/tt-table/src/components/TableAction.vue.d.ts.map +1 -0
- package/dist/components/tt-table/src/components/TableButtons.d.ts +31 -0
- package/dist/components/tt-table/src/components/TableButtons.d.ts.map +1 -0
- package/dist/components/tt-table/src/components/TableToobalTools.vue.d.ts +1685 -0
- package/dist/components/tt-table/src/components/TableToobalTools.vue.d.ts.map +1 -0
- package/dist/components/tt-table/src/emits.d.ts +2 -0
- package/dist/components/tt-table/src/emits.d.ts.map +1 -0
- package/dist/components/tt-table/src/enum.d.ts +3 -0
- package/dist/components/tt-table/src/enum.d.ts.map +1 -0
- package/dist/components/tt-table/src/hooks/useCache.d.ts +21 -0
- package/dist/components/tt-table/src/hooks/useCache.d.ts.map +1 -0
- package/dist/components/tt-table/src/hooks/useCellArea.d.ts +16 -0
- package/dist/components/tt-table/src/hooks/useCellArea.d.ts.map +1 -0
- package/dist/components/tt-table/src/hooks/useColumns.d.ts +32 -0
- package/dist/components/tt-table/src/hooks/useColumns.d.ts.map +1 -0
- package/dist/components/tt-table/src/hooks/useDataSource.d.ts +30 -0
- package/dist/components/tt-table/src/hooks/useDataSource.d.ts.map +1 -0
- package/dist/components/tt-table/src/hooks/useFullscreen.d.ts +12 -0
- package/dist/components/tt-table/src/hooks/useFullscreen.d.ts.map +1 -0
- package/dist/components/tt-table/src/hooks/useLeftRightSlot.d.ts +1083 -0
- package/dist/components/tt-table/src/hooks/useLeftRightSlot.d.ts.map +1 -0
- package/dist/components/tt-table/src/hooks/usePagination.d.ts +103 -0
- package/dist/components/tt-table/src/hooks/usePagination.d.ts.map +1 -0
- package/dist/components/tt-table/src/hooks/useRowSelection.d.ts +31 -0
- package/dist/components/tt-table/src/hooks/useRowSelection.d.ts.map +1 -0
- package/dist/components/tt-table/src/hooks/useTable.d.ts +8 -0
- package/dist/components/tt-table/src/hooks/useTable.d.ts.map +1 -0
- package/dist/components/tt-table/src/hooks/useTableContext.d.ts +44 -0
- package/dist/components/tt-table/src/hooks/useTableContext.d.ts.map +1 -0
- package/dist/components/tt-table/src/hooks/useTableEvent.d.ts +102 -0
- package/dist/components/tt-table/src/hooks/useTableEvent.d.ts.map +1 -0
- package/dist/components/tt-table/src/hooks/useTableForm.d.ts +15 -0
- package/dist/components/tt-table/src/hooks/useTableForm.d.ts.map +1 -0
- package/dist/components/tt-table/src/hooks/useTableFormEvent.d.ts +12 -0
- package/dist/components/tt-table/src/hooks/useTableFormEvent.d.ts.map +1 -0
- package/dist/components/tt-table/src/hooks/useTableHeight.d.ts +16 -0
- package/dist/components/tt-table/src/hooks/useTableHeight.d.ts.map +1 -0
- package/dist/components/tt-table/src/hooks/useTableRender.d.ts +82 -0
- package/dist/components/tt-table/src/hooks/useTableRender.d.ts.map +1 -0
- package/dist/components/tt-table/src/hooks/useTableSlot.d.ts +12 -0
- package/dist/components/tt-table/src/hooks/useTableSlot.d.ts.map +1 -0
- package/dist/components/tt-table/src/props.d.ts +485 -0
- package/dist/components/tt-table/src/props.d.ts.map +1 -0
- package/dist/components/tt-table/src/toolProps.d.ts +102 -0
- package/dist/components/tt-table/src/toolProps.d.ts.map +1 -0
- package/dist/components/tt-table/src/types/table.d.ts +493 -0
- package/dist/components/tt-table/src/types/table.d.ts.map +1 -0
- package/dist/components/tt-table/src/types/tableAction.d.ts +27 -0
- package/dist/components/tt-table/src/types/tableAction.d.ts.map +1 -0
- package/dist/components/tt-table/src/types/tableForm.d.ts +66 -0
- package/dist/components/tt-table/src/types/tableForm.d.ts.map +1 -0
- package/dist/components/tt-table/src/types/tableTools.d.ts +66 -0
- package/dist/components/tt-table/src/types/tableTools.d.ts.map +1 -0
- package/dist/components/tt-table/src/utils/context.d.ts +19 -0
- package/dist/components/tt-table/src/utils/context.d.ts.map +1 -0
- package/dist/components/tt-table/src/utils/filters.d.ts +110 -0
- package/dist/components/tt-table/src/utils/filters.d.ts.map +1 -0
- package/dist/components/tt-table/src/utils/table-api.d.ts +269 -0
- package/dist/components/tt-table/src/utils/table-api.d.ts.map +1 -0
- package/dist/components/tt-table/src/utils/table-form-api.d.ts +89 -0
- package/dist/components/tt-table/src/utils/table-form-api.d.ts.map +1 -0
- package/dist/components/tt-table/src/utils/vxeTable.d.ts +29 -0
- package/dist/components/tt-table/src/utils/vxeTable.d.ts.map +1 -0
- package/dist/components/tt-validate/src/Field.d.ts +1 -1
- package/dist/components/tt-validate/src/Form.d.ts +1 -1
- package/dist/{event-uB4aPtFy.js → event-BgJv9iWk.js} +1 -1
- package/dist/hooks/useSetup.d.ts +6 -0
- package/dist/hooks/useSetup.d.ts.map +1 -0
- package/dist/hooks/useTemplateSlot.d.ts +10 -0
- package/dist/hooks/useTemplateSlot.d.ts.map +1 -0
- package/dist/{icon-vcRgBOnR.js → icon-C9BsRQqM.js} +2 -2
- package/dist/{index-DE2yohHu.js → index-64J4mWP7.js} +2 -2
- package/dist/{index-CMMUpVFZ.js → index-B3w7HVvP.js} +6 -6
- package/dist/{index-Czf6JBRl.js → index-BQgaGlJA.js} +8 -8
- package/dist/{index-DT5rBqSy.js → index-Bq5RXWp8.js} +5 -5
- package/dist/{index-vljoqWNo.js → index-CB2v0taz.js} +1 -1
- package/dist/{index-D_IdZK7s.js → index-C_u1XOy0.js} +7 -7
- package/dist/{index-CRljSNoY.js → index-CdyRKSi4.js} +3 -3
- package/dist/{index-D8ISpbRW.js → index-CjcGE9Xi.js} +10 -10
- package/dist/{index-DqLyz5eN.js → index-CzDjdhem.js} +5 -5
- package/dist/{index-3UkObRxv.js → index-D6x6ZHVk.js} +5 -5
- package/dist/{index-DM7o1Y9_.js → index-DHXyFJLO.js} +1 -1
- package/dist/{index-BtqEcZqo.js → index-DXGnUvsQ.js} +9 -9
- package/dist/{index-BTf1_B_5.js → index-DY3FsmvZ.js} +2 -2
- package/dist/{index-Dn38FMIM.js → index-Dp1l-3ez.js} +2 -2
- package/dist/{index-Dz2-tV0Q.js → index-LRY3g1Bz.js} +6 -6
- package/dist/{index-Mg3lmVPp.js → index-hI7UMWGr.js} +1 -1
- package/dist/index-iFd1yQ1C.js +55785 -0
- package/dist/index.d.ts +3 -11
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +25 -17
- package/dist/{panel-time-pick.vue2-ChVAZVCn.js → panel-time-pick.vue2-C7R5HGb8.js} +10 -10
- package/dist/style.css +1 -1
- package/dist/{use-form-common-props-CiRVSa0R.js → use-form-common-props-CDmM4Wn1.js} +1 -1
- package/dist/{use-form-item-DuAhca9z.js → use-form-item-Bv38v7TO.js} +2 -2
- package/dist/{util-B7hHTw8E.js → util-CWdgKsYq.js} +6 -6
- package/package.json +5 -3
- package/dist/index-DxTPuBYV.js +0 -47918
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { App
|
|
2
|
-
import { BaseFormComponentType } from './components/tt-form';
|
|
1
|
+
import { App } from 'vue';
|
|
3
2
|
export * from './components/tt-area';
|
|
4
3
|
export * from './components/tt-button';
|
|
5
4
|
export * from './components/tt-icon';
|
|
@@ -12,19 +11,12 @@ export * from './components/tt-checkbox';
|
|
|
12
11
|
export * from './components/tt-tree-select';
|
|
13
12
|
export * from './components/tt-form-item-error-tooltip';
|
|
14
13
|
export * from './components/tt-form-adapter';
|
|
14
|
+
export * from './components/tt-table';
|
|
15
|
+
export * from './components/tt-loading';
|
|
15
16
|
/**
|
|
16
17
|
* 表单组件适配器
|
|
17
18
|
* @param options 适配器选项
|
|
18
19
|
*/
|
|
19
|
-
export declare function formAdapter(options: {
|
|
20
|
-
selectComponent?: BaseFormComponentType[];
|
|
21
|
-
inputComponent?: BaseFormComponentType[];
|
|
22
|
-
components?: Partial<Record<BaseFormComponentType, Component>>;
|
|
23
|
-
defineRules?: {
|
|
24
|
-
[key: string]: (value: any, params: any, ctx: Record<string, any>) => boolean | string;
|
|
25
|
-
};
|
|
26
|
-
modelPropNameMap?: Partial<Record<BaseFormComponentType, string>>;
|
|
27
|
-
}): void;
|
|
28
20
|
declare const _default: {
|
|
29
21
|
install: (app: App) => void;
|
|
30
22
|
};
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAU,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAU,MAAM,KAAK,CAAC;AAuCvC,OAAO,aAAa,CAAC;AACrB,OAAO,wBAAwB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,cAAc,CAAC;AAC7B,cAAc,wBAAwB,CAAC;AACvC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yCAAyC,CAAC;AAExD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AAExC;;;GAGG;;mBA9BmB,GAAG;;AA4CzB,wBAEE"}
|
package/dist/index.js
CHANGED
|
@@ -1,24 +1,32 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ae as s, R as t, T as o, O as T, $ as r, Z as l, a2 as d, a1 as n, P as i, ac as u, Q as b, Y as m, a6 as p, a7 as c, _ as R, a0 as x, X as F, M as g, V as M, W as S, a3 as C, a4 as E, S as L, a8 as f, a9 as z, aa as A, ab as B, ad as I, a5 as h } from "./index-iFd1yQ1C.js";
|
|
2
2
|
export {
|
|
3
|
-
s as
|
|
4
|
-
|
|
5
|
-
o as
|
|
6
|
-
T as
|
|
7
|
-
r as
|
|
3
|
+
s as Loading,
|
|
4
|
+
t as RenderModal,
|
|
5
|
+
o as TtArea,
|
|
6
|
+
T as TtButton,
|
|
7
|
+
r as TtCheckbox,
|
|
8
|
+
l as TtEmpty,
|
|
8
9
|
d as TtErrorTooltip,
|
|
9
|
-
|
|
10
|
+
n as TtFormItemErrorTooltip,
|
|
10
11
|
i as TtIcon,
|
|
11
|
-
|
|
12
|
+
u as TtLoading,
|
|
13
|
+
b as TtModal,
|
|
12
14
|
m as TtSelect,
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
p as TtTableAction,
|
|
16
|
+
c as TtTableButton,
|
|
17
|
+
R as TtText,
|
|
18
|
+
x as TtTreeSelect,
|
|
19
|
+
F as autoTip,
|
|
20
|
+
g as default,
|
|
21
|
+
M as dialogResize,
|
|
18
22
|
S as disabledTip,
|
|
19
|
-
|
|
20
|
-
x as initSetupForm,
|
|
23
|
+
C as initSetupForm,
|
|
21
24
|
E as useForm,
|
|
22
|
-
|
|
23
|
-
|
|
25
|
+
L as useModalRender,
|
|
26
|
+
f as useTableContext,
|
|
27
|
+
z as useTableFormContext,
|
|
28
|
+
A as useTableFormRender,
|
|
29
|
+
B as useTableRender,
|
|
30
|
+
I as vTtLoading,
|
|
31
|
+
h as z
|
|
24
32
|
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { A as Kt, B as Ut, D as it, a as re, j as Te, U as wt, c as jt, d as fe, C as xe, E as qt, F as Zt, N as ut, o as Gt, f as Jt, e as Xt } from "./index-
|
|
1
|
+
import { A as Kt, B as Ut, D as it, a as re, j as Te, U as wt, c as jt, d as fe, C as xe, E as qt, F as Zt, N as ut, o as Gt, f as Jt, e as Xt } from "./index-iFd1yQ1C.js";
|
|
2
2
|
import { ref as N, computed as F, defineComponent as be, reactive as St, createElementBlock as X, openBlock as Y, normalizeStyle as Re, normalizeClass as W, unref as t, renderSlot as Ae, createElementVNode as se, mergeProps as Qe, useAttrs as Qt, inject as Fe, watch as Ye, nextTick as he, onBeforeUnmount as kt, provide as et, createBlock as G, withCtx as Q, withModifiers as Me, createCommentVNode as de, resolveDynamicComponent as Le, toDisplayString as ce, toRef as ct, Transition as Pt, withDirectives as tt, vShow as ea, Fragment as le, createVNode as $e, onActivated as ta, onMounted as Ct, onUpdated as aa, renderList as ze, createTextVNode as _e } from "vue";
|
|
3
3
|
import { onClickOutside as na, unrefElement as oa, useEventListener as at, isClient as sa, useResizeObserver as dt } from "@vueuse/core";
|
|
4
|
-
import { u as la, E as ra } from "./index-
|
|
5
|
-
import { E as De, a as ft, g as ia } from "./index-
|
|
6
|
-
import { u as ua, E as ca, a as pt, b as da, c as fa, B as pa, r as ma, G as Ce } from "./util-
|
|
4
|
+
import { u as la, E as ra } from "./index-C_u1XOy0.js";
|
|
5
|
+
import { E as De, a as ft, g as ia } from "./index-64J4mWP7.js";
|
|
6
|
+
import { u as ua, E as ca, a as pt, b as da, c as fa, B as pa, r as ma, G as Ce } from "./util-CWdgKsYq.js";
|
|
7
7
|
import { isEqual as va, debounce as ha } from "lodash-es";
|
|
8
8
|
import { u as Mt } from "./index-BQfVaV7A.js";
|
|
9
|
-
import { p as Et, b as pe, a as q, u as ga, j as ba, h as ya, d as Ke, e as Ie, t as wa, w as Sa, g as ka } from "./use-form-common-props-
|
|
10
|
-
import { u as Dt } from "./index-
|
|
11
|
-
import { u as It, a as Pa } from "./use-form-item-
|
|
12
|
-
import { u as Tt } from "./index-
|
|
13
|
-
import { g as At, E as Ee } from "./event-
|
|
14
|
-
import { v as mt } from "./index-
|
|
9
|
+
import { p as Et, b as pe, a as q, u as ga, j as ba, h as ya, d as Ke, e as Ie, t as wa, w as Sa, g as ka } from "./use-form-common-props-CDmM4Wn1.js";
|
|
10
|
+
import { u as Dt } from "./index-CB2v0taz.js";
|
|
11
|
+
import { u as It, a as Pa } from "./use-form-item-Bv38v7TO.js";
|
|
12
|
+
import { u as Tt } from "./index-DY3FsmvZ.js";
|
|
13
|
+
import { g as At, E as Ee } from "./event-BgJv9iWk.js";
|
|
14
|
+
import { v as mt } from "./index-DHXyFJLO.js";
|
|
15
15
|
var Rt = { exports: {} };
|
|
16
16
|
(function(n, d) {
|
|
17
17
|
(function(l, a) {
|