@capillarytech/blaze-ui 2.8.0 → 2.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/CapImportMFEComponent/CapImportMFEComponent.d.ts +5 -0
- package/dist/CapImportMFEComponent/CapImportMFEComponent.d.ts.map +1 -0
- package/dist/CapImportMFEComponent/CapImportMFEComponent.interfaces.d.ts +12 -0
- package/dist/CapImportMFEComponent/CapImportMFEComponent.interfaces.d.ts.map +1 -0
- package/dist/CapImportMFEComponent/README.md +121 -0
- package/dist/CapImportMFEComponent/index.d.ts +3 -0
- package/dist/CapImportMFEComponent/index.d.ts.map +1 -0
- package/dist/CapImportMFEComponent/index.js +2425 -0
- package/dist/CapImportMFEComponent/index.js.map +1 -0
- package/dist/CapImportMFEComponent/messages.d.ts +16 -0
- package/dist/CapImportMFEComponent/messages.d.ts.map +1 -0
- package/dist/CapImportMFEComponent/tests/CapImportMFEComponent.mockData.d.ts +11 -0
- package/dist/CapImportMFEComponent/tests/CapImportMFEComponent.mockData.d.ts.map +1 -0
- package/dist/CapImportMFEComponent/tests/CapImportMFEComponent.test.d.ts +2 -0
- package/dist/CapImportMFEComponent/tests/CapImportMFEComponent.test.d.ts.map +1 -0
- package/dist/CapSomethingWentWrong/CapSomethingWentWrong.interfaces.d.ts +4 -3
- package/dist/CapSomethingWentWrong/CapSomethingWentWrong.interfaces.d.ts.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +800 -1
- package/dist/index.js.map +1 -1
- package/package.json +7 -1
|
@@ -0,0 +1,2425 @@
|
|
|
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
|
+
/***/ 959:
|
|
22
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
23
|
+
|
|
24
|
+
"use strict";
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
exports.__esModule = true;
|
|
28
|
+
exports["default"] = void 0;
|
|
29
|
+
var _utilities = __webpack_require__(6636);
|
|
30
|
+
var _react = _interopRequireWildcard(__webpack_require__(9206));
|
|
31
|
+
var _reactIntl = __webpack_require__(6407);
|
|
32
|
+
var _CapSkeleton = _interopRequireDefault(__webpack_require__(5798));
|
|
33
|
+
var _CapSomethingWentWrong = _interopRequireDefault(__webpack_require__(9214));
|
|
34
|
+
var _messages = _interopRequireDefault(__webpack_require__(7873));
|
|
35
|
+
var _styles = _interopRequireDefault(__webpack_require__(9873));
|
|
36
|
+
var _jsxRuntime = __webpack_require__(4848);
|
|
37
|
+
const _excluded = ["system", "loadingFallback"];
|
|
38
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
39
|
+
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); }
|
|
40
|
+
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); }
|
|
41
|
+
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; }
|
|
42
|
+
const CapImportMFEComponent = _ref => {
|
|
43
|
+
let {
|
|
44
|
+
system,
|
|
45
|
+
loadingFallback
|
|
46
|
+
} = _ref,
|
|
47
|
+
rest = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
48
|
+
const {
|
|
49
|
+
url,
|
|
50
|
+
scope,
|
|
51
|
+
module
|
|
52
|
+
} = system || {};
|
|
53
|
+
const Component = (0, _react.useMemo)(() => {
|
|
54
|
+
if (!url || !scope || !module) {
|
|
55
|
+
return null;
|
|
56
|
+
}
|
|
57
|
+
return /*#__PURE__*/_react.default.lazy(() => (0, _utilities.importRemote)({
|
|
58
|
+
url,
|
|
59
|
+
scope,
|
|
60
|
+
module
|
|
61
|
+
}));
|
|
62
|
+
}, [url, scope, module]);
|
|
63
|
+
if (!Component) {
|
|
64
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
65
|
+
className: _styles.default['loading-div'],
|
|
66
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapSomethingWentWrong.default, {
|
|
67
|
+
title: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactIntl.FormattedMessage, _extends({}, _messages.default.incorrectSystem)),
|
|
68
|
+
description: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactIntl.FormattedMessage, _extends({}, _messages.default.incorrectSystemDesc))
|
|
69
|
+
})
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_react.default.Suspense, {
|
|
73
|
+
fallback: loadingFallback ? loadingFallback : /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
74
|
+
className: _styles.default['loading-div'],
|
|
75
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
76
|
+
className: _styles.default['loading-title'],
|
|
77
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactIntl.FormattedMessage, _extends({}, _messages.default.loadingFallbackMsg))
|
|
78
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapSkeleton.default, {
|
|
79
|
+
active: true,
|
|
80
|
+
title: true,
|
|
81
|
+
paragraph: {
|
|
82
|
+
rows: 4,
|
|
83
|
+
width: '38.5rem'
|
|
84
|
+
}
|
|
85
|
+
})]
|
|
86
|
+
}),
|
|
87
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(Component, _extends({}, rest))
|
|
88
|
+
});
|
|
89
|
+
};
|
|
90
|
+
var _default = exports["default"] = CapImportMFEComponent;
|
|
91
|
+
|
|
92
|
+
/***/ }),
|
|
93
|
+
|
|
94
|
+
/***/ 1020:
|
|
95
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
96
|
+
|
|
97
|
+
"use strict";
|
|
98
|
+
/**
|
|
99
|
+
* @license React
|
|
100
|
+
* react-jsx-runtime.production.min.js
|
|
101
|
+
*
|
|
102
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
103
|
+
*
|
|
104
|
+
* This source code is licensed under the MIT license found in the
|
|
105
|
+
* LICENSE file in the root directory of this source tree.
|
|
106
|
+
*/
|
|
107
|
+
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};
|
|
108
|
+
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;
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
/***/ }),
|
|
112
|
+
|
|
113
|
+
/***/ 1601:
|
|
114
|
+
/***/ ((module) => {
|
|
115
|
+
|
|
116
|
+
"use strict";
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
module.exports = function (i) {
|
|
120
|
+
return i[1];
|
|
121
|
+
};
|
|
122
|
+
|
|
123
|
+
/***/ }),
|
|
124
|
+
|
|
125
|
+
/***/ 2011:
|
|
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__(5158));
|
|
136
|
+
var _jsxRuntime = __webpack_require__(4848);
|
|
137
|
+
const _excluded = ["className", "src", "alt"];
|
|
138
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
139
|
+
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); }
|
|
140
|
+
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; }
|
|
141
|
+
const clsPrefix = 'cap-image-v2';
|
|
142
|
+
const CapImage = _ref => {
|
|
143
|
+
let {
|
|
144
|
+
className,
|
|
145
|
+
src,
|
|
146
|
+
alt
|
|
147
|
+
} = _ref,
|
|
148
|
+
rest = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
149
|
+
// Only render if src is provided
|
|
150
|
+
if (!src) {
|
|
151
|
+
return null;
|
|
152
|
+
}
|
|
153
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("img", _extends({
|
|
154
|
+
className: (0, _classnames.default)(_styles.default[clsPrefix], className),
|
|
155
|
+
src: src,
|
|
156
|
+
alt: alt
|
|
157
|
+
}, rest));
|
|
158
|
+
};
|
|
159
|
+
var _default = exports["default"] = CapImage;
|
|
160
|
+
|
|
161
|
+
/***/ }),
|
|
162
|
+
|
|
163
|
+
/***/ 2208:
|
|
164
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
165
|
+
|
|
166
|
+
"use strict";
|
|
167
|
+
__webpack_require__.r(__webpack_exports__);
|
|
168
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
169
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
170
|
+
/* harmony export */ });
|
|
171
|
+
/* harmony import */ var _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5072);
|
|
172
|
+
/* 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__);
|
|
173
|
+
/* harmony import */ var _node_modules_style_loader_dist_runtime_singletonStyleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4284);
|
|
174
|
+
/* 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__);
|
|
175
|
+
/* harmony import */ var _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7659);
|
|
176
|
+
/* 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__);
|
|
177
|
+
/* harmony import */ var _node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(5056);
|
|
178
|
+
/* 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__);
|
|
179
|
+
/* harmony import */ var _node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(540);
|
|
180
|
+
/* 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__);
|
|
181
|
+
/* 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__(5269);
|
|
182
|
+
/* 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__);
|
|
183
|
+
/* harmony reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
184
|
+
/* 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__]
|
|
185
|
+
/* harmony reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
var options = {};
|
|
198
|
+
|
|
199
|
+
;
|
|
200
|
+
options.setAttributes = (_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());
|
|
201
|
+
options.insert = _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
|
|
202
|
+
options.domAPI = (_node_modules_style_loader_dist_runtime_singletonStyleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
|
|
203
|
+
options.insertStyleElement = (_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());
|
|
204
|
+
|
|
205
|
+
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);
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
/* 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);
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
/***/ }),
|
|
214
|
+
|
|
215
|
+
/***/ 2531:
|
|
216
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
217
|
+
|
|
218
|
+
"use strict";
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
exports.__esModule = true;
|
|
222
|
+
exports["default"] = void 0;
|
|
223
|
+
var _antdV = __webpack_require__(4273);
|
|
224
|
+
var _classnames = _interopRequireDefault(__webpack_require__(6942));
|
|
225
|
+
var _react = _interopRequireDefault(__webpack_require__(9206));
|
|
226
|
+
var _CapIcon = _interopRequireDefault(__webpack_require__(5595));
|
|
227
|
+
var _styles = _interopRequireDefault(__webpack_require__(6805));
|
|
228
|
+
var _jsxRuntime = __webpack_require__(4848);
|
|
229
|
+
const _excluded = ["className", "children", "type", "isAddBtn", "prefix", "suffix", "icon", "danger"],
|
|
230
|
+
_excluded2 = ["variant"];
|
|
231
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
232
|
+
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); }
|
|
233
|
+
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; }
|
|
234
|
+
const classPrefix = 'cap-button-v2';
|
|
235
|
+
const btnTypeClassMapping = {
|
|
236
|
+
secondary: 'secondary-btn',
|
|
237
|
+
flat: 'flat-btn',
|
|
238
|
+
oval: 'oval-btn'
|
|
239
|
+
};
|
|
240
|
+
const CapButton = /*#__PURE__*/_react.default.forwardRef((_ref, ref) => {
|
|
241
|
+
let {
|
|
242
|
+
className,
|
|
243
|
+
children,
|
|
244
|
+
type = 'primary',
|
|
245
|
+
isAddBtn = false,
|
|
246
|
+
prefix,
|
|
247
|
+
suffix,
|
|
248
|
+
icon,
|
|
249
|
+
danger: dangerProp
|
|
250
|
+
} = _ref,
|
|
251
|
+
rest = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
252
|
+
// Handle icon prop - convert string to CapIcon component
|
|
253
|
+
const iconElement = _react.default.useMemo(() => {
|
|
254
|
+
if (!icon) return undefined;
|
|
255
|
+
if (typeof icon === 'string') {
|
|
256
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapIcon.default, {
|
|
257
|
+
type: icon
|
|
258
|
+
});
|
|
259
|
+
}
|
|
260
|
+
return icon;
|
|
261
|
+
}, [icon]);
|
|
262
|
+
|
|
263
|
+
// Handle danger: if type is 'danger', convert to danger boolean prop
|
|
264
|
+
// According to Ant Design v6 API: danger is a boolean prop, not a type
|
|
265
|
+
const isDanger = dangerProp !== undefined ? dangerProp : type === 'danger';
|
|
266
|
+
|
|
267
|
+
// Handle dashed: In Ant Design v6, 'dashed' can be used as both type and variant
|
|
268
|
+
// When type='dashed' is passed, use it directly as type (Ant Design v6 supports this)
|
|
269
|
+
// When variant='dashed' is passed, use variant='dashed' with type='default'
|
|
270
|
+
const variantFromProps = rest.variant;
|
|
271
|
+
const isDashedFromVariant = variantFromProps === 'dashed';
|
|
272
|
+
|
|
273
|
+
// Determine the variant to use
|
|
274
|
+
// If variant is explicitly passed, use it; otherwise, if type='dashed', don't set variant (let type handle it)
|
|
275
|
+
const variant = variantFromProps !== undefined ? variantFromProps // Use variant from props if provided
|
|
276
|
+
: undefined; // Don't set variant when using type='dashed' - let Ant Design handle it
|
|
277
|
+
|
|
278
|
+
// Determine the button type
|
|
279
|
+
// If type='dashed', pass it directly to Ant Design (it supports type='dashed')
|
|
280
|
+
// If variant='dashed' is passed, use type='default'
|
|
281
|
+
const buttonType = type === 'danger' ? 'primary' // Default danger buttons to primary type
|
|
282
|
+
: isDashedFromVariant ? 'default' // If variant='dashed' is passed, use type='default'
|
|
283
|
+
: type; // Otherwise, pass type as-is (including 'dashed')
|
|
284
|
+
|
|
285
|
+
// Use icon prop if provided, otherwise use prefix
|
|
286
|
+
const effectivePrefix = iconElement || prefix;
|
|
287
|
+
const hasIcon = isAddBtn || suffix || effectivePrefix;
|
|
288
|
+
|
|
289
|
+
// Remove variant from rest to avoid passing it twice
|
|
290
|
+
const restWithoutVariant = _objectWithoutPropertiesLoose(rest, _excluded2);
|
|
291
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_antdV.Button, _extends({
|
|
292
|
+
ref: ref
|
|
293
|
+
}, restWithoutVariant, {
|
|
294
|
+
type: buttonType === 'primary' || buttonType === 'default' || buttonType === 'dashed' || buttonType === 'link' || buttonType === 'text' ? buttonType : undefined,
|
|
295
|
+
variant: variant || undefined,
|
|
296
|
+
danger: isDanger,
|
|
297
|
+
icon: iconElement,
|
|
298
|
+
className: (0, _classnames.default)(_styles.default[classPrefix], btnTypeClassMapping[type] ? _styles.default[btnTypeClassMapping[type]] : undefined, className, {
|
|
299
|
+
[_styles.default['add-btn']]: isAddBtn
|
|
300
|
+
}, {
|
|
301
|
+
[_styles.default['has-icon']]: hasIcon
|
|
302
|
+
}),
|
|
303
|
+
children: [(isAddBtn || prefix) && !iconElement && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
304
|
+
className: _styles.default[classPrefix + "-prefix"],
|
|
305
|
+
children: isAddBtn ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapIcon.default, {
|
|
306
|
+
size: "s",
|
|
307
|
+
type: "add"
|
|
308
|
+
}) : prefix
|
|
309
|
+
}), children, suffix && /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
310
|
+
className: _styles.default[classPrefix + "-suffix"],
|
|
311
|
+
children: suffix
|
|
312
|
+
})]
|
|
313
|
+
}));
|
|
314
|
+
});
|
|
315
|
+
CapButton.displayName = 'CapButton';
|
|
316
|
+
var _default = exports["default"] = CapButton;
|
|
317
|
+
|
|
318
|
+
/***/ }),
|
|
319
|
+
|
|
320
|
+
/***/ 2536:
|
|
321
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
322
|
+
|
|
323
|
+
// Imports
|
|
324
|
+
var ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ = __webpack_require__(1601);
|
|
325
|
+
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(6314);
|
|
326
|
+
var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
|
|
327
|
+
// Module
|
|
328
|
+
___CSS_LOADER_EXPORT___.push([module.id, `.blaze-ui-cap-button-v2{display:inline-flex;align-items:center;justify-content:center;width:fit-content;font-family:"Roboto",sans-serif;font-weight:500;font-size:1rem;padding:0 1.714rem;height:2.857rem;min-width:5.714rem;box-shadow:none;text-shadow:none;transition:all .3s ease}.blaze-ui-cap-button-v2-prefix,.blaze-ui-cap-button-v2-suffix{display:flex;align-items:center;justify-content:center}.blaze-ui-cap-button-v2-prefix+span,span+.blaze-ui-cap-button-v2-suffix{margin-left:.286rem}.blaze-ui-has-icon{display:inline-flex;align-items:center;padding:0 .857rem 0 .571rem}.blaze-ui-secondary-btn{background-color:#ebecf0;border-color:#ebecf0;color:#091e42}.blaze-ui-secondary-btn:hover{background-color:#dfe2e7 !important;border-color:#dfe2e7 !important;color:unset}.blaze-ui-secondary-btn:disabled,.blaze-ui-secondary-btn.ant-btn-disabled{background-color:#f4f5f7;border-color:#f4f5f7;color:#5e6c84;cursor:not-allowed}.blaze-ui-flat-btn{background-color:#fff;border-color:#fff;color:inherit;min-width:auto}.blaze-ui-flat-btn:hover{background-color:#f4f5f7 !important;border-color:#f4f5f7 !important;color:unset}.blaze-ui-flat-btn:disabled,.blaze-ui-flat-btn.ant-btn-disabled{background-color:#fff;border-color:#fff;color:#5e6c84;cursor:not-allowed;opacity:.3}.blaze-ui-add-btn{color:#2466ea}.blaze-ui-add-btn:disabled,.blaze-ui-add-btn.ant-btn-disabled{color:#2466ea}.blaze-ui-oval-btn{background-color:#fafbfc;border-color:#b3bac5;color:#5e6c84;width:6.929rem;height:2.286rem;border-radius:1.143rem;border:.071rem solid #b3bac5}.blaze-ui-oval-btn:hover{background-color:#fafbfc !important;border-color:#b3bac5 !important;color:#091e42 !important}.blaze-ui-oval-btn:disabled,.blaze-ui-oval-btn.ant-btn-disabled{background-color:#fafbfc;border-color:#b3bac5;color:#b3bac5;cursor:not-allowed}`, ""]);
|
|
329
|
+
// Exports
|
|
330
|
+
___CSS_LOADER_EXPORT___.locals = {
|
|
331
|
+
"cap-button-v2": `blaze-ui-cap-button-v2`,
|
|
332
|
+
"cap-button-v2-prefix": `blaze-ui-cap-button-v2-prefix`,
|
|
333
|
+
"cap-button-v2-suffix": `blaze-ui-cap-button-v2-suffix`,
|
|
334
|
+
"has-icon": `blaze-ui-has-icon`,
|
|
335
|
+
"secondary-btn": `blaze-ui-secondary-btn`,
|
|
336
|
+
"flat-btn": `blaze-ui-flat-btn`,
|
|
337
|
+
"add-btn": `blaze-ui-add-btn`,
|
|
338
|
+
"oval-btn": `blaze-ui-oval-btn`
|
|
339
|
+
};
|
|
340
|
+
module.exports = ___CSS_LOADER_EXPORT___;
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
/***/ }),
|
|
344
|
+
|
|
345
|
+
/***/ 2680:
|
|
346
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
347
|
+
|
|
348
|
+
"use strict";
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
exports.__esModule = true;
|
|
352
|
+
exports["default"] = void 0;
|
|
353
|
+
var _react = _interopRequireDefault(__webpack_require__(9206));
|
|
354
|
+
var _jsxRuntime = __webpack_require__(4848);
|
|
355
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
356
|
+
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); }
|
|
357
|
+
const BackIcon = props => /*#__PURE__*/(0, _jsxRuntime.jsx)("svg", _extends({
|
|
358
|
+
width: "1em",
|
|
359
|
+
height: "1em",
|
|
360
|
+
viewBox: "0 0 24 24",
|
|
361
|
+
fill: "currentColor"
|
|
362
|
+
}, props, {
|
|
363
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
364
|
+
d: "M20 12a1 1 0 0 1-1 1H8l4.79 4.79a1.004 1.004 0 1 1-1.42 1.42l-6.503-6.503a1 1 0 0 1 0-1.414L11.37 4.79a1.004 1.004 0 1 1 1.42 1.42L8 11h11a1 1 0 0 1 1 1z",
|
|
365
|
+
id: "Back_svg__a"
|
|
366
|
+
})
|
|
367
|
+
}));
|
|
368
|
+
var _default = exports["default"] = BackIcon;
|
|
369
|
+
|
|
370
|
+
/***/ }),
|
|
371
|
+
|
|
372
|
+
/***/ 3232:
|
|
373
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
374
|
+
|
|
375
|
+
// Imports
|
|
376
|
+
var ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ = __webpack_require__(1601);
|
|
377
|
+
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(6314);
|
|
378
|
+
var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
|
|
379
|
+
// Module
|
|
380
|
+
___CSS_LOADER_EXPORT___.push([module.id, `.blaze-ui-loading-div{max-width:84rem;margin:0 auto;padding:1.428rem}.blaze-ui-loading-title{margin-bottom:.857rem}`, ""]);
|
|
381
|
+
// Exports
|
|
382
|
+
___CSS_LOADER_EXPORT___.locals = {
|
|
383
|
+
"loading-div": `blaze-ui-loading-div`,
|
|
384
|
+
"loading-title": `blaze-ui-loading-title`
|
|
385
|
+
};
|
|
386
|
+
module.exports = ___CSS_LOADER_EXPORT___;
|
|
387
|
+
|
|
388
|
+
|
|
389
|
+
/***/ }),
|
|
390
|
+
|
|
391
|
+
/***/ 3833:
|
|
392
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
393
|
+
|
|
394
|
+
// Imports
|
|
395
|
+
var ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ = __webpack_require__(1601);
|
|
396
|
+
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(6314);
|
|
397
|
+
var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
|
|
398
|
+
// Module
|
|
399
|
+
___CSS_LOADER_EXPORT___.push([module.id, `.blaze-ui-cap-image-v2{background-repeat:no-repeat}`, ""]);
|
|
400
|
+
// Exports
|
|
401
|
+
___CSS_LOADER_EXPORT___.locals = {
|
|
402
|
+
"cap-image-v2": `blaze-ui-cap-image-v2`
|
|
403
|
+
};
|
|
404
|
+
module.exports = ___CSS_LOADER_EXPORT___;
|
|
405
|
+
|
|
406
|
+
|
|
407
|
+
/***/ }),
|
|
408
|
+
|
|
409
|
+
/***/ 4116:
|
|
410
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
411
|
+
|
|
412
|
+
// Imports
|
|
413
|
+
var ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ = __webpack_require__(1601);
|
|
414
|
+
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(6314);
|
|
415
|
+
var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
|
|
416
|
+
// Module
|
|
417
|
+
___CSS_LOADER_EXPORT___.push([module.id, `.blaze-ui-cap-heading{font-family:"Roboto",sans-serif;margin:0;padding:0}.blaze-ui-cap-heading.blaze-ui-h0{font-size:2rem;color:#091e42;font-weight:500;line-height:2.571rem}.blaze-ui-cap-heading.blaze-ui-h1{font-size:1.714rem;color:#091e42;font-weight:500;line-height:2.286rem}.blaze-ui-cap-heading.blaze-ui-h2{font-size:1.429rem;color:#091e42;font-weight:500;line-height:2rem}.blaze-ui-cap-heading.blaze-ui-h3{font-size:1.143rem;color:#091e42;font-weight:500;line-height:1.714rem}.blaze-ui-cap-heading.blaze-ui-h4{font-size:1rem;color:#091e42;font-weight:500;line-height:1.429rem}.blaze-ui-cap-heading.blaze-ui-h5{font-size:1rem;color:#091e42;font-weight:400;line-height:1.429rem}.blaze-ui-cap-heading.blaze-ui-h6{font-size:1rem;color:#5e6c84;font-weight:400;line-height:1.429rem}.blaze-ui-cap-heading.blaze-ui-h7{font-size:1.429rem;color:#5e6c84;font-weight:500;line-height:2rem}.blaze-ui-cap-heading.blaze-ui-h8{font-size:1rem;color:#091e42;font-weight:400;line-height:1.429rem}.blaze-ui-cap-heading.blaze-ui-h9{font-size:1rem;color:#fff;font-weight:500;line-height:1.429rem}.blaze-ui-cap-heading.blaze-ui-h10{font-size:.857rem;color:#091e42;font-weight:500;line-height:1.143rem}.blaze-ui-cap-heading.blaze-ui-label1{font-size:.857rem;color:#5e6c84;font-weight:400;line-height:1.429rem}.blaze-ui-cap-heading.blaze-ui-label2{font-size:.857rem;color:#091e42;font-weight:400;line-height:1.429rem}.blaze-ui-cap-heading.blaze-ui-label3{font-size:.857rem;color:#97a0af;font-weight:400;line-height:1.429rem}.blaze-ui-cap-heading.blaze-ui-label4{font-size:.857rem;color:#5e6c84;font-weight:400;line-height:1.143rem}.blaze-ui-cap-heading.blaze-ui-label5{font-size:1.143rem;color:#5e6c84;font-weight:400;line-height:1.714rem}.blaze-ui-cap-heading.blaze-ui-label6{font-size:1.143rem;color:#091e42;font-weight:400;line-height:1.714rem}.blaze-ui-cap-heading-span{display:inline}`, ""]);
|
|
418
|
+
// Exports
|
|
419
|
+
___CSS_LOADER_EXPORT___.locals = {
|
|
420
|
+
"cap-heading": `blaze-ui-cap-heading`,
|
|
421
|
+
"h0": `blaze-ui-h0`,
|
|
422
|
+
"h1": `blaze-ui-h1`,
|
|
423
|
+
"h2": `blaze-ui-h2`,
|
|
424
|
+
"h3": `blaze-ui-h3`,
|
|
425
|
+
"h4": `blaze-ui-h4`,
|
|
426
|
+
"h5": `blaze-ui-h5`,
|
|
427
|
+
"h6": `blaze-ui-h6`,
|
|
428
|
+
"h7": `blaze-ui-h7`,
|
|
429
|
+
"h8": `blaze-ui-h8`,
|
|
430
|
+
"h9": `blaze-ui-h9`,
|
|
431
|
+
"h10": `blaze-ui-h10`,
|
|
432
|
+
"label1": `blaze-ui-label1`,
|
|
433
|
+
"label2": `blaze-ui-label2`,
|
|
434
|
+
"label3": `blaze-ui-label3`,
|
|
435
|
+
"label4": `blaze-ui-label4`,
|
|
436
|
+
"label5": `blaze-ui-label5`,
|
|
437
|
+
"label6": `blaze-ui-label6`,
|
|
438
|
+
"cap-heading-span": `blaze-ui-cap-heading-span`
|
|
439
|
+
};
|
|
440
|
+
module.exports = ___CSS_LOADER_EXPORT___;
|
|
441
|
+
|
|
442
|
+
|
|
443
|
+
/***/ }),
|
|
444
|
+
|
|
445
|
+
/***/ 4273:
|
|
446
|
+
/***/ ((module) => {
|
|
447
|
+
|
|
448
|
+
"use strict";
|
|
449
|
+
module.exports = require("antd-v5");
|
|
450
|
+
|
|
451
|
+
/***/ }),
|
|
452
|
+
|
|
453
|
+
/***/ 4284:
|
|
454
|
+
/***/ ((module) => {
|
|
455
|
+
|
|
456
|
+
"use strict";
|
|
457
|
+
|
|
458
|
+
|
|
459
|
+
/* istanbul ignore next */
|
|
460
|
+
var replaceText = function replaceText() {
|
|
461
|
+
var textStore = [];
|
|
462
|
+
return function replace(index, replacement) {
|
|
463
|
+
textStore[index] = replacement;
|
|
464
|
+
return textStore.filter(Boolean).join("\n");
|
|
465
|
+
};
|
|
466
|
+
}();
|
|
467
|
+
|
|
468
|
+
/* istanbul ignore next */
|
|
469
|
+
function apply(styleElement, index, remove, obj) {
|
|
470
|
+
var css;
|
|
471
|
+
if (remove) {
|
|
472
|
+
css = "";
|
|
473
|
+
} else {
|
|
474
|
+
css = "";
|
|
475
|
+
if (obj.supports) {
|
|
476
|
+
css += "@supports (".concat(obj.supports, ") {");
|
|
477
|
+
}
|
|
478
|
+
if (obj.media) {
|
|
479
|
+
css += "@media ".concat(obj.media, " {");
|
|
480
|
+
}
|
|
481
|
+
var needLayer = typeof obj.layer !== "undefined";
|
|
482
|
+
if (needLayer) {
|
|
483
|
+
css += "@layer".concat(obj.layer.length > 0 ? " ".concat(obj.layer) : "", " {");
|
|
484
|
+
}
|
|
485
|
+
css += obj.css;
|
|
486
|
+
if (needLayer) {
|
|
487
|
+
css += "}";
|
|
488
|
+
}
|
|
489
|
+
if (obj.media) {
|
|
490
|
+
css += "}";
|
|
491
|
+
}
|
|
492
|
+
if (obj.supports) {
|
|
493
|
+
css += "}";
|
|
494
|
+
}
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
// For old IE
|
|
498
|
+
/* istanbul ignore if */
|
|
499
|
+
if (styleElement.styleSheet) {
|
|
500
|
+
styleElement.styleSheet.cssText = replaceText(index, css);
|
|
501
|
+
} else {
|
|
502
|
+
var cssNode = document.createTextNode(css);
|
|
503
|
+
var childNodes = styleElement.childNodes;
|
|
504
|
+
if (childNodes[index]) {
|
|
505
|
+
styleElement.removeChild(childNodes[index]);
|
|
506
|
+
}
|
|
507
|
+
if (childNodes.length) {
|
|
508
|
+
styleElement.insertBefore(cssNode, childNodes[index]);
|
|
509
|
+
} else {
|
|
510
|
+
styleElement.appendChild(cssNode);
|
|
511
|
+
}
|
|
512
|
+
}
|
|
513
|
+
}
|
|
514
|
+
var singletonData = {
|
|
515
|
+
singleton: null,
|
|
516
|
+
singletonCounter: 0
|
|
517
|
+
};
|
|
518
|
+
|
|
519
|
+
/* istanbul ignore next */
|
|
520
|
+
function domAPI(options) {
|
|
521
|
+
if (typeof document === "undefined") return {
|
|
522
|
+
update: function update() {},
|
|
523
|
+
remove: function remove() {}
|
|
524
|
+
};
|
|
525
|
+
|
|
526
|
+
// eslint-disable-next-line no-undef,no-use-before-define
|
|
527
|
+
var styleIndex = singletonData.singletonCounter++;
|
|
528
|
+
var styleElement =
|
|
529
|
+
// eslint-disable-next-line no-undef,no-use-before-define
|
|
530
|
+
singletonData.singleton || (
|
|
531
|
+
// eslint-disable-next-line no-undef,no-use-before-define
|
|
532
|
+
singletonData.singleton = options.insertStyleElement(options));
|
|
533
|
+
return {
|
|
534
|
+
update: function update(obj) {
|
|
535
|
+
apply(styleElement, styleIndex, false, obj);
|
|
536
|
+
},
|
|
537
|
+
remove: function remove(obj) {
|
|
538
|
+
apply(styleElement, styleIndex, true, obj);
|
|
539
|
+
}
|
|
540
|
+
};
|
|
541
|
+
}
|
|
542
|
+
module.exports = domAPI;
|
|
543
|
+
|
|
544
|
+
/***/ }),
|
|
545
|
+
|
|
546
|
+
/***/ 4483:
|
|
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__(4116);
|
|
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
|
+
/***/ 4627:
|
|
599
|
+
/***/ ((module) => {
|
|
600
|
+
|
|
601
|
+
"use strict";
|
|
602
|
+
module.exports = require("@ant-design-v5/icons");
|
|
603
|
+
|
|
604
|
+
/***/ }),
|
|
605
|
+
|
|
606
|
+
/***/ 4848:
|
|
607
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
608
|
+
|
|
609
|
+
"use strict";
|
|
610
|
+
|
|
611
|
+
|
|
612
|
+
if (true) {
|
|
613
|
+
module.exports = __webpack_require__(1020);
|
|
614
|
+
} else // removed by dead control flow
|
|
615
|
+
{}
|
|
616
|
+
|
|
617
|
+
|
|
618
|
+
/***/ }),
|
|
619
|
+
|
|
620
|
+
/***/ 5056:
|
|
621
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
622
|
+
|
|
623
|
+
"use strict";
|
|
624
|
+
|
|
625
|
+
|
|
626
|
+
/* istanbul ignore next */
|
|
627
|
+
function setAttributesWithoutAttributes(styleElement) {
|
|
628
|
+
var nonce = true ? __webpack_require__.nc : 0;
|
|
629
|
+
if (nonce) {
|
|
630
|
+
styleElement.setAttribute("nonce", nonce);
|
|
631
|
+
}
|
|
632
|
+
}
|
|
633
|
+
module.exports = setAttributesWithoutAttributes;
|
|
634
|
+
|
|
635
|
+
/***/ }),
|
|
636
|
+
|
|
637
|
+
/***/ 5072:
|
|
638
|
+
/***/ ((module) => {
|
|
639
|
+
|
|
640
|
+
"use strict";
|
|
641
|
+
|
|
642
|
+
|
|
643
|
+
var stylesInDOM = [];
|
|
644
|
+
function getIndexByIdentifier(identifier) {
|
|
645
|
+
var result = -1;
|
|
646
|
+
for (var i = 0; i < stylesInDOM.length; i++) {
|
|
647
|
+
if (stylesInDOM[i].identifier === identifier) {
|
|
648
|
+
result = i;
|
|
649
|
+
break;
|
|
650
|
+
}
|
|
651
|
+
}
|
|
652
|
+
return result;
|
|
653
|
+
}
|
|
654
|
+
function modulesToDom(list, options) {
|
|
655
|
+
var idCountMap = {};
|
|
656
|
+
var identifiers = [];
|
|
657
|
+
for (var i = 0; i < list.length; i++) {
|
|
658
|
+
var item = list[i];
|
|
659
|
+
var id = options.base ? item[0] + options.base : item[0];
|
|
660
|
+
var count = idCountMap[id] || 0;
|
|
661
|
+
var identifier = "".concat(id, " ").concat(count);
|
|
662
|
+
idCountMap[id] = count + 1;
|
|
663
|
+
var indexByIdentifier = getIndexByIdentifier(identifier);
|
|
664
|
+
var obj = {
|
|
665
|
+
css: item[1],
|
|
666
|
+
media: item[2],
|
|
667
|
+
sourceMap: item[3],
|
|
668
|
+
supports: item[4],
|
|
669
|
+
layer: item[5]
|
|
670
|
+
};
|
|
671
|
+
if (indexByIdentifier !== -1) {
|
|
672
|
+
stylesInDOM[indexByIdentifier].references++;
|
|
673
|
+
stylesInDOM[indexByIdentifier].updater(obj);
|
|
674
|
+
} else {
|
|
675
|
+
var updater = addElementStyle(obj, options);
|
|
676
|
+
options.byIndex = i;
|
|
677
|
+
stylesInDOM.splice(i, 0, {
|
|
678
|
+
identifier: identifier,
|
|
679
|
+
updater: updater,
|
|
680
|
+
references: 1
|
|
681
|
+
});
|
|
682
|
+
}
|
|
683
|
+
identifiers.push(identifier);
|
|
684
|
+
}
|
|
685
|
+
return identifiers;
|
|
686
|
+
}
|
|
687
|
+
function addElementStyle(obj, options) {
|
|
688
|
+
var api = options.domAPI(options);
|
|
689
|
+
api.update(obj);
|
|
690
|
+
var updater = function updater(newObj) {
|
|
691
|
+
if (newObj) {
|
|
692
|
+
if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap && newObj.supports === obj.supports && newObj.layer === obj.layer) {
|
|
693
|
+
return;
|
|
694
|
+
}
|
|
695
|
+
api.update(obj = newObj);
|
|
696
|
+
} else {
|
|
697
|
+
api.remove();
|
|
698
|
+
}
|
|
699
|
+
};
|
|
700
|
+
return updater;
|
|
701
|
+
}
|
|
702
|
+
module.exports = function (list, options) {
|
|
703
|
+
options = options || {};
|
|
704
|
+
list = list || [];
|
|
705
|
+
var lastIdentifiers = modulesToDom(list, options);
|
|
706
|
+
return function update(newList) {
|
|
707
|
+
newList = newList || [];
|
|
708
|
+
for (var i = 0; i < lastIdentifiers.length; i++) {
|
|
709
|
+
var identifier = lastIdentifiers[i];
|
|
710
|
+
var index = getIndexByIdentifier(identifier);
|
|
711
|
+
stylesInDOM[index].references--;
|
|
712
|
+
}
|
|
713
|
+
var newLastIdentifiers = modulesToDom(newList, options);
|
|
714
|
+
for (var _i = 0; _i < lastIdentifiers.length; _i++) {
|
|
715
|
+
var _identifier = lastIdentifiers[_i];
|
|
716
|
+
var _index = getIndexByIdentifier(_identifier);
|
|
717
|
+
if (stylesInDOM[_index].references === 0) {
|
|
718
|
+
stylesInDOM[_index].updater();
|
|
719
|
+
stylesInDOM.splice(_index, 1);
|
|
720
|
+
}
|
|
721
|
+
}
|
|
722
|
+
lastIdentifiers = newLastIdentifiers;
|
|
723
|
+
};
|
|
724
|
+
};
|
|
725
|
+
|
|
726
|
+
/***/ }),
|
|
727
|
+
|
|
728
|
+
/***/ 5158:
|
|
729
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
730
|
+
|
|
731
|
+
"use strict";
|
|
732
|
+
__webpack_require__.r(__webpack_exports__);
|
|
733
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
734
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
735
|
+
/* harmony export */ });
|
|
736
|
+
/* harmony import */ var _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5072);
|
|
737
|
+
/* 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__);
|
|
738
|
+
/* harmony import */ var _node_modules_style_loader_dist_runtime_singletonStyleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4284);
|
|
739
|
+
/* 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__);
|
|
740
|
+
/* harmony import */ var _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7659);
|
|
741
|
+
/* 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__);
|
|
742
|
+
/* harmony import */ var _node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(5056);
|
|
743
|
+
/* 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__);
|
|
744
|
+
/* harmony import */ var _node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(540);
|
|
745
|
+
/* 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__);
|
|
746
|
+
/* 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__(3833);
|
|
747
|
+
/* 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__);
|
|
748
|
+
/* harmony reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
749
|
+
/* 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__]
|
|
750
|
+
/* harmony reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
|
|
751
|
+
|
|
752
|
+
|
|
753
|
+
|
|
754
|
+
|
|
755
|
+
|
|
756
|
+
|
|
757
|
+
|
|
758
|
+
|
|
759
|
+
|
|
760
|
+
|
|
761
|
+
|
|
762
|
+
var options = {};
|
|
763
|
+
|
|
764
|
+
;
|
|
765
|
+
options.setAttributes = (_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());
|
|
766
|
+
options.insert = _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
|
|
767
|
+
options.domAPI = (_node_modules_style_loader_dist_runtime_singletonStyleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
|
|
768
|
+
options.insertStyleElement = (_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());
|
|
769
|
+
|
|
770
|
+
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);
|
|
771
|
+
|
|
772
|
+
|
|
773
|
+
|
|
774
|
+
|
|
775
|
+
/* 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);
|
|
776
|
+
|
|
777
|
+
|
|
778
|
+
/***/ }),
|
|
779
|
+
|
|
780
|
+
/***/ 5269:
|
|
781
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
782
|
+
|
|
783
|
+
// Imports
|
|
784
|
+
var ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ = __webpack_require__(1601);
|
|
785
|
+
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(6314);
|
|
786
|
+
var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
|
|
787
|
+
// Module
|
|
788
|
+
___CSS_LOADER_EXPORT___.push([module.id, `.blaze-ui-cap-something-went-wrong{display:flex;flex-direction:column;height:100vh;justify-content:center;align-items:center}.blaze-ui-cap-something-went-wrong-button{color:#2466ea}`, ""]);
|
|
789
|
+
// Exports
|
|
790
|
+
___CSS_LOADER_EXPORT___.locals = {
|
|
791
|
+
"cap-something-went-wrong": `blaze-ui-cap-something-went-wrong`,
|
|
792
|
+
"cap-something-went-wrong-button": `blaze-ui-cap-something-went-wrong-button`
|
|
793
|
+
};
|
|
794
|
+
module.exports = ___CSS_LOADER_EXPORT___;
|
|
795
|
+
|
|
796
|
+
|
|
797
|
+
/***/ }),
|
|
798
|
+
|
|
799
|
+
/***/ 5595:
|
|
800
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
801
|
+
|
|
802
|
+
"use strict";
|
|
803
|
+
|
|
804
|
+
|
|
805
|
+
exports.__esModule = true;
|
|
806
|
+
exports["default"] = void 0;
|
|
807
|
+
var AntdIcons = _interopRequireWildcard(__webpack_require__(4627));
|
|
808
|
+
var _classnames = _interopRequireDefault(__webpack_require__(6942));
|
|
809
|
+
var _react = _interopRequireDefault(__webpack_require__(9206));
|
|
810
|
+
var _Icons = __webpack_require__(9319);
|
|
811
|
+
var _styles = _interopRequireDefault(__webpack_require__(6426));
|
|
812
|
+
var _jsxRuntime = __webpack_require__(4848);
|
|
813
|
+
const _excluded = ["type", "size", "style", "className", "disabled", "spin", "rotate", "withBackground", "backgroundProps", "onClick", "textLabel", "component", "svgProps", "allowSvg", "color"],
|
|
814
|
+
_excluded2 = ["className"];
|
|
815
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
816
|
+
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); }
|
|
817
|
+
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; }
|
|
818
|
+
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); }
|
|
819
|
+
// Special mappings for common icon names
|
|
820
|
+
const iconMapping = {
|
|
821
|
+
add: 'plus'
|
|
822
|
+
};
|
|
823
|
+
const getSvgIcon = function (type, svgProps) {
|
|
824
|
+
if (svgProps === void 0) {
|
|
825
|
+
svgProps = {};
|
|
826
|
+
}
|
|
827
|
+
const icons = {
|
|
828
|
+
back: _Icons.BackIcon
|
|
829
|
+
};
|
|
830
|
+
const IconComponent = type ? icons[type] : null;
|
|
831
|
+
return IconComponent ? /*#__PURE__*/(0, _jsxRuntime.jsx)(IconComponent, _extends({}, svgProps)) : null;
|
|
832
|
+
};
|
|
833
|
+
const getAntIcon = type => {
|
|
834
|
+
if (!type) return null;
|
|
835
|
+
// Use mapped name if available, otherwise use original type
|
|
836
|
+
const mappedType = iconMapping[type.toLowerCase()] || type;
|
|
837
|
+
|
|
838
|
+
// Convert kebab-case to PascalCase for Ant Design icon naming
|
|
839
|
+
const pascalCase = mappedType.split('-').map(part => part.charAt(0).toUpperCase() + part.slice(1)).join('');
|
|
840
|
+
|
|
841
|
+
// Try different naming conventions
|
|
842
|
+
const iconName = pascalCase + "Outlined";
|
|
843
|
+
const iconNameFilled = pascalCase + "Filled";
|
|
844
|
+
const iconNameTwoTone = pascalCase + "TwoTone";
|
|
845
|
+
const iconsRecord = AntdIcons;
|
|
846
|
+
return iconsRecord[iconName] || iconsRecord[iconNameFilled] || iconsRecord[iconNameTwoTone] || null;
|
|
847
|
+
};
|
|
848
|
+
const CapIcon = _ref => {
|
|
849
|
+
let {
|
|
850
|
+
type,
|
|
851
|
+
size = 'm',
|
|
852
|
+
style = {},
|
|
853
|
+
className = '',
|
|
854
|
+
disabled = false,
|
|
855
|
+
spin = false,
|
|
856
|
+
rotate,
|
|
857
|
+
withBackground = false,
|
|
858
|
+
backgroundProps = {},
|
|
859
|
+
onClick,
|
|
860
|
+
textLabel,
|
|
861
|
+
component,
|
|
862
|
+
svgProps = {},
|
|
863
|
+
allowSvg = true,
|
|
864
|
+
color
|
|
865
|
+
} = _ref,
|
|
866
|
+
rest = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
867
|
+
const handleClick = e => {
|
|
868
|
+
if (!disabled && onClick) {
|
|
869
|
+
onClick(e);
|
|
870
|
+
}
|
|
871
|
+
};
|
|
872
|
+
|
|
873
|
+
// Render custom component if provided
|
|
874
|
+
if (component) {
|
|
875
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("span", _extends({
|
|
876
|
+
className: (0, _classnames.default)(_styles.default['cap-icon-wrapper'], _styles.default['cap-icon'], _styles.default[size], {
|
|
877
|
+
[_styles.default['with-text-label']]: textLabel,
|
|
878
|
+
[_styles.default.disabled]: disabled
|
|
879
|
+
}, className),
|
|
880
|
+
style: style,
|
|
881
|
+
onClick: handleClick
|
|
882
|
+
}, rest, {
|
|
883
|
+
children: [component, textLabel]
|
|
884
|
+
}));
|
|
885
|
+
}
|
|
886
|
+
|
|
887
|
+
// Try to get SVG icon if allowSvg is true
|
|
888
|
+
const svgIcon = allowSvg && type ? getSvgIcon(type, svgProps) : null;
|
|
889
|
+
|
|
890
|
+
// If SVG icon exists and allowSvg is true, use it
|
|
891
|
+
if (svgIcon) {
|
|
892
|
+
const iconStyle = _extends({}, style, {
|
|
893
|
+
transform: rotate ? "rotate(" + rotate + "deg)" : undefined
|
|
894
|
+
}, color ? {
|
|
895
|
+
color
|
|
896
|
+
} : {});
|
|
897
|
+
const iconComponent = /*#__PURE__*/(0, _jsxRuntime.jsxs)("span", _extends({
|
|
898
|
+
className: (0, _classnames.default)(_styles.default['cap-icon-wrapper'], _styles.default['cap-icon'], _styles.default[size], {
|
|
899
|
+
[_styles.default.spin]: spin,
|
|
900
|
+
[_styles.default.disabled]: disabled,
|
|
901
|
+
[_styles.default['with-text-label']]: textLabel
|
|
902
|
+
}, className),
|
|
903
|
+
style: iconStyle,
|
|
904
|
+
onClick: handleClick
|
|
905
|
+
}, rest, {
|
|
906
|
+
children: [svgIcon, textLabel]
|
|
907
|
+
}));
|
|
908
|
+
return withBackground ? /*#__PURE__*/(0, _jsxRuntime.jsx)("span", _extends({
|
|
909
|
+
className: (0, _classnames.default)(_styles.default['cap-icon-background-wrapper'], _styles.default[size])
|
|
910
|
+
}, backgroundProps, {
|
|
911
|
+
children: iconComponent
|
|
912
|
+
})) : iconComponent;
|
|
913
|
+
}
|
|
914
|
+
|
|
915
|
+
// Try to get Ant Design icon
|
|
916
|
+
const AntIcon = type ? getAntIcon(type) : null;
|
|
917
|
+
if (AntIcon) {
|
|
918
|
+
const iconStyle = color ? _extends({
|
|
919
|
+
color
|
|
920
|
+
}, style) : style;
|
|
921
|
+
const iconComponent = /*#__PURE__*/(0, _jsxRuntime.jsxs)("span", _extends({
|
|
922
|
+
className: (0, _classnames.default)(_styles.default['cap-icon-wrapper'], _styles.default['cap-icon'], _styles.default[size], {
|
|
923
|
+
[_styles.default.disabled]: disabled,
|
|
924
|
+
[_styles.default['with-text-label']]: textLabel
|
|
925
|
+
}, className),
|
|
926
|
+
style: iconStyle,
|
|
927
|
+
onClick: handleClick
|
|
928
|
+
}, rest, {
|
|
929
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(AntIcon, {
|
|
930
|
+
spin: spin,
|
|
931
|
+
rotate: rotate,
|
|
932
|
+
style: color ? {
|
|
933
|
+
color
|
|
934
|
+
} : undefined
|
|
935
|
+
}), textLabel]
|
|
936
|
+
}));
|
|
937
|
+
return withBackground ? /*#__PURE__*/(0, _jsxRuntime.jsx)("span", _extends({
|
|
938
|
+
className: (0, _classnames.default)(_styles.default['cap-icon-background-wrapper'], _styles.default[size])
|
|
939
|
+
}, backgroundProps, {
|
|
940
|
+
children: iconComponent
|
|
941
|
+
})) : iconComponent;
|
|
942
|
+
}
|
|
943
|
+
|
|
944
|
+
// Fallback: render an empty icon container
|
|
945
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("span", _extends({
|
|
946
|
+
className: (0, _classnames.default)(_styles.default['cap-icon-wrapper'], _styles.default['cap-icon'], _styles.default[size], {
|
|
947
|
+
[_styles.default.disabled]: disabled,
|
|
948
|
+
[_styles.default['with-text-label']]: textLabel
|
|
949
|
+
}, className),
|
|
950
|
+
style: style,
|
|
951
|
+
onClick: handleClick
|
|
952
|
+
}, rest, {
|
|
953
|
+
children: textLabel
|
|
954
|
+
}));
|
|
955
|
+
};
|
|
956
|
+
|
|
957
|
+
// Create AntIcon subcomponent for backward compatibility
|
|
958
|
+
|
|
959
|
+
const AntIcon = _ref2 => {
|
|
960
|
+
let {
|
|
961
|
+
className
|
|
962
|
+
} = _ref2,
|
|
963
|
+
rest = _objectWithoutPropertiesLoose(_ref2, _excluded2);
|
|
964
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("i", _extends({
|
|
965
|
+
className: (0, _classnames.default)(_styles.default['cap-icon-ant-icon'], className),
|
|
966
|
+
style: {
|
|
967
|
+
display: 'inline-flex',
|
|
968
|
+
alignItems: 'center',
|
|
969
|
+
justifyContent: 'center'
|
|
970
|
+
}
|
|
971
|
+
}, rest));
|
|
972
|
+
};
|
|
973
|
+
|
|
974
|
+
// Extend the component type to include the static property
|
|
975
|
+
|
|
976
|
+
const CapIconWithStatic = CapIcon;
|
|
977
|
+
CapIconWithStatic.AntIcon = AntIcon;
|
|
978
|
+
var _default = exports["default"] = CapIconWithStatic;
|
|
979
|
+
|
|
980
|
+
/***/ }),
|
|
981
|
+
|
|
982
|
+
/***/ 5798:
|
|
983
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
984
|
+
|
|
985
|
+
"use strict";
|
|
986
|
+
|
|
987
|
+
|
|
988
|
+
exports.__esModule = true;
|
|
989
|
+
exports["default"] = void 0;
|
|
990
|
+
var _CapSkeleton = _interopRequireDefault(__webpack_require__(6075));
|
|
991
|
+
exports["default"] = _CapSkeleton.default;
|
|
992
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
993
|
+
|
|
994
|
+
/***/ }),
|
|
995
|
+
|
|
996
|
+
/***/ 5821:
|
|
997
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
998
|
+
|
|
999
|
+
"use strict";
|
|
1000
|
+
|
|
1001
|
+
|
|
1002
|
+
exports.__esModule = true;
|
|
1003
|
+
exports["default"] = void 0;
|
|
1004
|
+
var _classnames = _interopRequireDefault(__webpack_require__(6942));
|
|
1005
|
+
var _react = _interopRequireDefault(__webpack_require__(9206));
|
|
1006
|
+
var _styles = _interopRequireDefault(__webpack_require__(4483));
|
|
1007
|
+
var _jsxRuntime = __webpack_require__(4848);
|
|
1008
|
+
const _excluded = ["children", "type", "className", "style"],
|
|
1009
|
+
_excluded2 = ["children", "type", "className", "style"];
|
|
1010
|
+
/**
|
|
1011
|
+
* Valid heading types for CapHeading component
|
|
1012
|
+
*/
|
|
1013
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
1014
|
+
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); }
|
|
1015
|
+
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; }
|
|
1016
|
+
const CapHeading = /*#__PURE__*/_react.default.forwardRef((_ref, ref) => {
|
|
1017
|
+
let {
|
|
1018
|
+
children,
|
|
1019
|
+
type = 'h5',
|
|
1020
|
+
className = '',
|
|
1021
|
+
style = {}
|
|
1022
|
+
} = _ref,
|
|
1023
|
+
rest = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
1024
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", _extends({
|
|
1025
|
+
ref: ref,
|
|
1026
|
+
className: (0, _classnames.default)(_styles.default['cap-heading'], _styles.default[type], className),
|
|
1027
|
+
style: style
|
|
1028
|
+
}, rest, {
|
|
1029
|
+
children: children
|
|
1030
|
+
}));
|
|
1031
|
+
});
|
|
1032
|
+
CapHeading.displayName = 'CapHeading';
|
|
1033
|
+
|
|
1034
|
+
/**
|
|
1035
|
+
* Props for the CapHeadingSpan sub-component
|
|
1036
|
+
*/
|
|
1037
|
+
|
|
1038
|
+
const CapHeadingSpan = /*#__PURE__*/_react.default.forwardRef((_ref2, ref) => {
|
|
1039
|
+
let {
|
|
1040
|
+
children,
|
|
1041
|
+
type = 'h5',
|
|
1042
|
+
className = '',
|
|
1043
|
+
style = {}
|
|
1044
|
+
} = _ref2,
|
|
1045
|
+
rest = _objectWithoutPropertiesLoose(_ref2, _excluded2);
|
|
1046
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("span", _extends({
|
|
1047
|
+
ref: ref,
|
|
1048
|
+
className: (0, _classnames.default)(_styles.default['cap-heading'], _styles.default['cap-heading-span'], _styles.default[type], className),
|
|
1049
|
+
style: style
|
|
1050
|
+
}, rest, {
|
|
1051
|
+
children: children
|
|
1052
|
+
}));
|
|
1053
|
+
});
|
|
1054
|
+
CapHeadingSpan.displayName = 'CapHeadingSpan';
|
|
1055
|
+
|
|
1056
|
+
/**
|
|
1057
|
+
* Extended CapHeading component type that includes the static CapHeadingSpan property
|
|
1058
|
+
*/
|
|
1059
|
+
|
|
1060
|
+
const CapHeadingWithStatic = CapHeading;
|
|
1061
|
+
CapHeadingWithStatic.CapHeadingSpan = CapHeadingSpan;
|
|
1062
|
+
var _default = exports["default"] = CapHeadingWithStatic;
|
|
1063
|
+
|
|
1064
|
+
/***/ }),
|
|
1065
|
+
|
|
1066
|
+
/***/ 5842:
|
|
1067
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
1068
|
+
|
|
1069
|
+
"use strict";
|
|
1070
|
+
|
|
1071
|
+
|
|
1072
|
+
exports.__esModule = true;
|
|
1073
|
+
exports["default"] = void 0;
|
|
1074
|
+
var _CapImage = _interopRequireDefault(__webpack_require__(2011));
|
|
1075
|
+
exports["default"] = _CapImage.default;
|
|
1076
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
1077
|
+
|
|
1078
|
+
/***/ }),
|
|
1079
|
+
|
|
1080
|
+
/***/ 6075:
|
|
1081
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
1082
|
+
|
|
1083
|
+
"use strict";
|
|
1084
|
+
|
|
1085
|
+
|
|
1086
|
+
exports.__esModule = true;
|
|
1087
|
+
exports["default"] = void 0;
|
|
1088
|
+
var _antdV = __webpack_require__(4273);
|
|
1089
|
+
var _react = _interopRequireDefault(__webpack_require__(9206));
|
|
1090
|
+
var _jsxRuntime = __webpack_require__(4848);
|
|
1091
|
+
const _excluded = ["className"];
|
|
1092
|
+
/**
|
|
1093
|
+
* CapSkeleton - Migrated to Ant Design v5
|
|
1094
|
+
*/
|
|
1095
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
1096
|
+
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); }
|
|
1097
|
+
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; }
|
|
1098
|
+
const CapSkeleton = _ref => {
|
|
1099
|
+
let {
|
|
1100
|
+
className
|
|
1101
|
+
} = _ref,
|
|
1102
|
+
rest = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
1103
|
+
const combinedClassName = ("cap-skeleton-v2 " + (className || '')).trim();
|
|
1104
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_antdV.Skeleton, _extends({
|
|
1105
|
+
className: combinedClassName
|
|
1106
|
+
}, rest));
|
|
1107
|
+
};
|
|
1108
|
+
var _default = exports["default"] = CapSkeleton;
|
|
1109
|
+
|
|
1110
|
+
/***/ }),
|
|
1111
|
+
|
|
1112
|
+
/***/ 6314:
|
|
1113
|
+
/***/ ((module) => {
|
|
1114
|
+
|
|
1115
|
+
"use strict";
|
|
1116
|
+
|
|
1117
|
+
|
|
1118
|
+
/*
|
|
1119
|
+
MIT License http://www.opensource.org/licenses/mit-license.php
|
|
1120
|
+
Author Tobias Koppers @sokra
|
|
1121
|
+
*/
|
|
1122
|
+
module.exports = function (cssWithMappingToString) {
|
|
1123
|
+
var list = [];
|
|
1124
|
+
|
|
1125
|
+
// return the list of modules as css string
|
|
1126
|
+
list.toString = function toString() {
|
|
1127
|
+
return this.map(function (item) {
|
|
1128
|
+
var content = "";
|
|
1129
|
+
var needLayer = typeof item[5] !== "undefined";
|
|
1130
|
+
if (item[4]) {
|
|
1131
|
+
content += "@supports (".concat(item[4], ") {");
|
|
1132
|
+
}
|
|
1133
|
+
if (item[2]) {
|
|
1134
|
+
content += "@media ".concat(item[2], " {");
|
|
1135
|
+
}
|
|
1136
|
+
if (needLayer) {
|
|
1137
|
+
content += "@layer".concat(item[5].length > 0 ? " ".concat(item[5]) : "", " {");
|
|
1138
|
+
}
|
|
1139
|
+
content += cssWithMappingToString(item);
|
|
1140
|
+
if (needLayer) {
|
|
1141
|
+
content += "}";
|
|
1142
|
+
}
|
|
1143
|
+
if (item[2]) {
|
|
1144
|
+
content += "}";
|
|
1145
|
+
}
|
|
1146
|
+
if (item[4]) {
|
|
1147
|
+
content += "}";
|
|
1148
|
+
}
|
|
1149
|
+
return content;
|
|
1150
|
+
}).join("");
|
|
1151
|
+
};
|
|
1152
|
+
|
|
1153
|
+
// import a list of modules into the list
|
|
1154
|
+
list.i = function i(modules, media, dedupe, supports, layer) {
|
|
1155
|
+
if (typeof modules === "string") {
|
|
1156
|
+
modules = [[null, modules, undefined]];
|
|
1157
|
+
}
|
|
1158
|
+
var alreadyImportedModules = {};
|
|
1159
|
+
if (dedupe) {
|
|
1160
|
+
for (var k = 0; k < this.length; k++) {
|
|
1161
|
+
var id = this[k][0];
|
|
1162
|
+
if (id != null) {
|
|
1163
|
+
alreadyImportedModules[id] = true;
|
|
1164
|
+
}
|
|
1165
|
+
}
|
|
1166
|
+
}
|
|
1167
|
+
for (var _k = 0; _k < modules.length; _k++) {
|
|
1168
|
+
var item = [].concat(modules[_k]);
|
|
1169
|
+
if (dedupe && alreadyImportedModules[item[0]]) {
|
|
1170
|
+
continue;
|
|
1171
|
+
}
|
|
1172
|
+
if (typeof layer !== "undefined") {
|
|
1173
|
+
if (typeof item[5] === "undefined") {
|
|
1174
|
+
item[5] = layer;
|
|
1175
|
+
} else {
|
|
1176
|
+
item[1] = "@layer".concat(item[5].length > 0 ? " ".concat(item[5]) : "", " {").concat(item[1], "}");
|
|
1177
|
+
item[5] = layer;
|
|
1178
|
+
}
|
|
1179
|
+
}
|
|
1180
|
+
if (media) {
|
|
1181
|
+
if (!item[2]) {
|
|
1182
|
+
item[2] = media;
|
|
1183
|
+
} else {
|
|
1184
|
+
item[1] = "@media ".concat(item[2], " {").concat(item[1], "}");
|
|
1185
|
+
item[2] = media;
|
|
1186
|
+
}
|
|
1187
|
+
}
|
|
1188
|
+
if (supports) {
|
|
1189
|
+
if (!item[4]) {
|
|
1190
|
+
item[4] = "".concat(supports);
|
|
1191
|
+
} else {
|
|
1192
|
+
item[1] = "@supports (".concat(item[4], ") {").concat(item[1], "}");
|
|
1193
|
+
item[4] = supports;
|
|
1194
|
+
}
|
|
1195
|
+
}
|
|
1196
|
+
list.push(item);
|
|
1197
|
+
}
|
|
1198
|
+
};
|
|
1199
|
+
return list;
|
|
1200
|
+
};
|
|
1201
|
+
|
|
1202
|
+
/***/ }),
|
|
1203
|
+
|
|
1204
|
+
/***/ 6407:
|
|
1205
|
+
/***/ ((module) => {
|
|
1206
|
+
|
|
1207
|
+
"use strict";
|
|
1208
|
+
module.exports = require("react-intl");
|
|
1209
|
+
|
|
1210
|
+
/***/ }),
|
|
1211
|
+
|
|
1212
|
+
/***/ 6426:
|
|
1213
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
1214
|
+
|
|
1215
|
+
"use strict";
|
|
1216
|
+
__webpack_require__.r(__webpack_exports__);
|
|
1217
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1218
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
1219
|
+
/* harmony export */ });
|
|
1220
|
+
/* harmony import */ var _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5072);
|
|
1221
|
+
/* 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__);
|
|
1222
|
+
/* harmony import */ var _node_modules_style_loader_dist_runtime_singletonStyleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4284);
|
|
1223
|
+
/* 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__);
|
|
1224
|
+
/* harmony import */ var _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7659);
|
|
1225
|
+
/* 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__);
|
|
1226
|
+
/* harmony import */ var _node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(5056);
|
|
1227
|
+
/* 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__);
|
|
1228
|
+
/* harmony import */ var _node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(540);
|
|
1229
|
+
/* 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__);
|
|
1230
|
+
/* 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);
|
|
1231
|
+
/* 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__);
|
|
1232
|
+
/* harmony reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
1233
|
+
/* 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__]
|
|
1234
|
+
/* harmony reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
|
|
1235
|
+
|
|
1236
|
+
|
|
1237
|
+
|
|
1238
|
+
|
|
1239
|
+
|
|
1240
|
+
|
|
1241
|
+
|
|
1242
|
+
|
|
1243
|
+
|
|
1244
|
+
|
|
1245
|
+
|
|
1246
|
+
var options = {};
|
|
1247
|
+
|
|
1248
|
+
;
|
|
1249
|
+
options.setAttributes = (_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());
|
|
1250
|
+
options.insert = _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
|
|
1251
|
+
options.domAPI = (_node_modules_style_loader_dist_runtime_singletonStyleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
|
|
1252
|
+
options.insertStyleElement = (_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());
|
|
1253
|
+
|
|
1254
|
+
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);
|
|
1255
|
+
|
|
1256
|
+
|
|
1257
|
+
|
|
1258
|
+
|
|
1259
|
+
/* 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);
|
|
1260
|
+
|
|
1261
|
+
|
|
1262
|
+
/***/ }),
|
|
1263
|
+
|
|
1264
|
+
/***/ 6599:
|
|
1265
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
1266
|
+
|
|
1267
|
+
// Imports
|
|
1268
|
+
var ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ = __webpack_require__(1601);
|
|
1269
|
+
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(6314);
|
|
1270
|
+
var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
|
|
1271
|
+
// Module
|
|
1272
|
+
___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)}}`, ""]);
|
|
1273
|
+
// Exports
|
|
1274
|
+
___CSS_LOADER_EXPORT___.locals = {
|
|
1275
|
+
"cap-icon-wrapper": `blaze-ui-cap-icon-wrapper`,
|
|
1276
|
+
"disabled": `blaze-ui-disabled`,
|
|
1277
|
+
"xs": `blaze-ui-xs`,
|
|
1278
|
+
"s": `blaze-ui-s`,
|
|
1279
|
+
"m": `blaze-ui-m`,
|
|
1280
|
+
"l": `blaze-ui-l`,
|
|
1281
|
+
"with-text-label": `blaze-ui-with-text-label`,
|
|
1282
|
+
"cap-icon-background-wrapper": `blaze-ui-cap-icon-background-wrapper`,
|
|
1283
|
+
"cap-icon": `blaze-ui-cap-icon`,
|
|
1284
|
+
"anticon": `blaze-ui-anticon`,
|
|
1285
|
+
"spin": `blaze-ui-spin`,
|
|
1286
|
+
"rotate": `blaze-ui-rotate`
|
|
1287
|
+
};
|
|
1288
|
+
module.exports = ___CSS_LOADER_EXPORT___;
|
|
1289
|
+
|
|
1290
|
+
|
|
1291
|
+
/***/ }),
|
|
1292
|
+
|
|
1293
|
+
/***/ 6636:
|
|
1294
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
1295
|
+
|
|
1296
|
+
"use strict";
|
|
1297
|
+
__webpack_require__.r(__webpack_exports__);
|
|
1298
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1299
|
+
/* harmony export */ Logger: () => (/* binding */ Logger),
|
|
1300
|
+
/* harmony export */ createRuntimeVariables: () => (/* binding */ createRuntimeVariables),
|
|
1301
|
+
/* harmony export */ extractUrlAndGlobal: () => (/* binding */ extractUrlAndGlobal),
|
|
1302
|
+
/* harmony export */ getContainer: () => (/* binding */ getContainer),
|
|
1303
|
+
/* harmony export */ getModule: () => (/* binding */ getModule),
|
|
1304
|
+
/* harmony export */ getRuntimeRemotes: () => (/* binding */ getRuntimeRemotes),
|
|
1305
|
+
/* harmony export */ importDelegatedModule: () => (/* binding */ importDelegatedModule),
|
|
1306
|
+
/* harmony export */ importRemote: () => (/* binding */ importRemote),
|
|
1307
|
+
/* harmony export */ injectScript: () => (/* binding */ injectScript),
|
|
1308
|
+
/* harmony export */ isObjectEmpty: () => (/* binding */ isObjectEmpty),
|
|
1309
|
+
/* harmony export */ loadScript: () => (/* binding */ loadScript)
|
|
1310
|
+
/* harmony export */ });
|
|
1311
|
+
/******************************************************************************
|
|
1312
|
+
Copyright (c) Microsoft Corporation.
|
|
1313
|
+
|
|
1314
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
1315
|
+
purpose with or without fee is hereby granted.
|
|
1316
|
+
|
|
1317
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
1318
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
1319
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
1320
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
1321
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
1322
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
1323
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
1324
|
+
***************************************************************************** */
|
|
1325
|
+
/* global Reflect, Promise, SuppressedError, Symbol, Iterator */
|
|
1326
|
+
|
|
1327
|
+
|
|
1328
|
+
function __awaiter(thisArg, _arguments, P, generator) {
|
|
1329
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
1330
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
1331
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
1332
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
1333
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
1334
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
1335
|
+
});
|
|
1336
|
+
}
|
|
1337
|
+
|
|
1338
|
+
typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
1339
|
+
var e = new Error(message);
|
|
1340
|
+
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
1341
|
+
};
|
|
1342
|
+
|
|
1343
|
+
const pure = typeof process !== 'undefined' ? process.env['REMOTES'] || {} : {};
|
|
1344
|
+
const remoteVars = pure;
|
|
1345
|
+
const extractUrlAndGlobal = (urlAndGlobal) => {
|
|
1346
|
+
const index = urlAndGlobal.indexOf('@');
|
|
1347
|
+
if (index <= 0 || index === urlAndGlobal.length - 1) {
|
|
1348
|
+
throw new Error(`Invalid request "${urlAndGlobal}"`);
|
|
1349
|
+
}
|
|
1350
|
+
return [urlAndGlobal.substring(index + 1), urlAndGlobal.substring(0, index)];
|
|
1351
|
+
};
|
|
1352
|
+
const loadScript = (keyOrRuntimeRemoteItem) => {
|
|
1353
|
+
const runtimeRemotes = getRuntimeRemotes$1();
|
|
1354
|
+
// 1) Load remote container if needed
|
|
1355
|
+
let asyncContainer;
|
|
1356
|
+
const reference = typeof keyOrRuntimeRemoteItem === 'string'
|
|
1357
|
+
? runtimeRemotes[keyOrRuntimeRemoteItem]
|
|
1358
|
+
: keyOrRuntimeRemoteItem;
|
|
1359
|
+
if (reference.asyncContainer) {
|
|
1360
|
+
asyncContainer =
|
|
1361
|
+
typeof reference.asyncContainer.then === 'function'
|
|
1362
|
+
? reference.asyncContainer
|
|
1363
|
+
: // @ts-ignore
|
|
1364
|
+
reference.asyncContainer();
|
|
1365
|
+
}
|
|
1366
|
+
else {
|
|
1367
|
+
// This casting is just to satisfy typescript,
|
|
1368
|
+
// In reality remoteGlobal will always be a string;
|
|
1369
|
+
const remoteGlobal = reference.global;
|
|
1370
|
+
// Check if theres an override for container key if not use remote global
|
|
1371
|
+
const containerKey = reference.uniqueKey
|
|
1372
|
+
? reference.uniqueKey
|
|
1373
|
+
: remoteGlobal;
|
|
1374
|
+
const __webpack_error__ = new Error();
|
|
1375
|
+
// @ts-ignore
|
|
1376
|
+
const globalScope =
|
|
1377
|
+
// @ts-ignore
|
|
1378
|
+
typeof window !== 'undefined' ? window : globalThis.__remote_scope__;
|
|
1379
|
+
if (typeof window === 'undefined') {
|
|
1380
|
+
//@ts-ignore
|
|
1381
|
+
globalScope['_config'][containerKey] = reference.url;
|
|
1382
|
+
}
|
|
1383
|
+
else {
|
|
1384
|
+
// to match promise template system, can be removed once promise template is gone
|
|
1385
|
+
//@ts-ignore
|
|
1386
|
+
if (!globalScope['remoteLoading']) {
|
|
1387
|
+
//@ts-ignore
|
|
1388
|
+
globalScope['remoteLoading'] = {};
|
|
1389
|
+
}
|
|
1390
|
+
//@ts-ignore
|
|
1391
|
+
if (globalScope['remoteLoading'][containerKey]) {
|
|
1392
|
+
//@ts-ignore
|
|
1393
|
+
return globalScope['remoteLoading'][containerKey];
|
|
1394
|
+
}
|
|
1395
|
+
}
|
|
1396
|
+
// @ts-ignore
|
|
1397
|
+
asyncContainer = new Promise(function (resolve, reject) {
|
|
1398
|
+
function resolveRemoteGlobal() {
|
|
1399
|
+
//@ts-ignore
|
|
1400
|
+
const asyncContainer = globalScope[remoteGlobal];
|
|
1401
|
+
return resolve(asyncContainer);
|
|
1402
|
+
}
|
|
1403
|
+
//@ts-ignore
|
|
1404
|
+
if (typeof globalScope[remoteGlobal] !== 'undefined') {
|
|
1405
|
+
return resolveRemoteGlobal();
|
|
1406
|
+
}
|
|
1407
|
+
__webpack_require__.l(reference.url, function (event) {
|
|
1408
|
+
//@ts-ignore
|
|
1409
|
+
if (typeof globalScope[remoteGlobal] !== 'undefined') {
|
|
1410
|
+
return resolveRemoteGlobal();
|
|
1411
|
+
}
|
|
1412
|
+
const errorType = event && (event.type === 'load' ? 'missing' : event.type);
|
|
1413
|
+
const realSrc = event && event.target && event.target.src;
|
|
1414
|
+
__webpack_error__.message =
|
|
1415
|
+
'Loading script failed.\n(' +
|
|
1416
|
+
errorType +
|
|
1417
|
+
': ' +
|
|
1418
|
+
realSrc +
|
|
1419
|
+
' or global var ' +
|
|
1420
|
+
remoteGlobal +
|
|
1421
|
+
')';
|
|
1422
|
+
__webpack_error__.name = 'ScriptExternalLoadError';
|
|
1423
|
+
__webpack_error__.type = errorType;
|
|
1424
|
+
__webpack_error__.request = realSrc;
|
|
1425
|
+
reject(__webpack_error__);
|
|
1426
|
+
}, containerKey);
|
|
1427
|
+
}).catch(function (err) {
|
|
1428
|
+
console.error('container is offline, returning fake remote');
|
|
1429
|
+
console.error(err);
|
|
1430
|
+
return {
|
|
1431
|
+
fake: true,
|
|
1432
|
+
// @ts-ignore
|
|
1433
|
+
get: (arg) => {
|
|
1434
|
+
console.warn('faking', arg, 'module on, its offline');
|
|
1435
|
+
return Promise.resolve(() => {
|
|
1436
|
+
return {
|
|
1437
|
+
__esModule: true,
|
|
1438
|
+
default: () => {
|
|
1439
|
+
return null;
|
|
1440
|
+
},
|
|
1441
|
+
};
|
|
1442
|
+
});
|
|
1443
|
+
},
|
|
1444
|
+
//eslint-disable-next-line
|
|
1445
|
+
init: () => { },
|
|
1446
|
+
};
|
|
1447
|
+
});
|
|
1448
|
+
if (typeof window !== 'undefined') {
|
|
1449
|
+
//@ts-ignore
|
|
1450
|
+
globalScope['remoteLoading'][containerKey] = asyncContainer;
|
|
1451
|
+
}
|
|
1452
|
+
}
|
|
1453
|
+
return asyncContainer;
|
|
1454
|
+
};
|
|
1455
|
+
const getRuntimeRemotes$1 = () => {
|
|
1456
|
+
return Object.entries(remoteVars).reduce((acc, [key, value]) => {
|
|
1457
|
+
if (typeof value === 'object' && typeof value.then === 'function') {
|
|
1458
|
+
acc[key] = { asyncContainer: value };
|
|
1459
|
+
}
|
|
1460
|
+
else if (typeof value === 'function') {
|
|
1461
|
+
acc[key] = { asyncContainer: Promise.resolve(value()) };
|
|
1462
|
+
}
|
|
1463
|
+
else if (typeof value === 'string') {
|
|
1464
|
+
if (value.startsWith('internal ')) {
|
|
1465
|
+
const [request, query] = value.replace('internal ', '').split('?');
|
|
1466
|
+
if (query) {
|
|
1467
|
+
const remoteSyntax = new URLSearchParams(query).get('remote');
|
|
1468
|
+
if (remoteSyntax) {
|
|
1469
|
+
const [url, global] = extractUrlAndGlobal(remoteSyntax);
|
|
1470
|
+
acc[key] = { global, url };
|
|
1471
|
+
}
|
|
1472
|
+
}
|
|
1473
|
+
}
|
|
1474
|
+
else {
|
|
1475
|
+
const [url, global] = extractUrlAndGlobal(value);
|
|
1476
|
+
acc[key] = { global, url };
|
|
1477
|
+
}
|
|
1478
|
+
}
|
|
1479
|
+
else {
|
|
1480
|
+
console.warn('remotes process', process.env['REMOTES']);
|
|
1481
|
+
throw new Error(`[mf] Invalid value received for runtime_remote "${key}"`);
|
|
1482
|
+
}
|
|
1483
|
+
return acc;
|
|
1484
|
+
}, {});
|
|
1485
|
+
};
|
|
1486
|
+
|
|
1487
|
+
/* eslint-disable @typescript-eslint/ban-ts-comment */
|
|
1488
|
+
const createContainerSharingScope = (asyncContainer) => {
|
|
1489
|
+
// @ts-ignore
|
|
1490
|
+
return asyncContainer
|
|
1491
|
+
.then(function (container) {
|
|
1492
|
+
if (!__webpack_require__.S['default']) {
|
|
1493
|
+
// not always a promise, so we wrap it in a resolve
|
|
1494
|
+
return Promise.resolve(__webpack_require__.I('default')).then(function () {
|
|
1495
|
+
return container;
|
|
1496
|
+
});
|
|
1497
|
+
}
|
|
1498
|
+
else {
|
|
1499
|
+
return container;
|
|
1500
|
+
}
|
|
1501
|
+
})
|
|
1502
|
+
.then(function (container) {
|
|
1503
|
+
try {
|
|
1504
|
+
// WARNING: here might be a potential BUG.
|
|
1505
|
+
// `container.init` does not return a Promise, and here we do not call `then` on it.
|
|
1506
|
+
// But according to [docs](https://webpack.js.org/concepts/module-federation/#dynamic-remote-containers)
|
|
1507
|
+
// it must be async.
|
|
1508
|
+
// The problem may be in Proxy in NextFederationPlugin.js.
|
|
1509
|
+
// or maybe a bug in the webpack itself - instead of returning rejected promise it just throws an error.
|
|
1510
|
+
// But now everything works properly and we keep this code as is.
|
|
1511
|
+
container.init(__webpack_require__.S['default']);
|
|
1512
|
+
}
|
|
1513
|
+
catch (e) {
|
|
1514
|
+
// maybe container already initialized so nothing to throw
|
|
1515
|
+
}
|
|
1516
|
+
return container;
|
|
1517
|
+
});
|
|
1518
|
+
};
|
|
1519
|
+
/**
|
|
1520
|
+
* Return initialized remote container by remote's key or its runtime remote item data.
|
|
1521
|
+
*
|
|
1522
|
+
* `runtimeRemoteItem` might be
|
|
1523
|
+
* { global, url } - values obtained from webpack remotes option `global@url`
|
|
1524
|
+
* or
|
|
1525
|
+
* { asyncContainer } - async container is a promise that resolves to the remote container
|
|
1526
|
+
*/
|
|
1527
|
+
const injectScript = (keyOrRuntimeRemoteItem) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1528
|
+
const asyncContainer = loadScript(keyOrRuntimeRemoteItem);
|
|
1529
|
+
return createContainerSharingScope(asyncContainer);
|
|
1530
|
+
});
|
|
1531
|
+
/**
|
|
1532
|
+
* Creates runtime variables from the provided remotes.
|
|
1533
|
+
* If the value of a remote starts with 'promise ' or 'external ', it is transformed into a function that returns the promise call.
|
|
1534
|
+
* Otherwise, the value is stringified.
|
|
1535
|
+
* @param {Remotes} remotes - The remotes to create runtime variables from.
|
|
1536
|
+
* @returns {Record<string, string>} - The created runtime variables.
|
|
1537
|
+
*/
|
|
1538
|
+
const createRuntimeVariables = (remotes) => {
|
|
1539
|
+
if (!remotes) {
|
|
1540
|
+
return {};
|
|
1541
|
+
}
|
|
1542
|
+
return Object.entries(remotes).reduce((acc, [key, value]) => {
|
|
1543
|
+
if (value.startsWith('promise ') || value.startsWith('external ')) {
|
|
1544
|
+
const promiseCall = value.split(' ')[1];
|
|
1545
|
+
acc[key] = `function() {
|
|
1546
|
+
return ${promiseCall}
|
|
1547
|
+
}`;
|
|
1548
|
+
}
|
|
1549
|
+
else {
|
|
1550
|
+
acc[key] = JSON.stringify(value);
|
|
1551
|
+
}
|
|
1552
|
+
return acc;
|
|
1553
|
+
}, {});
|
|
1554
|
+
};
|
|
1555
|
+
/**
|
|
1556
|
+
* Returns initialized webpack RemoteContainer.
|
|
1557
|
+
* If its' script does not loaded - then load & init it firstly.
|
|
1558
|
+
*/
|
|
1559
|
+
const getContainer = (remoteContainer) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1560
|
+
if (!remoteContainer) {
|
|
1561
|
+
throw Error(`Remote container options is empty`);
|
|
1562
|
+
}
|
|
1563
|
+
const containerScope = typeof window !== 'undefined'
|
|
1564
|
+
? window
|
|
1565
|
+
: globalThis.__remote_scope__;
|
|
1566
|
+
let containerKey;
|
|
1567
|
+
if (typeof remoteContainer === 'string') {
|
|
1568
|
+
containerKey = remoteContainer;
|
|
1569
|
+
}
|
|
1570
|
+
else {
|
|
1571
|
+
containerKey = remoteContainer.uniqueKey;
|
|
1572
|
+
if (!containerScope[containerKey]) {
|
|
1573
|
+
const container = yield injectScript({
|
|
1574
|
+
global: remoteContainer.global,
|
|
1575
|
+
url: remoteContainer.url,
|
|
1576
|
+
});
|
|
1577
|
+
if (!container) {
|
|
1578
|
+
throw Error(`Remote container ${remoteContainer.url} is empty`);
|
|
1579
|
+
}
|
|
1580
|
+
}
|
|
1581
|
+
}
|
|
1582
|
+
return containerScope[containerKey];
|
|
1583
|
+
});
|
|
1584
|
+
/**
|
|
1585
|
+
* Return remote module from container.
|
|
1586
|
+
* If you provide `exportName` it automatically return exact property value from module.
|
|
1587
|
+
*
|
|
1588
|
+
* @example
|
|
1589
|
+
* remote.getModule('./pages/index', 'default')
|
|
1590
|
+
*/
|
|
1591
|
+
const getModule = (_a) => __awaiter(void 0, [_a], void 0, function* ({ remoteContainer, modulePath, exportName, }) {
|
|
1592
|
+
const container = yield getContainer(remoteContainer);
|
|
1593
|
+
try {
|
|
1594
|
+
const modFactory = yield (container === null || container === void 0 ? void 0 : container.get(modulePath));
|
|
1595
|
+
if (!modFactory) {
|
|
1596
|
+
return undefined;
|
|
1597
|
+
}
|
|
1598
|
+
const mod = modFactory();
|
|
1599
|
+
if (exportName) {
|
|
1600
|
+
return mod && typeof mod === 'object' ? mod[exportName] : undefined;
|
|
1601
|
+
}
|
|
1602
|
+
else {
|
|
1603
|
+
return mod;
|
|
1604
|
+
}
|
|
1605
|
+
}
|
|
1606
|
+
catch (error) {
|
|
1607
|
+
console.error(error);
|
|
1608
|
+
return undefined;
|
|
1609
|
+
}
|
|
1610
|
+
});
|
|
1611
|
+
|
|
1612
|
+
const isObjectEmpty = (obj) => {
|
|
1613
|
+
for (const x in obj) {
|
|
1614
|
+
return false;
|
|
1615
|
+
}
|
|
1616
|
+
return true;
|
|
1617
|
+
};
|
|
1618
|
+
|
|
1619
|
+
/**
|
|
1620
|
+
* Constant for remote entry file
|
|
1621
|
+
* @constant {string}
|
|
1622
|
+
*/
|
|
1623
|
+
const REMOTE_ENTRY_FILE = 'remoteEntry.js';
|
|
1624
|
+
/**
|
|
1625
|
+
* Function to load remote
|
|
1626
|
+
* @function
|
|
1627
|
+
* @param {ImportRemoteOptions['url']} url - The url of the remote module
|
|
1628
|
+
* @param {ImportRemoteOptions['scope']} scope - The scope of the remote module
|
|
1629
|
+
* @param {ImportRemoteOptions['bustRemoteEntryCache']} bustRemoteEntryCache - Flag to bust the remote entry cache
|
|
1630
|
+
* @returns {Promise<void>} A promise that resolves when the remote is loaded
|
|
1631
|
+
*/
|
|
1632
|
+
const loadRemote = (url, scope, bustRemoteEntryCache) => new Promise((resolve, reject) => {
|
|
1633
|
+
const timestamp = bustRemoteEntryCache ? `?t=${new Date().getTime()}` : '';
|
|
1634
|
+
const webpackRequire = __webpack_require__;
|
|
1635
|
+
webpackRequire.l(`${url}${timestamp}`, (event) => {
|
|
1636
|
+
var _a;
|
|
1637
|
+
if ((event === null || event === void 0 ? void 0 : event.type) === 'load') {
|
|
1638
|
+
// Script loaded successfully:
|
|
1639
|
+
return resolve();
|
|
1640
|
+
}
|
|
1641
|
+
const realSrc = (_a = event === null || event === void 0 ? void 0 : event.target) === null || _a === void 0 ? void 0 : _a.src;
|
|
1642
|
+
const error = new Error();
|
|
1643
|
+
error.message = 'Loading script failed.\n(missing: ' + realSrc + ')';
|
|
1644
|
+
error.name = 'ScriptExternalLoadError';
|
|
1645
|
+
reject(error);
|
|
1646
|
+
}, scope);
|
|
1647
|
+
});
|
|
1648
|
+
const loadEsmRemote = (url, scope) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1649
|
+
const module = yield import(/* webpackIgnore: true */ url);
|
|
1650
|
+
if (!module) {
|
|
1651
|
+
throw new Error(`Unable to load requested remote from ${url} with scope ${scope}`);
|
|
1652
|
+
}
|
|
1653
|
+
window[scope] = Object.assign(Object.assign({}, module), { __initializing: false, __initialized: false });
|
|
1654
|
+
});
|
|
1655
|
+
/**
|
|
1656
|
+
* Function to initialize sharing
|
|
1657
|
+
* @async
|
|
1658
|
+
* @function
|
|
1659
|
+
*/
|
|
1660
|
+
const initSharing = () => __awaiter(void 0, void 0, void 0, function* () {
|
|
1661
|
+
const webpackShareScopes = __webpack_require__.S;
|
|
1662
|
+
if (!(webpackShareScopes === null || webpackShareScopes === void 0 ? void 0 : webpackShareScopes.default)) {
|
|
1663
|
+
yield __webpack_require__.I('default');
|
|
1664
|
+
}
|
|
1665
|
+
});
|
|
1666
|
+
/**
|
|
1667
|
+
* Function to initialize container
|
|
1668
|
+
* @async
|
|
1669
|
+
* @function
|
|
1670
|
+
* @param {WebpackRemoteContainer} containerScope - The container scope
|
|
1671
|
+
*/
|
|
1672
|
+
const initContainer = (containerScope) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1673
|
+
try {
|
|
1674
|
+
const webpackShareScopes = __webpack_require__.S;
|
|
1675
|
+
if (!containerScope.__initialized && !containerScope.__initializing) {
|
|
1676
|
+
containerScope.__initializing = true;
|
|
1677
|
+
yield containerScope.init(webpackShareScopes.default);
|
|
1678
|
+
containerScope.__initialized = true;
|
|
1679
|
+
delete containerScope.__initializing;
|
|
1680
|
+
}
|
|
1681
|
+
}
|
|
1682
|
+
catch (error) {
|
|
1683
|
+
console.error(error);
|
|
1684
|
+
}
|
|
1685
|
+
});
|
|
1686
|
+
/**
|
|
1687
|
+
* Function to import remote
|
|
1688
|
+
* @async
|
|
1689
|
+
* @function
|
|
1690
|
+
* @param {ImportRemoteOptions} options - The options for importing the remote
|
|
1691
|
+
* @returns {Promise<T>} A promise that resolves with the imported module
|
|
1692
|
+
*/
|
|
1693
|
+
const importRemote = (_a) => __awaiter(void 0, [_a], void 0, function* ({ url, scope, module, remoteEntryFileName = REMOTE_ENTRY_FILE, bustRemoteEntryCache = true, esm = false, }) {
|
|
1694
|
+
const remoteScope = scope;
|
|
1695
|
+
if (!window[remoteScope]) {
|
|
1696
|
+
let remoteUrl = '';
|
|
1697
|
+
if (typeof url === 'string') {
|
|
1698
|
+
remoteUrl = url;
|
|
1699
|
+
}
|
|
1700
|
+
else {
|
|
1701
|
+
remoteUrl = yield url();
|
|
1702
|
+
}
|
|
1703
|
+
const remoteUrlWithEntryFile = `${remoteUrl}/${remoteEntryFileName}`;
|
|
1704
|
+
const asyncContainer = !esm
|
|
1705
|
+
? loadRemote(remoteUrlWithEntryFile, scope, bustRemoteEntryCache)
|
|
1706
|
+
: loadEsmRemote(remoteUrlWithEntryFile, scope);
|
|
1707
|
+
// Load the remote and initialize the share scope if it's empty
|
|
1708
|
+
yield Promise.all([asyncContainer, initSharing()]);
|
|
1709
|
+
if (!window[remoteScope]) {
|
|
1710
|
+
throw new Error(`Remote loaded successfully but ${scope} could not be found! Verify that the name is correct in the Webpack configuration!`);
|
|
1711
|
+
}
|
|
1712
|
+
// Initialize the container to get shared modules and get the module factory:
|
|
1713
|
+
const [, moduleFactory] = yield Promise.all([
|
|
1714
|
+
initContainer(window[remoteScope]),
|
|
1715
|
+
window[remoteScope].get(module === '.' || module.startsWith('./') ? module : `./${module}`),
|
|
1716
|
+
]);
|
|
1717
|
+
return moduleFactory();
|
|
1718
|
+
}
|
|
1719
|
+
else {
|
|
1720
|
+
const moduleFactory = yield window[remoteScope].get(module === '.' || module.startsWith('./') ? module : `./${module}`);
|
|
1721
|
+
return moduleFactory();
|
|
1722
|
+
}
|
|
1723
|
+
});
|
|
1724
|
+
|
|
1725
|
+
class Logger {
|
|
1726
|
+
static getLogger() {
|
|
1727
|
+
return this.loggerInstance;
|
|
1728
|
+
}
|
|
1729
|
+
static setLogger(logger) {
|
|
1730
|
+
this.loggerInstance = logger || console;
|
|
1731
|
+
return logger;
|
|
1732
|
+
}
|
|
1733
|
+
}
|
|
1734
|
+
Logger.loggerInstance = console;
|
|
1735
|
+
|
|
1736
|
+
const getRuntimeRemotes = () => {
|
|
1737
|
+
try {
|
|
1738
|
+
return Object.entries(remoteVars).reduce(function (acc, item) {
|
|
1739
|
+
const [key, value] = item;
|
|
1740
|
+
// if its an object with a thenable (eagerly executing function)
|
|
1741
|
+
if (typeof value === 'object' && typeof value.then === 'function') {
|
|
1742
|
+
acc[key] = { asyncContainer: value };
|
|
1743
|
+
}
|
|
1744
|
+
// if its a function that must be called (lazily executing function)
|
|
1745
|
+
else if (typeof value === 'function') {
|
|
1746
|
+
// @ts-ignore
|
|
1747
|
+
acc[key] = { asyncContainer: value };
|
|
1748
|
+
}
|
|
1749
|
+
// if its a delegate module, skip it
|
|
1750
|
+
else if (typeof value === 'string' && value.startsWith('internal ')) {
|
|
1751
|
+
const [request, query] = value.replace('internal ', '').split('?');
|
|
1752
|
+
if (query) {
|
|
1753
|
+
const remoteSyntax = new URLSearchParams(query).get('remote');
|
|
1754
|
+
if (remoteSyntax) {
|
|
1755
|
+
const [url, global] = extractUrlAndGlobal(remoteSyntax);
|
|
1756
|
+
acc[key] = { global, url };
|
|
1757
|
+
}
|
|
1758
|
+
}
|
|
1759
|
+
}
|
|
1760
|
+
// if its just a string (global@url)
|
|
1761
|
+
else if (typeof value === 'string') {
|
|
1762
|
+
const [url, global] = extractUrlAndGlobal(value);
|
|
1763
|
+
acc[key] = { global, url };
|
|
1764
|
+
}
|
|
1765
|
+
// we dont know or currently support this type
|
|
1766
|
+
else {
|
|
1767
|
+
//@ts-ignore
|
|
1768
|
+
console.warn('remotes process', process.env.REMOTES);
|
|
1769
|
+
throw new Error(`[mf] Invalid value received for runtime_remote "${key}"`);
|
|
1770
|
+
}
|
|
1771
|
+
return acc;
|
|
1772
|
+
}, {});
|
|
1773
|
+
}
|
|
1774
|
+
catch (err) {
|
|
1775
|
+
console.warn('Unable to retrieve runtime remotes: ', err);
|
|
1776
|
+
}
|
|
1777
|
+
return {};
|
|
1778
|
+
};
|
|
1779
|
+
|
|
1780
|
+
const importDelegatedModule = (keyOrRuntimeRemoteItem) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1781
|
+
// @ts-ignore
|
|
1782
|
+
return loadScript(keyOrRuntimeRemoteItem)
|
|
1783
|
+
.then((asyncContainer) => {
|
|
1784
|
+
return asyncContainer;
|
|
1785
|
+
})
|
|
1786
|
+
.then((asyncContainer) => {
|
|
1787
|
+
// most of this is only needed because of legacy promise based implementation
|
|
1788
|
+
// can remove proxies once we remove promise based implementations
|
|
1789
|
+
if (typeof window === 'undefined') {
|
|
1790
|
+
if (!Object.hasOwnProperty.call(keyOrRuntimeRemoteItem, 'globalThis')) {
|
|
1791
|
+
return asyncContainer;
|
|
1792
|
+
}
|
|
1793
|
+
// return asyncContainer;
|
|
1794
|
+
//TODO: need to solve chunk flushing with delegated modules
|
|
1795
|
+
return {
|
|
1796
|
+
get: function (arg) {
|
|
1797
|
+
//@ts-ignore
|
|
1798
|
+
return asyncContainer.get(arg).then((f) => {
|
|
1799
|
+
const m = f();
|
|
1800
|
+
const result = {
|
|
1801
|
+
__esModule: m.__esModule,
|
|
1802
|
+
};
|
|
1803
|
+
for (const prop in m) {
|
|
1804
|
+
if (typeof m[prop] === 'function') {
|
|
1805
|
+
Object.defineProperty(result, prop, {
|
|
1806
|
+
get: function () {
|
|
1807
|
+
return function () {
|
|
1808
|
+
//@ts-ignore
|
|
1809
|
+
if (globalThis.usedChunks) {
|
|
1810
|
+
//@ts-ignore
|
|
1811
|
+
globalThis.usedChunks.add(
|
|
1812
|
+
//@ts-ignore
|
|
1813
|
+
`${keyOrRuntimeRemoteItem.global}->${arg}`);
|
|
1814
|
+
}
|
|
1815
|
+
//eslint-disable-next-line prefer-rest-params
|
|
1816
|
+
return m[prop](...arguments);
|
|
1817
|
+
};
|
|
1818
|
+
},
|
|
1819
|
+
enumerable: true,
|
|
1820
|
+
});
|
|
1821
|
+
}
|
|
1822
|
+
else {
|
|
1823
|
+
Object.defineProperty(result, prop, {
|
|
1824
|
+
get: () => {
|
|
1825
|
+
//@ts-ignore
|
|
1826
|
+
if (globalThis.usedChunks) {
|
|
1827
|
+
//@ts-ignore
|
|
1828
|
+
globalThis.usedChunks.add(
|
|
1829
|
+
//@ts-ignore
|
|
1830
|
+
`${keyOrRuntimeRemoteItem.global}->${arg}`);
|
|
1831
|
+
}
|
|
1832
|
+
return m[prop];
|
|
1833
|
+
},
|
|
1834
|
+
enumerable: true,
|
|
1835
|
+
});
|
|
1836
|
+
}
|
|
1837
|
+
}
|
|
1838
|
+
if (m.then) {
|
|
1839
|
+
return Promise.resolve(() => result);
|
|
1840
|
+
}
|
|
1841
|
+
return () => result;
|
|
1842
|
+
});
|
|
1843
|
+
},
|
|
1844
|
+
init: asyncContainer.init,
|
|
1845
|
+
};
|
|
1846
|
+
}
|
|
1847
|
+
else {
|
|
1848
|
+
return asyncContainer;
|
|
1849
|
+
}
|
|
1850
|
+
});
|
|
1851
|
+
});
|
|
1852
|
+
|
|
1853
|
+
|
|
1854
|
+
|
|
1855
|
+
|
|
1856
|
+
/***/ }),
|
|
1857
|
+
|
|
1858
|
+
/***/ 6805:
|
|
1859
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
1860
|
+
|
|
1861
|
+
"use strict";
|
|
1862
|
+
__webpack_require__.r(__webpack_exports__);
|
|
1863
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1864
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
1865
|
+
/* harmony export */ });
|
|
1866
|
+
/* harmony import */ var _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5072);
|
|
1867
|
+
/* 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__);
|
|
1868
|
+
/* harmony import */ var _node_modules_style_loader_dist_runtime_singletonStyleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4284);
|
|
1869
|
+
/* 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__);
|
|
1870
|
+
/* harmony import */ var _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7659);
|
|
1871
|
+
/* 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__);
|
|
1872
|
+
/* harmony import */ var _node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(5056);
|
|
1873
|
+
/* 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__);
|
|
1874
|
+
/* harmony import */ var _node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(540);
|
|
1875
|
+
/* 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__);
|
|
1876
|
+
/* 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__(2536);
|
|
1877
|
+
/* 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__);
|
|
1878
|
+
/* harmony reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
1879
|
+
/* 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__]
|
|
1880
|
+
/* harmony reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
|
|
1881
|
+
|
|
1882
|
+
|
|
1883
|
+
|
|
1884
|
+
|
|
1885
|
+
|
|
1886
|
+
|
|
1887
|
+
|
|
1888
|
+
|
|
1889
|
+
|
|
1890
|
+
|
|
1891
|
+
|
|
1892
|
+
var options = {};
|
|
1893
|
+
|
|
1894
|
+
;
|
|
1895
|
+
options.setAttributes = (_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());
|
|
1896
|
+
options.insert = _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
|
|
1897
|
+
options.domAPI = (_node_modules_style_loader_dist_runtime_singletonStyleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
|
|
1898
|
+
options.insertStyleElement = (_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());
|
|
1899
|
+
|
|
1900
|
+
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);
|
|
1901
|
+
|
|
1902
|
+
|
|
1903
|
+
|
|
1904
|
+
|
|
1905
|
+
/* 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);
|
|
1906
|
+
|
|
1907
|
+
|
|
1908
|
+
/***/ }),
|
|
1909
|
+
|
|
1910
|
+
/***/ 6942:
|
|
1911
|
+
/***/ ((module, exports) => {
|
|
1912
|
+
|
|
1913
|
+
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
|
|
1914
|
+
Copyright (c) 2018 Jed Watson.
|
|
1915
|
+
Licensed under the MIT License (MIT), see
|
|
1916
|
+
http://jedwatson.github.io/classnames
|
|
1917
|
+
*/
|
|
1918
|
+
/* global define */
|
|
1919
|
+
|
|
1920
|
+
(function () {
|
|
1921
|
+
'use strict';
|
|
1922
|
+
|
|
1923
|
+
var hasOwn = {}.hasOwnProperty;
|
|
1924
|
+
|
|
1925
|
+
function classNames () {
|
|
1926
|
+
var classes = '';
|
|
1927
|
+
|
|
1928
|
+
for (var i = 0; i < arguments.length; i++) {
|
|
1929
|
+
var arg = arguments[i];
|
|
1930
|
+
if (arg) {
|
|
1931
|
+
classes = appendClass(classes, parseValue(arg));
|
|
1932
|
+
}
|
|
1933
|
+
}
|
|
1934
|
+
|
|
1935
|
+
return classes;
|
|
1936
|
+
}
|
|
1937
|
+
|
|
1938
|
+
function parseValue (arg) {
|
|
1939
|
+
if (typeof arg === 'string' || typeof arg === 'number') {
|
|
1940
|
+
return arg;
|
|
1941
|
+
}
|
|
1942
|
+
|
|
1943
|
+
if (typeof arg !== 'object') {
|
|
1944
|
+
return '';
|
|
1945
|
+
}
|
|
1946
|
+
|
|
1947
|
+
if (Array.isArray(arg)) {
|
|
1948
|
+
return classNames.apply(null, arg);
|
|
1949
|
+
}
|
|
1950
|
+
|
|
1951
|
+
if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {
|
|
1952
|
+
return arg.toString();
|
|
1953
|
+
}
|
|
1954
|
+
|
|
1955
|
+
var classes = '';
|
|
1956
|
+
|
|
1957
|
+
for (var key in arg) {
|
|
1958
|
+
if (hasOwn.call(arg, key) && arg[key]) {
|
|
1959
|
+
classes = appendClass(classes, key);
|
|
1960
|
+
}
|
|
1961
|
+
}
|
|
1962
|
+
|
|
1963
|
+
return classes;
|
|
1964
|
+
}
|
|
1965
|
+
|
|
1966
|
+
function appendClass (value, newClass) {
|
|
1967
|
+
if (!newClass) {
|
|
1968
|
+
return value;
|
|
1969
|
+
}
|
|
1970
|
+
|
|
1971
|
+
if (value) {
|
|
1972
|
+
return value + ' ' + newClass;
|
|
1973
|
+
}
|
|
1974
|
+
|
|
1975
|
+
return value + newClass;
|
|
1976
|
+
}
|
|
1977
|
+
|
|
1978
|
+
if ( true && module.exports) {
|
|
1979
|
+
classNames.default = classNames;
|
|
1980
|
+
module.exports = classNames;
|
|
1981
|
+
} else if (true) {
|
|
1982
|
+
// register as 'classnames', consistent with npm package name
|
|
1983
|
+
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function () {
|
|
1984
|
+
return classNames;
|
|
1985
|
+
}).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),
|
|
1986
|
+
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
|
|
1987
|
+
} else // removed by dead control flow
|
|
1988
|
+
{}
|
|
1989
|
+
}());
|
|
1990
|
+
|
|
1991
|
+
|
|
1992
|
+
/***/ }),
|
|
1993
|
+
|
|
1994
|
+
/***/ 7227:
|
|
1995
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
1996
|
+
|
|
1997
|
+
"use strict";
|
|
1998
|
+
|
|
1999
|
+
|
|
2000
|
+
exports.__esModule = true;
|
|
2001
|
+
exports["default"] = void 0;
|
|
2002
|
+
var _classnames = _interopRequireDefault(__webpack_require__(6942));
|
|
2003
|
+
var _react = _interopRequireDefault(__webpack_require__(9206));
|
|
2004
|
+
var _reactIntl = __webpack_require__(6407);
|
|
2005
|
+
var _repairIllustration = _interopRequireDefault(__webpack_require__(7880));
|
|
2006
|
+
var _CapButton = _interopRequireDefault(__webpack_require__(8793));
|
|
2007
|
+
var _CapHeading = _interopRequireDefault(__webpack_require__(8053));
|
|
2008
|
+
var _CapImage = _interopRequireDefault(__webpack_require__(5842));
|
|
2009
|
+
var _messages = _interopRequireDefault(__webpack_require__(7976));
|
|
2010
|
+
var _styles = _interopRequireDefault(__webpack_require__(2208));
|
|
2011
|
+
var _jsxRuntime = __webpack_require__(4848);
|
|
2012
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
2013
|
+
const CapSomethingWentWrong = _ref => {
|
|
2014
|
+
let {
|
|
2015
|
+
intl: {
|
|
2016
|
+
formatMessage
|
|
2017
|
+
},
|
|
2018
|
+
className,
|
|
2019
|
+
titleClassName,
|
|
2020
|
+
descClassName,
|
|
2021
|
+
buttonClassName,
|
|
2022
|
+
title,
|
|
2023
|
+
description,
|
|
2024
|
+
reloadText,
|
|
2025
|
+
url,
|
|
2026
|
+
onClickReload
|
|
2027
|
+
} = _ref;
|
|
2028
|
+
const handleReload = () => {
|
|
2029
|
+
var _window$location;
|
|
2030
|
+
if (onClickReload) {
|
|
2031
|
+
onClickReload();
|
|
2032
|
+
return;
|
|
2033
|
+
}
|
|
2034
|
+
if ((_window$location = window.location) != null && (_window$location = _window$location.pathname) != null && _window$location.includes('somethingwentwrong')) {
|
|
2035
|
+
window.location.href = url;
|
|
2036
|
+
} else {
|
|
2037
|
+
window.location.reload();
|
|
2038
|
+
}
|
|
2039
|
+
};
|
|
2040
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
2041
|
+
className: (0, _classnames.default)(_styles.default['cap-something-went-wrong'], className),
|
|
2042
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_CapImage.default, {
|
|
2043
|
+
src: _repairIllustration.default,
|
|
2044
|
+
alt: "Repair illustration fallback"
|
|
2045
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapHeading.default, {
|
|
2046
|
+
type: "h3",
|
|
2047
|
+
className: titleClassName,
|
|
2048
|
+
children: title || formatMessage(_messages.default.defaultTitle)
|
|
2049
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapHeading.default, {
|
|
2050
|
+
type: "h5",
|
|
2051
|
+
className: descClassName,
|
|
2052
|
+
children: description || formatMessage(_messages.default.defaultDescription)
|
|
2053
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapButton.default, {
|
|
2054
|
+
type: "link",
|
|
2055
|
+
className: (0, _classnames.default)(_styles.default['cap-something-went-wrong-button'], buttonClassName),
|
|
2056
|
+
onClick: handleReload,
|
|
2057
|
+
children: reloadText || formatMessage(_messages.default.defaultReloadText)
|
|
2058
|
+
})]
|
|
2059
|
+
});
|
|
2060
|
+
};
|
|
2061
|
+
var _default = exports["default"] = (0, _reactIntl.injectIntl)(CapSomethingWentWrong);
|
|
2062
|
+
|
|
2063
|
+
/***/ }),
|
|
2064
|
+
|
|
2065
|
+
/***/ 7659:
|
|
2066
|
+
/***/ ((module) => {
|
|
2067
|
+
|
|
2068
|
+
"use strict";
|
|
2069
|
+
|
|
2070
|
+
|
|
2071
|
+
var memo = {};
|
|
2072
|
+
|
|
2073
|
+
/* istanbul ignore next */
|
|
2074
|
+
function getTarget(target) {
|
|
2075
|
+
if (typeof memo[target] === "undefined") {
|
|
2076
|
+
var styleTarget = document.querySelector(target);
|
|
2077
|
+
|
|
2078
|
+
// Special case to return head of iframe instead of iframe itself
|
|
2079
|
+
if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {
|
|
2080
|
+
try {
|
|
2081
|
+
// This will throw an exception if access to iframe is blocked
|
|
2082
|
+
// due to cross-origin restrictions
|
|
2083
|
+
styleTarget = styleTarget.contentDocument.head;
|
|
2084
|
+
} catch (e) {
|
|
2085
|
+
// istanbul ignore next
|
|
2086
|
+
styleTarget = null;
|
|
2087
|
+
}
|
|
2088
|
+
}
|
|
2089
|
+
memo[target] = styleTarget;
|
|
2090
|
+
}
|
|
2091
|
+
return memo[target];
|
|
2092
|
+
}
|
|
2093
|
+
|
|
2094
|
+
/* istanbul ignore next */
|
|
2095
|
+
function insertBySelector(insert, style) {
|
|
2096
|
+
var target = getTarget(insert);
|
|
2097
|
+
if (!target) {
|
|
2098
|
+
throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");
|
|
2099
|
+
}
|
|
2100
|
+
target.appendChild(style);
|
|
2101
|
+
}
|
|
2102
|
+
module.exports = insertBySelector;
|
|
2103
|
+
|
|
2104
|
+
/***/ }),
|
|
2105
|
+
|
|
2106
|
+
/***/ 7873:
|
|
2107
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
2108
|
+
|
|
2109
|
+
"use strict";
|
|
2110
|
+
|
|
2111
|
+
|
|
2112
|
+
exports.__esModule = true;
|
|
2113
|
+
exports["default"] = void 0;
|
|
2114
|
+
var _reactIntl = __webpack_require__(6407);
|
|
2115
|
+
const scope = 'blaze.components.CapImportMFEComponent';
|
|
2116
|
+
var _default = exports["default"] = (0, _reactIntl.defineMessages)({
|
|
2117
|
+
loadingFallbackMsg: {
|
|
2118
|
+
id: scope + ".loadingFallbackMsg",
|
|
2119
|
+
defaultMessage: 'Loading...'
|
|
2120
|
+
},
|
|
2121
|
+
incorrectSystem: {
|
|
2122
|
+
id: scope + ".incorrectSystem",
|
|
2123
|
+
defaultMessage: 'Incorrect remote system configuration!'
|
|
2124
|
+
},
|
|
2125
|
+
incorrectSystemDesc: {
|
|
2126
|
+
id: scope + ".incorrectSystemDesc",
|
|
2127
|
+
defaultMessage: 'URL, scope or module not specified properly for remote system to be imported. Please re-check the configuration.'
|
|
2128
|
+
}
|
|
2129
|
+
});
|
|
2130
|
+
|
|
2131
|
+
/***/ }),
|
|
2132
|
+
|
|
2133
|
+
/***/ 7880:
|
|
2134
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
2135
|
+
|
|
2136
|
+
"use strict";
|
|
2137
|
+
module.exports = __webpack_require__.p + "assets/repair-illustration.png";
|
|
2138
|
+
|
|
2139
|
+
/***/ }),
|
|
2140
|
+
|
|
2141
|
+
/***/ 7976:
|
|
2142
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
2143
|
+
|
|
2144
|
+
"use strict";
|
|
2145
|
+
|
|
2146
|
+
|
|
2147
|
+
exports.__esModule = true;
|
|
2148
|
+
exports["default"] = void 0;
|
|
2149
|
+
var _reactIntl = __webpack_require__(6407);
|
|
2150
|
+
const scope = 'blaze.components.CapSomethingWentWrong';
|
|
2151
|
+
var _default = exports["default"] = (0, _reactIntl.defineMessages)({
|
|
2152
|
+
defaultTitle: {
|
|
2153
|
+
id: scope + ".defaultTitle",
|
|
2154
|
+
defaultMessage: 'Sorry, something went wrong.'
|
|
2155
|
+
},
|
|
2156
|
+
defaultDescription: {
|
|
2157
|
+
id: scope + ".defaultDescription",
|
|
2158
|
+
defaultMessage: 'Please try again. If this issue occurs again, please reach out to Capillary support team.'
|
|
2159
|
+
},
|
|
2160
|
+
defaultReloadText: {
|
|
2161
|
+
id: scope + ".defaultReloadText",
|
|
2162
|
+
defaultMessage: 'Try refreshing again'
|
|
2163
|
+
}
|
|
2164
|
+
});
|
|
2165
|
+
|
|
2166
|
+
/***/ }),
|
|
2167
|
+
|
|
2168
|
+
/***/ 8053:
|
|
2169
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
2170
|
+
|
|
2171
|
+
"use strict";
|
|
2172
|
+
|
|
2173
|
+
|
|
2174
|
+
exports.__esModule = true;
|
|
2175
|
+
exports["default"] = void 0;
|
|
2176
|
+
var _CapHeading = _interopRequireDefault(__webpack_require__(5821));
|
|
2177
|
+
exports["default"] = _CapHeading.default;
|
|
2178
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
2179
|
+
|
|
2180
|
+
/***/ }),
|
|
2181
|
+
|
|
2182
|
+
/***/ 8793:
|
|
2183
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
2184
|
+
|
|
2185
|
+
"use strict";
|
|
2186
|
+
|
|
2187
|
+
|
|
2188
|
+
exports.__esModule = true;
|
|
2189
|
+
exports["default"] = void 0;
|
|
2190
|
+
var _CapButton = _interopRequireDefault(__webpack_require__(2531));
|
|
2191
|
+
exports["default"] = _CapButton.default;
|
|
2192
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
2193
|
+
|
|
2194
|
+
/***/ }),
|
|
2195
|
+
|
|
2196
|
+
/***/ 9206:
|
|
2197
|
+
/***/ ((module) => {
|
|
2198
|
+
|
|
2199
|
+
"use strict";
|
|
2200
|
+
module.exports = require("react");
|
|
2201
|
+
|
|
2202
|
+
/***/ }),
|
|
2203
|
+
|
|
2204
|
+
/***/ 9214:
|
|
2205
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
2206
|
+
|
|
2207
|
+
"use strict";
|
|
2208
|
+
|
|
2209
|
+
|
|
2210
|
+
exports.__esModule = true;
|
|
2211
|
+
exports["default"] = void 0;
|
|
2212
|
+
var _CapSomethingWentWrong = _interopRequireDefault(__webpack_require__(7227));
|
|
2213
|
+
exports["default"] = _CapSomethingWentWrong.default;
|
|
2214
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
2215
|
+
|
|
2216
|
+
/***/ }),
|
|
2217
|
+
|
|
2218
|
+
/***/ 9319:
|
|
2219
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
2220
|
+
|
|
2221
|
+
"use strict";
|
|
2222
|
+
|
|
2223
|
+
|
|
2224
|
+
exports.__esModule = true;
|
|
2225
|
+
exports.BackIcon = void 0;
|
|
2226
|
+
var _Back = _interopRequireDefault(__webpack_require__(2680));
|
|
2227
|
+
exports.BackIcon = _Back.default;
|
|
2228
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
2229
|
+
|
|
2230
|
+
/***/ }),
|
|
2231
|
+
|
|
2232
|
+
/***/ 9873:
|
|
2233
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
2234
|
+
|
|
2235
|
+
"use strict";
|
|
2236
|
+
__webpack_require__.r(__webpack_exports__);
|
|
2237
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2238
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
2239
|
+
/* harmony export */ });
|
|
2240
|
+
/* harmony import */ var _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5072);
|
|
2241
|
+
/* 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__);
|
|
2242
|
+
/* harmony import */ var _node_modules_style_loader_dist_runtime_singletonStyleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4284);
|
|
2243
|
+
/* 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__);
|
|
2244
|
+
/* harmony import */ var _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7659);
|
|
2245
|
+
/* 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__);
|
|
2246
|
+
/* harmony import */ var _node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(5056);
|
|
2247
|
+
/* 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__);
|
|
2248
|
+
/* harmony import */ var _node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(540);
|
|
2249
|
+
/* 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__);
|
|
2250
|
+
/* 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__(3232);
|
|
2251
|
+
/* 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__);
|
|
2252
|
+
/* harmony reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
2253
|
+
/* 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__]
|
|
2254
|
+
/* harmony reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
|
|
2255
|
+
|
|
2256
|
+
|
|
2257
|
+
|
|
2258
|
+
|
|
2259
|
+
|
|
2260
|
+
|
|
2261
|
+
|
|
2262
|
+
|
|
2263
|
+
|
|
2264
|
+
|
|
2265
|
+
|
|
2266
|
+
var options = {};
|
|
2267
|
+
|
|
2268
|
+
;
|
|
2269
|
+
options.setAttributes = (_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());
|
|
2270
|
+
options.insert = _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
|
|
2271
|
+
options.domAPI = (_node_modules_style_loader_dist_runtime_singletonStyleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
|
|
2272
|
+
options.insertStyleElement = (_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());
|
|
2273
|
+
|
|
2274
|
+
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);
|
|
2275
|
+
|
|
2276
|
+
|
|
2277
|
+
|
|
2278
|
+
|
|
2279
|
+
/* 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);
|
|
2280
|
+
|
|
2281
|
+
|
|
2282
|
+
/***/ })
|
|
2283
|
+
|
|
2284
|
+
/******/ });
|
|
2285
|
+
/************************************************************************/
|
|
2286
|
+
/******/ // The module cache
|
|
2287
|
+
/******/ var __webpack_module_cache__ = {};
|
|
2288
|
+
/******/
|
|
2289
|
+
/******/ // The require function
|
|
2290
|
+
/******/ function __webpack_require__(moduleId) {
|
|
2291
|
+
/******/ // Check if module is in cache
|
|
2292
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
2293
|
+
/******/ if (cachedModule !== undefined) {
|
|
2294
|
+
/******/ return cachedModule.exports;
|
|
2295
|
+
/******/ }
|
|
2296
|
+
/******/ // Create a new module (and put it into the cache)
|
|
2297
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
2298
|
+
/******/ id: moduleId,
|
|
2299
|
+
/******/ // no module.loaded needed
|
|
2300
|
+
/******/ exports: {}
|
|
2301
|
+
/******/ };
|
|
2302
|
+
/******/
|
|
2303
|
+
/******/ // Execute the module function
|
|
2304
|
+
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
2305
|
+
/******/
|
|
2306
|
+
/******/ // Return the exports of the module
|
|
2307
|
+
/******/ return module.exports;
|
|
2308
|
+
/******/ }
|
|
2309
|
+
/******/
|
|
2310
|
+
/************************************************************************/
|
|
2311
|
+
/******/ /* webpack/runtime/compat get default export */
|
|
2312
|
+
/******/ (() => {
|
|
2313
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
2314
|
+
/******/ __webpack_require__.n = (module) => {
|
|
2315
|
+
/******/ var getter = module && module.__esModule ?
|
|
2316
|
+
/******/ () => (module['default']) :
|
|
2317
|
+
/******/ () => (module);
|
|
2318
|
+
/******/ __webpack_require__.d(getter, { a: getter });
|
|
2319
|
+
/******/ return getter;
|
|
2320
|
+
/******/ };
|
|
2321
|
+
/******/ })();
|
|
2322
|
+
/******/
|
|
2323
|
+
/******/ /* webpack/runtime/define property getters */
|
|
2324
|
+
/******/ (() => {
|
|
2325
|
+
/******/ // define getter functions for harmony exports
|
|
2326
|
+
/******/ __webpack_require__.d = (exports, definition) => {
|
|
2327
|
+
/******/ for(var key in definition) {
|
|
2328
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
2329
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
2330
|
+
/******/ }
|
|
2331
|
+
/******/ }
|
|
2332
|
+
/******/ };
|
|
2333
|
+
/******/ })();
|
|
2334
|
+
/******/
|
|
2335
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
2336
|
+
/******/ (() => {
|
|
2337
|
+
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
2338
|
+
/******/ })();
|
|
2339
|
+
/******/
|
|
2340
|
+
/******/ /* webpack/runtime/make namespace object */
|
|
2341
|
+
/******/ (() => {
|
|
2342
|
+
/******/ // define __esModule on exports
|
|
2343
|
+
/******/ __webpack_require__.r = (exports) => {
|
|
2344
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
2345
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2346
|
+
/******/ }
|
|
2347
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
2348
|
+
/******/ };
|
|
2349
|
+
/******/ })();
|
|
2350
|
+
/******/
|
|
2351
|
+
/******/ /* webpack/runtime/sharing */
|
|
2352
|
+
/******/ (() => {
|
|
2353
|
+
/******/ __webpack_require__.S = {};
|
|
2354
|
+
/******/ var initPromises = {};
|
|
2355
|
+
/******/ var initTokens = {};
|
|
2356
|
+
/******/ __webpack_require__.I = (name, initScope) => {
|
|
2357
|
+
/******/ if(!initScope) initScope = [];
|
|
2358
|
+
/******/ // handling circular init calls
|
|
2359
|
+
/******/ var initToken = initTokens[name];
|
|
2360
|
+
/******/ if(!initToken) initToken = initTokens[name] = {};
|
|
2361
|
+
/******/ if(initScope.indexOf(initToken) >= 0) return;
|
|
2362
|
+
/******/ initScope.push(initToken);
|
|
2363
|
+
/******/ // only runs once
|
|
2364
|
+
/******/ if(initPromises[name]) return initPromises[name];
|
|
2365
|
+
/******/ // creates a new share scope if needed
|
|
2366
|
+
/******/ if(!__webpack_require__.o(__webpack_require__.S, name)) __webpack_require__.S[name] = {};
|
|
2367
|
+
/******/ // runs all init snippets from all modules reachable
|
|
2368
|
+
/******/ var scope = __webpack_require__.S[name];
|
|
2369
|
+
/******/ var warn = (msg) => {
|
|
2370
|
+
/******/ if (typeof console !== "undefined" && console.warn) console.warn(msg);
|
|
2371
|
+
/******/ };
|
|
2372
|
+
/******/ var uniqueName = "@capillarytech/blaze-ui";
|
|
2373
|
+
/******/ var register = (name, version, factory, eager) => {
|
|
2374
|
+
/******/ var versions = scope[name] = scope[name] || {};
|
|
2375
|
+
/******/ var activeVersion = versions[version];
|
|
2376
|
+
/******/ if(!activeVersion || (!activeVersion.loaded && (!eager != !activeVersion.eager ? eager : uniqueName > activeVersion.from))) versions[version] = { get: factory, from: uniqueName, eager: !!eager };
|
|
2377
|
+
/******/ };
|
|
2378
|
+
/******/ var initExternal = (id) => {
|
|
2379
|
+
/******/ var handleError = (err) => (warn("Initialization of sharing external failed: " + err));
|
|
2380
|
+
/******/ try {
|
|
2381
|
+
/******/ var module = __webpack_require__(id);
|
|
2382
|
+
/******/ if(!module) return;
|
|
2383
|
+
/******/ var initFn = (module) => (module && module.init && module.init(__webpack_require__.S[name], initScope))
|
|
2384
|
+
/******/ if(module.then) return promises.push(module.then(initFn, handleError));
|
|
2385
|
+
/******/ var initResult = initFn(module);
|
|
2386
|
+
/******/ if(initResult && initResult.then) return promises.push(initResult['catch'](handleError));
|
|
2387
|
+
/******/ } catch(err) { handleError(err); }
|
|
2388
|
+
/******/ }
|
|
2389
|
+
/******/ var promises = [];
|
|
2390
|
+
/******/ switch(name) {
|
|
2391
|
+
/******/ }
|
|
2392
|
+
/******/ if(!promises.length) return initPromises[name] = 1;
|
|
2393
|
+
/******/ return initPromises[name] = Promise.all(promises).then(() => (initPromises[name] = 1));
|
|
2394
|
+
/******/ };
|
|
2395
|
+
/******/ })();
|
|
2396
|
+
/******/
|
|
2397
|
+
/******/ /* webpack/runtime/publicPath */
|
|
2398
|
+
/******/ (() => {
|
|
2399
|
+
/******/ __webpack_require__.p = "";
|
|
2400
|
+
/******/ })();
|
|
2401
|
+
/******/
|
|
2402
|
+
/******/ /* webpack/runtime/nonce */
|
|
2403
|
+
/******/ (() => {
|
|
2404
|
+
/******/ __webpack_require__.nc = undefined;
|
|
2405
|
+
/******/ })();
|
|
2406
|
+
/******/
|
|
2407
|
+
/************************************************************************/
|
|
2408
|
+
var __webpack_exports__ = {};
|
|
2409
|
+
// This entry needs to be wrapped in an IIFE because it needs to be in strict mode.
|
|
2410
|
+
(() => {
|
|
2411
|
+
"use strict";
|
|
2412
|
+
var exports = __webpack_exports__;
|
|
2413
|
+
|
|
2414
|
+
|
|
2415
|
+
exports.__esModule = true;
|
|
2416
|
+
exports["default"] = void 0;
|
|
2417
|
+
var _CapImportMFEComponent = _interopRequireDefault(__webpack_require__(959));
|
|
2418
|
+
exports["default"] = _CapImportMFEComponent.default;
|
|
2419
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
2420
|
+
})();
|
|
2421
|
+
|
|
2422
|
+
module.exports = __webpack_exports__;
|
|
2423
|
+
/******/ })()
|
|
2424
|
+
;
|
|
2425
|
+
//# sourceMappingURL=index.js.map
|