@capillarytech/blaze-ui 1.0.3-alpha.3 → 1.0.3-alpha.6

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 (235) hide show
  1. package/CapAlert/CapAlert.d.ts +12 -0
  2. package/CapAlert/CapAlert.d.ts.map +1 -0
  3. package/CapAlert/CapAlert.test.d.ts +2 -0
  4. package/CapAlert/CapAlert.test.d.ts.map +1 -0
  5. package/CapAlert/index.d.ts +3 -0
  6. package/CapAlert/index.d.ts.map +1 -0
  7. package/CapAlert/index.js +696 -0
  8. package/CapAlert/index.js.map +1 -0
  9. package/CapButton/CapButton.d.ts +11 -0
  10. package/CapButton/CapButton.d.ts.map +1 -0
  11. package/CapButton/CapButton.test.d.ts +2 -0
  12. package/CapButton/CapButton.test.d.ts.map +1 -0
  13. package/CapButton/index.d.ts +3 -0
  14. package/CapButton/index.d.ts.map +1 -0
  15. package/CapButton/index.js +998 -0
  16. package/CapButton/index.js.map +1 -0
  17. package/CapCard/CapCard.d.ts +9 -0
  18. package/CapCard/CapCard.d.ts.map +1 -0
  19. package/CapCard/CapCard.test.d.ts +2 -0
  20. package/CapCard/CapCard.test.d.ts.map +1 -0
  21. package/CapCard/index.d.ts +3 -0
  22. package/CapCard/index.d.ts.map +1 -0
  23. package/CapCard/index.js +697 -0
  24. package/CapCard/index.js.map +1 -0
  25. package/CapCheckbox/CapCheckbox.d.ts +17 -0
  26. package/CapCheckbox/CapCheckbox.d.ts.map +1 -0
  27. package/CapCheckbox/CapCheckbox.test.d.ts +2 -0
  28. package/CapCheckbox/CapCheckbox.test.d.ts.map +1 -0
  29. package/CapCheckbox/index.d.ts +3 -0
  30. package/CapCheckbox/index.d.ts.map +1 -0
  31. package/CapCheckbox/index.js +917 -0
  32. package/CapCheckbox/index.js.map +1 -0
  33. package/CapColumn/CapColumn.d.ts +9 -0
  34. package/CapColumn/CapColumn.d.ts.map +1 -0
  35. package/CapColumn/CapColumn.test.d.ts +2 -0
  36. package/CapColumn/CapColumn.test.d.ts.map +1 -0
  37. package/CapColumn/index.d.ts +3 -0
  38. package/CapColumn/index.d.ts.map +1 -0
  39. package/CapColumn/index.js +694 -0
  40. package/CapColumn/index.js.map +1 -0
  41. package/CapDivider/CapDivider.d.ts +9 -0
  42. package/CapDivider/CapDivider.d.ts.map +1 -0
  43. package/CapDivider/CapDivider.test.d.ts +2 -0
  44. package/CapDivider/CapDivider.test.d.ts.map +1 -0
  45. package/CapDivider/index.d.ts +3 -0
  46. package/CapDivider/index.d.ts.map +1 -0
  47. package/CapDivider/index.js +696 -0
  48. package/CapDivider/index.js.map +1 -0
  49. package/CapDropdown/CapDropdown.d.ts +20 -0
  50. package/CapDropdown/CapDropdown.d.ts.map +1 -0
  51. package/CapDropdown/CapDropdown.test.d.ts +2 -0
  52. package/CapDropdown/CapDropdown.test.d.ts.map +1 -0
  53. package/CapDropdown/index.d.ts +3 -0
  54. package/CapDropdown/index.d.ts.map +1 -0
  55. package/CapDropdown/index.js +715 -0
  56. package/CapDropdown/index.js.map +1 -0
  57. package/CapForm/CapForm.d.ts +10 -0
  58. package/CapForm/CapForm.d.ts.map +1 -0
  59. package/CapForm/CapForm.test.d.ts +2 -0
  60. package/CapForm/CapForm.test.d.ts.map +1 -0
  61. package/CapForm/index.d.ts +3 -0
  62. package/CapForm/index.d.ts.map +1 -0
  63. package/CapForm/index.js +696 -0
  64. package/CapForm/index.js.map +1 -0
  65. package/CapFormItem/CapFormItem.d.ts +13 -0
  66. package/CapFormItem/CapFormItem.d.ts.map +1 -0
  67. package/CapFormItem/CapFormItem.test.d.ts +2 -0
  68. package/CapFormItem/CapFormItem.test.d.ts.map +1 -0
  69. package/CapFormItem/index.d.ts +3 -0
  70. package/CapFormItem/index.d.ts.map +1 -0
  71. package/CapFormItem/index.js +697 -0
  72. package/CapFormItem/index.js.map +1 -0
  73. package/CapIcon/CapIcon.d.ts +31 -0
  74. package/CapIcon/CapIcon.d.ts.map +1 -0
  75. package/CapIcon/CapIcon.test.d.ts +2 -0
  76. package/CapIcon/CapIcon.test.d.ts.map +1 -0
  77. package/CapIcon/index.d.ts +3 -0
  78. package/CapIcon/index.d.ts.map +1 -0
  79. package/CapIcon/index.js +853 -0
  80. package/CapIcon/index.js.map +1 -0
  81. package/CapInput/CapInput.d.ts +11 -0
  82. package/CapInput/CapInput.d.ts.map +1 -0
  83. package/CapInput/CapInput.test.d.ts +2 -0
  84. package/CapInput/CapInput.test.d.ts.map +1 -0
  85. package/CapInput/Number.d.ts +9 -0
  86. package/CapInput/Number.d.ts.map +1 -0
  87. package/CapInput/Number.test.d.ts +2 -0
  88. package/CapInput/Number.test.d.ts.map +1 -0
  89. package/CapInput/Search.d.ts +9 -0
  90. package/CapInput/Search.d.ts.map +1 -0
  91. package/CapInput/Search.test.d.ts +2 -0
  92. package/CapInput/Search.test.d.ts.map +1 -0
  93. package/CapInput/TextArea.d.ts +9 -0
  94. package/CapInput/TextArea.d.ts.map +1 -0
  95. package/CapInput/TextArea.test.d.ts +2 -0
  96. package/CapInput/TextArea.test.d.ts.map +1 -0
  97. package/CapInput/index.d.ts +9 -0
  98. package/CapInput/index.d.ts.map +1 -0
  99. package/CapInput/index.js +744 -0
  100. package/CapInput/index.js.map +1 -0
  101. package/CapLabel/CapLabel.d.ts +23 -0
  102. package/CapLabel/CapLabel.d.ts.map +1 -0
  103. package/CapLabel/CapLabel.test.d.ts +2 -0
  104. package/CapLabel/CapLabel.test.d.ts.map +1 -0
  105. package/CapLabel/index.d.ts +3 -0
  106. package/CapLabel/index.d.ts.map +1 -0
  107. package/CapLabel/index.js +760 -0
  108. package/CapLabel/index.js.map +1 -0
  109. package/CapMenu/CapMenu.d.ts +27 -0
  110. package/CapMenu/CapMenu.d.ts.map +1 -0
  111. package/CapMenu/CapMenu.test.d.ts +2 -0
  112. package/CapMenu/CapMenu.test.d.ts.map +1 -0
  113. package/CapMenu/index.d.ts +3 -0
  114. package/CapMenu/index.d.ts.map +1 -0
  115. package/CapMenu/index.js +716 -0
  116. package/CapMenu/index.js.map +1 -0
  117. package/CapRadio/CapRadio.d.ts +18 -0
  118. package/CapRadio/CapRadio.d.ts.map +1 -0
  119. package/CapRadio/CapRadio.test.d.ts +2 -0
  120. package/CapRadio/CapRadio.test.d.ts.map +1 -0
  121. package/CapRadio/index.d.ts +3 -0
  122. package/CapRadio/index.d.ts.map +1 -0
  123. package/CapRadio/index.js +918 -0
  124. package/CapRadio/index.js.map +1 -0
  125. package/CapRow/CapRow.d.ts +27 -0
  126. package/CapRow/CapRow.d.ts.map +1 -0
  127. package/CapRow/CapRow.test.d.ts +2 -0
  128. package/CapRow/CapRow.test.d.ts.map +1 -0
  129. package/CapRow/index.d.ts +3 -0
  130. package/CapRow/index.d.ts.map +1 -0
  131. package/CapRow/index.js +751 -0
  132. package/CapRow/index.js.map +1 -0
  133. package/CapSkeleton/CapSkeleton.d.ts +8 -0
  134. package/CapSkeleton/CapSkeleton.d.ts.map +1 -0
  135. package/CapSkeleton/CapSkeleton.test.d.ts +2 -0
  136. package/CapSkeleton/CapSkeleton.test.d.ts.map +1 -0
  137. package/CapSkeleton/index.d.ts +3 -0
  138. package/CapSkeleton/index.d.ts.map +1 -0
  139. package/CapSkeleton/index.js +124 -0
  140. package/CapSkeleton/index.js.map +1 -0
  141. package/CapSpin/CapSpin.d.ts +8 -0
  142. package/CapSpin/CapSpin.d.ts.map +1 -0
  143. package/CapSpin/CapSpin.test.d.ts +2 -0
  144. package/CapSpin/CapSpin.test.d.ts.map +1 -0
  145. package/CapSpin/index.d.ts +3 -0
  146. package/CapSpin/index.d.ts.map +1 -0
  147. package/CapSpin/index.js +123 -0
  148. package/CapSpin/index.js.map +1 -0
  149. package/CapSwitch/CapSwitch.d.ts +12 -0
  150. package/CapSwitch/CapSwitch.d.ts.map +1 -0
  151. package/CapSwitch/CapSwitch.test.d.ts +2 -0
  152. package/CapSwitch/CapSwitch.test.d.ts.map +1 -0
  153. package/CapSwitch/index.d.ts +3 -0
  154. package/CapSwitch/index.d.ts.map +1 -0
  155. package/CapSwitch/index.js +700 -0
  156. package/CapSwitch/index.js.map +1 -0
  157. package/CapTab/CapTab.d.ts +21 -0
  158. package/CapTab/CapTab.d.ts.map +1 -0
  159. package/CapTab/CapTab.test.d.ts +2 -0
  160. package/CapTab/CapTab.test.d.ts.map +1 -0
  161. package/CapTab/index.d.ts +3 -0
  162. package/CapTab/index.d.ts.map +1 -0
  163. package/CapTab/index.js +729 -0
  164. package/CapTab/index.js.map +1 -0
  165. package/CapTable/CapTable.d.ts +27 -0
  166. package/CapTable/CapTable.d.ts.map +1 -0
  167. package/CapTable/CapTable.test.d.ts +2 -0
  168. package/CapTable/CapTable.test.d.ts.map +1 -0
  169. package/CapTable/index.d.ts +3 -0
  170. package/CapTable/index.d.ts.map +1 -0
  171. package/CapTable/index.js +18315 -0
  172. package/CapTable/index.js.map +1 -0
  173. package/CapTable/loadable.d.ts +5 -0
  174. package/CapTable/loadable.d.ts.map +1 -0
  175. package/CapTable/loadable.test.d.ts +2 -0
  176. package/CapTable/loadable.test.d.ts.map +1 -0
  177. package/CapTestSelect/CapTestSelect.d.ts +24 -0
  178. package/CapTestSelect/CapTestSelect.d.ts.map +1 -0
  179. package/CapTestSelect/CapTestSelect.test.d.ts +2 -0
  180. package/CapTestSelect/CapTestSelect.test.d.ts.map +1 -0
  181. package/CapTestSelect/index.d.ts +3 -0
  182. package/CapTestSelect/index.d.ts.map +1 -0
  183. package/CapTestSelect/index.js +130 -0
  184. package/CapTestSelect/index.js.map +1 -0
  185. package/CapTooltip/CapTooltip.d.ts +10 -0
  186. package/CapTooltip/CapTooltip.d.ts.map +1 -0
  187. package/CapTooltip/CapTooltip.test.d.ts +2 -0
  188. package/CapTooltip/CapTooltip.test.d.ts.map +1 -0
  189. package/CapTooltip/index.d.ts +3 -0
  190. package/CapTooltip/index.d.ts.map +1 -0
  191. package/CapTooltip/index.js +730 -0
  192. package/CapTooltip/index.js.map +1 -0
  193. package/CapTooltipWithInfo/CapTooltipWithInfo.d.ts +18 -0
  194. package/CapTooltipWithInfo/CapTooltipWithInfo.d.ts.map +1 -0
  195. package/CapTooltipWithInfo/CapTooltipWithInfo.test.d.ts +2 -0
  196. package/CapTooltipWithInfo/CapTooltipWithInfo.test.d.ts.map +1 -0
  197. package/CapTooltipWithInfo/index.d.ts +3 -0
  198. package/CapTooltipWithInfo/index.d.ts.map +1 -0
  199. package/CapTooltipWithInfo/index.js +1156 -0
  200. package/CapTooltipWithInfo/index.js.map +1 -0
  201. package/CapUnifiedSelect/CapUnifiedSelect.d.ts +138 -0
  202. package/CapUnifiedSelect/CapUnifiedSelect.d.ts.map +1 -0
  203. package/CapUnifiedSelect/CapUnifiedSelect.test.d.ts +2 -0
  204. package/CapUnifiedSelect/CapUnifiedSelect.test.d.ts.map +1 -0
  205. package/CapUnifiedSelect/index.d.ts +3 -0
  206. package/CapUnifiedSelect/index.d.ts.map +1 -0
  207. package/CapUnifiedSelect/index.js +3088 -0
  208. package/CapUnifiedSelect/index.js.map +1 -0
  209. package/CapUnifiedSelect/messages.d.ts +24 -0
  210. package/CapUnifiedSelect/messages.d.ts.map +1 -0
  211. package/LocaleHoc/index.d.ts +9 -0
  212. package/LocaleHoc/index.d.ts.map +1 -0
  213. package/LocaleHoc/index.js +465 -0
  214. package/LocaleHoc/index.js.map +1 -0
  215. package/LocaleHoc/index.test.d.ts +2 -0
  216. package/LocaleHoc/index.test.d.ts.map +1 -0
  217. package/assets/upload.svg +3 -0
  218. package/index.d.ts +54 -0
  219. package/index.d.ts.map +1 -0
  220. package/index.js +23973 -0
  221. package/index.js.map +1 -0
  222. package/package.json +91 -91
  223. package/styled/variables.d.ts +150 -0
  224. package/styled/variables.d.ts.map +1 -0
  225. package/styled/variables.scss +194 -0
  226. package/utils/fonts.d.ts +49 -0
  227. package/utils/fonts.d.ts.map +1 -0
  228. package/utils/fonts.test.d.ts +2 -0
  229. package/utils/fonts.test.d.ts.map +1 -0
  230. package/utils/index.d.ts +44 -0
  231. package/utils/index.d.ts.map +1 -0
  232. package/utils/index.js +1147 -0
  233. package/utils/index.js.map +1 -0
  234. package/utils/styles.d.ts +19 -0
  235. package/utils/styles.d.ts.map +1 -0
@@ -0,0 +1,3088 @@
1
+ /******/ (() => { // webpackBootstrap
2
+ /******/ var __webpack_modules__ = ({
3
+
4
+ /***/ 540:
5
+ /***/ ((module) => {
6
+
7
+ "use strict";
8
+
9
+
10
+ /* istanbul ignore next */
11
+ function insertStyleElement(options) {
12
+ var element = document.createElement("style");
13
+ options.setAttributes(element, options.attributes);
14
+ options.insert(element, options.options);
15
+ return element;
16
+ }
17
+ module.exports = insertStyleElement;
18
+
19
+ /***/ }),
20
+
21
+ /***/ 1020:
22
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
23
+
24
+ "use strict";
25
+ /**
26
+ * @license React
27
+ * react-jsx-runtime.production.min.js
28
+ *
29
+ * Copyright (c) Facebook, Inc. and its affiliates.
30
+ *
31
+ * This source code is licensed under the MIT license found in the
32
+ * LICENSE file in the root directory of this source tree.
33
+ */
34
+ var f=__webpack_require__(9206),k=Symbol.for("react.element"),l=Symbol.for("react.fragment"),m=Object.prototype.hasOwnProperty,n=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};
35
+ function q(c,a,g){var b,d={},e=null,h=null;void 0!==g&&(e=""+g);void 0!==a.key&&(e=""+a.key);void 0!==a.ref&&(h=a.ref);for(b in a)m.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return{$$typeof:k,type:c,key:e,ref:h,props:d,_owner:n.current}}exports.Fragment=l;exports.jsx=q;exports.jsxs=q;
36
+
37
+
38
+ /***/ }),
39
+
40
+ /***/ 1549:
41
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
42
+
43
+ "use strict";
44
+
45
+
46
+ exports.__esModule = true;
47
+ exports["default"] = void 0;
48
+ var _CapSpin = _interopRequireDefault(__webpack_require__(7579));
49
+ exports["default"] = _CapSpin.default;
50
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
51
+
52
+ /***/ }),
53
+
54
+ /***/ 1601:
55
+ /***/ ((module) => {
56
+
57
+ "use strict";
58
+
59
+
60
+ module.exports = function (i) {
61
+ return i[1];
62
+ };
63
+
64
+ /***/ }),
65
+
66
+ /***/ 1858:
67
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
68
+
69
+ // Imports
70
+ var ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ = __webpack_require__(1601);
71
+ var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(6314);
72
+ var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
73
+ // Module
74
+ ___CSS_LOADER_EXPORT___.push([module.id, `.blaze-ui-cap-row-v2.blaze-ui-with-custom-width{width:auto}.blaze-ui-cap-row-v2.blaze-ui-with-custom-height{height:auto}.blaze-ui-cap-row-v2.blaze-ui-fill-space{flex:1}.blaze-ui-cap-row-v2.blaze-ui-full-width{width:100%}.blaze-ui-cap-row-v2.blaze-ui-full-height{height:100%}.blaze-ui-cap-row-v2.blaze-ui-ant-row-no-wrap{flex-wrap:nowrap}.blaze-ui-cap-row-v2.blaze-ui-with-gap{display:grid;grid-template-columns:repeat(auto-fit, minmax(0, 1fr))}`, ""]);
75
+ // Exports
76
+ ___CSS_LOADER_EXPORT___.locals = {
77
+ "cap-row-v2": `blaze-ui-cap-row-v2`,
78
+ "with-custom-width": `blaze-ui-with-custom-width`,
79
+ "with-custom-height": `blaze-ui-with-custom-height`,
80
+ "fill-space": `blaze-ui-fill-space`,
81
+ "full-width": `blaze-ui-full-width`,
82
+ "full-height": `blaze-ui-full-height`,
83
+ "ant-row-no-wrap": `blaze-ui-ant-row-no-wrap`,
84
+ "with-gap": `blaze-ui-with-gap`
85
+ };
86
+ module.exports = ___CSS_LOADER_EXPORT___;
87
+
88
+
89
+ /***/ }),
90
+
91
+ /***/ 2119:
92
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
93
+
94
+ // Imports
95
+ var ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ = __webpack_require__(1601);
96
+ var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(6314);
97
+ var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
98
+ // Module
99
+ ___CSS_LOADER_EXPORT___.push([module.id, `.blaze-ui-cap-tooltip-overlay-v2 .ant-tooltip-inner{background-color:#091e42;color:#fff;padding:.571rem .857rem;font-size:1rem;line-height:1.429rem;border-radius:.286rem;max-width:21.429rem;word-wrap:break-word}.blaze-ui-cap-tooltip-overlay-v2 .ant-tooltip-arrow::before{background-color:#091e42}.blaze-ui-button-disabled-tooltip-wrapper{display:inline-block;cursor:not-allowed}.blaze-ui-button-disabled-tooltip-wrapper .ant-btn[disabled]{pointer-events:none}.blaze-ui-cap-tooltip-wrapper{display:inline-block}`, ""]);
100
+ // Exports
101
+ ___CSS_LOADER_EXPORT___.locals = {
102
+ "cap-tooltip-overlay-v2": `blaze-ui-cap-tooltip-overlay-v2`,
103
+ "button-disabled-tooltip-wrapper": `blaze-ui-button-disabled-tooltip-wrapper`,
104
+ "cap-tooltip-wrapper": `blaze-ui-cap-tooltip-wrapper`
105
+ };
106
+ module.exports = ___CSS_LOADER_EXPORT___;
107
+
108
+
109
+ /***/ }),
110
+
111
+ /***/ 2608:
112
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
113
+
114
+ "use strict";
115
+
116
+
117
+ exports.__esModule = true;
118
+ exports["default"] = void 0;
119
+ var _CapTooltipWithInfo = _interopRequireDefault(__webpack_require__(4299));
120
+ exports["default"] = _CapTooltipWithInfo.default;
121
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
122
+
123
+ /***/ }),
124
+
125
+ /***/ 2657:
126
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
127
+
128
+ "use strict";
129
+
130
+
131
+ exports.__esModule = true;
132
+ exports["default"] = void 0;
133
+ var _classnames = _interopRequireDefault(__webpack_require__(6942));
134
+ var _react = _interopRequireDefault(__webpack_require__(9206));
135
+ var _styles = _interopRequireDefault(__webpack_require__(4939));
136
+ var _jsxRuntime = __webpack_require__(4848);
137
+ const _excluded = ["children", "type", "className", "style", "fontWeight", "lineHeight"],
138
+ _excluded2 = ["children", "type", "className", "style", "fontWeight", "lineHeight"];
139
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
140
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
141
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
142
+ const CapLabel = _ref => {
143
+ let {
144
+ children,
145
+ type = 'label1',
146
+ className = '',
147
+ style = {},
148
+ fontWeight,
149
+ lineHeight
150
+ } = _ref,
151
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded);
152
+ const labelStyle = _extends({}, fontWeight ? {
153
+ fontWeight
154
+ } : {}, lineHeight ? {
155
+ lineHeight
156
+ } : {}, style);
157
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", _extends({
158
+ className: (0, _classnames.default)(_styles.default['cap-label'], _styles.default['cap-label-div'], _styles.default[type], className),
159
+ style: labelStyle
160
+ }, rest, {
161
+ children: children
162
+ }));
163
+ };
164
+
165
+ // Static method for inline label
166
+
167
+ const CapLabelInline = _ref2 => {
168
+ let {
169
+ children,
170
+ type = 'label1',
171
+ className = '',
172
+ style = {},
173
+ fontWeight,
174
+ lineHeight
175
+ } = _ref2,
176
+ rest = _objectWithoutPropertiesLoose(_ref2, _excluded2);
177
+ const labelStyle = _extends({}, fontWeight ? {
178
+ fontWeight
179
+ } : {}, lineHeight ? {
180
+ lineHeight
181
+ } : {}, style);
182
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)("span", _extends({
183
+ className: (0, _classnames.default)(_styles.default['cap-label'], _styles.default['cap-label-span'], _styles.default[type], className),
184
+ style: labelStyle
185
+ }, rest, {
186
+ children: children
187
+ }));
188
+ };
189
+
190
+ // Extend the component type to include the static property
191
+
192
+ const CapLabelWithStatic = CapLabel;
193
+ CapLabelWithStatic.CapLabelInline = CapLabelInline;
194
+ var _default = exports["default"] = CapLabelWithStatic;
195
+
196
+ /***/ }),
197
+
198
+ /***/ 3737:
199
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
200
+
201
+ "use strict";
202
+
203
+
204
+ exports.__esModule = true;
205
+ exports["default"] = void 0;
206
+ var _CapLabel = _interopRequireDefault(__webpack_require__(2657));
207
+ exports["default"] = _CapLabel.default;
208
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
209
+
210
+ /***/ }),
211
+
212
+ /***/ 3837:
213
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
214
+
215
+ "use strict";
216
+
217
+
218
+ exports.__esModule = true;
219
+ exports["default"] = void 0;
220
+ var _antdV = __webpack_require__(4273);
221
+ var _classnames = _interopRequireDefault(__webpack_require__(6942));
222
+ var _react = _interopRequireDefault(__webpack_require__(9206));
223
+ var _styles = _interopRequireDefault(__webpack_require__(5765));
224
+ var _jsxRuntime = __webpack_require__(4848);
225
+ const _excluded = ["children", "className", "style", "justify", "align", "gutter", "wrap", "width", "height", "margin", "padding", "fullWidth", "fullHeight", "fillSpace", "responsive", "vertical", "noWrap", "gap"];
226
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
227
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
228
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
229
+ const CapRow = _ref => {
230
+ let {
231
+ children,
232
+ className = '',
233
+ style = {},
234
+ justify = 'start',
235
+ align = 'top',
236
+ gutter = 0,
237
+ wrap = true,
238
+ width,
239
+ height,
240
+ margin,
241
+ padding,
242
+ fullWidth = false,
243
+ fullHeight = false,
244
+ fillSpace = false,
245
+ responsive = true,
246
+ vertical: _vertical = false,
247
+ noWrap = false,
248
+ gap = null
249
+ } = _ref,
250
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded);
251
+ // Use either the gap property or gutter for spacing
252
+ const gutterValue = gap !== null ? null : gutter;
253
+ const wrapValue = noWrap ? false : wrap;
254
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_antdV.Row, _extends({
255
+ className: (0, _classnames.default)(_styles.default['cap-row-v2'], {
256
+ [_styles.default['with-custom-width']]: width,
257
+ [_styles.default['with-custom-height']]: height,
258
+ [_styles.default['fill-space']]: fillSpace,
259
+ [_styles.default['full-width']]: fullWidth,
260
+ [_styles.default['full-height']]: fullHeight,
261
+ [_styles.default['ant-row-no-wrap']]: noWrap,
262
+ [_styles.default['with-gap']]: gap !== null
263
+ }, className),
264
+ style: _extends({}, gap !== null ? {
265
+ gap: typeof gap === 'number' ? gap + "px" : Array.isArray(gap) ? gap.map(g => g + "px").join(' ') : gap
266
+ } : {}, width ? {
267
+ width: typeof width === 'number' ? width + "px" : width
268
+ } : {}, height ? {
269
+ height: typeof height === 'number' ? height + "px" : height
270
+ } : {}, margin ? {
271
+ margin: typeof margin === 'number' ? margin + "px" : margin
272
+ } : {}, padding ? {
273
+ padding: typeof padding === 'number' ? padding + "px" : padding
274
+ } : {}, fullWidth ? {
275
+ width: '100%'
276
+ } : {}, fullHeight ? {
277
+ height: '100%'
278
+ } : {}, !responsive ? {
279
+ display: 'flex',
280
+ flexWrap: wrapValue ? 'wrap' : 'nowrap'
281
+ } : {}, fillSpace ? {
282
+ flex: 1
283
+ } : {}, style),
284
+ justify: justify,
285
+ align: align,
286
+ gutter: gutterValue,
287
+ wrap: wrapValue
288
+ }, rest, {
289
+ children: children
290
+ }));
291
+ };
292
+ var _default = exports["default"] = CapRow;
293
+
294
+ /***/ }),
295
+
296
+ /***/ 3883:
297
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
298
+
299
+ // Imports
300
+ var ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ = __webpack_require__(1601);
301
+ var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(6314);
302
+ var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
303
+ // Module
304
+ ___CSS_LOADER_EXPORT___.push([module.id, `.blaze-ui-cap-tooltip-with-info{display:inline-flex;align-items:center;cursor:default}.blaze-ui-cap-tooltip-with-info .blaze-ui-cap-tooltip-with-info-icon{color:#b3bac5;margin-left:.286rem;cursor:help}.blaze-ui-cap-tooltip-with-info .blaze-ui-cap-tooltip-with-info-icon:hover{color:#dfe2e7}`, ""]);
305
+ // Exports
306
+ ___CSS_LOADER_EXPORT___.locals = {
307
+ "cap-tooltip-with-info": `blaze-ui-cap-tooltip-with-info`,
308
+ "cap-tooltip-with-info-icon": `blaze-ui-cap-tooltip-with-info-icon`
309
+ };
310
+ module.exports = ___CSS_LOADER_EXPORT___;
311
+
312
+
313
+ /***/ }),
314
+
315
+ /***/ 3948:
316
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
317
+
318
+ "use strict";
319
+ __webpack_require__.r(__webpack_exports__);
320
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
321
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
322
+ /* harmony export */ });
323
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5072);
324
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
325
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_singletonStyleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4284);
326
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_singletonStyleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_singletonStyleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
327
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7659);
328
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
329
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(5056);
330
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
331
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(540);
332
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
333
+ /* harmony import */ var _node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_styles_scss__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(3883);
334
+ /* harmony import */ var _node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_styles_scss__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_styles_scss__WEBPACK_IMPORTED_MODULE_5__);
335
+ /* harmony reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};
336
+ /* harmony reexport (unknown) */ for(const __WEBPACK_IMPORT_KEY__ in _node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_styles_scss__WEBPACK_IMPORTED_MODULE_5__) if(__WEBPACK_IMPORT_KEY__ !== "default") __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = () => _node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_styles_scss__WEBPACK_IMPORTED_MODULE_5__[__WEBPACK_IMPORT_KEY__]
337
+ /* harmony reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
338
+
339
+
340
+
341
+
342
+
343
+
344
+
345
+
346
+
347
+
348
+
349
+ var options = {};
350
+
351
+ ;
352
+ options.setAttributes = (_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());
353
+ options.insert = _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
354
+ options.domAPI = (_node_modules_style_loader_dist_runtime_singletonStyleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
355
+ options.insertStyleElement = (_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());
356
+
357
+ var update = _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()((_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_styles_scss__WEBPACK_IMPORTED_MODULE_5___default()), options);
358
+
359
+
360
+
361
+
362
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_styles_scss__WEBPACK_IMPORTED_MODULE_5___default()) && (_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_styles_scss__WEBPACK_IMPORTED_MODULE_5___default().locals) ? (_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_styles_scss__WEBPACK_IMPORTED_MODULE_5___default().locals) : undefined);
363
+
364
+
365
+ /***/ }),
366
+
367
+ /***/ 4273:
368
+ /***/ ((module) => {
369
+
370
+ "use strict";
371
+ module.exports = require("antd-v5");
372
+
373
+ /***/ }),
374
+
375
+ /***/ 4284:
376
+ /***/ ((module) => {
377
+
378
+ "use strict";
379
+
380
+
381
+ /* istanbul ignore next */
382
+ var replaceText = function replaceText() {
383
+ var textStore = [];
384
+ return function replace(index, replacement) {
385
+ textStore[index] = replacement;
386
+ return textStore.filter(Boolean).join("\n");
387
+ };
388
+ }();
389
+
390
+ /* istanbul ignore next */
391
+ function apply(styleElement, index, remove, obj) {
392
+ var css;
393
+ if (remove) {
394
+ css = "";
395
+ } else {
396
+ css = "";
397
+ if (obj.supports) {
398
+ css += "@supports (".concat(obj.supports, ") {");
399
+ }
400
+ if (obj.media) {
401
+ css += "@media ".concat(obj.media, " {");
402
+ }
403
+ var needLayer = typeof obj.layer !== "undefined";
404
+ if (needLayer) {
405
+ css += "@layer".concat(obj.layer.length > 0 ? " ".concat(obj.layer) : "", " {");
406
+ }
407
+ css += obj.css;
408
+ if (needLayer) {
409
+ css += "}";
410
+ }
411
+ if (obj.media) {
412
+ css += "}";
413
+ }
414
+ if (obj.supports) {
415
+ css += "}";
416
+ }
417
+ }
418
+
419
+ // For old IE
420
+ /* istanbul ignore if */
421
+ if (styleElement.styleSheet) {
422
+ styleElement.styleSheet.cssText = replaceText(index, css);
423
+ } else {
424
+ var cssNode = document.createTextNode(css);
425
+ var childNodes = styleElement.childNodes;
426
+ if (childNodes[index]) {
427
+ styleElement.removeChild(childNodes[index]);
428
+ }
429
+ if (childNodes.length) {
430
+ styleElement.insertBefore(cssNode, childNodes[index]);
431
+ } else {
432
+ styleElement.appendChild(cssNode);
433
+ }
434
+ }
435
+ }
436
+ var singletonData = {
437
+ singleton: null,
438
+ singletonCounter: 0
439
+ };
440
+
441
+ /* istanbul ignore next */
442
+ function domAPI(options) {
443
+ if (typeof document === "undefined") return {
444
+ update: function update() {},
445
+ remove: function remove() {}
446
+ };
447
+
448
+ // eslint-disable-next-line no-undef,no-use-before-define
449
+ var styleIndex = singletonData.singletonCounter++;
450
+ var styleElement =
451
+ // eslint-disable-next-line no-undef,no-use-before-define
452
+ singletonData.singleton || (
453
+ // eslint-disable-next-line no-undef,no-use-before-define
454
+ singletonData.singleton = options.insertStyleElement(options));
455
+ return {
456
+ update: function update(obj) {
457
+ apply(styleElement, styleIndex, false, obj);
458
+ },
459
+ remove: function remove(obj) {
460
+ apply(styleElement, styleIndex, true, obj);
461
+ }
462
+ };
463
+ }
464
+ module.exports = domAPI;
465
+
466
+ /***/ }),
467
+
468
+ /***/ 4299:
469
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
470
+
471
+ "use strict";
472
+
473
+
474
+ exports.__esModule = true;
475
+ exports["default"] = void 0;
476
+ var _classnames = _interopRequireDefault(__webpack_require__(6942));
477
+ var _react = _interopRequireDefault(__webpack_require__(9206));
478
+ var _CapIcon = _interopRequireDefault(__webpack_require__(8244));
479
+ var _CapTooltip = _interopRequireDefault(__webpack_require__(5636));
480
+ var _styles = _interopRequireDefault(__webpack_require__(3948));
481
+ var _jsxRuntime = __webpack_require__(4848);
482
+ const _excluded = ["title", "iconSize", "iconType", "placement", "trigger", "className", "tooltipProps", "iconProps"];
483
+ /**
484
+ * CapTooltipWithInfo - A component that combines an info icon with a tooltip
485
+ * for displaying additional information on hover or other trigger events.
486
+ */
487
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
488
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
489
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
490
+ const CapTooltipWithInfo = _ref => {
491
+ let {
492
+ title,
493
+ iconSize = 's',
494
+ iconType = 'info-circle',
495
+ placement = 'top',
496
+ trigger = 'hover',
497
+ className = '',
498
+ tooltipProps = {},
499
+ iconProps = {}
500
+ } = _ref,
501
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded);
502
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)("span", _extends({
503
+ className: (0, _classnames.default)(_styles.default['cap-tooltip-with-info'], className)
504
+ }, rest, {
505
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapTooltip.default, _extends({
506
+ title: title,
507
+ placement: placement,
508
+ trigger: trigger
509
+ }, tooltipProps, {
510
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
511
+ className: _styles.default['cap-tooltip-with-info-icon'],
512
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapIcon.default, _extends({
513
+ type: iconType,
514
+ size: iconSize
515
+ }, iconProps))
516
+ })
517
+ }))
518
+ }));
519
+ };
520
+ var _default = exports["default"] = CapTooltipWithInfo;
521
+
522
+ /***/ }),
523
+
524
+ /***/ 4627:
525
+ /***/ ((module) => {
526
+
527
+ "use strict";
528
+ module.exports = require("@ant-design-v5/icons");
529
+
530
+ /***/ }),
531
+
532
+ /***/ 4848:
533
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
534
+
535
+ "use strict";
536
+
537
+
538
+ if (true) {
539
+ module.exports = __webpack_require__(1020);
540
+ } else // removed by dead control flow
541
+ {}
542
+
543
+
544
+ /***/ }),
545
+
546
+ /***/ 4939:
547
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
548
+
549
+ "use strict";
550
+ __webpack_require__.r(__webpack_exports__);
551
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
552
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
553
+ /* harmony export */ });
554
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5072);
555
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
556
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_singletonStyleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4284);
557
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_singletonStyleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_singletonStyleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
558
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7659);
559
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
560
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(5056);
561
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
562
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(540);
563
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
564
+ /* harmony import */ var _node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_styles_scss__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(5216);
565
+ /* harmony import */ var _node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_styles_scss__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_styles_scss__WEBPACK_IMPORTED_MODULE_5__);
566
+ /* harmony reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};
567
+ /* harmony reexport (unknown) */ for(const __WEBPACK_IMPORT_KEY__ in _node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_styles_scss__WEBPACK_IMPORTED_MODULE_5__) if(__WEBPACK_IMPORT_KEY__ !== "default") __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = () => _node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_styles_scss__WEBPACK_IMPORTED_MODULE_5__[__WEBPACK_IMPORT_KEY__]
568
+ /* harmony reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
569
+
570
+
571
+
572
+
573
+
574
+
575
+
576
+
577
+
578
+
579
+
580
+ var options = {};
581
+
582
+ ;
583
+ options.setAttributes = (_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());
584
+ options.insert = _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
585
+ options.domAPI = (_node_modules_style_loader_dist_runtime_singletonStyleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
586
+ options.insertStyleElement = (_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());
587
+
588
+ var update = _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()((_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_styles_scss__WEBPACK_IMPORTED_MODULE_5___default()), options);
589
+
590
+
591
+
592
+
593
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_styles_scss__WEBPACK_IMPORTED_MODULE_5___default()) && (_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_styles_scss__WEBPACK_IMPORTED_MODULE_5___default().locals) ? (_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_styles_scss__WEBPACK_IMPORTED_MODULE_5___default().locals) : undefined);
594
+
595
+
596
+ /***/ }),
597
+
598
+ /***/ 5056:
599
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
600
+
601
+ "use strict";
602
+
603
+
604
+ /* istanbul ignore next */
605
+ function setAttributesWithoutAttributes(styleElement) {
606
+ var nonce = true ? __webpack_require__.nc : 0;
607
+ if (nonce) {
608
+ styleElement.setAttribute("nonce", nonce);
609
+ }
610
+ }
611
+ module.exports = setAttributesWithoutAttributes;
612
+
613
+ /***/ }),
614
+
615
+ /***/ 5072:
616
+ /***/ ((module) => {
617
+
618
+ "use strict";
619
+
620
+
621
+ var stylesInDOM = [];
622
+ function getIndexByIdentifier(identifier) {
623
+ var result = -1;
624
+ for (var i = 0; i < stylesInDOM.length; i++) {
625
+ if (stylesInDOM[i].identifier === identifier) {
626
+ result = i;
627
+ break;
628
+ }
629
+ }
630
+ return result;
631
+ }
632
+ function modulesToDom(list, options) {
633
+ var idCountMap = {};
634
+ var identifiers = [];
635
+ for (var i = 0; i < list.length; i++) {
636
+ var item = list[i];
637
+ var id = options.base ? item[0] + options.base : item[0];
638
+ var count = idCountMap[id] || 0;
639
+ var identifier = "".concat(id, " ").concat(count);
640
+ idCountMap[id] = count + 1;
641
+ var indexByIdentifier = getIndexByIdentifier(identifier);
642
+ var obj = {
643
+ css: item[1],
644
+ media: item[2],
645
+ sourceMap: item[3],
646
+ supports: item[4],
647
+ layer: item[5]
648
+ };
649
+ if (indexByIdentifier !== -1) {
650
+ stylesInDOM[indexByIdentifier].references++;
651
+ stylesInDOM[indexByIdentifier].updater(obj);
652
+ } else {
653
+ var updater = addElementStyle(obj, options);
654
+ options.byIndex = i;
655
+ stylesInDOM.splice(i, 0, {
656
+ identifier: identifier,
657
+ updater: updater,
658
+ references: 1
659
+ });
660
+ }
661
+ identifiers.push(identifier);
662
+ }
663
+ return identifiers;
664
+ }
665
+ function addElementStyle(obj, options) {
666
+ var api = options.domAPI(options);
667
+ api.update(obj);
668
+ var updater = function updater(newObj) {
669
+ if (newObj) {
670
+ if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap && newObj.supports === obj.supports && newObj.layer === obj.layer) {
671
+ return;
672
+ }
673
+ api.update(obj = newObj);
674
+ } else {
675
+ api.remove();
676
+ }
677
+ };
678
+ return updater;
679
+ }
680
+ module.exports = function (list, options) {
681
+ options = options || {};
682
+ list = list || [];
683
+ var lastIdentifiers = modulesToDom(list, options);
684
+ return function update(newList) {
685
+ newList = newList || [];
686
+ for (var i = 0; i < lastIdentifiers.length; i++) {
687
+ var identifier = lastIdentifiers[i];
688
+ var index = getIndexByIdentifier(identifier);
689
+ stylesInDOM[index].references--;
690
+ }
691
+ var newLastIdentifiers = modulesToDom(newList, options);
692
+ for (var _i = 0; _i < lastIdentifiers.length; _i++) {
693
+ var _identifier = lastIdentifiers[_i];
694
+ var _index = getIndexByIdentifier(_identifier);
695
+ if (stylesInDOM[_index].references === 0) {
696
+ stylesInDOM[_index].updater();
697
+ stylesInDOM.splice(_index, 1);
698
+ }
699
+ }
700
+ lastIdentifiers = newLastIdentifiers;
701
+ };
702
+ };
703
+
704
+ /***/ }),
705
+
706
+ /***/ 5216:
707
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
708
+
709
+ // Imports
710
+ var ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ = __webpack_require__(1601);
711
+ var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(6314);
712
+ var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
713
+ // Module
714
+ ___CSS_LOADER_EXPORT___.push([module.id, `.blaze-ui-cap-label{font-family:"Roboto",sans-serif}.blaze-ui-cap-label.blaze-ui-label1{font-size:.857rem;color:#5e6c84;font-weight:400;line-height:normal}.blaze-ui-cap-label.blaze-ui-label2{font-size:.857rem;color:#091e42;font-weight:400;line-height:normal}.blaze-ui-cap-label.blaze-ui-label3{font-size:.857rem;color:#97a0af;font-weight:400;line-height:normal}.blaze-ui-cap-label.blaze-ui-label4{font-size:.857rem;color:#091e42;font-weight:500;line-height:normal}.blaze-ui-cap-label.blaze-ui-label5{font-size:.714rem;color:#091e42;font-weight:400;line-height:normal}.blaze-ui-cap-label.blaze-ui-label6{font-size:.857rem;color:#b3bac5;font-weight:400;line-height:normal}.blaze-ui-cap-label.blaze-ui-label7{font-size:1rem;color:#5e6c84;font-weight:500;line-height:normal}.blaze-ui-cap-label.blaze-ui-label8{font-size:.857rem;color:#091e42;font-weight:500;line-height:normal}.blaze-ui-cap-label.blaze-ui-label9{font-size:.857rem;color:#091e42;font-weight:400;line-height:1.143rem}.blaze-ui-cap-label.blaze-ui-label10{font-size:.857rem;color:#fff;font-weight:400;line-height:1.143rem}.blaze-ui-cap-label.blaze-ui-label11{font-size:.714rem;color:#5e6c84;font-weight:400;line-height:normal}.blaze-ui-cap-label.blaze-ui-label12{font-size:.857rem;color:#fff;font-weight:400;line-height:normal}.blaze-ui-cap-label.blaze-ui-label13{font-size:.714rem;color:#97a0af;font-weight:400;line-height:normal}.blaze-ui-cap-label.blaze-ui-label14{font-size:1rem;color:#676e7c;font-weight:400;line-height:normal}.blaze-ui-cap-label.blaze-ui-label15{font-size:1rem;color:#091e42;font-weight:400;line-height:normal}.blaze-ui-cap-label.blaze-ui-label16{font-size:1rem;color:#091e42;font-weight:500;line-height:normal}.blaze-ui-cap-label.blaze-ui-label17{font-size:1.143rem;color:#091e42;font-weight:500;line-height:normal}.blaze-ui-cap-label.blaze-ui-label18{font-size:1rem;color:#5e6c84;font-weight:400;line-height:normal}.blaze-ui-cap-label.blaze-ui-label19{font-size:.857rem;color:rgba(0,0,0,.8705882353);font-weight:400;line-height:1.143rem}.blaze-ui-cap-label.blaze-ui-label20{font-size:1rem;color:#2466eb;font-weight:500;line-height:normal}.blaze-ui-cap-label.blaze-ui-label21{font-size:.857rem;color:#2466eb;font-weight:400;line-height:normal}.blaze-ui-cap-label.blaze-ui-label22{font-size:1.714rem;color:#5e6c84;font-weight:400;line-height:2rem}.blaze-ui-cap-label.blaze-ui-label23{font-size:1rem;color:#fff;font-weight:400;line-height:normal}.blaze-ui-cap-label.blaze-ui-label24{font-size:1rem;color:#5e6c84;font-weight:400;line-height:1.429rem}.blaze-ui-cap-label.blaze-ui-label25{font-size:1rem;color:#5e6c84;font-weight:500;line-height:1.429rem}.blaze-ui-cap-label.blaze-ui-label26{font-size:.714rem;color:#091e42;font-weight:400;line-height:.857rem}.blaze-ui-cap-label.blaze-ui-label27{font-size:.857rem;color:#2466eb;font-weight:500;line-height:1.143rem}.blaze-ui-cap-label.blaze-ui-label28{font-size:.857rem;color:#fff;font-weight:500;line-height:1.143rem}.blaze-ui-cap-label.blaze-ui-label29,.blaze-ui-cap-label.blaze-ui-label30{font-size:.714rem;color:#fff;font-weight:400;line-height:.857rem}.blaze-ui-cap-label.blaze-ui-label31{font-size:.857rem;color:#091e42;font-weight:400;line-height:1.143rem}.blaze-ui-cap-label.blaze-ui-label32{font-size:1rem;color:#fff;font-weight:500;line-height:1.429rem}.blaze-ui-cap-label.blaze-ui-label33{font-size:1rem;color:#2466eb;font-weight:500;line-height:1.429rem}.blaze-ui-cap-label-div,.blaze-ui-cap-label-span{font-family:"Roboto",sans-serif;margin:0;padding:0}`, ""]);
715
+ // Exports
716
+ ___CSS_LOADER_EXPORT___.locals = {
717
+ "cap-label": `blaze-ui-cap-label`,
718
+ "label1": `blaze-ui-label1`,
719
+ "label2": `blaze-ui-label2`,
720
+ "label3": `blaze-ui-label3`,
721
+ "label4": `blaze-ui-label4`,
722
+ "label5": `blaze-ui-label5`,
723
+ "label6": `blaze-ui-label6`,
724
+ "label7": `blaze-ui-label7`,
725
+ "label8": `blaze-ui-label8`,
726
+ "label9": `blaze-ui-label9`,
727
+ "label10": `blaze-ui-label10`,
728
+ "label11": `blaze-ui-label11`,
729
+ "label12": `blaze-ui-label12`,
730
+ "label13": `blaze-ui-label13`,
731
+ "label14": `blaze-ui-label14`,
732
+ "label15": `blaze-ui-label15`,
733
+ "label16": `blaze-ui-label16`,
734
+ "label17": `blaze-ui-label17`,
735
+ "label18": `blaze-ui-label18`,
736
+ "label19": `blaze-ui-label19`,
737
+ "label20": `blaze-ui-label20`,
738
+ "label21": `blaze-ui-label21`,
739
+ "label22": `blaze-ui-label22`,
740
+ "label23": `blaze-ui-label23`,
741
+ "label24": `blaze-ui-label24`,
742
+ "label25": `blaze-ui-label25`,
743
+ "label26": `blaze-ui-label26`,
744
+ "label27": `blaze-ui-label27`,
745
+ "label28": `blaze-ui-label28`,
746
+ "label29": `blaze-ui-label29`,
747
+ "label30": `blaze-ui-label30`,
748
+ "label31": `blaze-ui-label31`,
749
+ "label32": `blaze-ui-label32`,
750
+ "label33": `blaze-ui-label33`,
751
+ "cap-label-div": `blaze-ui-cap-label-div`,
752
+ "cap-label-span": `blaze-ui-cap-label-span`
753
+ };
754
+ module.exports = ___CSS_LOADER_EXPORT___;
755
+
756
+
757
+ /***/ }),
758
+
759
+ /***/ 5353:
760
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
761
+
762
+ "use strict";
763
+
764
+
765
+ exports.__esModule = true;
766
+ exports["default"] = void 0;
767
+ var _antdV = __webpack_require__(4273);
768
+ var _classnames = _interopRequireDefault(__webpack_require__(6942));
769
+ var _react = _interopRequireWildcard(__webpack_require__(9206));
770
+ var _CapIcon = _interopRequireDefault(__webpack_require__(8244));
771
+ var _CapLabel = _interopRequireDefault(__webpack_require__(3737));
772
+ var _CapRow = _interopRequireDefault(__webpack_require__(7375));
773
+ var _CapSpin = _interopRequireDefault(__webpack_require__(1549));
774
+ var _CapTooltip = _interopRequireDefault(__webpack_require__(5636));
775
+ var _CapTooltipWithInfo = _interopRequireDefault(__webpack_require__(2608));
776
+ var _styles = _interopRequireDefault(__webpack_require__(8263));
777
+ var _jsxRuntime = __webpack_require__(4848);
778
+ const _excluded = ["type", "options", "value", "onChange", "placeholder", "className", "style", "isError", "errorMessage", "containerClassName", "popoverClassName", "allowClear", "headerLabel", "onUpload", "uploadLabel", "tooltip", "bylineText", "disabled", "showUpload", "customPopupRender", "showSearch", "searchBasedOn", "onSearch", "searchDebounce", "onConfirm", "clearText", "noResultCustomText", "noResultCustomIcon", "readOnly", "staticValue", "onFooterDownloadChange", "onPopupScroll", "enableVirtualization", "virtualRowHeight", "resetSearch", "resetData"];
779
+ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
780
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
781
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
782
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); } /* eslint-disable max-lines */
783
+ const SELECT_TYPES = {
784
+ SELECT: 'select',
785
+ MULTI_SELECT: 'multiSelect',
786
+ TREE_SELECT: 'treeSelect',
787
+ MULTI_TREE_SELECT: 'multiTreeSelect'
788
+ };
789
+ const NoResult = _ref => {
790
+ let {
791
+ noResultCustomText,
792
+ className,
793
+ showUpload,
794
+ options,
795
+ noResultCustomIcon
796
+ } = _ref;
797
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_CapRow.default, {
798
+ className: (0, _classnames.default)(className, _styles.default['cap-unified-select-no-result']),
799
+ align: "middle",
800
+ gap: 8,
801
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_CapIcon.default, {
802
+ type: noResultCustomIcon,
803
+ size: "m"
804
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapLabel.default, {
805
+ className: _styles.default['cap-unified-select-no-result-text'],
806
+ children: showUpload && (options == null ? void 0 : options.length) === 0 ? noResultCustomText : 'No results found'
807
+ })]
808
+ });
809
+ };
810
+ const SelectAllCheckbox = _ref2 => {
811
+ let {
812
+ currentItems,
813
+ tempValue,
814
+ setTempValue,
815
+ processTreeData
816
+ } = _ref2;
817
+ const {
818
+ leafValues = []
819
+ } = processTreeData ? processTreeData(currentItems) : {};
820
+ const totalAvailable = leafValues.length;
821
+ const leafSet = new Set(leafValues);
822
+ const selectedInScope = Array.isArray(tempValue) ? tempValue.filter(v => leafSet.has(v)).length : 0;
823
+ const allChecked = totalAvailable > 0 && selectedInScope === totalAvailable;
824
+ const indeterminate = selectedInScope > 0 && selectedInScope < totalAvailable;
825
+ const handleChange = e => {
826
+ if (e.target.checked) {
827
+ const merged = new Set(Array.isArray(tempValue) ? tempValue : []);
828
+ leafValues.forEach(v => merged.add(v));
829
+ setTempValue(Array.from(merged));
830
+ } else {
831
+ const toRemove = new Set(leafValues);
832
+ const next = (Array.isArray(tempValue) ? tempValue : []).filter(v => !toRemove.has(v));
833
+ setTempValue(next);
834
+ }
835
+ };
836
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapRow.default, {
837
+ className: _styles.default['cap-unified-select-select-all-container'],
838
+ align: "middle",
839
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_antdV.Checkbox, {
840
+ className: _styles.default['cap-unified-select-select-all-checkbox'],
841
+ checked: allChecked,
842
+ indeterminate: indeterminate,
843
+ onChange: handleChange,
844
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapLabel.default, {
845
+ type: "label14",
846
+ className: _styles.default['cap-unified-select-select-all-label'],
847
+ children: "Select all"
848
+ })
849
+ })
850
+ });
851
+ };
852
+ const buildTreeMaps = nodes => {
853
+ const result = {
854
+ leafValues: [],
855
+ parentChildMap: {},
856
+ nodeMap: {}
857
+ };
858
+ if (!nodes) return result;
859
+ const traverse = items => {
860
+ items == null || items.forEach(item => {
861
+ if (item.value !== undefined) {
862
+ result.nodeMap[item.value] = item;
863
+ if (item != null && item.children && item.children.length > 0) {
864
+ result.parentChildMap[item.value] = item.children.map(child => child == null ? void 0 : child.value).filter(v => v !== undefined);
865
+ traverse(item.children);
866
+ } else {
867
+ result.leafValues.push(item.value);
868
+ }
869
+ }
870
+ });
871
+ };
872
+ traverse(nodes);
873
+ return result;
874
+ };
875
+ const countSelectedLeaves = (treeMaps, selectedValues) => {
876
+ var _treeMaps$leafValues;
877
+ if (!Array.isArray(selectedValues) || !(selectedValues != null && selectedValues.length)) return 0;
878
+ const expandedSet = new Set(selectedValues);
879
+ const processNode = value => {
880
+ var _treeMaps$parentChild;
881
+ const children = treeMaps == null || (_treeMaps$parentChild = treeMaps.parentChildMap) == null ? void 0 : _treeMaps$parentChild[value];
882
+ if (!children) return;
883
+ children == null || children.forEach(childValue => {
884
+ expandedSet.add(childValue);
885
+ processNode(childValue);
886
+ });
887
+ };
888
+ selectedValues == null || selectedValues.forEach(processNode);
889
+ return (treeMaps == null || (_treeMaps$leafValues = treeMaps.leafValues) == null ? void 0 : _treeMaps$leafValues.reduce((count, leaf) => expandedSet.has(leaf) ? count + 1 : count, 0)) || 0;
890
+ };
891
+ const filterTreeData = function (data, search, searchBasedOn, selectedValues) {
892
+ if (searchBasedOn === void 0) {
893
+ searchBasedOn = 'label';
894
+ }
895
+ if (!(data != null && data.length) || !search) return data;
896
+ const searchLower = search.toLowerCase();
897
+ const selectedSet = new Set(selectedValues || []);
898
+ const nodeMatchesSearch = node => {
899
+ var _node$value, _node$key, _ref3, _node$label;
900
+ const target = searchBasedOn === 'value' ? String((_node$value = node == null ? void 0 : node.value) != null ? _node$value : '') : searchBasedOn === 'key' ? String((_node$key = node == null ? void 0 : node.key) != null ? _node$key : '') : String((_ref3 = (_node$label = node == null ? void 0 : node.label) != null ? _node$label : node == null ? void 0 : node.title) != null ? _ref3 : '');
901
+ return target.toLowerCase().includes(searchLower);
902
+ };
903
+ const isNodeSelected = node => {
904
+ return node.value !== undefined && selectedSet.has(node.value);
905
+ };
906
+ const loop = items => items.reduce((acc, item) => {
907
+ var _item$children;
908
+ if (!item) return acc;
909
+ const children = item != null && (_item$children = item.children) != null && _item$children.length ? loop(item.children) : [];
910
+ // Include node if: matches search OR is selected OR has matching children
911
+ if (nodeMatchesSearch(item) || isNodeSelected(item) || children.length) {
912
+ acc.push(_extends({}, item, {
913
+ children
914
+ }));
915
+ }
916
+ return acc;
917
+ }, []);
918
+ return loop(data);
919
+ };
920
+ const CapUnifiedSelect = _ref4 => {
921
+ let {
922
+ type = SELECT_TYPES.SELECT,
923
+ options = [],
924
+ value,
925
+ onChange,
926
+ placeholder = 'Select an option',
927
+ className = '',
928
+ style,
929
+ isError = false,
930
+ errorMessage,
931
+ containerClassName,
932
+ popoverClassName,
933
+ allowClear = false,
934
+ headerLabel,
935
+ onUpload,
936
+ uploadLabel = 'Upload',
937
+ tooltip,
938
+ bylineText,
939
+ disabled = false,
940
+ showUpload = false,
941
+ customPopupRender = true,
942
+ showSearch = true,
943
+ searchBasedOn = 'label',
944
+ onSearch,
945
+ searchDebounce = 300,
946
+ onConfirm,
947
+ clearText = 'Clear',
948
+ noResultCustomText = 'No results found',
949
+ noResultCustomIcon = 'warning',
950
+ readOnly = false,
951
+ staticValue = true,
952
+ onFooterDownloadChange,
953
+ onPopupScroll,
954
+ enableVirtualization = false,
955
+ virtualRowHeight = 32,
956
+ resetSearch = false,
957
+ resetData
958
+ } = _ref4,
959
+ rest = _objectWithoutPropertiesLoose(_ref4, _excluded);
960
+ const [searchText, setSearchText] = (0, _react.useState)('');
961
+ const [tempValue, setTempValue] = (0, _react.useState)(value);
962
+ const [dropdownOpen, setDropdownOpen] = (0, _react.useState)(false);
963
+ const [isSearching, setIsSearching] = (0, _react.useState)(false);
964
+ const [isLoadingOnScroll, setIsLoadingOnScroll] = (0, _react.useState)(false);
965
+ const [isResettingData, setIsResettingData] = (0, _react.useState)(false);
966
+ // Store ordered options after confirm (selected items moved to top based on selection order)
967
+ const [orderedOptions, setOrderedOptions] = (0, _react.useState)(null);
968
+ const searchTimeoutRef = (0, _react.useRef)(null);
969
+ const scrollContainerRef = (0, _react.useRef)(null);
970
+ const scrollLoadingTimeoutRef = (0, _react.useRef)(null);
971
+ // Cache of selected items from async results to preserve them during search
972
+ const selectedItemsCacheRef = (0, _react.useRef)(new Map());
973
+ // Track the last search query to detect when options update after search
974
+ const lastSearchQueryRef = (0, _react.useRef)('');
975
+ // Track when search was cleared to help clear loading state
976
+ const searchClearedTimeRef = (0, _react.useRef)(null);
977
+ // Track previous options to detect when they change after a search
978
+ const prevOptionsRef = (0, _react.useRef)(options);
979
+ // Track previous options before resetData is called to detect when options update
980
+ const prevOptionsBeforeResetRef = (0, _react.useRef)(options);
981
+ // Track previous options count to detect when options change after scroll
982
+ const prevOptionsCountRef = (0, _react.useRef)(options.length);
983
+ // Track previous options to detect when options change (even if count stays same)
984
+ const prevOptionsRefForScroll = (0, _react.useRef)(options);
985
+ // Track options count when scroll was triggered (for orderedOptions update)
986
+ const scrollTriggerOptionsCountRef = (0, _react.useRef)(options.length);
987
+ // Track if initial sort has been done (only sort once on initial load with selected values)
988
+ const initialSortDoneRef = (0, _react.useRef)(false);
989
+ // Track if user has interacted with the dropdown during current session (selected, searched, etc.)
990
+ const hasInteractedRef = (0, _react.useRef)(false);
991
+ // Track the initial tempValue when dropdown opens to detect if user made changes
992
+ const initialTempValueRef = (0, _react.useRef)(value);
993
+ // Track if resetData was already called in the current session to prevent duplicate calls
994
+ const resetDataCalledRef = (0, _react.useRef)(false);
995
+ // Track when resetData was called to help clear loading state
996
+ const resetDataCalledTimeRef = (0, _react.useRef)(null);
997
+ (0, _react.useEffect)(() => {
998
+ const isEqual = Array.isArray(value) && Array.isArray(tempValue) ? (value == null ? void 0 : value.length) === (tempValue == null ? void 0 : tempValue.length) && value.every(v => Array.isArray(tempValue) && tempValue.includes(v)) : value === tempValue;
999
+ if (!isEqual) {
1000
+ setTempValue(value);
1001
+ // Reset ordered options when value changes from outside
1002
+ setOrderedOptions(null);
1003
+ }
1004
+ // eslint-disable-next-line react-hooks/exhaustive-deps
1005
+ }, [value]);
1006
+
1007
+ // Cache selected items when tempValue changes
1008
+ (0, _react.useEffect)(() => {
1009
+ const currentSelected = Array.isArray(tempValue) ? tempValue : tempValue ? [tempValue] : [];
1010
+
1011
+ // Store selected items in cache for persistence
1012
+ const findAndCacheOption = (opts, val) => {
1013
+ for (const opt of opts) {
1014
+ if (opt.value === val) {
1015
+ selectedItemsCacheRef.current.set(val, opt);
1016
+ return true;
1017
+ }
1018
+ if (opt.children && opt.children.length > 0) {
1019
+ if (findAndCacheOption(opt.children, val)) {
1020
+ return true;
1021
+ }
1022
+ }
1023
+ }
1024
+ return false;
1025
+ };
1026
+ currentSelected.forEach(val => {
1027
+ if (!selectedItemsCacheRef.current.has(val)) {
1028
+ findAndCacheOption(options, val);
1029
+ }
1030
+ });
1031
+
1032
+ // Clean up cache for unselected items
1033
+ const selectedSet = new Set(currentSelected);
1034
+ selectedItemsCacheRef.current.forEach((_, value) => {
1035
+ if (!selectedSet.has(value)) {
1036
+ selectedItemsCacheRef.current.delete(value);
1037
+ }
1038
+ });
1039
+ }, [tempValue, options]);
1040
+
1041
+ // Reset ordered options when options change, but only if it would invalidate the current ordering
1042
+ // This prevents resetting when options are updated via onSearch/onScroll but selected items still exist
1043
+ (0, _react.useEffect)(() => {
1044
+ // Only reset if we have orderedOptions and the current value's items are no longer in options
1045
+ if (orderedOptions) {
1046
+ const currentSelected = Array.isArray(tempValue) ? tempValue : tempValue ? [tempValue] : [];
1047
+
1048
+ // Check if all selected values still exist in the new options
1049
+ const checkValueExists = (opts, val) => {
1050
+ for (const opt of opts) {
1051
+ if (opt.value === val) return true;
1052
+ if (opt.children && opt.children.length > 0) {
1053
+ if (checkValueExists(opt.children, val)) return true;
1054
+ }
1055
+ }
1056
+ return false;
1057
+ };
1058
+
1059
+ // If any selected value is missing from new options, reset ordering
1060
+ const allSelectedStillExist = currentSelected.every(val => checkValueExists(options, val));
1061
+ if (!allSelectedStillExist) {
1062
+ setOrderedOptions(null);
1063
+ }
1064
+ // Otherwise, keep the ordering even if options changed (e.g., via onSearch adding more items)
1065
+ } else {
1066
+ // No ordering set, nothing to reset
1067
+ }
1068
+ }, [options, orderedOptions, tempValue]);
1069
+
1070
+ // Extract debounce timeout (extracted early for use in useEffects)
1071
+ const debounceTimeout = searchDebounce != null ? searchDebounce : 300;
1072
+
1073
+ // Cleanup timeouts on unmount
1074
+ (0, _react.useEffect)(() => {
1075
+ return () => {
1076
+ if (searchTimeoutRef.current) {
1077
+ clearTimeout(searchTimeoutRef.current);
1078
+ }
1079
+ if (scrollLoadingTimeoutRef.current) {
1080
+ clearTimeout(scrollLoadingTimeoutRef.current);
1081
+ }
1082
+ };
1083
+ }, []);
1084
+
1085
+ // Detect when options update after a search to clear loading state
1086
+ // This prevents showing "No results found" before data arrives
1087
+ (0, _react.useEffect)(() => {
1088
+ // Only handle this for API-based searches (staticValue = false)
1089
+ // Check if lastSearchQueryRef has been set (including empty string for cleared search)
1090
+ const hasSearchQuery = lastSearchQueryRef.current !== null && lastSearchQueryRef.current !== undefined;
1091
+ if (staticValue || !isSearching || !hasSearchQuery) {
1092
+ prevOptionsRef.current = options;
1093
+ return;
1094
+ }
1095
+
1096
+ // Check if options actually changed (reference or content)
1097
+ const optionsChanged = prevOptionsRef.current !== options || prevOptionsRef.current.length !== options.length;
1098
+
1099
+ // Also check if search was cleared (empty string) and enough time has passed
1100
+ // This handles the case where clearing search reloads initial data that might be the same reference
1101
+ const searchCleared = lastSearchQueryRef.current === '';
1102
+ const timeSinceCleared = searchClearedTimeRef.current ? Date.now() - searchClearedTimeRef.current : Infinity;
1103
+ const hasOptionsData = options.length > 0;
1104
+ // Wait at least 200ms after search is cleared to allow API call to complete
1105
+ const clearedSearchReady = searchCleared && hasOptionsData && timeSinceCleared > 200;
1106
+ if (optionsChanged || clearedSearchReady) {
1107
+ // Options updated after search - data has arrived
1108
+ // Use a small delay to ensure state updates are processed
1109
+ const timeoutId = setTimeout(() => {
1110
+ setIsSearching(false);
1111
+ prevOptionsRef.current = options;
1112
+ // Clear timestamp when search loading is cleared
1113
+ if (searchCleared) {
1114
+ searchClearedTimeRef.current = null;
1115
+ }
1116
+ }, 100);
1117
+ return () => clearTimeout(timeoutId);
1118
+ }
1119
+ prevOptionsRef.current = options;
1120
+ }, [options, staticValue, isSearching]);
1121
+
1122
+ // Fallback: Clear searching state after a reasonable timeout to prevent infinite loading
1123
+ // This handles edge cases where options might not change reference but data has arrived
1124
+ // Also handles error cases where options don't update after search
1125
+ (0, _react.useEffect)(() => {
1126
+ // Check if lastSearchQueryRef has been set (including empty string for cleared search)
1127
+ const hasSearchQuery = lastSearchQueryRef.current !== null && lastSearchQueryRef.current !== undefined;
1128
+ if (!isSearching || staticValue || !hasSearchQuery) {
1129
+ return;
1130
+ }
1131
+
1132
+ // For cleared search (empty string), use a shorter timeout since it should reload initial data quickly
1133
+ // For regular search, use debounce timeout + buffer
1134
+ const searchCleared = lastSearchQueryRef.current === '';
1135
+ const timeoutDuration = searchCleared ? debounceTimeout + 300 // Shorter timeout for cleared search
1136
+ : debounceTimeout + 500; // Longer timeout for regular search
1137
+
1138
+ // Calculate timeout: debounce timeout + a small buffer for API response
1139
+ // This ensures we wait for the API call to complete before showing "No results"
1140
+ // For error cases where options don't update, this will clear loading state
1141
+ const fallbackTimeout = setTimeout(() => {
1142
+ setIsSearching(false);
1143
+ searchClearedTimeRef.current = null; // Clear search cleared timestamp
1144
+ }, timeoutDuration);
1145
+ return () => clearTimeout(fallbackTimeout);
1146
+ }, [isSearching, staticValue, debounceTimeout, options.length]);
1147
+
1148
+ // Detect when options update after resetData is called to clear loading state
1149
+ (0, _react.useEffect)(() => {
1150
+ if (!isResettingData) {
1151
+ // Update ref even when not resetting to keep it in sync
1152
+ prevOptionsBeforeResetRef.current = options;
1153
+ // Clear timestamp when not resetting
1154
+ resetDataCalledTimeRef.current = null;
1155
+ return;
1156
+ }
1157
+
1158
+ // Check if options actually changed (reference, length, or content)
1159
+ // Compare against the options that existed before resetData was called
1160
+ const prevOptions = prevOptionsBeforeResetRef.current;
1161
+ const currentOptions = options;
1162
+
1163
+ // More robust comparison: check reference, length, or any content differences
1164
+ const optionsChanged = prevOptions !== currentOptions || prevOptions.length !== currentOptions.length ||
1165
+ // Deep comparison: check if any option values or labels changed
1166
+ prevOptions.length === currentOptions.length && prevOptions.length > 0 && prevOptions.some((prevOpt, idx) => {
1167
+ const currentOpt = currentOptions[idx];
1168
+ return !currentOpt || prevOpt.value !== currentOpt.value || prevOpt.label !== currentOpt.label;
1169
+ });
1170
+
1171
+ // Additional check: if enough time has passed since resetData was called
1172
+ // and we have options data, assume data has loaded even if comparison didn't detect change
1173
+ const timeSinceReset = resetDataCalledTimeRef.current ? Date.now() - resetDataCalledTimeRef.current : Infinity;
1174
+ const hasDataAfterTimeout = currentOptions.length > 0 && timeSinceReset > 300 && timeSinceReset < 2000;
1175
+
1176
+ // If options changed or enough time has passed with data, clear the loading state
1177
+ if (optionsChanged || hasDataAfterTimeout) {
1178
+ // Options updated after resetData - data has arrived
1179
+ // Clear immediately without delay for faster response
1180
+ setIsResettingData(false);
1181
+ prevOptionsBeforeResetRef.current = currentOptions;
1182
+ resetDataCalledTimeRef.current = null;
1183
+ }
1184
+ }, [options, isResettingData]);
1185
+
1186
+ // Fallback: Clear resetData loading state after a reasonable timeout
1187
+ // This handles edge cases where options might not change reference but data has arrived
1188
+ (0, _react.useEffect)(() => {
1189
+ if (!isResettingData) {
1190
+ return;
1191
+ }
1192
+
1193
+ // Set a timeout to clear loading state if options don't update
1194
+ // Reduced timeout to 1 second for faster recovery
1195
+ const fallbackTimeout = setTimeout(() => {
1196
+ setIsResettingData(false);
1197
+ // Update ref to current options to prevent false positives in future comparisons
1198
+ prevOptionsBeforeResetRef.current = options;
1199
+ // Clear timestamp
1200
+ resetDataCalledTimeRef.current = null;
1201
+ }, 1000); // 1 second timeout for resetData operations
1202
+
1203
+ return () => clearTimeout(fallbackTimeout);
1204
+ }, [isResettingData, options]);
1205
+
1206
+ // Detect when options change after scroll to clear loading overlay
1207
+ (0, _react.useEffect)(() => {
1208
+ // Always update refs when options change (when not loading)
1209
+ // This ensures we track the current state for next scroll detection
1210
+ if (!isLoadingOnScroll) {
1211
+ prevOptionsCountRef.current = options.length;
1212
+ // Store a reference to the options array for comparison
1213
+ // We'll compare by length and last item to detect changes
1214
+ prevOptionsRefForScroll.current = options;
1215
+ }
1216
+
1217
+ // Only check for changes if we're currently loading from scroll
1218
+ if (!isLoadingOnScroll || !onPopupScroll) {
1219
+ return;
1220
+ }
1221
+
1222
+ // Check if options count increased (new data loaded via append)
1223
+ const optionsCountIncreased = options.length > prevOptionsCountRef.current;
1224
+
1225
+ // Check if options content changed (even if count is same - replacement scenario)
1226
+ // Compare the last option to detect if new data was appended
1227
+ const optionsContentChanged = (() => {
1228
+ const prevCount = prevOptionsCountRef.current;
1229
+ const currentCount = options.length;
1230
+
1231
+ // If count changed, definitely content changed
1232
+ if (prevCount !== currentCount) {
1233
+ return true;
1234
+ }
1235
+
1236
+ // If count is same, check if last option changed (indicates new data appended/replaced)
1237
+ if (currentCount > 0 && prevCount > 0 && prevOptionsRefForScroll.current.length > 0) {
1238
+ const prevOptions = prevOptionsRefForScroll.current;
1239
+ const lastPrevOption = prevOptions[prevOptions.length - 1];
1240
+ const lastCurrentOption = options[options.length - 1];
1241
+
1242
+ // If last option is different, content changed
1243
+ if ((lastPrevOption == null ? void 0 : lastPrevOption.value) !== (lastCurrentOption == null ? void 0 : lastCurrentOption.value) || (lastPrevOption == null ? void 0 : lastPrevOption.label) !== (lastCurrentOption == null ? void 0 : lastCurrentOption.label)) {
1244
+ return true;
1245
+ }
1246
+ }
1247
+ return false;
1248
+ })();
1249
+
1250
+ // Clear loading if options changed (either count increased or content changed)
1251
+ // This handles both append (count increase) and replace (content change) scenarios
1252
+ if (optionsCountIncreased || optionsContentChanged) {
1253
+ // Options updated after scroll - data has arrived, clear loading overlay
1254
+ setIsLoadingOnScroll(false);
1255
+ if (scrollLoadingTimeoutRef.current) {
1256
+ clearTimeout(scrollLoadingTimeoutRef.current);
1257
+ scrollLoadingTimeoutRef.current = null;
1258
+ }
1259
+
1260
+ // Update refs to track the new state after options change
1261
+ // This is critical for detecting subsequent scroll loads
1262
+ prevOptionsCountRef.current = options.length;
1263
+ prevOptionsRefForScroll.current = options;
1264
+ }
1265
+ }, [options, isLoadingOnScroll, onPopupScroll]);
1266
+
1267
+ // Handle search with debouncing
1268
+ const handleSearch = (0, _react.useCallback)(query => {
1269
+ // Clear existing timeout
1270
+ if (searchTimeoutRef.current) {
1271
+ clearTimeout(searchTimeoutRef.current);
1272
+ }
1273
+ const trimmedQuery = query.trim();
1274
+
1275
+ // Track when search is cleared (empty string after having a query)
1276
+ const wasSearching = lastSearchQueryRef.current !== '';
1277
+ const isNowCleared = trimmedQuery === '';
1278
+ if (wasSearching && isNowCleared) {
1279
+ searchClearedTimeRef.current = Date.now();
1280
+ } else if (!isNowCleared) {
1281
+ searchClearedTimeRef.current = null;
1282
+ }
1283
+
1284
+ // Track the search query to detect when options update
1285
+ lastSearchQueryRef.current = trimmedQuery;
1286
+
1287
+ // Mark as interacted if user typed something (even if they clear it later)
1288
+ if (trimmedQuery.length > 0 || lastSearchQueryRef.current.length > 0) {
1289
+ hasInteractedRef.current = true;
1290
+ }
1291
+
1292
+ // For API-based searches (staticValue = false), always call onSearch
1293
+ // This allows the developer to reload all initial data when search is cleared
1294
+ if (!staticValue && onSearch) {
1295
+ // Set loading state for both empty and non-empty queries
1296
+ setIsSearching(true);
1297
+
1298
+ // Debounce the search callback
1299
+ searchTimeoutRef.current = setTimeout(() => {
1300
+ // Send the search input (empty string when cleared, or the actual query)
1301
+ onSearch(trimmedQuery);
1302
+ // For API-based searches, keep isSearching true until options update
1303
+ // This prevents showing "No results found" before data arrives
1304
+ }, debounceTimeout);
1305
+ } else if (!trimmedQuery) {
1306
+ // For static searches, if query is empty, just reset the state
1307
+ setIsSearching(false);
1308
+ } else {
1309
+ // For static searches with content, show brief loading indicator
1310
+ // Set loading state briefly to show user feedback
1311
+ setIsSearching(true);
1312
+ // Clear loading state after a short delay (filtering is instant but we show feedback)
1313
+ searchTimeoutRef.current = setTimeout(() => {
1314
+ setIsSearching(false);
1315
+ }, 150); // Brief delay to show loading indicator
1316
+ }
1317
+ }, [onSearch, staticValue, debounceTimeout]);
1318
+ const isMulti = (0, _react.useMemo)(() => type === SELECT_TYPES.MULTI_SELECT || type === SELECT_TYPES.MULTI_TREE_SELECT, [type]);
1319
+ const isTree = (0, _react.useMemo)(() => type === SELECT_TYPES.TREE_SELECT || type === SELECT_TYPES.MULTI_TREE_SELECT, [type]);
1320
+
1321
+ // Use options directly since pagination is handled by the developer
1322
+ const mergedOptions = (0, _react.useMemo)(() => {
1323
+ return options;
1324
+ }, [options]);
1325
+
1326
+ // Helper function to reorder options based on selection order
1327
+ // Selected items are moved to top in the order they were selected
1328
+ // For tree structures, maintains parent-child relationships
1329
+ // For flat lists, directly reorders items
1330
+ // Works for all data types: flat lists, tree structures, nested trees
1331
+ const reorderOptionsBySelection = (0, _react.useCallback)((opts, selectedOrder) => {
1332
+ if (!Array.isArray(selectedOrder) || selectedOrder.length === 0 || !(opts != null && opts.length)) {
1333
+ return opts;
1334
+ }
1335
+ const selectedSet = new Set(selectedOrder);
1336
+ const selectedItems = [];
1337
+ const unselectedItems = [];
1338
+ const processedTopLevelValues = new Set();
1339
+
1340
+ // Deep clone helper to avoid mutating original items
1341
+ const deepCloneItem = item => {
1342
+ return _extends({}, item, {
1343
+ children: item.children ? item.children.map(deepCloneItem) : undefined
1344
+ });
1345
+ };
1346
+
1347
+ // Find the top-level item that contains the selected value
1348
+ // For flat lists, returns the item itself
1349
+ // For tree structures, returns the top-level parent from opts
1350
+ const findTopLevelItem = targetValue => {
1351
+ // First, find which top-level item in opts contains this value
1352
+ for (const topLevelItem of opts) {
1353
+ // Check if this top-level item itself matches
1354
+ if (topLevelItem.value === targetValue) {
1355
+ return topLevelItem;
1356
+ }
1357
+
1358
+ // Recursively search in children
1359
+ const searchInChildren = items => {
1360
+ for (const item of items) {
1361
+ if (item.value === targetValue) {
1362
+ return true; // Found it
1363
+ }
1364
+ if (item.children && item.children.length > 0) {
1365
+ if (searchInChildren(item.children)) {
1366
+ return true;
1367
+ }
1368
+ }
1369
+ }
1370
+ return false;
1371
+ };
1372
+
1373
+ // If found in this top-level item's children, return the top-level item
1374
+ if (topLevelItem.children && topLevelItem.children.length > 0) {
1375
+ if (searchInChildren(topLevelItem.children)) {
1376
+ return topLevelItem;
1377
+ }
1378
+ }
1379
+ }
1380
+ return null;
1381
+ };
1382
+
1383
+ // Check if an item or any of its descendants is selected
1384
+ const hasSelectedDescendant = item => {
1385
+ if (item.value !== undefined && selectedSet.has(item.value)) {
1386
+ return true;
1387
+ }
1388
+ if (item.children && item.children.length > 0) {
1389
+ return item.children.some(child => hasSelectedDescendant(child));
1390
+ }
1391
+ return false;
1392
+ };
1393
+
1394
+ // Collect selected items in selection order
1395
+ selectedOrder.forEach(selectedVal => {
1396
+ const topLevelItem = findTopLevelItem(selectedVal);
1397
+ if (topLevelItem && topLevelItem.value !== undefined && !processedTopLevelValues.has(topLevelItem.value)) {
1398
+ // Clone the item to avoid mutating the original
1399
+ const clonedItem = deepCloneItem(topLevelItem);
1400
+ selectedItems.push(clonedItem);
1401
+ processedTopLevelValues.add(topLevelItem.value);
1402
+ }
1403
+ });
1404
+
1405
+ // Collect unselected items maintaining original order
1406
+ // For tree structures, only include top-level items that don't have any selected descendants
1407
+ opts.forEach(item => {
1408
+ if (item.value === undefined) {
1409
+ // Item without value, include as-is
1410
+ unselectedItems.push(deepCloneItem(item));
1411
+ } else if (!processedTopLevelValues.has(item.value)) {
1412
+ // Check if this item or any of its descendants is selected
1413
+ if (!hasSelectedDescendant(item)) {
1414
+ unselectedItems.push(deepCloneItem(item));
1415
+ }
1416
+ }
1417
+ });
1418
+
1419
+ // Return selected items first (in selection order), then unselected items
1420
+ return [...selectedItems, ...unselectedItems];
1421
+ }, []);
1422
+
1423
+ // Update orderedOptions when new options are appended via scroll (when items are selected)
1424
+ // This ensures new data appears even when items are selected
1425
+ (0, _react.useEffect)(() => {
1426
+ // Only update if we have orderedOptions (items are selected), onPopupScroll is provided,
1427
+ // and options increased from when scroll was triggered
1428
+ if (!orderedOptions || !onPopupScroll) {
1429
+ return;
1430
+ }
1431
+ const currentOptions = options;
1432
+ // Compare against the count when scroll was triggered, not the current ref value
1433
+ // This ensures we detect increases even if refs were updated in other useEffects
1434
+ const optionsCountIncreased = currentOptions.length > scrollTriggerOptionsCountRef.current;
1435
+
1436
+ // Only update if options increased from scroll trigger time
1437
+ // This prevents updating on other option changes (like search)
1438
+ if (optionsCountIncreased && scrollTriggerOptionsCountRef.current > 0) {
1439
+ const selectedValues = Array.isArray(tempValue) ? tempValue : tempValue ? [tempValue] : [];
1440
+ if (selectedValues.length > 0) {
1441
+ // Reorder the full options list (which now includes new options) to maintain selection order
1442
+ // This will put selected items at top and append new unselected items at bottom
1443
+ const reordered = reorderOptionsBySelection(currentOptions, selectedValues);
1444
+ setOrderedOptions(reordered);
1445
+ // Update the scroll trigger count for next scroll detection
1446
+ scrollTriggerOptionsCountRef.current = currentOptions.length;
1447
+ }
1448
+ }
1449
+ }, [options, orderedOptions, onPopupScroll, tempValue, reorderOptionsBySelection]);
1450
+
1451
+ // Sort selected items to top on initial load (only once)
1452
+ // This handles the case when user comes from another flow with pre-selected values
1453
+ (0, _react.useEffect)(() => {
1454
+ // Only do this once, and only if we have options and selected values
1455
+ if (initialSortDoneRef.current || !(options != null && options.length)) {
1456
+ return;
1457
+ }
1458
+
1459
+ // Check if there are selected values
1460
+ const selectedValues = Array.isArray(value) ? value : value ? [value] : [];
1461
+ if (selectedValues.length === 0) {
1462
+ // No selected values, mark as done
1463
+ initialSortDoneRef.current = true;
1464
+ return;
1465
+ }
1466
+
1467
+ // Check if any selected values exist in options
1468
+ const checkValueExists = (opts, val) => {
1469
+ for (const opt of opts) {
1470
+ if (opt.value === val) return true;
1471
+ if (opt.children && opt.children.length > 0) {
1472
+ if (checkValueExists(opt.children, val)) return true;
1473
+ }
1474
+ }
1475
+ return false;
1476
+ };
1477
+ const hasSelectedInOptions = selectedValues.some(val => checkValueExists(options, val));
1478
+ if (hasSelectedInOptions) {
1479
+ // Reorder options to move selected items to top
1480
+ const reordered = reorderOptionsBySelection(options, selectedValues);
1481
+ setOrderedOptions(reordered);
1482
+ }
1483
+
1484
+ // Mark as done - only sort once on initial load
1485
+ initialSortDoneRef.current = true;
1486
+ }, [options, value, reorderOptionsBySelection]);
1487
+ const dataSource = (0, _react.useMemo)(() => {
1488
+ // During search, use normal options (mergedOptions) to show filtered results without selected items at top
1489
+ // When not searching, use ordered options if available (selected items at top), otherwise use merged options
1490
+ const sourceOptions = searchText.trim() ? mergedOptions : orderedOptions || mergedOptions;
1491
+ if (!(sourceOptions != null && sourceOptions.length)) return [];
1492
+ const enhanceOptions = opts => opts.map(opt => {
1493
+ const decoratedTitle = /*#__PURE__*/(0, _jsxRuntime.jsxs)(_CapRow.default, {
1494
+ className: _styles.default['cap-unified-select-option-with-suffix'],
1495
+ justify: "space-between",
1496
+ align: "middle",
1497
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
1498
+ className: _styles.default['cap-unified-select-option-label'],
1499
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapLabel.default, {
1500
+ type: "label14",
1501
+ children: opt == null ? void 0 : opt.label
1502
+ })
1503
+ }), ((opt == null ? void 0 : opt.optionSuffix) || (opt == null ? void 0 : opt.optionTooltipInfo)) && /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
1504
+ className: _styles.default['cap-unified-select-option-end'],
1505
+ children: [(opt == null ? void 0 : opt.optionSuffix) && /*#__PURE__*/(0, _jsxRuntime.jsxs)("span", {
1506
+ className: _styles.default['cap-unified-select-option-suffix'],
1507
+ children: [opt == null ? void 0 : opt.optionSuffix, (opt == null ? void 0 : opt.optionSuffixInfo) && /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapTooltipWithInfo.default, {
1508
+ title: opt == null ? void 0 : opt.optionSuffixInfo
1509
+ })]
1510
+ }), (opt == null ? void 0 : opt.optionTooltipInfo) && /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapTooltipWithInfo.default, {
1511
+ title: opt == null ? void 0 : opt.optionTooltipInfo
1512
+ })]
1513
+ })]
1514
+ });
1515
+ return _extends({}, opt, {
1516
+ title: decoratedTitle,
1517
+ label: opt == null ? void 0 : opt.label,
1518
+ children: opt != null && opt.children ? enhanceOptions(opt.children) : []
1519
+ });
1520
+ });
1521
+ return isTree ? enhanceOptions(sourceOptions) : sourceOptions.map(opt => _extends({}, opt, {
1522
+ title: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_CapRow.default, {
1523
+ className: _styles.default['cap-unified-select-option-with-suffix'],
1524
+ justify: "space-between",
1525
+ align: "middle",
1526
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
1527
+ className: _styles.default['cap-unified-select-option-label'],
1528
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapLabel.default, {
1529
+ type: "label14",
1530
+ children: opt == null ? void 0 : opt.label
1531
+ })
1532
+ }), ((opt == null ? void 0 : opt.optionSuffix) || (opt == null ? void 0 : opt.optionTooltipInfo)) && /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
1533
+ className: _styles.default['cap-unified-select-option-end'],
1534
+ children: [(opt == null ? void 0 : opt.optionSuffix) && /*#__PURE__*/(0, _jsxRuntime.jsxs)("span", {
1535
+ className: _styles.default['cap-unified-select-option-suffix'],
1536
+ children: [opt == null ? void 0 : opt.optionSuffix, (opt == null ? void 0 : opt.optionSuffixInfo) && /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapTooltipWithInfo.default, {
1537
+ title: opt == null ? void 0 : opt.optionSuffixInfo
1538
+ })]
1539
+ }), (opt == null ? void 0 : opt.optionTooltipInfo) && /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapTooltipWithInfo.default, {
1540
+ title: opt == null ? void 0 : opt.optionTooltipInfo
1541
+ })]
1542
+ })]
1543
+ }),
1544
+ label: opt == null ? void 0 : opt.label
1545
+ }));
1546
+ }, [isTree, mergedOptions, orderedOptions, searchText]);
1547
+ const filteredTree = (0, _react.useMemo)(() => {
1548
+ const selectedValues = Array.isArray(tempValue) ? tempValue : tempValue ? [tempValue] : [];
1549
+ const hasSearchQuery = searchText.trim().length > 0;
1550
+
1551
+ // If staticValue is true, use local filtering on existing options
1552
+ // If staticValue is false, still use local filtering for immediate feedback,
1553
+ // but onSearch callback will be triggered for parent to update options
1554
+ // During search, don't include selectedValues so only matching items are shown
1555
+ // When not searching, include selectedValues to show selected items
1556
+ return filterTreeData(dataSource, searchText.trim(), searchBasedOn, hasSearchQuery ? undefined : selectedValues);
1557
+ }, [dataSource, searchText, searchBasedOn, tempValue]);
1558
+ const treeMaps = (0, _react.useMemo)(() => buildTreeMaps(options), [options]);
1559
+ const selectedLeafCount = (0, _react.useMemo)(() => countSelectedLeaves(treeMaps, Array.isArray(tempValue) ? tempValue : undefined), [treeMaps, tempValue]);
1560
+ const displayValue = dropdownOpen ? tempValue : value;
1561
+ const suffix = (0, _react.useMemo)(() => {
1562
+ const count = Array.isArray(displayValue) ? displayValue == null ? void 0 : displayValue.length : displayValue ? 1 : 0;
1563
+ const renderTooltipTitle = values => {
1564
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
1565
+ className: _styles.default['cap-unified-select-more-tooltip-content'],
1566
+ children: values.map((val, idx) => /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
1567
+ children: val
1568
+ }, "cap-unified-select-tooltip-item-" + val + "-" + idx))
1569
+ });
1570
+ };
1571
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
1572
+ children: [isMulti && count > 1 && /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
1573
+ className: _styles.default['cap-unified-select-more-text'],
1574
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapTooltip.default, {
1575
+ title: renderTooltipTitle(Array.isArray(displayValue) ? displayValue.slice(1) : []),
1576
+ placement: "bottom",
1577
+ overlayClassName: _styles.default['cap-unified-select-more-tooltip'],
1578
+ arrowPointAtCenter: true,
1579
+ children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("span", {
1580
+ children: ["+", count - 1, " more"]
1581
+ })
1582
+ })
1583
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapIcon.default, {
1584
+ className: _styles.default['cap-unified-select-suffix-icon'],
1585
+ type: dropdownOpen ? 'up' : 'down',
1586
+ size: "xs"
1587
+ })]
1588
+ });
1589
+ }, [isMulti, displayValue, dropdownOpen]);
1590
+ const prefix = (0, _react.useMemo)(() => {
1591
+ if (isMulti && Array.isArray(displayValue) && (displayValue == null ? void 0 : displayValue.length) > 0) {
1592
+ var _treeMaps$nodeMap;
1593
+ const firstLeafValue = displayValue.find(val => {
1594
+ var _treeMaps$leafValues2;
1595
+ return treeMaps == null || (_treeMaps$leafValues2 = treeMaps.leafValues) == null ? void 0 : _treeMaps$leafValues2.includes(val);
1596
+ });
1597
+ return firstLeafValue ? (treeMaps == null || (_treeMaps$nodeMap = treeMaps.nodeMap) == null || (_treeMaps$nodeMap = _treeMaps$nodeMap[firstLeafValue]) == null ? void 0 : _treeMaps$nodeMap.label) || null : null;
1598
+ }
1599
+ return null;
1600
+ }, [isMulti, displayValue, treeMaps]);
1601
+ const handleConfirm = (0, _react.useCallback)(() => {
1602
+ // Mark as interacted since user clicked confirm (explicit action)
1603
+ hasInteractedRef.current = true;
1604
+
1605
+ // Reorder options based on selection order when confirm is clicked
1606
+ // Use mergedOptions to include paginated options if they exist
1607
+ const optionsToReorder = mergedOptions;
1608
+ if (isMulti && Array.isArray(tempValue) && tempValue.length > 0) {
1609
+ // Reorder the options (includes paginated if they exist)
1610
+ const reordered = reorderOptionsBySelection(optionsToReorder, tempValue);
1611
+ setOrderedOptions(reordered);
1612
+ } else if (!isMulti && tempValue && !Array.isArray(tempValue)) {
1613
+ // For single select, move selected item to top
1614
+ const reordered = reorderOptionsBySelection(optionsToReorder, [tempValue]);
1615
+ setOrderedOptions(reordered);
1616
+ } else {
1617
+ // No selection, reset to original order
1618
+ setOrderedOptions(null);
1619
+ }
1620
+ onChange == null || onChange(tempValue);
1621
+ setDropdownOpen(false);
1622
+ // Always clear searching state since search operation is complete
1623
+ setIsSearching(false);
1624
+ searchClearedTimeRef.current = null; // Clear search cleared timestamp
1625
+ // Clear search text on confirm only if resetSearch is true
1626
+ // This allows users to keep their search when reopening the dropdown if desired
1627
+ if (resetSearch) {
1628
+ setSearchText('');
1629
+ lastSearchQueryRef.current = ''; // Clear search query ref
1630
+ }
1631
+ // Call resetData to allow developer to reload initial data
1632
+ if (resetData) {
1633
+ // Store current options before calling resetData to detect when they update
1634
+ prevOptionsBeforeResetRef.current = mergedOptions;
1635
+ setIsResettingData(true);
1636
+ resetDataCalledRef.current = true;
1637
+ resetDataCalledTimeRef.current = Date.now();
1638
+ resetData();
1639
+ }
1640
+ onConfirm == null || onConfirm(tempValue);
1641
+ }, [onChange, onConfirm, tempValue, resetSearch, isMulti, mergedOptions, reorderOptionsBySelection, resetData]);
1642
+ const handleClearAll = (0, _react.useCallback)(() => {
1643
+ // Mark as interacted since user clicked clear (explicit action)
1644
+ hasInteractedRef.current = true;
1645
+ const cleared = isMulti ? [] : undefined;
1646
+ setTempValue(cleared);
1647
+ onChange == null || onChange(cleared);
1648
+ setDropdownOpen(false);
1649
+ // Call resetData to allow developer to reload initial data
1650
+ if (resetData) {
1651
+ // Store current options before calling resetData to detect when they update
1652
+ prevOptionsBeforeResetRef.current = options;
1653
+ setIsResettingData(true);
1654
+ resetDataCalledRef.current = true;
1655
+ resetDataCalledTimeRef.current = Date.now();
1656
+ resetData();
1657
+ }
1658
+ }, [isMulti, onChange, resetData, options]);
1659
+ const handleDropdownVisibilityChange = (0, _react.useCallback)(open => {
1660
+ if (readOnly) {
1661
+ return;
1662
+ }
1663
+ if (open) {
1664
+ // Reset interaction tracking when dropdown opens
1665
+ // Store initial value (not tempValue) to detect if user makes changes
1666
+ // This ensures we track changes from the actual selected value, not temporary state
1667
+ initialTempValueRef.current = value;
1668
+ hasInteractedRef.current = false;
1669
+ resetDataCalledRef.current = false;
1670
+ // Clear any pending search timeouts
1671
+ if (searchTimeoutRef.current) {
1672
+ clearTimeout(searchTimeoutRef.current);
1673
+ searchTimeoutRef.current = null;
1674
+ }
1675
+ // Clear any pending scroll loading timeouts
1676
+ if (scrollLoadingTimeoutRef.current) {
1677
+ clearTimeout(scrollLoadingTimeoutRef.current);
1678
+ scrollLoadingTimeoutRef.current = null;
1679
+ }
1680
+ // Reset loading states
1681
+ setIsSearching(false);
1682
+ searchClearedTimeRef.current = null; // Clear search cleared timestamp
1683
+ setIsLoadingOnScroll(false);
1684
+ // Safety check: Clear isResettingData if it's still true when opening
1685
+ // This handles cases where options updated while dropdown was closed
1686
+ if (isResettingData) {
1687
+ setIsResettingData(false);
1688
+ // Update ref to current options to prevent false positives
1689
+ prevOptionsBeforeResetRef.current = options;
1690
+ // Clear timestamp
1691
+ resetDataCalledTimeRef.current = null;
1692
+ }
1693
+ } else {
1694
+ // Dropdown is closing
1695
+ if (!customPopupRender) {
1696
+ onChange == null || onChange(tempValue);
1697
+ } else {
1698
+ setTempValue(value);
1699
+ }
1700
+ // Clear search when closing (if enabled)
1701
+ if (resetSearch) {
1702
+ setSearchText('');
1703
+ setIsSearching(false);
1704
+ lastSearchQueryRef.current = ''; // Clear search query ref
1705
+ searchClearedTimeRef.current = null; // Clear search cleared timestamp
1706
+ }
1707
+ // Reset scroll loading state
1708
+ setIsLoadingOnScroll(false);
1709
+ if (scrollLoadingTimeoutRef.current) {
1710
+ clearTimeout(scrollLoadingTimeoutRef.current);
1711
+ scrollLoadingTimeoutRef.current = null;
1712
+ }
1713
+ scrollContainerRef.current = null;
1714
+
1715
+ // Only call resetData if user actually interacted (selected, searched, etc.)
1716
+ // and resetData hasn't been called already in this session
1717
+ // This prevents multiple API calls when user just opens/closes without interaction
1718
+ if (resetData && hasInteractedRef.current && !resetDataCalledRef.current) {
1719
+ // Store current options before calling resetData to detect when they update
1720
+ prevOptionsBeforeResetRef.current = options;
1721
+ setIsResettingData(true);
1722
+ resetDataCalledRef.current = true;
1723
+ resetDataCalledTimeRef.current = Date.now();
1724
+ resetData();
1725
+ } else if (!hasInteractedRef.current) {
1726
+ // User did nothing - reset everything as if it's a fresh load
1727
+ // Clear any pending operations
1728
+ if (searchTimeoutRef.current) {
1729
+ clearTimeout(searchTimeoutRef.current);
1730
+ searchTimeoutRef.current = null;
1731
+ }
1732
+ setIsSearching(false);
1733
+ setIsResettingData(false);
1734
+ // Reset search query ref
1735
+ lastSearchQueryRef.current = '';
1736
+ }
1737
+
1738
+ // Reset interaction flag for next session
1739
+ hasInteractedRef.current = false;
1740
+ }
1741
+ setDropdownOpen(open);
1742
+ }, [customPopupRender, value, onChange, tempValue, readOnly, resetSearch, resetData, options]);
1743
+ const handleFooterDownload = (0, _react.useCallback)(() => {
1744
+ const currentValues = Array.isArray(tempValue) ? tempValue : tempValue ? [tempValue] : [];
1745
+ onFooterDownloadChange == null || onFooterDownloadChange(currentValues);
1746
+ }, [tempValue, onFooterDownloadChange]);
1747
+ const handleUpload = (0, _react.useCallback)(() => {
1748
+ onUpload == null || onUpload();
1749
+ setDropdownOpen(false);
1750
+ }, [onUpload]);
1751
+ const handleSearchChange = (0, _react.useCallback)(e => {
1752
+ const query = e.target.value;
1753
+ setSearchText(query);
1754
+
1755
+ // Trigger search handler (handles debouncing and minLength check)
1756
+ handleSearch(query);
1757
+ }, [handleSearch]);
1758
+ const handleSearchKeyDown = (0, _react.useCallback)(e => {
1759
+ // Stop propagation of backspace and delete keys to prevent TreeSelect from deselecting items
1760
+ // The input itself will handle the deletion, we just need to prevent TreeSelect from handling it
1761
+ if (e.key === 'Backspace' || e.key === 'Delete') {
1762
+ e.stopPropagation();
1763
+ }
1764
+ // Also stop Escape key to prevent dropdown from closing when clearing search
1765
+ if (e.key === 'Escape' && searchText.length > 0) {
1766
+ e.stopPropagation();
1767
+ }
1768
+ }, [searchText]);
1769
+
1770
+ // Handle scroll event - automatically checks if scroll is near bottom
1771
+ // Developer handles hasMore and isLoading conditions in onPopupScroll callback
1772
+ const handleScroll = (0, _react.useCallback)(event => {
1773
+ if (!onPopupScroll) return;
1774
+ const target = event.target;
1775
+ if (!target) return;
1776
+
1777
+ // Check if scroll is near bottom
1778
+ const isNearBottom = Math.floor(target.scrollHeight - target.scrollTop) <= target.clientHeight;
1779
+
1780
+ // Only call onPopupScroll if scroll is near bottom
1781
+ // Developer will handle hasMore and isLoading checks inside the callback
1782
+ if (!isNearBottom) return;
1783
+
1784
+ // Prevent multiple scroll triggers while already loading
1785
+ // This ensures loading state is managed properly and data loading completes
1786
+ if (isLoadingOnScroll) return;
1787
+
1788
+ // Store current options count and options reference before triggering load
1789
+ // This helps detect when new data arrives
1790
+ // Store the reference directly - we'll compare by length and last item
1791
+ prevOptionsCountRef.current = options.length;
1792
+ prevOptionsRefForScroll.current = options;
1793
+ // Also store the count at scroll trigger time for orderedOptions update
1794
+ scrollTriggerOptionsCountRef.current = options.length;
1795
+
1796
+ // Show loading indicator when scrolling near bottom
1797
+ // This happens before calling onPopupScroll to provide immediate feedback
1798
+ setIsLoadingOnScroll(true);
1799
+
1800
+ // Clear any existing timeout
1801
+ if (scrollLoadingTimeoutRef.current) {
1802
+ clearTimeout(scrollLoadingTimeoutRef.current);
1803
+ scrollLoadingTimeoutRef.current = null;
1804
+ }
1805
+
1806
+ // Create a React synthetic event-like object with scroll information
1807
+ // const syntheticEvent = {
1808
+ // target: target,
1809
+ // currentTarget: target,
1810
+ // nativeEvent: event,
1811
+ // bubbles: false,
1812
+ // cancelable: false,
1813
+ // defaultPrevented: false,
1814
+ // eventPhase: 0,
1815
+ // isTrusted: false,
1816
+ // timeStamp: Date.now(),
1817
+ // type: 'scroll',
1818
+ // detail: 0,
1819
+ // view: null,
1820
+ // preventDefault: () => { },
1821
+ // stopPropagation: () => { },
1822
+ // stopImmediatePropagation: () => { },
1823
+ // isDefaultPrevented: () => false,
1824
+ // isPropagationStopped: () => false,
1825
+ // } as unknown as React.UIEvent<HTMLElement>;
1826
+
1827
+ // Mark as interacted when user scrolls (triggers data loading)
1828
+ hasInteractedRef.current = true;
1829
+
1830
+ // Call the developer's scroll handler - component already checked scroll position
1831
+ // Developer should check hasMore and isLoading inside the callback
1832
+ // This triggers the async data loading
1833
+ onPopupScroll();
1834
+
1835
+ // Set a fallback timeout to clear loading if options don't change
1836
+ // This prevents loading from staying forever if data never arrives
1837
+ // Using a longer timeout (10 seconds) to give enough time for slow API calls
1838
+ scrollLoadingTimeoutRef.current = setTimeout(() => {
1839
+ // Only clear if still loading (options change detection might have cleared it already)
1840
+ setIsLoadingOnScroll(prev => {
1841
+ if (prev) {
1842
+ // Clear the timeout reference when clearing loading state
1843
+ scrollLoadingTimeoutRef.current = null;
1844
+ return false;
1845
+ }
1846
+ return prev;
1847
+ });
1848
+ }, 10000); // 10 seconds fallback - much longer than the previous 500ms
1849
+ }, [onPopupScroll, isLoadingOnScroll, options.length]);
1850
+
1851
+ // Setup scroll listener for onPopupScroll
1852
+ (0, _react.useEffect)(() => {
1853
+ if (!onPopupScroll || !dropdownOpen) return;
1854
+
1855
+ // Use a small delay to ensure DOM is ready
1856
+ const timeoutId = setTimeout(() => {
1857
+ // Find the scrollable container in the dropdown
1858
+ const findScrollContainer = () => {
1859
+ // Try to find the Ant Design dropdown scroll container
1860
+ // Look for dropdowns that are currently visible (not hidden)
1861
+ const dropdowns = document.querySelectorAll('.ant-select-dropdown:not(.ant-select-dropdown-hidden)');
1862
+ if (dropdowns.length === 0) return null;
1863
+
1864
+ // Get the last opened dropdown (most recent)
1865
+ const dropdown = Array.from(dropdowns).pop();
1866
+ if (!dropdown) return null;
1867
+
1868
+ // Look for the scrollable list container
1869
+ const treeList = dropdown.querySelector('.ant-select-tree-list-holder');
1870
+ if (treeList && treeList.scrollHeight > treeList.clientHeight) {
1871
+ return treeList;
1872
+ }
1873
+
1874
+ // Try alternative selectors
1875
+ const virtualList = dropdown.querySelector('.rc-virtual-list-holder');
1876
+ if (virtualList && virtualList.scrollHeight > virtualList.clientHeight) {
1877
+ return virtualList;
1878
+ }
1879
+
1880
+ // Fallback to dropdown itself if it's scrollable
1881
+ if (dropdown.scrollHeight > dropdown.clientHeight) {
1882
+ return dropdown;
1883
+ }
1884
+ return null;
1885
+ };
1886
+ const scrollContainer = findScrollContainer();
1887
+ if (scrollContainer) {
1888
+ scrollContainerRef.current = scrollContainer;
1889
+ scrollContainer.addEventListener('scroll', handleScroll, {
1890
+ passive: true
1891
+ });
1892
+ }
1893
+ }, 100);
1894
+ return () => {
1895
+ clearTimeout(timeoutId);
1896
+ if (scrollContainerRef.current) {
1897
+ scrollContainerRef.current.removeEventListener('scroll', handleScroll);
1898
+ scrollContainerRef.current = null;
1899
+ }
1900
+ };
1901
+ }, [onPopupScroll, dropdownOpen, handleScroll]);
1902
+ const renderHeader = (0, _react.useMemo)(() => {
1903
+ if (!headerLabel && !tooltip) return null;
1904
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
1905
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
1906
+ className: (0, _classnames.default)(_styles.default['cap-unified-select-header-wrapper'], disabled && _styles.default.disabled, _styles.default['cap-unified-select-header']),
1907
+ children: [headerLabel && /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapLabel.default, {
1908
+ type: "label16",
1909
+ className: (0, _classnames.default)(disabled && _styles.default.disabled, _styles.default['cap-unified-select-header-label']),
1910
+ children: headerLabel
1911
+ }), tooltip && /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapTooltipWithInfo.default, {
1912
+ title: tooltip,
1913
+ className: (0, _classnames.default)(disabled && _styles.default.disabled, _styles.default['cap-unified-select-header-tooltip']),
1914
+ iconProps: {
1915
+ disabled
1916
+ }
1917
+ })]
1918
+ }), bylineText && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
1919
+ className: _styles.default['cap-unified-select-header-byline-text'],
1920
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapLabel.default, {
1921
+ className: (0, _classnames.default)(disabled && _styles.default.disabled, _styles.default['cap-unified-select-header-byline-text']),
1922
+ children: bylineText
1923
+ })
1924
+ })]
1925
+ });
1926
+ }, [headerLabel, tooltip, bylineText, disabled]);
1927
+ const renderCustomDropdown = (0, _react.useCallback)(menu => {
1928
+ if (!customPopupRender) return menu;
1929
+ const currentItems = filteredTree;
1930
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
1931
+ className: (0, _classnames.default)(popoverClassName, _styles.default[type + "-popup-container"]),
1932
+ children: [showSearch && /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapRow.default, {
1933
+ className: _styles.default['cap-unified-select-search-container'],
1934
+ align: "middle",
1935
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_antdV.Input, {
1936
+ prefix: /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapIcon.default, {
1937
+ type: "search",
1938
+ size: "s",
1939
+ className: _styles.default['cap-unified-select-search-icon']
1940
+ }),
1941
+ placeholder: "Search",
1942
+ variant: "borderless",
1943
+ value: searchText,
1944
+ onChange: handleSearchChange,
1945
+ onKeyDown: handleSearchKeyDown,
1946
+ allowClear: true
1947
+ })
1948
+ }), isMulti && showUpload && /*#__PURE__*/(0, _jsxRuntime.jsxs)(_CapRow.default, {
1949
+ className: _styles.default['cap-unified-select-upload-container'],
1950
+ align: "middle",
1951
+ onClick: handleUpload,
1952
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_CapIcon.default, {
1953
+ type: "upload",
1954
+ size: "s",
1955
+ className: _styles.default['cap-unified-select-upload-icon']
1956
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapLabel.default, {
1957
+ type: "label14",
1958
+ className: _styles.default['cap-unified-select-upload-label'],
1959
+ children: uploadLabel
1960
+ })]
1961
+ }), isMulti && staticValue && currentItems.length > 0 && /*#__PURE__*/(0, _jsxRuntime.jsx)(SelectAllCheckbox, {
1962
+ currentItems: currentItems,
1963
+ tempValue: Array.isArray(tempValue) ? tempValue : undefined,
1964
+ setTempValue: val => setTempValue(val),
1965
+ processTreeData: buildTreeMaps
1966
+ }), currentItems.length === 0 ? isSearching || isResettingData ? /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
1967
+ className: _styles.default['cap-unified-select-loading-container'],
1968
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_CapRow.default, {
1969
+ align: "middle",
1970
+ justify: "center",
1971
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapSpin.default, {
1972
+ size: "small"
1973
+ })
1974
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapRow.default, {
1975
+ align: "middle",
1976
+ justify: "center",
1977
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapLabel.default, {
1978
+ type: "label14",
1979
+ children: "Loading..."
1980
+ })
1981
+ })]
1982
+ }) : /*#__PURE__*/(0, _jsxRuntime.jsx)(NoResult, {
1983
+ noResultCustomText: noResultCustomText,
1984
+ className: className,
1985
+ showUpload: showUpload,
1986
+ options: options,
1987
+ noResultCustomIcon: noResultCustomIcon
1988
+ }) : /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
1989
+ className: _styles.default['cap-unified-select-menu-wrapper'],
1990
+ children: [menu, (isSearching || isResettingData) && /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
1991
+ className: _styles.default['cap-unified-select-loading-overlay'],
1992
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_CapRow.default, {
1993
+ align: "middle",
1994
+ justify: "center",
1995
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapSpin.default, {
1996
+ size: "small"
1997
+ })
1998
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapRow.default, {
1999
+ align: "middle",
2000
+ justify: "center",
2001
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapLabel.default, {
2002
+ type: "label14",
2003
+ children: "Loading..."
2004
+ })
2005
+ })]
2006
+ }), isLoadingOnScroll && onPopupScroll && /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
2007
+ className: _styles.default['cap-unified-select-loading-overlay'],
2008
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_CapRow.default, {
2009
+ align: "middle",
2010
+ justify: "center",
2011
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapSpin.default, {
2012
+ size: "small"
2013
+ })
2014
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapRow.default, {
2015
+ align: "middle",
2016
+ justify: "center",
2017
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapLabel.default, {
2018
+ type: "label14",
2019
+ children: "Loading..."
2020
+ })
2021
+ })]
2022
+ })]
2023
+ }), currentItems.length > 0 && isMulti && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
2024
+ className: _styles.default['cap-unified-select-confirm-container'],
2025
+ children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
2026
+ className: _styles.default['cap-unified-select-confirm-button-group'],
2027
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_antdV.Button, {
2028
+ type: "primary",
2029
+ size: "small",
2030
+ className: _styles.default['cap-unified-select-confirm-button'],
2031
+ onClick: handleConfirm,
2032
+ disabled: selectedLeafCount === 0,
2033
+ children: "Confirm"
2034
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_antdV.Button, {
2035
+ type: "text",
2036
+ className: _styles.default['cap-unified-select-cancel-button'],
2037
+ size: "small",
2038
+ onClick: handleClearAll,
2039
+ children: clearText
2040
+ }), onFooterDownloadChange && selectedLeafCount > 0 && /*#__PURE__*/(0, _jsxRuntime.jsxs)(_CapRow.default, {
2041
+ className: _styles.default['cap-unified-select-footer-download-container'],
2042
+ align: "middle",
2043
+ onClick: handleFooterDownload,
2044
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_CapIcon.default, {
2045
+ type: "download",
2046
+ size: "s",
2047
+ className: _styles.default['cap-unified-select-footer-download-icon']
2048
+ }), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_CapLabel.default, {
2049
+ className: _styles.default['cap-unified-select-footer-download-label'],
2050
+ children: [selectedLeafCount, " selected"]
2051
+ })]
2052
+ })]
2053
+ })
2054
+ }), (type === SELECT_TYPES.SELECT || type === SELECT_TYPES.TREE_SELECT) && allowClear && /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapRow.default, {
2055
+ className: _styles.default['cap-unified-select-tree-clear-container'],
2056
+ onClick: handleClearAll,
2057
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapLabel.default, {
2058
+ className: _styles.default['cap-unified-select-tree-clear-label'],
2059
+ children: clearText
2060
+ })
2061
+ })]
2062
+ });
2063
+ }, [customPopupRender, filteredTree, searchText, isMulti, showUpload, uploadLabel, handleUpload, noResultCustomText, noResultCustomIcon, options, type, tempValue, handleConfirm, handleClearAll, popoverClassName, className, selectedLeafCount, clearText, allowClear, staticValue, showSearch, onFooterDownloadChange, handleFooterDownload, isSearching, handleSearchChange, handleSearchKeyDown, isLoadingOnScroll, onPopupScroll, isResettingData]);
2064
+ const combinedClassName = (0, _react.useMemo)(() => (0, _classnames.default)(containerClassName, _styles.default['cap-unified-tree-select'], {
2065
+ [_styles.default['cap-unified-tree-select-readonly']]: readOnly
2066
+ }, className), [containerClassName, className, readOnly]);
2067
+
2068
+ // Handle onChange for single select - detect clear button click and call resetData
2069
+ const handleSingleSelectChange = (0, _react.useCallback)(newValue => {
2070
+ // Mark as interacted if value changed from initial
2071
+ if (newValue !== initialTempValueRef.current) {
2072
+ hasInteractedRef.current = true;
2073
+ }
2074
+
2075
+ // If value is cleared (becomes undefined), call resetData
2076
+ if (newValue === undefined || newValue === null) {
2077
+ if (resetData) {
2078
+ // Store current options before calling resetData to detect when they update
2079
+ prevOptionsBeforeResetRef.current = options;
2080
+ setIsResettingData(true);
2081
+ resetDataCalledRef.current = true;
2082
+ resetDataCalledTimeRef.current = Date.now();
2083
+ resetData();
2084
+ }
2085
+ }
2086
+ onChange == null || onChange(newValue);
2087
+ }, [onChange, resetData, options]);
2088
+
2089
+ // Handle onChange for multi select - detect clear and call resetData
2090
+ const handleMultiSelectChange = (0, _react.useCallback)(newValue => {
2091
+ // Mark as interacted if value changed from initial
2092
+ const initialValue = initialTempValueRef.current;
2093
+ const hasChanged = Array.isArray(newValue) && Array.isArray(initialValue) ? newValue.length !== initialValue.length || !newValue.every(v => initialValue.includes(v)) || !initialValue.every(v => newValue.includes(v)) : newValue !== initialValue;
2094
+ if (hasChanged) {
2095
+ hasInteractedRef.current = true;
2096
+ }
2097
+ // If value is cleared (becomes empty array or undefined), call resetData
2098
+ if (newValue === undefined || newValue === null || Array.isArray(newValue) && newValue.length === 0) {
2099
+ if (resetData) {
2100
+ // Store current options before calling resetData to detect when they update
2101
+ prevOptionsBeforeResetRef.current = options;
2102
+ setIsResettingData(true);
2103
+ resetDataCalledRef.current = true;
2104
+ resetDataCalledTimeRef.current = Date.now();
2105
+ resetData();
2106
+ }
2107
+ }
2108
+ setTempValue(newValue);
2109
+ }, [resetData, options]);
2110
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_CapRow.default, {
2111
+ className: className,
2112
+ children: [renderHeader, /*#__PURE__*/(0, _jsxRuntime.jsx)(_antdV.TreeSelect, _extends({
2113
+ treeData: filteredTree,
2114
+ value: customPopupRender ? tempValue : value,
2115
+ treeNodeLabelProp: "label",
2116
+ onChange: isMulti ? handleMultiSelectChange : handleSingleSelectChange,
2117
+ placeholder: placeholder,
2118
+ showSearch: false,
2119
+ maxTagCount: 0,
2120
+ maxTagPlaceholder: () => null,
2121
+ prefix: prefix || undefined,
2122
+ suffixIcon: suffix,
2123
+ className: (0, _classnames.default)(_styles.default['cap-unified-select-container'], combinedClassName),
2124
+ classNames: {
2125
+ popup: {
2126
+ root: _styles.default['cap-unified-select-popup']
2127
+ }
2128
+ },
2129
+ style: style,
2130
+ status: isError ? 'error' : '',
2131
+ allowClear: allowClear,
2132
+ multiple: isMulti,
2133
+ treeCheckable: isMulti,
2134
+ treeCheckStrictly: false,
2135
+ showCheckedStrategy: _antdV.TreeSelect.SHOW_CHILD,
2136
+ open: dropdownOpen,
2137
+ onOpenChange: handleDropdownVisibilityChange,
2138
+ virtual: !enableVirtualization,
2139
+ popupMatchSelectWidth: false,
2140
+ disabled: disabled,
2141
+ filterTreeNode: false,
2142
+ listHeight: 256,
2143
+ listItemHeight: virtualRowHeight,
2144
+ popupRender: renderCustomDropdown
2145
+ }, rest)), isError && /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapLabel.default, {
2146
+ className: _styles.default['cap-unified-select-status'],
2147
+ children: errorMessage
2148
+ })]
2149
+ });
2150
+ };
2151
+ var _default = exports["default"] = CapUnifiedSelect;
2152
+
2153
+ /***/ }),
2154
+
2155
+ /***/ 5499:
2156
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
2157
+
2158
+ "use strict";
2159
+
2160
+
2161
+ exports.__esModule = true;
2162
+ exports["default"] = void 0;
2163
+ var _antdV = __webpack_require__(4273);
2164
+ var _classnames = _interopRequireDefault(__webpack_require__(6942));
2165
+ var _react = _interopRequireDefault(__webpack_require__(9206));
2166
+ var _styles = _interopRequireDefault(__webpack_require__(7144));
2167
+ var _jsxRuntime = __webpack_require__(4848);
2168
+ const _excluded = ["title", "children", "placement", "open", "defaultOpen", "trigger", "destroyTooltipOnHide", "mouseEnterDelay", "mouseLeaveDelay", "overlayClassName", "overlayStyle", "onOpenChange", "align", "arrowPointAtCenter", "autoAdjustOverflow", "getPopupContainer", "className"];
2169
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
2170
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
2171
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
2172
+ const CapTooltip = _ref => {
2173
+ let {
2174
+ title,
2175
+ children,
2176
+ placement = 'top',
2177
+ open,
2178
+ defaultOpen = false,
2179
+ trigger = 'hover',
2180
+ destroyTooltipOnHide = false,
2181
+ mouseEnterDelay = 0.1,
2182
+ mouseLeaveDelay = 0.1,
2183
+ overlayClassName = '',
2184
+ overlayStyle,
2185
+ onOpenChange,
2186
+ align,
2187
+ arrowPointAtCenter = false,
2188
+ autoAdjustOverflow = true,
2189
+ getPopupContainer,
2190
+ className = ''
2191
+ } = _ref,
2192
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded);
2193
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
2194
+ className: _styles.default['cap-tooltip-wrapper'],
2195
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_antdV.Tooltip, _extends({
2196
+ title: title,
2197
+ placement: placement,
2198
+ open: open,
2199
+ defaultOpen: defaultOpen,
2200
+ trigger: trigger,
2201
+ destroyTooltipOnHide: destroyTooltipOnHide,
2202
+ mouseEnterDelay: mouseEnterDelay,
2203
+ mouseLeaveDelay: mouseLeaveDelay,
2204
+ overlayClassName: (0, _classnames.default)(_styles.default['cap-tooltip-overlay-v2'], overlayClassName),
2205
+ overlayStyle: overlayStyle,
2206
+ onOpenChange: onOpenChange,
2207
+ align: align,
2208
+ arrow: {
2209
+ pointAtCenter: arrowPointAtCenter
2210
+ },
2211
+ autoAdjustOverflow: autoAdjustOverflow,
2212
+ getPopupContainer: getPopupContainer,
2213
+ className: (0, _classnames.default)(_styles.default['cap-tooltip-v2'], className)
2214
+ }, rest, {
2215
+ children: children
2216
+ }))
2217
+ });
2218
+ };
2219
+ var _default = exports["default"] = CapTooltip;
2220
+
2221
+ /***/ }),
2222
+
2223
+ /***/ 5595:
2224
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
2225
+
2226
+ "use strict";
2227
+
2228
+
2229
+ exports.__esModule = true;
2230
+ exports["default"] = void 0;
2231
+ var AntdIcons = _interopRequireWildcard(__webpack_require__(4627));
2232
+ var _classnames = _interopRequireDefault(__webpack_require__(6942));
2233
+ var _react = _interopRequireDefault(__webpack_require__(9206));
2234
+ var _styles = _interopRequireDefault(__webpack_require__(6426));
2235
+ var _jsxRuntime = __webpack_require__(4848);
2236
+ const _excluded = ["type", "size", "style", "className", "disabled", "spin", "rotate", "withBackground", "backgroundProps", "onClick", "textLabel", "component", "svgProps", "allowSvg", "color"],
2237
+ _excluded2 = ["className"];
2238
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
2239
+ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
2240
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
2241
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
2242
+ // Special mappings for common icon names
2243
+ const iconMapping = {
2244
+ add: 'plus'
2245
+ };
2246
+ const getSvgIcon = function (type, svgProps) {
2247
+ if (svgProps === void 0) {
2248
+ svgProps = {};
2249
+ }
2250
+ const icons = {
2251
+ // Add your SVG icons here if needed
2252
+ };
2253
+ const IconComponent = type ? icons[type] : null;
2254
+ return IconComponent ? /*#__PURE__*/(0, _jsxRuntime.jsx)(IconComponent, _extends({}, svgProps)) : null;
2255
+ };
2256
+ const getAntIcon = type => {
2257
+ if (!type) return null;
2258
+ // Use mapped name if available, otherwise use original type
2259
+ const mappedType = iconMapping[type.toLowerCase()] || type;
2260
+
2261
+ // Convert kebab-case to PascalCase for Ant Design icon naming
2262
+ const pascalCase = mappedType.split('-').map(part => part.charAt(0).toUpperCase() + part.slice(1)).join('');
2263
+
2264
+ // Try different naming conventions
2265
+ const iconName = pascalCase + "Outlined";
2266
+ const iconNameFilled = pascalCase + "Filled";
2267
+ const iconNameTwoTone = pascalCase + "TwoTone";
2268
+ const iconsRecord = AntdIcons;
2269
+ return iconsRecord[iconName] || iconsRecord[iconNameFilled] || iconsRecord[iconNameTwoTone] || null;
2270
+ };
2271
+ const CapIcon = _ref => {
2272
+ let {
2273
+ type,
2274
+ size = 'm',
2275
+ style = {},
2276
+ className = '',
2277
+ disabled = false,
2278
+ spin = false,
2279
+ rotate,
2280
+ withBackground = false,
2281
+ backgroundProps = {},
2282
+ onClick,
2283
+ textLabel,
2284
+ component,
2285
+ svgProps = {},
2286
+ allowSvg = true,
2287
+ color
2288
+ } = _ref,
2289
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded);
2290
+ const handleClick = e => {
2291
+ if (!disabled && onClick) {
2292
+ onClick(e);
2293
+ }
2294
+ };
2295
+
2296
+ // Render custom component if provided
2297
+ if (component) {
2298
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)("span", _extends({
2299
+ className: (0, _classnames.default)(_styles.default['cap-icon-wrapper'], _styles.default['cap-icon'], _styles.default[size], {
2300
+ [_styles.default['with-text-label']]: textLabel,
2301
+ [_styles.default.disabled]: disabled
2302
+ }, className),
2303
+ style: style,
2304
+ onClick: handleClick
2305
+ }, rest, {
2306
+ children: [component, textLabel]
2307
+ }));
2308
+ }
2309
+
2310
+ // Try to get SVG icon if allowSvg is true
2311
+ const svgIcon = allowSvg && type ? getSvgIcon(type, svgProps) : null;
2312
+
2313
+ // If SVG icon exists and allowSvg is true, use it
2314
+ if (svgIcon) {
2315
+ const iconStyle = _extends({}, style, {
2316
+ transform: rotate ? "rotate(" + rotate + "deg)" : undefined
2317
+ }, color ? {
2318
+ color
2319
+ } : {});
2320
+ const iconComponent = /*#__PURE__*/(0, _jsxRuntime.jsxs)("span", _extends({
2321
+ className: (0, _classnames.default)(_styles.default['cap-icon-wrapper'], _styles.default['cap-icon'], _styles.default[size], {
2322
+ [_styles.default.spin]: spin,
2323
+ [_styles.default.disabled]: disabled,
2324
+ [_styles.default['with-text-label']]: textLabel
2325
+ }, className),
2326
+ style: iconStyle,
2327
+ onClick: handleClick
2328
+ }, rest, {
2329
+ children: [svgIcon, textLabel]
2330
+ }));
2331
+ return withBackground ? /*#__PURE__*/(0, _jsxRuntime.jsx)("span", _extends({
2332
+ className: (0, _classnames.default)(_styles.default['cap-icon-background-wrapper'], _styles.default[size])
2333
+ }, backgroundProps, {
2334
+ children: iconComponent
2335
+ })) : iconComponent;
2336
+ }
2337
+
2338
+ // Try to get Ant Design icon
2339
+ const AntIcon = type ? getAntIcon(type) : null;
2340
+ if (AntIcon) {
2341
+ const iconStyle = color ? _extends({
2342
+ color
2343
+ }, style) : style;
2344
+ const iconComponent = /*#__PURE__*/(0, _jsxRuntime.jsxs)("span", _extends({
2345
+ className: (0, _classnames.default)(_styles.default['cap-icon-wrapper'], _styles.default['cap-icon'], _styles.default[size], {
2346
+ [_styles.default.disabled]: disabled,
2347
+ [_styles.default['with-text-label']]: textLabel
2348
+ }, className),
2349
+ style: iconStyle,
2350
+ onClick: handleClick
2351
+ }, rest, {
2352
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(AntIcon, {
2353
+ spin: spin,
2354
+ rotate: rotate,
2355
+ style: color ? {
2356
+ color
2357
+ } : undefined
2358
+ }), textLabel]
2359
+ }));
2360
+ return withBackground ? /*#__PURE__*/(0, _jsxRuntime.jsx)("span", _extends({
2361
+ className: (0, _classnames.default)(_styles.default['cap-icon-background-wrapper'], _styles.default[size])
2362
+ }, backgroundProps, {
2363
+ children: iconComponent
2364
+ })) : iconComponent;
2365
+ }
2366
+
2367
+ // Fallback: render an empty icon container
2368
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)("span", _extends({
2369
+ className: (0, _classnames.default)(_styles.default['cap-icon-wrapper'], _styles.default['cap-icon'], _styles.default[size], {
2370
+ [_styles.default.disabled]: disabled,
2371
+ [_styles.default['with-text-label']]: textLabel
2372
+ }, className),
2373
+ style: style,
2374
+ onClick: handleClick
2375
+ }, rest, {
2376
+ children: textLabel
2377
+ }));
2378
+ };
2379
+
2380
+ // Create AntIcon subcomponent for backward compatibility
2381
+
2382
+ const AntIcon = _ref2 => {
2383
+ let {
2384
+ className
2385
+ } = _ref2,
2386
+ rest = _objectWithoutPropertiesLoose(_ref2, _excluded2);
2387
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)("i", _extends({
2388
+ className: (0, _classnames.default)(_styles.default['cap-icon-ant-icon'], className),
2389
+ style: {
2390
+ display: 'inline-flex',
2391
+ alignItems: 'center',
2392
+ justifyContent: 'center'
2393
+ }
2394
+ }, rest));
2395
+ };
2396
+
2397
+ // Extend the component type to include the static property
2398
+
2399
+ const CapIconWithStatic = CapIcon;
2400
+ CapIconWithStatic.AntIcon = AntIcon;
2401
+ var _default = exports["default"] = CapIconWithStatic;
2402
+
2403
+ /***/ }),
2404
+
2405
+ /***/ 5636:
2406
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
2407
+
2408
+ "use strict";
2409
+
2410
+
2411
+ exports.__esModule = true;
2412
+ exports["default"] = void 0;
2413
+ var _CapTooltip = _interopRequireDefault(__webpack_require__(5499));
2414
+ exports["default"] = _CapTooltip.default;
2415
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
2416
+
2417
+ /***/ }),
2418
+
2419
+ /***/ 5765:
2420
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2421
+
2422
+ "use strict";
2423
+ __webpack_require__.r(__webpack_exports__);
2424
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
2425
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
2426
+ /* harmony export */ });
2427
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5072);
2428
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
2429
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_singletonStyleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4284);
2430
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_singletonStyleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_singletonStyleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
2431
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7659);
2432
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
2433
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(5056);
2434
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
2435
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(540);
2436
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
2437
+ /* harmony import */ var _node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_styles_scss__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(1858);
2438
+ /* harmony import */ var _node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_styles_scss__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_styles_scss__WEBPACK_IMPORTED_MODULE_5__);
2439
+ /* harmony reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};
2440
+ /* harmony reexport (unknown) */ for(const __WEBPACK_IMPORT_KEY__ in _node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_styles_scss__WEBPACK_IMPORTED_MODULE_5__) if(__WEBPACK_IMPORT_KEY__ !== "default") __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = () => _node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_styles_scss__WEBPACK_IMPORTED_MODULE_5__[__WEBPACK_IMPORT_KEY__]
2441
+ /* harmony reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
2442
+
2443
+
2444
+
2445
+
2446
+
2447
+
2448
+
2449
+
2450
+
2451
+
2452
+
2453
+ var options = {};
2454
+
2455
+ ;
2456
+ options.setAttributes = (_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());
2457
+ options.insert = _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
2458
+ options.domAPI = (_node_modules_style_loader_dist_runtime_singletonStyleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
2459
+ options.insertStyleElement = (_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());
2460
+
2461
+ var update = _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()((_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_styles_scss__WEBPACK_IMPORTED_MODULE_5___default()), options);
2462
+
2463
+
2464
+
2465
+
2466
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_styles_scss__WEBPACK_IMPORTED_MODULE_5___default()) && (_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_styles_scss__WEBPACK_IMPORTED_MODULE_5___default().locals) ? (_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_styles_scss__WEBPACK_IMPORTED_MODULE_5___default().locals) : undefined);
2467
+
2468
+
2469
+ /***/ }),
2470
+
2471
+ /***/ 6314:
2472
+ /***/ ((module) => {
2473
+
2474
+ "use strict";
2475
+
2476
+
2477
+ /*
2478
+ MIT License http://www.opensource.org/licenses/mit-license.php
2479
+ Author Tobias Koppers @sokra
2480
+ */
2481
+ module.exports = function (cssWithMappingToString) {
2482
+ var list = [];
2483
+
2484
+ // return the list of modules as css string
2485
+ list.toString = function toString() {
2486
+ return this.map(function (item) {
2487
+ var content = "";
2488
+ var needLayer = typeof item[5] !== "undefined";
2489
+ if (item[4]) {
2490
+ content += "@supports (".concat(item[4], ") {");
2491
+ }
2492
+ if (item[2]) {
2493
+ content += "@media ".concat(item[2], " {");
2494
+ }
2495
+ if (needLayer) {
2496
+ content += "@layer".concat(item[5].length > 0 ? " ".concat(item[5]) : "", " {");
2497
+ }
2498
+ content += cssWithMappingToString(item);
2499
+ if (needLayer) {
2500
+ content += "}";
2501
+ }
2502
+ if (item[2]) {
2503
+ content += "}";
2504
+ }
2505
+ if (item[4]) {
2506
+ content += "}";
2507
+ }
2508
+ return content;
2509
+ }).join("");
2510
+ };
2511
+
2512
+ // import a list of modules into the list
2513
+ list.i = function i(modules, media, dedupe, supports, layer) {
2514
+ if (typeof modules === "string") {
2515
+ modules = [[null, modules, undefined]];
2516
+ }
2517
+ var alreadyImportedModules = {};
2518
+ if (dedupe) {
2519
+ for (var k = 0; k < this.length; k++) {
2520
+ var id = this[k][0];
2521
+ if (id != null) {
2522
+ alreadyImportedModules[id] = true;
2523
+ }
2524
+ }
2525
+ }
2526
+ for (var _k = 0; _k < modules.length; _k++) {
2527
+ var item = [].concat(modules[_k]);
2528
+ if (dedupe && alreadyImportedModules[item[0]]) {
2529
+ continue;
2530
+ }
2531
+ if (typeof layer !== "undefined") {
2532
+ if (typeof item[5] === "undefined") {
2533
+ item[5] = layer;
2534
+ } else {
2535
+ item[1] = "@layer".concat(item[5].length > 0 ? " ".concat(item[5]) : "", " {").concat(item[1], "}");
2536
+ item[5] = layer;
2537
+ }
2538
+ }
2539
+ if (media) {
2540
+ if (!item[2]) {
2541
+ item[2] = media;
2542
+ } else {
2543
+ item[1] = "@media ".concat(item[2], " {").concat(item[1], "}");
2544
+ item[2] = media;
2545
+ }
2546
+ }
2547
+ if (supports) {
2548
+ if (!item[4]) {
2549
+ item[4] = "".concat(supports);
2550
+ } else {
2551
+ item[1] = "@supports (".concat(item[4], ") {").concat(item[1], "}");
2552
+ item[4] = supports;
2553
+ }
2554
+ }
2555
+ list.push(item);
2556
+ }
2557
+ };
2558
+ return list;
2559
+ };
2560
+
2561
+ /***/ }),
2562
+
2563
+ /***/ 6426:
2564
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2565
+
2566
+ "use strict";
2567
+ __webpack_require__.r(__webpack_exports__);
2568
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
2569
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
2570
+ /* harmony export */ });
2571
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5072);
2572
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
2573
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_singletonStyleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4284);
2574
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_singletonStyleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_singletonStyleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
2575
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7659);
2576
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
2577
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(5056);
2578
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
2579
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(540);
2580
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
2581
+ /* harmony import */ var _node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_styles_scss__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(6599);
2582
+ /* harmony import */ var _node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_styles_scss__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_styles_scss__WEBPACK_IMPORTED_MODULE_5__);
2583
+ /* harmony reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};
2584
+ /* harmony reexport (unknown) */ for(const __WEBPACK_IMPORT_KEY__ in _node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_styles_scss__WEBPACK_IMPORTED_MODULE_5__) if(__WEBPACK_IMPORT_KEY__ !== "default") __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = () => _node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_styles_scss__WEBPACK_IMPORTED_MODULE_5__[__WEBPACK_IMPORT_KEY__]
2585
+ /* harmony reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
2586
+
2587
+
2588
+
2589
+
2590
+
2591
+
2592
+
2593
+
2594
+
2595
+
2596
+
2597
+ var options = {};
2598
+
2599
+ ;
2600
+ options.setAttributes = (_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());
2601
+ options.insert = _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
2602
+ options.domAPI = (_node_modules_style_loader_dist_runtime_singletonStyleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
2603
+ options.insertStyleElement = (_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());
2604
+
2605
+ var update = _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()((_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_styles_scss__WEBPACK_IMPORTED_MODULE_5___default()), options);
2606
+
2607
+
2608
+
2609
+
2610
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_styles_scss__WEBPACK_IMPORTED_MODULE_5___default()) && (_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_styles_scss__WEBPACK_IMPORTED_MODULE_5___default().locals) ? (_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_styles_scss__WEBPACK_IMPORTED_MODULE_5___default().locals) : undefined);
2611
+
2612
+
2613
+ /***/ }),
2614
+
2615
+ /***/ 6599:
2616
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2617
+
2618
+ // Imports
2619
+ var ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ = __webpack_require__(1601);
2620
+ var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(6314);
2621
+ var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
2622
+ // Module
2623
+ ___CSS_LOADER_EXPORT___.push([module.id, `.blaze-ui-cap-icon-wrapper{display:inline-flex;align-items:center;justify-content:center}.blaze-ui-cap-icon-wrapper.blaze-ui-disabled{cursor:not-allowed;opacity:.5}.blaze-ui-cap-icon-wrapper.blaze-ui-xs{font-size:.857rem;width:.857rem;height:.857rem}.blaze-ui-cap-icon-wrapper.blaze-ui-s{font-size:1.143rem;width:1.143rem;height:1.143rem}.blaze-ui-cap-icon-wrapper.blaze-ui-m{font-size:1.714rem;width:1.714rem;height:1.714rem}.blaze-ui-cap-icon-wrapper.blaze-ui-l{font-size:2.286rem;width:2.286rem;height:2.286rem}.blaze-ui-cap-icon-wrapper.blaze-ui-with-text-label{display:inline-flex;align-items:center;gap:.571rem}.blaze-ui-cap-icon-background-wrapper{display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background-color:#f4f5f7;width:2.571rem;height:2.571rem}.blaze-ui-cap-icon-background-wrapper.blaze-ui-xs{width:1.429rem;height:1.429rem}.blaze-ui-cap-icon-background-wrapper.blaze-ui-s{width:1.714rem;height:1.714rem}.blaze-ui-cap-icon-background-wrapper.blaze-ui-l{width:3.429rem;height:3.429rem}.blaze-ui-cap-icon{display:inline-flex;align-items:center}.blaze-ui-cap-icon .blaze-ui-anticon{display:flex;align-items:center;justify-content:center}.blaze-ui-cap-icon.blaze-ui-spin{animation:blaze-ui-rotate 2s linear infinite}@keyframes blaze-ui-rotate{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}`, ""]);
2624
+ // Exports
2625
+ ___CSS_LOADER_EXPORT___.locals = {
2626
+ "cap-icon-wrapper": `blaze-ui-cap-icon-wrapper`,
2627
+ "disabled": `blaze-ui-disabled`,
2628
+ "xs": `blaze-ui-xs`,
2629
+ "s": `blaze-ui-s`,
2630
+ "m": `blaze-ui-m`,
2631
+ "l": `blaze-ui-l`,
2632
+ "with-text-label": `blaze-ui-with-text-label`,
2633
+ "cap-icon-background-wrapper": `blaze-ui-cap-icon-background-wrapper`,
2634
+ "cap-icon": `blaze-ui-cap-icon`,
2635
+ "anticon": `blaze-ui-anticon`,
2636
+ "spin": `blaze-ui-spin`,
2637
+ "rotate": `blaze-ui-rotate`
2638
+ };
2639
+ module.exports = ___CSS_LOADER_EXPORT___;
2640
+
2641
+
2642
+ /***/ }),
2643
+
2644
+ /***/ 6942:
2645
+ /***/ ((module, exports) => {
2646
+
2647
+ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
2648
+ Copyright (c) 2018 Jed Watson.
2649
+ Licensed under the MIT License (MIT), see
2650
+ http://jedwatson.github.io/classnames
2651
+ */
2652
+ /* global define */
2653
+
2654
+ (function () {
2655
+ 'use strict';
2656
+
2657
+ var hasOwn = {}.hasOwnProperty;
2658
+
2659
+ function classNames () {
2660
+ var classes = '';
2661
+
2662
+ for (var i = 0; i < arguments.length; i++) {
2663
+ var arg = arguments[i];
2664
+ if (arg) {
2665
+ classes = appendClass(classes, parseValue(arg));
2666
+ }
2667
+ }
2668
+
2669
+ return classes;
2670
+ }
2671
+
2672
+ function parseValue (arg) {
2673
+ if (typeof arg === 'string' || typeof arg === 'number') {
2674
+ return arg;
2675
+ }
2676
+
2677
+ if (typeof arg !== 'object') {
2678
+ return '';
2679
+ }
2680
+
2681
+ if (Array.isArray(arg)) {
2682
+ return classNames.apply(null, arg);
2683
+ }
2684
+
2685
+ if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {
2686
+ return arg.toString();
2687
+ }
2688
+
2689
+ var classes = '';
2690
+
2691
+ for (var key in arg) {
2692
+ if (hasOwn.call(arg, key) && arg[key]) {
2693
+ classes = appendClass(classes, key);
2694
+ }
2695
+ }
2696
+
2697
+ return classes;
2698
+ }
2699
+
2700
+ function appendClass (value, newClass) {
2701
+ if (!newClass) {
2702
+ return value;
2703
+ }
2704
+
2705
+ if (value) {
2706
+ return value + ' ' + newClass;
2707
+ }
2708
+
2709
+ return value + newClass;
2710
+ }
2711
+
2712
+ if ( true && module.exports) {
2713
+ classNames.default = classNames;
2714
+ module.exports = classNames;
2715
+ } else if (true) {
2716
+ // register as 'classnames', consistent with npm package name
2717
+ !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function () {
2718
+ return classNames;
2719
+ }).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),
2720
+ __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
2721
+ } else // removed by dead control flow
2722
+ {}
2723
+ }());
2724
+
2725
+
2726
+ /***/ }),
2727
+
2728
+ /***/ 7144:
2729
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2730
+
2731
+ "use strict";
2732
+ __webpack_require__.r(__webpack_exports__);
2733
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
2734
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
2735
+ /* harmony export */ });
2736
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5072);
2737
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
2738
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_singletonStyleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4284);
2739
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_singletonStyleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_singletonStyleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
2740
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7659);
2741
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
2742
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(5056);
2743
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
2744
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(540);
2745
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
2746
+ /* harmony import */ var _node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_styles_scss__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(2119);
2747
+ /* harmony import */ var _node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_styles_scss__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_styles_scss__WEBPACK_IMPORTED_MODULE_5__);
2748
+ /* harmony reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};
2749
+ /* harmony reexport (unknown) */ for(const __WEBPACK_IMPORT_KEY__ in _node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_styles_scss__WEBPACK_IMPORTED_MODULE_5__) if(__WEBPACK_IMPORT_KEY__ !== "default") __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = () => _node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_styles_scss__WEBPACK_IMPORTED_MODULE_5__[__WEBPACK_IMPORT_KEY__]
2750
+ /* harmony reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
2751
+
2752
+
2753
+
2754
+
2755
+
2756
+
2757
+
2758
+
2759
+
2760
+
2761
+
2762
+ var options = {};
2763
+
2764
+ ;
2765
+ options.setAttributes = (_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());
2766
+ options.insert = _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
2767
+ options.domAPI = (_node_modules_style_loader_dist_runtime_singletonStyleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
2768
+ options.insertStyleElement = (_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());
2769
+
2770
+ var update = _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()((_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_styles_scss__WEBPACK_IMPORTED_MODULE_5___default()), options);
2771
+
2772
+
2773
+
2774
+
2775
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_styles_scss__WEBPACK_IMPORTED_MODULE_5___default()) && (_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_styles_scss__WEBPACK_IMPORTED_MODULE_5___default().locals) ? (_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_styles_scss__WEBPACK_IMPORTED_MODULE_5___default().locals) : undefined);
2776
+
2777
+
2778
+ /***/ }),
2779
+
2780
+ /***/ 7375:
2781
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
2782
+
2783
+ "use strict";
2784
+
2785
+
2786
+ exports.__esModule = true;
2787
+ exports["default"] = void 0;
2788
+ var _CapRow = _interopRequireDefault(__webpack_require__(3837));
2789
+ exports["default"] = _CapRow.default;
2790
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
2791
+
2792
+ /***/ }),
2793
+
2794
+ /***/ 7579:
2795
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
2796
+
2797
+ "use strict";
2798
+
2799
+
2800
+ exports.__esModule = true;
2801
+ exports["default"] = void 0;
2802
+ var _antdV = __webpack_require__(4273);
2803
+ var _react = _interopRequireDefault(__webpack_require__(9206));
2804
+ var _jsxRuntime = __webpack_require__(4848);
2805
+ const _excluded = ["className"];
2806
+ /**
2807
+ * CapSpin - Migrated to Ant Design v5
2808
+ */
2809
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
2810
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
2811
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
2812
+ const CapSpin = _ref => {
2813
+ let {
2814
+ className
2815
+ } = _ref,
2816
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded);
2817
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_antdV.Spin, _extends({
2818
+ className: className
2819
+ }, rest));
2820
+ };
2821
+ var _default = exports["default"] = CapSpin;
2822
+
2823
+ /***/ }),
2824
+
2825
+ /***/ 7659:
2826
+ /***/ ((module) => {
2827
+
2828
+ "use strict";
2829
+
2830
+
2831
+ var memo = {};
2832
+
2833
+ /* istanbul ignore next */
2834
+ function getTarget(target) {
2835
+ if (typeof memo[target] === "undefined") {
2836
+ var styleTarget = document.querySelector(target);
2837
+
2838
+ // Special case to return head of iframe instead of iframe itself
2839
+ if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {
2840
+ try {
2841
+ // This will throw an exception if access to iframe is blocked
2842
+ // due to cross-origin restrictions
2843
+ styleTarget = styleTarget.contentDocument.head;
2844
+ } catch (e) {
2845
+ // istanbul ignore next
2846
+ styleTarget = null;
2847
+ }
2848
+ }
2849
+ memo[target] = styleTarget;
2850
+ }
2851
+ return memo[target];
2852
+ }
2853
+
2854
+ /* istanbul ignore next */
2855
+ function insertBySelector(insert, style) {
2856
+ var target = getTarget(insert);
2857
+ if (!target) {
2858
+ throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");
2859
+ }
2860
+ target.appendChild(style);
2861
+ }
2862
+ module.exports = insertBySelector;
2863
+
2864
+ /***/ }),
2865
+
2866
+ /***/ 8244:
2867
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
2868
+
2869
+ "use strict";
2870
+
2871
+
2872
+ exports.__esModule = true;
2873
+ exports["default"] = void 0;
2874
+ var _CapIcon = _interopRequireDefault(__webpack_require__(5595));
2875
+ exports["default"] = _CapIcon.default;
2876
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
2877
+
2878
+ /***/ }),
2879
+
2880
+ /***/ 8263:
2881
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2882
+
2883
+ "use strict";
2884
+ __webpack_require__.r(__webpack_exports__);
2885
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
2886
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
2887
+ /* harmony export */ });
2888
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5072);
2889
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
2890
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_singletonStyleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4284);
2891
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_singletonStyleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_singletonStyleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
2892
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7659);
2893
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
2894
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(5056);
2895
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
2896
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(540);
2897
+ /* harmony import */ var _node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
2898
+ /* harmony import */ var _node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_styles_scss__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(9604);
2899
+ /* harmony import */ var _node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_styles_scss__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_styles_scss__WEBPACK_IMPORTED_MODULE_5__);
2900
+ /* harmony reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};
2901
+ /* harmony reexport (unknown) */ for(const __WEBPACK_IMPORT_KEY__ in _node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_styles_scss__WEBPACK_IMPORTED_MODULE_5__) if(__WEBPACK_IMPORT_KEY__ !== "default") __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = () => _node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_styles_scss__WEBPACK_IMPORTED_MODULE_5__[__WEBPACK_IMPORT_KEY__]
2902
+ /* harmony reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
2903
+
2904
+
2905
+
2906
+
2907
+
2908
+
2909
+
2910
+
2911
+
2912
+
2913
+
2914
+ var options = {};
2915
+
2916
+ ;
2917
+ options.setAttributes = (_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());
2918
+ options.insert = _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
2919
+ options.domAPI = (_node_modules_style_loader_dist_runtime_singletonStyleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
2920
+ options.insertStyleElement = (_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());
2921
+
2922
+ var update = _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()((_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_styles_scss__WEBPACK_IMPORTED_MODULE_5___default()), options);
2923
+
2924
+
2925
+
2926
+
2927
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_styles_scss__WEBPACK_IMPORTED_MODULE_5___default()) && (_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_styles_scss__WEBPACK_IMPORTED_MODULE_5___default().locals) ? (_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_1_use_1_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_1_use_2_styles_scss__WEBPACK_IMPORTED_MODULE_5___default().locals) : undefined);
2928
+
2929
+
2930
+ /***/ }),
2931
+
2932
+ /***/ 9206:
2933
+ /***/ ((module) => {
2934
+
2935
+ "use strict";
2936
+ module.exports = require("react");
2937
+
2938
+ /***/ }),
2939
+
2940
+ /***/ 9604:
2941
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
2942
+
2943
+ // Imports
2944
+ var ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ = __webpack_require__(1601);
2945
+ var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(6314);
2946
+ var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
2947
+ // Module
2948
+ ___CSS_LOADER_EXPORT___.push([module.id, `.blaze-ui-cap-unified-select-header-wrapper{display:flex;align-items:center}.blaze-ui-cap-unified-select-header-wrapper.blaze-ui-disabled{opacity:.5;cursor:not-allowed}.blaze-ui-cap-unified-select-header-wrapper .blaze-ui-cap-unified-select-header-label{font-family:"Roboto",sans-serif;font-weight:500;font-size:1rem;line-height:1.429rem;letter-spacing:0}.blaze-ui-cap-unified-select-header-byline-text{font-family:"Roboto",sans-serif;font-weight:400;font-size:.857rem;letter-spacing:0;color:#97a0af}.blaze-ui-cap-unified-select-container{text-align:justify;min-width:13.786rem}.blaze-ui-cap-unified-select-container.blaze-ui-disabled{cursor:not-allowed}.blaze-ui-cap-unified-select-container.ant-select-focused .ant-select-selector{border:.071rem solid #091e42 !important}.blaze-ui-cap-unified-select-container .blaze-ui-cap-unified-select-more-text{cursor:pointer;color:#091e42;margin-right:.286rem;position:relative}.blaze-ui-cap-unified-select-container .blaze-ui-cap-unified-select-suffix-icon{color:#7a869a}.blaze-ui-cap-unified-select-container .blaze-ui-cap-tooltip-with-info-icon{margin-top:.143rem}.blaze-ui-cap-unified-select-container.blaze-ui-cap-unified-tree-select.blaze-ui-cap-unified-tree-select-readonly{pointer-events:none}.blaze-ui-cap-unified-select-container.blaze-ui-cap-unified-tree-select.blaze-ui-cap-unified-tree-select-readonly .blaze-ui-cap-unified-select-more-text{pointer-events:auto}.blaze-ui-cap-unified-select-container.blaze-ui-cap-unified-tree-select .ant-select-tree-treenode{padding-left:.286rem}.blaze-ui-cap-unified-select-container.blaze-ui-cap-unified-tree-select-readonly .ant-select-selector{background-color:#fff;border-color:#ebecf0 !important;cursor:default}.blaze-ui-cap-unified-select-container.blaze-ui-cap-unified-tree-select-readonly .ant-select-arrow{pointer-events:auto;color:#b3bac5}.blaze-ui-cap-unified-select-container.blaze-ui-cap-unified-tree-select-readonly.ant-select-outlined:hover .ant-select-selector,.blaze-ui-cap-unified-select-container.blaze-ui-cap-unified-tree-select-readonly.ant-select-outlined:active .ant-select-selector,.blaze-ui-cap-unified-select-container.blaze-ui-cap-unified-tree-select-readonly.ant-select-outlined:focus .ant-select-selector{border-color:#ebecf0 !important}.blaze-ui-cap-unified-select-container .blaze-ui-cap-unified-select-status{color:#ea213a}.blaze-ui-cap-unified-select-container .ant-select-outlined:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer):hover .ant-select-selector{border-color:#7a869a}.blaze-ui-cap-unified-select-container .ant-select-selector{background-color:#fff !important;border:.071rem solid #7a869a !important;border-radius:.286rem !important}.blaze-ui-cap-unified-select-container .ant-select-selector .ant-select-selection-placeholder{pointer-events:unset;color:#97a0af;display:flex;align-items:center}.blaze-ui-cap-unified-select-container .ant-select-prefix{font-size:1rem;font-weight:400;color:#091e42;line-height:1.429rem}.blaze-ui-cap-unified-select-container .ant-input-affix-wrapper .ant-input-prefix{left:.857rem}.blaze-ui-cap-unified-select-container .ant-select-selector{border-color:#7a869a !important;box-shadow:none !important;outline:0}.blaze-ui-cap-unified-select-container .ant-btn-variant-solid:not(:disabled):not(.ant-btn-disabled):hover{background-color:#47af46}.blaze-ui-cap-unified-select-container .ant-select-dropdown{margin-top:-0.571rem !important;border-radius:.286rem;background-color:#fff;box-shadow:0 .286rem .571rem -0.143rem rgba(9,30,66,.15),0 0 .071rem 0 rgba(9,30,66,.1);max-height:25.714rem;overflow:visible}.blaze-ui-cap-unified-select-container .ant-select-outlined.ant-select-multiple .ant-select-selection-wrap .ant-select-selection-item{background:rgba(0,0,0,0)}.blaze-ui-cap-unified-select-container .ant-select-multiple .ant-select-selection-wrap .ant-select-selection-item,.blaze-ui-cap-unified-select-container .ant-select-selection-wrap .ant-select-selection-item{background:rgba(0,0,0,0)}.blaze-ui-cap-unified-select-container .ant-select-multiple .ant-select-selection-wrap{align-self:center}.blaze-ui-cap-unified-select-popup .blaze-ui-cap-unified-select-search-container{border-bottom:.071rem solid #ebecf0 !important;line-height:2.857rem !important}.blaze-ui-cap-unified-select-popup .blaze-ui-cap-unified-select-search-container .blaze-ui-cap-unified-select-search-icon{color:#b3bac5}.blaze-ui-cap-unified-select-popup .blaze-ui-cap-unified-select-select-all-container{padding:.643rem 1.071rem;display:flex;align-items:center;border-bottom:.071rem solid #ebecf0;height:2.857rem}.blaze-ui-cap-unified-select-popup .blaze-ui-cap-unified-select-select-all-container .blaze-ui-cap-unified-select-select-all-checkbox{display:contents !important}.blaze-ui-cap-unified-select-popup .blaze-ui-cap-unified-select-upload-container{cursor:pointer;display:flex;align-items:center;border-bottom:.071rem solid #ebecf0;height:2.857rem;padding-left:1.143rem}.blaze-ui-cap-unified-select-popup .blaze-ui-cap-unified-select-upload-container .blaze-ui-cap-unified-select-upload-icon{color:#2466ea}.blaze-ui-cap-unified-select-popup .blaze-ui-cap-unified-select-upload-container .blaze-ui-cap-unified-select-upload-label{margin-left:.857rem;color:#2466ea}.blaze-ui-cap-unified-select-popup .blaze-ui-cap-unified-select-confirm-container{display:flex;align-items:center;height:3.429rem;padding:.5rem;border-top:.071rem solid #ebecf0}.blaze-ui-cap-unified-select-popup .blaze-ui-cap-unified-select-confirm-container .blaze-ui-cap-unified-select-confirm-button-group{display:flex;padding-left:.571rem;align-items:center;width:100%}.blaze-ui-cap-unified-select-popup .blaze-ui-cap-unified-select-confirm-container .blaze-ui-cap-unified-select-confirm-button-group .blaze-ui-cap-unified-select-confirm-button{background-color:#47af46;height:2.286rem;width:6.714rem;color:#fff}.blaze-ui-cap-unified-select-popup .blaze-ui-cap-unified-select-confirm-container .blaze-ui-cap-unified-select-confirm-button-group .blaze-ui-cap-unified-select-confirm-button:hover{background-color:#1f9a1d}.blaze-ui-cap-unified-select-popup .blaze-ui-cap-unified-select-confirm-container .blaze-ui-cap-unified-select-confirm-button-group .blaze-ui-cap-unified-select-confirm-button:disabled{background-color:#a1d8a0}.blaze-ui-cap-unified-select-popup .blaze-ui-cap-unified-select-confirm-container .blaze-ui-cap-unified-select-confirm-button-group .blaze-ui-cap-unified-select-cancel-button{border:rgba(0,0,0,0);box-shadow:none;width:5.714rem}.blaze-ui-cap-unified-select-popup .blaze-ui-cap-unified-select-confirm-container .blaze-ui-cap-unified-select-confirm-button-group .blaze-ui-cap-unified-select-selected-count{display:flex;margin-left:auto;font-size:.857rem;font-weight:400;line-height:1.143rem;color:#5e6c84}.blaze-ui-cap-unified-select-popup .blaze-ui-cap-unified-select-tree-clear-container{display:flex;justify-content:center;align-items:center;height:2.857rem;border-top:.071rem solid #ebecf0;cursor:pointer;color:#091e42}.blaze-ui-cap-unified-select-popup .blaze-ui-cap-unified-select-tree-clear-container:hover{background-color:#ebecf0}.blaze-ui-cap-unified-select-popup .blaze-ui-cap-unified-select-tree-clear-container .blaze-ui-cap-unified-select-tree-clear-label{font-size:1rem;font-weight:400}.blaze-ui-cap-unified-select-popup .blaze-ui-cap-unified-select-footer-download-container{cursor:pointer;display:flex;align-items:center;margin-left:auto;padding-right:1.143rem}.blaze-ui-cap-unified-select-popup .blaze-ui-cap-unified-select-footer-download-container:hover{opacity:.8}.blaze-ui-cap-unified-select-popup .blaze-ui-cap-unified-select-footer-download-container .blaze-ui-cap-unified-select-footer-download-icon{color:#2466ea}.blaze-ui-cap-unified-select-popup .blaze-ui-cap-unified-select-footer-download-container .blaze-ui-cap-unified-select-footer-download-label{margin-left:.857rem;color:#2466ea;font-family:Roboto,sans-serif;font-weight:400;font-style:normal;font-size:.857rem;line-height:1.143rem;letter-spacing:0;text-align:right}.blaze-ui-cap-unified-select-popup .blaze-ui-cap-unified-select-no-result{display:flex;flex-direction:column;align-items:center;justify-content:center;height:14.286rem;color:#97a0af;font-size:1rem}.blaze-ui-cap-unified-select-popup .blaze-ui-cap-unified-select-no-result .blaze-ui-cap-unified-select-no-result-text{font-weight:500}.blaze-ui-cap-unified-select-popup .blaze-ui-cap-unified-select-loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;height:14.286rem;width:100%;gap:8px}.blaze-ui-cap-unified-select-popup .blaze-ui-cap-unified-select-loading-more{display:flex;align-items:center;justify-content:center;padding:.857rem;border-top:.071rem solid #ebecf0;color:#97a0af}.blaze-ui-cap-unified-select-popup .blaze-ui-cap-unified-select-menu-wrapper{position:relative;width:100%}.blaze-ui-cap-unified-select-popup .blaze-ui-cap-unified-select-loading-overlay{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;flex-direction:column;align-items:center;justify-content:center;background-color:rgba(255,255,255,.8);z-index:10;gap:8px;color:#97a0af}.blaze-ui-cap-unified-select-popup .blaze-ui-cap-unified-select-option-with-suffix{display:flex;justify-content:space-between;align-items:center;width:100%;height:100%;line-height:1.5;vertical-align:middle;flex:1}.blaze-ui-cap-unified-select-popup .blaze-ui-cap-unified-select-option-with-suffix .blaze-ui-cap-unified-select-option-label{display:flex;align-items:center;flex-shrink:1;min-width:0}.blaze-ui-cap-unified-select-popup .blaze-ui-cap-unified-select-option-with-suffix .blaze-ui-cap-unified-select-option-end{display:flex;align-items:center;gap:.571rem;flex-shrink:0;margin-left:auto}.blaze-ui-cap-unified-select-popup .blaze-ui-cap-unified-select-option-with-suffix .blaze-ui-cap-unified-select-option-suffix{display:flex;align-items:center;padding:0 .571rem;max-height:1.429rem;white-space:nowrap}.blaze-ui-cap-unified-select-popup .blaze-ui-cap-unified-select-option-with-suffix .blaze-ui-cap-tooltip-with-info .blaze-ui-cap-tooltip-with-info-icon{margin-top:.357rem;color:#42526e}.blaze-ui-cap-unified-select-popup .blaze-ui-cap-unified-select-option-with-suffix .blaze-ui-cap-tooltip-with-info .blaze-ui-cap-tooltip-with-info-icon .blaze-ui-cap-icon{color:#42526e}.blaze-ui-cap-unified-select-popup .ant-select-dropdown .ant-select-dropdown-menu{margin-top:0 !important}.blaze-ui-cap-unified-select-popup .ant-select-dropdown .ant-select-dropdown-menu .ant-select-dropdown-menu-item{padding:.571rem 1.714rem !important;height:unset !important;font-size:1rem !important}.blaze-ui-cap-unified-select-popup .ant-select-dropdown .ant-select-dropdown-menu-item-disabled{color:rgba(0,0,0,.25) !important;cursor:not-allowed !important;line-height:1.428rem !important;font-size:1rem !important}.blaze-ui-cap-unified-select-popup .ant-select-tree .ant-select-tree-node-content-wrapper{background-color:rgba(0,0,0,0);height:100%;display:flex;align-items:center}.blaze-ui-cap-unified-select-popup .ant-select-tree .ant-select-tree-node-content-wrapper:hover{background-color:rgba(0,0,0,0)}.blaze-ui-cap-unified-select-popup .ant-select-tree .ant-select-tree-treenode{height:2.857rem;margin-bottom:0;display:flex;align-items:center;width:100%}.blaze-ui-cap-unified-select-popup .ant-select-tree .ant-select-tree-treenode:hover{background-color:#fffbe6}.blaze-ui-cap-unified-select-popup .ant-select-tree .ant-select-tree-node-selected{background-color:#f4f5f7 !important}.blaze-ui-cap-unified-select-popup .ant-select-tree .ant-select-tree-treenode-disabled{cursor:not-allowed !important}.blaze-ui-cap-unified-select-popup .ant-select-tree .ant-select-tree-treenode-disabled .blaze-ui-cap-unified-select-option-label{color:#b3bac5}.blaze-ui-cap-unified-select-popup .ant-select-tree .ant-select-tree-treenode-disabled .blaze-ui-cap-icon{color:#b3bac5 !important}.blaze-ui-cap-unified-select-popup .ant-select-tree .ant-select-tree-treenode.ant-select-tree-treenode-selected{background-color:#f4f5f7}.blaze-ui-cap-unified-select-popup .ant-select-tree .ant-select-tree-treenode-leaf .ant-select-tree-switcher-noop{display:none}.blaze-ui-cap-unified-select-popup .ant-select-tree .ant-select-tree-checkbox{display:flex;align-items:center;justify-content:center;line-height:1;vertical-align:middle}.blaze-ui-cap-unified-select-popup .ant-select-tree .ant-select-tree-checkbox .ant-select-tree-checkbox-inner{height:1.286rem;width:1.286rem;border:.143rem solid #b3bac5;border-radius:.286rem;display:flex;align-items:center;justify-content:center}.blaze-ui-cap-unified-select-popup .ant-select-tree .ant-select-tree-checkbox-checked .ant-select-tree-checkbox-inner{background-color:#47af46;border:.143rem solid #47af46 !important}.blaze-ui-cap-unified-select-popup .ant-select-tree .ant-select-tree-checkbox-checked .ant-select-tree-checkbox-inner:hover{background-color:#47af46;border:.143rem solid #47af46 !important}.blaze-ui-cap-unified-select-popup .ant-select-tree .ant-select-tree-checkbox.ant-select-tree-checkbox-indeterminate .ant-select-tree-checkbox-inner{background-color:#47af46 !important;border-color:#47af46 !important}.blaze-ui-cap-unified-select-popup .ant-select-tree .ant-select-tree-checkbox.ant-select-tree-checkbox-indeterminate .ant-select-tree-checkbox-inner::after{content:"";position:absolute;top:50%;left:50%;width:.714rem;height:.143rem;background-color:#fff;transform:translate(-50%, -50%);border-radius:.071rem}.blaze-ui-cap-unified-select-popup .ant-select-tree .ant-select-tree-node-content-wrapper{border-radius:0;padding-left:.214rem;width:100%;display:flex;align-items:center}.blaze-ui-cap-unified-select-popup .ant-select-tree .ant-select-tree-node-content-wrapper .ant-select-tree-title{width:100%;display:flex}.blaze-ui-cap-unified-select-popup .ant-select-tree .ant-select-tree-indent{margin-left:.857rem;display:flex;align-items:center}.blaze-ui-cap-unified-select-popup .ant-select-tree .ant-select-tree-switcher{display:flex;align-items:center;justify-content:center}.blaze-ui-cap-unified-select-popup .ant-select-tree .ant-select-tree-switcher:not(.ant-select-tree-switcher-noop):hover:before{background-color:rgba(0,0,0,0)}.blaze-ui-cap-unified-select-popup .ant-select-tree .ant-select-tree-switcher .ant-select-tree-switcher-icon{font-size:.857rem;margin-top:1.286rem}.blaze-ui-cap-unified-select-popup .ant-select-tree .ant-select-tree-list-holder-inner{width:fit-content !important;min-width:100%}.blaze-ui-cap-unified-select-popup .ant-tree-select:hover .ant-select-selector{border-color:#7a869a}.blaze-ui-cap-unified-select-popup .ant-tree-select-focused .ant-select-selector,.blaze-ui-cap-unified-select-popup .ant-tree-select-open .ant-select-selector{border-color:#7a869a;box-shadow:none;outline:none}.blaze-ui-cap-unified-select-popup .ant-checkbox-inner{height:1.286rem;width:1.286rem;border:.143rem solid #b3bac5;border-radius:.286rem}.blaze-ui-cap-unified-select-popup .ant-checkbox-wrapper:not(.ant-checkbox-wrapper-disabled):hover .ant-checkbox-checked:not(.ant-checkbox-disabled) .ant-checkbox-inner{background-color:#47af46;border:.143rem solid #47af46 !important}.blaze-ui-cap-unified-select-popup .ant-checkbox-indeterminate .ant-checkbox-inner{background-color:#47af46 !important;border-color:#47af46 !important}.blaze-ui-cap-unified-select-popup .ant-checkbox-indeterminate .ant-checkbox-inner::after{content:"";position:absolute;top:50%;left:50%;width:.714rem;height:.143rem;background-color:#fff;transform:translate(-50%, -50%);border-radius:.071rem}.blaze-ui-cap-unified-select-popup .ant-input-affix-wrapper{padding-left:.571rem;border:none;box-shadow:none;border-radius:0;border-bottom:.071rem solid rgba(0,0,0,0);transition:border-color .2s ease}.blaze-ui-cap-unified-select-popup .ant-input-affix-wrapper:hover{border-bottom:.071rem solid #7a869a !important;box-shadow:none}.blaze-ui-cap-unified-select-popup .ant-input-affix-wrapper:focus-within{border-bottom:.071rem solid #091e42 !important;box-shadow:none;outline:none}.blaze-ui-cap-unified-select-popup .ant-input-affix-wrapper .ant-input{border:none !important;box-shadow:none !important}`, ""]);
2949
+ // Exports
2950
+ ___CSS_LOADER_EXPORT___.locals = {
2951
+ "cap-unified-select-header-wrapper": `blaze-ui-cap-unified-select-header-wrapper`,
2952
+ "disabled": `blaze-ui-disabled`,
2953
+ "cap-unified-select-header-label": `blaze-ui-cap-unified-select-header-label`,
2954
+ "cap-unified-select-header-byline-text": `blaze-ui-cap-unified-select-header-byline-text`,
2955
+ "cap-unified-select-container": `blaze-ui-cap-unified-select-container`,
2956
+ "cap-unified-select-more-text": `blaze-ui-cap-unified-select-more-text`,
2957
+ "cap-unified-select-suffix-icon": `blaze-ui-cap-unified-select-suffix-icon`,
2958
+ "cap-tooltip-with-info-icon": `blaze-ui-cap-tooltip-with-info-icon`,
2959
+ "cap-unified-tree-select": `blaze-ui-cap-unified-tree-select`,
2960
+ "cap-unified-tree-select-readonly": `blaze-ui-cap-unified-tree-select-readonly`,
2961
+ "cap-unified-select-status": `blaze-ui-cap-unified-select-status`,
2962
+ "cap-unified-select-popup": `blaze-ui-cap-unified-select-popup`,
2963
+ "cap-unified-select-search-container": `blaze-ui-cap-unified-select-search-container`,
2964
+ "cap-unified-select-search-icon": `blaze-ui-cap-unified-select-search-icon`,
2965
+ "cap-unified-select-select-all-container": `blaze-ui-cap-unified-select-select-all-container`,
2966
+ "cap-unified-select-select-all-checkbox": `blaze-ui-cap-unified-select-select-all-checkbox`,
2967
+ "cap-unified-select-upload-container": `blaze-ui-cap-unified-select-upload-container`,
2968
+ "cap-unified-select-upload-icon": `blaze-ui-cap-unified-select-upload-icon`,
2969
+ "cap-unified-select-upload-label": `blaze-ui-cap-unified-select-upload-label`,
2970
+ "cap-unified-select-confirm-container": `blaze-ui-cap-unified-select-confirm-container`,
2971
+ "cap-unified-select-confirm-button-group": `blaze-ui-cap-unified-select-confirm-button-group`,
2972
+ "cap-unified-select-confirm-button": `blaze-ui-cap-unified-select-confirm-button`,
2973
+ "cap-unified-select-cancel-button": `blaze-ui-cap-unified-select-cancel-button`,
2974
+ "cap-unified-select-selected-count": `blaze-ui-cap-unified-select-selected-count`,
2975
+ "cap-unified-select-tree-clear-container": `blaze-ui-cap-unified-select-tree-clear-container`,
2976
+ "cap-unified-select-tree-clear-label": `blaze-ui-cap-unified-select-tree-clear-label`,
2977
+ "cap-unified-select-footer-download-container": `blaze-ui-cap-unified-select-footer-download-container`,
2978
+ "cap-unified-select-footer-download-icon": `blaze-ui-cap-unified-select-footer-download-icon`,
2979
+ "cap-unified-select-footer-download-label": `blaze-ui-cap-unified-select-footer-download-label`,
2980
+ "cap-unified-select-no-result": `blaze-ui-cap-unified-select-no-result`,
2981
+ "cap-unified-select-no-result-text": `blaze-ui-cap-unified-select-no-result-text`,
2982
+ "cap-unified-select-loading-container": `blaze-ui-cap-unified-select-loading-container`,
2983
+ "cap-unified-select-loading-more": `blaze-ui-cap-unified-select-loading-more`,
2984
+ "cap-unified-select-menu-wrapper": `blaze-ui-cap-unified-select-menu-wrapper`,
2985
+ "cap-unified-select-loading-overlay": `blaze-ui-cap-unified-select-loading-overlay`,
2986
+ "cap-unified-select-option-with-suffix": `blaze-ui-cap-unified-select-option-with-suffix`,
2987
+ "cap-unified-select-option-label": `blaze-ui-cap-unified-select-option-label`,
2988
+ "cap-unified-select-option-end": `blaze-ui-cap-unified-select-option-end`,
2989
+ "cap-unified-select-option-suffix": `blaze-ui-cap-unified-select-option-suffix`,
2990
+ "cap-tooltip-with-info": `blaze-ui-cap-tooltip-with-info`,
2991
+ "cap-icon": `blaze-ui-cap-icon`
2992
+ };
2993
+ module.exports = ___CSS_LOADER_EXPORT___;
2994
+
2995
+
2996
+ /***/ })
2997
+
2998
+ /******/ });
2999
+ /************************************************************************/
3000
+ /******/ // The module cache
3001
+ /******/ var __webpack_module_cache__ = {};
3002
+ /******/
3003
+ /******/ // The require function
3004
+ /******/ function __webpack_require__(moduleId) {
3005
+ /******/ // Check if module is in cache
3006
+ /******/ var cachedModule = __webpack_module_cache__[moduleId];
3007
+ /******/ if (cachedModule !== undefined) {
3008
+ /******/ return cachedModule.exports;
3009
+ /******/ }
3010
+ /******/ // Create a new module (and put it into the cache)
3011
+ /******/ var module = __webpack_module_cache__[moduleId] = {
3012
+ /******/ id: moduleId,
3013
+ /******/ // no module.loaded needed
3014
+ /******/ exports: {}
3015
+ /******/ };
3016
+ /******/
3017
+ /******/ // Execute the module function
3018
+ /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
3019
+ /******/
3020
+ /******/ // Return the exports of the module
3021
+ /******/ return module.exports;
3022
+ /******/ }
3023
+ /******/
3024
+ /************************************************************************/
3025
+ /******/ /* webpack/runtime/compat get default export */
3026
+ /******/ (() => {
3027
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
3028
+ /******/ __webpack_require__.n = (module) => {
3029
+ /******/ var getter = module && module.__esModule ?
3030
+ /******/ () => (module['default']) :
3031
+ /******/ () => (module);
3032
+ /******/ __webpack_require__.d(getter, { a: getter });
3033
+ /******/ return getter;
3034
+ /******/ };
3035
+ /******/ })();
3036
+ /******/
3037
+ /******/ /* webpack/runtime/define property getters */
3038
+ /******/ (() => {
3039
+ /******/ // define getter functions for harmony exports
3040
+ /******/ __webpack_require__.d = (exports, definition) => {
3041
+ /******/ for(var key in definition) {
3042
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
3043
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
3044
+ /******/ }
3045
+ /******/ }
3046
+ /******/ };
3047
+ /******/ })();
3048
+ /******/
3049
+ /******/ /* webpack/runtime/hasOwnProperty shorthand */
3050
+ /******/ (() => {
3051
+ /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
3052
+ /******/ })();
3053
+ /******/
3054
+ /******/ /* webpack/runtime/make namespace object */
3055
+ /******/ (() => {
3056
+ /******/ // define __esModule on exports
3057
+ /******/ __webpack_require__.r = (exports) => {
3058
+ /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
3059
+ /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
3060
+ /******/ }
3061
+ /******/ Object.defineProperty(exports, '__esModule', { value: true });
3062
+ /******/ };
3063
+ /******/ })();
3064
+ /******/
3065
+ /******/ /* webpack/runtime/nonce */
3066
+ /******/ (() => {
3067
+ /******/ __webpack_require__.nc = undefined;
3068
+ /******/ })();
3069
+ /******/
3070
+ /************************************************************************/
3071
+ var __webpack_exports__ = {};
3072
+ // This entry needs to be wrapped in an IIFE because it needs to be in strict mode.
3073
+ (() => {
3074
+ "use strict";
3075
+ var exports = __webpack_exports__;
3076
+
3077
+
3078
+ exports.__esModule = true;
3079
+ exports["default"] = void 0;
3080
+ var _CapUnifiedSelect = _interopRequireDefault(__webpack_require__(5353));
3081
+ exports["default"] = _CapUnifiedSelect.default;
3082
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
3083
+ })();
3084
+
3085
+ module.exports = __webpack_exports__;
3086
+ /******/ })()
3087
+ ;
3088
+ //# sourceMappingURL=index.js.map