@94ai/common-ui 3.2.81 → 3.3.0

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/components.d.ts CHANGED
@@ -4,7 +4,7 @@ declare module 'vue' {
4
4
  export interface GlobalComponents {
5
5
  CommonUtils: typeof import('@94ai/common-utils/lib/common-utils.vue')['default']
6
6
  NfAction: typeof import('@94ai/nf-action/lib/nf-action.vue')['default']
7
- NfAddress: typeof import('@94ai/nf-address/lib/nf-address.vue')['default']
7
+ NfAddressSelect: typeof import('@94ai/nf-address-select/lib/nf-address-select.vue')['default']
8
8
  NfAlert: typeof import('@94ai/nf-alert/lib/nf-alert.vue')['default']
9
9
  NfAudio: typeof import('@94ai/nf-audio/lib/nf-audio.vue')['default']
10
10
  NfButton: typeof import('@94ai/nf-button/lib/nf-button.vue')['default']
@@ -37,12 +37,12 @@ declare module 'vue' {
37
37
  NfResizablePanels: typeof import('@94ai/nf-resizable-panels/lib/nf-resizable-panels.vue')['default']
38
38
  NfRules: typeof import('@94ai/nf-rules/lib/nf-rules.vue')['default']
39
39
  NfSearchForm: typeof import('@94ai/nf-search-form/lib/nf-search-form.vue')['default']
40
- NfSelectTransfer: typeof import('@94ai/nf-select-transfer/lib/nf-select-transfer.vue')['default']
41
40
  NfSvgIcon: typeof import('@94ai/nf-svg-icon/lib/nf-svg-icon.vue')['default']
42
41
  NfTable: typeof import('@94ai/nf-table/lib/nf-table.vue')['default']
43
42
  NfTag: typeof import('@94ai/nf-tag/lib/nf-tag.vue')['default']
44
43
  NfTextOverflow: typeof import('@94ai/nf-text-overflow/lib/nf-text-overflow.vue')['default']
45
44
  NfToastDemo: typeof import('@94ai/nf-toast-demo/lib/nf-toast-demo.vue')['default']
45
+ NfTransferSelect: typeof import('@94ai/nf-transfer-select/lib/nf-transfer-select.vue')['default']
46
46
  NfVariableSelect: typeof import('@94ai/nf-variable-select/lib/nf-variable-select.vue')['default']
47
47
  NfVirtualSelect: typeof import('@94ai/nf-virtual-select/lib/nf-virtual-select.vue')['default']
48
48
 
@@ -6,7 +6,6 @@ const NfInfiniteMenu = require("@94ai/nf-infinite-menu");
6
6
  const NfDoubleTime = require("@94ai/nf-double-time");
7
7
  const NfEmpty = require("@94ai/nf-empty");
8
8
  const NfImportTemplate = require("@94ai/nf-import-template");
9
- const NfSelectTransfer = require("@94ai/nf-select-transfer");
10
9
  const NfRadioGroup = require("@94ai/nf-radio-group");
11
10
  const NfAlert = require("@94ai/nf-alert");
12
11
  const NfVirtualSelect = require("@94ai/nf-virtual-select");
@@ -30,7 +29,6 @@ const NfNotification = require("@94ai/nf-notification");
30
29
  const NfConfirm = require("@94ai/nf-confirm");
31
30
  const NfTextOverflow = require("@94ai/nf-text-overflow");
32
31
  const NfResizablePanels = require("@94ai/nf-resizable-panels");
33
- const NfAddress = require("@94ai/nf-address");
34
32
  const NfAudio = require("@94ai/nf-audio");
35
33
  const NfButton = require("@94ai/nf-button");
36
34
  const NfIconfontIcon = require("@94ai/nf-iconfont-icon");
@@ -41,6 +39,8 @@ const NfVariableSelect = require("@94ai/nf-variable-select");
41
39
  const NfRules = require("@94ai/nf-rules");
42
40
  const NfLazySelect = require("@94ai/nf-lazy-select");
43
41
  const NfPopupLazySelect = require("@94ai/nf-popup-lazy-select");
42
+ const NfTransferSelect = require("@94ai/nf-transfer-select");
43
+ const NfAddressSelect = require("@94ai/nf-address-select");
44
44
  const CommonUI = vueDemi.defineComponent({
45
45
  name: "common-ui",
46
46
  install(app) {
@@ -51,7 +51,6 @@ const CommonUI = vueDemi.defineComponent({
51
51
  NfDoubleTime,
52
52
  NfEmpty,
53
53
  NfImportTemplate,
54
- NfSelectTransfer,
55
54
  NfRadioGroup,
56
55
  NfAlert,
57
56
  NfVirtualSelect,
@@ -74,7 +73,6 @@ const CommonUI = vueDemi.defineComponent({
74
73
  NfConfirm,
75
74
  NfTextOverflow,
76
75
  NfResizablePanels,
77
- NfAddress,
78
76
  NfAudio,
79
77
  NfButton,
80
78
  NfIconfontIcon,
@@ -84,7 +82,9 @@ const CommonUI = vueDemi.defineComponent({
84
82
  NfVariableSelect,
85
83
  NfRules,
86
84
  NfLazySelect,
87
- NfPopupLazySelect
85
+ NfPopupLazySelect,
86
+ NfTransferSelect,
87
+ NfAddressSelect
88
88
  ].forEach((component) => {
89
89
  app.use(component);
90
90
  });
@@ -95,7 +95,6 @@ exports.NfInfiniteMenu = NfInfiniteMenu;
95
95
  exports.NfDoubleTime = NfDoubleTime;
96
96
  exports.NfEmpty = NfEmpty;
97
97
  exports.NfImportTemplate = NfImportTemplate;
98
- exports.NfSelectTransfer = NfSelectTransfer;
99
98
  exports.NfRadioGroup = NfRadioGroup;
100
99
  exports.NfAlert = NfAlert;
101
100
  exports.NfVirtualSelect = NfVirtualSelect;
@@ -119,7 +118,16 @@ exports.NfNotification = NfNotification;
119
118
  exports.NfConfirm = NfConfirm;
120
119
  exports.NfTextOverflow = NfTextOverflow;
121
120
  exports.NfResizablePanels = NfResizablePanels;
122
- exports.NfAddress = NfAddress;
123
121
  exports.NfAudio = NfAudio;
124
122
  exports.NfButton = NfButton;
123
+ exports.NfIconfontIcon = NfIconfontIcon;
124
+ exports.NfSvgIcon = NfSvgIcon;
125
+ exports.NfKeywords = NfKeywords;
126
+ exports.NfConditions = NfConditions;
127
+ exports.NfVariableSelect = NfVariableSelect;
128
+ exports.NfRules = NfRules;
129
+ exports.NfLazySelect = NfLazySelect;
130
+ exports.NfPopupLazySelect = NfPopupLazySelect;
131
+ exports.NfTransferSelect = NfTransferSelect;
132
+ exports.NfAddressSelect = NfAddressSelect;
125
133
  exports.default = CommonUI;
@@ -9,68 +9,76 @@ import NfEmpty from "@94ai/nf-empty";
9
9
  import { default as default5 } from "@94ai/nf-empty";
10
10
  import NfImportTemplate from "@94ai/nf-import-template";
11
11
  import { default as default6 } from "@94ai/nf-import-template";
12
- import NfSelectTransfer from "@94ai/nf-select-transfer";
13
- import { default as default7 } from "@94ai/nf-select-transfer";
14
12
  import NfRadioGroup from "@94ai/nf-radio-group";
15
- import { default as default8 } from "@94ai/nf-radio-group";
13
+ import { default as default7 } from "@94ai/nf-radio-group";
16
14
  import NfAlert from "@94ai/nf-alert";
17
- import { default as default9 } from "@94ai/nf-alert";
15
+ import { default as default8 } from "@94ai/nf-alert";
18
16
  import NfVirtualSelect from "@94ai/nf-virtual-select";
19
- import { default as default10 } from "@94ai/nf-virtual-select";
17
+ import { default as default9 } from "@94ai/nf-virtual-select";
20
18
  import NfTag from "@94ai/nf-tag";
21
- import { default as default11 } from "@94ai/nf-tag";
19
+ import { default as default10 } from "@94ai/nf-tag";
22
20
  import NfAction from "@94ai/nf-action";
23
- import { default as default12 } from "@94ai/nf-action";
21
+ import { default as default11 } from "@94ai/nf-action";
24
22
  import NfIndicatorPlane from "@94ai/nf-indicator-plane";
25
- import { default as default13 } from "@94ai/nf-indicator-plane";
23
+ import { default as default12 } from "@94ai/nf-indicator-plane";
26
24
  import NfQuarterPicker from "@94ai/nf-quarter-picker";
27
- import { default as default14 } from "@94ai/nf-quarter-picker";
25
+ import { default as default13 } from "@94ai/nf-quarter-picker";
28
26
  import NfDoubleQuarter from "@94ai/nf-double-quarter";
29
- import { default as default15 } from "@94ai/nf-double-quarter";
27
+ import { default as default14 } from "@94ai/nf-double-quarter";
30
28
  import NfDoubleHalfYear from "@94ai/nf-double-half-year";
31
- import { default as default16 } from "@94ai/nf-double-half-year";
29
+ import { default as default15 } from "@94ai/nf-double-half-year";
32
30
  import NfHalfYearPicker from "@94ai/nf-half-year-picker";
33
- import { default as default17 } from "@94ai/nf-half-year-picker";
31
+ import { default as default16 } from "@94ai/nf-half-year-picker";
34
32
  import NfDoubleWeek from "@94ai/nf-double-week";
35
- import { default as default18 } from "@94ai/nf-double-week";
33
+ import { default as default17 } from "@94ai/nf-double-week";
36
34
  import NfDoubleYear from "@94ai/nf-double-year";
37
- import { default as default19 } from "@94ai/nf-double-year";
35
+ import { default as default18 } from "@94ai/nf-double-year";
38
36
  import NfDatePicker from "@94ai/nf-date-picker";
39
- import { default as default20 } from "@94ai/nf-date-picker";
37
+ import { default as default19 } from "@94ai/nf-date-picker";
40
38
  import NfFormItem from "@94ai/nf-form-item";
41
- import { default as default21 } from "@94ai/nf-form-item";
39
+ import { default as default20 } from "@94ai/nf-form-item";
42
40
  import NfForm from "@94ai/nf-form";
43
- import { default as default22 } from "@94ai/nf-form";
41
+ import { default as default21 } from "@94ai/nf-form";
44
42
  import NfTable from "@94ai/nf-table";
45
- import { default as default23 } from "@94ai/nf-table";
43
+ import { default as default22 } from "@94ai/nf-table";
46
44
  import NfSearchForm from "@94ai/nf-search-form";
47
- import { default as default24 } from "@94ai/nf-search-form";
45
+ import { default as default23 } from "@94ai/nf-search-form";
48
46
  import NfDrawer from "@94ai/nf-drawer";
49
- import { default as default25 } from "@94ai/nf-drawer";
47
+ import { default as default24 } from "@94ai/nf-drawer";
50
48
  import NfMessage from "@94ai/nf-message";
51
- import { default as default26 } from "@94ai/nf-message";
49
+ import { default as default25 } from "@94ai/nf-message";
52
50
  import NfNotification from "@94ai/nf-notification";
53
- import { default as default27 } from "@94ai/nf-notification";
51
+ import { default as default26 } from "@94ai/nf-notification";
54
52
  import NfConfirm from "@94ai/nf-confirm";
55
- import { default as default28 } from "@94ai/nf-confirm";
53
+ import { default as default27 } from "@94ai/nf-confirm";
56
54
  import NfTextOverflow from "@94ai/nf-text-overflow";
57
- import { default as default29 } from "@94ai/nf-text-overflow";
55
+ import { default as default28 } from "@94ai/nf-text-overflow";
58
56
  import NfResizablePanels from "@94ai/nf-resizable-panels";
59
- import { default as default30 } from "@94ai/nf-resizable-panels";
60
- import NfAddress from "@94ai/nf-address";
61
- import { default as default31 } from "@94ai/nf-address";
57
+ import { default as default29 } from "@94ai/nf-resizable-panels";
62
58
  import NfAudio from "@94ai/nf-audio";
63
- import { default as default32 } from "@94ai/nf-audio";
59
+ import { default as default30 } from "@94ai/nf-audio";
64
60
  import NfButton from "@94ai/nf-button";
65
- import { default as default33 } from "@94ai/nf-button";
61
+ import { default as default31 } from "@94ai/nf-button";
66
62
  import NfIconfontIcon from "@94ai/nf-iconfont-icon";
63
+ import { default as default32 } from "@94ai/nf-iconfont-icon";
67
64
  import NfSvgIcon from "@94ai/nf-svg-icon";
65
+ import { default as default33 } from "@94ai/nf-svg-icon";
68
66
  import NfKeywords from "@94ai/nf-keywords";
67
+ import { default as default34 } from "@94ai/nf-keywords";
69
68
  import NfConditions from "@94ai/nf-conditions";
69
+ import { default as default35 } from "@94ai/nf-conditions";
70
70
  import NfVariableSelect from "@94ai/nf-variable-select";
71
+ import { default as default36 } from "@94ai/nf-variable-select";
71
72
  import NfRules from "@94ai/nf-rules";
73
+ import { default as default37 } from "@94ai/nf-rules";
72
74
  import NfLazySelect from "@94ai/nf-lazy-select";
75
+ import { default as default38 } from "@94ai/nf-lazy-select";
73
76
  import NfPopupLazySelect from "@94ai/nf-popup-lazy-select";
77
+ import { default as default39 } from "@94ai/nf-popup-lazy-select";
78
+ import NfTransferSelect from "@94ai/nf-transfer-select";
79
+ import { default as default40 } from "@94ai/nf-transfer-select";
80
+ import NfAddressSelect from "@94ai/nf-address-select";
81
+ import { default as default41 } from "@94ai/nf-address-select";
74
82
  const CommonUI = defineComponent({
75
83
  name: "common-ui",
76
84
  install(app) {
@@ -81,7 +89,6 @@ const CommonUI = defineComponent({
81
89
  NfDoubleTime,
82
90
  NfEmpty,
83
91
  NfImportTemplate,
84
- NfSelectTransfer,
85
92
  NfRadioGroup,
86
93
  NfAlert,
87
94
  NfVirtualSelect,
@@ -104,7 +111,6 @@ const CommonUI = defineComponent({
104
111
  NfConfirm,
105
112
  NfTextOverflow,
106
113
  NfResizablePanels,
107
- NfAddress,
108
114
  NfAudio,
109
115
  NfButton,
110
116
  NfIconfontIcon,
@@ -114,44 +120,54 @@ const CommonUI = defineComponent({
114
120
  NfVariableSelect,
115
121
  NfRules,
116
122
  NfLazySelect,
117
- NfPopupLazySelect
123
+ NfPopupLazySelect,
124
+ NfTransferSelect,
125
+ NfAddressSelect
118
126
  ].forEach((component) => {
119
127
  app.use(component);
120
128
  });
121
129
  }
122
130
  });
123
131
  export {
124
- default12 as NfAction,
125
- default31 as NfAddress,
126
- default9 as NfAlert,
127
- default32 as NfAudio,
128
- default33 as NfButton,
129
- default28 as NfConfirm,
130
- default20 as NfDatePicker,
131
- default16 as NfDoubleHalfYear,
132
- default15 as NfDoubleQuarter,
132
+ default11 as NfAction,
133
+ default41 as NfAddressSelect,
134
+ default8 as NfAlert,
135
+ default30 as NfAudio,
136
+ default31 as NfButton,
137
+ default35 as NfConditions,
138
+ default27 as NfConfirm,
139
+ default19 as NfDatePicker,
140
+ default15 as NfDoubleHalfYear,
141
+ default14 as NfDoubleQuarter,
133
142
  default4 as NfDoubleTime,
134
- default18 as NfDoubleWeek,
135
- default19 as NfDoubleYear,
136
- default25 as NfDrawer,
143
+ default17 as NfDoubleWeek,
144
+ default18 as NfDoubleYear,
145
+ default24 as NfDrawer,
137
146
  default5 as NfEmpty,
138
- default22 as NfForm,
139
- default21 as NfFormItem,
140
- default17 as NfHalfYearPicker,
147
+ default21 as NfForm,
148
+ default20 as NfFormItem,
149
+ default16 as NfHalfYearPicker,
150
+ default32 as NfIconfontIcon,
141
151
  default6 as NfImportTemplate,
142
- default13 as NfIndicatorPlane,
152
+ default12 as NfIndicatorPlane,
143
153
  default3 as NfInfiniteMenu,
154
+ default34 as NfKeywords,
155
+ default38 as NfLazySelect,
144
156
  default2 as NfMenu,
145
- default26 as NfMessage,
146
- default27 as NfNotification,
147
- default14 as NfQuarterPicker,
148
- default8 as NfRadioGroup,
149
- default30 as NfResizablePanels,
150
- default24 as NfSearchForm,
151
- default7 as NfSelectTransfer,
152
- default23 as NfTable,
153
- default11 as NfTag,
154
- default29 as NfTextOverflow,
155
- default10 as NfVirtualSelect,
157
+ default25 as NfMessage,
158
+ default26 as NfNotification,
159
+ default39 as NfPopupLazySelect,
160
+ default13 as NfQuarterPicker,
161
+ default7 as NfRadioGroup,
162
+ default29 as NfResizablePanels,
163
+ default37 as NfRules,
164
+ default23 as NfSearchForm,
165
+ default33 as NfSvgIcon,
166
+ default22 as NfTable,
167
+ default10 as NfTag,
168
+ default28 as NfTextOverflow,
169
+ default40 as NfTransferSelect,
170
+ default36 as NfVariableSelect,
171
+ default9 as NfVirtualSelect,
156
172
  CommonUI as default
157
173
  };
@@ -2,13 +2,14 @@
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const fs = require("fs");
4
4
  const path = require("path");
5
+ require("vue-demi");
5
6
  const ComponentConstantList = [
6
7
  "NfMenu",
7
8
  "NfInfiniteMenu",
8
9
  "NfDoubleTime",
9
10
  "NfEmpty",
10
11
  "NfImportTemplate",
11
- "NfSelectTransfer",
12
+ "NfTransferSelect",
12
13
  "NfRadioGroup",
13
14
  "NfAlert",
14
15
  "NfVirtualSelect",
@@ -50,6 +51,21 @@ function kebabCase(key) {
50
51
  const result = key.replace(/([A-Z])/g, " $1").trim();
51
52
  return result.split(" ").join("-").toLowerCase();
52
53
  }
54
+ function isAsyncFunc(func) {
55
+ return func[Symbol(Symbol.toStringTag)] === "AsyncFunction";
56
+ }
57
+ function closest(that, componentName) {
58
+ let vm = that;
59
+ let result;
60
+ while (vm && !result) {
61
+ const name = vm.$options.name;
62
+ if (name === componentName) {
63
+ result = vm;
64
+ }
65
+ vm = vm.$parent;
66
+ }
67
+ return result;
68
+ }
53
69
  function getDirs() {
54
70
  return ComponentConstantList.map((item) => "node_modules/@94ai/" + kebabCase(item) + "/lib");
55
71
  }
@@ -349,6 +365,7 @@ const tool = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty
349
365
  HexToRgb,
350
366
  RgbToHex,
351
367
  _getComputedStyle,
368
+ closest,
352
369
  copyFile,
353
370
  createUniqueString,
354
371
  debounce,
@@ -370,6 +387,7 @@ const tool = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty
370
387
  getResolver,
371
388
  getTranspileDependencies,
372
389
  getTsComponentSampleConfig,
390
+ isAsyncFunc,
373
391
  isAutoFlexBasis,
374
392
  kebabCase,
375
393
  resolveDebuger,
@@ -383,6 +401,7 @@ exports.ComponentConstantList = ComponentConstantList;
383
401
  exports.HexToRgb = HexToRgb;
384
402
  exports.RgbToHex = RgbToHex;
385
403
  exports._getComputedStyle = _getComputedStyle;
404
+ exports.closest = closest;
386
405
  exports.copyFile = copyFile;
387
406
  exports.createUniqueString = createUniqueString;
388
407
  exports.debounce = debounce;
@@ -405,6 +424,7 @@ exports.getQuarter = getQuarter;
405
424
  exports.getResolver = getResolver;
406
425
  exports.getTranspileDependencies = getTranspileDependencies;
407
426
  exports.getTsComponentSampleConfig = getTsComponentSampleConfig;
427
+ exports.isAsyncFunc = isAsyncFunc;
408
428
  exports.isAutoFlexBasis = isAutoFlexBasis;
409
429
  exports.kebabCase = kebabCase;
410
430
  exports.resolveDebuger = resolveDebuger;
@@ -1,12 +1,13 @@
1
1
  import fs from "fs";
2
2
  import path from "path";
3
+ import "vue-demi";
3
4
  const ComponentConstantList = [
4
5
  "NfMenu",
5
6
  "NfInfiniteMenu",
6
7
  "NfDoubleTime",
7
8
  "NfEmpty",
8
9
  "NfImportTemplate",
9
- "NfSelectTransfer",
10
+ "NfTransferSelect",
10
11
  "NfRadioGroup",
11
12
  "NfAlert",
12
13
  "NfVirtualSelect",
@@ -48,6 +49,21 @@ function kebabCase(key) {
48
49
  const result = key.replace(/([A-Z])/g, " $1").trim();
49
50
  return result.split(" ").join("-").toLowerCase();
50
51
  }
52
+ function isAsyncFunc(func) {
53
+ return func[Symbol(Symbol.toStringTag)] === "AsyncFunction";
54
+ }
55
+ function closest(that, componentName) {
56
+ let vm = that;
57
+ let result;
58
+ while (vm && !result) {
59
+ const name = vm.$options.name;
60
+ if (name === componentName) {
61
+ result = vm;
62
+ }
63
+ vm = vm.$parent;
64
+ }
65
+ return result;
66
+ }
51
67
  function getDirs() {
52
68
  return ComponentConstantList.map((item) => "node_modules/@94ai/" + kebabCase(item) + "/lib");
53
69
  }
@@ -347,6 +363,7 @@ const tool = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty
347
363
  HexToRgb,
348
364
  RgbToHex,
349
365
  _getComputedStyle,
366
+ closest,
350
367
  copyFile,
351
368
  createUniqueString,
352
369
  debounce,
@@ -368,6 +385,7 @@ const tool = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty
368
385
  getResolver,
369
386
  getTranspileDependencies,
370
387
  getTsComponentSampleConfig,
388
+ isAsyncFunc,
371
389
  isAutoFlexBasis,
372
390
  kebabCase,
373
391
  resolveDebuger,
@@ -382,6 +400,7 @@ export {
382
400
  HexToRgb,
383
401
  RgbToHex,
384
402
  _getComputedStyle,
403
+ closest,
385
404
  copyFile,
386
405
  createUniqueString,
387
406
  debounce,
@@ -404,6 +423,7 @@ export {
404
423
  getResolver,
405
424
  getTranspileDependencies,
406
425
  getTsComponentSampleConfig,
426
+ isAsyncFunc,
407
427
  isAutoFlexBasis,
408
428
  kebabCase,
409
429
  resolveDebuger,
package/lib/index.d.ts CHANGED
@@ -4,7 +4,6 @@ import NfInfiniteMenu from '@94ai/nf-infinite-menu';
4
4
  import NfDoubleTime from '@94ai/nf-double-time';
5
5
  import NfEmpty from '@94ai/nf-empty';
6
6
  import NfImportTemplate from '@94ai/nf-import-template';
7
- import NfSelectTransfer from '@94ai/nf-select-transfer';
8
7
  import NfRadioGroup from '@94ai/nf-radio-group';
9
8
  import NfAlert from '@94ai/nf-alert';
10
9
  import NfVirtualSelect from '@94ai/nf-virtual-select';
@@ -28,11 +27,20 @@ import NfNotification from '@94ai/nf-notification';
28
27
  import NfConfirm from '@94ai/nf-confirm';
29
28
  import NfTextOverflow from '@94ai/nf-text-overflow';
30
29
  import NfResizablePanels from '@94ai/nf-resizable-panels';
31
- import NfAddress from '@94ai/nf-address';
32
30
  import NfAudio from '@94ai/nf-audio';
33
31
  import NfButton from '@94ai/nf-button';
32
+ import NfIconfontIcon from '@94ai/nf-iconfont-icon';
33
+ import NfSvgIcon from '@94ai/nf-svg-icon';
34
+ import NfKeywords from '@94ai/nf-keywords';
35
+ import NfConditions from '@94ai/nf-conditions';
36
+ import NfVariableSelect from '@94ai/nf-variable-select';
37
+ import NfRules from '@94ai/nf-rules';
38
+ import NfLazySelect from '@94ai/nf-lazy-select';
39
+ import NfPopupLazySelect from '@94ai/nf-popup-lazy-select';
40
+ import NfTransferSelect from '@94ai/nf-transfer-select';
41
+ import NfAddressSelect from '@94ai/nf-address-select';
34
42
  declare const _default: import("vue/types/v3-component-public-instance").ComponentPublicInstanceConstructor<import("vue/types/v3-component-public-instance").Vue3Instance<{}, Readonly<import("vue-demi").ExtractPropTypes<{}>>, Readonly<import("vue-demi").ExtractPropTypes<{}>>, {}, {}, true, import("vue/types/v3-component-options").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, any>> & Readonly<Readonly<import("vue-demi").ExtractPropTypes<{}>>> & import("vue-demi").ShallowUnwrapRef<{}> & import("vue/types/v3-component-options").ExtractComputedReturns<{}> & import("vue-demi").ComponentCustomProperties & Readonly<import("vue-demi").ExtractPropTypes<{}>>, any, any, any, import("vue-demi").ComponentComputedOptions, import("vue-demi").ComponentMethodOptions> & import("vue/types/v3-component-options").ComponentOptionsBase<Readonly<import("vue-demi").ExtractPropTypes<{}>>, unknown, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, {}> & {
35
43
  props: {};
36
44
  } & PluginObject<undefined>;
37
45
  export default _default;
38
- export { NfMenu, NfInfiniteMenu, NfDoubleTime, NfEmpty, NfImportTemplate, NfSelectTransfer, NfRadioGroup, NfAlert, NfVirtualSelect, NfTag, NfAction, NfIndicatorPlane, NfQuarterPicker, NfDoubleQuarter, NfDoubleHalfYear, NfHalfYearPicker, NfDoubleWeek, NfDoubleYear, NfDatePicker, NfFormItem, NfForm, NfTable, NfSearchForm, NfDrawer, NfMessage, NfNotification, NfConfirm, NfTextOverflow, NfResizablePanels, NfAddress, NfAudio, NfButton, };
46
+ export { NfMenu, NfInfiniteMenu, NfDoubleTime, NfEmpty, NfImportTemplate, NfRadioGroup, NfAlert, NfVirtualSelect, NfTag, NfAction, NfIndicatorPlane, NfQuarterPicker, NfDoubleQuarter, NfDoubleHalfYear, NfHalfYearPicker, NfDoubleWeek, NfDoubleYear, NfDatePicker, NfFormItem, NfForm, NfTable, NfSearchForm, NfDrawer, NfMessage, NfNotification, NfConfirm, NfTextOverflow, NfResizablePanels, NfAudio, NfButton, NfIconfontIcon, NfSvgIcon, NfKeywords, NfConditions, NfVariableSelect, NfRules, NfLazySelect, NfPopupLazySelect, NfTransferSelect, NfAddressSelect, };
package/package/index.ts CHANGED
@@ -8,7 +8,6 @@ import NfInfiniteMenu from '@94ai/nf-infinite-menu'
8
8
  import NfDoubleTime from '@94ai/nf-double-time'
9
9
  import NfEmpty from '@94ai/nf-empty'
10
10
  import NfImportTemplate from '@94ai/nf-import-template'
11
- import NfSelectTransfer from '@94ai/nf-select-transfer'
12
11
  import NfRadioGroup from '@94ai/nf-radio-group'
13
12
  import NfAlert from '@94ai/nf-alert'
14
13
  import NfVirtualSelect from '@94ai/nf-virtual-select'
@@ -32,7 +31,6 @@ import NfNotification from '@94ai/nf-notification'
32
31
  import NfConfirm from '@94ai/nf-confirm'
33
32
  import NfTextOverflow from '@94ai/nf-text-overflow'
34
33
  import NfResizablePanels from '@94ai/nf-resizable-panels'
35
- import NfAddress from '@94ai/nf-address'
36
34
  import NfAudio from '@94ai/nf-audio'
37
35
  import NfButton from '@94ai/nf-button'
38
36
  import NfIconfontIcon from '@94ai/nf-iconfont-icon'
@@ -43,51 +41,53 @@ import NfVariableSelect from '@94ai/nf-variable-select'
43
41
  import NfRules from '@94ai/nf-rules'
44
42
  import NfLazySelect from '@94ai/nf-lazy-select'
45
43
  import NfPopupLazySelect from '@94ai/nf-popup-lazy-select'
44
+ import NfTransferSelect from '@94ai/nf-transfer-select'
45
+ import NfAddressSelect from '@94ai/nf-address-select'
46
46
 
47
47
  const CommonUI = defineComponent({
48
48
  name: 'common-ui',
49
49
  install(app: typeof Vue2) {
50
50
  [
51
- NfMenu,
52
- NfMessage,
53
- NfInfiniteMenu,
54
- NfDoubleTime,
55
- NfEmpty,
56
- NfImportTemplate,
57
- NfSelectTransfer,
58
- NfRadioGroup,
59
- NfAlert,
60
- NfVirtualSelect,
61
- NfTag,
62
- NfAction,
63
- NfIndicatorPlane,
64
- NfQuarterPicker,
65
- NfDoubleQuarter,
66
- NfDoubleHalfYear,
67
- NfHalfYearPicker,
68
- NfDoubleWeek,
69
- NfDoubleYear,
70
- NfDatePicker,
71
- NfFormItem,
72
- NfForm,
73
- NfTable,
74
- NfSearchForm,
75
- NfDrawer,
76
- NfNotification,
77
- NfConfirm,
78
- NfTextOverflow,
79
- NfResizablePanels,
80
- NfAddress,
81
- NfAudio,
82
- NfButton,
83
- NfIconfontIcon,
84
- NfSvgIcon,
85
- NfKeywords,
86
- NfConditions,
87
- NfVariableSelect,
88
- NfRules,
89
- NfLazySelect,
51
+ NfMenu,
52
+ NfMessage,
53
+ NfInfiniteMenu,
54
+ NfDoubleTime,
55
+ NfEmpty,
56
+ NfImportTemplate,
57
+ NfRadioGroup,
58
+ NfAlert,
59
+ NfVirtualSelect,
60
+ NfTag,
61
+ NfAction,
62
+ NfIndicatorPlane,
63
+ NfQuarterPicker,
64
+ NfDoubleQuarter,
65
+ NfDoubleHalfYear,
66
+ NfHalfYearPicker,
67
+ NfDoubleWeek,
68
+ NfDoubleYear,
69
+ NfDatePicker,
70
+ NfFormItem,
71
+ NfForm,
72
+ NfTable,
73
+ NfSearchForm,
74
+ NfDrawer,
75
+ NfNotification,
76
+ NfConfirm,
77
+ NfTextOverflow,
78
+ NfResizablePanels,
79
+ NfAudio,
80
+ NfButton,
81
+ NfIconfontIcon,
82
+ NfSvgIcon,
83
+ NfKeywords,
84
+ NfConditions,
85
+ NfVariableSelect,
86
+ NfRules,
87
+ NfLazySelect,
90
88
  NfPopupLazySelect,
89
+ NfTransferSelect,
90
+ NfAddressSelect,
91
91
  ].forEach((component) => {
92
92
  app!.use(component)
93
93
  })
@@ -102,7 +102,6 @@ export {
102
102
  NfDoubleTime,
103
103
  NfEmpty,
104
104
  NfImportTemplate,
105
- NfSelectTransfer,
106
105
  NfRadioGroup,
107
106
  NfAlert,
108
107
  NfVirtualSelect,
@@ -126,8 +125,17 @@ export {
126
125
  NfConfirm,
127
126
  NfTextOverflow,
128
127
  NfResizablePanels,
129
- NfAddress,
130
128
  NfAudio,
131
129
  NfButton,
130
+ NfIconfontIcon,
131
+ NfSvgIcon,
132
+ NfKeywords,
133
+ NfConditions,
134
+ NfVariableSelect,
135
+ NfRules,
136
+ NfLazySelect,
137
+ NfPopupLazySelect,
138
+ NfTransferSelect,
139
+ NfAddressSelect,
132
140
  }
133
141
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@94ai/common-ui",
3
- "version": "3.2.81",
3
+ "version": "3.3.0",
4
4
  "description": "94智能公共组件库",
5
5
  "keywords": [
6
6
  "组件库"
@@ -16,50 +16,50 @@
16
16
  "url": "http://94ai.gitlab.com/zoujiahe/common-ui.git"
17
17
  },
18
18
  "dependencies": {
19
- "@94ai/common-utils": "^3.2.81",
20
- "@94ai/nf-action": "^3.2.81",
21
- "@94ai/nf-address": "^3.2.81",
22
- "@94ai/nf-alert": "^3.2.81",
23
- "@94ai/nf-audio": "^3.2.81",
24
- "@94ai/nf-button": "^3.2.81",
25
- "@94ai/nf-button-demo": "^3.2.81",
26
- "@94ai/nf-conditions": "^3.2.81",
27
- "@94ai/nf-confirm": "^3.2.81",
28
- "@94ai/nf-date-picker": "^3.2.81",
29
- "@94ai/nf-double-half-year": "^3.2.81",
30
- "@94ai/nf-double-quarter": "^3.2.81",
31
- "@94ai/nf-double-time": "^3.2.81",
32
- "@94ai/nf-double-week": "^3.2.81",
33
- "@94ai/nf-double-year": "^3.2.81",
34
- "@94ai/nf-drawer": "^3.2.81",
35
- "@94ai/nf-empty": "^3.2.81",
36
- "@94ai/nf-form": "^3.2.81",
37
- "@94ai/nf-form-item": "^3.2.81",
38
- "@94ai/nf-half-year-picker": "^3.2.81",
39
- "@94ai/nf-iconfont-icon": "^3.2.81",
40
- "@94ai/nf-import-template": "^3.2.81",
41
- "@94ai/nf-indicator-plane": "^3.2.81",
42
- "@94ai/nf-infinite-menu": "^3.2.81",
43
- "@94ai/nf-keywords": "^3.2.81",
44
- "@94ai/nf-lazy-select": "^3.2.81",
45
- "@94ai/nf-menu": "^3.2.81",
46
- "@94ai/nf-message": "^3.2.81",
47
- "@94ai/nf-notification": "^3.2.81",
48
- "@94ai/nf-popup-lazy-select": "^3.2.81",
49
- "@94ai/nf-quarter-picker": "^3.2.81",
50
- "@94ai/nf-radio-group": "^3.2.81",
51
- "@94ai/nf-resizable-panels": "^3.2.81",
52
- "@94ai/nf-rules": "^3.2.81",
53
- "@94ai/nf-search-form": "^3.2.81",
54
- "@94ai/nf-select-transfer": "^3.2.81",
55
- "@94ai/nf-svg-icon": "^3.2.81",
56
- "@94ai/nf-table": "^3.2.81",
57
- "@94ai/nf-tag": "^3.2.81",
58
- "@94ai/nf-text-overflow": "^3.2.81",
59
- "@94ai/nf-theme-chalk": "^3.2.81",
60
- "@94ai/nf-toast-demo": "^3.2.81",
61
- "@94ai/nf-variable-select": "^3.2.81",
62
- "@94ai/nf-virtual-select": "^3.2.81",
19
+ "@94ai/common-utils": "^3.3.0",
20
+ "@94ai/nf-action": "^3.3.0",
21
+ "@94ai/nf-address-select": "^3.3.0",
22
+ "@94ai/nf-alert": "^3.3.0",
23
+ "@94ai/nf-audio": "^3.3.0",
24
+ "@94ai/nf-button": "^3.3.0",
25
+ "@94ai/nf-button-demo": "^3.3.0",
26
+ "@94ai/nf-conditions": "^3.3.0",
27
+ "@94ai/nf-confirm": "^3.3.0",
28
+ "@94ai/nf-date-picker": "^3.3.0",
29
+ "@94ai/nf-double-half-year": "^3.3.0",
30
+ "@94ai/nf-double-quarter": "^3.3.0",
31
+ "@94ai/nf-double-time": "^3.3.0",
32
+ "@94ai/nf-double-week": "^3.3.0",
33
+ "@94ai/nf-double-year": "^3.3.0",
34
+ "@94ai/nf-drawer": "^3.3.0",
35
+ "@94ai/nf-empty": "^3.3.0",
36
+ "@94ai/nf-form": "^3.3.0",
37
+ "@94ai/nf-form-item": "^3.3.0",
38
+ "@94ai/nf-half-year-picker": "^3.3.0",
39
+ "@94ai/nf-iconfont-icon": "^3.3.0",
40
+ "@94ai/nf-import-template": "^3.3.0",
41
+ "@94ai/nf-indicator-plane": "^3.3.0",
42
+ "@94ai/nf-infinite-menu": "^3.3.0",
43
+ "@94ai/nf-keywords": "^3.3.0",
44
+ "@94ai/nf-lazy-select": "^3.3.0",
45
+ "@94ai/nf-menu": "^3.3.0",
46
+ "@94ai/nf-message": "^3.3.0",
47
+ "@94ai/nf-notification": "^3.3.0",
48
+ "@94ai/nf-popup-lazy-select": "^3.3.0",
49
+ "@94ai/nf-quarter-picker": "^3.3.0",
50
+ "@94ai/nf-radio-group": "^3.3.0",
51
+ "@94ai/nf-resizable-panels": "^3.3.0",
52
+ "@94ai/nf-rules": "^3.3.0",
53
+ "@94ai/nf-search-form": "^3.3.0",
54
+ "@94ai/nf-svg-icon": "^3.3.0",
55
+ "@94ai/nf-table": "^3.3.0",
56
+ "@94ai/nf-tag": "^3.3.0",
57
+ "@94ai/nf-text-overflow": "^3.3.0",
58
+ "@94ai/nf-theme-chalk": "^3.3.0",
59
+ "@94ai/nf-toast-demo": "^3.3.0",
60
+ "@94ai/nf-transfer-select": "^3.3.0",
61
+ "@94ai/nf-variable-select": "^3.3.0",
62
+ "@94ai/nf-virtual-select": "^3.3.0",
63
63
  "vue-demi": "^0.14.5"
64
64
  },
65
65
  "peerDependenciesMeta": {
@@ -92,5 +92,5 @@
92
92
  "import": "./lib/common-ui.tool.esm-bundler.mjs"
93
93
  }
94
94
  },
95
- "gitHead": "4517e6794b427bda5e05900c761c66d0240d8608"
95
+ "gitHead": "3fb4167c1ba3abcf18bdce8af115483594286216"
96
96
  }