@capillarytech/blaze-ui 2.0.3 → 2.0.4

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.
@@ -1,6 +1,23 @@
1
1
  /******/ (() => { // webpackBootstrap
2
2
  /******/ var __webpack_modules__ = ({
3
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
+
4
21
  /***/ 1020:
5
22
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
6
23
 
@@ -18,6 +35,18 @@ var f=__webpack_require__(9206),k=Symbol.for("react.element"),l=Symbol.for("reac
18
35
  function q(c,a,g){var b,d={},e=null,h=null;void 0!==g&&(e=""+g);void 0!==a.key&&(e=""+a.key);void 0!==a.ref&&(h=a.ref);for(b in a)m.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return{$$typeof:k,type:c,key:e,ref:h,props:d,_owner:n.current}}exports.Fragment=l;exports.jsx=q;exports.jsxs=q;
19
36
 
20
37
 
38
+ /***/ }),
39
+
40
+ /***/ 1601:
41
+ /***/ ((module) => {
42
+
43
+ "use strict";
44
+
45
+
46
+ module.exports = function (i) {
47
+ return i[1];
48
+ };
49
+
21
50
  /***/ }),
22
51
 
23
52
  /***/ 4273:
@@ -28,6 +57,99 @@ module.exports = require("antd-v5");
28
57
 
29
58
  /***/ }),
30
59
 
60
+ /***/ 4284:
61
+ /***/ ((module) => {
62
+
63
+ "use strict";
64
+
65
+
66
+ /* istanbul ignore next */
67
+ var replaceText = function replaceText() {
68
+ var textStore = [];
69
+ return function replace(index, replacement) {
70
+ textStore[index] = replacement;
71
+ return textStore.filter(Boolean).join("\n");
72
+ };
73
+ }();
74
+
75
+ /* istanbul ignore next */
76
+ function apply(styleElement, index, remove, obj) {
77
+ var css;
78
+ if (remove) {
79
+ css = "";
80
+ } else {
81
+ css = "";
82
+ if (obj.supports) {
83
+ css += "@supports (".concat(obj.supports, ") {");
84
+ }
85
+ if (obj.media) {
86
+ css += "@media ".concat(obj.media, " {");
87
+ }
88
+ var needLayer = typeof obj.layer !== "undefined";
89
+ if (needLayer) {
90
+ css += "@layer".concat(obj.layer.length > 0 ? " ".concat(obj.layer) : "", " {");
91
+ }
92
+ css += obj.css;
93
+ if (needLayer) {
94
+ css += "}";
95
+ }
96
+ if (obj.media) {
97
+ css += "}";
98
+ }
99
+ if (obj.supports) {
100
+ css += "}";
101
+ }
102
+ }
103
+
104
+ // For old IE
105
+ /* istanbul ignore if */
106
+ if (styleElement.styleSheet) {
107
+ styleElement.styleSheet.cssText = replaceText(index, css);
108
+ } else {
109
+ var cssNode = document.createTextNode(css);
110
+ var childNodes = styleElement.childNodes;
111
+ if (childNodes[index]) {
112
+ styleElement.removeChild(childNodes[index]);
113
+ }
114
+ if (childNodes.length) {
115
+ styleElement.insertBefore(cssNode, childNodes[index]);
116
+ } else {
117
+ styleElement.appendChild(cssNode);
118
+ }
119
+ }
120
+ }
121
+ var singletonData = {
122
+ singleton: null,
123
+ singletonCounter: 0
124
+ };
125
+
126
+ /* istanbul ignore next */
127
+ function domAPI(options) {
128
+ if (typeof document === "undefined") return {
129
+ update: function update() {},
130
+ remove: function remove() {}
131
+ };
132
+
133
+ // eslint-disable-next-line no-undef,no-use-before-define
134
+ var styleIndex = singletonData.singletonCounter++;
135
+ var styleElement =
136
+ // eslint-disable-next-line no-undef,no-use-before-define
137
+ singletonData.singleton || (
138
+ // eslint-disable-next-line no-undef,no-use-before-define
139
+ singletonData.singleton = options.insertStyleElement(options));
140
+ return {
141
+ update: function update(obj) {
142
+ apply(styleElement, styleIndex, false, obj);
143
+ },
144
+ remove: function remove(obj) {
145
+ apply(styleElement, styleIndex, true, obj);
146
+ }
147
+ };
148
+ }
149
+ module.exports = domAPI;
150
+
151
+ /***/ }),
152
+
31
153
  /***/ 4848:
32
154
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
33
155
 
@@ -40,6 +162,114 @@ if (true) {
40
162
  {}
41
163
 
42
164
 
165
+ /***/ }),
166
+
167
+ /***/ 5056:
168
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
169
+
170
+ "use strict";
171
+
172
+
173
+ /* istanbul ignore next */
174
+ function setAttributesWithoutAttributes(styleElement) {
175
+ var nonce = true ? __webpack_require__.nc : 0;
176
+ if (nonce) {
177
+ styleElement.setAttribute("nonce", nonce);
178
+ }
179
+ }
180
+ module.exports = setAttributesWithoutAttributes;
181
+
182
+ /***/ }),
183
+
184
+ /***/ 5072:
185
+ /***/ ((module) => {
186
+
187
+ "use strict";
188
+
189
+
190
+ var stylesInDOM = [];
191
+ function getIndexByIdentifier(identifier) {
192
+ var result = -1;
193
+ for (var i = 0; i < stylesInDOM.length; i++) {
194
+ if (stylesInDOM[i].identifier === identifier) {
195
+ result = i;
196
+ break;
197
+ }
198
+ }
199
+ return result;
200
+ }
201
+ function modulesToDom(list, options) {
202
+ var idCountMap = {};
203
+ var identifiers = [];
204
+ for (var i = 0; i < list.length; i++) {
205
+ var item = list[i];
206
+ var id = options.base ? item[0] + options.base : item[0];
207
+ var count = idCountMap[id] || 0;
208
+ var identifier = "".concat(id, " ").concat(count);
209
+ idCountMap[id] = count + 1;
210
+ var indexByIdentifier = getIndexByIdentifier(identifier);
211
+ var obj = {
212
+ css: item[1],
213
+ media: item[2],
214
+ sourceMap: item[3],
215
+ supports: item[4],
216
+ layer: item[5]
217
+ };
218
+ if (indexByIdentifier !== -1) {
219
+ stylesInDOM[indexByIdentifier].references++;
220
+ stylesInDOM[indexByIdentifier].updater(obj);
221
+ } else {
222
+ var updater = addElementStyle(obj, options);
223
+ options.byIndex = i;
224
+ stylesInDOM.splice(i, 0, {
225
+ identifier: identifier,
226
+ updater: updater,
227
+ references: 1
228
+ });
229
+ }
230
+ identifiers.push(identifier);
231
+ }
232
+ return identifiers;
233
+ }
234
+ function addElementStyle(obj, options) {
235
+ var api = options.domAPI(options);
236
+ api.update(obj);
237
+ var updater = function updater(newObj) {
238
+ if (newObj) {
239
+ if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap && newObj.supports === obj.supports && newObj.layer === obj.layer) {
240
+ return;
241
+ }
242
+ api.update(obj = newObj);
243
+ } else {
244
+ api.remove();
245
+ }
246
+ };
247
+ return updater;
248
+ }
249
+ module.exports = function (list, options) {
250
+ options = options || {};
251
+ list = list || [];
252
+ var lastIdentifiers = modulesToDom(list, options);
253
+ return function update(newList) {
254
+ newList = newList || [];
255
+ for (var i = 0; i < lastIdentifiers.length; i++) {
256
+ var identifier = lastIdentifiers[i];
257
+ var index = getIndexByIdentifier(identifier);
258
+ stylesInDOM[index].references--;
259
+ }
260
+ var newLastIdentifiers = modulesToDom(newList, options);
261
+ for (var _i = 0; _i < lastIdentifiers.length; _i++) {
262
+ var _identifier = lastIdentifiers[_i];
263
+ var _index = getIndexByIdentifier(_identifier);
264
+ if (stylesInDOM[_index].references === 0) {
265
+ stylesInDOM[_index].updater();
266
+ stylesInDOM.splice(_index, 1);
267
+ }
268
+ }
269
+ lastIdentifiers = newLastIdentifiers;
270
+ };
271
+ };
272
+
43
273
  /***/ }),
44
274
 
45
275
  /***/ 5115:
@@ -53,6 +283,7 @@ exports["default"] = void 0;
53
283
  var _antdV = __webpack_require__(4273);
54
284
  var _classnames = _interopRequireDefault(__webpack_require__(6942));
55
285
  var _react = _interopRequireDefault(__webpack_require__(9206));
286
+ var _styles = _interopRequireDefault(__webpack_require__(8773));
56
287
  var _jsxRuntime = __webpack_require__(4848);
57
288
  const _excluded = ["className", "checked", "disabled", "size"];
58
289
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
@@ -70,13 +301,105 @@ const CapSwitch = _ref => {
70
301
  checked: checked,
71
302
  disabled: disabled,
72
303
  size: size,
73
- className: (0, _classnames.default)('cap-switch-v2', className)
304
+ className: (0, _classnames.default)(_styles.default['cap-switch-v2'], className)
74
305
  }));
75
306
  };
76
307
  var _default = exports["default"] = CapSwitch;
77
308
 
78
309
  /***/ }),
79
310
 
311
+ /***/ 6314:
312
+ /***/ ((module) => {
313
+
314
+ "use strict";
315
+
316
+
317
+ /*
318
+ MIT License http://www.opensource.org/licenses/mit-license.php
319
+ Author Tobias Koppers @sokra
320
+ */
321
+ module.exports = function (cssWithMappingToString) {
322
+ var list = [];
323
+
324
+ // return the list of modules as css string
325
+ list.toString = function toString() {
326
+ return this.map(function (item) {
327
+ var content = "";
328
+ var needLayer = typeof item[5] !== "undefined";
329
+ if (item[4]) {
330
+ content += "@supports (".concat(item[4], ") {");
331
+ }
332
+ if (item[2]) {
333
+ content += "@media ".concat(item[2], " {");
334
+ }
335
+ if (needLayer) {
336
+ content += "@layer".concat(item[5].length > 0 ? " ".concat(item[5]) : "", " {");
337
+ }
338
+ content += cssWithMappingToString(item);
339
+ if (needLayer) {
340
+ content += "}";
341
+ }
342
+ if (item[2]) {
343
+ content += "}";
344
+ }
345
+ if (item[4]) {
346
+ content += "}";
347
+ }
348
+ return content;
349
+ }).join("");
350
+ };
351
+
352
+ // import a list of modules into the list
353
+ list.i = function i(modules, media, dedupe, supports, layer) {
354
+ if (typeof modules === "string") {
355
+ modules = [[null, modules, undefined]];
356
+ }
357
+ var alreadyImportedModules = {};
358
+ if (dedupe) {
359
+ for (var k = 0; k < this.length; k++) {
360
+ var id = this[k][0];
361
+ if (id != null) {
362
+ alreadyImportedModules[id] = true;
363
+ }
364
+ }
365
+ }
366
+ for (var _k = 0; _k < modules.length; _k++) {
367
+ var item = [].concat(modules[_k]);
368
+ if (dedupe && alreadyImportedModules[item[0]]) {
369
+ continue;
370
+ }
371
+ if (typeof layer !== "undefined") {
372
+ if (typeof item[5] === "undefined") {
373
+ item[5] = layer;
374
+ } else {
375
+ item[1] = "@layer".concat(item[5].length > 0 ? " ".concat(item[5]) : "", " {").concat(item[1], "}");
376
+ item[5] = layer;
377
+ }
378
+ }
379
+ if (media) {
380
+ if (!item[2]) {
381
+ item[2] = media;
382
+ } else {
383
+ item[1] = "@media ".concat(item[2], " {").concat(item[1], "}");
384
+ item[2] = media;
385
+ }
386
+ }
387
+ if (supports) {
388
+ if (!item[4]) {
389
+ item[4] = "".concat(supports);
390
+ } else {
391
+ item[1] = "@supports (".concat(item[4], ") {").concat(item[1], "}");
392
+ item[4] = supports;
393
+ }
394
+ }
395
+ list.push(item);
396
+ }
397
+ };
398
+ return list;
399
+ };
400
+
401
+ /***/ }),
402
+
80
403
  /***/ 6942:
81
404
  /***/ ((module, exports) => {
82
405
 
@@ -159,6 +482,117 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
159
482
  }());
160
483
 
161
484
 
485
+ /***/ }),
486
+
487
+ /***/ 7659:
488
+ /***/ ((module) => {
489
+
490
+ "use strict";
491
+
492
+
493
+ var memo = {};
494
+
495
+ /* istanbul ignore next */
496
+ function getTarget(target) {
497
+ if (typeof memo[target] === "undefined") {
498
+ var styleTarget = document.querySelector(target);
499
+
500
+ // Special case to return head of iframe instead of iframe itself
501
+ if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {
502
+ try {
503
+ // This will throw an exception if access to iframe is blocked
504
+ // due to cross-origin restrictions
505
+ styleTarget = styleTarget.contentDocument.head;
506
+ } catch (e) {
507
+ // istanbul ignore next
508
+ styleTarget = null;
509
+ }
510
+ }
511
+ memo[target] = styleTarget;
512
+ }
513
+ return memo[target];
514
+ }
515
+
516
+ /* istanbul ignore next */
517
+ function insertBySelector(insert, style) {
518
+ var target = getTarget(insert);
519
+ if (!target) {
520
+ throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");
521
+ }
522
+ target.appendChild(style);
523
+ }
524
+ module.exports = insertBySelector;
525
+
526
+ /***/ }),
527
+
528
+ /***/ 7704:
529
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
530
+
531
+ // Imports
532
+ var ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ = __webpack_require__(1601);
533
+ var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(6314);
534
+ var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
535
+ // Module
536
+ ___CSS_LOADER_EXPORT___.push([module.id, `.blaze-ui-cap-switch-v2{font-family:"Roboto",sans-serif}`, ""]);
537
+ // Exports
538
+ ___CSS_LOADER_EXPORT___.locals = {
539
+ "cap-switch-v2": `blaze-ui-cap-switch-v2`
540
+ };
541
+ module.exports = ___CSS_LOADER_EXPORT___;
542
+
543
+
544
+ /***/ }),
545
+
546
+ /***/ 8773:
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__(7704);
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
+
162
596
  /***/ }),
163
597
 
164
598
  /***/ 9206:
@@ -183,7 +617,7 @@ module.exports = require("react");
183
617
  /******/ }
184
618
  /******/ // Create a new module (and put it into the cache)
185
619
  /******/ var module = __webpack_module_cache__[moduleId] = {
186
- /******/ // no module.id needed
620
+ /******/ id: moduleId,
187
621
  /******/ // no module.loaded needed
188
622
  /******/ exports: {}
189
623
  /******/ };
@@ -196,6 +630,52 @@ module.exports = require("react");
196
630
  /******/ }
197
631
  /******/
198
632
  /************************************************************************/
633
+ /******/ /* webpack/runtime/compat get default export */
634
+ /******/ (() => {
635
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
636
+ /******/ __webpack_require__.n = (module) => {
637
+ /******/ var getter = module && module.__esModule ?
638
+ /******/ () => (module['default']) :
639
+ /******/ () => (module);
640
+ /******/ __webpack_require__.d(getter, { a: getter });
641
+ /******/ return getter;
642
+ /******/ };
643
+ /******/ })();
644
+ /******/
645
+ /******/ /* webpack/runtime/define property getters */
646
+ /******/ (() => {
647
+ /******/ // define getter functions for harmony exports
648
+ /******/ __webpack_require__.d = (exports, definition) => {
649
+ /******/ for(var key in definition) {
650
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
651
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
652
+ /******/ }
653
+ /******/ }
654
+ /******/ };
655
+ /******/ })();
656
+ /******/
657
+ /******/ /* webpack/runtime/hasOwnProperty shorthand */
658
+ /******/ (() => {
659
+ /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
660
+ /******/ })();
661
+ /******/
662
+ /******/ /* webpack/runtime/make namespace object */
663
+ /******/ (() => {
664
+ /******/ // define __esModule on exports
665
+ /******/ __webpack_require__.r = (exports) => {
666
+ /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
667
+ /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
668
+ /******/ }
669
+ /******/ Object.defineProperty(exports, '__esModule', { value: true });
670
+ /******/ };
671
+ /******/ })();
672
+ /******/
673
+ /******/ /* webpack/runtime/nonce */
674
+ /******/ (() => {
675
+ /******/ __webpack_require__.nc = undefined;
676
+ /******/ })();
677
+ /******/
678
+ /************************************************************************/
199
679
  var __webpack_exports__ = {};
200
680
  // This entry needs to be wrapped in an IIFE because it needs to be in strict mode.
201
681
  (() => {
@@ -1 +1 @@
1
- {"version":3,"file":"CapSwitch/index.js","mappings":"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","sources":["webpack://@capillarytech/blaze-ui/./node_modules/react/cjs/react-jsx-runtime.production.min.js","webpack://@capillarytech/blaze-ui/external commonjs2 \"antd-v5\"","webpack://@capillarytech/blaze-ui/./node_modules/react/jsx-runtime.js","webpack://@capillarytech/blaze-ui/./components/CapSwitch/CapSwitch.tsx","webpack://@capillarytech/blaze-ui/./node_modules/classnames/index.js","webpack://@capillarytech/blaze-ui/external commonjs2 {\"commonjs\":\"react\",\"commonjs2\":\"react\",\"amd\":\"react\",\"root\":\"React\"}","webpack://@capillarytech/blaze-ui/webpack/bootstrap","webpack://@capillarytech/blaze-ui/./components/CapSwitch/index.ts"],"sourcesContent":["/**\n * @license React\n * react-jsx-runtime.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';var f=require(\"react\"),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};\nfunction 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;\n","module.exports = require(\"antd-v5\");","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.min.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n","import { Switch } from 'antd-v5';\nimport type { SwitchProps } from 'antd-v5';\nimport classNames from 'classnames';\nimport React from 'react';\n\nexport interface CapSwitchProps extends Omit<SwitchProps, 'children' | 'onChange'> {\n className?: string;\n checked?: boolean;\n onChange?: (\n checked: boolean,\n event: React.MouseEvent<HTMLButtonElement> | React.KeyboardEvent<HTMLButtonElement>\n ) => void;\n disabled?: boolean;\n size?: 'small' | 'default';\n}\n\nconst CapSwitch: React.FC<CapSwitchProps> = ({\n className,\n checked = false,\n disabled = false,\n size = 'default',\n ...rest\n}) => (\n <Switch\n {...rest}\n checked={checked}\n disabled={disabled}\n size={size}\n className={classNames('cap-switch-v2', className)}\n />\n);\n\nexport default CapSwitch;\n","/*!\n\tCopyright (c) 2018 Jed Watson.\n\tLicensed under the MIT License (MIT), see\n\thttp://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = '';\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (arg) {\n\t\t\t\tclasses = appendClass(classes, parseValue(arg));\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction parseValue (arg) {\n\t\tif (typeof arg === 'string' || typeof arg === 'number') {\n\t\t\treturn arg;\n\t\t}\n\n\t\tif (typeof arg !== 'object') {\n\t\t\treturn '';\n\t\t}\n\n\t\tif (Array.isArray(arg)) {\n\t\t\treturn classNames.apply(null, arg);\n\t\t}\n\n\t\tif (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {\n\t\t\treturn arg.toString();\n\t\t}\n\n\t\tvar classes = '';\n\n\t\tfor (var key in arg) {\n\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\tclasses = appendClass(classes, key);\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction appendClass (value, newClass) {\n\t\tif (!newClass) {\n\t\t\treturn value;\n\t\t}\n\t\n\t\tif (value) {\n\t\t\treturn value + ' ' + newClass;\n\t\t}\n\t\n\t\treturn value + newClass;\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n","module.exports = require(\"react\");","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","export { default } from './CapSwitch';\nexport type { CapSwitchProps } from './CapSwitch';\n"],"names":["_antdV","require","_classnames","_interopRequireDefault","_react","_jsxRuntime","_excluded","e","__esModule","default","_extends","Object","assign","bind","n","arguments","length","t","r","hasOwnProperty","call","apply","_objectWithoutPropertiesLoose","indexOf","CapSwitch","_ref","className","checked","disabled","size","rest","jsx","Switch","classNames","_default","exports","_CapSwitch"],"sourceRoot":""}
1
+ {"version":3,"file":"CapSwitch/index.js","mappings":";;;;;;;AAAa;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oC;;;;;;;;ACTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACa,MAAM,mBAAO,CAAC,IAAO,6KAA6K;AAC/M,kBAAkB,UAAU,eAAe,qBAAqB,6BAA6B,0BAA0B,0DAA0D,4EAA4E,OAAO,wDAAwD,gBAAgB,GAAG,WAAW,GAAG,YAAY;;;;;;;;;ACV5V;;AAEb;AACA;AACA,E;;;;;;;;ACJA,oC;;;;;;;;ACAa;;AAEb;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA,oDAAoD;AACpD;AACA;AACA,4CAA4C;AAC5C;AACA;AACA;AACA,mFAAmF;AACnF;AACA;AACA;AACA,eAAe;AACf;AACA;AACA,eAAe;AACf;AACA;AACA,eAAe;AACf;AACA;;AAEA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,gCAAgC;AAChC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,wB;;;;;;;;ACrFa;;AAEb,IAAI,IAAqC;AACzC,EAAE,0CAAqE;AACvE,EAAE,KAAK;AAAA,EAEN;;;;;;;;;ACNY;;AAEb;AACA;AACA,cAAc,KAAwC,GAAG,sBAAiB,GAAG,CAAI;AACjF;AACA;AACA;AACA;AACA,gD;;;;;;;;ACTa;;AAEb;AACA;AACA;AACA,kBAAkB,wBAAwB;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAkB,iBAAiB;AACnC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oBAAoB,4BAA4B;AAChD;AACA;AACA;AACA;AACA;AACA,qBAAqB,6BAA6B;AAClD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,E;;;;;;;;;;;;ACnFA,IAAAA,MAAA,GAAAC,mBAAA;AAEA,IAAAC,WAAA,GAAAC,sBAAA,CAAAF,mBAAA;AACA,IAAAG,MAAA,GAAAD,sBAAA,CAAAF,mBAAA;AAEA,IAAAI,OAAA,GAAAF,sBAAA,CAAAF,mBAAA;AAAmC,IAAAK,WAAA,GAAAL,mBAAA;AAAA,MAAAM,SAAA;AAAA,SAAAJ,uBAAAK,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,SAAAG,SAAA,WAAAA,QAAA,GAAAC,MAAA,CAAAC,MAAA,GAAAD,MAAA,CAAAC,MAAA,CAAAC,IAAA,eAAAC,CAAA,aAAAP,CAAA,MAAAA,CAAA,GAAAQ,SAAA,CAAAC,MAAA,EAAAT,CAAA,UAAAU,CAAA,GAAAF,SAAA,CAAAR,CAAA,YAAAW,CAAA,IAAAD,CAAA,OAAAE,cAAA,CAAAC,IAAA,CAAAH,CAAA,EAAAC,CAAA,MAAAJ,CAAA,CAAAI,CAAA,IAAAD,CAAA,CAAAC,CAAA,aAAAJ,CAAA,KAAAJ,QAAA,CAAAW,KAAA,OAAAN,SAAA;AAAA,SAAAO,8BAAAJ,CAAA,EAAAX,CAAA,gBAAAW,CAAA,iBAAAD,CAAA,gBAAAH,CAAA,IAAAI,CAAA,SAAAC,cAAA,CAAAC,IAAA,CAAAF,CAAA,EAAAJ,CAAA,gBAAAP,CAAA,CAAAgB,OAAA,CAAAT,CAAA,aAAAG,CAAA,CAAAH,CAAA,IAAAI,CAAA,CAAAJ,CAAA,YAAAG,CAAA;AAanC,MAAMO,SAAmC,GAAGC,IAAA;EAAA,IAAC;MAC3CC,SAAS;MACTC,OAAO,GAAG,KAAK;MACfC,QAAQ,GAAG,KAAK;MAChBC,IAAI,GAAG;IAET,CAAC,GAAAJ,IAAA;IADIK,IAAI,GAAAR,6BAAA,CAAAG,IAAA,EAAAnB,SAAA;EAAA,oBAEP,IAAAD,WAAA,CAAA0B,GAAA,EAAChC,MAAA,CAAAiC,MAAM,EAAAtB,QAAA,KACDoB,IAAI;IACRH,OAAO,EAAEA,OAAQ;IACjBC,QAAQ,EAAEA,QAAS;IACnBC,IAAI,EAAEA,IAAK;IACXH,SAAS,EAAE,IAAAO,mBAAU,EAACC,eAAM,CAAC,eAAe,CAAC,EAAER,SAAS;EAAE,EAC3D,CAAC;AAAA,CACH;AAAC,IAAAS,QAAA,GAAAC,kBAAA,GAEaZ,SAAS,C;;;;;;;;AClCX;;AAEb;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,qDAAqD;AACrD;AACA;AACA,gDAAgD;AAChD;AACA;AACA,qFAAqF;AACrF;AACA;AACA;AACA,qBAAqB;AACrB;AACA;AACA,qBAAqB;AACrB;AACA;AACA,qBAAqB;AACrB;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sBAAsB,iBAAiB;AACvC;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB,qBAAqB;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV,sFAAsF,qBAAqB;AAC3G;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV,iDAAiD,qBAAqB;AACtE;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV,sDAAsD,qBAAqB;AAC3E;AACA;AACA;AACA;AACA;AACA;AACA;AACA,E;;;;;;;ACpFA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,gBAAgB;;AAEhB;AACA;;AAEA,kBAAkB,sBAAsB;AACxC;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,KAAK,KAA6B;AAClC;AACA;AACA,GAAG,SAAS,IAA4E;AACxF;AACA,EAAE,iCAAqB,EAAE,mCAAE;AAC3B;AACA,GAAG;AAAA,kGAAC;AACJ,GAAG,KAAK;AAAA,EAEN;AACF,CAAC;;;;;;;;;AC5EY;;AAEb;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kC;;;;;;;ACjCA;AACA,+CAA+C,mBAAO,CAAC,IAA4D;AACnH,kCAAkC,mBAAO,CAAC,IAAmD;AAC7F;AACA;AACA,kEAAkE,gCAAgC;AAClG;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACTA,MAAkG;AAClG,MAAiG;AACjG,MAA+F;AAC/F,MAAkH;AAClH,MAA2G;AAC3G;AACA,MAA2M;AAC3M;AACA;;AAEA;;AAEA;AACA,wBAAwB,kHAAa;AACrC,iBAAiB,uGAAa;AAC9B,iBAAiB,wGAAM;AACvB,6BAA6B,sGAAkB;;AAE/C,aAAa,0GAAG,CAAC,8KAAO;;;;AAIqJ;AAC7K,OAAO,iEAAe,8KAAO,IAAI,qLAAc,GAAG,qLAAc,YAAY,EAAC;;;;;;;;;ACxB7E,kC;;;;;;UCAA;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;;;;WCtBA;WACA;WACA;WACA;WACA;WACA,iCAAiC,WAAW;WAC5C;WACA,E;;;;;WCPA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA,E;;;;;WCPA,wF;;;;;WCAA;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D,E;;;;;WCNA,mC;;;;;;;;;;;;;ACAA,IAAAa,UAAA,GAAAnC,sBAAA,CAAAF,mBAAA;AAAsCoC,kBAAA,GAAAC,UAAA,CAAA5B,OAAA;AAAA,SAAAP,uBAAAK,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA,K","sources":["webpack://@capillarytech/blaze-ui/./node_modules/style-loader/dist/runtime/insertStyleElement.js","webpack://@capillarytech/blaze-ui/./node_modules/react/cjs/react-jsx-runtime.production.min.js","webpack://@capillarytech/blaze-ui/./node_modules/css-loader/dist/runtime/noSourceMaps.js","webpack://@capillarytech/blaze-ui/external commonjs2 \"antd-v5\"","webpack://@capillarytech/blaze-ui/./node_modules/style-loader/dist/runtime/singletonStyleDomAPI.js","webpack://@capillarytech/blaze-ui/./node_modules/react/jsx-runtime.js","webpack://@capillarytech/blaze-ui/./node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js","webpack://@capillarytech/blaze-ui/./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js","webpack://@capillarytech/blaze-ui/./components/CapSwitch/CapSwitch.tsx","webpack://@capillarytech/blaze-ui/./node_modules/css-loader/dist/runtime/api.js","webpack://@capillarytech/blaze-ui/./node_modules/classnames/index.js","webpack://@capillarytech/blaze-ui/./node_modules/style-loader/dist/runtime/insertBySelector.js","webpack://@capillarytech/blaze-ui/./components/CapSwitch/styles.scss","webpack://@capillarytech/blaze-ui/./components/CapSwitch/styles.scss?074c","webpack://@capillarytech/blaze-ui/external commonjs2 {\"commonjs\":\"react\",\"commonjs2\":\"react\",\"amd\":\"react\",\"root\":\"React\"}","webpack://@capillarytech/blaze-ui/webpack/bootstrap","webpack://@capillarytech/blaze-ui/webpack/runtime/compat get default export","webpack://@capillarytech/blaze-ui/webpack/runtime/define property getters","webpack://@capillarytech/blaze-ui/webpack/runtime/hasOwnProperty shorthand","webpack://@capillarytech/blaze-ui/webpack/runtime/make namespace object","webpack://@capillarytech/blaze-ui/webpack/runtime/nonce","webpack://@capillarytech/blaze-ui/./components/CapSwitch/index.ts"],"sourcesContent":["\"use strict\";\n\n/* istanbul ignore next */\nfunction insertStyleElement(options) {\n var element = document.createElement(\"style\");\n options.setAttributes(element, options.attributes);\n options.insert(element, options.options);\n return element;\n}\nmodule.exports = insertStyleElement;","/**\n * @license React\n * react-jsx-runtime.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';var f=require(\"react\"),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};\nfunction 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;\n","\"use strict\";\n\nmodule.exports = function (i) {\n return i[1];\n};","module.exports = require(\"antd-v5\");","\"use strict\";\n\n/* istanbul ignore next */\nvar replaceText = function replaceText() {\n var textStore = [];\n return function replace(index, replacement) {\n textStore[index] = replacement;\n return textStore.filter(Boolean).join(\"\\n\");\n };\n}();\n\n/* istanbul ignore next */\nfunction apply(styleElement, index, remove, obj) {\n var css;\n if (remove) {\n css = \"\";\n } else {\n css = \"\";\n if (obj.supports) {\n css += \"@supports (\".concat(obj.supports, \") {\");\n }\n if (obj.media) {\n css += \"@media \".concat(obj.media, \" {\");\n }\n var needLayer = typeof obj.layer !== \"undefined\";\n if (needLayer) {\n css += \"@layer\".concat(obj.layer.length > 0 ? \" \".concat(obj.layer) : \"\", \" {\");\n }\n css += obj.css;\n if (needLayer) {\n css += \"}\";\n }\n if (obj.media) {\n css += \"}\";\n }\n if (obj.supports) {\n css += \"}\";\n }\n }\n\n // For old IE\n /* istanbul ignore if */\n if (styleElement.styleSheet) {\n styleElement.styleSheet.cssText = replaceText(index, css);\n } else {\n var cssNode = document.createTextNode(css);\n var childNodes = styleElement.childNodes;\n if (childNodes[index]) {\n styleElement.removeChild(childNodes[index]);\n }\n if (childNodes.length) {\n styleElement.insertBefore(cssNode, childNodes[index]);\n } else {\n styleElement.appendChild(cssNode);\n }\n }\n}\nvar singletonData = {\n singleton: null,\n singletonCounter: 0\n};\n\n/* istanbul ignore next */\nfunction domAPI(options) {\n if (typeof document === \"undefined\") return {\n update: function update() {},\n remove: function remove() {}\n };\n\n // eslint-disable-next-line no-undef,no-use-before-define\n var styleIndex = singletonData.singletonCounter++;\n var styleElement =\n // eslint-disable-next-line no-undef,no-use-before-define\n singletonData.singleton || (\n // eslint-disable-next-line no-undef,no-use-before-define\n singletonData.singleton = options.insertStyleElement(options));\n return {\n update: function update(obj) {\n apply(styleElement, styleIndex, false, obj);\n },\n remove: function remove(obj) {\n apply(styleElement, styleIndex, true, obj);\n }\n };\n}\nmodule.exports = domAPI;","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.min.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n","\"use strict\";\n\n/* istanbul ignore next */\nfunction setAttributesWithoutAttributes(styleElement) {\n var nonce = typeof __webpack_nonce__ !== \"undefined\" ? __webpack_nonce__ : null;\n if (nonce) {\n styleElement.setAttribute(\"nonce\", nonce);\n }\n}\nmodule.exports = setAttributesWithoutAttributes;","\"use strict\";\n\nvar stylesInDOM = [];\nfunction getIndexByIdentifier(identifier) {\n var result = -1;\n for (var i = 0; i < stylesInDOM.length; i++) {\n if (stylesInDOM[i].identifier === identifier) {\n result = i;\n break;\n }\n }\n return result;\n}\nfunction modulesToDom(list, options) {\n var idCountMap = {};\n var identifiers = [];\n for (var i = 0; i < list.length; i++) {\n var item = list[i];\n var id = options.base ? item[0] + options.base : item[0];\n var count = idCountMap[id] || 0;\n var identifier = \"\".concat(id, \" \").concat(count);\n idCountMap[id] = count + 1;\n var indexByIdentifier = getIndexByIdentifier(identifier);\n var obj = {\n css: item[1],\n media: item[2],\n sourceMap: item[3],\n supports: item[4],\n layer: item[5]\n };\n if (indexByIdentifier !== -1) {\n stylesInDOM[indexByIdentifier].references++;\n stylesInDOM[indexByIdentifier].updater(obj);\n } else {\n var updater = addElementStyle(obj, options);\n options.byIndex = i;\n stylesInDOM.splice(i, 0, {\n identifier: identifier,\n updater: updater,\n references: 1\n });\n }\n identifiers.push(identifier);\n }\n return identifiers;\n}\nfunction addElementStyle(obj, options) {\n var api = options.domAPI(options);\n api.update(obj);\n var updater = function updater(newObj) {\n if (newObj) {\n if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap && newObj.supports === obj.supports && newObj.layer === obj.layer) {\n return;\n }\n api.update(obj = newObj);\n } else {\n api.remove();\n }\n };\n return updater;\n}\nmodule.exports = function (list, options) {\n options = options || {};\n list = list || [];\n var lastIdentifiers = modulesToDom(list, options);\n return function update(newList) {\n newList = newList || [];\n for (var i = 0; i < lastIdentifiers.length; i++) {\n var identifier = lastIdentifiers[i];\n var index = getIndexByIdentifier(identifier);\n stylesInDOM[index].references--;\n }\n var newLastIdentifiers = modulesToDom(newList, options);\n for (var _i = 0; _i < lastIdentifiers.length; _i++) {\n var _identifier = lastIdentifiers[_i];\n var _index = getIndexByIdentifier(_identifier);\n if (stylesInDOM[_index].references === 0) {\n stylesInDOM[_index].updater();\n stylesInDOM.splice(_index, 1);\n }\n }\n lastIdentifiers = newLastIdentifiers;\n };\n};","import { Switch } from 'antd-v5';\nimport type { SwitchProps } from 'antd-v5';\nimport classNames from 'classnames';\nimport React from 'react';\n\nimport styles from './styles.scss';\n\nexport interface CapSwitchProps extends Omit<SwitchProps, 'children' | 'onChange'> {\n className?: string;\n checked?: boolean;\n onChange?: (\n checked: boolean,\n event: React.MouseEvent<HTMLButtonElement> | React.KeyboardEvent<HTMLButtonElement>\n ) => void;\n disabled?: boolean;\n size?: 'small' | 'default';\n}\n\nconst CapSwitch: React.FC<CapSwitchProps> = ({\n className,\n checked = false,\n disabled = false,\n size = 'default',\n ...rest\n}) => (\n <Switch\n {...rest}\n checked={checked}\n disabled={disabled}\n size={size}\n className={classNames(styles['cap-switch-v2'], className)}\n />\n);\n\nexport default CapSwitch;\n","\"use strict\";\n\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n*/\nmodule.exports = function (cssWithMappingToString) {\n var list = [];\n\n // return the list of modules as css string\n list.toString = function toString() {\n return this.map(function (item) {\n var content = \"\";\n var needLayer = typeof item[5] !== \"undefined\";\n if (item[4]) {\n content += \"@supports (\".concat(item[4], \") {\");\n }\n if (item[2]) {\n content += \"@media \".concat(item[2], \" {\");\n }\n if (needLayer) {\n content += \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\");\n }\n content += cssWithMappingToString(item);\n if (needLayer) {\n content += \"}\";\n }\n if (item[2]) {\n content += \"}\";\n }\n if (item[4]) {\n content += \"}\";\n }\n return content;\n }).join(\"\");\n };\n\n // import a list of modules into the list\n list.i = function i(modules, media, dedupe, supports, layer) {\n if (typeof modules === \"string\") {\n modules = [[null, modules, undefined]];\n }\n var alreadyImportedModules = {};\n if (dedupe) {\n for (var k = 0; k < this.length; k++) {\n var id = this[k][0];\n if (id != null) {\n alreadyImportedModules[id] = true;\n }\n }\n }\n for (var _k = 0; _k < modules.length; _k++) {\n var item = [].concat(modules[_k]);\n if (dedupe && alreadyImportedModules[item[0]]) {\n continue;\n }\n if (typeof layer !== \"undefined\") {\n if (typeof item[5] === \"undefined\") {\n item[5] = layer;\n } else {\n item[1] = \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\").concat(item[1], \"}\");\n item[5] = layer;\n }\n }\n if (media) {\n if (!item[2]) {\n item[2] = media;\n } else {\n item[1] = \"@media \".concat(item[2], \" {\").concat(item[1], \"}\");\n item[2] = media;\n }\n }\n if (supports) {\n if (!item[4]) {\n item[4] = \"\".concat(supports);\n } else {\n item[1] = \"@supports (\".concat(item[4], \") {\").concat(item[1], \"}\");\n item[4] = supports;\n }\n }\n list.push(item);\n }\n };\n return list;\n};","/*!\n\tCopyright (c) 2018 Jed Watson.\n\tLicensed under the MIT License (MIT), see\n\thttp://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = '';\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (arg) {\n\t\t\t\tclasses = appendClass(classes, parseValue(arg));\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction parseValue (arg) {\n\t\tif (typeof arg === 'string' || typeof arg === 'number') {\n\t\t\treturn arg;\n\t\t}\n\n\t\tif (typeof arg !== 'object') {\n\t\t\treturn '';\n\t\t}\n\n\t\tif (Array.isArray(arg)) {\n\t\t\treturn classNames.apply(null, arg);\n\t\t}\n\n\t\tif (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {\n\t\t\treturn arg.toString();\n\t\t}\n\n\t\tvar classes = '';\n\n\t\tfor (var key in arg) {\n\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\tclasses = appendClass(classes, key);\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction appendClass (value, newClass) {\n\t\tif (!newClass) {\n\t\t\treturn value;\n\t\t}\n\t\n\t\tif (value) {\n\t\t\treturn value + ' ' + newClass;\n\t\t}\n\t\n\t\treturn value + newClass;\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n","\"use strict\";\n\nvar memo = {};\n\n/* istanbul ignore next */\nfunction getTarget(target) {\n if (typeof memo[target] === \"undefined\") {\n var styleTarget = document.querySelector(target);\n\n // Special case to return head of iframe instead of iframe itself\n if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {\n try {\n // This will throw an exception if access to iframe is blocked\n // due to cross-origin restrictions\n styleTarget = styleTarget.contentDocument.head;\n } catch (e) {\n // istanbul ignore next\n styleTarget = null;\n }\n }\n memo[target] = styleTarget;\n }\n return memo[target];\n}\n\n/* istanbul ignore next */\nfunction insertBySelector(insert, style) {\n var target = getTarget(insert);\n if (!target) {\n throw new Error(\"Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.\");\n }\n target.appendChild(style);\n}\nmodule.exports = insertBySelector;","// Imports\nvar ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ = require(\"../../node_modules/css-loader/dist/runtime/noSourceMaps.js\");\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../node_modules/css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.blaze-ui-cap-switch-v2{font-family:\"Roboto\",sans-serif}`, \"\"]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"cap-switch-v2\": `blaze-ui-cap-switch-v2`\n};\nmodule.exports = ___CSS_LOADER_EXPORT___;\n","\n import API from \"!../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../node_modules/style-loader/dist/runtime/singletonStyleDomAPI.js\";\n import insertFn from \"!../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n \n import content, * as namedExport from \"!!../../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\";\n \n \n\nvar options = {};\n\n;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn.bind(null, \"head\");\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../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\";\n export default content && content.locals ? content.locals : undefined;\n","module.exports = require(\"react\");","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nc = undefined;","export { default } from './CapSwitch';\nexport type { CapSwitchProps } from './CapSwitch';\n"],"names":["_antdV","require","_classnames","_interopRequireDefault","_react","_styles","_jsxRuntime","_excluded","e","__esModule","default","_extends","Object","assign","bind","n","arguments","length","t","r","hasOwnProperty","call","apply","_objectWithoutPropertiesLoose","indexOf","CapSwitch","_ref","className","checked","disabled","size","rest","jsx","Switch","classNames","styles","_default","exports","_CapSwitch"],"sourceRoot":""}
@@ -1 +1 @@
1
- {"version":3,"file":"CapTab.d.ts","sourceRoot":"","sources":["../../components/CapTab/CapTab.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzC,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,MAAM,WAAW,WAAW;IAC1B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACtB,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAGD,KAAK,qBAAqB,GAAG,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;AAYjE,MAAM,WAAW,WACf,SAAQ,IAAI,CAAC,SAAS,EAAE,OAAO,GAAG,UAAU,GAAG,aAAa,GAAG,cAAc,CAAC;IAC9E,KAAK,CAAC,EAAE,WAAW,EAAE,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,GAAG;QAAE,MAAM,CAAC,EAAE,OAAO,CAAC;QAAC,OAAO,CAAC,EAAE,OAAO,CAAA;KAAE,CAAC;IAC7D,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,eAAe,CAAC;IACzC;;OAEG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC,cAAc,CAAC,CAAC;IACzC;;;OAGG;IACH,WAAW,CAAC,EAAE,qBAAqB,GAAG,SAAS,CAAC,cAAc,CAAC,CAAC;CACjE;AAED,QAAA,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAgDjC,CAAC;AAEF,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"CapTab.d.ts","sourceRoot":"","sources":["../../components/CapTab/CapTab.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzC,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,MAAM,WAAW,WAAW;IAC1B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACtB,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAGD,KAAK,qBAAqB,GAAG,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;AAyDjE,MAAM,WAAW,WACf,SAAQ,IAAI,CAAC,SAAS,EAAE,OAAO,GAAG,UAAU,GAAG,aAAa,GAAG,cAAc,CAAC;IAC9E,KAAK,CAAC,EAAE,WAAW,EAAE,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,GAAG;QAAE,MAAM,CAAC,EAAE,OAAO,CAAC;QAAC,OAAO,CAAC,EAAE,OAAO,CAAA;KAAE,CAAC;IAC7D,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,eAAe,CAAC;IACzC;;OAEG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC,cAAc,CAAC,CAAC;IACzC;;;OAGG;IACH,WAAW,CAAC,EAAE,qBAAqB,GAAG,SAAS,CAAC,cAAc,CAAC,CAAC;CACjE;AAED,QAAA,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAmDjC,CAAC;AAEF,eAAe,MAAM,CAAC"}