@fewangsit/wangsvue-fats 1.0.1-alpha.17 → 1.0.1-alpha.19

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/utils/index.d.ts CHANGED
@@ -4,6 +4,7 @@ export * from './listenSidebarChanges.util';
4
4
  export { isEmptyObject, getNestedPropertyValue } from '../utils/object.util';
5
5
  export { formatDate, formatDateReadable } from '../utils/date.util';
6
6
  export { formatUserName } from '../utils/textFormatter.util';
7
+ export { default as loadSheetJSFromCDN } from '../utils/xlsx.util';
7
8
  export { exportToExcel } from '../utils/exportToExcel.util';
8
9
  export { default as flattenTreeNodeChildren } from '../tree/helpers/flattenTreeNodeChildren.helper';
9
10
  export { default as getStatusSeverity } from './getStatusSeverity.util';
@@ -1,4 +1,4 @@
1
- import * as XLSX from 'xlsx/types/index';
1
+ import * as XLSX from 'xlsx';
2
2
  /**
3
3
  * Dynamically loads SheetJS (XLSX) from a CDN to avoid bundling its large package size.
4
4
  *
@@ -2,224 +2,226 @@ import { m as e } from "./event-bus/mitt.es.js";
2
2
  import { e as t, a as s } from "./event-bus/index.es.js";
3
3
  import { T as m } from "./vendor/primevue/toastservice/toastservice.esm.es.js";
4
4
  import { _ as x, a as n, f as _, p as i } from "./tree/index.es.js";
5
- import { l as u, b as g, g as c, a as d, e as T, f as D, k as B, d as S, j as R, i as h, h as I, c as y } from "./utils/role.util.es.js";
6
- import { l as b, u as A } from "./utils/listenSidebarChanges.util.es.js";
7
- import { g as L, i as M } from "./utils/object.util.es.js";
5
+ import { l as u, b as g, g as c, a as d, e as D, f as T, k as S, d as B, j as R, i as h, h as I, c as y } from "./utils/role.util.es.js";
6
+ import { l as b, u as F } from "./utils/listenSidebarChanges.util.es.js";
7
+ import { g as A, i as L } from "./utils/object.util.es.js";
8
8
  import { f as P, b as v } from "./utils/date.util.es.js";
9
9
  import { f as k } from "./utils/textFormatter.util.es.js";
10
- import { e as V } from "./utils/exportToExcel.util.es.js";
11
- import { g as O } from "./utils/getStatusSeverity.util.es.js";
12
- import { u as K } from "./utils/toast.util.es.js";
13
- import { _ as G, f as H } from "./inputcurrency/index.es.js";
14
- import { _ as q, u as z } from "./assetinfo/index.es.js";
15
- import { F as X } from "./directives/focus.es.js";
16
- import { T as Z } from "./vendor/primevue/tooltip/tooltip.esm.es.js";
17
- import { a as oo, u as ro } from "./plugins/formValidation.es.js";
18
- import { i as ao } from "./plugins/i18n.es.js";
19
- import { V as so } from "./plugins/VueHtmlToPaper.es.js";
20
- import { _ as mo } from "./approverinfo/index.es.js";
21
- import { _ as xo } from "./badge/index.es.js";
22
- import { _ as _o } from "./badgegroup/index.es.js";
23
- import { _ as lo } from "./basetree/index.es.js";
24
- import { _ as go } from "./breadcrumb/index.es.js";
25
- import { _ as To } from "./button/index.es.js";
26
- import { _ as Bo } from "./buttonbulkaction/index.es.js";
27
- import { _ as Ro } from "./buttoncopy/index.es.js";
28
- import { _ as Io } from "./buttondownload/index.es.js";
29
- import { _ as Co } from "./buttonfilter/index.es.js";
10
+ import { l as V } from "./utils/xlsx.util.es.js";
11
+ import { e as O } from "./utils/exportToExcel.util.es.js";
12
+ import { g as K } from "./utils/getStatusSeverity.util.es.js";
13
+ import { u as G } from "./utils/toast.util.es.js";
14
+ import { _ as J, f as Q } from "./inputcurrency/index.es.js";
15
+ import { _ as z, u as X } from "./assetinfo/index.es.js";
16
+ import { F as Z } from "./directives/focus.es.js";
17
+ import { T as oo } from "./vendor/primevue/tooltip/tooltip.esm.es.js";
18
+ import { a as eo, u as ao } from "./plugins/formValidation.es.js";
19
+ import { i as so } from "./plugins/i18n.es.js";
20
+ import { V as mo } from "./plugins/VueHtmlToPaper.es.js";
21
+ import { _ as xo } from "./approverinfo/index.es.js";
22
+ import { _ as _o } from "./badge/index.es.js";
23
+ import { _ as lo } from "./badgegroup/index.es.js";
24
+ import { _ as go } from "./basetree/index.es.js";
25
+ import { _ as Do } from "./breadcrumb/index.es.js";
26
+ import { _ as So } from "./button/index.es.js";
27
+ import { _ as Ro } from "./buttonbulkaction/index.es.js";
28
+ import { _ as Io } from "./buttoncopy/index.es.js";
29
+ import { _ as Co } from "./buttondownload/index.es.js";
30
+ import { _ as Fo } from "./buttonfilter/index.es.js";
30
31
  import { _ as Ao } from "./buttonradio/index.es.js";
31
- import { _ as Lo } from "./buttonscan/index.es.js";
32
- import { _ as No } from "./buttonsearchbyscan/index.es.js";
33
- import { _ as vo } from "./buttonsearch/index.es.js";
34
- import { _ as ko } from "./buttonselecttree/index.es.js";
35
- import { _ as Vo } from "./buttonsync/index.es.js";
36
- import { _ as Oo } from "./buttontoggle/index.es.js";
37
- import { _ as Ko } from "./calendar/index.es.js";
38
- import { _ as Go } from "./card/index.es.js";
39
- import { _ as Qo } from "./carousel/index.es.js";
40
- import { _ as zo } from "./checkbox/index.es.js";
41
- import { _ as Xo } from "./customcolumn/index.es.js";
42
- import { D as Zo } from "./datatable/index.es.js";
43
- import { _ as or } from "./dialog/index.es.js";
44
- import { _ as er } from "./dialogconfirm/index.es.js";
45
- import { _ as tr } from "./dialogform/index.es.js";
46
- import { _ as pr } from "./dialogselecttree/index.es.js";
47
- import { _ as fr } from "./dropdown/index.es.js";
48
- import { _ as nr } from "./editor/index.es.js";
49
- import { _ as ir } from "./fileupload/index.es.js";
50
- import { _ as ur } from "./form/index.es.js";
51
- import { _ as cr } from "./icon/index.es.js";
52
- import { _ as Tr } from "./image/index.es.js";
53
- import { _ as Br } from "./imagecompressor/index.es.js";
54
- import { _ as Rr } from "./inlinemessage/index.es.js";
55
- import { _ as Ir } from "./inputbadge/index.es.js";
56
- import { _ as Cr } from "./inputemail/index.es.js";
32
+ import { _ as Mo } from "./buttonscan/index.es.js";
33
+ import { _ as vo } from "./buttonsearchbyscan/index.es.js";
34
+ import { _ as ko } from "./buttonsearch/index.es.js";
35
+ import { _ as Vo } from "./buttonselecttree/index.es.js";
36
+ import { _ as Oo } from "./buttonsync/index.es.js";
37
+ import { _ as Ko } from "./buttontoggle/index.es.js";
38
+ import { _ as Go } from "./calendar/index.es.js";
39
+ import { _ as Jo } from "./card/index.es.js";
40
+ import { _ as qo } from "./carousel/index.es.js";
41
+ import { _ as Xo } from "./checkbox/index.es.js";
42
+ import { _ as Zo } from "./customcolumn/index.es.js";
43
+ import { D as or } from "./datatable/index.es.js";
44
+ import { _ as er } from "./dialog/index.es.js";
45
+ import { _ as tr } from "./dialogconfirm/index.es.js";
46
+ import { _ as pr } from "./dialogform/index.es.js";
47
+ import { _ as fr } from "./dialogselecttree/index.es.js";
48
+ import { _ as nr } from "./dropdown/index.es.js";
49
+ import { _ as ir } from "./editor/index.es.js";
50
+ import { _ as ur } from "./fileupload/index.es.js";
51
+ import { _ as cr } from "./form/index.es.js";
52
+ import { _ as Dr } from "./icon/index.es.js";
53
+ import { _ as Sr } from "./image/index.es.js";
54
+ import { _ as Rr } from "./imagecompressor/index.es.js";
55
+ import { _ as Ir } from "./inlinemessage/index.es.js";
56
+ import { _ as Cr } from "./inputbadge/index.es.js";
57
+ import { _ as Fr } from "./inputemail/index.es.js";
57
58
  import { _ as Ar } from "./inputnumber/index.es.js";
58
- import { _ as Lr } from "./inputotp/index.es.js";
59
- import { _ as Nr } from "./inputpassword/index.es.js";
60
- import { _ as vr } from "./inputphonenumber/index.es.js";
61
- import { _ as kr } from "./inputrangenumber/index.es.js";
62
- import { _ as Vr } from "./inputtext/index.es.js";
63
- import { _ as Or } from "./inputurl/index.es.js";
64
- import { _ as Kr } from "./invisiblefield/index.es.js";
65
- import { _ as Gr } from "./litedropdown/index.es.js";
66
- import { _ as Qr } from "./languageswitcher/index.es.js";
67
- import { _ as zr } from "./loading/index.es.js";
68
- import { _ as Xr } from "./menu/index.es.js";
69
- import { _ as Zr } from "./multiselect/index.es.js";
70
- import { _ as oe } from "./overlaypanel/index.es.js";
71
- import { _ as ee } from "./paginator/index.es.js";
72
- import { _ as te } from "./tabmenu/index.es.js";
73
- import { _ as pe } from "./tagtype/index.es.js";
74
- import { _ as fe } from "./textarea/index.es.js";
75
- import { _ as ne } from "./timeline/index.es.js";
76
- import { _ as ie } from "./toast/index.es.js";
77
- import { _ as ue } from "./toggleswitch/index.es.js";
78
- import { _ as ce } from "./username/index.es.js";
79
- import { _ as Te } from "./validatormessage/index.es.js";
80
- import { _ as Be } from "./buttonaddbyscan/index.es.js";
81
- import { _ as Re } from "./buttonselectuser/index.es.js";
82
- import { _ as Ie } from "./buttonviewlog/index.es.js";
83
- import { _ as Ce } from "./dialoglinkedasset/index.es.js";
59
+ import { _ as Mr } from "./inputotp/index.es.js";
60
+ import { _ as vr } from "./inputpassword/index.es.js";
61
+ import { _ as kr } from "./inputphonenumber/index.es.js";
62
+ import { _ as Vr } from "./inputrangenumber/index.es.js";
63
+ import { _ as Or } from "./inputtext/index.es.js";
64
+ import { _ as Kr } from "./inputurl/index.es.js";
65
+ import { _ as Gr } from "./invisiblefield/index.es.js";
66
+ import { _ as Jr } from "./litedropdown/index.es.js";
67
+ import { _ as qr } from "./languageswitcher/index.es.js";
68
+ import { _ as Xr } from "./loading/index.es.js";
69
+ import { _ as Zr } from "./menu/index.es.js";
70
+ import { _ as oe } from "./multiselect/index.es.js";
71
+ import { _ as ee } from "./overlaypanel/index.es.js";
72
+ import { _ as te } from "./paginator/index.es.js";
73
+ import { _ as pe } from "./tabmenu/index.es.js";
74
+ import { _ as fe } from "./tagtype/index.es.js";
75
+ import { _ as ne } from "./textarea/index.es.js";
76
+ import { _ as ie } from "./timeline/index.es.js";
77
+ import { _ as ue } from "./toast/index.es.js";
78
+ import { _ as ce } from "./toggleswitch/index.es.js";
79
+ import { _ as De } from "./username/index.es.js";
80
+ import { _ as Se } from "./validatormessage/index.es.js";
81
+ import { _ as Re } from "./buttonaddbyscan/index.es.js";
82
+ import { _ as Ie } from "./buttonselectuser/index.es.js";
83
+ import { _ as Ce } from "./buttonviewlog/index.es.js";
84
+ import { _ as Fe } from "./dialoglinkedasset/index.es.js";
84
85
  import { _ as Ae } from "./dialogselectuser/index.es.js";
85
- import { _ as Le } from "./userwithicon/index.es.js";
86
- import { _ as Ne } from "./filtercontainer/index.es.js";
87
- import { _ as ve } from "./inputsearch/index.es.js";
88
- import { _ as ke } from "./transactionroles/index.es.js";
89
- import { _ as Ve } from "./datepicker/index.es.js";
90
- import { _ as Oe } from "./daypicker/index.es.js";
91
- import { _ as Ke } from "./dialogprintqr/index.es.js";
92
- import { _ as Ge } from "./dialogassetnamedetail/index.es.js";
93
- import { _ as Qe } from "./dialogreporttag/index.es.js";
94
- import { _ as ze } from "./dialogreportdamage/index.es.js";
95
- import { _ as Xe } from "./dialogreportmissing/index.es.js";
96
- import { _ as Ze } from "./dialogtransferlog/index.es.js";
97
- import { _ as oa } from "./dialogdamagelog/index.es.js";
98
- import { _ as ea } from "./disposalreport/index.es.js";
99
- import { _ as ta } from "./steps/index.es.js";
100
- import { i as pa } from "./config/index.es.js";
101
- import { u as fa } from "./plugins/basei18n.es.js";
86
+ import { _ as Me } from "./userwithicon/index.es.js";
87
+ import { _ as ve } from "./filtercontainer/index.es.js";
88
+ import { _ as ke } from "./inputsearch/index.es.js";
89
+ import { _ as Ve } from "./transactionroles/index.es.js";
90
+ import { _ as Oe } from "./datepicker/index.es.js";
91
+ import { _ as Ke } from "./daypicker/index.es.js";
92
+ import { _ as Ge } from "./dialogprintqr/index.es.js";
93
+ import { _ as Je } from "./dialogassetnamedetail/index.es.js";
94
+ import { _ as qe } from "./dialogreporttag/index.es.js";
95
+ import { _ as Xe } from "./dialogreportdamage/index.es.js";
96
+ import { _ as Ze } from "./dialogreportmissing/index.es.js";
97
+ import { _ as oa } from "./dialogtransferlog/index.es.js";
98
+ import { _ as ea } from "./dialogdamagelog/index.es.js";
99
+ import { _ as ta } from "./disposalreport/index.es.js";
100
+ import { _ as pa } from "./steps/index.es.js";
101
+ import { i as fa } from "./config/index.es.js";
102
+ import { u as na } from "./plugins/basei18n.es.js";
102
103
  export {
103
- mo as ApproverInfo,
104
- q as AssetInfo,
105
- xo as Badge,
106
- _o as BadgeGroup,
107
- lo as BaseTree,
108
- go as Breadcrumb,
109
- To as Button,
110
- Be as ButtonAddByScan,
111
- Bo as ButtonBulkAction,
112
- Ro as ButtonCopy,
113
- Io as ButtonDownload,
114
- Co as ButtonFilter,
104
+ xo as ApproverInfo,
105
+ z as AssetInfo,
106
+ _o as Badge,
107
+ lo as BadgeGroup,
108
+ go as BaseTree,
109
+ Do as Breadcrumb,
110
+ So as Button,
111
+ Re as ButtonAddByScan,
112
+ Ro as ButtonBulkAction,
113
+ Io as ButtonCopy,
114
+ Co as ButtonDownload,
115
+ Fo as ButtonFilter,
115
116
  Ao as ButtonRadio,
116
- Lo as ButtonScan,
117
- vo as ButtonSearch,
118
- No as ButtonSearchByScan,
119
- ko as ButtonSelectTree,
120
- Re as ButtonSelectUser,
121
- Vo as ButtonSync,
122
- Oo as ButtonToggle,
123
- Ie as ButtonViewLog,
124
- Ko as Calendar,
125
- Go as Card,
126
- Qo as Carousel,
127
- zo as Checkbox,
128
- Xo as CustomColumn,
129
- Zo as DataTable,
130
- Ve as DatePicker,
131
- Oe as DayPicker,
132
- or as Dialog,
133
- Ge as DialogAssetNameDetail,
134
- er as DialogConfirm,
135
- oa as DialogDamageLog,
136
- tr as DialogForm,
137
- Ce as DialogLinkedAsset,
138
- Ke as DialogPrintQR,
139
- ze as DialogReportDamage,
140
- Xe as DialogReportMissing,
141
- Qe as DialogReportTag,
142
- pr as DialogSelectTree,
117
+ Mo as ButtonScan,
118
+ ko as ButtonSearch,
119
+ vo as ButtonSearchByScan,
120
+ Vo as ButtonSelectTree,
121
+ Ie as ButtonSelectUser,
122
+ Oo as ButtonSync,
123
+ Ko as ButtonToggle,
124
+ Ce as ButtonViewLog,
125
+ Go as Calendar,
126
+ Jo as Card,
127
+ qo as Carousel,
128
+ Xo as Checkbox,
129
+ Zo as CustomColumn,
130
+ or as DataTable,
131
+ Oe as DatePicker,
132
+ Ke as DayPicker,
133
+ er as Dialog,
134
+ Je as DialogAssetNameDetail,
135
+ tr as DialogConfirm,
136
+ ea as DialogDamageLog,
137
+ pr as DialogForm,
138
+ Fe as DialogLinkedAsset,
139
+ Ge as DialogPrintQR,
140
+ Xe as DialogReportDamage,
141
+ Ze as DialogReportMissing,
142
+ qe as DialogReportTag,
143
+ fr as DialogSelectTree,
143
144
  Ae as DialogSelectUser,
144
- Ze as DialogTransferLog,
145
- ea as DisposalReport,
146
- fr as Dropdown,
147
- nr as Editor,
148
- ir as FileUpload,
149
- Ne as FilterContainer,
150
- X as Focus,
151
- ur as Form,
152
- cr as Icon,
153
- Tr as Image,
154
- Br as ImageCompressor,
155
- Rr as InlineMessage,
156
- Ir as InputBadge,
157
- G as InputCurrency,
158
- Cr as InputEmail,
145
+ oa as DialogTransferLog,
146
+ ta as DisposalReport,
147
+ nr as Dropdown,
148
+ ir as Editor,
149
+ ur as FileUpload,
150
+ ve as FilterContainer,
151
+ Z as Focus,
152
+ cr as Form,
153
+ Dr as Icon,
154
+ Sr as Image,
155
+ Rr as ImageCompressor,
156
+ Ir as InlineMessage,
157
+ Cr as InputBadge,
158
+ J as InputCurrency,
159
+ Fr as InputEmail,
159
160
  Ar as InputNumber,
160
- Lr as InputOtp,
161
- Nr as InputPassword,
162
- vr as InputPhoneNumber,
163
- kr as InputRangeNumber,
164
- ve as InputSearch,
165
- Vr as InputText,
166
- Or as InputURL,
167
- Kr as InvisibleField,
168
- Qr as LanguageSwitcher,
169
- Gr as LiteDropdown,
170
- zr as Loading,
171
- Xr as Menu,
172
- Zr as MultiSelect,
173
- oe as OverlayPanel,
174
- ee as Paginator,
175
- ta as Steps,
176
- te as TabMenu,
177
- pe as TagType,
178
- fe as Textarea,
179
- ne as Timeline,
180
- ie as Toast,
161
+ Mr as InputOtp,
162
+ vr as InputPassword,
163
+ kr as InputPhoneNumber,
164
+ Vr as InputRangeNumber,
165
+ ke as InputSearch,
166
+ Or as InputText,
167
+ Kr as InputURL,
168
+ Gr as InvisibleField,
169
+ qr as LanguageSwitcher,
170
+ Jr as LiteDropdown,
171
+ Xr as Loading,
172
+ Zr as Menu,
173
+ oe as MultiSelect,
174
+ ee as OverlayPanel,
175
+ te as Paginator,
176
+ pa as Steps,
177
+ pe as TabMenu,
178
+ fe as TagType,
179
+ ne as Textarea,
180
+ ie as Timeline,
181
+ ue as Toast,
181
182
  m as ToastService,
182
- ue as ToggleSwitch,
183
- Z as Tooltip,
184
- ke as TransactionRoles,
183
+ ce as ToggleSwitch,
184
+ oo as Tooltip,
185
+ Ve as TransactionRoles,
185
186
  x as Tree,
186
- ce as UserName,
187
- Le as UserWithIcon,
188
- Te as ValidatorMessage,
189
- so as VueHtmlToPaper,
190
- pa as WangsVue,
187
+ De as UserName,
188
+ Me as UserWithIcon,
189
+ Se as ValidatorMessage,
190
+ mo as VueHtmlToPaper,
191
+ fa as WangsVue,
191
192
  u as checkRouteAccess,
192
193
  t as eventBus,
193
- V as exportToExcel,
194
+ O as exportToExcel,
194
195
  s as extendEventBus,
195
196
  n as filterNodeKeys,
196
197
  _ as flattenTreeNodeChildren,
197
- H as formatCurrency,
198
+ Q as formatCurrency,
198
199
  P as formatDate,
199
200
  v as formatDateReadable,
200
201
  k as formatUserName,
201
- L as getNestedPropertyValue,
202
- O as getStatusSeverity,
202
+ A as getNestedPropertyValue,
203
+ K as getStatusSeverity,
203
204
  g as getSystemRole,
204
205
  c as getTransactionRole,
205
206
  d as getUserPlan,
206
- T as hasAnyManagerRole,
207
- D as hasAnyMonitoringReportRole,
208
- B as hasApprovalRole,
209
- S as hasManagerRole,
207
+ D as hasAnyManagerRole,
208
+ T as hasAnyMonitoringReportRole,
209
+ S as hasApprovalRole,
210
+ B as hasManagerRole,
210
211
  R as hasMonitoringReportRole,
211
212
  h as hasStaffRole,
212
213
  I as hasSystemRole,
213
214
  y as hasTransactionRole,
214
- ao as i18n,
215
- M as isEmptyObject,
215
+ so as i18n,
216
+ L as isEmptyObject,
216
217
  b as listenSidebarChanges,
218
+ V as loadSheetJSFromCDN,
217
219
  e as mitt,
218
220
  i as parseNodeKeys,
219
- A as unListenSidebarChanges,
220
- oo as useField,
221
- ro as useForm,
222
- fa as useI18n,
223
- z as useLoadingStore,
224
- K as useToast
221
+ F as unListenSidebarChanges,
222
+ eo as useField,
223
+ ao as useForm,
224
+ na as useI18n,
225
+ X as useLoadingStore,
226
+ G as useToast
225
227
  };