@capillarytech/blaze-ui 5.2.1 → 5.3.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/.DS_Store +0 -0
- package/CapCondition/index.js +0 -1
- package/CapCondition/index.js.map +1 -1
- package/CapDatePicker/index.d.ts.map +1 -1
- package/CapDatePicker/index.js +0 -1
- package/CapDatePicker/index.js.map +1 -1
- package/CapDateRangePicker/README.md +159 -0
- package/CapDateRangePicker/index.d.ts +11 -0
- package/CapDateRangePicker/index.d.ts.map +1 -0
- package/CapDateRangePicker/index.js +768 -7300
- package/CapDateRangePicker/index.js.map +1 -1
- package/CapDateRangePicker/types.d.ts +142 -0
- package/CapDateRangePicker/types.d.ts.map +1 -0
- package/CapEmptyDivWithBorder/index.js +9 -647
- package/CapEmptyDivWithBorder/index.js.map +1 -1
- package/CapMobileDateRangePicker/index.js +847 -7131
- package/CapMobileDateRangePicker/index.js.map +1 -1
- package/index.d.ts +2 -2
- package/index.d.ts.map +1 -1
- package/index.js +281 -133
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/styles/_variables.scss +8 -0
- package/CapEmptyDivWithBorder/index.d.ts +0 -12
- package/CapEmptyDivWithBorder/index.d.ts.map +0 -1
- package/CapEmptyDivWithBorder/types.d.ts +0 -26
- package/CapEmptyDivWithBorder/types.d.ts.map +0 -1
|
@@ -1,562 +1,11 @@
|
|
|
1
1
|
/******/ (() => { // webpackBootstrap
|
|
2
|
+
/******/ "use strict";
|
|
2
3
|
/******/ var __webpack_modules__ = ({
|
|
3
4
|
|
|
4
|
-
/***/
|
|
5
|
+
/***/ 76480:
|
|
5
6
|
/***/ ((module) => {
|
|
6
7
|
|
|
7
|
-
|
|
8
|
-
module.exports = require("react");
|
|
9
|
-
|
|
10
|
-
/***/ }),
|
|
11
|
-
|
|
12
|
-
/***/ 10540:
|
|
13
|
-
/***/ ((module) => {
|
|
14
|
-
|
|
15
|
-
"use strict";
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
/* istanbul ignore next */
|
|
19
|
-
function insertStyleElement(options) {
|
|
20
|
-
var element = document.createElement("style");
|
|
21
|
-
options.setAttributes(element, options.attributes);
|
|
22
|
-
options.insert(element, options.options);
|
|
23
|
-
return element;
|
|
24
|
-
}
|
|
25
|
-
module.exports = insertStyleElement;
|
|
26
|
-
|
|
27
|
-
/***/ }),
|
|
28
|
-
|
|
29
|
-
/***/ 21020:
|
|
30
|
-
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
31
|
-
|
|
32
|
-
"use strict";
|
|
33
|
-
/**
|
|
34
|
-
* @license React
|
|
35
|
-
* react-jsx-runtime.production.min.js
|
|
36
|
-
*
|
|
37
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
38
|
-
*
|
|
39
|
-
* This source code is licensed under the MIT license found in the
|
|
40
|
-
* LICENSE file in the root directory of this source tree.
|
|
41
|
-
*/
|
|
42
|
-
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};
|
|
43
|
-
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;
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
/***/ }),
|
|
47
|
-
|
|
48
|
-
/***/ 31601:
|
|
49
|
-
/***/ ((module) => {
|
|
50
|
-
|
|
51
|
-
"use strict";
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
module.exports = function (i) {
|
|
55
|
-
return i[1];
|
|
56
|
-
};
|
|
57
|
-
|
|
58
|
-
/***/ }),
|
|
59
|
-
|
|
60
|
-
/***/ 46942:
|
|
61
|
-
/***/ ((module, exports) => {
|
|
62
|
-
|
|
63
|
-
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
|
|
64
|
-
Copyright (c) 2018 Jed Watson.
|
|
65
|
-
Licensed under the MIT License (MIT), see
|
|
66
|
-
http://jedwatson.github.io/classnames
|
|
67
|
-
*/
|
|
68
|
-
/* global define */
|
|
69
|
-
|
|
70
|
-
(function () {
|
|
71
|
-
'use strict';
|
|
72
|
-
|
|
73
|
-
var hasOwn = {}.hasOwnProperty;
|
|
74
|
-
|
|
75
|
-
function classNames () {
|
|
76
|
-
var classes = '';
|
|
77
|
-
|
|
78
|
-
for (var i = 0; i < arguments.length; i++) {
|
|
79
|
-
var arg = arguments[i];
|
|
80
|
-
if (arg) {
|
|
81
|
-
classes = appendClass(classes, parseValue(arg));
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
return classes;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
function parseValue (arg) {
|
|
89
|
-
if (typeof arg === 'string' || typeof arg === 'number') {
|
|
90
|
-
return arg;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
if (typeof arg !== 'object') {
|
|
94
|
-
return '';
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
if (Array.isArray(arg)) {
|
|
98
|
-
return classNames.apply(null, arg);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {
|
|
102
|
-
return arg.toString();
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
var classes = '';
|
|
106
|
-
|
|
107
|
-
for (var key in arg) {
|
|
108
|
-
if (hasOwn.call(arg, key) && arg[key]) {
|
|
109
|
-
classes = appendClass(classes, key);
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
return classes;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
function appendClass (value, newClass) {
|
|
117
|
-
if (!newClass) {
|
|
118
|
-
return value;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
if (value) {
|
|
122
|
-
return value + ' ' + newClass;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
return value + newClass;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
if ( true && module.exports) {
|
|
129
|
-
classNames.default = classNames;
|
|
130
|
-
module.exports = classNames;
|
|
131
|
-
} else if (true) {
|
|
132
|
-
// register as 'classnames', consistent with npm package name
|
|
133
|
-
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function () {
|
|
134
|
-
return classNames;
|
|
135
|
-
}).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),
|
|
136
|
-
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
|
|
137
|
-
} else // removed by dead control flow
|
|
138
|
-
{}
|
|
139
|
-
}());
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
/***/ }),
|
|
143
|
-
|
|
144
|
-
/***/ 50791:
|
|
145
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
146
|
-
|
|
147
|
-
"use strict";
|
|
148
|
-
__webpack_require__.r(__webpack_exports__);
|
|
149
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
150
|
-
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
151
|
-
/* harmony export */ });
|
|
152
|
-
/* harmony import */ var _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(85072);
|
|
153
|
-
/* 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__);
|
|
154
|
-
/* harmony import */ var _node_modules_style_loader_dist_runtime_singletonStyleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(64284);
|
|
155
|
-
/* 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__);
|
|
156
|
-
/* harmony import */ var _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(77659);
|
|
157
|
-
/* 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__);
|
|
158
|
-
/* harmony import */ var _node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(55056);
|
|
159
|
-
/* 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__);
|
|
160
|
-
/* harmony import */ var _node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(10540);
|
|
161
|
-
/* 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__);
|
|
162
|
-
/* 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__(91878);
|
|
163
|
-
/* 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__);
|
|
164
|
-
/* harmony reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
165
|
-
/* 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__]
|
|
166
|
-
/* harmony reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
var options = {};
|
|
179
|
-
|
|
180
|
-
;
|
|
181
|
-
options.setAttributes = (_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());
|
|
182
|
-
options.insert = _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
|
|
183
|
-
options.domAPI = (_node_modules_style_loader_dist_runtime_singletonStyleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
|
|
184
|
-
options.insertStyleElement = (_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());
|
|
185
|
-
|
|
186
|
-
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);
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
/* 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);
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
/***/ }),
|
|
195
|
-
|
|
196
|
-
/***/ 55056:
|
|
197
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
198
|
-
|
|
199
|
-
"use strict";
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
/* istanbul ignore next */
|
|
203
|
-
function setAttributesWithoutAttributes(styleElement) {
|
|
204
|
-
var nonce = true ? __webpack_require__.nc : 0;
|
|
205
|
-
if (nonce) {
|
|
206
|
-
styleElement.setAttribute("nonce", nonce);
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
|
-
module.exports = setAttributesWithoutAttributes;
|
|
210
|
-
|
|
211
|
-
/***/ }),
|
|
212
|
-
|
|
213
|
-
/***/ 64284:
|
|
214
|
-
/***/ ((module) => {
|
|
215
|
-
|
|
216
|
-
"use strict";
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
/* istanbul ignore next */
|
|
220
|
-
var replaceText = function replaceText() {
|
|
221
|
-
var textStore = [];
|
|
222
|
-
return function replace(index, replacement) {
|
|
223
|
-
textStore[index] = replacement;
|
|
224
|
-
return textStore.filter(Boolean).join("\n");
|
|
225
|
-
};
|
|
226
|
-
}();
|
|
227
|
-
|
|
228
|
-
/* istanbul ignore next */
|
|
229
|
-
function apply(styleElement, index, remove, obj) {
|
|
230
|
-
var css;
|
|
231
|
-
if (remove) {
|
|
232
|
-
css = "";
|
|
233
|
-
} else {
|
|
234
|
-
css = "";
|
|
235
|
-
if (obj.supports) {
|
|
236
|
-
css += "@supports (".concat(obj.supports, ") {");
|
|
237
|
-
}
|
|
238
|
-
if (obj.media) {
|
|
239
|
-
css += "@media ".concat(obj.media, " {");
|
|
240
|
-
}
|
|
241
|
-
var needLayer = typeof obj.layer !== "undefined";
|
|
242
|
-
if (needLayer) {
|
|
243
|
-
css += "@layer".concat(obj.layer.length > 0 ? " ".concat(obj.layer) : "", " {");
|
|
244
|
-
}
|
|
245
|
-
css += obj.css;
|
|
246
|
-
if (needLayer) {
|
|
247
|
-
css += "}";
|
|
248
|
-
}
|
|
249
|
-
if (obj.media) {
|
|
250
|
-
css += "}";
|
|
251
|
-
}
|
|
252
|
-
if (obj.supports) {
|
|
253
|
-
css += "}";
|
|
254
|
-
}
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
// For old IE
|
|
258
|
-
/* istanbul ignore if */
|
|
259
|
-
if (styleElement.styleSheet) {
|
|
260
|
-
styleElement.styleSheet.cssText = replaceText(index, css);
|
|
261
|
-
} else {
|
|
262
|
-
var cssNode = document.createTextNode(css);
|
|
263
|
-
var childNodes = styleElement.childNodes;
|
|
264
|
-
if (childNodes[index]) {
|
|
265
|
-
styleElement.removeChild(childNodes[index]);
|
|
266
|
-
}
|
|
267
|
-
if (childNodes.length) {
|
|
268
|
-
styleElement.insertBefore(cssNode, childNodes[index]);
|
|
269
|
-
} else {
|
|
270
|
-
styleElement.appendChild(cssNode);
|
|
271
|
-
}
|
|
272
|
-
}
|
|
273
|
-
}
|
|
274
|
-
var singletonData = {
|
|
275
|
-
singleton: null,
|
|
276
|
-
singletonCounter: 0
|
|
277
|
-
};
|
|
278
|
-
|
|
279
|
-
/* istanbul ignore next */
|
|
280
|
-
function domAPI(options) {
|
|
281
|
-
if (typeof document === "undefined") return {
|
|
282
|
-
update: function update() {},
|
|
283
|
-
remove: function remove() {}
|
|
284
|
-
};
|
|
285
|
-
|
|
286
|
-
// eslint-disable-next-line no-undef,no-use-before-define
|
|
287
|
-
var styleIndex = singletonData.singletonCounter++;
|
|
288
|
-
var styleElement =
|
|
289
|
-
// eslint-disable-next-line no-undef,no-use-before-define
|
|
290
|
-
singletonData.singleton || (
|
|
291
|
-
// eslint-disable-next-line no-undef,no-use-before-define
|
|
292
|
-
singletonData.singleton = options.insertStyleElement(options));
|
|
293
|
-
return {
|
|
294
|
-
update: function update(obj) {
|
|
295
|
-
apply(styleElement, styleIndex, false, obj);
|
|
296
|
-
},
|
|
297
|
-
remove: function remove(obj) {
|
|
298
|
-
apply(styleElement, styleIndex, true, obj);
|
|
299
|
-
}
|
|
300
|
-
};
|
|
301
|
-
}
|
|
302
|
-
module.exports = domAPI;
|
|
303
|
-
|
|
304
|
-
/***/ }),
|
|
305
|
-
|
|
306
|
-
/***/ 74848:
|
|
307
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
308
|
-
|
|
309
|
-
"use strict";
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
if (true) {
|
|
313
|
-
module.exports = __webpack_require__(21020);
|
|
314
|
-
} else // removed by dead control flow
|
|
315
|
-
{}
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
/***/ }),
|
|
319
|
-
|
|
320
|
-
/***/ 76314:
|
|
321
|
-
/***/ ((module) => {
|
|
322
|
-
|
|
323
|
-
"use strict";
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
/*
|
|
327
|
-
MIT License http://www.opensource.org/licenses/mit-license.php
|
|
328
|
-
Author Tobias Koppers @sokra
|
|
329
|
-
*/
|
|
330
|
-
module.exports = function (cssWithMappingToString) {
|
|
331
|
-
var list = [];
|
|
332
|
-
|
|
333
|
-
// return the list of modules as css string
|
|
334
|
-
list.toString = function toString() {
|
|
335
|
-
return this.map(function (item) {
|
|
336
|
-
var content = "";
|
|
337
|
-
var needLayer = typeof item[5] !== "undefined";
|
|
338
|
-
if (item[4]) {
|
|
339
|
-
content += "@supports (".concat(item[4], ") {");
|
|
340
|
-
}
|
|
341
|
-
if (item[2]) {
|
|
342
|
-
content += "@media ".concat(item[2], " {");
|
|
343
|
-
}
|
|
344
|
-
if (needLayer) {
|
|
345
|
-
content += "@layer".concat(item[5].length > 0 ? " ".concat(item[5]) : "", " {");
|
|
346
|
-
}
|
|
347
|
-
content += cssWithMappingToString(item);
|
|
348
|
-
if (needLayer) {
|
|
349
|
-
content += "}";
|
|
350
|
-
}
|
|
351
|
-
if (item[2]) {
|
|
352
|
-
content += "}";
|
|
353
|
-
}
|
|
354
|
-
if (item[4]) {
|
|
355
|
-
content += "}";
|
|
356
|
-
}
|
|
357
|
-
return content;
|
|
358
|
-
}).join("");
|
|
359
|
-
};
|
|
360
|
-
|
|
361
|
-
// import a list of modules into the list
|
|
362
|
-
list.i = function i(modules, media, dedupe, supports, layer) {
|
|
363
|
-
if (typeof modules === "string") {
|
|
364
|
-
modules = [[null, modules, undefined]];
|
|
365
|
-
}
|
|
366
|
-
var alreadyImportedModules = {};
|
|
367
|
-
if (dedupe) {
|
|
368
|
-
for (var k = 0; k < this.length; k++) {
|
|
369
|
-
var id = this[k][0];
|
|
370
|
-
if (id != null) {
|
|
371
|
-
alreadyImportedModules[id] = true;
|
|
372
|
-
}
|
|
373
|
-
}
|
|
374
|
-
}
|
|
375
|
-
for (var _k = 0; _k < modules.length; _k++) {
|
|
376
|
-
var item = [].concat(modules[_k]);
|
|
377
|
-
if (dedupe && alreadyImportedModules[item[0]]) {
|
|
378
|
-
continue;
|
|
379
|
-
}
|
|
380
|
-
if (typeof layer !== "undefined") {
|
|
381
|
-
if (typeof item[5] === "undefined") {
|
|
382
|
-
item[5] = layer;
|
|
383
|
-
} else {
|
|
384
|
-
item[1] = "@layer".concat(item[5].length > 0 ? " ".concat(item[5]) : "", " {").concat(item[1], "}");
|
|
385
|
-
item[5] = layer;
|
|
386
|
-
}
|
|
387
|
-
}
|
|
388
|
-
if (media) {
|
|
389
|
-
if (!item[2]) {
|
|
390
|
-
item[2] = media;
|
|
391
|
-
} else {
|
|
392
|
-
item[1] = "@media ".concat(item[2], " {").concat(item[1], "}");
|
|
393
|
-
item[2] = media;
|
|
394
|
-
}
|
|
395
|
-
}
|
|
396
|
-
if (supports) {
|
|
397
|
-
if (!item[4]) {
|
|
398
|
-
item[4] = "".concat(supports);
|
|
399
|
-
} else {
|
|
400
|
-
item[1] = "@supports (".concat(item[4], ") {").concat(item[1], "}");
|
|
401
|
-
item[4] = supports;
|
|
402
|
-
}
|
|
403
|
-
}
|
|
404
|
-
list.push(item);
|
|
405
|
-
}
|
|
406
|
-
};
|
|
407
|
-
return list;
|
|
408
|
-
};
|
|
409
|
-
|
|
410
|
-
/***/ }),
|
|
411
|
-
|
|
412
|
-
/***/ 77659:
|
|
413
|
-
/***/ ((module) => {
|
|
414
|
-
|
|
415
|
-
"use strict";
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
var memo = {};
|
|
419
|
-
|
|
420
|
-
/* istanbul ignore next */
|
|
421
|
-
function getTarget(target) {
|
|
422
|
-
if (typeof memo[target] === "undefined") {
|
|
423
|
-
var styleTarget = document.querySelector(target);
|
|
424
|
-
|
|
425
|
-
// Special case to return head of iframe instead of iframe itself
|
|
426
|
-
if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {
|
|
427
|
-
try {
|
|
428
|
-
// This will throw an exception if access to iframe is blocked
|
|
429
|
-
// due to cross-origin restrictions
|
|
430
|
-
styleTarget = styleTarget.contentDocument.head;
|
|
431
|
-
} catch (e) {
|
|
432
|
-
// istanbul ignore next
|
|
433
|
-
styleTarget = null;
|
|
434
|
-
}
|
|
435
|
-
}
|
|
436
|
-
memo[target] = styleTarget;
|
|
437
|
-
}
|
|
438
|
-
return memo[target];
|
|
439
|
-
}
|
|
440
|
-
|
|
441
|
-
/* istanbul ignore next */
|
|
442
|
-
function insertBySelector(insert, style) {
|
|
443
|
-
var target = getTarget(insert);
|
|
444
|
-
if (!target) {
|
|
445
|
-
throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");
|
|
446
|
-
}
|
|
447
|
-
target.appendChild(style);
|
|
448
|
-
}
|
|
449
|
-
module.exports = insertBySelector;
|
|
450
|
-
|
|
451
|
-
/***/ }),
|
|
452
|
-
|
|
453
|
-
/***/ 85072:
|
|
454
|
-
/***/ ((module) => {
|
|
455
|
-
|
|
456
|
-
"use strict";
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
var stylesInDOM = [];
|
|
460
|
-
function getIndexByIdentifier(identifier) {
|
|
461
|
-
var result = -1;
|
|
462
|
-
for (var i = 0; i < stylesInDOM.length; i++) {
|
|
463
|
-
if (stylesInDOM[i].identifier === identifier) {
|
|
464
|
-
result = i;
|
|
465
|
-
break;
|
|
466
|
-
}
|
|
467
|
-
}
|
|
468
|
-
return result;
|
|
469
|
-
}
|
|
470
|
-
function modulesToDom(list, options) {
|
|
471
|
-
var idCountMap = {};
|
|
472
|
-
var identifiers = [];
|
|
473
|
-
for (var i = 0; i < list.length; i++) {
|
|
474
|
-
var item = list[i];
|
|
475
|
-
var id = options.base ? item[0] + options.base : item[0];
|
|
476
|
-
var count = idCountMap[id] || 0;
|
|
477
|
-
var identifier = "".concat(id, " ").concat(count);
|
|
478
|
-
idCountMap[id] = count + 1;
|
|
479
|
-
var indexByIdentifier = getIndexByIdentifier(identifier);
|
|
480
|
-
var obj = {
|
|
481
|
-
css: item[1],
|
|
482
|
-
media: item[2],
|
|
483
|
-
sourceMap: item[3],
|
|
484
|
-
supports: item[4],
|
|
485
|
-
layer: item[5]
|
|
486
|
-
};
|
|
487
|
-
if (indexByIdentifier !== -1) {
|
|
488
|
-
stylesInDOM[indexByIdentifier].references++;
|
|
489
|
-
stylesInDOM[indexByIdentifier].updater(obj);
|
|
490
|
-
} else {
|
|
491
|
-
var updater = addElementStyle(obj, options);
|
|
492
|
-
options.byIndex = i;
|
|
493
|
-
stylesInDOM.splice(i, 0, {
|
|
494
|
-
identifier: identifier,
|
|
495
|
-
updater: updater,
|
|
496
|
-
references: 1
|
|
497
|
-
});
|
|
498
|
-
}
|
|
499
|
-
identifiers.push(identifier);
|
|
500
|
-
}
|
|
501
|
-
return identifiers;
|
|
502
|
-
}
|
|
503
|
-
function addElementStyle(obj, options) {
|
|
504
|
-
var api = options.domAPI(options);
|
|
505
|
-
api.update(obj);
|
|
506
|
-
var updater = function updater(newObj) {
|
|
507
|
-
if (newObj) {
|
|
508
|
-
if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap && newObj.supports === obj.supports && newObj.layer === obj.layer) {
|
|
509
|
-
return;
|
|
510
|
-
}
|
|
511
|
-
api.update(obj = newObj);
|
|
512
|
-
} else {
|
|
513
|
-
api.remove();
|
|
514
|
-
}
|
|
515
|
-
};
|
|
516
|
-
return updater;
|
|
517
|
-
}
|
|
518
|
-
module.exports = function (list, options) {
|
|
519
|
-
options = options || {};
|
|
520
|
-
list = list || [];
|
|
521
|
-
var lastIdentifiers = modulesToDom(list, options);
|
|
522
|
-
return function update(newList) {
|
|
523
|
-
newList = newList || [];
|
|
524
|
-
for (var i = 0; i < lastIdentifiers.length; i++) {
|
|
525
|
-
var identifier = lastIdentifiers[i];
|
|
526
|
-
var index = getIndexByIdentifier(identifier);
|
|
527
|
-
stylesInDOM[index].references--;
|
|
528
|
-
}
|
|
529
|
-
var newLastIdentifiers = modulesToDom(newList, options);
|
|
530
|
-
for (var _i = 0; _i < lastIdentifiers.length; _i++) {
|
|
531
|
-
var _identifier = lastIdentifiers[_i];
|
|
532
|
-
var _index = getIndexByIdentifier(_identifier);
|
|
533
|
-
if (stylesInDOM[_index].references === 0) {
|
|
534
|
-
stylesInDOM[_index].updater();
|
|
535
|
-
stylesInDOM.splice(_index, 1);
|
|
536
|
-
}
|
|
537
|
-
}
|
|
538
|
-
lastIdentifiers = newLastIdentifiers;
|
|
539
|
-
};
|
|
540
|
-
};
|
|
541
|
-
|
|
542
|
-
/***/ }),
|
|
543
|
-
|
|
544
|
-
/***/ 91878:
|
|
545
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
546
|
-
|
|
547
|
-
// Imports
|
|
548
|
-
var ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ = __webpack_require__(31601);
|
|
549
|
-
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(76314);
|
|
550
|
-
var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
|
|
551
|
-
// Module
|
|
552
|
-
___CSS_LOADER_EXPORT___.push([module.id, `.cap-empty-div-with-border{width:3rem;height:3rem;border:.071rem dashed #b3bac5;border-radius:1.5rem;background-color:#fafbfc}.cap-empty-div-with-border--no-width{border-radius:1.143rem}`, ""]);
|
|
553
|
-
// Exports
|
|
554
|
-
___CSS_LOADER_EXPORT___.locals = {
|
|
555
|
-
"cap-empty-div-with-border": `cap-empty-div-with-border`,
|
|
556
|
-
"cap-empty-div-with-border--no-width": `cap-empty-div-with-border--no-width`
|
|
557
|
-
};
|
|
558
|
-
module.exports = ___CSS_LOADER_EXPORT___;
|
|
559
|
-
|
|
8
|
+
module.exports = require("styled-components");
|
|
560
9
|
|
|
561
10
|
/***/ })
|
|
562
11
|
|
|
@@ -574,7 +23,7 @@ module.exports = ___CSS_LOADER_EXPORT___;
|
|
|
574
23
|
/******/ }
|
|
575
24
|
/******/ // Create a new module (and put it into the cache)
|
|
576
25
|
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
577
|
-
/******/ id
|
|
26
|
+
/******/ // no module.id needed
|
|
578
27
|
/******/ // no module.loaded needed
|
|
579
28
|
/******/ exports: {}
|
|
580
29
|
/******/ };
|
|
@@ -587,106 +36,19 @@ module.exports = ___CSS_LOADER_EXPORT___;
|
|
|
587
36
|
/******/ }
|
|
588
37
|
/******/
|
|
589
38
|
/************************************************************************/
|
|
590
|
-
/******/ /* webpack/runtime/compat get default export */
|
|
591
|
-
/******/ (() => {
|
|
592
|
-
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
593
|
-
/******/ __webpack_require__.n = (module) => {
|
|
594
|
-
/******/ var getter = module && module.__esModule ?
|
|
595
|
-
/******/ () => (module['default']) :
|
|
596
|
-
/******/ () => (module);
|
|
597
|
-
/******/ __webpack_require__.d(getter, { a: getter });
|
|
598
|
-
/******/ return getter;
|
|
599
|
-
/******/ };
|
|
600
|
-
/******/ })();
|
|
601
|
-
/******/
|
|
602
|
-
/******/ /* webpack/runtime/define property getters */
|
|
603
|
-
/******/ (() => {
|
|
604
|
-
/******/ // define getter functions for harmony exports
|
|
605
|
-
/******/ __webpack_require__.d = (exports, definition) => {
|
|
606
|
-
/******/ for(var key in definition) {
|
|
607
|
-
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
608
|
-
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
609
|
-
/******/ }
|
|
610
|
-
/******/ }
|
|
611
|
-
/******/ };
|
|
612
|
-
/******/ })();
|
|
613
|
-
/******/
|
|
614
|
-
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
615
|
-
/******/ (() => {
|
|
616
|
-
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
617
|
-
/******/ })();
|
|
618
|
-
/******/
|
|
619
|
-
/******/ /* webpack/runtime/make namespace object */
|
|
620
|
-
/******/ (() => {
|
|
621
|
-
/******/ // define __esModule on exports
|
|
622
|
-
/******/ __webpack_require__.r = (exports) => {
|
|
623
|
-
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
624
|
-
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
625
|
-
/******/ }
|
|
626
|
-
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
627
|
-
/******/ };
|
|
628
|
-
/******/ })();
|
|
629
|
-
/******/
|
|
630
|
-
/******/ /* webpack/runtime/nonce */
|
|
631
|
-
/******/ (() => {
|
|
632
|
-
/******/ __webpack_require__.nc = undefined;
|
|
633
|
-
/******/ })();
|
|
634
|
-
/******/
|
|
635
|
-
/************************************************************************/
|
|
636
39
|
var __webpack_exports__ = {};
|
|
637
|
-
// This entry needs to be wrapped in an IIFE because it
|
|
40
|
+
// This entry needs to be wrapped in an IIFE because it uses a non-standard name for the exports (exports).
|
|
638
41
|
(() => {
|
|
639
|
-
"use strict";
|
|
640
42
|
var exports = __webpack_exports__;
|
|
641
43
|
|
|
642
44
|
|
|
643
45
|
exports.__esModule = true;
|
|
644
46
|
exports["default"] = void 0;
|
|
645
|
-
var
|
|
646
|
-
var
|
|
647
|
-
var _styles = _interopRequireDefault(__webpack_require__(50791));
|
|
648
|
-
var _jsxRuntime = __webpack_require__(74848);
|
|
649
|
-
const _excluded = ["width", "height", "borderColor", "className", "style", "children"];
|
|
47
|
+
var _styledComponents = _interopRequireDefault(__webpack_require__(76480));
|
|
48
|
+
var _templateObject;
|
|
650
49
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
651
|
-
function
|
|
652
|
-
|
|
653
|
-
/**
|
|
654
|
-
* CapEmptyDivWithBorder Component
|
|
655
|
-
*
|
|
656
|
-
* A simple div component with customizable width, height, border, and background color.
|
|
657
|
-
* Migrated from styled-components to React functional component with CSS Modules.
|
|
658
|
-
*/
|
|
659
|
-
const CapEmptyDivWithBorder = _ref => {
|
|
660
|
-
let {
|
|
661
|
-
width = 42,
|
|
662
|
-
height = 42,
|
|
663
|
-
borderColor = '#b3bac5',
|
|
664
|
-
className,
|
|
665
|
-
style,
|
|
666
|
-
children
|
|
667
|
-
} = _ref,
|
|
668
|
-
rest = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
669
|
-
// Convert width and height to CSS values
|
|
670
|
-
const widthValue = typeof width === 'number' ? width + "px" : width;
|
|
671
|
-
const heightValue = typeof height === 'number' ? height + "px" : height;
|
|
672
|
-
|
|
673
|
-
// Calculate border-radius: 21px (1.5rem) if width is set, 16px (1.143rem) otherwise
|
|
674
|
-
const borderRadius = width ? '1.5rem' : '1.143rem';
|
|
675
|
-
const componentStyle = _extends({
|
|
676
|
-
width: widthValue,
|
|
677
|
-
height: heightValue,
|
|
678
|
-
border: "1px dashed " + borderColor,
|
|
679
|
-
borderRadius,
|
|
680
|
-
backgroundColor: '#fafbfc'
|
|
681
|
-
}, style);
|
|
682
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", _extends({
|
|
683
|
-
className: (0, _classnames.default)(_styles.default['cap-empty-div-with-border'], className),
|
|
684
|
-
style: componentStyle
|
|
685
|
-
}, rest, {
|
|
686
|
-
children: children
|
|
687
|
-
}));
|
|
688
|
-
};
|
|
689
|
-
CapEmptyDivWithBorder.displayName = 'CapEmptyDivWithBorder';
|
|
50
|
+
function _taggedTemplateLiteralLoose(e, t) { return t || (t = e.slice(0)), e.raw = t, e; }
|
|
51
|
+
const CapEmptyDivWithBorder = _styledComponents.default.div(_templateObject || (_templateObject = _taggedTemplateLiteralLoose(["\n width: ", "px;\n height: ", "px;\n border: ", ";\n border-radius: ", ";\n background-color: #fafbfc;\n"])), props => "" + props.width || '42', props => "" + props.height || '42', props => "1px dashed " + (props.borderColor || '#b3bac5'), props => props.width ? '21px' : '16px');
|
|
690
52
|
var _default = exports["default"] = CapEmptyDivWithBorder;
|
|
691
53
|
})();
|
|
692
54
|
|