@mmb-digital/ds-lilly 0.7.5 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ds-lilly.css +1 -1
- package/dist/ds-lilly.js +192 -159
- package/dist/types/src/components/Components/ContentTable/ContentTable.d.ts +28 -0
- package/dist/types/src/components/Components/ContentTable/ContentTableRow.d.ts +53 -0
- package/dist/types/src/components/Components/ContentTable/index.d.ts +3 -0
- package/dist/types/src/components/Components/index.d.ts +1 -1
- package/dist/types/src/contexts/ContentTableContext.d.ts +30 -0
- package/package.json +1 -1
- package/dist/types/src/components/Components/ContentCard/ContentCard.d.ts +0 -35
- package/dist/types/src/components/Components/ContentCard/ContentCardGroup.d.ts +0 -11
- package/dist/types/src/components/Components/ContentCard/index.d.ts +0 -3
package/dist/ds-lilly.js
CHANGED
|
@@ -6204,7 +6204,7 @@ var isEqual = __webpack_require__(27);
|
|
|
6204
6204
|
var isEqual_default = /*#__PURE__*/__webpack_require__.n(isEqual);
|
|
6205
6205
|
|
|
6206
6206
|
// EXTERNAL MODULE: ./node_modules/lodash/sortBy.js
|
|
6207
|
-
var sortBy = __webpack_require__(
|
|
6207
|
+
var sortBy = __webpack_require__(63);
|
|
6208
6208
|
var sortBy_default = /*#__PURE__*/__webpack_require__.n(sortBy);
|
|
6209
6209
|
|
|
6210
6210
|
// EXTERNAL MODULE: ./node_modules/lodash/isNaN.js
|
|
@@ -6868,7 +6868,7 @@ var src = __webpack_require__(638);
|
|
|
6868
6868
|
});
|
|
6869
6869
|
|
|
6870
6870
|
// EXTERNAL MODULE: ./node_modules/d3-shape/src/array.js
|
|
6871
|
-
var array = __webpack_require__(
|
|
6871
|
+
var array = __webpack_require__(65);
|
|
6872
6872
|
|
|
6873
6873
|
// EXTERNAL MODULE: ./node_modules/d3-shape/src/constant.js
|
|
6874
6874
|
var constant = __webpack_require__(16);
|
|
@@ -14078,7 +14078,7 @@ function stepAfter(context) {
|
|
|
14078
14078
|
var src_path = __webpack_require__(1059);
|
|
14079
14079
|
|
|
14080
14080
|
// EXTERNAL MODULE: ./node_modules/d3-shape/src/array.js
|
|
14081
|
-
var array = __webpack_require__(
|
|
14081
|
+
var array = __webpack_require__(65);
|
|
14082
14082
|
|
|
14083
14083
|
// EXTERNAL MODULE: ./node_modules/d3-shape/src/constant.js
|
|
14084
14084
|
var constant = __webpack_require__(16);
|
|
@@ -14635,7 +14635,7 @@ module.exports = root;
|
|
|
14635
14635
|
|
|
14636
14636
|
var baseMatches = __webpack_require__(963),
|
|
14637
14637
|
baseMatchesProperty = __webpack_require__(987),
|
|
14638
|
-
identity = __webpack_require__(
|
|
14638
|
+
identity = __webpack_require__(57),
|
|
14639
14639
|
isArray = __webpack_require__(11),
|
|
14640
14640
|
property = __webpack_require__(991);
|
|
14641
14641
|
|
|
@@ -15037,7 +15037,7 @@ var createLabeledScales = function createLabeledScales(options) {
|
|
|
15037
15037
|
|
|
15038
15038
|
var baseExtremum = __webpack_require__(88),
|
|
15039
15039
|
baseGt = __webpack_require__(832),
|
|
15040
|
-
identity = __webpack_require__(
|
|
15040
|
+
identity = __webpack_require__(57);
|
|
15041
15041
|
|
|
15042
15042
|
/**
|
|
15043
15043
|
* Computes the maximum value of `array`. If `array` is empty or falsey,
|
|
@@ -15792,7 +15792,8 @@ module.exports.default = camelCase;
|
|
|
15792
15792
|
|
|
15793
15793
|
|
|
15794
15794
|
/***/ }),
|
|
15795
|
-
/* 55
|
|
15795
|
+
/* 55 */,
|
|
15796
|
+
/* 56 */
|
|
15796
15797
|
/***/ (function(module, exports, __webpack_require__) {
|
|
15797
15798
|
|
|
15798
15799
|
var baseGetTag = __webpack_require__(41),
|
|
@@ -15827,7 +15828,7 @@ module.exports = isSymbol;
|
|
|
15827
15828
|
|
|
15828
15829
|
|
|
15829
15830
|
/***/ }),
|
|
15830
|
-
/*
|
|
15831
|
+
/* 57 */
|
|
15831
15832
|
/***/ (function(module, exports) {
|
|
15832
15833
|
|
|
15833
15834
|
/**
|
|
@@ -15854,7 +15855,7 @@ module.exports = identity;
|
|
|
15854
15855
|
|
|
15855
15856
|
|
|
15856
15857
|
/***/ }),
|
|
15857
|
-
/*
|
|
15858
|
+
/* 58 */
|
|
15858
15859
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
15859
15860
|
|
|
15860
15861
|
"use strict";
|
|
@@ -15889,13 +15890,13 @@ function SvgLogo(props) {
|
|
|
15889
15890
|
/* harmony default export */ __webpack_exports__["default"] = (SvgLogo);
|
|
15890
15891
|
|
|
15891
15892
|
/***/ }),
|
|
15892
|
-
/*
|
|
15893
|
+
/* 59 */
|
|
15893
15894
|
/***/ (function(module, exports, __webpack_require__) {
|
|
15894
15895
|
|
|
15895
15896
|
!function(e,t){ true?module.exports=t():undefined}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(1);Object.defineProperty(t,"createAutoCorrectedDatePipe",{enumerable:!0,get:function(){return r(i).default}});var o=n(2);Object.defineProperty(t,"createNumberMask",{enumerable:!0,get:function(){return r(o).default}});var u=n(3);Object.defineProperty(t,"emailMask",{enumerable:!0,get:function(){return r(u).default}})},function(e,t){"use strict";function n(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"mm dd yyyy",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minYear,o=void 0===n?1:n,u=t.maxYear,a=void 0===u?9999:u,c=e.split(/[^dmyHMS]+/).sort(function(e,t){return i.indexOf(e)-i.indexOf(t)});return function(t){var n=[],i={dd:31,mm:12,yy:99,yyyy:a,HH:23,MM:59,SS:59},u={dd:1,mm:1,yy:0,yyyy:o,HH:0,MM:0,SS:0},l=t.split("");c.forEach(function(t){var r=e.indexOf(t),o=parseInt(i[t].toString().substr(0,1),10);parseInt(l[r],10)>o&&(l[r+1]=l[r],l[r]=0,n.push(r))});var s=0,d=c.some(function(n){var c=e.indexOf(n),l=n.length,d=t.substr(c,l).replace(/\D/g,""),f=parseInt(d,10);"mm"===n&&(s=f||0);var p="dd"===n?r[s]:i[n];if("yyyy"===n&&(1!==o||9999!==a)){var v=parseInt(i[n].toString().substring(0,d.length),10),y=parseInt(u[n].toString().substring(0,d.length),10);return f<y||f>v}return f>p||d.length===l&&f<u[n]});return!d&&{value:l.join(""),indexesOfPipedChars:n}}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;var r=[31,31,29,31,30,31,30,31,31,30,31,30,31],i=["yyyy","yy","mm","dd","HH","MM","SS"]},function(e,t){"use strict";function n(){function e(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a,t=e.length;if(e===a||e[0]===g[0]&&1===t)return g.split(a).concat([v]).concat(h.split(a));if(e===P&&_)return g.split(a).concat(["0",P,v]).concat(h.split(a));var n=e[0]===s&&D;n&&(e=e.toString().substr(1));var u=e.lastIndexOf(P),c=u!==-1,l=void 0,m=void 0,b=void 0;if(e.slice($*-1)===h&&(e=e.slice(0,$*-1)),c&&(_||I)?(l=e.slice(e.slice(0,N)===g?N:0,u),m=e.slice(u+1,t),m=r(m.replace(f,a))):l=e.slice(0,N)===g?e.slice(N):e,L&&("undefined"==typeof L?"undefined":o(L))===p){var O="."===S?"[.]":""+S,M=(l.match(new RegExp(O,"g"))||[]).length;l=l.slice(0,L+M*V)}return l=l.replace(f,a),R||(l=l.replace(/^0+(0$|[^0])/,"$1")),l=x?i(l,S):l,b=r(l),(c&&_||I===!0)&&(e[u-1]!==P&&b.push(y),b.push(P,y),m&&(("undefined"==typeof C?"undefined":o(C))===p&&(m=m.slice(0,C)),b=b.concat(m)),I===!0&&e[u-1]===P&&b.push(v)),N>0&&(b=g.split(a).concat(b)),n&&(b.length===N&&b.push(v),b=[d].concat(b)),h.length>0&&(b=b.concat(h.split(a))),b}var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.prefix,g=void 0===n?u:n,m=t.suffix,h=void 0===m?a:m,b=t.includeThousandsSeparator,x=void 0===b||b,O=t.thousandsSeparatorSymbol,S=void 0===O?c:O,M=t.allowDecimal,_=void 0!==M&&M,j=t.decimalSymbol,P=void 0===j?l:j,w=t.decimalLimit,C=void 0===w?2:w,H=t.requireDecimal,I=void 0!==H&&H,k=t.allowNegative,D=void 0!==k&&k,E=t.allowLeadingZeroes,R=void 0!==E&&E,A=t.integerLimit,L=void 0===A?null:A,N=g&&g.length||0,$=h&&h.length||0,V=S&&S.length||0;return e.instanceOf="createNumberMask",e}function r(e){return e.split(a).map(function(e){return v.test(e)?v:e})}function i(e,t){return e.replace(/\B(?=(\d{3})+(?!\d))/g,t)}Object.defineProperty(t,"__esModule",{value:!0});var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=n;var u="$",a="",c=",",l=".",s="-",d=/-/,f=/\D+/g,p="number",v=/\d/,y="[]"},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){e=e.replace(O,v);var n=t.placeholderChar,r=t.currentCaretPosition,i=e.indexOf(y),s=e.lastIndexOf(p),d=s<i?-1:s,f=o(e,i+1,y),g=o(e,d-1,p),m=u(e,i,n),h=a(e,i,d,n),b=c(e,d,n,r);m=l(m),h=l(h),b=l(b,!0);var x=m.concat(f).concat(h).concat(g).concat(b);return x}function o(e,t,n){var r=[];return e[t]===n?r.push(n):r.push(g,n),r.push(g),r}function u(e,t){return t===-1?e:e.slice(0,t)}function a(e,t,n,r){var i=v;return t!==-1&&(i=n===-1?e.slice(t+1,e.length):e.slice(t+1,n)),i=i.replace(new RegExp("[\\s"+r+"]",h),v),i===y?f:i.length<1?m:i[i.length-1]===p?i.slice(0,i.length-1):i}function c(e,t,n,r){var i=v;return t!==-1&&(i=e.slice(t+1,e.length)),i=i.replace(new RegExp("[\\s"+n+".]",h),v),0===i.length?e[t-1]===p&&r!==e.length?f:v:i}function l(e,t){return e.split(v).map(function(e){return e===m?e:t?x:b})}Object.defineProperty(t,"__esModule",{value:!0});var s=n(4),d=r(s),f="*",p=".",v="",y="@",g="[]",m=" ",h="g",b=/[^\s]/,x=/[^.\s]/,O=/\s/g;t.default={mask:i,pipe:d.default}},function(e,t){"use strict";function n(e,t){var n=t.currentCaretPosition,o=t.rawValue,f=t.previousConformedValue,p=t.placeholderChar,v=e;v=r(v);var y=v.indexOf(a),g=null===o.match(new RegExp("[^@\\s."+p+"]"));if(g)return u;if(v.indexOf(l)!==-1||y!==-1&&n!==y+1||o.indexOf(i)===-1&&f!==u&&o.indexOf(c)!==-1)return!1;var m=v.indexOf(i),h=v.slice(m+1,v.length);return(h.match(d)||s).length>1&&v.substr(-1)===c&&n!==o.length&&(v=v.slice(0,v.length-1)),v}function r(e){var t=0;return e.replace(o,function(){return t++,1===t?i:u})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;var i="@",o=/@/g,u="",a="@.",c=".",l="..",s=[],d=/\./g}])});
|
|
15896
15897
|
|
|
15897
15898
|
/***/ }),
|
|
15898
|
-
/*
|
|
15899
|
+
/* 60 */
|
|
15899
15900
|
/***/ (function(module, exports, __webpack_require__) {
|
|
15900
15901
|
|
|
15901
15902
|
(function (global, factory) {
|
|
@@ -15975,7 +15976,7 @@ function SvgLogo(props) {
|
|
|
15975
15976
|
|
|
15976
15977
|
|
|
15977
15978
|
/***/ }),
|
|
15978
|
-
/*
|
|
15979
|
+
/* 61 */
|
|
15979
15980
|
/***/ (function(module, exports, __webpack_require__) {
|
|
15980
15981
|
|
|
15981
15982
|
(function (global, factory) {
|
|
@@ -16064,7 +16065,7 @@ function SvgLogo(props) {
|
|
|
16064
16065
|
|
|
16065
16066
|
|
|
16066
16067
|
/***/ }),
|
|
16067
|
-
/*
|
|
16068
|
+
/* 62 */
|
|
16068
16069
|
/***/ (function(module, exports, __webpack_require__) {
|
|
16069
16070
|
|
|
16070
16071
|
"use strict";
|
|
@@ -16298,7 +16299,7 @@ var _default = DateTimePicker;
|
|
|
16298
16299
|
exports["default"] = _default;
|
|
16299
16300
|
|
|
16300
16301
|
/***/ }),
|
|
16301
|
-
/*
|
|
16302
|
+
/* 63 */
|
|
16302
16303
|
/***/ (function(module, exports, __webpack_require__) {
|
|
16303
16304
|
|
|
16304
16305
|
var baseFlatten = __webpack_require__(656),
|
|
@@ -16352,7 +16353,7 @@ module.exports = sortBy;
|
|
|
16352
16353
|
|
|
16353
16354
|
|
|
16354
16355
|
/***/ }),
|
|
16355
|
-
/*
|
|
16356
|
+
/* 64 */
|
|
16356
16357
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
16357
16358
|
|
|
16358
16359
|
"use strict";
|
|
@@ -16362,7 +16363,7 @@ module.exports = sortBy;
|
|
|
16362
16363
|
|
|
16363
16364
|
|
|
16364
16365
|
/***/ }),
|
|
16365
|
-
/*
|
|
16366
|
+
/* 65 */
|
|
16366
16367
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
16367
16368
|
|
|
16368
16369
|
"use strict";
|
|
@@ -16377,7 +16378,7 @@ var slice = Array.prototype.slice;
|
|
|
16377
16378
|
|
|
16378
16379
|
|
|
16379
16380
|
/***/ }),
|
|
16380
|
-
/*
|
|
16381
|
+
/* 66 */
|
|
16381
16382
|
/***/ (function(module, exports, __webpack_require__) {
|
|
16382
16383
|
|
|
16383
16384
|
"use strict";
|
|
@@ -17266,7 +17267,7 @@ exports.withOrientationChange = withOrientationChange;
|
|
|
17266
17267
|
|
|
17267
17268
|
|
|
17268
17269
|
/***/ }),
|
|
17269
|
-
/*
|
|
17270
|
+
/* 67 */
|
|
17270
17271
|
/***/ (function(module, exports, __webpack_require__) {
|
|
17271
17272
|
|
|
17272
17273
|
var createRange = __webpack_require__(1009);
|
|
@@ -17318,7 +17319,7 @@ module.exports = range;
|
|
|
17318
17319
|
|
|
17319
17320
|
|
|
17320
17321
|
/***/ }),
|
|
17321
|
-
/*
|
|
17322
|
+
/* 68 */
|
|
17322
17323
|
/***/ (function(module, exports, __webpack_require__) {
|
|
17323
17324
|
|
|
17324
17325
|
var baseIteratee = __webpack_require__(35),
|
|
@@ -17355,7 +17356,7 @@ module.exports = uniqBy;
|
|
|
17355
17356
|
|
|
17356
17357
|
|
|
17357
17358
|
/***/ }),
|
|
17358
|
-
/*
|
|
17359
|
+
/* 69 */
|
|
17359
17360
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
17360
17361
|
|
|
17361
17362
|
"use strict";
|
|
@@ -17949,7 +17950,6 @@ CartesianAxis.defaultProps = {
|
|
|
17949
17950
|
};
|
|
17950
17951
|
|
|
17951
17952
|
/***/ }),
|
|
17952
|
-
/* 69 */,
|
|
17953
17953
|
/* 70 */
|
|
17954
17954
|
/***/ (function(module, exports, __webpack_require__) {
|
|
17955
17955
|
|
|
@@ -18447,7 +18447,7 @@ var isFunction = __webpack_require__(7);
|
|
|
18447
18447
|
var isFunction_default = /*#__PURE__*/__webpack_require__.n(isFunction);
|
|
18448
18448
|
|
|
18449
18449
|
// EXTERNAL MODULE: ./node_modules/lodash/uniqBy.js
|
|
18450
|
-
var uniqBy = __webpack_require__(
|
|
18450
|
+
var uniqBy = __webpack_require__(68);
|
|
18451
18451
|
var uniqBy_default = /*#__PURE__*/__webpack_require__.n(uniqBy);
|
|
18452
18452
|
|
|
18453
18453
|
// EXTERNAL MODULE: external {"root":"React","commonjs2":"react","commonjs":"react","amd":"react","umd":"react"}
|
|
@@ -18962,7 +18962,7 @@ Legend_Legend.defaultProps = {
|
|
|
18962
18962
|
|
|
18963
18963
|
var baseExtremum = __webpack_require__(88),
|
|
18964
18964
|
baseLt = __webpack_require__(833),
|
|
18965
|
-
identity = __webpack_require__(
|
|
18965
|
+
identity = __webpack_require__(57);
|
|
18966
18966
|
|
|
18967
18967
|
/**
|
|
18968
18968
|
* Computes the minimum value of `array`. If `array` is empty or falsey,
|
|
@@ -19009,7 +19009,7 @@ var isFunction = __webpack_require__(7);
|
|
|
19009
19009
|
var isFunction_default = /*#__PURE__*/__webpack_require__.n(isFunction);
|
|
19010
19010
|
|
|
19011
19011
|
// EXTERNAL MODULE: ./node_modules/lodash/uniqBy.js
|
|
19012
|
-
var uniqBy = __webpack_require__(
|
|
19012
|
+
var uniqBy = __webpack_require__(68);
|
|
19013
19013
|
var uniqBy_default = /*#__PURE__*/__webpack_require__.n(uniqBy);
|
|
19014
19014
|
|
|
19015
19015
|
// EXTERNAL MODULE: external {"root":"React","commonjs2":"react","commonjs":"react","amd":"react","umd":"react"}
|
|
@@ -19024,7 +19024,7 @@ var classnames = __webpack_require__(8);
|
|
|
19024
19024
|
var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
|
|
19025
19025
|
|
|
19026
19026
|
// EXTERNAL MODULE: ./node_modules/lodash/sortBy.js
|
|
19027
|
-
var sortBy = __webpack_require__(
|
|
19027
|
+
var sortBy = __webpack_require__(63);
|
|
19028
19028
|
var sortBy_default = /*#__PURE__*/__webpack_require__.n(sortBy);
|
|
19029
19029
|
|
|
19030
19030
|
// EXTERNAL MODULE: ./node_modules/lodash/isArray.js
|
|
@@ -19607,7 +19607,7 @@ module.exports = getMapData;
|
|
|
19607
19607
|
/* 85 */
|
|
19608
19608
|
/***/ (function(module, exports, __webpack_require__) {
|
|
19609
19609
|
|
|
19610
|
-
var isSymbol = __webpack_require__(
|
|
19610
|
+
var isSymbol = __webpack_require__(56);
|
|
19611
19611
|
|
|
19612
19612
|
/** Used as references for various `Number` constants. */
|
|
19613
19613
|
var INFINITY = 1 / 0;
|
|
@@ -19713,7 +19713,7 @@ module.exports = isIterateeCall;
|
|
|
19713
19713
|
/* 88 */
|
|
19714
19714
|
/***/ (function(module, exports, __webpack_require__) {
|
|
19715
19715
|
|
|
19716
|
-
var isSymbol = __webpack_require__(
|
|
19716
|
+
var isSymbol = __webpack_require__(56);
|
|
19717
19717
|
|
|
19718
19718
|
/**
|
|
19719
19719
|
* The base implementation of methods like `_.max` and `_.min` which accepts a
|
|
@@ -33966,11 +33966,11 @@ function tickFormat(start, stop, count, specifier) {
|
|
|
33966
33966
|
/* harmony import */ var lodash_isFunction__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_isFunction__WEBPACK_IMPORTED_MODULE_2__);
|
|
33967
33967
|
/* harmony import */ var lodash_throttle__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(885);
|
|
33968
33968
|
/* harmony import */ var lodash_throttle__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(lodash_throttle__WEBPACK_IMPORTED_MODULE_3__);
|
|
33969
|
-
/* harmony import */ var lodash_sortBy__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
|
|
33969
|
+
/* harmony import */ var lodash_sortBy__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(63);
|
|
33970
33970
|
/* harmony import */ var lodash_sortBy__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(lodash_sortBy__WEBPACK_IMPORTED_MODULE_4__);
|
|
33971
33971
|
/* harmony import */ var lodash_get__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(18);
|
|
33972
33972
|
/* harmony import */ var lodash_get__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(lodash_get__WEBPACK_IMPORTED_MODULE_5__);
|
|
33973
|
-
/* harmony import */ var lodash_range__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
|
|
33973
|
+
/* harmony import */ var lodash_range__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(67);
|
|
33974
33974
|
/* harmony import */ var lodash_range__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(lodash_range__WEBPACK_IMPORTED_MODULE_6__);
|
|
33975
33975
|
/* harmony import */ var lodash_isNil__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(5);
|
|
33976
33976
|
/* harmony import */ var lodash_isNil__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(lodash_isNil__WEBPACK_IMPORTED_MODULE_7__);
|
|
@@ -33992,7 +33992,7 @@ function tickFormat(start, stop, count, specifier) {
|
|
|
33992
33992
|
/* harmony import */ var _shape_Dot__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(36);
|
|
33993
33993
|
/* harmony import */ var _shape_Rectangle__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(53);
|
|
33994
33994
|
/* harmony import */ var _util_ReactUtils__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(10);
|
|
33995
|
-
/* harmony import */ var _cartesian_CartesianAxis__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(
|
|
33995
|
+
/* harmony import */ var _cartesian_CartesianAxis__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(69);
|
|
33996
33996
|
/* harmony import */ var _cartesian_Brush__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(642);
|
|
33997
33997
|
/* harmony import */ var _util_DOMUtils__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(32);
|
|
33998
33998
|
/* harmony import */ var _util_DataUtils__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(1);
|
|
@@ -36782,7 +36782,7 @@ function min(values, valueof) {
|
|
|
36782
36782
|
}
|
|
36783
36783
|
|
|
36784
36784
|
// EXTERNAL MODULE: ./node_modules/d3-array/src/ascending.js
|
|
36785
|
-
var ascending = __webpack_require__(
|
|
36785
|
+
var ascending = __webpack_require__(64);
|
|
36786
36786
|
|
|
36787
36787
|
// CONCATENATED MODULE: ./node_modules/d3-array/src/quickselect.js
|
|
36788
36788
|
|
|
@@ -39567,7 +39567,7 @@ var isFunction = __webpack_require__(7);
|
|
|
39567
39567
|
var isFunction_default = /*#__PURE__*/__webpack_require__.n(isFunction);
|
|
39568
39568
|
|
|
39569
39569
|
// EXTERNAL MODULE: ./node_modules/lodash/range.js
|
|
39570
|
-
var range = __webpack_require__(
|
|
39570
|
+
var range = __webpack_require__(67);
|
|
39571
39571
|
var range_default = /*#__PURE__*/__webpack_require__.n(range);
|
|
39572
39572
|
|
|
39573
39573
|
// EXTERNAL MODULE: external {"root":"React","commonjs2":"react","commonjs":"react","amd":"react","umd":"react"}
|
|
@@ -40298,7 +40298,7 @@ module.exports = baseGet;
|
|
|
40298
40298
|
/***/ (function(module, exports, __webpack_require__) {
|
|
40299
40299
|
|
|
40300
40300
|
var isArray = __webpack_require__(11),
|
|
40301
|
-
isSymbol = __webpack_require__(
|
|
40301
|
+
isSymbol = __webpack_require__(56);
|
|
40302
40302
|
|
|
40303
40303
|
/** Used to match property names within property paths. */
|
|
40304
40304
|
var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,
|
|
@@ -41687,7 +41687,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
41687
41687
|
/* harmony import */ var _LockFill__WEBPACK_IMPORTED_MODULE_331__ = __webpack_require__(420);
|
|
41688
41688
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "LockFill", function() { return _LockFill__WEBPACK_IMPORTED_MODULE_331__["default"]; });
|
|
41689
41689
|
|
|
41690
|
-
/* harmony import */ var _Logo__WEBPACK_IMPORTED_MODULE_332__ = __webpack_require__(
|
|
41690
|
+
/* harmony import */ var _Logo__WEBPACK_IMPORTED_MODULE_332__ = __webpack_require__(58);
|
|
41691
41691
|
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "Logo", function() { return _Logo__WEBPACK_IMPORTED_MODULE_332__["default"]; });
|
|
41692
41692
|
|
|
41693
41693
|
/* harmony import */ var _Logout__WEBPACK_IMPORTED_MODULE_333__ = __webpack_require__(421);
|
|
@@ -43709,7 +43709,7 @@ FormatSpecifier.prototype.toString = function() {
|
|
|
43709
43709
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
43710
43710
|
|
|
43711
43711
|
"use strict";
|
|
43712
|
-
/* harmony import */ var _ascending_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
43712
|
+
/* harmony import */ var _ascending_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(64);
|
|
43713
43713
|
|
|
43714
43714
|
|
|
43715
43715
|
/* harmony default export */ __webpack_exports__["a"] = (function(f) {
|
|
@@ -58703,7 +58703,7 @@ module.exports = freeGlobal;
|
|
|
58703
58703
|
|
|
58704
58704
|
var baseTrim = __webpack_require__(917),
|
|
58705
58705
|
isObject = __webpack_require__(21),
|
|
58706
|
-
isSymbol = __webpack_require__(
|
|
58706
|
+
isSymbol = __webpack_require__(56);
|
|
58707
58707
|
|
|
58708
58708
|
/** Used as references for various `Number` constants. */
|
|
58709
58709
|
var NAN = 0 / 0;
|
|
@@ -67874,10 +67874,10 @@ var map = {
|
|
|
67874
67874
|
0
|
|
67875
67875
|
],
|
|
67876
67876
|
"./Logo": [
|
|
67877
|
-
|
|
67877
|
+
58
|
|
67878
67878
|
],
|
|
67879
67879
|
"./Logo.js": [
|
|
67880
|
-
|
|
67880
|
+
58
|
|
67881
67881
|
],
|
|
67882
67882
|
"./Logout": [
|
|
67883
67883
|
421,
|
|
@@ -70654,7 +70654,7 @@ module.exports = mapCacheSet;
|
|
|
70654
70654
|
var Symbol = __webpack_require__(70),
|
|
70655
70655
|
arrayMap = __webpack_require__(649),
|
|
70656
70656
|
isArray = __webpack_require__(11),
|
|
70657
|
-
isSymbol = __webpack_require__(
|
|
70657
|
+
isSymbol = __webpack_require__(56);
|
|
70658
70658
|
|
|
70659
70659
|
/** Used as references for various `Number` constants. */
|
|
70660
70660
|
var INFINITY = 1 / 0;
|
|
@@ -73993,7 +73993,7 @@ var arrayMap = __webpack_require__(649),
|
|
|
73993
73993
|
baseSortBy = __webpack_require__(999),
|
|
73994
73994
|
baseUnary = __webpack_require__(816),
|
|
73995
73995
|
compareMultiple = __webpack_require__(1000),
|
|
73996
|
-
identity = __webpack_require__(
|
|
73996
|
+
identity = __webpack_require__(57),
|
|
73997
73997
|
isArray = __webpack_require__(11);
|
|
73998
73998
|
|
|
73999
73999
|
/**
|
|
@@ -74118,7 +74118,7 @@ module.exports = compareMultiple;
|
|
|
74118
74118
|
/* 1001 */
|
|
74119
74119
|
/***/ (function(module, exports, __webpack_require__) {
|
|
74120
74120
|
|
|
74121
|
-
var isSymbol = __webpack_require__(
|
|
74121
|
+
var isSymbol = __webpack_require__(56);
|
|
74122
74122
|
|
|
74123
74123
|
/**
|
|
74124
74124
|
* Compares values to sort them in ascending order.
|
|
@@ -74165,7 +74165,7 @@ module.exports = compareAscending;
|
|
|
74165
74165
|
/* 1002 */
|
|
74166
74166
|
/***/ (function(module, exports, __webpack_require__) {
|
|
74167
74167
|
|
|
74168
|
-
var identity = __webpack_require__(
|
|
74168
|
+
var identity = __webpack_require__(57),
|
|
74169
74169
|
overRest = __webpack_require__(1003),
|
|
74170
74170
|
setToString = __webpack_require__(1005);
|
|
74171
74171
|
|
|
@@ -74279,7 +74279,7 @@ module.exports = setToString;
|
|
|
74279
74279
|
|
|
74280
74280
|
var constant = __webpack_require__(1007),
|
|
74281
74281
|
defineProperty = __webpack_require__(830),
|
|
74282
|
-
identity = __webpack_require__(
|
|
74282
|
+
identity = __webpack_require__(57);
|
|
74283
74283
|
|
|
74284
74284
|
/**
|
|
74285
74285
|
* The base implementation of `setToString` without support for hot loop shorting.
|
|
@@ -80326,8 +80326,9 @@ __webpack_require__.d(__webpack_exports__, "Card", function() { return /* reexpo
|
|
|
80326
80326
|
__webpack_require__.d(__webpack_exports__, "CardCustomTrigger", function() { return /* reexport */ CardCustomTrigger; });
|
|
80327
80327
|
__webpack_require__.d(__webpack_exports__, "Collapse", function() { return /* reexport */ Collapse; });
|
|
80328
80328
|
__webpack_require__.d(__webpack_exports__, "CompactButtons", function() { return /* reexport */ CompactButtons; });
|
|
80329
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
80330
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
80329
|
+
__webpack_require__.d(__webpack_exports__, "getTextAlignClass", function() { return /* reexport */ getTextAlignClass; });
|
|
80330
|
+
__webpack_require__.d(__webpack_exports__, "ContentTable", function() { return /* reexport */ ContentTable; });
|
|
80331
|
+
__webpack_require__.d(__webpack_exports__, "ContentTableRow", function() { return /* reexport */ ContentTableRow; });
|
|
80331
80332
|
__webpack_require__.d(__webpack_exports__, "Divider", function() { return /* reexport */ Divider; });
|
|
80332
80333
|
__webpack_require__.d(__webpack_exports__, "Dropdown", function() { return /* reexport */ Dropdown; });
|
|
80333
80334
|
__webpack_require__.d(__webpack_exports__, "DropdownItem", function() { return /* reexport */ DropdownItem; });
|
|
@@ -84067,7 +84068,7 @@ var styles_default = /*#__PURE__*/__webpack_require__.n(scss_styles);
|
|
|
84067
84068
|
var classBinder_cx = classnames_default.a.bind(styles_default.a);
|
|
84068
84069
|
|
|
84069
84070
|
// EXTERNAL MODULE: ./node_modules/text-mask-addons/dist/textMaskAddons.js
|
|
84070
|
-
var textMaskAddons = __webpack_require__(
|
|
84071
|
+
var textMaskAddons = __webpack_require__(59);
|
|
84071
84072
|
|
|
84072
84073
|
// CONCATENATED MODULE: ./src/utils/configureDecimalMask.ts
|
|
84073
84074
|
|
|
@@ -96606,6 +96607,59 @@ var CompactButtons = function (_a) {
|
|
|
96606
96607
|
// CONCATENATED MODULE: ./src/components/Components/CompactButtons/index.ts
|
|
96607
96608
|
|
|
96608
96609
|
|
|
96610
|
+
// CONCATENATED MODULE: ./src/contexts/ContentTableContext.tsx
|
|
96611
|
+
|
|
96612
|
+
var ContentTableContext = Object(external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_["createContext"])({
|
|
96613
|
+
columns: [],
|
|
96614
|
+
isMobileDeviceView: false,
|
|
96615
|
+
withoutOpeners: false,
|
|
96616
|
+
titleAlignContent: 'left'
|
|
96617
|
+
});
|
|
96618
|
+
ContentTableContext.displayName = 'ContentTableContext';
|
|
96619
|
+
/* harmony default export */ var contexts_ContentTableContext = (ContentTableContext);
|
|
96620
|
+
|
|
96621
|
+
// CONCATENATED MODULE: ./src/components/Components/ContentTable/ContentTable.tsx
|
|
96622
|
+
|
|
96623
|
+
|
|
96624
|
+
|
|
96625
|
+
|
|
96626
|
+
var getTextAlignClass = function (align) {
|
|
96627
|
+
if (align && align !== 'left') {
|
|
96628
|
+
return "u-text" + ucfirst(align);
|
|
96629
|
+
}
|
|
96630
|
+
};
|
|
96631
|
+
var ContentTable = function (_a) {
|
|
96632
|
+
var caption = _a.caption, _b = _a.columns, columns = _b === void 0 ? [] : _b, hasIcons = _a.hasIcons, _c = _a.hideSubtitleOnExpand, hideSubtitleOnExpand = _c === void 0 ? true : _c, children = _a.children, isCaptionHidden = _a.isCaptionHidden, isCollapsible = _a.isCollapsible, titleHeader = _a.titleHeader, _d = _a.titleAlignContent, titleAlignContent = _d === void 0 ? 'left' : _d, withoutOpeners = _a.withoutOpeners;
|
|
96633
|
+
var ref = Object(external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_["useRef"])(null);
|
|
96634
|
+
var width = useContainerDimensions(ref).width;
|
|
96635
|
+
var isMobileDeviceView = Object(external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_["useMemo"])(function () { return width <= CARD_WIDTH_BREAKPOINT.TABLET; }, [width]);
|
|
96636
|
+
var contentTableContext = {
|
|
96637
|
+
columns: columns,
|
|
96638
|
+
hasIcons: hasIcons,
|
|
96639
|
+
hideSubtitleOnExpand: hideSubtitleOnExpand,
|
|
96640
|
+
isCollapsible: isCollapsible,
|
|
96641
|
+
isMobileDeviceView: isMobileDeviceView,
|
|
96642
|
+
titleHeader: titleHeader,
|
|
96643
|
+
titleAlignContent: titleAlignContent,
|
|
96644
|
+
withoutOpeners: withoutOpeners
|
|
96645
|
+
};
|
|
96646
|
+
return (external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement("table", { ref: ref, className: "c-contentTable" },
|
|
96647
|
+
caption && external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement("caption", { className: isCaptionHidden ? 'u-vHide' : '' }, caption),
|
|
96648
|
+
external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement("thead", null,
|
|
96649
|
+
external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement("tr", { className: "c-contentTable__header" },
|
|
96650
|
+
hasIcons && external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement("th", { className: "c-contentTable__header__th" }),
|
|
96651
|
+
external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement("th", { className: classBinder_cx('c-contentTable__header__th', titleAlignContent !== 'left' ? "u-text" + ucfirst(titleAlignContent) : undefined) }, titleHeader),
|
|
96652
|
+
columns.map(function (_a, i) {
|
|
96653
|
+
var alignContent = _a.alignContent, header = _a.header, hideOnMobile = _a.hideOnMobile, isHeaderHidden = _a.isHeaderHidden;
|
|
96654
|
+
return !(isMobileDeviceView && hideOnMobile) ? (external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement("th", { key: i, className: classBinder_cx('c-contentTable__header__th', getTextAlignClass(alignContent), {
|
|
96655
|
+
'u-vHide': isHeaderHidden
|
|
96656
|
+
}) }, header)) : null;
|
|
96657
|
+
}),
|
|
96658
|
+
isCollapsible && !withoutOpeners && external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement("th", { className: "c-contentTable__header__th" }))),
|
|
96659
|
+
external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement("tbody", null,
|
|
96660
|
+
external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement(contexts_ContentTableContext.Provider, { value: contentTableContext }, children))));
|
|
96661
|
+
};
|
|
96662
|
+
|
|
96609
96663
|
// CONCATENATED MODULE: ./src/components/Typography/Text/Text.tsx
|
|
96610
96664
|
var Text_assign = (undefined && undefined.__assign) || function () {
|
|
96611
96665
|
Text_assign = Object.assign || function(t) {
|
|
@@ -96686,125 +96740,104 @@ var Tag = function (_a) {
|
|
|
96686
96740
|
children));
|
|
96687
96741
|
};
|
|
96688
96742
|
|
|
96689
|
-
// CONCATENATED MODULE: ./src/components/Components/
|
|
96743
|
+
// CONCATENATED MODULE: ./src/components/Components/ContentTable/ContentTableRow.tsx
|
|
96690
96744
|
|
|
96691
96745
|
|
|
96692
96746
|
|
|
96693
96747
|
|
|
96694
96748
|
|
|
96695
|
-
|
|
96696
|
-
|
|
96697
|
-
var
|
|
96698
|
-
var
|
|
96699
|
-
var
|
|
96700
|
-
|
|
96701
|
-
|
|
96702
|
-
|
|
96749
|
+
|
|
96750
|
+
var ContentTableRow = function (_a) {
|
|
96751
|
+
var _b;
|
|
96752
|
+
var amount = _a.amount, amountSubtitle = _a.amountSubtitle, amountSubtitleType = _a.amountSubtitleType, ariaLabel = _a.ariaLabel, _c = _a.buttons, buttons = _c === void 0 ? [] : _c, _d = _a.columns, columns = _d === void 0 ? [] : _d, currencyCode = _a.currencyCode, customIcon = _a.customIcon, children = _a.children, iconName = _a.iconName, iconBackgroundColor = _a.iconBackgroundColor, _e = _a.iconBadgePosition, iconBadgePosition = _e === void 0 ? 'bottomRight' : _e, id = _a.id, _f = _a.isOpen, isOpen = _f === void 0 ? false : _f, _g = _a.subtitles, subtitles = _g === void 0 ? [] : _g, subtitleTagIconBackgroundColor = _a.subtitleTagIconBackgroundColor, subtitleTagIconName = _a.subtitleTagIconName, subtitleTagIconImageUrl = _a.subtitleTagIconImageUrl, subtitleTagText = _a.subtitleTagText, title = _a.title, _h = _a.titleSize, titleSize = _h === void 0 ? 'h2' : _h, _j = _a.titleVisual, titleVisual = _j === void 0 ? 'h6' : _j;
|
|
96753
|
+
var _k = Object(external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_["useContext"])(contexts_ContentTableContext), columnsDefinition = _k.columns, hasIcons = _k.hasIcons, hideSubtitleOnExpand = _k.hideSubtitleOnExpand, isCollapsible = _k.isCollapsible, isMobileDeviceView = _k.isMobileDeviceView, titleAlignContent = _k.titleAlignContent, withoutOpeners = _k.withoutOpeners;
|
|
96754
|
+
var _l = Object(external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_["useMemo"])(function () {
|
|
96755
|
+
var buttonsColumn = buttons ? columnsDefinition[columnsDefinition.length - 1] : undefined;
|
|
96756
|
+
var amountColumn = amount !== undefined ? columnsDefinition[columnsDefinition.length - (buttons ? 2 : 1)] : undefined;
|
|
96757
|
+
var rest = buttonsColumn || amountColumn
|
|
96758
|
+
? columnsDefinition.slice(0, buttonsColumn && amountColumn ? -2 : -1)
|
|
96759
|
+
: columnsDefinition;
|
|
96760
|
+
return [rest, amountColumn, buttonsColumn];
|
|
96761
|
+
}, [columnsDefinition, buttons, amount]), contentColumns = _l[0], amountColumn = _l[1], buttonsColumn = _l[2];
|
|
96762
|
+
var columnsCount = Object(external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_["useMemo"])(function () { return columnsDefinition.length + (hasIcons ? 1 : 0) + (isCollapsible ? 1 : 0) + 1; }, [
|
|
96763
|
+
columnsDefinition,
|
|
96764
|
+
hasIcons,
|
|
96765
|
+
isCollapsible
|
|
96766
|
+
]);
|
|
96767
|
+
var _m = Object(external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_["useState"])(isOpen), isOpened = _m[0], setIsOpened = _m[1];
|
|
96703
96768
|
Object(external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_["useEffect"])(function () { return setIsOpened(isOpen); }, [isOpen]);
|
|
96704
|
-
var
|
|
96705
|
-
|
|
96706
|
-
|
|
96707
|
-
|
|
96708
|
-
|
|
96709
|
-
|
|
96710
|
-
|
|
96711
|
-
|
|
96712
|
-
|
|
96713
|
-
|
|
96714
|
-
|
|
96715
|
-
|
|
96716
|
-
|
|
96717
|
-
|
|
96718
|
-
|
|
96719
|
-
|
|
96769
|
+
var handleToggle = Object(external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_["useCallback"])(function () {
|
|
96770
|
+
setIsOpened(!isOpened);
|
|
96771
|
+
}, [setIsOpened, isOpened]);
|
|
96772
|
+
var hasSubtitleTag = Object(external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_["useMemo"])(function () { return (subtitleTagIconName || subtitleTagIconImageUrl) && subtitleTagText; }, [
|
|
96773
|
+
subtitleTagIconName,
|
|
96774
|
+
subtitleTagIconImageUrl,
|
|
96775
|
+
subtitleTagText
|
|
96776
|
+
]);
|
|
96777
|
+
var badgeIcon = Object(external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_["useMemo"])(function () {
|
|
96778
|
+
return hasSubtitleTag
|
|
96779
|
+
? (subtitleTagIconName ? (external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement(Icon, { backgroundColor: subtitleTagIconBackgroundColor, name: subtitleTagIconName, size: "small", theme: "c-contentTableRow__subtitleIcon" })) : (external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement(Avatar, { background: "transparent", imageUrl: subtitleTagIconImageUrl, size: "small", theme: "c-contentTableRow__subtitleIcon" })))
|
|
96780
|
+
: undefined;
|
|
96781
|
+
}, [hasSubtitleTag, subtitleTagIconBackgroundColor, subtitleTagIconImageUrl, subtitleTagIconName]);
|
|
96782
|
+
var handleKeyDown = Object(external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_["useCallback"])(function (event) {
|
|
96783
|
+
var key = event.key;
|
|
96784
|
+
switch (key) {
|
|
96785
|
+
case KEYS.Enter:
|
|
96786
|
+
case KEYS.Space:
|
|
96787
|
+
event.preventDefault();
|
|
96788
|
+
handleToggle();
|
|
96789
|
+
}
|
|
96790
|
+
}, [handleToggle]);
|
|
96791
|
+
return (external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement(external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_["Fragment"], null,
|
|
96792
|
+
external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement("tr", { "aria-controls": id ? id + "-content" : undefined, "aria-expanded": isCollapsible && isOpened, "aria-label": ariaLabel, className: classBinder_cx('c-contentTableRow', {
|
|
96793
|
+
'c-contentTableRow--collapsible': isCollapsible,
|
|
96794
|
+
'c-contentTableRow--collapsible--open': isCollapsible && isOpened
|
|
96795
|
+
}), id: id, role: isCollapsible ? 'button' : undefined, tabIndex: isCollapsible ? 0 : undefined, onClick: isCollapsible ? handleToggle : undefined, onKeyDown: handleKeyDown },
|
|
96796
|
+
hasIcons && (external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement("td", { className: "c-contentTableRow__column c-contentTableRow__iconColumn" },
|
|
96797
|
+
external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement("div", { className: classBinder_cx('c-contentTableRow__iconColumn__icon', "c-contentTableRow__iconColumn__icon" + ucfirst(iconBadgePosition)) },
|
|
96798
|
+
iconName && external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement(Icon, { backgroundColor: iconBackgroundColor, name: iconName, size: "xLarge" }),
|
|
96799
|
+
customIcon,
|
|
96800
|
+
hasSubtitleTag && isMobileDeviceView && badgeIcon))),
|
|
96801
|
+
external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement("td", { className: classBinder_cx('c-contentTableRow__column', 'c-contentTableRow__titleColumn', getTextAlignClass(titleAlignContent), {
|
|
96802
|
+
'c-contentTableRow__titleColumn--no-padding': !hasIcons
|
|
96803
|
+
}) },
|
|
96804
|
+
external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement(Title, { size: titleSize, theme: "c-contentTableRow__title", visual: titleVisual }, title),
|
|
96805
|
+
!(hideSubtitleOnExpand && isOpened) && (subtitles.length > 0 || hasSubtitleTag) && (external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement("div", { className: classBinder_cx('c-contentTableRow__subtitle', (_b = {},
|
|
96806
|
+
_b["c-contentTableRow__subtitle--" + titleAlignContent] = titleAlignContent !== 'left',
|
|
96807
|
+
_b)) },
|
|
96720
96808
|
subtitles.length > 0 && (external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement(Text, { component: "div", size: "xSmall", theme: "u-mr--xxSmall", type: "secondary" }, subtitles.map(function (subtitle, i) { return (external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement(external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_["Fragment"], { key: subtitle === null || subtitle === void 0 ? void 0 : subtitle.toString() },
|
|
96721
96809
|
i > 0 && ' | ',
|
|
96722
96810
|
subtitle)); }))),
|
|
96723
|
-
hasSubtitleTag && !isMobileDeviceView && (external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement(Tag, { iconBackground:
|
|
96724
|
-
|
|
96725
|
-
|
|
96726
|
-
|
|
96727
|
-
|
|
96728
|
-
|
|
96729
|
-
|
|
96730
|
-
|
|
96731
|
-
})
|
|
96732
|
-
|
|
96733
|
-
}
|
|
96734
|
-
|
|
96735
|
-
|
|
96736
|
-
|
|
96737
|
-
|
|
96738
|
-
|
|
96739
|
-
|
|
96740
|
-
|
|
96741
|
-
|
|
96742
|
-
|
|
96743
|
-
|
|
96744
|
-
|
|
96745
|
-
|
|
96746
|
-
}
|
|
96747
|
-
|
|
96748
|
-
|
|
96749
|
-
|
|
96750
|
-
t[p] = s[p];
|
|
96751
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
96752
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
96753
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
96754
|
-
t[p[i]] = s[p[i]];
|
|
96755
|
-
}
|
|
96756
|
-
return t;
|
|
96757
|
-
};
|
|
96758
|
-
var ContentCardGroup_spreadArray = (undefined && undefined.__spreadArray) || function (to, from) {
|
|
96759
|
-
for (var i = 0, il = from.length, j = to.length; i < il; i++, j++)
|
|
96760
|
-
to[j] = from[i];
|
|
96761
|
-
return to;
|
|
96762
|
-
};
|
|
96763
|
-
|
|
96764
|
-
|
|
96765
|
-
|
|
96766
|
-
|
|
96767
|
-
var ContentCardGroup = function (_a) {
|
|
96768
|
-
var accordion = _a.accordion, items = _a.items, theme = _a.theme, withoutShadow = _a.withoutShadow;
|
|
96769
|
-
var _b = Object(external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_["useState"])([]), opened = _b[0], setOpened = _b[1];
|
|
96770
|
-
// a copy of opened cards array to enable open/close animation
|
|
96771
|
-
var _c = Object(external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_["useState"])([]), openedCards = _c[0], setOpenedCards = _c[1];
|
|
96772
|
-
var onToggle = function (ord) { return function (state) {
|
|
96773
|
-
return setOpened(function (prev) { return (state ? (accordion ? [ord] : ContentCardGroup_spreadArray(ContentCardGroup_spreadArray([], prev), [ord]).sort()) : prev.filter(function (i) { return i !== ord; })); });
|
|
96774
|
-
}; };
|
|
96775
|
-
// sync the copy of opened cards array with a bit delay to not break the open/close animation
|
|
96776
|
-
Object(external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_["useEffect"])(function () {
|
|
96777
|
-
setTimeout(function () { return setOpenedCards(opened); });
|
|
96778
|
-
}, [opened]);
|
|
96779
|
-
var openedCardsGroups = Object(external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_["useMemo"])(function () {
|
|
96780
|
-
var slot = 0;
|
|
96781
|
-
return items
|
|
96782
|
-
.map(function (_, index) { return index; })
|
|
96783
|
-
.reduce(function (acc, curr, index, input) {
|
|
96784
|
-
if (opened.includes(curr)) {
|
|
96785
|
-
acc[slot].push(curr);
|
|
96786
|
-
if (index + 1 < input.length) {
|
|
96787
|
-
++slot;
|
|
96788
|
-
acc[slot] = [];
|
|
96789
|
-
}
|
|
96790
|
-
}
|
|
96791
|
-
else {
|
|
96792
|
-
acc[slot].push(curr);
|
|
96793
|
-
if (index + 1 < input.length && opened.includes(input[index + 1])) {
|
|
96794
|
-
++slot;
|
|
96795
|
-
acc[slot] = [];
|
|
96796
|
-
}
|
|
96797
|
-
}
|
|
96798
|
-
return acc;
|
|
96799
|
-
}, [[]]);
|
|
96800
|
-
}, [opened, items]);
|
|
96801
|
-
return (external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement("div", { className: classBinder_cx({ 'c-contentCards': withoutShadow }, theme) }, openedCardsGroups.map(function (group) { return (external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement(Card, { key: group.join(''), shadowSize: withoutShadow ? 'no' : 'small', size: "zero", theme: "c-contentCard--group" }, group.map(function (itemIndex) {
|
|
96802
|
-
var _a = items[itemIndex], key = _a.key, props = ContentCardGroup_rest(_a, ["key"]);
|
|
96803
|
-
return (external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement(ContentCard, ContentCardGroup_assign({ key: key, isCompact: true, isOpen: openedCards.includes(itemIndex) }, props, { onToggle: onToggle(itemIndex) })));
|
|
96804
|
-
}))); })));
|
|
96811
|
+
hasSubtitleTag && !isMobileDeviceView && (external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement(Tag, { iconBackground: subtitleTagIconBackgroundColor, iconName: subtitleTagIconName, imageUrl: subtitleTagIconImageUrl }, subtitleTagText))))),
|
|
96812
|
+
contentColumns.map(function (_a, i) {
|
|
96813
|
+
var _b;
|
|
96814
|
+
var alignContent = _a.alignContent, hideOnExpand = _a.hideOnExpand, hideOnMobile = _a.hideOnMobile;
|
|
96815
|
+
return !(isMobileDeviceView && hideOnMobile) ? (external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement("td", { key: i, className: classBinder_cx('c-contentTableRow__column', getTextAlignClass(alignContent)) },
|
|
96816
|
+
external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement("div", { className: classBinder_cx({ 'c-contentTableRow__column--hidden': hideOnExpand && isOpened }) }, (_b = columns[i]) === null || _b === void 0 ? void 0 : _b.map(function (columnContent) { return (external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement(Text, { key: columnContent === null || columnContent === void 0 ? void 0 : columnContent.toString(), component: "div", size: "xSmall", theme: "c-contentTableRow__param", type: "secondary" }, columnContent)); })))) : null;
|
|
96817
|
+
}),
|
|
96818
|
+
amountColumn && !(isMobileDeviceView && amountColumn.hideOnMobile) && (external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement("td", { className: classBinder_cx('c-contentTableRow__column c-contentTableRow__amountColumn', getTextAlignClass(amountColumn.alignContent)) },
|
|
96819
|
+
external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement("div", { className: classBinder_cx({ 'c-contentTableRow__column--hidden': amountColumn.hideOnExpand && isOpened }) },
|
|
96820
|
+
amount !== undefined && external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement(AmountWithUnit, { isBold: true, amount: amount, unitAfter: currencyCode }),
|
|
96821
|
+
amountSubtitle && (external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement(Text, { component: "div", size: "xSmall", type: amountSubtitleType }, amountSubtitle))))),
|
|
96822
|
+
buttonsColumn && !(isMobileDeviceView && buttonsColumn.hideOnMobile) && (external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement("td", { className: classBinder_cx('c-contentTableRow__column c-contentTableRow__buttonsColumn', getTextAlignClass(buttonsColumn.alignContent)) },
|
|
96823
|
+
external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement("div", { className: classBinder_cx({ 'c-contentTableRow__column--hidden': buttonsColumn.hideOnExpand && isOpened }) }, buttons.map(function (button) {
|
|
96824
|
+
return Object(external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_["cloneElement"])(button, {
|
|
96825
|
+
theme: classBinder_cx(button.props.theme, 'c-contentTableRow__button')
|
|
96826
|
+
});
|
|
96827
|
+
})))),
|
|
96828
|
+
isCollapsible && !withoutOpeners && (external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement("td", { className: "c-contentTableRow__column c-contentTableRow__openerColumn" },
|
|
96829
|
+
external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement("div", { className: classBinder_cx('c-contentTableRow__openerIcon') },
|
|
96830
|
+
external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement(Icon, { name: isCollapsible ? 'arrowDown' : 'arrowRight', size: "small" }))))),
|
|
96831
|
+
isCollapsible && children && (external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement(AnimatePresence, { initial: false }, isOpened && (external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement("tr", { "aria-labelledby": id, className: "c-contentTableRow__contentRow", id: id ? id + "-content" : undefined, role: "region" },
|
|
96832
|
+
hasIcons && !isMobileDeviceView && external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement("td", null, " "),
|
|
96833
|
+
external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement("td", { className: "c-contentTableRow__content", colSpan: isMobileDeviceView ? columnsCount : columnsCount - 1, style: { overflow: 'hidden' } },
|
|
96834
|
+
external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement(motion.div, { key: "content", animate: "open", exit: "collapsed", initial: "collapsed", role: "region", transition: { duration: 0.6, ease: [0.04, 0.62, 0.23, 0.98] }, variants: {
|
|
96835
|
+
open: { opacity: 1, height: 'auto' },
|
|
96836
|
+
collapsed: { opacity: 0, height: 0 }
|
|
96837
|
+
} }, children))))))));
|
|
96805
96838
|
};
|
|
96806
96839
|
|
|
96807
|
-
// CONCATENATED MODULE: ./src/components/Components/
|
|
96840
|
+
// CONCATENATED MODULE: ./src/components/Components/ContentTable/index.ts
|
|
96808
96841
|
|
|
96809
96842
|
|
|
96810
96843
|
|
|
@@ -96951,7 +96984,7 @@ var ListItem = function (_a) {
|
|
|
96951
96984
|
|
|
96952
96985
|
|
|
96953
96986
|
// EXTERNAL MODULE: ./src/components/Components/Icon/_parts_/Logo.js
|
|
96954
|
-
var Logo = __webpack_require__(
|
|
96987
|
+
var Logo = __webpack_require__(58);
|
|
96955
96988
|
|
|
96956
96989
|
// CONCATENATED MODULE: ./src/components/Components/Loader/Loader.tsx
|
|
96957
96990
|
|
|
@@ -104671,16 +104704,16 @@ var Checkbox2 = function (_a) {
|
|
|
104671
104704
|
|
|
104672
104705
|
|
|
104673
104706
|
// EXTERNAL MODULE: ./node_modules/flatpickr/dist/l10n/cs.js
|
|
104674
|
-
var cs = __webpack_require__(
|
|
104707
|
+
var cs = __webpack_require__(60);
|
|
104675
104708
|
|
|
104676
104709
|
// EXTERNAL MODULE: ./node_modules/flatpickr/dist/l10n/default.js
|
|
104677
|
-
var l10n_default = __webpack_require__(
|
|
104710
|
+
var l10n_default = __webpack_require__(61);
|
|
104678
104711
|
|
|
104679
104712
|
// EXTERNAL MODULE: ./node_modules/react-device-detect/main.js
|
|
104680
|
-
var react_device_detect_main = __webpack_require__(
|
|
104713
|
+
var react_device_detect_main = __webpack_require__(66);
|
|
104681
104714
|
|
|
104682
104715
|
// EXTERNAL MODULE: ./node_modules/react-flatpickr/build/index.js
|
|
104683
|
-
var react_flatpickr_build = __webpack_require__(
|
|
104716
|
+
var react_flatpickr_build = __webpack_require__(62);
|
|
104684
104717
|
var build_default = /*#__PURE__*/__webpack_require__.n(react_flatpickr_build);
|
|
104685
104718
|
|
|
104686
104719
|
// CONCATENATED MODULE: ./src/components/Form/DatePicker/DatePicker.tsx
|
|
@@ -116347,7 +116380,7 @@ Path.prototype = path.prototype = {
|
|
|
116347
116380
|
/* unused harmony export bisectRight */
|
|
116348
116381
|
/* unused harmony export bisectLeft */
|
|
116349
116382
|
/* unused harmony export bisectCenter */
|
|
116350
|
-
/* harmony import */ var _ascending_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
116383
|
+
/* harmony import */ var _ascending_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(64);
|
|
116351
116384
|
/* harmony import */ var _bisector_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(664);
|
|
116352
116385
|
/* harmony import */ var _number_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(75);
|
|
116353
116386
|
|