@94ai/common-ui 6.1.1 → 6.1.7

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
@@ -2,7 +2,6 @@ export {}
2
2
 
3
3
  declare module 'vue' {
4
4
  export interface GlobalComponents {
5
- CommonConstants: typeof import('@94ai/common-constants/lib/common-constants.vue')['default']
6
5
  CommonUtils: typeof import('@94ai/common-utils/lib/common-utils.vue')['default']
7
6
  NfAction: typeof import('@94ai/nf-action/lib/nf-action.vue')['default']
8
7
  NfAddressSelect: typeof import('@94ai/nf-address-select/lib/nf-address-select.vue')['default']
@@ -154,8 +154,8 @@ const getCharStringLength = (str) => {
154
154
  return leng;
155
155
  };
156
156
  const deepClone = (source) => {
157
- if (!source || typeof source !== "object") {
158
- return source;
157
+ if (!source && typeof source !== "object") {
158
+ throw new Error("error arguments shallowClone");
159
159
  }
160
160
  const targetObj = source.constructor === Array ? [] : {};
161
161
  Object.keys(source).forEach((keys) => {
@@ -152,8 +152,8 @@ const getCharStringLength = (str) => {
152
152
  return leng;
153
153
  };
154
154
  const deepClone = (source) => {
155
- if (!source || typeof source !== "object") {
156
- return source;
155
+ if (!source && typeof source !== "object") {
156
+ throw new Error("error arguments shallowClone");
157
157
  }
158
158
  const targetObj = source.constructor === Array ? [] : {};
159
159
  Object.keys(source).forEach((keys) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@94ai/common-ui",
3
- "version": "6.1.1",
3
+ "version": "6.1.7",
4
4
  "description": "94智能公共组件库",
5
5
  "keywords": [
6
6
  "组件库"
@@ -16,55 +16,54 @@
16
16
  "url": "http://94ai.gitlab.com/zoujiahe/common-ui.git"
17
17
  },
18
18
  "dependencies": {
19
- "@94ai/common-constants": "^6.1.1",
20
- "@94ai/common-utils": "^6.1.1",
21
- "@94ai/nf-action": "^6.1.1",
22
- "@94ai/nf-address-select": "^6.1.1",
23
- "@94ai/nf-alert": "^6.1.1",
24
- "@94ai/nf-audio": "^6.1.1",
25
- "@94ai/nf-button": "^6.1.1",
26
- "@94ai/nf-button-demo": "^6.1.1",
27
- "@94ai/nf-conditions": "^6.1.1",
28
- "@94ai/nf-confirm": "^6.1.1",
29
- "@94ai/nf-date-picker": "^6.1.1",
30
- "@94ai/nf-double-half-year": "^6.1.1",
31
- "@94ai/nf-double-quarter": "^6.1.1",
32
- "@94ai/nf-double-time": "^6.1.1",
33
- "@94ai/nf-double-week": "^6.1.1",
34
- "@94ai/nf-double-year": "^6.1.1",
35
- "@94ai/nf-drawer": "^6.1.1",
36
- "@94ai/nf-empty": "^6.1.1",
37
- "@94ai/nf-form": "^6.1.1",
38
- "@94ai/nf-form-item": "^6.1.1",
39
- "@94ai/nf-half-year-picker": "^6.1.1",
40
- "@94ai/nf-iconfont-icon": "^6.1.1",
41
- "@94ai/nf-import-template": "^6.1.1",
42
- "@94ai/nf-indicator-plane": "^6.1.1",
43
- "@94ai/nf-infinite-menu": "^6.1.1",
44
- "@94ai/nf-input": "^6.1.1",
45
- "@94ai/nf-keywords": "^6.1.1",
46
- "@94ai/nf-lazy-select": "^6.1.1",
47
- "@94ai/nf-menu": "^6.1.1",
48
- "@94ai/nf-message": "^6.1.1",
49
- "@94ai/nf-microphone": "^6.1.1",
50
- "@94ai/nf-notification": "^6.1.1",
51
- "@94ai/nf-popup-lazy-select": "^6.1.1",
52
- "@94ai/nf-quarter-picker": "^6.1.1",
53
- "@94ai/nf-radio-group": "^6.1.1",
54
- "@94ai/nf-resizable-panels": "^6.1.1",
55
- "@94ai/nf-rules": "^6.1.1",
56
- "@94ai/nf-search-form": "^6.1.1",
57
- "@94ai/nf-softphone": "^6.1.1",
58
- "@94ai/nf-svg-icon": "^6.1.1",
59
- "@94ai/nf-table": "^6.1.1",
60
- "@94ai/nf-tag": "^6.1.1",
61
- "@94ai/nf-text-overflow": "^6.1.1",
62
- "@94ai/nf-theme-chalk": "^6.1.1",
63
- "@94ai/nf-timezone-picker": "^6.1.1",
64
- "@94ai/nf-toast-demo": "^6.1.1",
65
- "@94ai/nf-transfer-select": "^6.1.1",
66
- "@94ai/nf-variable-select": "^6.1.1",
67
- "@94ai/nf-virtual-select": "^6.1.1",
19
+ "@94ai/common-utils": "^6.1.7",
20
+ "@94ai/nf-action": "^6.1.7",
21
+ "@94ai/nf-address-select": "^6.1.7",
22
+ "@94ai/nf-alert": "^6.1.7",
23
+ "@94ai/nf-audio": "^6.1.7",
24
+ "@94ai/nf-button": "^6.1.7",
25
+ "@94ai/nf-button-demo": "^6.1.7",
26
+ "@94ai/nf-conditions": "^6.1.7",
27
+ "@94ai/nf-confirm": "^6.1.7",
28
+ "@94ai/nf-date-picker": "^6.1.7",
29
+ "@94ai/nf-double-half-year": "^6.1.7",
30
+ "@94ai/nf-double-quarter": "^6.1.7",
31
+ "@94ai/nf-double-time": "^6.1.7",
32
+ "@94ai/nf-double-week": "^6.1.7",
33
+ "@94ai/nf-double-year": "^6.1.7",
34
+ "@94ai/nf-drawer": "^6.1.7",
35
+ "@94ai/nf-empty": "^6.1.7",
36
+ "@94ai/nf-form": "^6.1.7",
37
+ "@94ai/nf-form-item": "^6.1.7",
38
+ "@94ai/nf-half-year-picker": "^6.1.7",
39
+ "@94ai/nf-iconfont-icon": "^6.1.7",
40
+ "@94ai/nf-import-template": "^6.1.7",
41
+ "@94ai/nf-indicator-plane": "^6.1.7",
42
+ "@94ai/nf-infinite-menu": "^6.1.7",
43
+ "@94ai/nf-input": "^6.1.7",
44
+ "@94ai/nf-keywords": "^6.1.7",
45
+ "@94ai/nf-lazy-select": "^6.1.7",
46
+ "@94ai/nf-menu": "^6.1.7",
47
+ "@94ai/nf-message": "^6.1.7",
48
+ "@94ai/nf-microphone": "^6.1.7",
49
+ "@94ai/nf-notification": "^6.1.7",
50
+ "@94ai/nf-popup-lazy-select": "^6.1.7",
51
+ "@94ai/nf-quarter-picker": "^6.1.7",
52
+ "@94ai/nf-radio-group": "^6.1.7",
53
+ "@94ai/nf-resizable-panels": "^6.1.7",
54
+ "@94ai/nf-rules": "^6.1.7",
55
+ "@94ai/nf-search-form": "^6.1.7",
56
+ "@94ai/nf-softphone": "^6.1.7",
57
+ "@94ai/nf-svg-icon": "^6.1.7",
58
+ "@94ai/nf-table": "^6.1.7",
59
+ "@94ai/nf-tag": "^6.1.7",
60
+ "@94ai/nf-text-overflow": "^6.1.7",
61
+ "@94ai/nf-theme-chalk": "^6.1.7",
62
+ "@94ai/nf-timezone-picker": "^6.1.7",
63
+ "@94ai/nf-toast-demo": "^6.1.7",
64
+ "@94ai/nf-transfer-select": "^6.1.7",
65
+ "@94ai/nf-variable-select": "^6.1.7",
66
+ "@94ai/nf-virtual-select": "^6.1.7",
68
67
  "lodash-es": "^4.17.21",
69
68
  "vue-demi": "^0.14.5"
70
69
  },
@@ -98,5 +97,5 @@
98
97
  "import": "./lib/common-ui.tool.esm-bundler.mjs"
99
98
  }
100
99
  },
101
- "gitHead": "8cf48ea7eb7ec9a63f472fa4f5f738f624e18c54"
100
+ "gitHead": "630af26f57c39b084142f1bfb899c176b3c3ef80"
102
101
  }