@dhccmobile/vue3-lo-form 0.1.5 → 0.1.8

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.
Files changed (152) hide show
  1. package/dist/vue3-lo-form.common.js +313 -124
  2. package/dist/vue3-lo-form.common.js.map +1 -1
  3. package/dist/vue3-lo-form.css +1 -1
  4. package/dist/vue3-lo-form.umd.js +313 -124
  5. package/dist/vue3-lo-form.umd.js.map +1 -1
  6. package/dist/vue3-lo-form.umd.min.js +15 -8
  7. package/dist/vue3-lo-form.umd.min.js.map +1 -1
  8. package/package.json +1 -1
  9. package/src/App.vue +14 -0
  10. package/src/components/form/DvFormLayout.vue +5 -29
  11. package/src/components/index.js +4 -0
  12. package/src/components/index.js.map +1 -0
  13. package/src/constants/config/form-template.config.js +33 -0
  14. package/src/constants/config/form-template.config.js.map +1 -0
  15. package/src/constants/config/form.config.js +5 -0
  16. package/src/constants/config/form.config.js.map +1 -0
  17. package/src/constants/config/storage.config.js +5 -0
  18. package/src/constants/config/storage.config.js.map +1 -0
  19. package/src/constants/encode-assets/icons.js +2 -0
  20. package/src/constants/encode-assets/icons.js.map +1 -0
  21. package/src/constants/encode-assets/svg.js +6 -0
  22. package/src/constants/encode-assets/svg.js.map +1 -0
  23. package/src/constants/enum/builtIn-label.enum.js +6 -0
  24. package/src/constants/enum/builtIn-label.enum.js.map +1 -0
  25. package/src/constants/enum/cache-type.enum.js +8 -0
  26. package/src/constants/enum/cache-type.enum.js.map +1 -0
  27. package/src/constants/enum/control-format-type.enum.js +10 -0
  28. package/src/constants/enum/control-format-type.enum.js.map +1 -0
  29. package/src/constants/enum/dynamic-option-type.enum.js +7 -0
  30. package/src/constants/enum/dynamic-option-type.enum.js.map +1 -0
  31. package/src/constants/enum/form-bus-attr.enum.js +9 -0
  32. package/src/constants/enum/form-bus-attr.enum.js.map +1 -0
  33. package/src/constants/enum/form-field-class.enum.js +8 -0
  34. package/src/constants/enum/form-field-class.enum.js.map +1 -0
  35. package/src/constants/enum/form-field-type.enum.js +24 -0
  36. package/src/constants/enum/form-field-type.enum.js.map +1 -0
  37. package/src/constants/enum/form-type.enum.js +6 -0
  38. package/src/constants/enum/form-type.enum.js.map +1 -0
  39. package/src/constants/enum/index.js +20 -0
  40. package/src/constants/enum/index.js.map +1 -0
  41. package/src/constants/enum/lateral-arrangement.enum.js +10 -0
  42. package/src/constants/enum/lateral-arrangement.enum.js.map +1 -0
  43. package/src/constants/enum/money-unit.enum.js +7 -0
  44. package/src/constants/enum/money-unit.enum.js.map +1 -0
  45. package/src/constants/enum/option-type.enum.js +6 -0
  46. package/src/constants/enum/option-type.enum.js.map +1 -0
  47. package/src/constants/enum/submitted-type.enum.js +13 -0
  48. package/src/constants/enum/submitted-type.enum.js.map +1 -0
  49. package/src/constants/enum/support-upload-type.enum.js +6 -0
  50. package/src/constants/enum/support-upload-type.enum.js.map +1 -0
  51. package/src/constants/enum/switch.enum.js +6 -0
  52. package/src/constants/enum/switch.enum.js.map +1 -0
  53. package/src/constants/enum/upload-type.enum.js +18 -0
  54. package/src/constants/enum/upload-type.enum.js.map +1 -0
  55. package/src/constants/enum/validate-rules.enum.js +26 -0
  56. package/src/constants/enum/validate-rules.enum.js.map +1 -0
  57. package/src/constants/enum/validate-status.enum.js +9 -0
  58. package/src/constants/enum/validate-status.enum.js.map +1 -0
  59. package/src/constants/enum/vertical-arrangement.enum.js +8 -0
  60. package/src/constants/enum/vertical-arrangement.enum.js.map +1 -0
  61. package/src/constants/enum/zoom-type.js +7 -0
  62. package/src/constants/enum/zoom-type.js.map +1 -0
  63. package/src/constants/index.js +4 -0
  64. package/src/constants/index.js.map +1 -0
  65. package/src/core/FormApi.js +966 -0
  66. package/src/core/FormApi.js.map +1 -0
  67. package/src/core/FormApi.ts +132 -2
  68. package/src/core/index.js +2 -0
  69. package/src/core/index.js.map +1 -0
  70. package/src/domain/AbstractControl.js +4 -0
  71. package/src/domain/AbstractControl.js.map +1 -0
  72. package/src/domain/Control.js +2 -0
  73. package/src/domain/Control.js.map +1 -0
  74. package/src/domain/CustomFormat.js +2 -0
  75. package/src/domain/CustomFormat.js.map +1 -0
  76. package/src/domain/DesForm.js +29 -0
  77. package/src/domain/DesForm.js.map +1 -0
  78. package/src/domain/DesFormControl.js +149 -0
  79. package/src/domain/DesFormControl.js.map +1 -0
  80. package/src/domain/DesFormLayout.js +33 -0
  81. package/src/domain/DesFormLayout.js.map +1 -0
  82. package/src/domain/FieldChangeHistory.js +2 -0
  83. package/src/domain/FieldChangeHistory.js.map +1 -0
  84. package/src/domain/FormConfig.js +2 -0
  85. package/src/domain/FormConfig.js.map +1 -0
  86. package/src/domain/FormControl.js +102 -0
  87. package/src/domain/FormControl.js.map +1 -0
  88. package/src/domain/FormEnum.js +2 -0
  89. package/src/domain/FormEnum.js.map +1 -0
  90. package/src/domain/FormGroup.js +38 -0
  91. package/src/domain/FormGroup.js.map +1 -0
  92. package/src/domain/FormRestfulResponse.js +2 -0
  93. package/src/domain/FormRestfulResponse.js.map +1 -0
  94. package/src/domain/ProvideInjectData.js +2 -0
  95. package/src/domain/ProvideInjectData.js.map +1 -0
  96. package/src/domain/SysDictDetail.js +17 -0
  97. package/src/domain/SysDictDetail.js.map +1 -0
  98. package/src/domain/SysDictInfo.js +19 -0
  99. package/src/domain/SysDictInfo.js.map +1 -0
  100. package/src/domain/SysDictTreeDetail.js +29 -0
  101. package/src/domain/SysDictTreeDetail.js.map +1 -0
  102. package/src/domain/index.js +13 -0
  103. package/src/domain/index.js.map +1 -0
  104. package/src/filtres/amount-capitalization.filter.js +130 -0
  105. package/src/filtres/amount-capitalization.filter.js.map +1 -0
  106. package/src/filtres/extract-options.filter.js +54 -0
  107. package/src/filtres/extract-options.filter.js.map +1 -0
  108. package/src/filtres/generate-grid-column-end.filter.js +18 -0
  109. package/src/filtres/generate-grid-column-end.filter.js.map +1 -0
  110. package/src/filtres/generate-grid-template-columns.filter.js +20 -0
  111. package/src/filtres/generate-grid-template-columns.filter.js.map +1 -0
  112. package/src/filtres/switch-enum-convert.filter.js +18 -0
  113. package/src/filtres/switch-enum-convert.filter.js.map +1 -0
  114. package/src/filtres/zoom-multiple.filter.js +31 -0
  115. package/src/filtres/zoom-multiple.filter.js.map +1 -0
  116. package/src/index.js +65 -0
  117. package/src/index.js.map +1 -0
  118. package/src/main.js +17 -0
  119. package/src/main.js.map +1 -0
  120. package/src/services/api.service.js +71 -0
  121. package/src/services/api.service.js.map +1 -0
  122. package/src/services/clean-local-forage.service.js +53 -0
  123. package/src/services/clean-local-forage.service.js.map +1 -0
  124. package/src/services/dict-local-forage.service.js +53 -0
  125. package/src/services/dict-local-forage.service.js.map +1 -0
  126. package/src/services/form-bean-utils.service.js +39 -0
  127. package/src/services/form-bean-utils.service.js.map +1 -0
  128. package/src/services/form-local-forage.service.js +53 -0
  129. package/src/services/form-local-forage.service.js.map +1 -0
  130. package/src/services/form-tools.service.js +475 -0
  131. package/src/services/form-tools.service.js.map +1 -0
  132. package/src/services/form-tree-node-convert.service.js +174 -0
  133. package/src/services/form-tree-node-convert.service.js.map +1 -0
  134. package/src/services/form-tree-node-convert.service.ts +24 -0
  135. package/src/services/form-validate.service.js +100 -0
  136. package/src/services/form-validate.service.js.map +1 -0
  137. package/src/services/index.js +10 -0
  138. package/src/services/index.js.map +1 -0
  139. package/src/services/router.service.js +94 -0
  140. package/src/services/router.service.js.map +1 -0
  141. package/src/services/validate-generator.service.js +688 -0
  142. package/src/services/validate-generator.service.js.map +1 -0
  143. package/src/store/dict.store.js +52 -0
  144. package/src/store/dict.store.js.map +1 -0
  145. package/src/store/form.store.js +26 -0
  146. package/src/store/form.store.js.map +1 -0
  147. package/src/store/index.js +3 -0
  148. package/src/store/index.js.map +1 -0
  149. package/src/types/vfForm.js +2 -0
  150. package/src/types/vfForm.js.map +1 -0
  151. package/types/core/FormApi.d.ts +22 -0
  152. package/types/services/form-tree-node-convert.service.d.ts +10 -0
@@ -100,6 +100,26 @@ test[TO_STRING_TAG] = 'z';
100
100
  module.exports = String(test) === '[object z]';
101
101
 
102
102
 
103
+ /***/ }),
104
+
105
+ /***/ "04f8":
106
+ /***/ (function(module, exports, __webpack_require__) {
107
+
108
+ /* eslint-disable es-x/no-symbol -- required for testing */
109
+ var V8_VERSION = __webpack_require__("2d00");
110
+ var fails = __webpack_require__("d039");
111
+
112
+ // eslint-disable-next-line es-x/no-object-getownpropertysymbols -- required for testing
113
+ module.exports = !!Object.getOwnPropertySymbols && !fails(function () {
114
+ var symbol = Symbol();
115
+ // Chrome 38 Symbol has incorrect toString conversion
116
+ // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
117
+ return !String(symbol) || !(Object(symbol) instanceof Symbol) ||
118
+ // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
119
+ !Symbol.sham && V8_VERSION && V8_VERSION < 41;
120
+ });
121
+
122
+
103
123
  /***/ }),
104
124
 
105
125
  /***/ "06cf":
@@ -143,6 +163,13 @@ module.exports = function (obj) {
143
163
  };
144
164
 
145
165
 
166
+ /***/ }),
167
+
168
+ /***/ "0b0d":
169
+ /***/ (function(module, exports, __webpack_require__) {
170
+
171
+ // extracted by mini-css-extract-plugin
172
+
146
173
  /***/ }),
147
174
 
148
175
  /***/ "0cfb":
@@ -161,6 +188,27 @@ module.exports = !DESCRIPTORS && !fails(function () {
161
188
  });
162
189
 
163
190
 
191
+ /***/ }),
192
+
193
+ /***/ "0d26":
194
+ /***/ (function(module, exports, __webpack_require__) {
195
+
196
+ var uncurryThis = __webpack_require__("e330");
197
+
198
+ var $Error = Error;
199
+ var replace = uncurryThis(''.replace);
200
+
201
+ var TEST = (function (arg) { return String($Error(arg).stack); })('zxcasd');
202
+ var V8_OR_CHAKRA_STACK_ENTRY = /\n\s*at [^:]*:[^\n]*/;
203
+ var IS_V8_OR_CHAKRA_STACK = V8_OR_CHAKRA_STACK_ENTRY.test(TEST);
204
+
205
+ module.exports = function (stack, dropEntries) {
206
+ if (IS_V8_OR_CHAKRA_STACK && typeof stack == 'string' && !$Error.prepareStackTrace) {
207
+ while (dropEntries--) stack = replace(stack, V8_OR_CHAKRA_STACK_ENTRY, '');
208
+ } return stack;
209
+ };
210
+
211
+
164
212
  /***/ }),
165
213
 
166
214
  /***/ "0d51":
@@ -293,14 +341,16 @@ module.exports = Object.hasOwn || function hasOwn(it, key) {
293
341
  /***/ }),
294
342
 
295
343
  /***/ "1d80":
296
- /***/ (function(module, exports) {
344
+ /***/ (function(module, exports, __webpack_require__) {
345
+
346
+ var isNullOrUndefined = __webpack_require__("7234");
297
347
 
298
348
  var $TypeError = TypeError;
299
349
 
300
350
  // `RequireObjectCoercible` abstract operation
301
351
  // https://tc39.es/ecma262/#sec-requireobjectcoercible
302
352
  module.exports = function (it) {
303
- if (it == undefined) throw $TypeError("Can't call method on " + it);
353
+ if (isNullOrUndefined(it)) throw $TypeError("Can't call method on " + it);
304
354
  return it;
305
355
  };
306
356
 
@@ -1932,11 +1982,11 @@ var __WEBPACK_AMD_DEFINE_RESULT__;;(function (globalScope) {
1932
1982
  'use strict';
1933
1983
 
1934
1984
 
1935
- /*
1936
- * decimal.js v10.3.1
1985
+ /*!
1986
+ * decimal.js v10.4.0
1937
1987
  * An arbitrary-precision Decimal type for JavaScript.
1938
1988
  * https://github.com/MikeMcl/decimal.js
1939
- * Copyright (c) 2021 Michael Mclaughlin <M8ch88l@gmail.com>
1989
+ * Copyright (c) 2022 Michael Mclaughlin <M8ch88l@gmail.com>
1940
1990
  * MIT Licence
1941
1991
  */
1942
1992
 
@@ -7016,26 +7066,6 @@ module.exports = function (input, pref) {
7016
7066
  };
7017
7067
 
7018
7068
 
7019
- /***/ }),
7020
-
7021
- /***/ "4930":
7022
- /***/ (function(module, exports, __webpack_require__) {
7023
-
7024
- /* eslint-disable es-x/no-symbol -- required for testing */
7025
- var V8_VERSION = __webpack_require__("2d00");
7026
- var fails = __webpack_require__("d039");
7027
-
7028
- // eslint-disable-next-line es-x/no-object-getownpropertysymbols -- required for testing
7029
- module.exports = !!Object.getOwnPropertySymbols && !fails(function () {
7030
- var symbol = Symbol();
7031
- // Chrome 38 Symbol has incorrect toString conversion
7032
- // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
7033
- return !String(symbol) || !(Object(symbol) instanceof Symbol) ||
7034
- // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
7035
- !Symbol.sham && V8_VERSION && V8_VERSION < 41;
7036
- });
7037
-
7038
-
7039
7069
  /***/ }),
7040
7070
 
7041
7071
  /***/ "4d64":
@@ -7113,10 +7143,10 @@ var store = __webpack_require__("c6cd");
7113
7143
  (module.exports = function (key, value) {
7114
7144
  return store[key] || (store[key] = value !== undefined ? value : {});
7115
7145
  })('versions', []).push({
7116
- version: '3.23.4',
7146
+ version: '3.25.0',
7117
7147
  mode: IS_PURE ? 'pure' : 'global',
7118
7148
  copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
7119
- license: 'https://github.com/zloirock/core-js/blob/v3.23.4/LICENSE',
7149
+ license: 'https://github.com/zloirock/core-js/blob/v3.25.0/LICENSE',
7120
7150
  source: 'https://github.com/zloirock/core-js'
7121
7151
  });
7122
7152
 
@@ -7377,7 +7407,7 @@ module.exports = function (key, value) {
7377
7407
  /***/ "69f3":
7378
7408
  /***/ (function(module, exports, __webpack_require__) {
7379
7409
 
7380
- var NATIVE_WEAK_MAP = __webpack_require__("7f9a");
7410
+ var NATIVE_WEAK_MAP = __webpack_require__("cdce");
7381
7411
  var global = __webpack_require__("da84");
7382
7412
  var uncurryThis = __webpack_require__("e330");
7383
7413
  var isObject = __webpack_require__("861d");
@@ -7411,7 +7441,7 @@ if (NATIVE_WEAK_MAP || shared.state) {
7411
7441
  var wmhas = uncurryThis(store.has);
7412
7442
  var wmset = uncurryThis(store.set);
7413
7443
  set = function (it, metadata) {
7414
- if (wmhas(store, it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
7444
+ if (wmhas(store, it)) throw TypeError(OBJECT_ALREADY_INITIALIZED);
7415
7445
  metadata.facade = it;
7416
7446
  wmset(store, it, metadata);
7417
7447
  return metadata;
@@ -7426,7 +7456,7 @@ if (NATIVE_WEAK_MAP || shared.state) {
7426
7456
  var STATE = sharedKey('state');
7427
7457
  hiddenKeys[STATE] = true;
7428
7458
  set = function (it, metadata) {
7429
- if (hasOwn(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
7459
+ if (hasOwn(it, STATE)) throw TypeError(OBJECT_ALREADY_INITIALIZED);
7430
7460
  metadata.facade = it;
7431
7461
  createNonEnumerableProperty(it, STATE, metadata);
7432
7462
  return metadata;
@@ -8446,6 +8476,18 @@ module.exports = function ($this, dummy, Wrapper) {
8446
8476
  };
8447
8477
 
8448
8478
 
8479
+ /***/ }),
8480
+
8481
+ /***/ "7234":
8482
+ /***/ (function(module, exports) {
8483
+
8484
+ // we can't use just `it == null` since of `document.all` special case
8485
+ // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
8486
+ module.exports = function (it) {
8487
+ return it === null || it === undefined;
8488
+ };
8489
+
8490
+
8449
8491
  /***/ }),
8450
8492
 
8451
8493
  /***/ "7418":
@@ -10264,31 +10306,6 @@ function _regeneratorRuntime() {
10264
10306
 
10265
10307
  module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
10266
10308
 
10267
- /***/ }),
10268
-
10269
- /***/ "7f03":
10270
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
10271
-
10272
- "use strict";
10273
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_v16_dist_index_js_ref_1_1_DvFormLayout_vue_vue_type_style_index_0_id_40b85f20_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("e06f");
10274
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_v16_dist_index_js_ref_1_1_DvFormLayout_vue_vue_type_style_index_0_id_40b85f20_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_v16_dist_index_js_ref_1_1_DvFormLayout_vue_vue_type_style_index_0_id_40b85f20_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
10275
- /* unused harmony reexport * */
10276
-
10277
-
10278
- /***/ }),
10279
-
10280
- /***/ "7f9a":
10281
- /***/ (function(module, exports, __webpack_require__) {
10282
-
10283
- var global = __webpack_require__("da84");
10284
- var isCallable = __webpack_require__("1626");
10285
- var inspectSource = __webpack_require__("8925");
10286
-
10287
- var WeakMap = global.WeakMap;
10288
-
10289
- module.exports = isCallable(WeakMap) && /native code/.test(inspectSource(WeakMap));
10290
-
10291
-
10292
10309
  /***/ }),
10293
10310
 
10294
10311
  /***/ "825a":
@@ -10327,7 +10344,14 @@ module.exports = !fails(function () {
10327
10344
 
10328
10345
  var isCallable = __webpack_require__("1626");
10329
10346
 
10330
- module.exports = function (it) {
10347
+ var documentAll = typeof document == 'object' && document.all;
10348
+
10349
+ // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
10350
+ var SPECIAL_DOCUMENT_ALL = typeof documentAll == 'undefined' && documentAll !== undefined;
10351
+
10352
+ module.exports = SPECIAL_DOCUMENT_ALL ? function (it) {
10353
+ return typeof it == 'object' ? it !== null : isCallable(it) || it === documentAll;
10354
+ } : function (it) {
10331
10355
  return typeof it == 'object' ? it !== null : isCallable(it);
10332
10356
  };
10333
10357
 
@@ -13539,7 +13563,7 @@ var global = __webpack_require__("da84");
13539
13563
  var shared = __webpack_require__("5692");
13540
13564
  var hasOwn = __webpack_require__("1a2d");
13541
13565
  var uid = __webpack_require__("90e3");
13542
- var NATIVE_SYMBOL = __webpack_require__("4930");
13566
+ var NATIVE_SYMBOL = __webpack_require__("04f8");
13543
13567
  var USE_SYMBOL_AS_UID = __webpack_require__("fdbf");
13544
13568
 
13545
13569
  var WellKnownSymbolsStore = shared('wks');
@@ -19486,27 +19510,6 @@ const Switch = {
19486
19510
  };
19487
19511
 
19488
19512
 
19489
- /***/ }),
19490
-
19491
- /***/ "c770":
19492
- /***/ (function(module, exports, __webpack_require__) {
19493
-
19494
- var uncurryThis = __webpack_require__("e330");
19495
-
19496
- var $Error = Error;
19497
- var replace = uncurryThis(''.replace);
19498
-
19499
- var TEST = (function (arg) { return String($Error(arg).stack); })('zxcasd');
19500
- var V8_OR_CHAKRA_STACK_ENTRY = /\n\s*at [^:]*:[^\n]*/;
19501
- var IS_V8_OR_CHAKRA_STACK = V8_OR_CHAKRA_STACK_ENTRY.test(TEST);
19502
-
19503
- module.exports = function (stack, dropEntries) {
19504
- if (IS_V8_OR_CHAKRA_STACK && typeof stack == 'string' && !$Error.prepareStackTrace) {
19505
- while (dropEntries--) stack = replace(stack, V8_OR_CHAKRA_STACK_ENTRY, '');
19506
- } return stack;
19507
- };
19508
-
19509
-
19510
19513
  /***/ }),
19511
19514
 
19512
19515
  /***/ "c8ba":
@@ -19734,6 +19737,19 @@ module.exports = function (it) {
19734
19737
  };
19735
19738
 
19736
19739
 
19740
+ /***/ }),
19741
+
19742
+ /***/ "cdce":
19743
+ /***/ (function(module, exports, __webpack_require__) {
19744
+
19745
+ var global = __webpack_require__("da84");
19746
+ var isCallable = __webpack_require__("1626");
19747
+
19748
+ var WeakMap = global.WeakMap;
19749
+
19750
+ module.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));
19751
+
19752
+
19737
19753
  /***/ }),
19738
19754
 
19739
19755
  /***/ "d012":
@@ -21283,12 +21299,13 @@ module.exports =
21283
21299
  /***/ (function(module, exports, __webpack_require__) {
21284
21300
 
21285
21301
  var aCallable = __webpack_require__("59ed");
21302
+ var isNullOrUndefined = __webpack_require__("7234");
21286
21303
 
21287
21304
  // `GetMethod` abstract operation
21288
21305
  // https://tc39.es/ecma262/#sec-getmethod
21289
21306
  module.exports = function (V, P) {
21290
21307
  var func = V[P];
21291
- return func == null ? undefined : aCallable(func);
21308
+ return isNullOrUndefined(func) ? undefined : aCallable(func);
21292
21309
  };
21293
21310
 
21294
21311
 
@@ -21680,13 +21697,6 @@ function cloneBuffer(buffer, isDeep) {
21680
21697
 
21681
21698
  /***/ }),
21682
21699
 
21683
- /***/ "e06f":
21684
- /***/ (function(module, exports, __webpack_require__) {
21685
-
21686
- // extracted by mini-css-extract-plugin
21687
-
21688
- /***/ }),
21689
-
21690
21700
  /***/ "e330":
21691
21701
  /***/ (function(module, exports, __webpack_require__) {
21692
21702
 
@@ -21735,7 +21745,7 @@ var proxyAccessor = __webpack_require__("aeb0");
21735
21745
  var inheritIfRequired = __webpack_require__("7156");
21736
21746
  var normalizeStringArgument = __webpack_require__("e391");
21737
21747
  var installErrorCause = __webpack_require__("ab36");
21738
- var clearErrorStack = __webpack_require__("c770");
21748
+ var clearErrorStack = __webpack_require__("0d26");
21739
21749
  var ERROR_STACK_INSTALLABLE = __webpack_require__("b980");
21740
21750
  var DESCRIPTORS = __webpack_require__("83ab");
21741
21751
  var IS_PURE = __webpack_require__("c430");
@@ -24050,6 +24060,17 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/**
24050
24060
  })(this);
24051
24061
 
24052
24062
 
24063
+ /***/ }),
24064
+
24065
+ /***/ "f5b9":
24066
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
24067
+
24068
+ "use strict";
24069
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_v16_dist_index_js_ref_1_1_DvFormLayout_vue_vue_type_style_index_0_id_32e8e367_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("0b0d");
24070
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_v16_dist_index_js_ref_1_1_DvFormLayout_vue_vue_type_style_index_0_id_32e8e367_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_v16_dist_index_js_ref_1_1_DvFormLayout_vue_vue_type_style_index_0_id_32e8e367_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
24071
+ /* unused harmony reexport * */
24072
+
24073
+
24053
24074
  /***/ }),
24054
24075
 
24055
24076
  /***/ "f5df":
@@ -24457,10 +24478,10 @@ function __classPrivateFieldSet(receiver, privateMap, value) {
24457
24478
  return value;
24458
24479
  }
24459
24480
 
24460
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--15-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/ts-loader??ref--15-3!./node_modules/vue-loader-v16/dist/templateLoader.js??ref--7!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1!./src/components/form/DvFormLayout.vue?vue&type=template&id=40b85f20&scoped=true&ts=true
24481
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--15-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/ts-loader??ref--15-3!./node_modules/vue-loader-v16/dist/templateLoader.js??ref--7!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1!./src/components/form/DvFormLayout.vue?vue&type=template&id=32e8e367&scoped=true&ts=true
24461
24482
 
24462
24483
 
24463
- const _withScopeId = n => (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["pushScopeId"])("data-v-40b85f20"), n = n(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["popScopeId"])(), n);
24484
+ const _withScopeId = n => (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["pushScopeId"])("data-v-32e8e367"), n = n(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["popScopeId"])(), n);
24464
24485
 
24465
24486
  const _hoisted_1 = {
24466
24487
  class: "lo-control-box"
@@ -24502,7 +24523,7 @@ const _hoisted_14 = {
24502
24523
  key: 1,
24503
24524
  class: "lo-control-text"
24504
24525
  };
24505
- function DvFormLayoutvue_type_template_id_40b85f20_scoped_true_ts_true_render(_ctx, _cache, $props, $setup, $data, $options) {
24526
+ function DvFormLayoutvue_type_template_id_32e8e367_scoped_true_ts_true_render(_ctx, _cache, $props, $setup, $data, $options) {
24506
24527
  const _component_a_tooltip = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("a-tooltip");
24507
24528
 
24508
24529
  const _component_question_circle_outlined = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("question-circle-outlined");
@@ -24798,7 +24819,6 @@ function DvFormLayoutvue_type_template_id_40b85f20_scoped_true_ts_true_render(_c
24798
24819
  placeholder: _ctx.controlAttr.placeholder,
24799
24820
  onChange: _cache[21] || (_cache[21] = $event => _ctx.onChange(_ctx.control)),
24800
24821
  onClick: _cache[22] || (_cache[22] = $event => _ctx.onClick(_ctx.control)),
24801
- "get-popup-container": _ctx.getPopupContainer,
24802
24822
  "filter-option": _ctx.filterOption
24803
24823
  }, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createSlots"])({
24804
24824
  dropdownRender: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withCtx"])(({
@@ -24837,7 +24857,7 @@ function DvFormLayoutvue_type_template_id_40b85f20_scoped_true_ts_true_render(_c
24837
24857
  }, undefined, true) : (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])(external_commonjs_vue_commonjs2_vue_root_Vue_["Fragment"], {
24838
24858
  key: 1
24839
24859
  }, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createTextVNode"])(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(_ctx.controlAttr.bindingSuffix), 1)], 64))])
24840
- } : undefined]), 1032, ["dropdownClassName", "class", "value", "allow-clear", "show-search", "mode", "disabled", "placeholder", "get-popup-container", "filter-option"])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), _ctx.control.code === _ctx.formFieldType.Radio.code ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_a_radio_group, {
24860
+ } : undefined]), 1032, ["dropdownClassName", "class", "value", "allow-clear", "show-search", "mode", "disabled", "placeholder", "filter-option"])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), _ctx.control.code === _ctx.formFieldType.Radio.code ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_a_radio_group, {
24841
24861
  key: 4,
24842
24862
  class: "w-100",
24843
24863
  value: _ctx.formControl.value,
@@ -24887,8 +24907,6 @@ function DvFormLayoutvue_type_template_id_40b85f20_scoped_true_ts_true_render(_c
24887
24907
  }, null, 8, ["checked", "checked-children", "un-checked-children", "disabled"])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), _ctx.control.code === _ctx.formFieldType.TimePicker.code ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_a_time_picker, {
24888
24908
  key: 7,
24889
24909
  class: "w-100",
24890
- "get-popup-container": _ctx.getPopupContainer,
24891
- locale: _ctx.locale,
24892
24910
  "use12-hours": _ctx.is12Hours,
24893
24911
  placeholder: _ctx.controlAttr.placeholder,
24894
24912
  disabled: _ctx.controlAttr.isNotEdit,
@@ -24896,13 +24914,12 @@ function DvFormLayoutvue_type_template_id_40b85f20_scoped_true_ts_true_render(_c
24896
24914
  "onUpdate:value": _cache[32] || (_cache[32] = $event => _ctx.formControl.value = $event),
24897
24915
  onChange: _cache[33] || (_cache[33] = $event => _ctx.onChange(_ctx.control)),
24898
24916
  onClick: _cache[34] || (_cache[34] = $event => _ctx.onClick(_ctx.control))
24899
- }, null, 8, ["get-popup-container", "locale", "use12-hours", "placeholder", "disabled", "value"])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), _ctx.control.code === _ctx.formFieldType.DatePicker.code ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])(external_commonjs_vue_commonjs2_vue_root_Vue_["Fragment"], {
24917
+ }, null, 8, ["use12-hours", "placeholder", "disabled", "value"])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), _ctx.control.code === _ctx.formFieldType.DatePicker.code ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])(external_commonjs_vue_commonjs2_vue_root_Vue_["Fragment"], {
24900
24918
  key: 8
24901
24919
  }, [_ctx.useMonthPicker ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_a_month_picker, {
24902
24920
  key: 0,
24903
- class: "w-100",
24904
- "get-popup-container": _ctx.getPopupContainer,
24905
24921
  locale: _ctx.locale,
24922
+ class: "w-100",
24906
24923
  format: _ctx.controlAttr.dateFormat,
24907
24924
  placeholder: _ctx.controlAttr.placeholder,
24908
24925
  disabled: _ctx.controlAttr.isNotEdit,
@@ -24910,11 +24927,10 @@ function DvFormLayoutvue_type_template_id_40b85f20_scoped_true_ts_true_render(_c
24910
24927
  "onUpdate:value": _cache[35] || (_cache[35] = $event => _ctx.formControl.value = $event),
24911
24928
  onChange: _cache[36] || (_cache[36] = $event => _ctx.onChange(_ctx.control)),
24912
24929
  onClick: _cache[37] || (_cache[37] = $event => _ctx.onClick(_ctx.control))
24913
- }, null, 8, ["get-popup-container", "locale", "format", "placeholder", "disabled", "value"])) : (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_a_date_picker, {
24930
+ }, null, 8, ["locale", "format", "placeholder", "disabled", "value"])) : (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_a_date_picker, {
24914
24931
  key: 1,
24915
- class: "w-100",
24916
- "get-popup-container": _ctx.getPopupContainer,
24917
24932
  locale: _ctx.locale,
24933
+ class: "w-100",
24918
24934
  showTime: _ctx.showPickerTime(_ctx.controlAttr.dateFormat),
24919
24935
  format: _ctx.controlAttr.dateFormat,
24920
24936
  placeholder: _ctx.controlAttr.placeholder,
@@ -24923,7 +24939,7 @@ function DvFormLayoutvue_type_template_id_40b85f20_scoped_true_ts_true_render(_c
24923
24939
  "onUpdate:value": _cache[38] || (_cache[38] = $event => _ctx.formControl.value = $event),
24924
24940
  onChange: _cache[39] || (_cache[39] = $event => _ctx.onChange(_ctx.control)),
24925
24941
  onClick: _cache[40] || (_cache[40] = $event => _ctx.onClick(_ctx.control))
24926
- }, null, 8, ["get-popup-container", "locale", "showTime", "format", "placeholder", "disabled", "value"]))], 64)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), _ctx.control.code === _ctx.formFieldType.Slider.code ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_a_slider, {
24942
+ }, null, 8, ["locale", "showTime", "format", "placeholder", "disabled", "value"]))], 64)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), _ctx.control.code === _ctx.formFieldType.Slider.code ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_a_slider, {
24927
24943
  key: 9,
24928
24944
  value: _ctx.formControl.value,
24929
24945
  "onUpdate:value": _cache[41] || (_cache[41] = $event => _ctx.formControl.value = $event),
@@ -24932,7 +24948,6 @@ function DvFormLayoutvue_type_template_id_40b85f20_scoped_true_ts_true_render(_c
24932
24948
  onClick: _cache[43] || (_cache[43] = $event => _ctx.onClick(_ctx.control))
24933
24949
  }, null, 8, ["value", "disabled"])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), _ctx.control.code === _ctx.formFieldType.Cascader.code ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_a_cascader, {
24934
24950
  key: 10,
24935
- "get-popup-container": _ctx.getPopupContainer,
24936
24951
  placeholder: _ctx.controlAttr.placeholder,
24937
24952
  "show-search": _ctx.controlAttr.isSearchable ? {
24938
24953
  cascaderFilter: _ctx.cascaderFilter
@@ -24943,9 +24958,8 @@ function DvFormLayoutvue_type_template_id_40b85f20_scoped_true_ts_true_render(_c
24943
24958
  "onUpdate:value": _cache[44] || (_cache[44] = $event => _ctx.formControl.value = $event),
24944
24959
  onChange: _cache[45] || (_cache[45] = $event => _ctx.onChange(_ctx.control)),
24945
24960
  onClick: _cache[46] || (_cache[46] = $event => _ctx.onClick(_ctx.control))
24946
- }, null, 8, ["get-popup-container", "placeholder", "show-search", "disabled", "options", "value"])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), _ctx.control.code === _ctx.formFieldType.TreeSelect.code ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_a_tree_select, {
24961
+ }, null, 8, ["placeholder", "show-search", "disabled", "options", "value"])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), _ctx.control.code === _ctx.formFieldType.TreeSelect.code ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_a_tree_select, {
24947
24962
  key: 11,
24948
- "get-popup-container": _ctx.getPopupContainer,
24949
24963
  value: _ctx.formControl.value,
24950
24964
  "onUpdate:value": _cache[47] || (_cache[47] = $event => _ctx.formControl.value = $event),
24951
24965
  "show-search": _ctx.controlAttr.isSearchable,
@@ -24960,7 +24974,7 @@ function DvFormLayoutvue_type_template_id_40b85f20_scoped_true_ts_true_render(_c
24960
24974
  onChange: _cache[48] || (_cache[48] = $event => _ctx.onChange(_ctx.control)),
24961
24975
  onClick: _cache[49] || (_cache[49] = $event => _ctx.onClick(_ctx.control)),
24962
24976
  "tree-default-expand-all": ""
24963
- }, null, 8, ["get-popup-container", "value", "show-search", "disabled", "placeholder", "tree-data"])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), _ctx.control.code === _ctx.formFieldType.Rate.code ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_a_rate, {
24977
+ }, null, 8, ["value", "show-search", "disabled", "placeholder", "tree-data"])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), _ctx.control.code === _ctx.formFieldType.Rate.code ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createBlock"])(_component_a_rate, {
24964
24978
  key: 12,
24965
24979
  value: _ctx.formControl.value,
24966
24980
  "onUpdate:value": _cache[50] || (_cache[50] = $event => _ctx.formControl.value = $event),
@@ -25068,7 +25082,7 @@ function DvFormLayoutvue_type_template_id_40b85f20_scoped_true_ts_true_render(_c
25068
25082
  _: 3
25069
25083
  }, 8, ["class", "layout", "style"])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true);
25070
25084
  }
25071
- // CONCATENATED MODULE: ./src/components/form/DvFormLayout.vue?vue&type=template&id=40b85f20&scoped=true&ts=true
25085
+ // CONCATENATED MODULE: ./src/components/form/DvFormLayout.vue?vue&type=template&id=32e8e367&scoped=true&ts=true
25072
25086
 
25073
25087
  // CONCATENATED MODULE: ./node_modules/vue-class-component/dist/vue-class-component.esm-bundler.js
25074
25088
  /**
@@ -49596,7 +49610,7 @@ function useScrollTo(containerRef, mergedData, heights, props, getKey, collectHe
49596
49610
  });
49597
49611
  };
49598
49612
 
49599
- syncScroll(3);
49613
+ syncScroll(5);
49600
49614
  }
49601
49615
  };
49602
49616
  }
@@ -50461,7 +50475,7 @@ var OptionList_OptionList = Object(external_commonjs_vue_commonjs2_vue_root_Vue_
50461
50475
  var value = Array.from(props.rawValues)[0];
50462
50476
  var index = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toRaw"])(memoFlattenOptions.value).findIndex(function (_ref2) {
50463
50477
  var data = _ref2.data;
50464
- return data.value === value;
50478
+ return data[props.fieldNames.value] === value;
50465
50479
  });
50466
50480
 
50467
50481
  if (index !== -1) {
@@ -53731,7 +53745,7 @@ var input_number_InputNumber = Object(external_commonjs_vue_commonjs2_vue_root_V
53731
53745
  if (isValidValue(prefix)) {
53732
53746
  var _classNames2;
53733
53747
 
53734
- var affixWrapperCls = _util_classNames("".concat(preCls, "-affix-wrapper"), (_classNames2 = {}, _defineProperty(_classNames2, "".concat(preCls, "-affix-wrapper-focused"), focused.value), _defineProperty(_classNames2, "".concat(preCls, "-affix-wrapper-disabled"), props.disabled), _defineProperty(_classNames2, "".concat(preCls, "-affix-wrapper-sm"), size.value === 'small'), _defineProperty(_classNames2, "".concat(preCls, "-affix-wrapper-lg"), size.value === 'large'), _defineProperty(_classNames2, "".concat(preCls, "-affix-wrapper-rtl"), direction.value === 'rtl'), _defineProperty(_classNames2, "".concat(preCls, "-affix-wrapper-readonly"), readonly), _defineProperty(_classNames2, "".concat(preCls, "-affix-wrapper-borderless"), !bordered), _defineProperty(_classNames2, "".concat(className), !hasAddon && className), _classNames2));
53748
+ var affixWrapperCls = _util_classNames("".concat(preCls, "-affix-wrapper"), (_classNames2 = {}, _defineProperty(_classNames2, "".concat(preCls, "-affix-wrapper-focused"), focused.value), _defineProperty(_classNames2, "".concat(preCls, "-affix-wrapper-disabled"), props.disabled), _defineProperty(_classNames2, "".concat(preCls, "-affix-wrapper-rtl"), direction.value === 'rtl'), _defineProperty(_classNames2, "".concat(preCls, "-affix-wrapper-readonly"), readonly), _defineProperty(_classNames2, "".concat(preCls, "-affix-wrapper-borderless"), !bordered), _defineProperty(_classNames2, "".concat(className), !hasAddon && className), _classNames2));
53735
53749
  element = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])("div", {
53736
53750
  "class": affixWrapperCls,
53737
53751
  "style": style,
@@ -79742,6 +79756,32 @@ class form_tree_node_convert_service_FormTreeNodeConvertService {
79742
79756
 
79743
79757
  return [];
79744
79758
  }
79759
+ /**
79760
+ * @Description: 树形数据转为数组
79761
+ * @author LiuBo
79762
+ * @date 2021/11/5
79763
+ * @time 16:59
79764
+ * @param treeNode 树形数据
79765
+ * @param data 数组 传入空数组即可[]
79766
+ * @param childName 子节点名称
79767
+ */
79768
+
79769
+
79770
+ treeNodeConvertToArray(treeNode, data, childName) {
79771
+ data = data || [];
79772
+ treeNode = JSON.parse(JSON.stringify(treeNode));
79773
+ treeNode.forEach(val => {
79774
+ data.push(val);
79775
+
79776
+ if (val[childName] && val[childName].length) {
79777
+ formTreeNodeConvertService.treeNodeConvertToArray(val[childName], data, childName);
79778
+ }
79779
+ });
79780
+ data.forEach(val => {
79781
+ delete val[childName];
79782
+ });
79783
+ return data;
79784
+ }
79745
79785
 
79746
79786
  }
79747
79787
 
@@ -84552,16 +84592,6 @@ let DvFormLayoutvue_type_script_lang_ts_DvFormLayout = class DvFormLayout extend
84552
84592
  handleMoneyUnitMenuClick(e) {
84553
84593
  this.defaultMoneyUnit = this.moneyUnits.find(item => item.code === e.key);
84554
84594
  }
84555
- /**
84556
- * @description: 将下拉弹层渲染节点固定在触发器的父元素中
84557
- * @author ZPFly
84558
- * @date 2022/8/31 11:30
84559
- */
84560
-
84561
-
84562
- getPopupContainer(triggerNode) {
84563
- return triggerNode.parentNode;
84564
- }
84565
84595
  /**
84566
84596
  * @description: 输入事件处理
84567
84597
  * @author ChenRui
@@ -84739,8 +84769,8 @@ DvFormLayoutvue_type_script_lang_ts_DvFormLayout = __decorate([Options({
84739
84769
  /* harmony default export */ var DvFormLayoutvue_type_script_lang_ts = (DvFormLayoutvue_type_script_lang_ts_DvFormLayout);
84740
84770
  // CONCATENATED MODULE: ./src/components/form/DvFormLayout.vue?vue&type=script&lang=ts
84741
84771
 
84742
- // EXTERNAL MODULE: ./src/components/form/DvFormLayout.vue?vue&type=style&index=0&id=40b85f20&lang=scss&scoped=true
84743
- var DvFormLayoutvue_type_style_index_0_id_40b85f20_lang_scss_scoped_true = __webpack_require__("7f03");
84772
+ // EXTERNAL MODULE: ./src/components/form/DvFormLayout.vue?vue&type=style&index=0&id=32e8e367&lang=scss&scoped=true
84773
+ var DvFormLayoutvue_type_style_index_0_id_32e8e367_lang_scss_scoped_true = __webpack_require__("f5b9");
84744
84774
 
84745
84775
  // CONCATENATED MODULE: ./src/components/form/DvFormLayout.vue
84746
84776
 
@@ -84750,7 +84780,7 @@ var DvFormLayoutvue_type_style_index_0_id_40b85f20_lang_scss_scoped_true = __web
84750
84780
 
84751
84781
 
84752
84782
 
84753
- const DvFormLayout_exports_ = /*#__PURE__*/exportHelper_default()(DvFormLayoutvue_type_script_lang_ts, [['render',DvFormLayoutvue_type_template_id_40b85f20_scoped_true_ts_true_render],['__scopeId',"data-v-40b85f20"]])
84783
+ const DvFormLayout_exports_ = /*#__PURE__*/exportHelper_default()(DvFormLayoutvue_type_script_lang_ts, [['render',DvFormLayoutvue_type_template_id_32e8e367_scoped_true_ts_true_render],['__scopeId',"data-v-32e8e367"]])
84754
84784
 
84755
84785
  /* harmony default export */ var form_DvFormLayout = (DvFormLayout_exports_);
84756
84786
  // CONCATENATED MODULE: ./src/core/FormApi.ts
@@ -84855,6 +84885,8 @@ class FormApi_FormApi {
84855
84885
 
84856
84886
  _defineProperty(this, "apiMetaRefresh", void 0);
84857
84887
 
84888
+ _defineProperty(this, "oldVal", void 0);
84889
+
84858
84890
  this.id = options.id || this.getUuid();
84859
84891
  this.dvForm = options.dvForm || new Vue(DvForm);
84860
84892
  this.edit = options.edit;
@@ -84879,7 +84911,13 @@ class FormApi_FormApi {
84879
84911
  this.apiMetaRefresh = this.dvForm.metaRefresh;
84880
84912
 
84881
84913
  if (this.dvForm.desForm && this.dvForm.desForm.formGroup) {
84882
- return this.generateData(this.dvForm.desForm.formGroup);
84914
+ let obj = this.generateData(this.dvForm.desForm.formGroup);
84915
+
84916
+ if (this.oldVal) {
84917
+ obj = this.contrast(this.oldVal, obj);
84918
+ }
84919
+
84920
+ return obj;
84883
84921
  }
84884
84922
 
84885
84923
  return null;
@@ -85765,6 +85803,157 @@ class FormApi_FormApi {
85765
85803
  const uuid = s.join("");
85766
85804
  return uuid;
85767
85805
  }
85806
+ /**
85807
+ * @Description: 设置旧表单值
85808
+ * @author lzs
85809
+ * @date 2022/9/5
85810
+ * @time 14:51
85811
+ */
85812
+
85813
+
85814
+ setOldVal(oldVal) {
85815
+ this.oldVal = oldVal;
85816
+ }
85817
+ /**
85818
+ * @Description: 对比新旧表单值
85819
+ * @author lzs
85820
+ * @date 2022/9/3
85821
+ * @time 21:49
85822
+ */
85823
+
85824
+
85825
+ contrast(objectA, objectB) {
85826
+ const object = {};
85827
+
85828
+ if (!objectB || !objectA) {
85829
+ return object;
85830
+ }
85831
+
85832
+ for (const key in objectA) {
85833
+ if (objectA[key] !== objectB[key]) {
85834
+ object[key] = objectB[key];
85835
+ const control = this.getControl(key);
85836
+
85837
+ if (!control) {
85838
+ continue;
85839
+ }
85840
+
85841
+ const name = control.controlAttr.formFieldDescribe;
85842
+ object.changeLog = object.changeLog ? object.changeLog + "," : "";
85843
+ const oldVal = objectA[key] ? this.translateDictionaries(control, key, objectA[key]) : "空";
85844
+ const newVal = objectB[key] ? this.translateDictionaries(control, key, objectB[key]) : "空";
85845
+
85846
+ if (control.code !== constants_enum["g" /* FormFieldType */].Custom.code) {
85847
+ //除自定义组件均记录日志
85848
+ object.changeLog = object.changeLog + "修改【" + name + "】" + "由" + oldVal + "修改为" + newVal;
85849
+ }
85850
+ }
85851
+ }
85852
+
85853
+ return object;
85854
+ }
85855
+ /**
85856
+ * @Description: 翻译字典项
85857
+ * @author lzs
85858
+ * @date 2022/9/6
85859
+ * @time 11:54
85860
+ */
85861
+
85862
+
85863
+ translateDictionaries(control, key, value) {
85864
+ let str = value;
85865
+
85866
+ switch (control.code) {
85867
+ case constants_enum["g" /* FormFieldType */].Input.code:
85868
+ break;
85869
+
85870
+ case constants_enum["g" /* FormFieldType */].InputNumber.code:
85871
+ break;
85872
+
85873
+ case constants_enum["g" /* FormFieldType */].Textarea.code:
85874
+ break;
85875
+
85876
+ case constants_enum["g" /* FormFieldType */].Slider.code:
85877
+ break;
85878
+
85879
+ case constants_enum["g" /* FormFieldType */].Rate.code:
85880
+ break;
85881
+
85882
+ case constants_enum["g" /* FormFieldType */].Select.code:
85883
+ if (control.controlAttr.generalDictionaryOptions) {
85884
+ control.controlAttr.generalDictionaryOptions.forEach(item => {
85885
+ if (item.value === value) {
85886
+ str = item.title;
85887
+ }
85888
+ });
85889
+ } else {
85890
+ control.controlAttr.optionConfig.forEach(item => {
85891
+ if (item.value === value) {
85892
+ str = item.title;
85893
+ }
85894
+ });
85895
+ }
85896
+
85897
+ break;
85898
+
85899
+ case constants_enum["g" /* FormFieldType */].Checkbox.code:
85900
+ str = "";
85901
+ control.controlAttr.optionConfig.forEach(item => {
85902
+ value.split(",").forEach(index => {
85903
+ if (item.value === index) {
85904
+ str = str + item.title + ",";
85905
+ }
85906
+ });
85907
+ });
85908
+ str = str.substring(0, str.length - 1);
85909
+ break;
85910
+
85911
+ case constants_enum["g" /* FormFieldType */].Radio.code:
85912
+ control.controlAttr.optionConfig.forEach(item => {
85913
+ if (item.value === value) {
85914
+ str = item.title;
85915
+ }
85916
+ });
85917
+ break;
85918
+
85919
+ case constants_enum["g" /* FormFieldType */].TimePicker.code:
85920
+ break;
85921
+
85922
+ case constants_enum["g" /* FormFieldType */].DatePicker.code:
85923
+ break;
85924
+
85925
+ case constants_enum["g" /* FormFieldType */].Cascader.code:
85926
+ str = "";
85927
+ formTreeNodeConvertService.treeNodeConvertToArray(control.controlAttr.treeShapeOptions, [], "children").forEach(item => {
85928
+ value.split(",").forEach(index => {
85929
+ if (item.value === index) {
85930
+ str = str + item.title + ",";
85931
+ }
85932
+ });
85933
+ });
85934
+ str = str.substring(0, str.length - 1);
85935
+ break;
85936
+
85937
+ case constants_enum["g" /* FormFieldType */].TreeSelect.code:
85938
+ str = "";
85939
+ formTreeNodeConvertService.treeNodeConvertToArray(control.controlAttr.treeShapeOptions, [], "children").forEach(item => {
85940
+ if (item.value === value) {
85941
+ str = str + item.title;
85942
+ }
85943
+ });
85944
+ break;
85945
+
85946
+ case constants_enum["g" /* FormFieldType */].Switch.code:
85947
+ str = value ? "开" : "关";
85948
+ break;
85949
+
85950
+ default:
85951
+ str = value;
85952
+ break;
85953
+ }
85954
+
85955
+ return str;
85956
+ }
85768
85957
 
85769
85958
  }
85770
85959
  // CONCATENATED MODULE: ./src/core/index.ts
@@ -112575,7 +112764,7 @@ module.exports = function (it) {
112575
112764
  /***/ (function(module, exports, __webpack_require__) {
112576
112765
 
112577
112766
  /* eslint-disable es-x/no-symbol -- required for testing */
112578
- var NATIVE_SYMBOL = __webpack_require__("4930");
112767
+ var NATIVE_SYMBOL = __webpack_require__("04f8");
112579
112768
 
112580
112769
  module.exports = NATIVE_SYMBOL
112581
112770
  && !Symbol.sham