@94ai/common-ui 8.3.22 → 9.0.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.
@@ -47,6 +47,7 @@ const NfSoftphone = require("@94ai/nf-softphone");
47
47
  const NfInput = require("@94ai/nf-input");
48
48
  const NfMicrophone = require("@94ai/nf-microphone");
49
49
  const NfTimezonePicker = require("@94ai/nf-timezone-picker");
50
+ const commonUtils = require("@94ai/common-utils");
50
51
  const CommonUI = vueDemi.defineComponent({
51
52
  name: "common-ui",
52
53
  install(app) {
@@ -167,4 +168,8 @@ Object.defineProperty(exports, "softphoneManager", {
167
168
  });
168
169
  exports.NfMicrophone = NfMicrophone;
169
170
  exports.NfTimezonePicker = NfTimezonePicker;
171
+ Object.defineProperty(exports, "locale", {
172
+ enumerable: true,
173
+ get: () => commonUtils.locale
174
+ });
170
175
  exports.default = CommonUI;
@@ -90,6 +90,7 @@ import NfMicrophone from "@94ai/nf-microphone";
90
90
  import { default as default45 } from "@94ai/nf-microphone";
91
91
  import NfTimezonePicker from "@94ai/nf-timezone-picker";
92
92
  import { default as default46 } from "@94ai/nf-timezone-picker";
93
+ import { locale } from "@94ai/common-utils";
93
94
  const CommonUI = defineComponent({
94
95
  name: "common-ui",
95
96
  install(app) {
@@ -196,5 +197,6 @@ export {
196
197
  Notification,
197
198
  SoftphoneManager,
198
199
  CommonUI as default,
200
+ locale,
199
201
  softphoneManager
200
202
  };
@@ -2,7 +2,7 @@
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
+ const vueDemi = require("vue-demi");
6
6
  const ComponentConstantList = [
7
7
  "NfMenu",
8
8
  "NfInfiniteMenu",
@@ -45,7 +45,10 @@ const ComponentConstantList = [
45
45
  "NfLazySelect",
46
46
  "NfPopupLazySelect",
47
47
  "NfAddressSelect",
48
- "NfSoftphone"
48
+ "NfSoftphone",
49
+ "NfInput",
50
+ "NfIconfontIcon",
51
+ "NfTimezonePicker"
49
52
  ];
50
53
  const presudos = ["", "webkit", "moz"];
51
54
  function resolveDebuger(name) {
@@ -413,6 +416,7 @@ function toPascalCase(str) {
413
416
  });
414
417
  return camelCase.charAt(0).toUpperCase() + camelCase.slice(1);
415
418
  }
419
+ vueDemi.reactive({ lang: "" });
416
420
  const tool = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
417
421
  __proto__: null,
418
422
  ComponentConstantList,
@@ -1,6 +1,6 @@
1
1
  import fs from "fs";
2
2
  import path from "path";
3
- import "vue-demi";
3
+ import { reactive } from "vue-demi";
4
4
  const ComponentConstantList = [
5
5
  "NfMenu",
6
6
  "NfInfiniteMenu",
@@ -43,7 +43,10 @@ const ComponentConstantList = [
43
43
  "NfLazySelect",
44
44
  "NfPopupLazySelect",
45
45
  "NfAddressSelect",
46
- "NfSoftphone"
46
+ "NfSoftphone",
47
+ "NfInput",
48
+ "NfIconfontIcon",
49
+ "NfTimezonePicker"
47
50
  ];
48
51
  const presudos = ["", "webkit", "moz"];
49
52
  function resolveDebuger(name) {
@@ -411,6 +414,7 @@ function toPascalCase(str) {
411
414
  });
412
415
  return camelCase.charAt(0).toUpperCase() + camelCase.slice(1);
413
416
  }
417
+ reactive({ lang: "" });
414
418
  const tool = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
415
419
  __proto__: null,
416
420
  ComponentConstantList,
package/lib/index.d.ts CHANGED
@@ -1,51 +1,52 @@
1
- import { PluginObject } from 'vue-demi';
2
- import NfButtonDemo from '@94ai/nf-button-demo';
3
- import NfToastDemo from '@94ai/nf-toast-demo';
4
- import NfMenu from '@94ai/nf-menu';
5
- import NfInfiniteMenu from '@94ai/nf-infinite-menu';
6
- import NfDoubleTime from '@94ai/nf-double-time';
7
- import NfEmpty from '@94ai/nf-empty';
8
- import NfImportTemplate from '@94ai/nf-import-template';
9
- import NfRadioGroup from '@94ai/nf-radio-group';
10
- import NfAlert from '@94ai/nf-alert';
11
- import NfVirtualSelect from '@94ai/nf-virtual-select';
12
- import NfTag from '@94ai/nf-tag';
13
- import NfAction from '@94ai/nf-action';
14
- import NfIndicatorPlane from '@94ai/nf-indicator-plane';
15
- import NfQuarterPicker from '@94ai/nf-quarter-picker';
16
- import NfDoubleQuarter from '@94ai/nf-double-quarter';
17
- import NfDoubleHalfYear from '@94ai/nf-double-half-year';
18
- import NfHalfYearPicker from '@94ai/nf-half-year-picker';
19
- import NfDoubleWeek from '@94ai/nf-double-week';
20
- import NfDoubleYear from '@94ai/nf-double-year';
21
- import NfDatePicker from '@94ai/nf-date-picker';
22
- import NfFormItem from '@94ai/nf-form-item';
23
- import NfForm from '@94ai/nf-form';
24
- import NfTable from '@94ai/nf-table';
25
- import NfSearchForm from '@94ai/nf-search-form';
26
- import NfDrawer from '@94ai/nf-drawer';
27
- import NfMessage, { Message } from '@94ai/nf-message';
28
- import NfNotification, { Notification } from '@94ai/nf-notification';
29
- import NfConfirm, { Confirm } from '@94ai/nf-confirm';
30
- import NfTextOverflow from '@94ai/nf-text-overflow';
31
- import NfResizablePanels from '@94ai/nf-resizable-panels';
32
- import NfAudio from '@94ai/nf-audio';
33
- import NfButton from '@94ai/nf-button';
34
- import NfIconfontIcon from '@94ai/nf-iconfont-icon';
35
- import NfSvgIcon from '@94ai/nf-svg-icon';
36
- import NfKeywords from '@94ai/nf-keywords';
37
- import NfConditions from '@94ai/nf-conditions';
38
- import NfVariableSelect from '@94ai/nf-variable-select';
39
- import NfRules from '@94ai/nf-rules';
40
- import NfLazySelect from '@94ai/nf-lazy-select';
41
- import NfPopupLazySelect from '@94ai/nf-popup-lazy-select';
42
- import NfTransferSelect from '@94ai/nf-transfer-select';
43
- import NfAddressSelect from '@94ai/nf-address-select';
44
- import NfSoftphone, { softphoneManager, SoftphoneManager } from '@94ai/nf-softphone';
45
- import NfMicrophone from '@94ai/nf-microphone';
46
- import NfTimezonePicker from '@94ai/nf-timezone-picker';
47
- 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, {}> & {
48
- props: {};
49
- } & PluginObject<undefined>;
50
- export default _default;
51
- export { NfButtonDemo, NfToastDemo, NfMenu, NfInfiniteMenu, NfDoubleTime, NfEmpty, NfImportTemplate, NfRadioGroup, NfAlert, NfVirtualSelect, NfTag, NfAction, NfIndicatorPlane, NfQuarterPicker, NfDoubleQuarter, NfDoubleHalfYear, NfHalfYearPicker, NfDoubleWeek, NfDoubleYear, NfDatePicker, NfFormItem, NfForm, NfTable, NfSearchForm, NfDrawer, NfMessage, Message, NfNotification, Notification, NfConfirm, Confirm, NfTextOverflow, NfResizablePanels, NfAudio, NfButton, NfIconfontIcon, NfSvgIcon, NfKeywords, NfConditions, NfVariableSelect, NfRules, NfLazySelect, NfPopupLazySelect, NfTransferSelect, NfAddressSelect, NfSoftphone, NfMicrophone, softphoneManager, SoftphoneManager, NfTimezonePicker };
1
+ import { PluginObject } from 'vue-demi';
2
+ import NfButtonDemo from '@94ai/nf-button-demo';
3
+ import NfToastDemo from '@94ai/nf-toast-demo';
4
+ import NfMenu from '@94ai/nf-menu';
5
+ import NfInfiniteMenu from '@94ai/nf-infinite-menu';
6
+ import NfDoubleTime from '@94ai/nf-double-time';
7
+ import NfEmpty from '@94ai/nf-empty';
8
+ import NfImportTemplate from '@94ai/nf-import-template';
9
+ import NfRadioGroup from '@94ai/nf-radio-group';
10
+ import NfAlert from '@94ai/nf-alert';
11
+ import NfVirtualSelect from '@94ai/nf-virtual-select';
12
+ import NfTag from '@94ai/nf-tag';
13
+ import NfAction from '@94ai/nf-action';
14
+ import NfIndicatorPlane from '@94ai/nf-indicator-plane';
15
+ import NfQuarterPicker from '@94ai/nf-quarter-picker';
16
+ import NfDoubleQuarter from '@94ai/nf-double-quarter';
17
+ import NfDoubleHalfYear from '@94ai/nf-double-half-year';
18
+ import NfHalfYearPicker from '@94ai/nf-half-year-picker';
19
+ import NfDoubleWeek from '@94ai/nf-double-week';
20
+ import NfDoubleYear from '@94ai/nf-double-year';
21
+ import NfDatePicker from '@94ai/nf-date-picker';
22
+ import NfFormItem from '@94ai/nf-form-item';
23
+ import NfForm from '@94ai/nf-form';
24
+ import NfTable from '@94ai/nf-table';
25
+ import NfSearchForm from '@94ai/nf-search-form';
26
+ import NfDrawer from '@94ai/nf-drawer';
27
+ import NfMessage, { Message } from '@94ai/nf-message';
28
+ import NfNotification, { Notification } from '@94ai/nf-notification';
29
+ import NfConfirm, { Confirm } from '@94ai/nf-confirm';
30
+ import NfTextOverflow from '@94ai/nf-text-overflow';
31
+ import NfResizablePanels from '@94ai/nf-resizable-panels';
32
+ import NfAudio from '@94ai/nf-audio';
33
+ import NfButton from '@94ai/nf-button';
34
+ import NfIconfontIcon from '@94ai/nf-iconfont-icon';
35
+ import NfSvgIcon from '@94ai/nf-svg-icon';
36
+ import NfKeywords from '@94ai/nf-keywords';
37
+ import NfConditions from '@94ai/nf-conditions';
38
+ import NfVariableSelect from '@94ai/nf-variable-select';
39
+ import NfRules from '@94ai/nf-rules';
40
+ import NfLazySelect from '@94ai/nf-lazy-select';
41
+ import NfPopupLazySelect from '@94ai/nf-popup-lazy-select';
42
+ import NfTransferSelect from '@94ai/nf-transfer-select';
43
+ import NfAddressSelect from '@94ai/nf-address-select';
44
+ import NfSoftphone, { softphoneManager, SoftphoneManager } from '@94ai/nf-softphone';
45
+ import NfMicrophone from '@94ai/nf-microphone';
46
+ import NfTimezonePicker from '@94ai/nf-timezone-picker';
47
+ 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, {}> & {
48
+ props: {};
49
+ } & PluginObject<undefined>;
50
+ export default _default;
51
+ export { NfButtonDemo, NfToastDemo, NfMenu, NfInfiniteMenu, NfDoubleTime, NfEmpty, NfImportTemplate, NfRadioGroup, NfAlert, NfVirtualSelect, NfTag, NfAction, NfIndicatorPlane, NfQuarterPicker, NfDoubleQuarter, NfDoubleHalfYear, NfHalfYearPicker, NfDoubleWeek, NfDoubleYear, NfDatePicker, NfFormItem, NfForm, NfTable, NfSearchForm, NfDrawer, NfMessage, Message, NfNotification, Notification, NfConfirm, Confirm, NfTextOverflow, NfResizablePanels, NfAudio, NfButton, NfIconfontIcon, NfSvgIcon, NfKeywords, NfConditions, NfVariableSelect, NfRules, NfLazySelect, NfPopupLazySelect, NfTransferSelect, NfAddressSelect, NfSoftphone, NfMicrophone, softphoneManager, SoftphoneManager, NfTimezonePicker };
52
+ export { locale } from '@94ai/common-utils';
@@ -1 +0,0 @@
1
-
@@ -1 +0,0 @@
1
-
package/lib/tool.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export * as default from '@94ai/common-utils/lib/tool';
2
- export * from '@94ai/common-utils/lib/tool';
1
+ export * as default from '@94ai/common-utils/lib/tool';
2
+ export * from '@94ai/common-utils/lib/tool';
package/lib/util.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export * as default from '@94ai/common-utils';
2
- export * from '@94ai/common-utils';
1
+ export * as default from '@94ai/common-utils';
2
+ export * from '@94ai/common-utils';
package/package/index.ts CHANGED
@@ -162,3 +162,5 @@ export {
162
162
  NfTimezonePicker
163
163
  }
164
164
 
165
+
166
+ export { locale } from '@94ai/common-utils'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@94ai/common-ui",
3
- "version": "8.3.22",
3
+ "version": "9.0.0",
4
4
  "description": "94智能公共组件库",
5
5
  "keywords": [
6
6
  "组件库"
@@ -13,58 +13,58 @@
13
13
  },
14
14
  "repository": {
15
15
  "type": "git",
16
- "url": "http://94ai.gitlab.com/zoujiahe/common-ui.git"
16
+ "url": "http://gitlab.94ai.pro/zoujiahe/common-ui.git"
17
17
  },
18
18
  "dependencies": {
19
- "@94ai/common-constants": "^8.3.22",
20
- "@94ai/common-utils": "^8.3.22",
21
- "@94ai/nf-action": "^8.3.22",
22
- "@94ai/nf-address-select": "^8.3.22",
23
- "@94ai/nf-alert": "^8.3.22",
24
- "@94ai/nf-audio": "^8.3.22",
25
- "@94ai/nf-button": "^8.3.22",
26
- "@94ai/nf-button-demo": "^8.3.22",
27
- "@94ai/nf-conditions": "^8.3.22",
28
- "@94ai/nf-confirm": "^8.3.22",
29
- "@94ai/nf-date-picker": "^8.3.22",
30
- "@94ai/nf-double-half-year": "^8.3.22",
31
- "@94ai/nf-double-quarter": "^8.3.22",
32
- "@94ai/nf-double-time": "^8.3.22",
33
- "@94ai/nf-double-week": "^8.3.22",
34
- "@94ai/nf-double-year": "^8.3.22",
35
- "@94ai/nf-drawer": "^8.3.22",
36
- "@94ai/nf-empty": "^8.3.22",
37
- "@94ai/nf-form": "^8.3.22",
38
- "@94ai/nf-form-item": "^8.3.22",
39
- "@94ai/nf-half-year-picker": "^8.3.22",
40
- "@94ai/nf-iconfont-icon": "^8.3.22",
41
- "@94ai/nf-import-template": "^8.3.22",
42
- "@94ai/nf-indicator-plane": "^8.3.22",
43
- "@94ai/nf-infinite-menu": "^8.3.22",
44
- "@94ai/nf-input": "^8.3.22",
45
- "@94ai/nf-keywords": "^8.3.22",
46
- "@94ai/nf-lazy-select": "^8.3.22",
47
- "@94ai/nf-menu": "^8.3.22",
48
- "@94ai/nf-message": "^8.3.22",
49
- "@94ai/nf-microphone": "^8.3.22",
50
- "@94ai/nf-notification": "^8.3.22",
51
- "@94ai/nf-popup-lazy-select": "^8.3.22",
52
- "@94ai/nf-quarter-picker": "^8.3.22",
53
- "@94ai/nf-radio-group": "^8.3.22",
54
- "@94ai/nf-resizable-panels": "^8.3.22",
55
- "@94ai/nf-rules": "^8.3.22",
56
- "@94ai/nf-search-form": "^8.3.22",
57
- "@94ai/nf-softphone": "^8.3.22",
58
- "@94ai/nf-svg-icon": "^8.3.22",
59
- "@94ai/nf-table": "^8.3.22",
60
- "@94ai/nf-tag": "^8.3.22",
61
- "@94ai/nf-text-overflow": "^8.3.22",
62
- "@94ai/nf-theme-chalk": "^8.3.22",
63
- "@94ai/nf-timezone-picker": "^8.3.22",
64
- "@94ai/nf-toast-demo": "^8.3.22",
65
- "@94ai/nf-transfer-select": "^8.3.22",
66
- "@94ai/nf-variable-select": "^8.3.22",
67
- "@94ai/nf-virtual-select": "^8.3.22",
19
+ "@94ai/common-constants": "^9.0.0",
20
+ "@94ai/common-utils": "^9.0.0",
21
+ "@94ai/nf-action": "^9.0.0",
22
+ "@94ai/nf-address-select": "^9.0.0",
23
+ "@94ai/nf-alert": "^9.0.0",
24
+ "@94ai/nf-audio": "^9.0.0",
25
+ "@94ai/nf-button": "^9.0.0",
26
+ "@94ai/nf-button-demo": "^9.0.0",
27
+ "@94ai/nf-conditions": "^9.0.0",
28
+ "@94ai/nf-confirm": "^9.0.0",
29
+ "@94ai/nf-date-picker": "^9.0.0",
30
+ "@94ai/nf-double-half-year": "^9.0.0",
31
+ "@94ai/nf-double-quarter": "^9.0.0",
32
+ "@94ai/nf-double-time": "^9.0.0",
33
+ "@94ai/nf-double-week": "^9.0.0",
34
+ "@94ai/nf-double-year": "^9.0.0",
35
+ "@94ai/nf-drawer": "^9.0.0",
36
+ "@94ai/nf-empty": "^9.0.0",
37
+ "@94ai/nf-form": "^9.0.0",
38
+ "@94ai/nf-form-item": "^9.0.0",
39
+ "@94ai/nf-half-year-picker": "^9.0.0",
40
+ "@94ai/nf-iconfont-icon": "^9.0.0",
41
+ "@94ai/nf-import-template": "^9.0.0",
42
+ "@94ai/nf-indicator-plane": "^9.0.0",
43
+ "@94ai/nf-infinite-menu": "^9.0.0",
44
+ "@94ai/nf-input": "^9.0.0",
45
+ "@94ai/nf-keywords": "^9.0.0",
46
+ "@94ai/nf-lazy-select": "^9.0.0",
47
+ "@94ai/nf-menu": "^9.0.0",
48
+ "@94ai/nf-message": "^9.0.0",
49
+ "@94ai/nf-microphone": "^9.0.0",
50
+ "@94ai/nf-notification": "^9.0.0",
51
+ "@94ai/nf-popup-lazy-select": "^9.0.0",
52
+ "@94ai/nf-quarter-picker": "^9.0.0",
53
+ "@94ai/nf-radio-group": "^9.0.0",
54
+ "@94ai/nf-resizable-panels": "^9.0.0",
55
+ "@94ai/nf-rules": "^9.0.0",
56
+ "@94ai/nf-search-form": "^9.0.0",
57
+ "@94ai/nf-softphone": "^9.0.0",
58
+ "@94ai/nf-svg-icon": "^9.0.0",
59
+ "@94ai/nf-table": "^9.0.0",
60
+ "@94ai/nf-tag": "^9.0.0",
61
+ "@94ai/nf-text-overflow": "^9.0.0",
62
+ "@94ai/nf-theme-chalk": "^9.0.0",
63
+ "@94ai/nf-timezone-picker": "^9.0.0",
64
+ "@94ai/nf-toast-demo": "^9.0.0",
65
+ "@94ai/nf-transfer-select": "^9.0.0",
66
+ "@94ai/nf-variable-select": "^9.0.0",
67
+ "@94ai/nf-virtual-select": "^9.0.0",
68
68
  "lodash-es": "^4.17.21",
69
69
  "vue-demi": "^0.14.5"
70
70
  },
@@ -98,5 +98,5 @@
98
98
  "import": "./lib/common-ui.tool.esm-bundler.mjs"
99
99
  }
100
100
  },
101
- "gitHead": "abcd3b3acc11c65b19771a2bfa37fd8af692f2fd"
101
+ "gitHead": "afe3016f0e42dfb7fedf6cbbe400ec08bf4b8662"
102
102
  }