@94ai/common-ui 3.2.48 → 3.2.51

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,411 @@
1
+ import fs from "fs";
2
+ import path from "path";
3
+ const ComponentConstantList = [
4
+ "NfMenu",
5
+ "NfInfiniteMenu",
6
+ "NfDoubleTime",
7
+ "NfEmpty",
8
+ "NfImportTemplate",
9
+ "NfSelectTransfer",
10
+ "NfRadioGroup",
11
+ "NfAlert",
12
+ "NfVirtualSelect",
13
+ "NfTag",
14
+ "NfAction",
15
+ "NfIndicatorPlane",
16
+ "NfQuarterPicker",
17
+ "NfDoubleQuarter",
18
+ "NfDoubleHalfYear",
19
+ "NfHalfYearPicker",
20
+ "NfDoubleWeek",
21
+ "NfDoubleYear",
22
+ "NfDatePicker",
23
+ "NfFormItem",
24
+ "NfForm",
25
+ "NfTable",
26
+ "NfSearchForm",
27
+ "NfDrawer",
28
+ "NfMessage",
29
+ "NfNotification",
30
+ "NfConfirm",
31
+ "NfTextOverflow",
32
+ "NfResizablePanels",
33
+ "NfAddress",
34
+ "NfAudio",
35
+ "NfButton"
36
+ ];
37
+ const presudos = ["", "webkit", "moz"];
38
+ function resolveDebuger(name) {
39
+ fs.appendFile(path.resolve(__dirname, "./log.txt"), `${name}
40
+ `, () => {
41
+ });
42
+ }
43
+ function kebabCase(key) {
44
+ const result = key.replace(/([A-Z])/g, " $1").trim();
45
+ return result.split(" ").join("-").toLowerCase();
46
+ }
47
+ function getDirs() {
48
+ return ComponentConstantList.map((item) => "node_modules/@94ai/" + kebabCase(item) + "/lib");
49
+ }
50
+ function getTranspileDependencies() {
51
+ return ComponentConstantList.map((item) => "@94ai/" + kebabCase(item));
52
+ }
53
+ const getResolver = () => {
54
+ return {
55
+ type: "component",
56
+ resolve: (name) => {
57
+ resolveDebuger(name);
58
+ if (/^Nf[A-Za-z](?!.*[Mm][Dd]$).*$/.test(name)) {
59
+ const kebabCasePackageName = kebabCase(name);
60
+ return {
61
+ from: `@94ai/${kebabCasePackageName}/lib/${kebabCasePackageName}.esm-bundler.js`,
62
+ sideEffects: []
63
+ };
64
+ }
65
+ }
66
+ };
67
+ };
68
+ const getJsComponentSampleConfig = (config = {}) => {
69
+ return {
70
+ exclude: [/[\\/]\.git[\\/]/, /[\\/]\.nuxt[\\/]/],
71
+ include: [
72
+ /\.vue$/,
73
+ /\.vue\?vue/,
74
+ /\.vue\?v=/,
75
+ /\.js$/,
76
+ /\.js\?vue/,
77
+ /\.js\?v=/
78
+ ],
79
+ deep: true,
80
+ transformer: "vue2",
81
+ resolvers: [],
82
+ ...config
83
+ };
84
+ };
85
+ const getTsComponentSampleConfig = (config = {}) => {
86
+ return {
87
+ include: [
88
+ /\.vue$/,
89
+ /\.vue\?vue/,
90
+ /\.md$/,
91
+ /\.md\?vue/,
92
+ /\.jsx$/,
93
+ /\.jsx\?vue/,
94
+ /\.tsx$/,
95
+ /\.tsx\?vue/,
96
+ /\.js$/,
97
+ /\.js\?vue/
98
+ ],
99
+ deep: true,
100
+ extensions: ["vue", "md", "jsx", "tsx", "mjs", "mts", "js"],
101
+ dirs: ["src/components", "src/views", "doc"],
102
+ resolvers: [],
103
+ ...config
104
+ };
105
+ };
106
+ function generateUUID() {
107
+ let d = Date.now();
108
+ if (typeof performance !== "undefined" && typeof performance.now === "function") {
109
+ d += performance.now();
110
+ }
111
+ return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(c) {
112
+ const r = (d + Math.random() * 16) % 16 | 0;
113
+ d = Math.floor(d / 16);
114
+ return (c === "x" ? r : r & 3 | 8).toString(16);
115
+ });
116
+ }
117
+ const getCharStringLength = (str) => {
118
+ let leng = 0;
119
+ for (let i = 0; i < str.length; i += 1) {
120
+ if (str.charCodeAt(i) > 127 || str.charCodeAt(i) == 94) {
121
+ leng += 2;
122
+ } else {
123
+ leng += 1;
124
+ }
125
+ }
126
+ return leng;
127
+ };
128
+ const deepClone = (source) => {
129
+ if (!source && typeof source !== "object") {
130
+ throw new Error("error arguments shallowClone");
131
+ }
132
+ const targetObj = source.constructor === Array ? [] : {};
133
+ Object.keys(source).forEach((keys) => {
134
+ if (source[keys] && typeof source[keys] === "object") {
135
+ targetObj[keys] = source[keys].constructor === Array ? [] : {};
136
+ targetObj[keys] = deepClone(source[keys]);
137
+ } else {
138
+ targetObj[keys] = source[keys];
139
+ }
140
+ });
141
+ return targetObj;
142
+ };
143
+ function debounce(func, wait, immediate) {
144
+ let timeout, args, context, timestamp, result;
145
+ const later = function() {
146
+ const last = +/* @__PURE__ */ new Date() - timestamp;
147
+ if (last < wait && last > 0) {
148
+ timeout = setTimeout(later, wait - last);
149
+ } else {
150
+ timeout = null;
151
+ if (!immediate) {
152
+ result = func.apply(context, args);
153
+ if (!timeout)
154
+ context = args = null;
155
+ }
156
+ }
157
+ };
158
+ return function(...args2) {
159
+ context = this;
160
+ timestamp = +/* @__PURE__ */ new Date();
161
+ const callNow = immediate && !timeout;
162
+ if (!timeout)
163
+ timeout = setTimeout(later, wait);
164
+ if (callNow) {
165
+ result = func.apply(context, args2);
166
+ context = args2 = null;
167
+ }
168
+ return result;
169
+ };
170
+ }
171
+ function createUniqueString(randomLength = 36) {
172
+ return Number(Math.random().toString().substr(3, randomLength) + Date.now()).toString(36);
173
+ }
174
+ function getHalfYear(date = /* @__PURE__ */ new Date()) {
175
+ const currMonth = date.getMonth() + 1;
176
+ return Math.floor(currMonth % 6 == 0 ? currMonth / 6 : currMonth / 6 + 1);
177
+ }
178
+ function getQuarter(date = /* @__PURE__ */ new Date()) {
179
+ const currMonth = date.getMonth() + 1;
180
+ return Math.floor(currMonth % 3 == 0 ? currMonth / 3 : currMonth / 3 + 1);
181
+ }
182
+ function getNextYear(date = /* @__PURE__ */ new Date()) {
183
+ return new Date(date.setFullYear(date.getFullYear() + 1));
184
+ }
185
+ function endOf(now = /* @__PURE__ */ new Date(), unit) {
186
+ if (unit === "year") {
187
+ return new Date(now.getFullYear(), 11, 31, 23, 59, 59, 999);
188
+ }
189
+ if (unit === "month") {
190
+ return new Date(new Date(now.getFullYear(), now.getMonth() + 1, 1).getTime() - 1);
191
+ }
192
+ if (unit === "week") {
193
+ return new Date(now.getFullYear(), now.getMonth(), now.getDate() + (6 - now.getDay()), 23, 59, 59, 999);
194
+ }
195
+ return new Date(now.getFullYear(), now.getMonth(), now.getDate(), 23, 59, 59, 999);
196
+ }
197
+ function startOf(date, unit) {
198
+ const newDate = new Date(date);
199
+ if (unit === "year") {
200
+ newDate.setMonth(0);
201
+ newDate.setDate(1);
202
+ newDate.setHours(0, 0, 0, 0);
203
+ } else if (unit === "month") {
204
+ newDate.setDate(1);
205
+ newDate.setHours(0, 0, 0, 0);
206
+ } else if (unit === "") {
207
+ newDate.setHours(0, 0, 0, 0);
208
+ } else if (unit === "hour") {
209
+ newDate.setMinutes(0, 0, 0);
210
+ } else if (unit === "minute") {
211
+ newDate.setSeconds(0, 0);
212
+ } else if (unit === "second") {
213
+ newDate.setMilliseconds(0);
214
+ }
215
+ return newDate;
216
+ }
217
+ function formatDate(date, format) {
218
+ const year = date.getFullYear();
219
+ const month = date.getMonth() + 1;
220
+ const day = date.getDate();
221
+ const hours = date.getHours();
222
+ const minutes = date.getMinutes();
223
+ const seconds = date.getSeconds();
224
+ format = format.replace("YYYY", year);
225
+ format = format.replace("MM", String(month).padStart(2, "0"));
226
+ format = format.replace("DD", String(day).padStart(2, "0"));
227
+ format = format.replace("HH", String(hours).padStart(2, "0"));
228
+ format = format.replace("mm", String(minutes).padStart(2, "0"));
229
+ format = format.replace("ss", String(seconds).padStart(2, "0"));
230
+ return format;
231
+ }
232
+ function HexToRgb(str) {
233
+ const r = /^#?[0-9A-Fa-f]{6}$/;
234
+ if (!r.test(str))
235
+ return;
236
+ str = str.replace("#", "");
237
+ const hxs = str.match(/../g);
238
+ for (let i = 0; i < 3; i++) {
239
+ hxs[i] = parseInt(hxs[i], 16);
240
+ }
241
+ return hxs;
242
+ }
243
+ function RgbToHex(a, b, c) {
244
+ const r = /^\d{1,3}$/;
245
+ if (!r.test(String(a)) || !r.test(String(b)) || !r.test(String(c)))
246
+ return;
247
+ const hexs = [a.toString(16), b.toString(16), c.toString(16)];
248
+ for (let i = 0; i < 3; i++)
249
+ if (hexs[i].length === 1)
250
+ hexs[i] = "0" + hexs[i];
251
+ return "#" + hexs.join("");
252
+ }
253
+ function getDarkColor(color, level) {
254
+ const r = /^#?[0-9A-Fa-f]{6}$/;
255
+ if (!r.test(color))
256
+ return color;
257
+ const rgbc = HexToRgb(color);
258
+ for (let i = 0; i < 3; i++) {
259
+ rgbc[i] = Math.floor(rgbc[i] * (1 - level));
260
+ }
261
+ return RgbToHex(rgbc[0], rgbc[1], rgbc[2]);
262
+ }
263
+ function getLightColor(color, level) {
264
+ const r = /^#?[0-9A-Fa-f]{6}$/;
265
+ if (!r.test(color))
266
+ return color;
267
+ const rgbc = HexToRgb(color);
268
+ for (let i = 0; i < 3; i++) {
269
+ rgbc[i] = Math.floor((255 - rgbc[i]) * level + rgbc[i]);
270
+ }
271
+ return RgbToHex(rgbc[0], rgbc[1], rgbc[2]);
272
+ }
273
+ const toLine = (value) => {
274
+ return value.replace(/(A-Z)g/, "-$1").toLocaleLowerCase();
275
+ };
276
+ function upperCamelCase(word) {
277
+ const cleanedString = word.replace(/\W/g, "");
278
+ const words = cleanedString.toLowerCase().split(/\B(?=[A-Z])/);
279
+ const upperCamelCase2 = words.map((word2) => word2.charAt(0).toUpperCase() + word2.slice(1)).join("");
280
+ return upperCamelCase2;
281
+ }
282
+ function isAutoFlexBasis(el) {
283
+ const flexBasis = _getComputedStyle(el, "flexBasis");
284
+ return flexBasis === "auto";
285
+ }
286
+ function _getComputedStyle(el, k) {
287
+ const computedStyle = getComputedStyle(el);
288
+ for (let i = 0; i <= presudos.length; i++) {
289
+ const key = presudos[i] ? `${presudos[i]}${upperCamelCase(k)}` : k;
290
+ if (computedStyle[key]) {
291
+ return computedStyle[key];
292
+ }
293
+ }
294
+ return void 0;
295
+ }
296
+ function getFlexDirection(el) {
297
+ const flexDirection = _getComputedStyle(el, "flexDirection");
298
+ const [direction, reverse] = flexDirection.split("-");
299
+ return {
300
+ vertical: direction === "column",
301
+ reverse: !!reverse
302
+ };
303
+ }
304
+ function getBlobURL(jsCode) {
305
+ const blob = new Blob([jsCode], { type: "text/javascript" });
306
+ const blobURL = URL.createObjectURL(blob);
307
+ return blobURL;
308
+ }
309
+ function toBase64(str) {
310
+ return btoa(unescape(encodeURIComponent(str)));
311
+ }
312
+ function generateID() {
313
+ return Math.random().toString(36).slice(2, 12) + Date.now();
314
+ }
315
+ const copyFile = (sourcePath, targetPath) => {
316
+ const isExist = (path2) => {
317
+ if (!fs.existsSync(path2)) {
318
+ fs.mkdirSync(path2);
319
+ }
320
+ };
321
+ isExist(targetPath);
322
+ const sourceFile = fs.readdirSync(sourcePath, { withFileTypes: true });
323
+ sourceFile.forEach((file) => {
324
+ const newSourcePath = path.resolve(sourcePath, file.name);
325
+ const newTargetPath = path.resolve(targetPath, file.name);
326
+ if (file.isDirectory()) {
327
+ isExist(newTargetPath);
328
+ copyFile(newSourcePath, newTargetPath);
329
+ return;
330
+ }
331
+ fs.copyFileSync(newSourcePath, newTargetPath);
332
+ });
333
+ };
334
+ function toPascalCase(str) {
335
+ const camelCase = str.replace(/-([a-z])/g, function(_match, letter) {
336
+ return letter.toUpperCase();
337
+ });
338
+ return camelCase.charAt(0).toUpperCase() + camelCase.slice(1);
339
+ }
340
+ const tool = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
341
+ __proto__: null,
342
+ ComponentConstantList,
343
+ HexToRgb,
344
+ RgbToHex,
345
+ _getComputedStyle,
346
+ copyFile,
347
+ createUniqueString,
348
+ debounce,
349
+ deepClone,
350
+ endOf,
351
+ formatDate,
352
+ generateID,
353
+ generateUUID,
354
+ getBlobURL,
355
+ getCharStringLength,
356
+ getDarkColor,
357
+ getDirs,
358
+ getFlexDirection,
359
+ getHalfYear,
360
+ getJsComponentSampleConfig,
361
+ getLightColor,
362
+ getNextYear,
363
+ getQuarter,
364
+ getResolver,
365
+ getTranspileDependencies,
366
+ getTsComponentSampleConfig,
367
+ isAutoFlexBasis,
368
+ kebabCase,
369
+ resolveDebuger,
370
+ startOf,
371
+ toBase64,
372
+ toLine,
373
+ toPascalCase,
374
+ upperCamelCase
375
+ }, Symbol.toStringTag, { value: "Module" }));
376
+ export {
377
+ ComponentConstantList,
378
+ HexToRgb,
379
+ RgbToHex,
380
+ _getComputedStyle,
381
+ copyFile,
382
+ createUniqueString,
383
+ debounce,
384
+ deepClone,
385
+ tool as default,
386
+ endOf,
387
+ formatDate,
388
+ generateID,
389
+ generateUUID,
390
+ getBlobURL,
391
+ getCharStringLength,
392
+ getDarkColor,
393
+ getDirs,
394
+ getFlexDirection,
395
+ getHalfYear,
396
+ getJsComponentSampleConfig,
397
+ getLightColor,
398
+ getNextYear,
399
+ getQuarter,
400
+ getResolver,
401
+ getTranspileDependencies,
402
+ getTsComponentSampleConfig,
403
+ isAutoFlexBasis,
404
+ kebabCase,
405
+ resolveDebuger,
406
+ startOf,
407
+ toBase64,
408
+ toLine,
409
+ toPascalCase,
410
+ upperCamelCase
411
+ };
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
+ const commonUtils = require("@94ai/common-utils");
4
+ function _interopNamespaceDefault(e) {
5
+ const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
6
+ if (e) {
7
+ for (const k in e) {
8
+ if (k !== "default") {
9
+ const d = Object.getOwnPropertyDescriptor(e, k);
10
+ Object.defineProperty(n, k, d.get ? d : {
11
+ enumerable: true,
12
+ get: () => e[k]
13
+ });
14
+ }
15
+ }
16
+ }
17
+ n.default = e;
18
+ return Object.freeze(n);
19
+ }
20
+ const commonUtils__namespace = /* @__PURE__ */ _interopNamespaceDefault(commonUtils);
21
+ exports.default = commonUtils__namespace;
22
+ Object.keys(commonUtils).forEach((k) => {
23
+ if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k))
24
+ Object.defineProperty(exports, k, {
25
+ enumerable: true,
26
+ get: () => commonUtils[k]
27
+ });
28
+ });
@@ -0,0 +1,5 @@
1
+ export * from "@94ai/common-utils";
2
+ import * as commonUtils from "@94ai/common-utils";
3
+ export {
4
+ commonUtils as default
5
+ };
package/lib/tool.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ export * as default from '@94ai/common-utils/lib/tool';
2
+ export * from '@94ai/common-utils/lib/tool';
package/lib/util.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ export * as default from '@94ai/common-utils';
2
+ export * from '@94ai/common-utils';
package/package/index.ts CHANGED
@@ -37,6 +37,10 @@ import NfAudio from '@94ai/nf-audio'
37
37
  import NfButton from '@94ai/nf-button'
38
38
  import NfIconfontIcon from '@94ai/nf-iconfont-icon'
39
39
  import NfSvgIcon from '@94ai/nf-svg-icon'
40
+ import NfKeywords from '@94ai/nf-keywords'
41
+ import NfConditions from '@94ai/nf-conditions'
42
+ import NfVariableSelect from '@94ai/nf-variable-select'
43
+ import NfRules from '@94ai/nf-rules'
40
44
 
41
45
  const CommonUI = defineComponent({
42
46
  name: 'common-ui',
@@ -76,6 +80,10 @@ const CommonUI = defineComponent({
76
80
  NfButton,
77
81
  NfIconfontIcon,
78
82
  NfSvgIcon,
83
+ NfKeywords,
84
+ NfConditions,
85
+ NfVariableSelect,
86
+ NfRules,
79
87
  ].forEach((component) => {
80
88
  app!.use(component)
81
89
  })
@@ -0,0 +1,2 @@
1
+ export * as default from '@94ai/common-utils/lib/tool'
2
+ export * from '@94ai/common-utils/lib/tool'
@@ -0,0 +1,3 @@
1
+ export * as default from '@94ai/common-utils'
2
+ export * from '@94ai/common-utils'
3
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@94ai/common-ui",
3
- "version": "3.2.48",
3
+ "version": "3.2.51",
4
4
  "description": "94智能公共组件库",
5
5
  "keywords": [
6
6
  "组件库"
@@ -16,43 +16,48 @@
16
16
  "url": "http://94ai.gitlab.com/zoujiahe/common-ui.git"
17
17
  },
18
18
  "dependencies": {
19
- "@94ai/nf-action": "^3.2.48",
20
- "@94ai/nf-address": "^3.2.48",
21
- "@94ai/nf-alert": "^3.2.48",
22
- "@94ai/nf-audio": "^3.2.48",
23
- "@94ai/nf-button": "^3.2.48",
24
- "@94ai/nf-button-demo": "^3.2.48",
25
- "@94ai/nf-confirm": "^3.2.48",
26
- "@94ai/nf-date-picker": "^3.2.48",
27
- "@94ai/nf-double-half-year": "^3.2.48",
28
- "@94ai/nf-double-quarter": "^3.2.48",
29
- "@94ai/nf-double-time": "^3.2.48",
30
- "@94ai/nf-double-week": "^3.2.48",
31
- "@94ai/nf-double-year": "^3.2.48",
32
- "@94ai/nf-drawer": "^3.2.48",
33
- "@94ai/nf-empty": "^3.2.48",
34
- "@94ai/nf-form": "^3.2.48",
35
- "@94ai/nf-form-item": "^3.2.48",
36
- "@94ai/nf-half-year-picker": "^3.2.48",
37
- "@94ai/nf-iconfont-icon": "^3.2.48",
38
- "@94ai/nf-import-template": "^3.2.48",
39
- "@94ai/nf-indicator-plane": "^3.2.48",
40
- "@94ai/nf-infinite-menu": "^3.2.48",
41
- "@94ai/nf-menu": "^3.2.48",
42
- "@94ai/nf-message": "^3.2.48",
43
- "@94ai/nf-notification": "^3.2.48",
44
- "@94ai/nf-quarter-picker": "^3.2.48",
45
- "@94ai/nf-radio-group": "^3.2.48",
46
- "@94ai/nf-resizable-panels": "^3.2.48",
47
- "@94ai/nf-search-form": "^3.2.48",
48
- "@94ai/nf-select-transfer": "^3.2.48",
49
- "@94ai/nf-svg-icon": "^3.2.48",
50
- "@94ai/nf-table": "^3.2.48",
51
- "@94ai/nf-tag": "^3.2.48",
52
- "@94ai/nf-text-overflow": "^3.2.48",
53
- "@94ai/nf-theme-chalk": "^3.2.48",
54
- "@94ai/nf-toast-demo": "^3.2.48",
55
- "@94ai/nf-virtual-select": "^3.2.48",
19
+ "@94ai/common-utils": "^3.2.51",
20
+ "@94ai/nf-action": "^3.2.51",
21
+ "@94ai/nf-address": "^3.2.51",
22
+ "@94ai/nf-alert": "^3.2.51",
23
+ "@94ai/nf-audio": "^3.2.51",
24
+ "@94ai/nf-button": "^3.2.51",
25
+ "@94ai/nf-button-demo": "^3.2.51",
26
+ "@94ai/nf-conditions": "^3.2.51",
27
+ "@94ai/nf-confirm": "^3.2.51",
28
+ "@94ai/nf-date-picker": "^3.2.51",
29
+ "@94ai/nf-double-half-year": "^3.2.51",
30
+ "@94ai/nf-double-quarter": "^3.2.51",
31
+ "@94ai/nf-double-time": "^3.2.51",
32
+ "@94ai/nf-double-week": "^3.2.51",
33
+ "@94ai/nf-double-year": "^3.2.51",
34
+ "@94ai/nf-drawer": "^3.2.51",
35
+ "@94ai/nf-empty": "^3.2.51",
36
+ "@94ai/nf-form": "^3.2.51",
37
+ "@94ai/nf-form-item": "^3.2.51",
38
+ "@94ai/nf-half-year-picker": "^3.2.51",
39
+ "@94ai/nf-iconfont-icon": "^3.2.51",
40
+ "@94ai/nf-import-template": "^3.2.51",
41
+ "@94ai/nf-indicator-plane": "^3.2.51",
42
+ "@94ai/nf-infinite-menu": "^3.2.51",
43
+ "@94ai/nf-keywords": "^3.2.51",
44
+ "@94ai/nf-menu": "^3.2.51",
45
+ "@94ai/nf-message": "^3.2.51",
46
+ "@94ai/nf-notification": "^3.2.51",
47
+ "@94ai/nf-quarter-picker": "^3.2.51",
48
+ "@94ai/nf-radio-group": "^3.2.51",
49
+ "@94ai/nf-resizable-panels": "^3.2.51",
50
+ "@94ai/nf-rules": "^3.2.51",
51
+ "@94ai/nf-search-form": "^3.2.51",
52
+ "@94ai/nf-select-transfer": "^3.2.51",
53
+ "@94ai/nf-svg-icon": "^3.2.51",
54
+ "@94ai/nf-table": "^3.2.51",
55
+ "@94ai/nf-tag": "^3.2.51",
56
+ "@94ai/nf-text-overflow": "^3.2.51",
57
+ "@94ai/nf-theme-chalk": "^3.2.51",
58
+ "@94ai/nf-toast-demo": "^3.2.51",
59
+ "@94ai/nf-variable-select": "^3.2.51",
60
+ "@94ai/nf-virtual-select": "^3.2.51",
56
61
  "vue-demi": "^0.14.5"
57
62
  },
58
63
  "peerDependenciesMeta": {
@@ -68,5 +73,22 @@
68
73
  "types": "lib/index.d.ts",
69
74
  "main": "lib/common-ui.cjs.js",
70
75
  "module": "lib/common-ui.esm-bundler.js",
71
- "gitHead": "91145bb7df8dad2c0cb3eefb101c6158ec854269"
76
+ "exports": {
77
+ ".": {
78
+ "types": "./lib/index.d.ts",
79
+ "require": "./lib/common-ui.cjs.js",
80
+ "import": "./lib/common-ui.esm-bundler.js"
81
+ },
82
+ "./lib/util": {
83
+ "types": "./lib/util.d.ts",
84
+ "require": "./lib/common-ui.util.cjs.cjs",
85
+ "import": "./lib/common-ui.util.esm-bundler.mjs"
86
+ },
87
+ "./lib/tool": {
88
+ "types": "./lib/tool.d.ts",
89
+ "require": "./lib/common-ui.tool.cjs.cjs",
90
+ "import": "./lib/common-ui.tool.esm-bundler.mjs"
91
+ }
92
+ },
93
+ "gitHead": "1c4b9d8c3b8c416274a210124bf9f5f75ce01c73"
72
94
  }