@dazhicheng/ui 1.6.10 → 1.6.12

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.
Files changed (86) hide show
  1. package/dist/components/tt-form/src/useFormContext.js +1 -1
  2. package/dist/components/tt-table/index.js +4 -5
  3. package/dist/components/tt-table/src/TableForm.vue.js +2 -3
  4. package/dist/hooks/useBasicDataOptions.js +111 -96
  5. package/dist/hooks/useDataPermissionOptions.js +83 -85
  6. package/dist/hooks/useOwnerRoutePath.d.ts +5 -0
  7. package/dist/hooks/useOwnerRoutePath.js +7 -0
  8. package/dist/index.d.ts +0 -1
  9. package/dist/index.js +115 -129
  10. package/dist/packages/utils/src/is.js +37 -46
  11. package/dist/style.css +1 -1
  12. package/package.json +1 -1
  13. package/dist/components/tt-vtable/index.js +0 -54
  14. package/dist/components/tt-vtable/src/components/TtVTable.vue.d.ts +0 -188
  15. package/dist/components/tt-vtable/src/components/TtVTable.vue.js +0 -227
  16. package/dist/components/tt-vtable/src/components/TtVTable.vue2.js +0 -4
  17. package/dist/components/tt-vtable/src/components/TtVTableForm.vue.d.ts +0 -32
  18. package/dist/components/tt-vtable/src/components/TtVTableForm.vue.js +0 -121
  19. package/dist/components/tt-vtable/src/components/TtVTableForm.vue2.js +0 -4
  20. package/dist/components/tt-vtable/src/components/VTableEmpty.vue.d.ts +0 -64
  21. package/dist/components/tt-vtable/src/components/VTableEmpty.vue.js +0 -97
  22. package/dist/components/tt-vtable/src/components/VTableEmpty.vue2.js +0 -4
  23. package/dist/components/tt-vtable/src/components/VTablePagination.vue.d.ts +0 -53
  24. package/dist/components/tt-vtable/src/components/VTablePagination.vue.js +0 -52
  25. package/dist/components/tt-vtable/src/components/VTablePagination.vue2.js +0 -4
  26. package/dist/components/tt-vtable/src/components/VTableSelectionAlert.vue.d.ts +0 -35
  27. package/dist/components/tt-vtable/src/components/VTableSelectionAlert.vue.js +0 -50
  28. package/dist/components/tt-vtable/src/components/VTableSelectionAlert.vue2.js +0 -4
  29. package/dist/components/tt-vtable/src/components/VTableToolbar.vue.d.ts +0 -63
  30. package/dist/components/tt-vtable/src/components/VTableToolbar.vue.js +0 -126
  31. package/dist/components/tt-vtable/src/components/VTableToolbar.vue2.js +0 -4
  32. package/dist/components/tt-vtable/src/components/VTableViewport.vue.js +0 -133
  33. package/dist/components/tt-vtable/src/components/VTableViewport.vue2.js +0 -4
  34. package/dist/components/tt-vtable/src/composables/useVTable.d.ts +0 -41
  35. package/dist/components/tt-vtable/src/composables/useVTable.js +0 -25
  36. package/dist/components/tt-vtable/src/composables/useVTableFormRender.d.ts +0 -13
  37. package/dist/components/tt-vtable/src/composables/useVTableFormRender.js +0 -92
  38. package/dist/components/tt-vtable/src/composables/useVTableRender.d.ts +0 -13
  39. package/dist/components/tt-vtable/src/composables/useVTableRender.js +0 -13
  40. package/dist/components/tt-vtable/src/engine/visactor/createListTable.d.ts +0 -10
  41. package/dist/components/tt-vtable/src/engine/visactor/createListTable.js +0 -63
  42. package/dist/components/tt-vtable/src/engine/visactor/createVueCellLayout.d.ts +0 -37
  43. package/dist/components/tt-vtable/src/engine/visactor/createVueCellLayout.js +0 -133
  44. package/dist/components/tt-vtable/src/engine/visactor/index.d.ts +0 -8
  45. package/dist/components/tt-vtable/src/engine/visactor/native-boundaries.d.ts +0 -23
  46. package/dist/components/tt-vtable/src/engine/visactor/native-boundaries.js +0 -70
  47. package/dist/components/tt-vtable/src/engine/visactor/record-adapter.d.ts +0 -38
  48. package/dist/components/tt-vtable/src/engine/visactor/record-adapter.js +0 -41
  49. package/dist/components/tt-vtable/src/engine/visactor/toColumnDefinitions.d.ts +0 -45
  50. package/dist/components/tt-vtable/src/engine/visactor/toColumnDefinitions.js +0 -73
  51. package/dist/components/tt-vtable/src/engine/visactor/toListTableOptions.d.ts +0 -25
  52. package/dist/components/tt-vtable/src/engine/visactor/toListTableOptions.js +0 -25
  53. package/dist/components/tt-vtable/src/engine/visactor/types.d.ts +0 -29
  54. package/dist/components/tt-vtable/src/features/column-preferences/column-preference-storage.d.ts +0 -5
  55. package/dist/components/tt-vtable/src/features/column-preferences/column-preference-storage.js +0 -52
  56. package/dist/components/tt-vtable/src/features/column-preferences/useColumnPreferences.d.ts +0 -74
  57. package/dist/components/tt-vtable/src/features/column-preferences/useColumnPreferences.js +0 -232
  58. package/dist/components/tt-vtable/src/features/editing/useCellEditing.d.ts +0 -48
  59. package/dist/components/tt-vtable/src/features/editing/useCellEditing.js +0 -102
  60. package/dist/components/tt-vtable/src/features/form-integration/useVTableForm.d.ts +0 -51
  61. package/dist/components/tt-vtable/src/features/pagination/useTablePagination.d.ts +0 -40
  62. package/dist/components/tt-vtable/src/features/pagination/useTablePagination.js +0 -51
  63. package/dist/components/tt-vtable/src/features/querying/useRecordQuery.d.ts +0 -38
  64. package/dist/components/tt-vtable/src/features/querying/useRecordQuery.js +0 -57
  65. package/dist/components/tt-vtable/src/features/records/index.d.ts +0 -3
  66. package/dist/components/tt-vtable/src/features/records/record-index.d.ts +0 -122
  67. package/dist/components/tt-vtable/src/features/records/record-index.js +0 -209
  68. package/dist/components/tt-vtable/src/features/records/useRecordSource.d.ts +0 -41
  69. package/dist/components/tt-vtable/src/features/records/useRecordSource.js +0 -249
  70. package/dist/components/tt-vtable/src/features/selection/useRowSelection.d.ts +0 -65
  71. package/dist/components/tt-vtable/src/features/selection/useRowSelection.js +0 -129
  72. package/dist/components/tt-vtable/src/features/tree/useTreeRecords.d.ts +0 -60
  73. package/dist/components/tt-vtable/src/features/tree/useTreeRecords.js +0 -125
  74. package/dist/components/tt-vtable/src/public/column-preferences.d.ts +0 -32
  75. package/dist/components/tt-vtable/src/public/index.d.ts +0 -8
  76. package/dist/components/tt-vtable/src/public/table-api.d.ts +0 -215
  77. package/dist/components/tt-vtable/src/public/table-column.d.ts +0 -123
  78. package/dist/components/tt-vtable/src/public/table-errors.d.ts +0 -26
  79. package/dist/components/tt-vtable/src/public/table-errors.js +0 -26
  80. package/dist/components/tt-vtable/src/public/table-events.d.ts +0 -69
  81. package/dist/components/tt-vtable/src/public/table-props.d.ts +0 -216
  82. package/dist/components/tt-vtable/src/public/table-slots.d.ts +0 -37
  83. package/dist/components/tt-vtable/src/runtime/createVTableController.d.ts +0 -12
  84. package/dist/components/tt-vtable/src/runtime/createVTableController.js +0 -238
  85. package/dist/components/tt-vtable/src/runtime/createVTableRuntime.d.ts +0 -79
  86. package/dist/components/tt-vtable/src/runtime/createVTableRuntime.js +0 -380
package/dist/index.js CHANGED
@@ -1,183 +1,169 @@
1
1
  import { TtButton as p } from "./components/tt-button/index.js";
2
- import { TtAddButton as sr } from "./components/tt-button/index.js";
2
+ import { TtAddButton as ar } from "./components/tt-button/index.js";
3
3
  import { TtCheckbox as a } from "./components/tt-checkbox/index.js";
4
4
  import { TtEmpty as f } from "./components/tt-empty/index.js";
5
- import { addComponent as s, setConfig as T } from "./components/tt-form/index.js";
6
- import { TtFormItemErrorTooltip as x } from "./components/tt-form-item-error-tooltip/index.js";
7
- import { TtIcon as i, TtAddIcon as u, TtSubIcon as d } from "./components/tt-icon/index.js";
8
- import { TtImage as l } from "./components/tt-image/index.js";
9
- import { RenderDrawer as n } from "./components/tt-drawer/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 u, TtAddIcon as x, TtSubIcon as T } from "./components/tt-icon/index.js";
8
+ import { TtImage as n } from "./components/tt-image/index.js";
9
+ import { RenderDrawer as l } from "./components/tt-drawer/index.js";
10
10
  import { RenderModal as c } from "./components/tt-modal/index.js";
11
- import { TtModal as xr } from "./components/tt-modal/index.js";
11
+ import { TtModal as sr } from "./components/tt-modal/index.js";
12
12
  import { TtSelect as b } from "./components/tt-select/index.js";
13
- import { TtText as R } from "./components/tt-text/index.js";
14
- import { TtUpload as w } from "./components/tt-upload/index.js";
13
+ import { TtText as w } from "./components/tt-text/index.js";
14
+ import { TtUpload as R } from "./components/tt-upload/index.js";
15
15
  import { TtNavAnchor as h } from "./components/tt-nav-anchor/index.js";
16
16
  import { TtApiComponent as g } from "./components/tt-api-component/index.js";
17
17
  import * as e from "./directives/index.js";
18
- import { setup as F } from "./hooks/useSetup.js";
19
- import { TtLog as M } from "./components/tt-log/index.js";
20
- import { TtPanelSelect as P } from "./components/tt-panel-select/index.js";
21
- import { TtRadioGroup as S } from "./components/tt-radio-group/index.js";
22
- import { TtVTable as A } from "./components/tt-vtable/index.js";
23
- import { TtVTableForm as ur } from "./components/tt-vtable/index.js";
24
- import { setXHR as lr } from "./utils/xhr.js";
18
+ import { setup as M } from "./hooks/useSetup.js";
19
+ import { TtLog as P } from "./components/tt-log/index.js";
20
+ import { TtPanelSelect as S } from "./components/tt-panel-select/index.js";
21
+ import { TtRadioGroup as A } from "./components/tt-radio-group/index.js";
22
+ import { setXHR as dr } from "./utils/xhr.js";
25
23
  /* empty css */
26
24
  /* empty css */
27
25
  /* empty css */
28
26
  /* empty css */
29
27
  /* empty css */
30
- import { default as cr } from "./components/tt-area/TtArea.vue.js";
31
- import { useModalForm as Rr } from "./components/tt-modal-form/useModalForm.js";
32
- import { TtLoading as hr } from "./components/tt-loading/index.js";
33
- import { TtTable as Fr, TtTableAction as Mr, TtTableButton as Pr } from "./components/tt-table/index.js";
34
- import { useFormSchemasLink as Ar } from "./hooks/useFormSchemasLink.js";
35
- import { useDataPermissionOptions as Dr } from "./hooks/useDataPermissionOptions.js";
36
- import { useBasicDataOptions as Vr } from "./hooks/useBasicDataOptions.js";
37
- import { usePanelSelectSchemas as Or } from "./hooks/usePanelSelectSchemas.js";
38
- import { CODES as Br, GROUP_BY as Ur } from "./hooks/basicDataCodes.js";
39
- import { useFormat as zr } from "./hooks/useFormat.js";
40
- import { useLoading as Gr } from "./hooks/useLoading.js";
41
- import { useScreenshotOss as _r } from "./hooks/useScreenshotOss.js";
42
- import { createUppercaseInputProps as jr, toUppercaseInputValue as yr, uppercaseInputProps as Hr } from "./utils/uppercaseInput.js";
28
+ import { default as xr } from "./components/tt-area/TtArea.vue.js";
29
+ import { useModalForm as nr } from "./components/tt-modal-form/useModalForm.js";
30
+ import { TtLoading as cr } from "./components/tt-loading/index.js";
31
+ import { TtTable as wr, TtTableAction as Rr, TtTableButton as hr } from "./components/tt-table/index.js";
32
+ import { useFormSchemasLink as Mr } from "./hooks/useFormSchemasLink.js";
33
+ import { useDataPermissionOptions as Sr } from "./hooks/useDataPermissionOptions.js";
34
+ import { useBasicDataOptions as Cr } from "./hooks/useBasicDataOptions.js";
35
+ import { usePanelSelectSchemas as Ir } from "./hooks/usePanelSelectSchemas.js";
36
+ import { CODES as Or, GROUP_BY as Lr } from "./hooks/basicDataCodes.js";
37
+ import { useFormat as Br } from "./hooks/useFormat.js";
38
+ import { useLoading as vr } from "./hooks/useLoading.js";
39
+ import { useScreenshotOss as Nr } from "./hooks/useScreenshotOss.js";
40
+ import { createUppercaseInputProps as kr, toUppercaseInputValue as Vr, uppercaseInputProps as _r } from "./utils/uppercaseInput.js";
43
41
  import { setupDrawer as C } from "./components/tt-drawer/src/index.js";
44
- import { useShowDrawer as Yr } from "./components/tt-drawer/src/index.js";
42
+ import { useShowDrawer as jr } from "./components/tt-drawer/src/index.js";
45
43
  import { setupModal as D } from "./components/tt-modal/src/index.js";
46
- import { useShowModal as qr } from "./components/tt-modal/src/index.js";
47
- import { default as Kr } from "./directives/disabled-tip/index.js";
48
- import { default as Wr } from "./directives/auto-tip/index.js";
49
- import { showTtDrawer as oo, useDrawerRender as eo } from "./components/tt-drawer/src/hooks/useDrawerRender.js";
50
- import { useDrawerResizable as mo } from "./components/tt-drawer/src/hooks/useResizable.js";
51
- import { showTtModal as ao, useModalRender as fo } from "./components/tt-modal/src/hooks/useModalRender.js";
52
- import { default as To } from "./directives/dialog-resize/index.js";
53
- import * as tr from "zod";
54
- import { useGroupForm as io } from "./components/tt-form/src/group-form/useGroupForm.js";
55
- import { COMPONENT_MAP as lo } from "./components/tt-form/src/config.js";
56
- import { useForm as co } from "./components/tt-form/src/useForm.js";
57
- import { TtImageViewer as Ro } from "./components/tt-image/src/components/ImageViewer.js";
58
- import { vTtLoading as ho } from "./components/tt-loading/src/directive.js";
59
- import { Loading as Fo } from "./components/tt-loading/src/service.js";
60
- import { useTableContext as Po, useTableFormContext as So } from "./components/tt-table/src/hooks/useTableContext.js";
61
- import { useTableFormRender as Co, useTableRender as Do } from "./components/tt-table/src/hooks/useTableRender.js";
62
- import { useVTable as Vo } from "./components/tt-vtable/src/composables/useVTable.js";
63
- import { useVTableFormRender as Oo } from "./components/tt-vtable/src/composables/useVTableFormRender.js";
64
- import { useVTableRender as Bo } from "./components/tt-vtable/src/composables/useVTableRender.js";
65
- import { TtVTableError as vo, createTtVTableError as zo } from "./components/tt-vtable/src/public/table-errors.js";
66
- import { ttUploadProps as Go } from "./components/tt-upload/src/typing.js";
44
+ import { useShowModal as Hr } from "./components/tt-modal/src/index.js";
45
+ import { default as Yr } from "./directives/disabled-tip/index.js";
46
+ import { default as qr } from "./directives/auto-tip/index.js";
47
+ import { showTtDrawer as Kr, useDrawerRender as Qr } from "./components/tt-drawer/src/hooks/useDrawerRender.js";
48
+ import { useDrawerResizable as ro } from "./components/tt-drawer/src/hooks/useResizable.js";
49
+ import { showTtModal as eo, useModalRender as to } from "./components/tt-modal/src/hooks/useModalRender.js";
50
+ import { default as po } from "./directives/dialog-resize/index.js";
51
+ import * as or from "zod";
52
+ import { useGroupForm as fo } from "./components/tt-form/src/group-form/useGroupForm.js";
53
+ import { COMPONENT_MAP as io } from "./components/tt-form/src/config.js";
54
+ import { useForm as xo } from "./components/tt-form/src/useForm.js";
55
+ import { TtImageViewer as no } from "./components/tt-image/src/components/ImageViewer.js";
56
+ import { vTtLoading as co } from "./components/tt-loading/src/directive.js";
57
+ import { Loading as wo } from "./components/tt-loading/src/service.js";
58
+ import { useTableContext as ho, useTableFormContext as go } from "./components/tt-table/src/hooks/useTableContext.js";
59
+ import { useTableFormRender as Po, useTableRender as So } from "./components/tt-table/src/hooks/useTableRender.js";
60
+ import { ttUploadProps as Co } from "./components/tt-upload/src/typing.js";
67
61
  const I = [
68
62
  p,
69
- n,
63
+ l,
70
64
  c,
71
- i,
65
+ u,
72
66
  b,
73
67
  f,
74
- R,
75
- a,
76
- x,
77
- l,
78
68
  w,
79
- h,
80
- u,
69
+ a,
81
70
  d,
71
+ n,
72
+ R,
73
+ h,
74
+ x,
75
+ T,
82
76
  g,
83
- M,
84
77
  P,
85
78
  S,
86
79
  A
87
- ], V = (r) => {
80
+ ], F = (r) => {
88
81
  I.forEach((o) => r.use(o)), Object.keys(e).forEach((o) => {
89
82
  const t = e[o], m = o.replace(/([A-Z])/g, "-$1").toLowerCase();
90
83
  r.directive(m, t);
91
84
  }), C(r), D(r);
92
85
  };
93
- function mr(r) {
94
- s(r == null ? void 0 : r.components), T(r == null ? void 0 : r.defineRules, r == null ? void 0 : r.modelPropNameMap);
86
+ function er(r) {
87
+ s(r == null ? void 0 : r.components), i(r == null ? void 0 : r.defineRules, r == null ? void 0 : r.modelPropNameMap);
95
88
  }
96
- const pr = {
89
+ const tr = {
97
90
  /**
98
91
  * 安装组件
99
92
  * @param app Vue 应用实例
100
93
  */
101
- install: V,
94
+ install: F,
102
95
  /**
103
96
  * 全局参数设置
104
97
  * @param options 全局参数
105
98
  * @returns 合并后的全局参数
106
99
  */
107
- setup: F
100
+ setup: M
108
101
  };
109
102
  export {
110
- Br as CODES,
111
- lo as COMPONENT_MAP,
112
- Ur as GROUP_BY,
113
- Fo as Loading,
114
- n as RenderDrawer,
103
+ Or as CODES,
104
+ io as COMPONENT_MAP,
105
+ Lr as GROUP_BY,
106
+ wo as Loading,
107
+ l as RenderDrawer,
115
108
  c as RenderModal,
116
- sr as TtAddButton,
117
- u as TtAddIcon,
109
+ ar as TtAddButton,
110
+ x as TtAddIcon,
118
111
  g as TtApiComponent,
119
- cr as TtArea,
112
+ xr as TtArea,
120
113
  p as TtButton,
121
114
  a as TtCheckbox,
122
115
  f as TtEmpty,
123
- i as TtIcon,
124
- l as TtImage,
125
- Ro as TtImageViewer,
126
- hr as TtLoading,
127
- M as TtLog,
128
- xr as TtModal,
116
+ u as TtIcon,
117
+ n as TtImage,
118
+ no as TtImageViewer,
119
+ cr as TtLoading,
120
+ P as TtLog,
121
+ sr as TtModal,
129
122
  h as TtNavAnchor,
130
- P as TtPanelSelect,
131
- S as TtRadioGroup,
123
+ S as TtPanelSelect,
124
+ A as TtRadioGroup,
132
125
  b as TtSelect,
133
- d as TtSubIcon,
134
- Fr as TtTable,
135
- Mr as TtTableAction,
136
- Pr as TtTableButton,
137
- R as TtText,
138
- w as TtUpload,
139
- A as TtVTable,
140
- vo as TtVTableError,
141
- ur as TtVTableForm,
126
+ T as TtSubIcon,
127
+ wr as TtTable,
128
+ Rr as TtTableAction,
129
+ hr as TtTableButton,
130
+ w as TtText,
131
+ R as TtUpload,
142
132
  s as addComponent,
143
- Wr as autoTip,
144
- zo as createTtVTableError,
145
- jr as createUppercaseInputProps,
146
- pr as default,
147
- To as dialogResize,
148
- Kr as disabledTip,
149
- mr as formAdapter,
150
- T as setConfig,
151
- lr as setXHR,
133
+ qr as autoTip,
134
+ kr as createUppercaseInputProps,
135
+ tr as default,
136
+ po as dialogResize,
137
+ Yr as disabledTip,
138
+ er as formAdapter,
139
+ i as setConfig,
140
+ dr as setXHR,
152
141
  C as setupDrawer,
153
142
  D as setupModal,
154
- oo as showTtDrawer,
155
- ao as showTtModal,
156
- yr as toUppercaseInputValue,
157
- Go as ttUploadProps,
158
- Hr as uppercaseInputProps,
159
- Vr as useBasicDataOptions,
160
- Dr as useDataPermissionOptions,
161
- eo as useDrawerRender,
162
- mo as useDrawerResizable,
163
- co as useForm,
164
- Ar as useFormSchemasLink,
165
- zr as useFormat,
166
- io as useGroupForm,
167
- Gr as useLoading,
168
- Rr as useModalForm,
169
- fo as useModalRender,
170
- Or as usePanelSelectSchemas,
171
- _r as useScreenshotOss,
172
- Yr as useShowDrawer,
173
- qr as useShowModal,
174
- Po as useTableContext,
175
- So as useTableFormContext,
176
- Co as useTableFormRender,
177
- Do as useTableRender,
178
- Vo as useVTable,
179
- Oo as useVTableFormRender,
180
- Bo as useVTableRender,
181
- ho as vTtLoading,
182
- tr as z
143
+ Kr as showTtDrawer,
144
+ eo as showTtModal,
145
+ Vr as toUppercaseInputValue,
146
+ Co as ttUploadProps,
147
+ _r as uppercaseInputProps,
148
+ Cr as useBasicDataOptions,
149
+ Sr as useDataPermissionOptions,
150
+ Qr as useDrawerRender,
151
+ ro as useDrawerResizable,
152
+ xo as useForm,
153
+ Mr as useFormSchemasLink,
154
+ Br as useFormat,
155
+ fo as useGroupForm,
156
+ vr as useLoading,
157
+ nr as useModalForm,
158
+ to as useModalRender,
159
+ Ir as usePanelSelectSchemas,
160
+ Nr as useScreenshotOss,
161
+ jr as useShowDrawer,
162
+ Hr as useShowModal,
163
+ ho as useTableContext,
164
+ go as useTableFormContext,
165
+ Po as useTableFormRender,
166
+ So as useTableRender,
167
+ co as vTtLoading,
168
+ or as z
183
169
  };
@@ -1,75 +1,66 @@
1
- import o from "dayjs";
2
- const f = Object.prototype.toString;
3
- function t(n, u) {
4
- return f.call(n) === `[object ${u}]`;
1
+ import i from "dayjs";
2
+ const u = Object.prototype.toString;
3
+ function t(n, r) {
4
+ return u.call(n) === `[object ${r}]`;
5
5
  }
6
- function s(n) {
6
+ function f(n) {
7
7
  return typeof n < "u";
8
8
  }
9
- function c(n) {
10
- return !s(n);
9
+ function o(n) {
10
+ return !f(n);
11
11
  }
12
- function y(n) {
12
+ function s(n) {
13
13
  return n === null;
14
14
  }
15
- function r(n) {
16
- return c(n) || y(n);
15
+ function e(n) {
16
+ return o(n) || s(n);
17
17
  }
18
- function i(n) {
19
- return r(n) ? !1 : n instanceof Promise ? !0 : t(n, "Object");
18
+ function c(n) {
19
+ return e(n) ? !1 : n instanceof Promise ? !0 : t(n, "Object");
20
20
  }
21
- function b(n) {
22
- return r(n) ? !0 : m(n) || p(n) ? n.length === 0 : n instanceof Map || n instanceof Set ? n.size === 0 : i(n) ? Object.keys(n).length === 0 : !1;
21
+ function j(n) {
22
+ return e(n) ? !0 : d(n) || y(n) ? n.length === 0 : n instanceof Map || n instanceof Set ? n.size === 0 : c(n) ? Object.keys(n).length === 0 : !1;
23
23
  }
24
- function g(n) {
24
+ function m(n) {
25
25
  return t(n, "Date");
26
26
  }
27
- function O(n) {
27
+ function b(n) {
28
28
  return t(n, "Number") && n === n;
29
29
  }
30
- function S(n) {
31
- return t(n, "Promise") && i(n) && e(n.then) && e(n.catch);
32
- }
33
- function p(n) {
30
+ function y(n) {
34
31
  return t(n, "String");
35
32
  }
36
- function e(n) {
33
+ function a(n) {
37
34
  return typeof n == "function";
38
35
  }
39
- function l(n) {
36
+ function g(n) {
40
37
  return t(n, "Boolean");
41
38
  }
42
- function m(n) {
39
+ function d(n) {
43
40
  return Array.isArray(n);
44
41
  }
45
42
  function D(n) {
46
43
  return typeof Element > "u" ? !1 : n instanceof Element;
47
44
  }
48
- const d = typeof window > "u", E = !d;
49
- function a(n) {
50
- return Object.prototype.toString.call(n).slice(8, -1) === "Error";
51
- }
52
- function h(n) {
53
- return o.isDayjs(n);
45
+ const O = typeof window > "u";
46
+ function S(n) {
47
+ return i.isDayjs(n);
54
48
  }
55
49
  export {
56
50
  t as is,
57
- m as isArray,
58
- l as isBoolean,
59
- E as isClient,
60
- g as isDate,
61
- h as isDayjsObject,
62
- s as isDef,
51
+ d as isArray,
52
+ g as isBoolean,
53
+ m as isDate,
54
+ S as isDayjsObject,
55
+ f as isDef,
63
56
  D as isElement,
64
- b as isEmpty,
65
- a as isError,
66
- e as isFunction,
67
- y as isNull,
68
- r as isNullOrUnDef,
69
- O as isNumber,
70
- i as isObject,
71
- S as isPromise,
72
- d as isServer,
73
- p as isString,
74
- c as isUndefined
57
+ j as isEmpty,
58
+ a as isFunction,
59
+ s as isNull,
60
+ e as isNullOrUnDef,
61
+ b as isNumber,
62
+ c as isObject,
63
+ O as isServer,
64
+ y as isString,
65
+ o as isUndefined
75
66
  };