@mw-kit/mw-ui 1.7.115 → 1.7.117
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/components/Input/components/Tags/index.d.ts +1 -1
- package/dist/components/Input/components/Tags/interfaces.d.ts +10 -3
- package/dist/components/Input/components/Tags/styles.d.ts +1 -1
- package/dist/index.js +175 -124
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +175 -124
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -17568,10 +17568,12 @@ let _$E = t => t,
|
|
|
17568
17568
|
_t5$c,
|
|
17569
17569
|
_t6$a,
|
|
17570
17570
|
_t7$a;
|
|
17571
|
+
const size$1 = '17px';
|
|
17571
17572
|
const LabelContainer$5 = styled.div(_t$E || (_t$E = _$E`
|
|
17572
17573
|
${0}
|
|
17573
17574
|
display: flex;
|
|
17574
17575
|
align-items: center;
|
|
17576
|
+
overflow: hidden;
|
|
17575
17577
|
`), ({
|
|
17576
17578
|
theme
|
|
17577
17579
|
}) => theme.useTypography('p'));
|
|
@@ -17579,6 +17581,9 @@ const Label$6 = styled.label(_t2$t || (_t2$t = _$E`
|
|
|
17579
17581
|
display: flex;
|
|
17580
17582
|
gap: ${0};
|
|
17581
17583
|
|
|
17584
|
+
min-height: ${0};
|
|
17585
|
+
min-width: ${0};
|
|
17586
|
+
|
|
17582
17587
|
${0}
|
|
17583
17588
|
|
|
17584
17589
|
${0}
|
|
@@ -17641,7 +17646,7 @@ ${0}
|
|
|
17641
17646
|
}
|
|
17642
17647
|
`), ({
|
|
17643
17648
|
theme
|
|
17644
|
-
}) => theme.spacings.s1, ({
|
|
17649
|
+
}) => theme.spacings.s1, size$1, size$1, ({
|
|
17645
17650
|
disabled
|
|
17646
17651
|
}) => {
|
|
17647
17652
|
if (!disabled) {
|
|
@@ -18413,13 +18418,17 @@ const Tag$1 = props => {
|
|
|
18413
18418
|
let _$J = t => t,
|
|
18414
18419
|
_t$J,
|
|
18415
18420
|
_t2$w,
|
|
18416
|
-
_t3$q
|
|
18421
|
+
_t3$q,
|
|
18422
|
+
_t4$i,
|
|
18423
|
+
_t5$e,
|
|
18424
|
+
_t6$c;
|
|
18417
18425
|
const Label$9 = styled.label(_t$J || (_t$J = _$J`
|
|
18418
18426
|
${0};
|
|
18419
18427
|
|
|
18420
18428
|
color: ${0};
|
|
18421
18429
|
|
|
18422
18430
|
width: ${0};
|
|
18431
|
+
max-width: 100%;
|
|
18423
18432
|
box-sizing: border-box;
|
|
18424
18433
|
position: relative;
|
|
18425
18434
|
display: block;
|
|
@@ -18442,43 +18451,75 @@ const Label$9 = styled.label(_t$J || (_t$J = _$J`
|
|
|
18442
18451
|
`));
|
|
18443
18452
|
});
|
|
18444
18453
|
const TagContainer = styled.div(_t3$q || (_t3$q = _$J`
|
|
18445
|
-
border-width: 1px;
|
|
18446
|
-
border-style: solid;
|
|
18447
|
-
border-color: ${0};
|
|
18448
|
-
border-radius: 4px;
|
|
18449
18454
|
display: flex;
|
|
18450
18455
|
flex-wrap: wrap;
|
|
18451
18456
|
gap: calc(${0} / 2);
|
|
18452
|
-
|
|
18457
|
+
|
|
18458
|
+
${0};
|
|
18459
|
+
|
|
18460
|
+
${0};
|
|
18453
18461
|
`), ({
|
|
18454
|
-
theme,
|
|
18455
|
-
invalid
|
|
18456
|
-
}) => theme.colors[invalid ? 'warningRed' : 'lightGrey'], ({
|
|
18457
18462
|
theme
|
|
18458
18463
|
}) => theme.spacings.s1, ({
|
|
18459
|
-
|
|
18460
|
-
|
|
18464
|
+
borderless,
|
|
18465
|
+
theme,
|
|
18466
|
+
invalid
|
|
18467
|
+
}) => {
|
|
18468
|
+
if (!borderless) {
|
|
18469
|
+
return css(_t4$i || (_t4$i = _$J`
|
|
18470
|
+
border-width: 1px;
|
|
18471
|
+
border-style: solid;
|
|
18472
|
+
border-radius: 4px;
|
|
18473
|
+
border-color: ${0};
|
|
18474
|
+
`), theme.colors[invalid ? 'warningRed' : 'lightGrey']);
|
|
18475
|
+
}
|
|
18476
|
+
}, ({
|
|
18477
|
+
theme,
|
|
18478
|
+
paddingless
|
|
18479
|
+
}) => {
|
|
18480
|
+
if (paddingless) {
|
|
18481
|
+
return css(_t5$e || (_t5$e = _$J`
|
|
18482
|
+
padding: 0;
|
|
18483
|
+
> input {
|
|
18484
|
+
padding: 0;
|
|
18485
|
+
}
|
|
18486
|
+
`));
|
|
18487
|
+
}
|
|
18488
|
+
|
|
18489
|
+
return css(_t6$c || (_t6$c = _$J`
|
|
18490
|
+
padding: ${0};
|
|
18491
|
+
`), theme.spacings.s1);
|
|
18492
|
+
});
|
|
18461
18493
|
|
|
18462
18494
|
const Tags = React__default.forwardRef((props, ref) => {
|
|
18495
|
+
var _props$input;
|
|
18496
|
+
|
|
18463
18497
|
const {
|
|
18464
18498
|
value,
|
|
18465
18499
|
setValue
|
|
18466
18500
|
} = props;
|
|
18467
|
-
const [inputValue, setInputValue] = props.input &&
|
|
18501
|
+
const [inputValue, setInputValue] = (_props$input = props.input) !== null && _props$input !== void 0 && _props$input.value ? props.input.value : useState('');
|
|
18502
|
+
const paddingless = props.paddingless || false;
|
|
18503
|
+
const borderless = props.borderless || false;
|
|
18504
|
+
const maxTags = props.maxTags || Number.POSITIVE_INFINITY;
|
|
18468
18505
|
|
|
18469
18506
|
const validate = props.validate || (() => true);
|
|
18470
18507
|
|
|
18508
|
+
const onBlur = props.onBlur || (() => {});
|
|
18509
|
+
|
|
18471
18510
|
const onBeforeAdd = props.onBeforeAdd || (v => v);
|
|
18472
18511
|
|
|
18473
18512
|
const validateUnique = props.unique ? v => value.some(e => strCmp(e, v)) ? '' : v : v => v;
|
|
18474
18513
|
|
|
18475
18514
|
const add = v => {
|
|
18476
18515
|
if (v === '') return;
|
|
18477
|
-
|
|
18478
|
-
if (
|
|
18479
|
-
|
|
18480
|
-
if (
|
|
18481
|
-
|
|
18516
|
+
let newV = validateUnique(v);
|
|
18517
|
+
if (newV === '') return;
|
|
18518
|
+
newV = onBeforeAdd(newV);
|
|
18519
|
+
if (newV === '') return;
|
|
18520
|
+
const content = [...value, newV];
|
|
18521
|
+
if (content.length > maxTags) return;
|
|
18522
|
+
setValue(content);
|
|
18482
18523
|
setInputValue('');
|
|
18483
18524
|
};
|
|
18484
18525
|
|
|
@@ -18494,18 +18535,28 @@ const Tags = React__default.forwardRef((props, ref) => {
|
|
|
18494
18535
|
}, React__default.createElement(Label$8, {
|
|
18495
18536
|
required: props.required
|
|
18496
18537
|
}, props.label), React__default.createElement(TagContainer, {
|
|
18497
|
-
invalid: props.invalid
|
|
18538
|
+
invalid: props.invalid,
|
|
18539
|
+
borderless: borderless,
|
|
18540
|
+
paddingless: paddingless
|
|
18498
18541
|
}, value.map((v, index) => React__default.createElement(Tag$1, {
|
|
18499
18542
|
key: index,
|
|
18500
18543
|
onClose: () => remove(index),
|
|
18501
18544
|
invalid: !validate(v)
|
|
18502
18545
|
}, v)), React__default.createElement(Input$4, Object.assign({
|
|
18546
|
+
onBlur: onBlur,
|
|
18503
18547
|
ref: ref,
|
|
18504
|
-
disabled: props.disabled || props.loading,
|
|
18505
|
-
invalid: props.invalid
|
|
18548
|
+
disabled: props.disabled || props.loading || value.length === maxTags,
|
|
18549
|
+
invalid: props.invalid,
|
|
18550
|
+
placeholder: value.length === 0 ? props.placeholder : ''
|
|
18506
18551
|
}, props.input, {
|
|
18507
18552
|
value: [inputValue, setInputValue],
|
|
18508
|
-
onPressEnter: e => add(e.target.value)
|
|
18553
|
+
onPressEnter: e => add(e.target.value),
|
|
18554
|
+
style: value.length === maxTags ? {
|
|
18555
|
+
width: 0,
|
|
18556
|
+
minWidth: 0,
|
|
18557
|
+
maxWidth: 0,
|
|
18558
|
+
border: 'none'
|
|
18559
|
+
} : {}
|
|
18509
18560
|
}))));
|
|
18510
18561
|
});
|
|
18511
18562
|
Tags.displayName = 'Tags';
|
|
@@ -18912,7 +18963,7 @@ let _$L = t => t,
|
|
|
18912
18963
|
_t$L,
|
|
18913
18964
|
_t2$x,
|
|
18914
18965
|
_t3$r,
|
|
18915
|
-
_t4$
|
|
18966
|
+
_t4$j;
|
|
18916
18967
|
const Container$7 = styled(AbsoluteContainer)(_t$L || (_t$L = _$L`
|
|
18917
18968
|
background-color: ${0};
|
|
18918
18969
|
|
|
@@ -18975,7 +19026,7 @@ const Title = styled.div(_t3$r || (_t3$r = _$L`
|
|
|
18975
19026
|
getColor
|
|
18976
19027
|
}
|
|
18977
19028
|
}) => getColor('greyishBlue', 50));
|
|
18978
|
-
const Item = styled.div(_t4$
|
|
19029
|
+
const Item = styled.div(_t4$j || (_t4$j = _$L`
|
|
18979
19030
|
padding: ${0};
|
|
18980
19031
|
display: flex;
|
|
18981
19032
|
align-items: center;
|
|
@@ -19198,9 +19249,9 @@ let _$N = t => t,
|
|
|
19198
19249
|
_t$N,
|
|
19199
19250
|
_t2$z,
|
|
19200
19251
|
_t3$t,
|
|
19201
|
-
_t4$
|
|
19202
|
-
_t5$
|
|
19203
|
-
_t6$
|
|
19252
|
+
_t4$k,
|
|
19253
|
+
_t5$f,
|
|
19254
|
+
_t6$d,
|
|
19204
19255
|
_t7$c,
|
|
19205
19256
|
_t8$a,
|
|
19206
19257
|
_t9$9,
|
|
@@ -19229,12 +19280,12 @@ const Container$9 = styled.div(_t$N || (_t$N = _$N`
|
|
|
19229
19280
|
`)), props => props.size === 'small' && css(_t3$t || (_t3$t = _$N`
|
|
19230
19281
|
width: 394px;
|
|
19231
19282
|
height: 131px;
|
|
19232
|
-
`)), props => props.size === 'medium' && css(_t4$
|
|
19283
|
+
`)), props => props.size === 'medium' && css(_t4$k || (_t4$k = _$N`
|
|
19233
19284
|
width: 394px;
|
|
19234
|
-
`)), props => props.size === 'big' && css(_t5$
|
|
19285
|
+
`)), props => props.size === 'big' && css(_t5$f || (_t5$f = _$N`
|
|
19235
19286
|
width: 414px;
|
|
19236
19287
|
height: 324px;
|
|
19237
|
-
`)), props => props.borderType === 'info' && css(_t6$
|
|
19288
|
+
`)), props => props.borderType === 'info' && css(_t6$d || (_t6$d = _$N`
|
|
19238
19289
|
border-left-color: #4d6dbe;
|
|
19239
19290
|
`)), props => props.borderType === 'success' && css(_t7$c || (_t7$c = _$N`
|
|
19240
19291
|
border-left-color: #66bb6a;
|
|
@@ -19650,9 +19701,9 @@ let _$Q = t => t,
|
|
|
19650
19701
|
_t$Q,
|
|
19651
19702
|
_t2$A,
|
|
19652
19703
|
_t3$u,
|
|
19653
|
-
_t4$
|
|
19654
|
-
_t5$
|
|
19655
|
-
_t6$
|
|
19704
|
+
_t4$l,
|
|
19705
|
+
_t5$g,
|
|
19706
|
+
_t6$e,
|
|
19656
19707
|
_t7$d,
|
|
19657
19708
|
_t8$b,
|
|
19658
19709
|
_t9$a,
|
|
@@ -19731,7 +19782,7 @@ const Col = styled.div(_t$Q || (_t$Q = _$Q`
|
|
|
19731
19782
|
}
|
|
19732
19783
|
|
|
19733
19784
|
const w = parseFloat(width) * 100 / 12;
|
|
19734
|
-
return css(_t4$
|
|
19785
|
+
return css(_t4$l || (_t4$l = _$Q`
|
|
19735
19786
|
flex: 0 0 ${0}%;
|
|
19736
19787
|
max-width: ${0}%;
|
|
19737
19788
|
width: 100%;
|
|
@@ -19745,7 +19796,7 @@ const Col = styled.div(_t$Q || (_t$Q = _$Q`
|
|
|
19745
19796
|
spacingAround
|
|
19746
19797
|
}) => {
|
|
19747
19798
|
if (spacingAround) return;
|
|
19748
|
-
return css(_t5$
|
|
19799
|
+
return css(_t5$g || (_t5$g = _$Q`
|
|
19749
19800
|
:first-child {
|
|
19750
19801
|
padding-left: 0;
|
|
19751
19802
|
}
|
|
@@ -19763,7 +19814,7 @@ const Col = styled.div(_t$Q || (_t$Q = _$Q`
|
|
|
19763
19814
|
if (align.self.horizontal !== undefined) {
|
|
19764
19815
|
const v = align.self.horizontal;
|
|
19765
19816
|
const a = aligns.self.horizontal;
|
|
19766
|
-
styles.push(css(_t6$
|
|
19817
|
+
styles.push(css(_t6$e || (_t6$e = _$Q`
|
|
19767
19818
|
justify-self: ${0};
|
|
19768
19819
|
`), a[v]));
|
|
19769
19820
|
}
|
|
@@ -19927,9 +19978,9 @@ let _$S = t => t,
|
|
|
19927
19978
|
_t$S,
|
|
19928
19979
|
_t2$C,
|
|
19929
19980
|
_t3$w,
|
|
19930
|
-
_t4$
|
|
19931
|
-
_t5$
|
|
19932
|
-
_t6$
|
|
19981
|
+
_t4$m,
|
|
19982
|
+
_t5$h,
|
|
19983
|
+
_t6$f,
|
|
19933
19984
|
_t7$e,
|
|
19934
19985
|
_t8$c,
|
|
19935
19986
|
_t9$b,
|
|
@@ -19990,14 +20041,14 @@ const Row = styled.div(_t$S || (_t$S = _$S`
|
|
|
19990
20041
|
horizontalAlign
|
|
19991
20042
|
}) => {
|
|
19992
20043
|
if (horizontalAlign === undefined) return;
|
|
19993
|
-
return css(_t4$
|
|
20044
|
+
return css(_t4$m || (_t4$m = _$S`
|
|
19994
20045
|
justify-content: ${0};
|
|
19995
20046
|
`), horizontalAligns[horizontalAlign]);
|
|
19996
20047
|
}, ({
|
|
19997
20048
|
verticalAlign
|
|
19998
20049
|
}) => {
|
|
19999
20050
|
if (verticalAlign === undefined) return;
|
|
20000
|
-
return css(_t5$
|
|
20051
|
+
return css(_t5$h || (_t5$h = _$S`
|
|
20001
20052
|
align-items: ${0};
|
|
20002
20053
|
`), verticalAligns[verticalAlign]);
|
|
20003
20054
|
}, ({
|
|
@@ -20007,7 +20058,7 @@ const Row = styled.div(_t$S || (_t$S = _$S`
|
|
|
20007
20058
|
}) => {
|
|
20008
20059
|
if (backgroundColor !== undefined) {
|
|
20009
20060
|
const c = Array.isArray(backgroundColor) ? theme.getColor(...backgroundColor) : theme.colors[backgroundColor];
|
|
20010
|
-
return css(_t6$
|
|
20061
|
+
return css(_t6$f || (_t6$f = _$S`
|
|
20011
20062
|
background-color: ${0};
|
|
20012
20063
|
`), c);
|
|
20013
20064
|
}
|
|
@@ -20135,9 +20186,9 @@ let _$T = t => t,
|
|
|
20135
20186
|
_t$T,
|
|
20136
20187
|
_t2$D,
|
|
20137
20188
|
_t3$x,
|
|
20138
|
-
_t4$
|
|
20139
|
-
_t5$
|
|
20140
|
-
_t6$
|
|
20189
|
+
_t4$n,
|
|
20190
|
+
_t5$i,
|
|
20191
|
+
_t6$g,
|
|
20141
20192
|
_t7$f,
|
|
20142
20193
|
_t8$d,
|
|
20143
20194
|
_t9$c,
|
|
@@ -20172,13 +20223,13 @@ const Header$5 = styled.div(_t3$x || (_t3$x = _$T`
|
|
|
20172
20223
|
spacings,
|
|
20173
20224
|
useTypography
|
|
20174
20225
|
}
|
|
20175
|
-
}) => css(_t4$
|
|
20226
|
+
}) => css(_t4$n || (_t4$n = _$T`
|
|
20176
20227
|
border-bottom: 1px solid ${0};
|
|
20177
20228
|
padding: ${0};
|
|
20178
20229
|
|
|
20179
20230
|
${0}
|
|
20180
20231
|
`), colors.lightestGrey, spacings.s4, useTypography('h1')));
|
|
20181
|
-
const Footer$2 = styled.div(_t5$
|
|
20232
|
+
const Footer$2 = styled.div(_t5$i || (_t5$i = _$T`
|
|
20182
20233
|
display: flex;
|
|
20183
20234
|
justify-content: space-between;
|
|
20184
20235
|
align-items: center;
|
|
@@ -20189,7 +20240,7 @@ const Footer$2 = styled.div(_t5$h || (_t5$h = _$T`
|
|
|
20189
20240
|
spacings,
|
|
20190
20241
|
colors
|
|
20191
20242
|
}
|
|
20192
|
-
}) => css(_t6$
|
|
20243
|
+
}) => css(_t6$g || (_t6$g = _$T`
|
|
20193
20244
|
border-top: 1px solid ${0};
|
|
20194
20245
|
padding: ${0};
|
|
20195
20246
|
`), colors.lightestGrey, spacings.s3));
|
|
@@ -20445,9 +20496,9 @@ let _$X = t => t,
|
|
|
20445
20496
|
_t$X,
|
|
20446
20497
|
_t2$E,
|
|
20447
20498
|
_t3$y,
|
|
20448
|
-
_t4$
|
|
20449
|
-
_t5$
|
|
20450
|
-
_t6$
|
|
20499
|
+
_t4$o,
|
|
20500
|
+
_t5$j,
|
|
20501
|
+
_t6$h,
|
|
20451
20502
|
_t7$g,
|
|
20452
20503
|
_t8$e,
|
|
20453
20504
|
_t9$d,
|
|
@@ -20467,16 +20518,16 @@ const HeaderImage = styled.div(_t3$y || (_t3$y = _$X`
|
|
|
20467
20518
|
height: 44px;
|
|
20468
20519
|
background-color: #ebebeb;
|
|
20469
20520
|
`));
|
|
20470
|
-
const HeaderContent = styled.div(_t4$
|
|
20521
|
+
const HeaderContent = styled.div(_t4$o || (_t4$o = _$X`
|
|
20471
20522
|
display: flex;
|
|
20472
20523
|
flex-direction: column;
|
|
20473
20524
|
align-items: flex-start;
|
|
20474
20525
|
flex: 1;
|
|
20475
20526
|
`));
|
|
20476
|
-
const MainContent = styled.div(_t5$
|
|
20527
|
+
const MainContent = styled.div(_t5$j || (_t5$j = _$X`
|
|
20477
20528
|
margin-top: 8px;
|
|
20478
20529
|
`));
|
|
20479
|
-
const HeaderLine = styled.div(_t6$
|
|
20530
|
+
const HeaderLine = styled.div(_t6$h || (_t6$h = _$X`
|
|
20480
20531
|
height: ${0};
|
|
20481
20532
|
background-color: #ebebeb;
|
|
20482
20533
|
margin-left: 7px;
|
|
@@ -20542,8 +20593,8 @@ let _$Y = t => t,
|
|
|
20542
20593
|
_t$Y,
|
|
20543
20594
|
_t2$F,
|
|
20544
20595
|
_t3$z,
|
|
20545
|
-
_t4$
|
|
20546
|
-
_t5$
|
|
20596
|
+
_t4$p,
|
|
20597
|
+
_t5$k;
|
|
20547
20598
|
const HeaderLine$1 = styled.div(_t$Y || (_t$Y = _$Y`
|
|
20548
20599
|
height: ${0};
|
|
20549
20600
|
background-color: #ebebeb;
|
|
@@ -20563,9 +20614,9 @@ const HeaderLine$1 = styled.div(_t$Y || (_t$Y = _$Y`
|
|
|
20563
20614
|
width: 15%;
|
|
20564
20615
|
`)), props => props.size === 'small' && css(_t3$z || (_t3$z = _$Y`
|
|
20565
20616
|
width: 25%;
|
|
20566
|
-
`)), props => props.size === 'medium' && css(_t4$
|
|
20617
|
+
`)), props => props.size === 'medium' && css(_t4$p || (_t4$p = _$Y`
|
|
20567
20618
|
width: 45%;
|
|
20568
|
-
`)), props => props.size === 'large' && css(_t5$
|
|
20619
|
+
`)), props => props.size === 'large' && css(_t5$k || (_t5$k = _$Y`
|
|
20569
20620
|
width: 75%;
|
|
20570
20621
|
`)));
|
|
20571
20622
|
|
|
@@ -20573,9 +20624,9 @@ let _$Z = t => t,
|
|
|
20573
20624
|
_t$Z,
|
|
20574
20625
|
_t2$G,
|
|
20575
20626
|
_t3$A,
|
|
20576
|
-
_t4$
|
|
20577
|
-
_t5$
|
|
20578
|
-
_t6$
|
|
20627
|
+
_t4$q,
|
|
20628
|
+
_t5$l,
|
|
20629
|
+
_t6$i,
|
|
20579
20630
|
_t7$h,
|
|
20580
20631
|
_t8$f;
|
|
20581
20632
|
const Container$d = styled.div(_t$Z || (_t$Z = _$Z`
|
|
@@ -20591,18 +20642,18 @@ const Template2Container = styled(Container$d)(_t2$G || (_t2$G = _$Z`
|
|
|
20591
20642
|
const Header$7 = styled.div(_t3$A || (_t3$A = _$Z`
|
|
20592
20643
|
display: flex;
|
|
20593
20644
|
`));
|
|
20594
|
-
const HeaderImage$1 = styled.div(_t4$
|
|
20645
|
+
const HeaderImage$1 = styled.div(_t4$q || (_t4$q = _$Z`
|
|
20595
20646
|
width: 43px;
|
|
20596
20647
|
height: 44px;
|
|
20597
20648
|
background-color: #ebebeb;
|
|
20598
20649
|
`));
|
|
20599
|
-
const HeaderContent$1 = styled.div(_t5$
|
|
20650
|
+
const HeaderContent$1 = styled.div(_t5$l || (_t5$l = _$Z`
|
|
20600
20651
|
display: flex;
|
|
20601
20652
|
flex-direction: column;
|
|
20602
20653
|
align-items: flex-start;
|
|
20603
20654
|
flex: 1;
|
|
20604
20655
|
`));
|
|
20605
|
-
const MainContent$1 = styled.div(_t6$
|
|
20656
|
+
const MainContent$1 = styled.div(_t6$i || (_t6$i = _$Z`
|
|
20606
20657
|
margin-top: 8px;
|
|
20607
20658
|
`));
|
|
20608
20659
|
const MainLine$1 = styled(HeaderLine$1)(_t7$h || (_t7$h = _$Z`
|
|
@@ -20677,9 +20728,9 @@ let _$$ = t => t,
|
|
|
20677
20728
|
_t$$,
|
|
20678
20729
|
_t2$I,
|
|
20679
20730
|
_t3$C,
|
|
20680
|
-
_t4$
|
|
20681
|
-
_t5$
|
|
20682
|
-
_t6$
|
|
20731
|
+
_t4$r,
|
|
20732
|
+
_t5$m,
|
|
20733
|
+
_t6$j,
|
|
20683
20734
|
_t7$i,
|
|
20684
20735
|
_t8$g;
|
|
20685
20736
|
const Container$f = styled.div(_t$$ || (_t$$ = _$$`
|
|
@@ -20705,11 +20756,11 @@ const HeaderLine$3 = styled.div(_t2$I || (_t2$I = _$$`
|
|
|
20705
20756
|
${0}
|
|
20706
20757
|
`), props => props.height, props => props.size === 'mini' && css(_t3$C || (_t3$C = _$$`
|
|
20707
20758
|
width: 15%;
|
|
20708
|
-
`)), props => props.size === 'small' && css(_t4$
|
|
20759
|
+
`)), props => props.size === 'small' && css(_t4$r || (_t4$r = _$$`
|
|
20709
20760
|
width: 25%;
|
|
20710
|
-
`)), props => props.size === 'medium' && css(_t5$
|
|
20761
|
+
`)), props => props.size === 'medium' && css(_t5$m || (_t5$m = _$$`
|
|
20711
20762
|
width: 45%;
|
|
20712
|
-
`)), props => props.size === 'large' && css(_t6$
|
|
20763
|
+
`)), props => props.size === 'large' && css(_t6$j || (_t6$j = _$$`
|
|
20713
20764
|
width: 75%;
|
|
20714
20765
|
`)));
|
|
20715
20766
|
const Template4Container = styled(Container$f)(_t7$i || (_t7$i = _$$`
|
|
@@ -20771,9 +20822,9 @@ let _$10 = t => t,
|
|
|
20771
20822
|
_t$10,
|
|
20772
20823
|
_t2$J,
|
|
20773
20824
|
_t3$D,
|
|
20774
|
-
_t4$
|
|
20775
|
-
_t5$
|
|
20776
|
-
_t6$
|
|
20825
|
+
_t4$s,
|
|
20826
|
+
_t5$n,
|
|
20827
|
+
_t6$k,
|
|
20777
20828
|
_t7$j,
|
|
20778
20829
|
_t8$h,
|
|
20779
20830
|
_t9$e;
|
|
@@ -20809,11 +20860,11 @@ const HeaderLine$4 = styled.div(_t3$D || (_t3$D = _$10`
|
|
|
20809
20860
|
${0}
|
|
20810
20861
|
|
|
20811
20862
|
${0}
|
|
20812
|
-
`), props => props.height, props => props.size === 'mini' && css(_t4$
|
|
20863
|
+
`), props => props.height, props => props.size === 'mini' && css(_t4$s || (_t4$s = _$10`
|
|
20813
20864
|
width: 15%;
|
|
20814
|
-
`)), props => props.size === 'small' && css(_t5$
|
|
20865
|
+
`)), props => props.size === 'small' && css(_t5$n || (_t5$n = _$10`
|
|
20815
20866
|
width: 25%;
|
|
20816
|
-
`)), props => props.size === 'medium' && css(_t6$
|
|
20867
|
+
`)), props => props.size === 'medium' && css(_t6$k || (_t6$k = _$10`
|
|
20817
20868
|
width: 45%;
|
|
20818
20869
|
`)), props => props.size === 'large' && css(_t7$j || (_t7$j = _$10`
|
|
20819
20870
|
width: 75%;
|
|
@@ -20857,9 +20908,9 @@ let _$11 = t => t,
|
|
|
20857
20908
|
_t$11,
|
|
20858
20909
|
_t2$K,
|
|
20859
20910
|
_t3$E,
|
|
20860
|
-
_t4$
|
|
20861
|
-
_t5$
|
|
20862
|
-
_t6$
|
|
20911
|
+
_t4$t,
|
|
20912
|
+
_t5$o,
|
|
20913
|
+
_t6$l,
|
|
20863
20914
|
_t7$k,
|
|
20864
20915
|
_t8$i,
|
|
20865
20916
|
_t9$f;
|
|
@@ -20882,7 +20933,7 @@ const Footer$3 = styled.div(_t3$E || (_t3$E = _$11`
|
|
|
20882
20933
|
border-top: 1px solid #b1b1b3;
|
|
20883
20934
|
height: 50px;
|
|
20884
20935
|
`));
|
|
20885
|
-
const HeaderLine$5 = styled.div(_t4$
|
|
20936
|
+
const HeaderLine$5 = styled.div(_t4$t || (_t4$t = _$11`
|
|
20886
20937
|
height: ${0};
|
|
20887
20938
|
background-color: #ebebeb;
|
|
20888
20939
|
margin-left: 7px;
|
|
@@ -20897,9 +20948,9 @@ const HeaderLine$5 = styled.div(_t4$s || (_t4$s = _$11`
|
|
|
20897
20948
|
${0}
|
|
20898
20949
|
|
|
20899
20950
|
${0}
|
|
20900
|
-
`), props => props.height, props => props.size === 'mini' && css(_t5$
|
|
20951
|
+
`), props => props.height, props => props.size === 'mini' && css(_t5$o || (_t5$o = _$11`
|
|
20901
20952
|
width: 15%;
|
|
20902
|
-
`)), props => props.size === 'small' && css(_t6$
|
|
20953
|
+
`)), props => props.size === 'small' && css(_t6$l || (_t6$l = _$11`
|
|
20903
20954
|
width: 25%;
|
|
20904
20955
|
`)), props => props.size === 'medium' && css(_t7$k || (_t7$k = _$11`
|
|
20905
20956
|
width: 45%;
|
|
@@ -20937,9 +20988,9 @@ let _$12 = t => t,
|
|
|
20937
20988
|
_t$12,
|
|
20938
20989
|
_t2$L,
|
|
20939
20990
|
_t3$F,
|
|
20940
|
-
_t4$
|
|
20941
|
-
_t5$
|
|
20942
|
-
_t6$
|
|
20991
|
+
_t4$u,
|
|
20992
|
+
_t5$p,
|
|
20993
|
+
_t6$m,
|
|
20943
20994
|
_t7$l,
|
|
20944
20995
|
_t8$j,
|
|
20945
20996
|
_t9$g,
|
|
@@ -20974,11 +21025,11 @@ const HeaderLine$6 = styled.div(_t3$F || (_t3$F = _$12`
|
|
|
20974
21025
|
${0}
|
|
20975
21026
|
|
|
20976
21027
|
${0}
|
|
20977
|
-
`), props => props.height, props => props.size === 'mini' && css(_t4$
|
|
21028
|
+
`), props => props.height, props => props.size === 'mini' && css(_t4$u || (_t4$u = _$12`
|
|
20978
21029
|
width: 15%;
|
|
20979
|
-
`)), props => props.size === 'small' && css(_t5$
|
|
21030
|
+
`)), props => props.size === 'small' && css(_t5$p || (_t5$p = _$12`
|
|
20980
21031
|
width: 25%;
|
|
20981
|
-
`)), props => props.size === 'medium' && css(_t6$
|
|
21032
|
+
`)), props => props.size === 'medium' && css(_t6$m || (_t6$m = _$12`
|
|
20982
21033
|
width: 45%;
|
|
20983
21034
|
`)), props => props.size === 'large' && css(_t7$l || (_t7$l = _$12`
|
|
20984
21035
|
width: 75%;
|
|
@@ -21018,9 +21069,9 @@ let _$13 = t => t,
|
|
|
21018
21069
|
_t$13,
|
|
21019
21070
|
_t2$M,
|
|
21020
21071
|
_t3$G,
|
|
21021
|
-
_t4$
|
|
21022
|
-
_t5$
|
|
21023
|
-
_t6$
|
|
21072
|
+
_t4$v,
|
|
21073
|
+
_t5$q,
|
|
21074
|
+
_t6$n,
|
|
21024
21075
|
_t7$m,
|
|
21025
21076
|
_t8$k,
|
|
21026
21077
|
_t9$h;
|
|
@@ -21054,11 +21105,11 @@ const HeaderLine$7 = styled.div(_t3$G || (_t3$G = _$13`
|
|
|
21054
21105
|
${0}
|
|
21055
21106
|
|
|
21056
21107
|
${0}
|
|
21057
|
-
`), props => props.height, props => props.size === 'mini' && css(_t4$
|
|
21108
|
+
`), props => props.height, props => props.size === 'mini' && css(_t4$v || (_t4$v = _$13`
|
|
21058
21109
|
width: 15%;
|
|
21059
|
-
`)), props => props.size === 'small' && css(_t5$
|
|
21110
|
+
`)), props => props.size === 'small' && css(_t5$q || (_t5$q = _$13`
|
|
21060
21111
|
width: 25%;
|
|
21061
|
-
`)), props => props.size === 'medium' && css(_t6$
|
|
21112
|
+
`)), props => props.size === 'medium' && css(_t6$n || (_t6$n = _$13`
|
|
21062
21113
|
width: 45%;
|
|
21063
21114
|
`)), props => props.size === 'large' && css(_t7$m || (_t7$m = _$13`
|
|
21064
21115
|
width: 75%;
|
|
@@ -21101,9 +21152,9 @@ let _$14 = t => t,
|
|
|
21101
21152
|
_t$14,
|
|
21102
21153
|
_t2$N,
|
|
21103
21154
|
_t3$H,
|
|
21104
|
-
_t4$
|
|
21105
|
-
_t5$
|
|
21106
|
-
_t6$
|
|
21155
|
+
_t4$w,
|
|
21156
|
+
_t5$r,
|
|
21157
|
+
_t6$o,
|
|
21107
21158
|
_t7$n,
|
|
21108
21159
|
_t8$l,
|
|
21109
21160
|
_t9$i,
|
|
@@ -21138,11 +21189,11 @@ const HeaderLine$8 = styled.div(_t3$H || (_t3$H = _$14`
|
|
|
21138
21189
|
${0}
|
|
21139
21190
|
|
|
21140
21191
|
${0}
|
|
21141
|
-
`), props => props.height, props => props.size === 'mini' && css(_t4$
|
|
21192
|
+
`), props => props.height, props => props.size === 'mini' && css(_t4$w || (_t4$w = _$14`
|
|
21142
21193
|
width: 15%;
|
|
21143
|
-
`)), props => props.size === 'small' && css(_t5$
|
|
21194
|
+
`)), props => props.size === 'small' && css(_t5$r || (_t5$r = _$14`
|
|
21144
21195
|
width: 25%;
|
|
21145
|
-
`)), props => props.size === 'medium' && css(_t6$
|
|
21196
|
+
`)), props => props.size === 'medium' && css(_t6$o || (_t6$o = _$14`
|
|
21146
21197
|
width: 45%;
|
|
21147
21198
|
`)), props => props.size === 'large' && css(_t7$n || (_t7$n = _$14`
|
|
21148
21199
|
width: 75%;
|
|
@@ -21187,9 +21238,9 @@ let _$15 = t => t,
|
|
|
21187
21238
|
_t$15,
|
|
21188
21239
|
_t2$O,
|
|
21189
21240
|
_t3$I,
|
|
21190
|
-
_t4$
|
|
21191
|
-
_t5$
|
|
21192
|
-
_t6$
|
|
21241
|
+
_t4$x,
|
|
21242
|
+
_t5$s,
|
|
21243
|
+
_t6$p,
|
|
21193
21244
|
_t7$o,
|
|
21194
21245
|
_t8$m,
|
|
21195
21246
|
_t9$j,
|
|
@@ -21225,11 +21276,11 @@ const HeaderLine$9 = styled.div(_t3$I || (_t3$I = _$15`
|
|
|
21225
21276
|
${0}
|
|
21226
21277
|
|
|
21227
21278
|
${0}
|
|
21228
|
-
`), props => props.height, props => props.size === 'mini' && css(_t4$
|
|
21279
|
+
`), props => props.height, props => props.size === 'mini' && css(_t4$x || (_t4$x = _$15`
|
|
21229
21280
|
width: 15%;
|
|
21230
|
-
`)), props => props.size === 'small' && css(_t5$
|
|
21281
|
+
`)), props => props.size === 'small' && css(_t5$s || (_t5$s = _$15`
|
|
21231
21282
|
width: 25%;
|
|
21232
|
-
`)), props => props.size === 'medium' && css(_t6$
|
|
21283
|
+
`)), props => props.size === 'medium' && css(_t6$p || (_t6$p = _$15`
|
|
21233
21284
|
width: 45%;
|
|
21234
21285
|
`)), props => props.size === 'large' && css(_t7$o || (_t7$o = _$15`
|
|
21235
21286
|
width: 75%;
|
|
@@ -21382,9 +21433,9 @@ let _$16 = t => t,
|
|
|
21382
21433
|
_t$16,
|
|
21383
21434
|
_t2$P,
|
|
21384
21435
|
_t3$J,
|
|
21385
|
-
_t4$
|
|
21386
|
-
_t5$
|
|
21387
|
-
_t6$
|
|
21436
|
+
_t4$y,
|
|
21437
|
+
_t5$t,
|
|
21438
|
+
_t6$q,
|
|
21388
21439
|
_t7$p;
|
|
21389
21440
|
const Container$m = styled.div(_t$16 || (_t$16 = _$16`
|
|
21390
21441
|
display: flex;
|
|
@@ -21416,15 +21467,15 @@ const Progress = styled.div(_t2$P || (_t2$P = _$16`
|
|
|
21416
21467
|
background-color: ${0};
|
|
21417
21468
|
`), ({
|
|
21418
21469
|
theme
|
|
21419
|
-
}) => theme.colors.warningGray), props => props.type === 'info' && css(_t4$
|
|
21470
|
+
}) => theme.colors.warningGray), props => props.type === 'info' && css(_t4$y || (_t4$y = _$16`
|
|
21420
21471
|
background-color: ${0};
|
|
21421
21472
|
`), ({
|
|
21422
21473
|
theme
|
|
21423
|
-
}) => theme.colors.blue), props => props.type === 'danger' && css(_t5$
|
|
21474
|
+
}) => theme.colors.blue), props => props.type === 'danger' && css(_t5$t || (_t5$t = _$16`
|
|
21424
21475
|
background-color: ${0};
|
|
21425
21476
|
`), ({
|
|
21426
21477
|
theme
|
|
21427
|
-
}) => theme.colors.warningRed), props => props.type === 'success' && css(_t6$
|
|
21478
|
+
}) => theme.colors.warningRed), props => props.type === 'success' && css(_t6$q || (_t6$q = _$16`
|
|
21428
21479
|
background-color: ${0};
|
|
21429
21480
|
`), ({
|
|
21430
21481
|
theme
|
|
@@ -21849,7 +21900,7 @@ let _$1c = t => t,
|
|
|
21849
21900
|
_t$1c,
|
|
21850
21901
|
_t2$S,
|
|
21851
21902
|
_t3$K,
|
|
21852
|
-
_t4$
|
|
21903
|
+
_t4$z;
|
|
21853
21904
|
const delimiters = {
|
|
21854
21905
|
blue: ['blue'],
|
|
21855
21906
|
grey: ['warningGray']
|
|
@@ -21901,7 +21952,7 @@ const Tabs = styled.div(_t2$S || (_t2$S = _$1c`
|
|
|
21901
21952
|
$delimiter: delimiter
|
|
21902
21953
|
}) => {
|
|
21903
21954
|
const border = delimiter === 'none' ? 'none' : internal ? `1px solid ${theme.getColor(...delimiters[delimiter || 'grey'])}` : `2px solid ${theme.getColor(...delimiters[delimiter || 'blue'])}`;
|
|
21904
|
-
return css(_t4$
|
|
21955
|
+
return css(_t4$z || (_t4$z = _$1c`
|
|
21905
21956
|
border-bottom: ${0};
|
|
21906
21957
|
+ ${0} {
|
|
21907
21958
|
border: 1px solid ${0};
|
|
@@ -22017,9 +22068,9 @@ let _$1e = t => t,
|
|
|
22017
22068
|
_t$1e,
|
|
22018
22069
|
_t2$T,
|
|
22019
22070
|
_t3$L,
|
|
22020
|
-
_t4$
|
|
22021
|
-
_t5$
|
|
22022
|
-
_t6$
|
|
22071
|
+
_t4$A,
|
|
22072
|
+
_t5$u,
|
|
22073
|
+
_t6$r;
|
|
22023
22074
|
const Container$r = styled.div(_t$1e || (_t$1e = _$1e`
|
|
22024
22075
|
border-radius: 4px;
|
|
22025
22076
|
width: ${0};
|
|
@@ -22061,7 +22112,7 @@ const Container$r = styled.div(_t$1e || (_t$1e = _$1e`
|
|
|
22061
22112
|
p {
|
|
22062
22113
|
color: #973937;
|
|
22063
22114
|
}
|
|
22064
|
-
`)), props => props.color === 'warning' && css(_t4$
|
|
22115
|
+
`)), props => props.color === 'warning' && css(_t4$A || (_t4$A = _$1e`
|
|
22065
22116
|
background-color: #fffaf3;
|
|
22066
22117
|
opacity: 1;
|
|
22067
22118
|
border-color: #ccbea0;
|
|
@@ -22072,7 +22123,7 @@ const Container$r = styled.div(_t$1e || (_t$1e = _$1e`
|
|
|
22072
22123
|
color: #7a4d05cc;
|
|
22073
22124
|
}
|
|
22074
22125
|
`)));
|
|
22075
|
-
const IconContainer$2 = styled.div(_t5$
|
|
22126
|
+
const IconContainer$2 = styled.div(_t5$u || (_t5$u = _$1e`
|
|
22076
22127
|
width: 100%;
|
|
22077
22128
|
display: flex;
|
|
22078
22129
|
align-items: center;
|
|
@@ -22080,7 +22131,7 @@ const IconContainer$2 = styled.div(_t5$t || (_t5$t = _$1e`
|
|
|
22080
22131
|
padding: 14px 14px 0 0;
|
|
22081
22132
|
margin: 0;
|
|
22082
22133
|
`));
|
|
22083
|
-
const IconContent = styled.div(_t6$
|
|
22134
|
+
const IconContent = styled.div(_t6$r || (_t6$r = _$1e`
|
|
22084
22135
|
width: 100%;
|
|
22085
22136
|
padding: 13px 0 21px 28px;
|
|
22086
22137
|
display: flex;
|
|
@@ -22110,8 +22161,8 @@ let _$1f = t => t,
|
|
|
22110
22161
|
_t$1f,
|
|
22111
22162
|
_t2$U,
|
|
22112
22163
|
_t3$M,
|
|
22113
|
-
_t4$
|
|
22114
|
-
_t5$
|
|
22164
|
+
_t4$B,
|
|
22165
|
+
_t5$v;
|
|
22115
22166
|
const Image = styled.img(_t$1f || (_t$1f = _$1f`
|
|
22116
22167
|
max-width: 100%;
|
|
22117
22168
|
max-height: 100%;
|
|
@@ -22173,12 +22224,12 @@ const Dimmer = styled.div(_t3$M || (_t3$M = _$1f`
|
|
|
22173
22224
|
`), ({
|
|
22174
22225
|
theme
|
|
22175
22226
|
}) => theme.getColor('greyishBlue', 50));
|
|
22176
|
-
const Button$6 = styled(Button$1)(_t4$
|
|
22227
|
+
const Button$6 = styled(Button$1)(_t4$B || (_t4$B = _$1f`
|
|
22177
22228
|
background-color: ${0};
|
|
22178
22229
|
`), ({
|
|
22179
22230
|
theme
|
|
22180
22231
|
}) => theme.getColor('white', 50));
|
|
22181
|
-
const ModalContent = styled.div(_t5$
|
|
22232
|
+
const ModalContent = styled.div(_t5$v || (_t5$v = _$1f`
|
|
22182
22233
|
position: absolute;
|
|
22183
22234
|
width: 100%;
|
|
22184
22235
|
height: 100%;
|