@capillarytech/blaze-ui 1.2.8-beta.1 → 2.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (104) hide show
  1. package/README.md +48 -5
  2. package/dist/CapAlert/CapAlert.d.ts +7 -0
  3. package/dist/CapAlert/CapAlert.d.ts.map +1 -1
  4. package/dist/CapAlert/__snapshots__/CapAlert.test.tsx.snap +217 -0
  5. package/dist/CapAlert/index.js +9 -4
  6. package/dist/CapAlert/index.js.map +1 -1
  7. package/dist/CapButton/CapButton.d.ts +1 -1
  8. package/dist/CapButton/CapButton.d.ts.map +1 -1
  9. package/dist/CapButton/__snapshots__/CapButton.test.tsx.snap +199 -0
  10. package/dist/CapButton/index.js +25 -25
  11. package/dist/CapButton/index.js.map +1 -1
  12. package/dist/CapCard/__snapshots__/CapCard.test.tsx.snap +122 -0
  13. package/dist/CapCheckbox/__snapshots__/CapCheckbox.test.tsx.snap +275 -0
  14. package/dist/CapCheckbox/index.js +9 -5
  15. package/dist/CapCheckbox/index.js.map +1 -1
  16. package/dist/CapColumn/__snapshots__/CapColumn.test.tsx.snap +83 -0
  17. package/dist/CapDivider/CapDivider.d.ts +8 -2
  18. package/dist/CapDivider/CapDivider.d.ts.map +1 -1
  19. package/dist/CapDivider/__snapshots__/CapDivider.test.tsx.snap +109 -0
  20. package/dist/CapDivider/index.js +15 -491
  21. package/dist/CapDivider/index.js.map +1 -1
  22. package/dist/CapDropdown/CapDropdown.d.ts +31 -6
  23. package/dist/CapDropdown/CapDropdown.d.ts.map +1 -1
  24. package/dist/CapDropdown/__snapshots__/CapDropdown.test.tsx.snap +52 -0
  25. package/dist/CapDropdown/index.js +77 -19
  26. package/dist/CapDropdown/index.js.map +1 -1
  27. package/dist/CapForm/__snapshots__/CapForm.test.tsx.snap +103 -0
  28. package/dist/CapFormItem/__snapshots__/CapFormItem.test.tsx.snap +368 -0
  29. package/dist/CapHeading/CapHeading.d.ts +37 -0
  30. package/dist/CapHeading/CapHeading.d.ts.map +1 -0
  31. package/dist/CapHeading/CapHeading.test.d.ts +2 -0
  32. package/dist/CapHeading/CapHeading.test.d.ts.map +1 -0
  33. package/dist/CapHeading/README.md +220 -0
  34. package/dist/CapHeading/__snapshots__/CapHeading.test.tsx.snap +263 -0
  35. package/dist/CapHeading/index.d.ts +3 -0
  36. package/dist/CapHeading/index.d.ts.map +1 -0
  37. package/dist/CapHeading/index.js +740 -0
  38. package/dist/CapHeading/index.js.map +1 -0
  39. package/dist/CapIcon/__snapshots__/CapIcon.test.tsx.snap +366 -0
  40. package/dist/CapInput/__snapshots__/CapInput.test.tsx.snap +156 -0
  41. package/dist/CapInput/__snapshots__/Number.test.tsx.snap +557 -0
  42. package/dist/CapInput/__snapshots__/Search.test.tsx.snap +284 -0
  43. package/dist/CapInput/__snapshots__/TextArea.test.tsx.snap +100 -0
  44. package/dist/CapInput/index.js +2 -5
  45. package/dist/CapInput/index.js.map +1 -1
  46. package/dist/CapLabel/CapLabel.d.ts +2 -2
  47. package/dist/CapLabel/CapLabel.d.ts.map +1 -1
  48. package/dist/CapLabel/__snapshots__/CapLabel.test.tsx.snap +135 -0
  49. package/dist/CapLabel/index.js +8 -4
  50. package/dist/CapLabel/index.js.map +1 -1
  51. package/dist/CapMenu/CapMenu.d.ts +1 -1
  52. package/dist/CapMenu/CapMenu.d.ts.map +1 -1
  53. package/dist/CapMenu/__snapshots__/CapMenu.test.tsx.snap +653 -0
  54. package/dist/CapRadio/__snapshots__/CapRadio.test.tsx.snap +387 -0
  55. package/dist/CapRadio/index.js +9 -5
  56. package/dist/CapRadio/index.js.map +1 -1
  57. package/dist/CapRow/__snapshots__/CapRow.test.tsx.snap +149 -0
  58. package/dist/CapSkeleton/__snapshots__/CapSkeleton.test.tsx.snap +212 -0
  59. package/dist/CapSpin/__snapshots__/CapSpin.test.tsx.snap +245 -0
  60. package/dist/CapSwitch/CapSwitch.d.ts.map +1 -1
  61. package/dist/CapSwitch/__snapshots__/CapSwitch.test.tsx.snap +178 -0
  62. package/dist/CapSwitch/index.js +7 -491
  63. package/dist/CapSwitch/index.js.map +1 -1
  64. package/dist/CapTab/CapTab.d.ts +11 -1
  65. package/dist/CapTab/CapTab.d.ts.map +1 -1
  66. package/dist/CapTab/__snapshots__/CapTab.test.tsx.snap +1508 -0
  67. package/dist/CapTab/index.js +30 -20
  68. package/dist/CapTab/index.js.map +1 -1
  69. package/dist/CapTable/__snapshots__/CapTable.test.tsx.snap +993 -0
  70. package/dist/CapTable/index.js +1 -1
  71. package/dist/CapTable/index.js.map +1 -1
  72. package/dist/CapTooltip/CapTooltip.d.ts +32 -1
  73. package/dist/CapTooltip/CapTooltip.d.ts.map +1 -1
  74. package/dist/CapTooltip/__snapshots__/CapTooltip.test.tsx.snap +121 -0
  75. package/dist/CapTooltip/index.js +26 -12
  76. package/dist/CapTooltip/index.js.map +1 -1
  77. package/dist/CapTooltipWithInfo/__snapshots__/CapTooltipWithInfo.test.tsx.snap +388 -0
  78. package/dist/CapTooltipWithInfo/index.js +26 -12
  79. package/dist/CapTooltipWithInfo/index.js.map +1 -1
  80. package/dist/CapUnifiedSelect/CapUnifiedSelect.d.ts +1 -1
  81. package/dist/CapUnifiedSelect/CapUnifiedSelect.d.ts.map +1 -1
  82. package/dist/CapUnifiedSelect/CustomDropdown.d.ts.map +1 -1
  83. package/dist/CapUnifiedSelect/__snapshots__/CapUnifiedSelect.test.tsx.snap +898 -0
  84. package/dist/CapUnifiedSelect/index.js +33210 -39860
  85. package/dist/CapUnifiedSelect/index.js.map +1 -1
  86. package/dist/index.d.ts +1 -1
  87. package/dist/index.d.ts.map +1 -1
  88. package/dist/index.js +47880 -54269
  89. package/dist/index.js.map +1 -1
  90. package/dist/utils/getCapThemeConfig.d.ts +23 -0
  91. package/dist/utils/getCapThemeConfig.d.ts.map +1 -0
  92. package/dist/utils/index.d.ts +1 -0
  93. package/dist/utils/index.d.ts.map +1 -1
  94. package/dist/utils/index.js +523 -1
  95. package/dist/utils/index.js.map +1 -1
  96. package/package.json +10 -8
  97. package/dist/CapTestSelect/CapTestSelect.d.ts +0 -24
  98. package/dist/CapTestSelect/CapTestSelect.d.ts.map +0 -1
  99. package/dist/CapTestSelect/CapTestSelect.test.d.ts +0 -2
  100. package/dist/CapTestSelect/CapTestSelect.test.d.ts.map +0 -1
  101. package/dist/CapTestSelect/index.d.ts +0 -3
  102. package/dist/CapTestSelect/index.d.ts.map +0 -1
  103. package/dist/CapTestSelect/index.js +0 -130
  104. package/dist/CapTestSelect/index.js.map +0 -1
@@ -50,15 +50,21 @@ var _classnames = _interopRequireDefault(__webpack_require__(6942));
50
50
  var _react = _interopRequireDefault(__webpack_require__(9206));
51
51
  var _styles = _interopRequireDefault(__webpack_require__(5020));
52
52
  var _jsxRuntime = __webpack_require__(4848);
53
- const _excluded = ["panes", "className", "animated", "type", "size", "tabPosition"],
54
- _excluded2 = ["content"];
53
+ const _excluded = ["panes", "className", "animated", "type", "size", "tabPlacement", "tabPosition"];
55
54
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
56
55
  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); }
57
56
  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; }
58
- const {
59
- TabPane
60
- } = _antdV.Tabs;
61
57
  const clsPrefix = 'cap-tab-v2';
58
+
59
+ // Deprecated values from old API
60
+
61
+ // v6 TabPlacement type: 'top' | 'end' | 'bottom' | 'start'
62
+ // Map deprecated values to valid v6 values
63
+ const mapTabPlacement = value => {
64
+ if (value === 'left') return 'start';
65
+ if (value === 'right') return 'end';
66
+ return value;
67
+ };
62
68
  const CapTab = _ref => {
63
69
  let {
64
70
  panes = [],
@@ -66,17 +72,30 @@ const CapTab = _ref => {
66
72
  animated,
67
73
  type = 'line',
68
74
  size = 'middle',
69
- tabPosition = 'top'
75
+ tabPlacement,
76
+ tabPosition
70
77
  } = _ref,
71
78
  rest = _objectWithoutPropertiesLoose(_ref, _excluded);
79
+ // Support both new `tabPlacement` and deprecated `tabPosition` props
80
+ // Map old values: left → start, right → end
81
+ const finalTabPlacement = mapTabPlacement(tabPlacement || tabPosition);
82
+
72
83
  // Default: animated = true, but false when type="card" (matching old behavior)
73
- // Convert boolean to object format for Ant Design v5
84
+ // Convert boolean to object format for Ant Design v6
74
85
  const defaultAnimated = type !== 'card';
75
86
  const animatedValue = animated !== undefined ? animated : defaultAnimated;
76
87
  const animationConfig = typeof animatedValue === 'boolean' ? animatedValue ? {
77
88
  inkBar: true,
78
89
  tabPane: true
79
90
  } : false : animatedValue;
91
+
92
+ // Convert panes to items format (v6 API)
93
+ const items = panes.map((pane, index) => ({
94
+ key: pane.key || String(index),
95
+ label: pane.tab,
96
+ children: pane.content,
97
+ disabled: pane.disabled
98
+ }));
80
99
  return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
81
100
  className: _styles.default['cap-tab-wrapper'],
82
101
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
@@ -86,18 +105,9 @@ const CapTab = _ref => {
86
105
  animated: animationConfig,
87
106
  type: type,
88
107
  size: size,
89
- tabPosition: tabPosition
90
- }, rest, {
91
- children: panes.map((pane, index) => {
92
- const {
93
- content
94
- } = pane,
95
- paneProps = _objectWithoutPropertiesLoose(pane, _excluded2);
96
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(TabPane, _extends({}, paneProps, {
97
- children: content
98
- }), paneProps.key || index);
99
- })
100
- }))
108
+ tabPlacement: finalTabPlacement,
109
+ items: items
110
+ }, rest))
101
111
  })
102
112
  });
103
113
  };
@@ -617,7 +627,7 @@ var ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ = __webpack_require__(1601);
617
627
  var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(6314);
618
628
  var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);
619
629
  // Module
620
- ___CSS_LOADER_EXPORT___.push([module.id, `.blaze-ui-cap-tab-wrapper .ant-tabs .ant-tabs-nav .ant-tabs-tab{padding:.857rem 1.143rem;margin:0;font-weight:500;color:#5e6c84}.blaze-ui-cap-tab-wrapper .ant-tabs .ant-tabs-nav .ant-tabs-tab:hover{color:#091e42;background-color:#faf9f4}.blaze-ui-cap-tab-wrapper .ant-tabs .ant-tabs-nav .ant-tabs-tab.ant-tabs-tab-active{color:#091e42}.blaze-ui-cap-tab-wrapper .ant-tabs .ant-tabs-nav .ant-tabs-tab.ant-tabs-tab-disabled{color:#5e6c84}.blaze-ui-cap-tab-wrapper .ant-tabs .ant-tabs-nav .ant-tabs-tab.ant-tabs-tab-disabled.ant-tabs-tab-active,.blaze-ui-cap-tab-wrapper .ant-tabs .ant-tabs-nav .ant-tabs-tab.ant-tabs-tab-disabled.ant-tabs-tab-active:hover{color:#42526e}.blaze-ui-cap-tab-wrapper .ant-tabs .ant-tabs-nav .ant-tabs-tab.ant-tabs-tab-disabled:hover{color:#5e6c84;background-color:inherit}.blaze-ui-cap-tab-wrapper .ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab-active{color:#091e42}.blaze-ui-cap-tab-wrapper .ant-tabs .ant-tabs-ink-bar.ant-tabs-ink-bar-animated{background-color:#091e42}.blaze-ui-cap-tab-wrapper .ant-tabs .ant-tabs-content-holder{overflow:hidden;position:relative}.blaze-ui-cap-tab-wrapper .ant-tabs .ant-tabs-tabpane{animation:slideInFromRight .3s cubic-bezier(0.645, 0.045, 0.355, 1)}@keyframes blaze-ui-slideInFromRight{from{transform:translateX(100%);opacity:0}to{transform:translateX(0);opacity:1}}.blaze-ui-cap-tab-wrapper .ant-tabs .ant-tabs-content{transition:transform .3s cubic-bezier(0.645, 0.045, 0.355, 1)}`, ""]);
630
+ ___CSS_LOADER_EXPORT___.push([module.id, `.blaze-ui-cap-tab-wrapper .ant-tabs .ant-tabs-nav .ant-tabs-tab{padding:.857rem 1.143rem;margin:0;font-weight:500}.blaze-ui-cap-tab-wrapper .ant-tabs .ant-tabs-content-holder{overflow:hidden;position:relative}.blaze-ui-cap-tab-wrapper .ant-tabs .ant-tabs-tabpane{animation:slideInFromRight .3s cubic-bezier(0.645, 0.045, 0.355, 1)}@keyframes blaze-ui-slideInFromRight{from{transform:translateX(100%);opacity:0}to{transform:translateX(0);opacity:1}}.blaze-ui-cap-tab-wrapper .ant-tabs .ant-tabs-content{transition:transform .3s cubic-bezier(0.645, 0.045, 0.355, 1)}`, ""]);
621
631
  // Exports
622
632
  ___CSS_LOADER_EXPORT___.locals = {
623
633
  "cap-tab-wrapper": `blaze-ui-cap-tab-wrapper`,
@@ -1 +1 @@
1
- {"version":3,"file":"CapTab/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;;;;;;;;;;;;;ACVzW,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;EAAAC,UAAA;AAAA,SAAAL,uBAAAM,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAA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C;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACLD,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;;;;;;;;;ACxBhE;;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;;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,0GAA0G,yBAAyB,SAAS,gBAAgB,cAAc,sEAAsE,cAAc,yBAAyB,oFAAoF,cAAc,sFAAsF,cAAc,0NAA0N,cAAc,4FAA4F,cAAc,yBAAyB,0FAA0F,cAAc,gFAAgF,yBAAyB,6DAA6D,gBAAgB,kBAAkB,sDAAsD,oEAAoE,qCAAqC,KAAK,2BAA2B,UAAU,GAAG,wBAAwB,WAAW,sDAAsD,8DAA8D;AAC39C;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACXA,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,IAAA2B,OAAA,GAAArD,sBAAA,CAAAF,mBAAA;AAAmCsD,kBAAA,GAAAC,OAAA,CAAA7C,OAAA;AAAA,SAAAR,uBAAAM,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/./components/CapTab/CapTab.tsx","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/./components/CapTab/styles.scss?c35c","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/./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/CapTab/styles.scss","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/CapTab/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","import { Tabs } from 'antd-v5';\nimport type { TabsProps } from 'antd-v5';\nimport classNames from 'classnames';\nimport React from 'react';\n\nimport styles from './styles.scss';\n\nconst { TabPane } = Tabs;\n\nconst clsPrefix = 'cap-tab-v2';\n\nexport interface TabPaneData {\n key?: string;\n tab?: React.ReactNode;\n content?: React.ReactNode;\n disabled?: boolean;\n [key: string]: unknown;\n}\n\nexport interface CapTabProps extends Omit<TabsProps, 'items' | 'children'> {\n panes?: TabPaneData[];\n className?: string;\n animated?: boolean | { inkBar?: boolean; tabPane?: boolean };\n type?: 'line' | 'card' | 'editable-card';\n}\n\nconst CapTab: React.FC<CapTabProps> = ({\n panes = [],\n className,\n animated,\n type = 'line',\n size = 'middle',\n tabPosition = 'top',\n ...rest\n}) => {\n // Default: animated = true, but false when type=\"card\" (matching old behavior)\n // Convert boolean to object format for Ant Design v5\n const defaultAnimated = type !== 'card';\n const animatedValue = animated !== undefined ? animated : defaultAnimated;\n const animationConfig =\n typeof animatedValue === 'boolean'\n ? animatedValue\n ? { inkBar: true, tabPane: true }\n : false\n : animatedValue;\n\n return (\n <div className={styles['cap-tab-wrapper']}>\n <div className={classNames(styles['cap-tab-v2-wrapper'], className)}>\n <Tabs\n className={classNames(styles[clsPrefix], className)}\n animated={animationConfig}\n type={type}\n size={size as TabsProps['size']}\n tabPosition={tabPosition}\n {...rest}\n >\n {panes.map((pane, index) => {\n const { content, ...paneProps } = pane;\n return (\n <TabPane key={paneProps.key || index} {...paneProps}>\n {content}\n </TabPane>\n );\n })}\n </Tabs>\n </div>\n </div>\n );\n};\n\nexport default CapTab;\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","\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","\"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};","\"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-tab-wrapper .ant-tabs .ant-tabs-nav .ant-tabs-tab{padding:.857rem 1.143rem;margin:0;font-weight:500;color:#5e6c84}.blaze-ui-cap-tab-wrapper .ant-tabs .ant-tabs-nav .ant-tabs-tab:hover{color:#091e42;background-color:#faf9f4}.blaze-ui-cap-tab-wrapper .ant-tabs .ant-tabs-nav .ant-tabs-tab.ant-tabs-tab-active{color:#091e42}.blaze-ui-cap-tab-wrapper .ant-tabs .ant-tabs-nav .ant-tabs-tab.ant-tabs-tab-disabled{color:#5e6c84}.blaze-ui-cap-tab-wrapper .ant-tabs .ant-tabs-nav .ant-tabs-tab.ant-tabs-tab-disabled.ant-tabs-tab-active,.blaze-ui-cap-tab-wrapper .ant-tabs .ant-tabs-nav .ant-tabs-tab.ant-tabs-tab-disabled.ant-tabs-tab-active:hover{color:#42526e}.blaze-ui-cap-tab-wrapper .ant-tabs .ant-tabs-nav .ant-tabs-tab.ant-tabs-tab-disabled:hover{color:#5e6c84;background-color:inherit}.blaze-ui-cap-tab-wrapper .ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab-active{color:#091e42}.blaze-ui-cap-tab-wrapper .ant-tabs .ant-tabs-ink-bar.ant-tabs-ink-bar-animated{background-color:#091e42}.blaze-ui-cap-tab-wrapper .ant-tabs .ant-tabs-content-holder{overflow:hidden;position:relative}.blaze-ui-cap-tab-wrapper .ant-tabs .ant-tabs-tabpane{animation:slideInFromRight .3s cubic-bezier(0.645, 0.045, 0.355, 1)}@keyframes blaze-ui-slideInFromRight{from{transform:translateX(100%);opacity:0}to{transform:translateX(0);opacity:1}}.blaze-ui-cap-tab-wrapper .ant-tabs .ant-tabs-content{transition:transform .3s cubic-bezier(0.645, 0.045, 0.355, 1)}`, \"\"]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"cap-tab-wrapper\": `blaze-ui-cap-tab-wrapper`,\n\t\"slideInFromRight\": `blaze-ui-slideInFromRight`\n};\nmodule.exports = ___CSS_LOADER_EXPORT___;\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 './CapTab';\nexport type { CapTabProps, TabPaneData } from './CapTab';\n"],"names":["_antdV","require","_classnames","_interopRequireDefault","_react","_styles","_jsxRuntime","_excluded","_excluded2","e","__esModule","default","_extends","Object","assign","bind","n","arguments","length","t","r","hasOwnProperty","call","apply","_objectWithoutPropertiesLoose","indexOf","TabPane","Tabs","clsPrefix","CapTab","_ref","panes","className","animated","type","size","tabPosition","rest","defaultAnimated","animatedValue","undefined","animationConfig","inkBar","tabPane","jsx","styles","children","classNames","map","pane","index","content","paneProps","key","_default","exports","_CapTab"],"sourceRoot":""}
1
+ {"version":3,"file":"CapTab/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;;;;;;;;;;;;;ACVzW,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,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;;;;;;;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;;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;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,kBAAA,GAAAC,OAAA,CAAApD,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/./components/CapTab/CapTab.tsx","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/./components/CapTab/styles.scss?c35c","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/./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/CapTab/styles.scss","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/CapTab/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","import { Tabs } from 'antd-v5';\nimport type { TabsProps } from 'antd-v5';\nimport classNames from 'classnames';\nimport React from 'react';\n\nimport styles from './styles.scss';\n\nconst clsPrefix = 'cap-tab-v2';\n\nexport interface TabPaneData {\n key?: string;\n tab?: React.ReactNode;\n content?: React.ReactNode;\n disabled?: boolean;\n [key: string]: unknown;\n}\n\n// Deprecated values from old API\ntype DeprecatedTabPosition = 'top' | 'right' | 'bottom' | 'left';\n\n// v6 TabPlacement type: 'top' | 'end' | 'bottom' | 'start'\n// Map deprecated values to valid v6 values\nconst mapTabPlacement = (\n value: DeprecatedTabPosition | TabsProps['tabPlacement'] | undefined\n): TabsProps['tabPlacement'] => {\n if (value === 'left') return 'start';\n if (value === 'right') return 'end';\n return value as TabsProps['tabPlacement'];\n};\n\nexport interface CapTabProps\n extends Omit<TabsProps, 'items' | 'children' | 'tabPosition' | 'tabPlacement'> {\n panes?: TabPaneData[];\n className?: string;\n animated?: boolean | { inkBar?: boolean; tabPane?: boolean };\n type?: 'line' | 'card' | 'editable-card';\n /**\n * Tab placement (v6 API)\n */\n tabPlacement?: TabsProps['tabPlacement'];\n /**\n * @deprecated Use `tabPlacement` instead. Will be removed in next major version.\n * Accepts: 'top' | 'right' | 'bottom' | 'left'\n */\n tabPosition?: DeprecatedTabPosition | TabsProps['tabPlacement'];\n}\n\nconst CapTab: React.FC<CapTabProps> = ({\n panes = [],\n className,\n animated,\n type = 'line',\n size = 'middle',\n tabPlacement,\n tabPosition,\n ...rest\n}) => {\n // Support both new `tabPlacement` and deprecated `tabPosition` props\n // Map old values: left → start, right → end\n const finalTabPlacement = mapTabPlacement(tabPlacement || tabPosition);\n\n // Default: animated = true, but false when type=\"card\" (matching old behavior)\n // Convert boolean to object format for Ant Design v6\n const defaultAnimated = type !== 'card';\n const animatedValue = animated !== undefined ? animated : defaultAnimated;\n const animationConfig =\n typeof animatedValue === 'boolean'\n ? animatedValue\n ? { inkBar: true, tabPane: true }\n : false\n : animatedValue;\n\n // Convert panes to items format (v6 API)\n const items = panes.map((pane, index) => ({\n key: pane.key || String(index),\n label: pane.tab,\n children: pane.content,\n disabled: pane.disabled,\n }));\n\n return (\n <div className={styles['cap-tab-wrapper']}>\n <div className={classNames(styles['cap-tab-v2-wrapper'], className)}>\n <Tabs\n className={classNames(styles[clsPrefix], className)}\n animated={animationConfig}\n type={type}\n size={size as TabsProps['size']}\n tabPlacement={finalTabPlacement}\n items={items}\n {...rest}\n />\n </div>\n </div>\n );\n};\n\nexport default CapTab;\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","\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","\"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};","\"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-tab-wrapper .ant-tabs .ant-tabs-nav .ant-tabs-tab{padding:.857rem 1.143rem;margin:0;font-weight:500}.blaze-ui-cap-tab-wrapper .ant-tabs .ant-tabs-content-holder{overflow:hidden;position:relative}.blaze-ui-cap-tab-wrapper .ant-tabs .ant-tabs-tabpane{animation:slideInFromRight .3s cubic-bezier(0.645, 0.045, 0.355, 1)}@keyframes blaze-ui-slideInFromRight{from{transform:translateX(100%);opacity:0}to{transform:translateX(0);opacity:1}}.blaze-ui-cap-tab-wrapper .ant-tabs .ant-tabs-content{transition:transform .3s cubic-bezier(0.645, 0.045, 0.355, 1)}`, \"\"]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"cap-tab-wrapper\": `blaze-ui-cap-tab-wrapper`,\n\t\"slideInFromRight\": `blaze-ui-slideInFromRight`\n};\nmodule.exports = ___CSS_LOADER_EXPORT___;\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 './CapTab';\nexport type { CapTabProps, TabPaneData } from './CapTab';\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","clsPrefix","mapTabPlacement","value","CapTab","_ref","panes","className","animated","type","size","tabPlacement","tabPosition","rest","finalTabPlacement","defaultAnimated","animatedValue","undefined","animationConfig","inkBar","tabPane","items","map","pane","index","key","String","label","tab","children","content","disabled","jsx","styles","classNames","Tabs","_default","exports","_CapTab"],"sourceRoot":""}