@capillarytech/blaze-ui 2.0.2 → 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.
- package/README.md +34 -7
- package/dist/CapAlert/CapAlert.d.ts +1 -1
- package/dist/CapAlert/__snapshots__/CapAlert.test.tsx.snap +48 -0
- package/dist/CapAlert/index.js +1 -1
- package/dist/CapAlert/index.js.map +1 -1
- package/dist/CapButton/CapButton.d.ts +3 -1
- package/dist/CapButton/CapButton.d.ts.map +1 -1
- package/dist/CapButton/index.js +45 -7
- package/dist/CapButton/index.js.map +1 -1
- package/dist/CapDivider/CapDivider.d.ts +12 -6
- package/dist/CapDivider/CapDivider.d.ts.map +1 -1
- package/dist/CapDivider/__snapshots__/CapDivider.test.tsx.snap +69 -6
- package/dist/CapDivider/index.js +13 -9
- package/dist/CapDivider/index.js.map +1 -1
- package/dist/CapDropdown/index.js +4 -4
- package/dist/CapDropdown/index.js.map +1 -1
- package/dist/CapInput/Number.d.ts +1 -2
- package/dist/CapInput/Number.d.ts.map +1 -1
- package/dist/CapInput/index.js.map +1 -1
- package/dist/CapSwitch/CapSwitch.d.ts.map +1 -1
- package/dist/CapSwitch/index.js +482 -2
- package/dist/CapSwitch/index.js.map +1 -1
- package/dist/CapTab/CapTab.d.ts.map +1 -1
- package/dist/CapTab/index.js +54 -6
- package/dist/CapTab/index.js.map +1 -1
- package/dist/CapTooltip/CapTooltip.d.ts.map +1 -1
- package/dist/CapTooltip/index.js +3 -1
- package/dist/CapTooltip/index.js.map +1 -1
- package/dist/CapTooltipWithInfo/index.js +3 -1
- package/dist/CapTooltipWithInfo/index.js.map +1 -1
- package/dist/CapUnifiedSelect/index.js +3 -1
- package/dist/CapUnifiedSelect/index.js.map +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +264 -70
- package/dist/index.js.map +1 -1
- package/dist/utils/fonts.d.ts +8 -8
- package/dist/utils/fonts.d.ts.map +1 -1
- package/dist/utils/getCapThemeConfig.d.ts +7 -0
- package/dist/utils/getCapThemeConfig.d.ts.map +1 -1
- package/dist/utils/index.d.ts +10 -10
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +17391 -214
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/styles.d.ts +2 -2
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -517,9 +517,9 @@ exports["default"] = CheckOutlined;
|
|
|
517
517
|
|
|
518
518
|
|
|
519
519
|
exports.__esModule = true;
|
|
520
|
-
exports.
|
|
520
|
+
exports.loadCapUIFonts = exports.getCapUIFontLinks = void 0;
|
|
521
521
|
/**
|
|
522
|
-
* Font configuration for
|
|
522
|
+
* Font configuration for Cap UI
|
|
523
523
|
* Centralized font management for consistent typography across applications
|
|
524
524
|
*/
|
|
525
525
|
|
|
@@ -577,7 +577,7 @@ const injectRobotoFont = function (weights) {
|
|
|
577
577
|
const link = document.createElement('link');
|
|
578
578
|
link.href = href;
|
|
579
579
|
link.rel = 'stylesheet';
|
|
580
|
-
link.setAttribute('data-
|
|
580
|
+
link.setAttribute('data-cap-ui-font', 'roboto');
|
|
581
581
|
document.head.appendChild(link);
|
|
582
582
|
};
|
|
583
583
|
|
|
@@ -595,7 +595,7 @@ const injectMaterialIcons = () => {
|
|
|
595
595
|
preloadLink.rel = 'preload';
|
|
596
596
|
preloadLink.href = FONT_URLS.materialIcons;
|
|
597
597
|
preloadLink.setAttribute('as', 'style');
|
|
598
|
-
preloadLink.setAttribute('data-
|
|
598
|
+
preloadLink.setAttribute('data-cap-ui-font', 'material-icons');
|
|
599
599
|
|
|
600
600
|
// Convert to stylesheet when loaded
|
|
601
601
|
preloadLink.onload = function () {
|
|
@@ -610,13 +610,13 @@ const injectMaterialIcons = () => {
|
|
|
610
610
|
const fallbackLink = document.createElement('link');
|
|
611
611
|
fallbackLink.rel = 'stylesheet';
|
|
612
612
|
fallbackLink.href = FONT_URLS.materialIcons;
|
|
613
|
-
fallbackLink.setAttribute('data-
|
|
613
|
+
fallbackLink.setAttribute('data-cap-ui-font', 'material-icons-fallback');
|
|
614
614
|
noscript.appendChild(fallbackLink);
|
|
615
615
|
document.head.appendChild(noscript);
|
|
616
616
|
};
|
|
617
617
|
|
|
618
618
|
/**
|
|
619
|
-
* Loads
|
|
619
|
+
* Loads Cap UI fonts into the document head
|
|
620
620
|
*
|
|
621
621
|
* This function should be called once when your application initializes.
|
|
622
622
|
* It's safe to call multiple times - it will check if fonts are already loaded.
|
|
@@ -625,19 +625,19 @@ const injectMaterialIcons = () => {
|
|
|
625
625
|
*
|
|
626
626
|
* @example
|
|
627
627
|
* ```typescript
|
|
628
|
-
* import {
|
|
628
|
+
* import { loadCapUIFonts } from '@capillarytech/blaze-ui';
|
|
629
629
|
*
|
|
630
630
|
* // Load all fonts (default)
|
|
631
|
-
*
|
|
631
|
+
* loadCapUIFonts();
|
|
632
632
|
*
|
|
633
633
|
* // Load only Roboto with custom weights
|
|
634
|
-
*
|
|
634
|
+
* loadCapUIFonts({
|
|
635
635
|
* loadMaterialIcons: false,
|
|
636
636
|
* robotoWeights: [400, 500, 700]
|
|
637
637
|
* });
|
|
638
638
|
* ```
|
|
639
639
|
*/
|
|
640
|
-
const
|
|
640
|
+
const loadCapUIFonts = function (config) {
|
|
641
641
|
if (config === void 0) {
|
|
642
642
|
config = {};
|
|
643
643
|
}
|
|
@@ -663,11 +663,11 @@ const loadBlazeUIFonts = function (config) {
|
|
|
663
663
|
* @example
|
|
664
664
|
* ```html
|
|
665
665
|
* <!-- In your HTML head -->
|
|
666
|
-
* ${
|
|
666
|
+
* ${getCapUIFontLinks().join('\n')}
|
|
667
667
|
* ```
|
|
668
668
|
*/
|
|
669
|
-
exports.
|
|
670
|
-
const
|
|
669
|
+
exports.loadCapUIFonts = loadCapUIFonts;
|
|
670
|
+
const getCapUIFontLinks = function (config) {
|
|
671
671
|
if (config === void 0) {
|
|
672
672
|
config = {};
|
|
673
673
|
}
|
|
@@ -685,7 +685,7 @@ const getBlazeUIFontLinks = function (config) {
|
|
|
685
685
|
}
|
|
686
686
|
return links;
|
|
687
687
|
};
|
|
688
|
-
exports.
|
|
688
|
+
exports.getCapUIFontLinks = getCapUIFontLinks;
|
|
689
689
|
|
|
690
690
|
/***/ }),
|
|
691
691
|
|
|
@@ -752,9 +752,9 @@ const CapDropdownComponent = _ref => {
|
|
|
752
752
|
const v6Placement = mapPlacement(placement);
|
|
753
753
|
|
|
754
754
|
// Support both new `classNames.root` and deprecated `overlayClassName` props
|
|
755
|
-
|
|
756
|
-
const finalClassNames = _extends({}, classNamesProp, {
|
|
757
|
-
root: (0, _classnames.default)(_styles.default[clsPrefix + "-overlay"],
|
|
755
|
+
const existingRoot = classNamesProp && typeof classNamesProp === 'object' && !Array.isArray(classNamesProp) ? classNamesProp.root : undefined;
|
|
756
|
+
const finalClassNames = _extends({}, typeof classNamesProp === 'object' && !Array.isArray(classNamesProp) ? classNamesProp : {}, {
|
|
757
|
+
root: (0, _classnames.default)(_styles.default[clsPrefix + "-overlay"], existingRoot, overlayClassName)
|
|
758
758
|
});
|
|
759
759
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_antdV.Dropdown, _extends({
|
|
760
760
|
className: (0, _classnames.default)(_styles.default[clsPrefix], className),
|
|
@@ -5136,7 +5136,7 @@ var ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ = __webpack_require__(1601);
|
|
|
5136
5136
|
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(6314);
|
|
5137
5137
|
var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
|
|
5138
5138
|
// Module
|
|
5139
|
-
___CSS_LOADER_EXPORT___.push([module.id, `.blaze-ui-cap-dropdown-v2-overlay{min-width:14.286rem}.ant-dropdown .ant-dropdown-menu .ant-dropdown-menu-item{padding:.857rem 1.714rem}`, ""]);
|
|
5139
|
+
___CSS_LOADER_EXPORT___.push([module.id, `.blaze-ui-cap-dropdown-v2-overlay{min-width:14.286rem}.blaze-ui-cap-dropdown-v2-overlay .ant-dropdown .ant-dropdown-menu .ant-dropdown-menu-item{padding:.857rem 1.714rem}`, ""]);
|
|
5140
5140
|
// Exports
|
|
5141
5141
|
___CSS_LOADER_EXPORT___.locals = {
|
|
5142
5142
|
"cap-dropdown-v2-overlay": `blaze-ui-cap-dropdown-v2-overlay`
|
|
@@ -5506,6 +5506,51 @@ const mapTabPlacement = value => {
|
|
|
5506
5506
|
if (value === 'right') return 'end';
|
|
5507
5507
|
return value;
|
|
5508
5508
|
};
|
|
5509
|
+
|
|
5510
|
+
/**
|
|
5511
|
+
* Generate stable fallback key based on pane content for React reconciliation
|
|
5512
|
+
* Uses pane.tab or pane.content to create deterministic keys
|
|
5513
|
+
*/
|
|
5514
|
+
const getStableFallbackKey = (pane, idx) => {
|
|
5515
|
+
// Try to extract string representation from tab or content
|
|
5516
|
+
let tabStr = '';
|
|
5517
|
+
let contentStr = '';
|
|
5518
|
+
if (pane.tab) {
|
|
5519
|
+
if (typeof pane.tab === 'string') {
|
|
5520
|
+
tabStr = pane.tab;
|
|
5521
|
+
} else if (typeof pane.tab === 'number') {
|
|
5522
|
+
tabStr = String(pane.tab);
|
|
5523
|
+
} else if (/*#__PURE__*/_react.default.isValidElement(pane.tab)) {
|
|
5524
|
+
var _props;
|
|
5525
|
+
// Try to extract text content from React element
|
|
5526
|
+
const children = (_props = pane.tab.props) == null ? void 0 : _props.children;
|
|
5527
|
+
tabStr = typeof children === 'string' ? children : String(children || '');
|
|
5528
|
+
}
|
|
5529
|
+
}
|
|
5530
|
+
if (pane.content) {
|
|
5531
|
+
if (typeof pane.content === 'string') {
|
|
5532
|
+
contentStr = pane.content;
|
|
5533
|
+
} else if (typeof pane.content === 'number') {
|
|
5534
|
+
contentStr = String(pane.content);
|
|
5535
|
+
} else if (/*#__PURE__*/_react.default.isValidElement(pane.content)) {
|
|
5536
|
+
var _props2;
|
|
5537
|
+
// Try to extract text content from React element
|
|
5538
|
+
const children = (_props2 = pane.content.props) == null ? void 0 : _props2.children;
|
|
5539
|
+
contentStr = typeof children === 'string' ? children : String(children || '');
|
|
5540
|
+
}
|
|
5541
|
+
}
|
|
5542
|
+
|
|
5543
|
+
// Create deterministic composite key from tab/content
|
|
5544
|
+
// This ensures same content = same key even if order changes
|
|
5545
|
+
if (tabStr) {
|
|
5546
|
+
return "tab-" + tabStr.slice(0, 20) + "-" + idx;
|
|
5547
|
+
}
|
|
5548
|
+
if (contentStr) {
|
|
5549
|
+
return "content-" + contentStr.slice(0, 20) + "-" + idx;
|
|
5550
|
+
}
|
|
5551
|
+
// Last resort: use index but prefix it for clarity
|
|
5552
|
+
return "pane-" + idx;
|
|
5553
|
+
};
|
|
5509
5554
|
const CapTab = _ref => {
|
|
5510
5555
|
let {
|
|
5511
5556
|
panes = [],
|
|
@@ -5531,12 +5576,15 @@ const CapTab = _ref => {
|
|
|
5531
5576
|
} : false : animatedValue;
|
|
5532
5577
|
|
|
5533
5578
|
// Convert panes to items format (v6 API)
|
|
5534
|
-
const items = panes.map((pane, index) =>
|
|
5535
|
-
key
|
|
5536
|
-
|
|
5537
|
-
|
|
5538
|
-
|
|
5539
|
-
|
|
5579
|
+
const items = panes.map((pane, index) => {
|
|
5580
|
+
const key = pane.key || getStableFallbackKey(pane, index);
|
|
5581
|
+
return {
|
|
5582
|
+
key,
|
|
5583
|
+
label: pane.tab,
|
|
5584
|
+
children: pane.content,
|
|
5585
|
+
disabled: pane.disabled
|
|
5586
|
+
};
|
|
5587
|
+
});
|
|
5540
5588
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
5541
5589
|
className: _styles.default['cap-tab-wrapper'],
|
|
5542
5590
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
@@ -5781,13 +5829,36 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e
|
|
|
5781
5829
|
|
|
5782
5830
|
exports.__esModule = true;
|
|
5783
5831
|
exports.getCapThemeConfig = getCapThemeConfig;
|
|
5832
|
+
var _lodash = __webpack_require__(2543);
|
|
5784
5833
|
var styledVars = _interopRequireWildcard(__webpack_require__(9941));
|
|
5785
5834
|
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); }
|
|
5786
|
-
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); }
|
|
5787
5835
|
/**
|
|
5788
|
-
*
|
|
5789
|
-
*
|
|
5836
|
+
* Gets the root font size from the document element dynamically.
|
|
5837
|
+
* Falls back to Cap UI default (14px) if not available or in non-browser environments.
|
|
5790
5838
|
*
|
|
5839
|
+
* @returns Root font size in pixels
|
|
5840
|
+
*/
|
|
5841
|
+
function getRootFontSize() {
|
|
5842
|
+
if (typeof window === 'undefined' || typeof document === 'undefined') {
|
|
5843
|
+
// SSR or non-browser environment: return Cap UI default
|
|
5844
|
+
return 14;
|
|
5845
|
+
}
|
|
5846
|
+
const rootElement = document.documentElement;
|
|
5847
|
+
const computedStyle = window.getComputedStyle(rootElement);
|
|
5848
|
+
const fontSize = computedStyle.fontSize;
|
|
5849
|
+
if (fontSize) {
|
|
5850
|
+
const pxValue = parseFloat(fontSize);
|
|
5851
|
+
if (!isNaN(pxValue) && pxValue > 0) {
|
|
5852
|
+
return pxValue;
|
|
5853
|
+
}
|
|
5854
|
+
}
|
|
5855
|
+
|
|
5856
|
+
// Fallback to Cap UI default if unable to read computed size
|
|
5857
|
+
return 14;
|
|
5858
|
+
}
|
|
5859
|
+
|
|
5860
|
+
/**
|
|
5861
|
+
* Converts rem values to pixels (number) by reading the root font size dynamically.
|
|
5791
5862
|
* @param remValue - Rem value as string (e.g., '1rem', '0.857rem') or number
|
|
5792
5863
|
* @returns Number in pixels
|
|
5793
5864
|
*
|
|
@@ -5803,11 +5874,12 @@ function remToPx(remValue, fallback) {
|
|
|
5803
5874
|
if (typeof remValue === 'number') {
|
|
5804
5875
|
return remValue;
|
|
5805
5876
|
}
|
|
5877
|
+
const rootFontSize = getRootFontSize();
|
|
5806
5878
|
const value = remValue || fallback;
|
|
5807
5879
|
const remMatch = typeof value === 'string' ? value.match(/^([\d.]+)rem$/) : null;
|
|
5808
5880
|
if (remMatch) {
|
|
5809
5881
|
const rem = parseFloat(remMatch[1]);
|
|
5810
|
-
return rem *
|
|
5882
|
+
return rem * rootFontSize;
|
|
5811
5883
|
}
|
|
5812
5884
|
|
|
5813
5885
|
// If it's already a number string, parse it
|
|
@@ -5818,7 +5890,7 @@ function remToPx(remValue, fallback) {
|
|
|
5818
5890
|
|
|
5819
5891
|
// Default fallback: parse the fallback value
|
|
5820
5892
|
const fallbackMatch = fallback.match(/^([\d.]+)rem$/);
|
|
5821
|
-
return fallbackMatch ? parseFloat(fallbackMatch[1]) *
|
|
5893
|
+
return fallbackMatch ? parseFloat(fallbackMatch[1]) * rootFontSize : rootFontSize;
|
|
5822
5894
|
}
|
|
5823
5895
|
|
|
5824
5896
|
/**
|
|
@@ -5826,6 +5898,13 @@ function remToPx(remValue, fallback) {
|
|
|
5826
5898
|
* This function maps Capillary design tokens to Ant Design tokens,
|
|
5827
5899
|
* eliminating the need for SCSS overrides.
|
|
5828
5900
|
*
|
|
5901
|
+
* **⚠️ Accessibility Note:**
|
|
5902
|
+
* This function converts rem values to px for Ant Design theme tokens.
|
|
5903
|
+
* This means Ant Design components will not scale with user browser font size settings,
|
|
5904
|
+
* while Cap UI components (which use rem) will scale. This creates inconsistent
|
|
5905
|
+
* behavior and violates WCAG 2.1 SC 1.4.4 (Resize text). Consider using rem values
|
|
5906
|
+
* directly in theme config when Ant Design v6 supports it, or use CSS custom properties.
|
|
5907
|
+
*
|
|
5829
5908
|
* @param options - Optional theme configuration overrides
|
|
5830
5909
|
* @returns Ant Design ThemeConfig object
|
|
5831
5910
|
*
|
|
@@ -6077,8 +6156,8 @@ function getCapThemeConfig(options) {
|
|
|
6077
6156
|
// Merge with custom options if provided
|
|
6078
6157
|
if (options) {
|
|
6079
6158
|
return {
|
|
6080
|
-
token:
|
|
6081
|
-
components:
|
|
6159
|
+
token: options.token ? (0, _lodash.merge)({}, baseTheme.token, options.token) : baseTheme.token,
|
|
6160
|
+
components: options.components ? (0, _lodash.merge)({}, baseTheme.components, options.components) : baseTheme.components,
|
|
6082
6161
|
algorithm: options.algorithm,
|
|
6083
6162
|
cssVar: options.cssVar,
|
|
6084
6163
|
hashed: options.hashed
|
|
@@ -6965,7 +7044,7 @@ const CapAlert = _ref => {
|
|
|
6965
7044
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_antdV.Alert, _extends({
|
|
6966
7045
|
className: (0, _classnames.default)(_styles.default[clsPrefix], className),
|
|
6967
7046
|
type: type,
|
|
6968
|
-
|
|
7047
|
+
message: alertTitle
|
|
6969
7048
|
}, rest))
|
|
6970
7049
|
});
|
|
6971
7050
|
};
|
|
@@ -7035,9 +7114,9 @@ function _isNativeReflectConstruct() {
|
|
|
7035
7114
|
exports.__esModule = true;
|
|
7036
7115
|
var _exportNames = {
|
|
7037
7116
|
getCapThemeConfig: true,
|
|
7038
|
-
|
|
7117
|
+
loadCapUI: true
|
|
7039
7118
|
};
|
|
7040
|
-
exports.
|
|
7119
|
+
exports.loadCapUI = exports.getCapThemeConfig = void 0;
|
|
7041
7120
|
var _fonts = __webpack_require__(170);
|
|
7042
7121
|
Object.keys(_fonts).forEach(function (key) {
|
|
7043
7122
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -7051,11 +7130,11 @@ exports.getCapThemeConfig = _getCapThemeConfig.getCapThemeConfig;
|
|
|
7051
7130
|
const _excluded = ["baseFontSize"];
|
|
7052
7131
|
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; }
|
|
7053
7132
|
/**
|
|
7054
|
-
* Configuration for
|
|
7133
|
+
* Configuration for Cap UI initialization
|
|
7055
7134
|
*/
|
|
7056
7135
|
|
|
7057
7136
|
/**
|
|
7058
|
-
* Loads
|
|
7137
|
+
* Loads Cap UI fonts and base styles (sanitize.css) together
|
|
7059
7138
|
*
|
|
7060
7139
|
* This is a convenience function that loads both fonts and base styles in one call.
|
|
7061
7140
|
* It should be called once when your application initializes.
|
|
@@ -7064,28 +7143,28 @@ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t =
|
|
|
7064
7143
|
* - Webpack will typically deduplicate it if both resolve to the same module path in node_modules
|
|
7065
7144
|
* - However, if you want to avoid any potential duplication, import fonts separately:
|
|
7066
7145
|
* ```typescript
|
|
7067
|
-
* import {
|
|
7068
|
-
*
|
|
7146
|
+
* import { loadCapUIFonts } from '@capillarytech/blaze-ui/utils';
|
|
7147
|
+
* loadCapUIFonts();
|
|
7069
7148
|
* ```
|
|
7070
7149
|
*
|
|
7071
|
-
* @param config -
|
|
7150
|
+
* @param config - Cap UI configuration options
|
|
7072
7151
|
*
|
|
7073
7152
|
* @example
|
|
7074
7153
|
* ```typescript
|
|
7075
|
-
* import {
|
|
7154
|
+
* import { loadCapUI } from '@capillarytech/blaze-ui/utils';
|
|
7076
7155
|
*
|
|
7077
7156
|
* // Load everything with default base font size (14px)
|
|
7078
|
-
*
|
|
7157
|
+
* loadCapUI();
|
|
7079
7158
|
*
|
|
7080
7159
|
* // Load with custom font configuration and base font size
|
|
7081
|
-
*
|
|
7160
|
+
* loadCapUI({
|
|
7082
7161
|
* loadMaterialIcons: false,
|
|
7083
7162
|
* robotoWeights: [400, 500, 700],
|
|
7084
7163
|
* baseFontSize: '16px'
|
|
7085
7164
|
* });
|
|
7086
7165
|
* ```
|
|
7087
7166
|
*/
|
|
7088
|
-
const
|
|
7167
|
+
const loadCapUI = function (config) {
|
|
7089
7168
|
if (config === void 0) {
|
|
7090
7169
|
config = {};
|
|
7091
7170
|
}
|
|
@@ -7101,9 +7180,9 @@ const loadBlazeUI = function (config) {
|
|
|
7101
7180
|
|
|
7102
7181
|
// Styles are loaded via import at module level (above)
|
|
7103
7182
|
// Webpack will deduplicate sanitize.css if imported elsewhere with same module path
|
|
7104
|
-
(0, _fonts.
|
|
7183
|
+
(0, _fonts.loadCapUIFonts)(fontConfig);
|
|
7105
7184
|
};
|
|
7106
|
-
exports.
|
|
7185
|
+
exports.loadCapUI = loadCapUI;
|
|
7107
7186
|
|
|
7108
7187
|
/***/ }),
|
|
7109
7188
|
|
|
@@ -7456,13 +7535,13 @@ var _exportNames = {
|
|
|
7456
7535
|
CapTooltipWithInfo: true,
|
|
7457
7536
|
CapUnifiedSelect: true,
|
|
7458
7537
|
LocaleHoc: true,
|
|
7459
|
-
|
|
7538
|
+
loadCapUI: true,
|
|
7460
7539
|
getCapThemeConfig: true,
|
|
7461
|
-
|
|
7462
|
-
|
|
7540
|
+
loadCapUIFonts: true,
|
|
7541
|
+
getCapUIFontLinks: true,
|
|
7463
7542
|
styledVars: true
|
|
7464
7543
|
};
|
|
7465
|
-
exports.styledVars = exports.
|
|
7544
|
+
exports.styledVars = exports.loadCapUIFonts = exports.loadCapUI = exports.getCapUIFontLinks = exports.getCapThemeConfig = exports.LocaleHoc = exports.CapUnifiedSelect = exports.CapTooltipWithInfo = exports.CapTooltip = exports.CapTable = exports.CapTab = exports.CapSwitch = exports.CapSpin = exports.CapSkeleton = exports.CapRow = exports.CapRadio = exports.CapMenu = exports.CapLabel = exports.CapInput = exports.CapIcon = exports.CapFormItem = exports.CapForm = exports.CapDropdown = exports.CapDivider = exports.CapColumn = exports.CapCheckbox = exports.CapCard = exports.CapButton = exports.CapAlert = void 0;
|
|
7466
7545
|
var _CapAlert = _interopRequireDefault(__webpack_require__(8501));
|
|
7467
7546
|
exports.CapAlert = _CapAlert.default;
|
|
7468
7547
|
var _CapButton = _interopRequireDefault(__webpack_require__(8793));
|
|
@@ -7512,11 +7591,11 @@ exports.CapUnifiedSelect = _CapUnifiedSelect.default;
|
|
|
7512
7591
|
var _LocaleHoc = _interopRequireDefault(__webpack_require__(9879));
|
|
7513
7592
|
exports.LocaleHoc = _LocaleHoc.default;
|
|
7514
7593
|
var _utils = __webpack_require__(2232);
|
|
7515
|
-
exports.
|
|
7594
|
+
exports.loadCapUI = _utils.loadCapUI;
|
|
7516
7595
|
exports.getCapThemeConfig = _utils.getCapThemeConfig;
|
|
7517
7596
|
var _fonts = __webpack_require__(170);
|
|
7518
|
-
exports.
|
|
7519
|
-
exports.
|
|
7597
|
+
exports.loadCapUIFonts = _fonts.loadCapUIFonts;
|
|
7598
|
+
exports.getCapUIFontLinks = _fonts.getCapUIFontLinks;
|
|
7520
7599
|
var _styles = __webpack_require__(7668);
|
|
7521
7600
|
Object.keys(_styles).forEach(function (key) {
|
|
7522
7601
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -8216,7 +8295,8 @@ var _react = _interopRequireDefault(__webpack_require__(9206));
|
|
|
8216
8295
|
var _CapIcon = _interopRequireDefault(__webpack_require__(5595));
|
|
8217
8296
|
var _styles = _interopRequireDefault(__webpack_require__(6805));
|
|
8218
8297
|
var _jsxRuntime = __webpack_require__(4848);
|
|
8219
|
-
const _excluded = ["className", "children", "type", "isAddBtn", "prefix", "suffix"]
|
|
8298
|
+
const _excluded = ["className", "children", "type", "isAddBtn", "prefix", "suffix", "icon", "danger"],
|
|
8299
|
+
_excluded2 = ["variant"];
|
|
8220
8300
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
8221
8301
|
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); }
|
|
8222
8302
|
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; }
|
|
@@ -8233,19 +8313,55 @@ const CapButton = /*#__PURE__*/_react.default.forwardRef((_ref, ref) => {
|
|
|
8233
8313
|
type = 'primary',
|
|
8234
8314
|
isAddBtn = false,
|
|
8235
8315
|
prefix,
|
|
8236
|
-
suffix
|
|
8316
|
+
suffix,
|
|
8317
|
+
icon,
|
|
8318
|
+
danger: dangerProp
|
|
8237
8319
|
} = _ref,
|
|
8238
8320
|
rest = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
8321
|
+
// Handle icon prop - convert string to CapIcon component
|
|
8322
|
+
const iconElement = _react.default.useMemo(() => {
|
|
8323
|
+
if (!icon) return undefined;
|
|
8324
|
+
if (typeof icon === 'string') {
|
|
8325
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapIcon.default, {
|
|
8326
|
+
type: icon
|
|
8327
|
+
});
|
|
8328
|
+
}
|
|
8329
|
+
return icon;
|
|
8330
|
+
}, [icon]);
|
|
8331
|
+
|
|
8332
|
+
// Handle danger: if type is 'danger', convert to danger boolean prop
|
|
8333
|
+
// According to Ant Design v6 API: danger is a boolean prop, not a type
|
|
8334
|
+
const isDanger = dangerProp !== undefined ? dangerProp : type === 'danger';
|
|
8335
|
+
|
|
8336
|
+
// Handle dashed: According to Ant Design v6 API, 'dashed' is a variant, not a type
|
|
8337
|
+
// Map type='dashed' to variant='dashed' and type='default'
|
|
8338
|
+
const isDashed = type === 'dashed';
|
|
8339
|
+
const buttonType = type === 'danger' ? 'primary' // Default danger buttons to primary type
|
|
8340
|
+
: type === 'dashed' ? 'default' // Dashed is a variant, so use default type
|
|
8341
|
+
: type;
|
|
8342
|
+
|
|
8343
|
+
// Extract variant from rest props if provided, otherwise set based on type
|
|
8344
|
+
const variant = rest.variant !== undefined ? rest.variant : isDashed ? 'dashed' : undefined;
|
|
8345
|
+
|
|
8346
|
+
// Use icon prop if provided, otherwise use prefix
|
|
8347
|
+
const effectivePrefix = iconElement || prefix;
|
|
8348
|
+
const hasIcon = isAddBtn || suffix || effectivePrefix;
|
|
8349
|
+
|
|
8350
|
+
// Remove variant from rest to avoid passing it twice
|
|
8351
|
+
const restWithoutVariant = _objectWithoutPropertiesLoose(rest, _excluded2);
|
|
8239
8352
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_antdV.Button, _extends({
|
|
8240
8353
|
ref: ref
|
|
8241
|
-
},
|
|
8242
|
-
type:
|
|
8354
|
+
}, restWithoutVariant, {
|
|
8355
|
+
type: buttonType === 'primary' || buttonType === 'default' || buttonType === 'link' || buttonType === 'text' ? buttonType : undefined,
|
|
8356
|
+
variant: variant,
|
|
8357
|
+
danger: isDanger,
|
|
8358
|
+
icon: iconElement,
|
|
8243
8359
|
className: (0, _classnames.default)(_styles.default[classPrefix], btnTypeClassMapping[type] ? _styles.default[btnTypeClassMapping[type]] : undefined, className, {
|
|
8244
8360
|
[_styles.default['add-btn']]: isAddBtn
|
|
8245
8361
|
}, {
|
|
8246
|
-
[_styles.default['has-icon']]:
|
|
8362
|
+
[_styles.default['has-icon']]: hasIcon
|
|
8247
8363
|
}),
|
|
8248
|
-
children: [(isAddBtn || prefix) && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
8364
|
+
children: [(isAddBtn || prefix) && !iconElement && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
8249
8365
|
className: _styles.default[classPrefix + "-prefix"],
|
|
8250
8366
|
children: isAddBtn ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_CapIcon.default, {
|
|
8251
8367
|
size: "s",
|
|
@@ -8270,10 +8386,11 @@ var ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ = __webpack_require__(1601);
|
|
|
8270
8386
|
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(6314);
|
|
8271
8387
|
var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
|
|
8272
8388
|
// Module
|
|
8273
|
-
___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;
|
|
8389
|
+
___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:not(.blaze-ui-ant-btn-dashed){border:none}.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}`, ""]);
|
|
8274
8390
|
// Exports
|
|
8275
8391
|
___CSS_LOADER_EXPORT___.locals = {
|
|
8276
8392
|
"cap-button-v2": `blaze-ui-cap-button-v2`,
|
|
8393
|
+
"ant-btn-dashed": `blaze-ui-ant-btn-dashed`,
|
|
8277
8394
|
"cap-button-v2-prefix": `blaze-ui-cap-button-v2-prefix`,
|
|
8278
8395
|
"cap-button-v2-suffix": `blaze-ui-cap-button-v2-suffix`,
|
|
8279
8396
|
"has-icon": `blaze-ui-has-icon`,
|
|
@@ -33545,27 +33662,31 @@ var _antdV = __webpack_require__(4273);
|
|
|
33545
33662
|
var _classnames = _interopRequireDefault(__webpack_require__(6942));
|
|
33546
33663
|
var _react = _interopRequireDefault(__webpack_require__(9206));
|
|
33547
33664
|
var _jsxRuntime = __webpack_require__(4848);
|
|
33548
|
-
const _excluded = ["className", "orientation"]; //
|
|
33665
|
+
const _excluded = ["className", "orientation", "type"]; // Legacy alignment values that need mapping
|
|
33666
|
+
// Valid Ant Design v6 title placement values
|
|
33549
33667
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
33550
33668
|
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); }
|
|
33551
33669
|
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; }
|
|
33552
|
-
// Map
|
|
33553
|
-
const
|
|
33554
|
-
|
|
33555
|
-
if (value === '
|
|
33556
|
-
|
|
33670
|
+
// Map legacy alignment values to Ant Design v6 titlePlacement values
|
|
33671
|
+
const mapTitlePlacement = value => {
|
|
33672
|
+
if (value === 'left') return 'start';
|
|
33673
|
+
if (value === 'right') return 'end';
|
|
33674
|
+
if (value === 'center' || value === 'start' || value === 'end') {
|
|
33675
|
+
return value;
|
|
33557
33676
|
}
|
|
33558
|
-
return
|
|
33677
|
+
return undefined;
|
|
33559
33678
|
};
|
|
33560
33679
|
const CapDivider = _ref => {
|
|
33561
33680
|
let {
|
|
33562
33681
|
className,
|
|
33563
|
-
orientation
|
|
33682
|
+
orientation,
|
|
33683
|
+
type = 'horizontal'
|
|
33564
33684
|
} = _ref,
|
|
33565
33685
|
rest = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
33566
33686
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_antdV.Divider, _extends({
|
|
33567
33687
|
className: (0, _classnames.default)('cap-divider-v2', className),
|
|
33568
|
-
orientation:
|
|
33688
|
+
orientation: type,
|
|
33689
|
+
titlePlacement: mapTitlePlacement(orientation)
|
|
33569
33690
|
}, rest));
|
|
33570
33691
|
};
|
|
33571
33692
|
var _default = exports["default"] = CapDivider;
|
|
@@ -34039,6 +34160,7 @@ exports["default"] = void 0;
|
|
|
34039
34160
|
var _antdV = __webpack_require__(4273);
|
|
34040
34161
|
var _classnames = _interopRequireDefault(__webpack_require__(6942));
|
|
34041
34162
|
var _react = _interopRequireDefault(__webpack_require__(9206));
|
|
34163
|
+
var _styles = _interopRequireDefault(__webpack_require__(8773));
|
|
34042
34164
|
var _jsxRuntime = __webpack_require__(4848);
|
|
34043
34165
|
const _excluded = ["className", "checked", "disabled", "size"];
|
|
34044
34166
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
@@ -34056,7 +34178,7 @@ const CapSwitch = _ref => {
|
|
|
34056
34178
|
checked: checked,
|
|
34057
34179
|
disabled: disabled,
|
|
34058
34180
|
size: size,
|
|
34059
|
-
className: (0, _classnames.default)('cap-switch-v2', className)
|
|
34181
|
+
className: (0, _classnames.default)(_styles.default['cap-switch-v2'], className)
|
|
34060
34182
|
}));
|
|
34061
34183
|
};
|
|
34062
34184
|
var _default = exports["default"] = CapSwitch;
|
|
@@ -35757,6 +35879,7 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e
|
|
|
35757
35879
|
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); }
|
|
35758
35880
|
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; }
|
|
35759
35881
|
const CapTooltip = _ref => {
|
|
35882
|
+
var _ref2;
|
|
35760
35883
|
let {
|
|
35761
35884
|
title,
|
|
35762
35885
|
children,
|
|
@@ -35783,7 +35906,8 @@ const CapTooltip = _ref => {
|
|
|
35783
35906
|
} = _ref,
|
|
35784
35907
|
rest = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
35785
35908
|
// Support both old and new APIs - new API takes precedence
|
|
35786
|
-
|
|
35909
|
+
// Use nullish coalescing to respect explicit false values
|
|
35910
|
+
const finalDestroyOnHidden = (_ref2 = destroyOnHidden != null ? destroyOnHidden : destroyTooltipOnHide) != null ? _ref2 : false;
|
|
35787
35911
|
|
|
35788
35912
|
// Merge overlay classNames - new API takes precedence
|
|
35789
35913
|
const finalOverlayClassName = (0, _classnames.default)(_styles.default['cap-tooltip-overlay-v2'], (classNamesProp == null ? void 0 : classNamesProp.root) || overlayClassName);
|
|
@@ -50240,6 +50364,24 @@ var _default = exports["default"] = RefIcon;
|
|
|
50240
50364
|
|
|
50241
50365
|
__webpack_require__(4920);
|
|
50242
50366
|
|
|
50367
|
+
/***/ }),
|
|
50368
|
+
|
|
50369
|
+
/***/ 7704:
|
|
50370
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
50371
|
+
|
|
50372
|
+
// Imports
|
|
50373
|
+
var ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ = __webpack_require__(1601);
|
|
50374
|
+
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(6314);
|
|
50375
|
+
var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
|
|
50376
|
+
// Module
|
|
50377
|
+
___CSS_LOADER_EXPORT___.push([module.id, `.blaze-ui-cap-switch-v2{font-family:"Roboto",sans-serif}`, ""]);
|
|
50378
|
+
// Exports
|
|
50379
|
+
___CSS_LOADER_EXPORT___.locals = {
|
|
50380
|
+
"cap-switch-v2": `blaze-ui-cap-switch-v2`
|
|
50381
|
+
};
|
|
50382
|
+
module.exports = ___CSS_LOADER_EXPORT___;
|
|
50383
|
+
|
|
50384
|
+
|
|
50243
50385
|
/***/ }),
|
|
50244
50386
|
|
|
50245
50387
|
/***/ 7748:
|
|
@@ -51900,6 +52042,58 @@ var _index = _interopRequireDefault(__webpack_require__(3871));
|
|
|
51900
52042
|
const defaultTheme = (0, _cssinjs.createTheme)(_index.default);
|
|
51901
52043
|
var _default = exports["default"] = defaultTheme;
|
|
51902
52044
|
|
|
52045
|
+
/***/ }),
|
|
52046
|
+
|
|
52047
|
+
/***/ 8773:
|
|
52048
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
52049
|
+
|
|
52050
|
+
"use strict";
|
|
52051
|
+
__webpack_require__.r(__webpack_exports__);
|
|
52052
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
52053
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
52054
|
+
/* harmony export */ });
|
|
52055
|
+
/* harmony import */ var _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5072);
|
|
52056
|
+
/* 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__);
|
|
52057
|
+
/* harmony import */ var _node_modules_style_loader_dist_runtime_singletonStyleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4284);
|
|
52058
|
+
/* 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__);
|
|
52059
|
+
/* harmony import */ var _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7659);
|
|
52060
|
+
/* 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__);
|
|
52061
|
+
/* harmony import */ var _node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(5056);
|
|
52062
|
+
/* 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__);
|
|
52063
|
+
/* harmony import */ var _node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(540);
|
|
52064
|
+
/* 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__);
|
|
52065
|
+
/* 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);
|
|
52066
|
+
/* 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__);
|
|
52067
|
+
/* harmony reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
52068
|
+
/* 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__]
|
|
52069
|
+
/* harmony reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
|
|
52070
|
+
|
|
52071
|
+
|
|
52072
|
+
|
|
52073
|
+
|
|
52074
|
+
|
|
52075
|
+
|
|
52076
|
+
|
|
52077
|
+
|
|
52078
|
+
|
|
52079
|
+
|
|
52080
|
+
|
|
52081
|
+
var options = {};
|
|
52082
|
+
|
|
52083
|
+
;
|
|
52084
|
+
options.setAttributes = (_node_modules_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());
|
|
52085
|
+
options.insert = _node_modules_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
|
|
52086
|
+
options.domAPI = (_node_modules_style_loader_dist_runtime_singletonStyleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
|
|
52087
|
+
options.insertStyleElement = (_node_modules_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());
|
|
52088
|
+
|
|
52089
|
+
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);
|
|
52090
|
+
|
|
52091
|
+
|
|
52092
|
+
|
|
52093
|
+
|
|
52094
|
+
/* 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);
|
|
52095
|
+
|
|
52096
|
+
|
|
51903
52097
|
/***/ }),
|
|
51904
52098
|
|
|
51905
52099
|
/***/ 8793:
|