@mw-kit/mw-ui 1.7.114 → 1.7.116
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 +171 -124
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +171 -124
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -12205,7 +12205,8 @@ const Loader = styled.div(_t2$3 || (_t2$3 = _$3`
|
|
|
12205
12205
|
filled,
|
|
12206
12206
|
zIndex
|
|
12207
12207
|
}) => {
|
|
12208
|
-
|
|
12208
|
+
const s = borderSize || size;
|
|
12209
|
+
borderSize = s ? `calc(${s} * 0.0757)` : '5px';
|
|
12209
12210
|
size = size || '48px';
|
|
12210
12211
|
color = color || 'blue';
|
|
12211
12212
|
bgColor = bgColor || color;
|
|
@@ -18412,13 +18413,17 @@ const Tag$1 = props => {
|
|
|
18412
18413
|
let _$J = t => t,
|
|
18413
18414
|
_t$J,
|
|
18414
18415
|
_t2$w,
|
|
18415
|
-
_t3$q
|
|
18416
|
+
_t3$q,
|
|
18417
|
+
_t4$i,
|
|
18418
|
+
_t5$e,
|
|
18419
|
+
_t6$c;
|
|
18416
18420
|
const Label$9 = styled.label(_t$J || (_t$J = _$J`
|
|
18417
18421
|
${0};
|
|
18418
18422
|
|
|
18419
18423
|
color: ${0};
|
|
18420
18424
|
|
|
18421
18425
|
width: ${0};
|
|
18426
|
+
max-width: 100%;
|
|
18422
18427
|
box-sizing: border-box;
|
|
18423
18428
|
position: relative;
|
|
18424
18429
|
display: block;
|
|
@@ -18441,43 +18446,75 @@ const Label$9 = styled.label(_t$J || (_t$J = _$J`
|
|
|
18441
18446
|
`));
|
|
18442
18447
|
});
|
|
18443
18448
|
const TagContainer = styled.div(_t3$q || (_t3$q = _$J`
|
|
18444
|
-
border-width: 1px;
|
|
18445
|
-
border-style: solid;
|
|
18446
|
-
border-color: ${0};
|
|
18447
|
-
border-radius: 4px;
|
|
18448
18449
|
display: flex;
|
|
18449
18450
|
flex-wrap: wrap;
|
|
18450
18451
|
gap: calc(${0} / 2);
|
|
18451
|
-
|
|
18452
|
+
|
|
18453
|
+
${0};
|
|
18454
|
+
|
|
18455
|
+
${0};
|
|
18452
18456
|
`), ({
|
|
18453
|
-
theme,
|
|
18454
|
-
invalid
|
|
18455
|
-
}) => theme.colors[invalid ? 'warningRed' : 'lightGrey'], ({
|
|
18456
18457
|
theme
|
|
18457
18458
|
}) => theme.spacings.s1, ({
|
|
18458
|
-
|
|
18459
|
-
|
|
18459
|
+
borderless,
|
|
18460
|
+
theme,
|
|
18461
|
+
invalid
|
|
18462
|
+
}) => {
|
|
18463
|
+
if (!borderless) {
|
|
18464
|
+
return css(_t4$i || (_t4$i = _$J`
|
|
18465
|
+
border-width: 1px;
|
|
18466
|
+
border-style: solid;
|
|
18467
|
+
border-radius: 4px;
|
|
18468
|
+
border-color: ${0};
|
|
18469
|
+
`), theme.colors[invalid ? 'warningRed' : 'lightGrey']);
|
|
18470
|
+
}
|
|
18471
|
+
}, ({
|
|
18472
|
+
theme,
|
|
18473
|
+
paddingless
|
|
18474
|
+
}) => {
|
|
18475
|
+
if (paddingless) {
|
|
18476
|
+
return css(_t5$e || (_t5$e = _$J`
|
|
18477
|
+
padding: 0;
|
|
18478
|
+
> input {
|
|
18479
|
+
padding: 0;
|
|
18480
|
+
}
|
|
18481
|
+
`));
|
|
18482
|
+
}
|
|
18483
|
+
|
|
18484
|
+
return css(_t6$c || (_t6$c = _$J`
|
|
18485
|
+
padding: ${0};
|
|
18486
|
+
`), theme.spacings.s1);
|
|
18487
|
+
});
|
|
18460
18488
|
|
|
18461
18489
|
const Tags = React__default.forwardRef((props, ref) => {
|
|
18490
|
+
var _props$input;
|
|
18491
|
+
|
|
18462
18492
|
const {
|
|
18463
18493
|
value,
|
|
18464
18494
|
setValue
|
|
18465
18495
|
} = props;
|
|
18466
|
-
const [inputValue, setInputValue] = props.input &&
|
|
18496
|
+
const [inputValue, setInputValue] = (_props$input = props.input) !== null && _props$input !== void 0 && _props$input.value ? props.input.value : useState('');
|
|
18497
|
+
const paddingless = props.paddingless || false;
|
|
18498
|
+
const borderless = props.borderless || false;
|
|
18499
|
+
const maxTags = props.maxTags || Number.POSITIVE_INFINITY;
|
|
18467
18500
|
|
|
18468
18501
|
const validate = props.validate || (() => true);
|
|
18469
18502
|
|
|
18503
|
+
const onBlur = props.onBlur || (() => {});
|
|
18504
|
+
|
|
18470
18505
|
const onBeforeAdd = props.onBeforeAdd || (v => v);
|
|
18471
18506
|
|
|
18472
18507
|
const validateUnique = props.unique ? v => value.some(e => strCmp(e, v)) ? '' : v : v => v;
|
|
18473
18508
|
|
|
18474
18509
|
const add = v => {
|
|
18475
18510
|
if (v === '') return;
|
|
18476
|
-
|
|
18477
|
-
if (
|
|
18478
|
-
|
|
18479
|
-
if (
|
|
18480
|
-
|
|
18511
|
+
let newV = validateUnique(v);
|
|
18512
|
+
if (newV === '') return;
|
|
18513
|
+
newV = onBeforeAdd(newV);
|
|
18514
|
+
if (newV === '') return;
|
|
18515
|
+
const content = [...value, newV];
|
|
18516
|
+
if (content.length > maxTags) return;
|
|
18517
|
+
setValue(content);
|
|
18481
18518
|
setInputValue('');
|
|
18482
18519
|
};
|
|
18483
18520
|
|
|
@@ -18493,18 +18530,28 @@ const Tags = React__default.forwardRef((props, ref) => {
|
|
|
18493
18530
|
}, React__default.createElement(Label$8, {
|
|
18494
18531
|
required: props.required
|
|
18495
18532
|
}, props.label), React__default.createElement(TagContainer, {
|
|
18496
|
-
invalid: props.invalid
|
|
18533
|
+
invalid: props.invalid,
|
|
18534
|
+
borderless: borderless,
|
|
18535
|
+
paddingless: paddingless
|
|
18497
18536
|
}, value.map((v, index) => React__default.createElement(Tag$1, {
|
|
18498
18537
|
key: index,
|
|
18499
18538
|
onClose: () => remove(index),
|
|
18500
18539
|
invalid: !validate(v)
|
|
18501
18540
|
}, v)), React__default.createElement(Input$4, Object.assign({
|
|
18541
|
+
onBlur: onBlur,
|
|
18502
18542
|
ref: ref,
|
|
18503
|
-
disabled: props.disabled || props.loading,
|
|
18504
|
-
invalid: props.invalid
|
|
18543
|
+
disabled: props.disabled || props.loading || value.length === maxTags,
|
|
18544
|
+
invalid: props.invalid,
|
|
18545
|
+
placeholder: value.length === 0 ? props.placeholder : ''
|
|
18505
18546
|
}, props.input, {
|
|
18506
18547
|
value: [inputValue, setInputValue],
|
|
18507
|
-
onPressEnter: e => add(e.target.value)
|
|
18548
|
+
onPressEnter: e => add(e.target.value),
|
|
18549
|
+
style: value.length === maxTags ? {
|
|
18550
|
+
width: 0,
|
|
18551
|
+
minWidth: 0,
|
|
18552
|
+
maxWidth: 0,
|
|
18553
|
+
border: 'none'
|
|
18554
|
+
} : {}
|
|
18508
18555
|
}))));
|
|
18509
18556
|
});
|
|
18510
18557
|
Tags.displayName = 'Tags';
|
|
@@ -18911,7 +18958,7 @@ let _$L = t => t,
|
|
|
18911
18958
|
_t$L,
|
|
18912
18959
|
_t2$x,
|
|
18913
18960
|
_t3$r,
|
|
18914
|
-
_t4$
|
|
18961
|
+
_t4$j;
|
|
18915
18962
|
const Container$7 = styled(AbsoluteContainer)(_t$L || (_t$L = _$L`
|
|
18916
18963
|
background-color: ${0};
|
|
18917
18964
|
|
|
@@ -18974,7 +19021,7 @@ const Title = styled.div(_t3$r || (_t3$r = _$L`
|
|
|
18974
19021
|
getColor
|
|
18975
19022
|
}
|
|
18976
19023
|
}) => getColor('greyishBlue', 50));
|
|
18977
|
-
const Item = styled.div(_t4$
|
|
19024
|
+
const Item = styled.div(_t4$j || (_t4$j = _$L`
|
|
18978
19025
|
padding: ${0};
|
|
18979
19026
|
display: flex;
|
|
18980
19027
|
align-items: center;
|
|
@@ -19197,9 +19244,9 @@ let _$N = t => t,
|
|
|
19197
19244
|
_t$N,
|
|
19198
19245
|
_t2$z,
|
|
19199
19246
|
_t3$t,
|
|
19200
|
-
_t4$
|
|
19201
|
-
_t5$
|
|
19202
|
-
_t6$
|
|
19247
|
+
_t4$k,
|
|
19248
|
+
_t5$f,
|
|
19249
|
+
_t6$d,
|
|
19203
19250
|
_t7$c,
|
|
19204
19251
|
_t8$a,
|
|
19205
19252
|
_t9$9,
|
|
@@ -19228,12 +19275,12 @@ const Container$9 = styled.div(_t$N || (_t$N = _$N`
|
|
|
19228
19275
|
`)), props => props.size === 'small' && css(_t3$t || (_t3$t = _$N`
|
|
19229
19276
|
width: 394px;
|
|
19230
19277
|
height: 131px;
|
|
19231
|
-
`)), props => props.size === 'medium' && css(_t4$
|
|
19278
|
+
`)), props => props.size === 'medium' && css(_t4$k || (_t4$k = _$N`
|
|
19232
19279
|
width: 394px;
|
|
19233
|
-
`)), props => props.size === 'big' && css(_t5$
|
|
19280
|
+
`)), props => props.size === 'big' && css(_t5$f || (_t5$f = _$N`
|
|
19234
19281
|
width: 414px;
|
|
19235
19282
|
height: 324px;
|
|
19236
|
-
`)), props => props.borderType === 'info' && css(_t6$
|
|
19283
|
+
`)), props => props.borderType === 'info' && css(_t6$d || (_t6$d = _$N`
|
|
19237
19284
|
border-left-color: #4d6dbe;
|
|
19238
19285
|
`)), props => props.borderType === 'success' && css(_t7$c || (_t7$c = _$N`
|
|
19239
19286
|
border-left-color: #66bb6a;
|
|
@@ -19649,9 +19696,9 @@ let _$Q = t => t,
|
|
|
19649
19696
|
_t$Q,
|
|
19650
19697
|
_t2$A,
|
|
19651
19698
|
_t3$u,
|
|
19652
|
-
_t4$
|
|
19653
|
-
_t5$
|
|
19654
|
-
_t6$
|
|
19699
|
+
_t4$l,
|
|
19700
|
+
_t5$g,
|
|
19701
|
+
_t6$e,
|
|
19655
19702
|
_t7$d,
|
|
19656
19703
|
_t8$b,
|
|
19657
19704
|
_t9$a,
|
|
@@ -19730,7 +19777,7 @@ const Col = styled.div(_t$Q || (_t$Q = _$Q`
|
|
|
19730
19777
|
}
|
|
19731
19778
|
|
|
19732
19779
|
const w = parseFloat(width) * 100 / 12;
|
|
19733
|
-
return css(_t4$
|
|
19780
|
+
return css(_t4$l || (_t4$l = _$Q`
|
|
19734
19781
|
flex: 0 0 ${0}%;
|
|
19735
19782
|
max-width: ${0}%;
|
|
19736
19783
|
width: 100%;
|
|
@@ -19744,7 +19791,7 @@ const Col = styled.div(_t$Q || (_t$Q = _$Q`
|
|
|
19744
19791
|
spacingAround
|
|
19745
19792
|
}) => {
|
|
19746
19793
|
if (spacingAround) return;
|
|
19747
|
-
return css(_t5$
|
|
19794
|
+
return css(_t5$g || (_t5$g = _$Q`
|
|
19748
19795
|
:first-child {
|
|
19749
19796
|
padding-left: 0;
|
|
19750
19797
|
}
|
|
@@ -19762,7 +19809,7 @@ const Col = styled.div(_t$Q || (_t$Q = _$Q`
|
|
|
19762
19809
|
if (align.self.horizontal !== undefined) {
|
|
19763
19810
|
const v = align.self.horizontal;
|
|
19764
19811
|
const a = aligns.self.horizontal;
|
|
19765
|
-
styles.push(css(_t6$
|
|
19812
|
+
styles.push(css(_t6$e || (_t6$e = _$Q`
|
|
19766
19813
|
justify-self: ${0};
|
|
19767
19814
|
`), a[v]));
|
|
19768
19815
|
}
|
|
@@ -19926,9 +19973,9 @@ let _$S = t => t,
|
|
|
19926
19973
|
_t$S,
|
|
19927
19974
|
_t2$C,
|
|
19928
19975
|
_t3$w,
|
|
19929
|
-
_t4$
|
|
19930
|
-
_t5$
|
|
19931
|
-
_t6$
|
|
19976
|
+
_t4$m,
|
|
19977
|
+
_t5$h,
|
|
19978
|
+
_t6$f,
|
|
19932
19979
|
_t7$e,
|
|
19933
19980
|
_t8$c,
|
|
19934
19981
|
_t9$b,
|
|
@@ -19989,14 +20036,14 @@ const Row = styled.div(_t$S || (_t$S = _$S`
|
|
|
19989
20036
|
horizontalAlign
|
|
19990
20037
|
}) => {
|
|
19991
20038
|
if (horizontalAlign === undefined) return;
|
|
19992
|
-
return css(_t4$
|
|
20039
|
+
return css(_t4$m || (_t4$m = _$S`
|
|
19993
20040
|
justify-content: ${0};
|
|
19994
20041
|
`), horizontalAligns[horizontalAlign]);
|
|
19995
20042
|
}, ({
|
|
19996
20043
|
verticalAlign
|
|
19997
20044
|
}) => {
|
|
19998
20045
|
if (verticalAlign === undefined) return;
|
|
19999
|
-
return css(_t5$
|
|
20046
|
+
return css(_t5$h || (_t5$h = _$S`
|
|
20000
20047
|
align-items: ${0};
|
|
20001
20048
|
`), verticalAligns[verticalAlign]);
|
|
20002
20049
|
}, ({
|
|
@@ -20006,7 +20053,7 @@ const Row = styled.div(_t$S || (_t$S = _$S`
|
|
|
20006
20053
|
}) => {
|
|
20007
20054
|
if (backgroundColor !== undefined) {
|
|
20008
20055
|
const c = Array.isArray(backgroundColor) ? theme.getColor(...backgroundColor) : theme.colors[backgroundColor];
|
|
20009
|
-
return css(_t6$
|
|
20056
|
+
return css(_t6$f || (_t6$f = _$S`
|
|
20010
20057
|
background-color: ${0};
|
|
20011
20058
|
`), c);
|
|
20012
20059
|
}
|
|
@@ -20134,9 +20181,9 @@ let _$T = t => t,
|
|
|
20134
20181
|
_t$T,
|
|
20135
20182
|
_t2$D,
|
|
20136
20183
|
_t3$x,
|
|
20137
|
-
_t4$
|
|
20138
|
-
_t5$
|
|
20139
|
-
_t6$
|
|
20184
|
+
_t4$n,
|
|
20185
|
+
_t5$i,
|
|
20186
|
+
_t6$g,
|
|
20140
20187
|
_t7$f,
|
|
20141
20188
|
_t8$d,
|
|
20142
20189
|
_t9$c,
|
|
@@ -20171,13 +20218,13 @@ const Header$5 = styled.div(_t3$x || (_t3$x = _$T`
|
|
|
20171
20218
|
spacings,
|
|
20172
20219
|
useTypography
|
|
20173
20220
|
}
|
|
20174
|
-
}) => css(_t4$
|
|
20221
|
+
}) => css(_t4$n || (_t4$n = _$T`
|
|
20175
20222
|
border-bottom: 1px solid ${0};
|
|
20176
20223
|
padding: ${0};
|
|
20177
20224
|
|
|
20178
20225
|
${0}
|
|
20179
20226
|
`), colors.lightestGrey, spacings.s4, useTypography('h1')));
|
|
20180
|
-
const Footer$2 = styled.div(_t5$
|
|
20227
|
+
const Footer$2 = styled.div(_t5$i || (_t5$i = _$T`
|
|
20181
20228
|
display: flex;
|
|
20182
20229
|
justify-content: space-between;
|
|
20183
20230
|
align-items: center;
|
|
@@ -20188,7 +20235,7 @@ const Footer$2 = styled.div(_t5$h || (_t5$h = _$T`
|
|
|
20188
20235
|
spacings,
|
|
20189
20236
|
colors
|
|
20190
20237
|
}
|
|
20191
|
-
}) => css(_t6$
|
|
20238
|
+
}) => css(_t6$g || (_t6$g = _$T`
|
|
20192
20239
|
border-top: 1px solid ${0};
|
|
20193
20240
|
padding: ${0};
|
|
20194
20241
|
`), colors.lightestGrey, spacings.s3));
|
|
@@ -20444,9 +20491,9 @@ let _$X = t => t,
|
|
|
20444
20491
|
_t$X,
|
|
20445
20492
|
_t2$E,
|
|
20446
20493
|
_t3$y,
|
|
20447
|
-
_t4$
|
|
20448
|
-
_t5$
|
|
20449
|
-
_t6$
|
|
20494
|
+
_t4$o,
|
|
20495
|
+
_t5$j,
|
|
20496
|
+
_t6$h,
|
|
20450
20497
|
_t7$g,
|
|
20451
20498
|
_t8$e,
|
|
20452
20499
|
_t9$d,
|
|
@@ -20466,16 +20513,16 @@ const HeaderImage = styled.div(_t3$y || (_t3$y = _$X`
|
|
|
20466
20513
|
height: 44px;
|
|
20467
20514
|
background-color: #ebebeb;
|
|
20468
20515
|
`));
|
|
20469
|
-
const HeaderContent = styled.div(_t4$
|
|
20516
|
+
const HeaderContent = styled.div(_t4$o || (_t4$o = _$X`
|
|
20470
20517
|
display: flex;
|
|
20471
20518
|
flex-direction: column;
|
|
20472
20519
|
align-items: flex-start;
|
|
20473
20520
|
flex: 1;
|
|
20474
20521
|
`));
|
|
20475
|
-
const MainContent = styled.div(_t5$
|
|
20522
|
+
const MainContent = styled.div(_t5$j || (_t5$j = _$X`
|
|
20476
20523
|
margin-top: 8px;
|
|
20477
20524
|
`));
|
|
20478
|
-
const HeaderLine = styled.div(_t6$
|
|
20525
|
+
const HeaderLine = styled.div(_t6$h || (_t6$h = _$X`
|
|
20479
20526
|
height: ${0};
|
|
20480
20527
|
background-color: #ebebeb;
|
|
20481
20528
|
margin-left: 7px;
|
|
@@ -20541,8 +20588,8 @@ let _$Y = t => t,
|
|
|
20541
20588
|
_t$Y,
|
|
20542
20589
|
_t2$F,
|
|
20543
20590
|
_t3$z,
|
|
20544
|
-
_t4$
|
|
20545
|
-
_t5$
|
|
20591
|
+
_t4$p,
|
|
20592
|
+
_t5$k;
|
|
20546
20593
|
const HeaderLine$1 = styled.div(_t$Y || (_t$Y = _$Y`
|
|
20547
20594
|
height: ${0};
|
|
20548
20595
|
background-color: #ebebeb;
|
|
@@ -20562,9 +20609,9 @@ const HeaderLine$1 = styled.div(_t$Y || (_t$Y = _$Y`
|
|
|
20562
20609
|
width: 15%;
|
|
20563
20610
|
`)), props => props.size === 'small' && css(_t3$z || (_t3$z = _$Y`
|
|
20564
20611
|
width: 25%;
|
|
20565
|
-
`)), props => props.size === 'medium' && css(_t4$
|
|
20612
|
+
`)), props => props.size === 'medium' && css(_t4$p || (_t4$p = _$Y`
|
|
20566
20613
|
width: 45%;
|
|
20567
|
-
`)), props => props.size === 'large' && css(_t5$
|
|
20614
|
+
`)), props => props.size === 'large' && css(_t5$k || (_t5$k = _$Y`
|
|
20568
20615
|
width: 75%;
|
|
20569
20616
|
`)));
|
|
20570
20617
|
|
|
@@ -20572,9 +20619,9 @@ let _$Z = t => t,
|
|
|
20572
20619
|
_t$Z,
|
|
20573
20620
|
_t2$G,
|
|
20574
20621
|
_t3$A,
|
|
20575
|
-
_t4$
|
|
20576
|
-
_t5$
|
|
20577
|
-
_t6$
|
|
20622
|
+
_t4$q,
|
|
20623
|
+
_t5$l,
|
|
20624
|
+
_t6$i,
|
|
20578
20625
|
_t7$h,
|
|
20579
20626
|
_t8$f;
|
|
20580
20627
|
const Container$d = styled.div(_t$Z || (_t$Z = _$Z`
|
|
@@ -20590,18 +20637,18 @@ const Template2Container = styled(Container$d)(_t2$G || (_t2$G = _$Z`
|
|
|
20590
20637
|
const Header$7 = styled.div(_t3$A || (_t3$A = _$Z`
|
|
20591
20638
|
display: flex;
|
|
20592
20639
|
`));
|
|
20593
|
-
const HeaderImage$1 = styled.div(_t4$
|
|
20640
|
+
const HeaderImage$1 = styled.div(_t4$q || (_t4$q = _$Z`
|
|
20594
20641
|
width: 43px;
|
|
20595
20642
|
height: 44px;
|
|
20596
20643
|
background-color: #ebebeb;
|
|
20597
20644
|
`));
|
|
20598
|
-
const HeaderContent$1 = styled.div(_t5$
|
|
20645
|
+
const HeaderContent$1 = styled.div(_t5$l || (_t5$l = _$Z`
|
|
20599
20646
|
display: flex;
|
|
20600
20647
|
flex-direction: column;
|
|
20601
20648
|
align-items: flex-start;
|
|
20602
20649
|
flex: 1;
|
|
20603
20650
|
`));
|
|
20604
|
-
const MainContent$1 = styled.div(_t6$
|
|
20651
|
+
const MainContent$1 = styled.div(_t6$i || (_t6$i = _$Z`
|
|
20605
20652
|
margin-top: 8px;
|
|
20606
20653
|
`));
|
|
20607
20654
|
const MainLine$1 = styled(HeaderLine$1)(_t7$h || (_t7$h = _$Z`
|
|
@@ -20676,9 +20723,9 @@ let _$$ = t => t,
|
|
|
20676
20723
|
_t$$,
|
|
20677
20724
|
_t2$I,
|
|
20678
20725
|
_t3$C,
|
|
20679
|
-
_t4$
|
|
20680
|
-
_t5$
|
|
20681
|
-
_t6$
|
|
20726
|
+
_t4$r,
|
|
20727
|
+
_t5$m,
|
|
20728
|
+
_t6$j,
|
|
20682
20729
|
_t7$i,
|
|
20683
20730
|
_t8$g;
|
|
20684
20731
|
const Container$f = styled.div(_t$$ || (_t$$ = _$$`
|
|
@@ -20704,11 +20751,11 @@ const HeaderLine$3 = styled.div(_t2$I || (_t2$I = _$$`
|
|
|
20704
20751
|
${0}
|
|
20705
20752
|
`), props => props.height, props => props.size === 'mini' && css(_t3$C || (_t3$C = _$$`
|
|
20706
20753
|
width: 15%;
|
|
20707
|
-
`)), props => props.size === 'small' && css(_t4$
|
|
20754
|
+
`)), props => props.size === 'small' && css(_t4$r || (_t4$r = _$$`
|
|
20708
20755
|
width: 25%;
|
|
20709
|
-
`)), props => props.size === 'medium' && css(_t5$
|
|
20756
|
+
`)), props => props.size === 'medium' && css(_t5$m || (_t5$m = _$$`
|
|
20710
20757
|
width: 45%;
|
|
20711
|
-
`)), props => props.size === 'large' && css(_t6$
|
|
20758
|
+
`)), props => props.size === 'large' && css(_t6$j || (_t6$j = _$$`
|
|
20712
20759
|
width: 75%;
|
|
20713
20760
|
`)));
|
|
20714
20761
|
const Template4Container = styled(Container$f)(_t7$i || (_t7$i = _$$`
|
|
@@ -20770,9 +20817,9 @@ let _$10 = t => t,
|
|
|
20770
20817
|
_t$10,
|
|
20771
20818
|
_t2$J,
|
|
20772
20819
|
_t3$D,
|
|
20773
|
-
_t4$
|
|
20774
|
-
_t5$
|
|
20775
|
-
_t6$
|
|
20820
|
+
_t4$s,
|
|
20821
|
+
_t5$n,
|
|
20822
|
+
_t6$k,
|
|
20776
20823
|
_t7$j,
|
|
20777
20824
|
_t8$h,
|
|
20778
20825
|
_t9$e;
|
|
@@ -20808,11 +20855,11 @@ const HeaderLine$4 = styled.div(_t3$D || (_t3$D = _$10`
|
|
|
20808
20855
|
${0}
|
|
20809
20856
|
|
|
20810
20857
|
${0}
|
|
20811
|
-
`), props => props.height, props => props.size === 'mini' && css(_t4$
|
|
20858
|
+
`), props => props.height, props => props.size === 'mini' && css(_t4$s || (_t4$s = _$10`
|
|
20812
20859
|
width: 15%;
|
|
20813
|
-
`)), props => props.size === 'small' && css(_t5$
|
|
20860
|
+
`)), props => props.size === 'small' && css(_t5$n || (_t5$n = _$10`
|
|
20814
20861
|
width: 25%;
|
|
20815
|
-
`)), props => props.size === 'medium' && css(_t6$
|
|
20862
|
+
`)), props => props.size === 'medium' && css(_t6$k || (_t6$k = _$10`
|
|
20816
20863
|
width: 45%;
|
|
20817
20864
|
`)), props => props.size === 'large' && css(_t7$j || (_t7$j = _$10`
|
|
20818
20865
|
width: 75%;
|
|
@@ -20856,9 +20903,9 @@ let _$11 = t => t,
|
|
|
20856
20903
|
_t$11,
|
|
20857
20904
|
_t2$K,
|
|
20858
20905
|
_t3$E,
|
|
20859
|
-
_t4$
|
|
20860
|
-
_t5$
|
|
20861
|
-
_t6$
|
|
20906
|
+
_t4$t,
|
|
20907
|
+
_t5$o,
|
|
20908
|
+
_t6$l,
|
|
20862
20909
|
_t7$k,
|
|
20863
20910
|
_t8$i,
|
|
20864
20911
|
_t9$f;
|
|
@@ -20881,7 +20928,7 @@ const Footer$3 = styled.div(_t3$E || (_t3$E = _$11`
|
|
|
20881
20928
|
border-top: 1px solid #b1b1b3;
|
|
20882
20929
|
height: 50px;
|
|
20883
20930
|
`));
|
|
20884
|
-
const HeaderLine$5 = styled.div(_t4$
|
|
20931
|
+
const HeaderLine$5 = styled.div(_t4$t || (_t4$t = _$11`
|
|
20885
20932
|
height: ${0};
|
|
20886
20933
|
background-color: #ebebeb;
|
|
20887
20934
|
margin-left: 7px;
|
|
@@ -20896,9 +20943,9 @@ const HeaderLine$5 = styled.div(_t4$s || (_t4$s = _$11`
|
|
|
20896
20943
|
${0}
|
|
20897
20944
|
|
|
20898
20945
|
${0}
|
|
20899
|
-
`), props => props.height, props => props.size === 'mini' && css(_t5$
|
|
20946
|
+
`), props => props.height, props => props.size === 'mini' && css(_t5$o || (_t5$o = _$11`
|
|
20900
20947
|
width: 15%;
|
|
20901
|
-
`)), props => props.size === 'small' && css(_t6$
|
|
20948
|
+
`)), props => props.size === 'small' && css(_t6$l || (_t6$l = _$11`
|
|
20902
20949
|
width: 25%;
|
|
20903
20950
|
`)), props => props.size === 'medium' && css(_t7$k || (_t7$k = _$11`
|
|
20904
20951
|
width: 45%;
|
|
@@ -20936,9 +20983,9 @@ let _$12 = t => t,
|
|
|
20936
20983
|
_t$12,
|
|
20937
20984
|
_t2$L,
|
|
20938
20985
|
_t3$F,
|
|
20939
|
-
_t4$
|
|
20940
|
-
_t5$
|
|
20941
|
-
_t6$
|
|
20986
|
+
_t4$u,
|
|
20987
|
+
_t5$p,
|
|
20988
|
+
_t6$m,
|
|
20942
20989
|
_t7$l,
|
|
20943
20990
|
_t8$j,
|
|
20944
20991
|
_t9$g,
|
|
@@ -20973,11 +21020,11 @@ const HeaderLine$6 = styled.div(_t3$F || (_t3$F = _$12`
|
|
|
20973
21020
|
${0}
|
|
20974
21021
|
|
|
20975
21022
|
${0}
|
|
20976
|
-
`), props => props.height, props => props.size === 'mini' && css(_t4$
|
|
21023
|
+
`), props => props.height, props => props.size === 'mini' && css(_t4$u || (_t4$u = _$12`
|
|
20977
21024
|
width: 15%;
|
|
20978
|
-
`)), props => props.size === 'small' && css(_t5$
|
|
21025
|
+
`)), props => props.size === 'small' && css(_t5$p || (_t5$p = _$12`
|
|
20979
21026
|
width: 25%;
|
|
20980
|
-
`)), props => props.size === 'medium' && css(_t6$
|
|
21027
|
+
`)), props => props.size === 'medium' && css(_t6$m || (_t6$m = _$12`
|
|
20981
21028
|
width: 45%;
|
|
20982
21029
|
`)), props => props.size === 'large' && css(_t7$l || (_t7$l = _$12`
|
|
20983
21030
|
width: 75%;
|
|
@@ -21017,9 +21064,9 @@ let _$13 = t => t,
|
|
|
21017
21064
|
_t$13,
|
|
21018
21065
|
_t2$M,
|
|
21019
21066
|
_t3$G,
|
|
21020
|
-
_t4$
|
|
21021
|
-
_t5$
|
|
21022
|
-
_t6$
|
|
21067
|
+
_t4$v,
|
|
21068
|
+
_t5$q,
|
|
21069
|
+
_t6$n,
|
|
21023
21070
|
_t7$m,
|
|
21024
21071
|
_t8$k,
|
|
21025
21072
|
_t9$h;
|
|
@@ -21053,11 +21100,11 @@ const HeaderLine$7 = styled.div(_t3$G || (_t3$G = _$13`
|
|
|
21053
21100
|
${0}
|
|
21054
21101
|
|
|
21055
21102
|
${0}
|
|
21056
|
-
`), props => props.height, props => props.size === 'mini' && css(_t4$
|
|
21103
|
+
`), props => props.height, props => props.size === 'mini' && css(_t4$v || (_t4$v = _$13`
|
|
21057
21104
|
width: 15%;
|
|
21058
|
-
`)), props => props.size === 'small' && css(_t5$
|
|
21105
|
+
`)), props => props.size === 'small' && css(_t5$q || (_t5$q = _$13`
|
|
21059
21106
|
width: 25%;
|
|
21060
|
-
`)), props => props.size === 'medium' && css(_t6$
|
|
21107
|
+
`)), props => props.size === 'medium' && css(_t6$n || (_t6$n = _$13`
|
|
21061
21108
|
width: 45%;
|
|
21062
21109
|
`)), props => props.size === 'large' && css(_t7$m || (_t7$m = _$13`
|
|
21063
21110
|
width: 75%;
|
|
@@ -21100,9 +21147,9 @@ let _$14 = t => t,
|
|
|
21100
21147
|
_t$14,
|
|
21101
21148
|
_t2$N,
|
|
21102
21149
|
_t3$H,
|
|
21103
|
-
_t4$
|
|
21104
|
-
_t5$
|
|
21105
|
-
_t6$
|
|
21150
|
+
_t4$w,
|
|
21151
|
+
_t5$r,
|
|
21152
|
+
_t6$o,
|
|
21106
21153
|
_t7$n,
|
|
21107
21154
|
_t8$l,
|
|
21108
21155
|
_t9$i,
|
|
@@ -21137,11 +21184,11 @@ const HeaderLine$8 = styled.div(_t3$H || (_t3$H = _$14`
|
|
|
21137
21184
|
${0}
|
|
21138
21185
|
|
|
21139
21186
|
${0}
|
|
21140
|
-
`), props => props.height, props => props.size === 'mini' && css(_t4$
|
|
21187
|
+
`), props => props.height, props => props.size === 'mini' && css(_t4$w || (_t4$w = _$14`
|
|
21141
21188
|
width: 15%;
|
|
21142
|
-
`)), props => props.size === 'small' && css(_t5$
|
|
21189
|
+
`)), props => props.size === 'small' && css(_t5$r || (_t5$r = _$14`
|
|
21143
21190
|
width: 25%;
|
|
21144
|
-
`)), props => props.size === 'medium' && css(_t6$
|
|
21191
|
+
`)), props => props.size === 'medium' && css(_t6$o || (_t6$o = _$14`
|
|
21145
21192
|
width: 45%;
|
|
21146
21193
|
`)), props => props.size === 'large' && css(_t7$n || (_t7$n = _$14`
|
|
21147
21194
|
width: 75%;
|
|
@@ -21186,9 +21233,9 @@ let _$15 = t => t,
|
|
|
21186
21233
|
_t$15,
|
|
21187
21234
|
_t2$O,
|
|
21188
21235
|
_t3$I,
|
|
21189
|
-
_t4$
|
|
21190
|
-
_t5$
|
|
21191
|
-
_t6$
|
|
21236
|
+
_t4$x,
|
|
21237
|
+
_t5$s,
|
|
21238
|
+
_t6$p,
|
|
21192
21239
|
_t7$o,
|
|
21193
21240
|
_t8$m,
|
|
21194
21241
|
_t9$j,
|
|
@@ -21224,11 +21271,11 @@ const HeaderLine$9 = styled.div(_t3$I || (_t3$I = _$15`
|
|
|
21224
21271
|
${0}
|
|
21225
21272
|
|
|
21226
21273
|
${0}
|
|
21227
|
-
`), props => props.height, props => props.size === 'mini' && css(_t4$
|
|
21274
|
+
`), props => props.height, props => props.size === 'mini' && css(_t4$x || (_t4$x = _$15`
|
|
21228
21275
|
width: 15%;
|
|
21229
|
-
`)), props => props.size === 'small' && css(_t5$
|
|
21276
|
+
`)), props => props.size === 'small' && css(_t5$s || (_t5$s = _$15`
|
|
21230
21277
|
width: 25%;
|
|
21231
|
-
`)), props => props.size === 'medium' && css(_t6$
|
|
21278
|
+
`)), props => props.size === 'medium' && css(_t6$p || (_t6$p = _$15`
|
|
21232
21279
|
width: 45%;
|
|
21233
21280
|
`)), props => props.size === 'large' && css(_t7$o || (_t7$o = _$15`
|
|
21234
21281
|
width: 75%;
|
|
@@ -21381,9 +21428,9 @@ let _$16 = t => t,
|
|
|
21381
21428
|
_t$16,
|
|
21382
21429
|
_t2$P,
|
|
21383
21430
|
_t3$J,
|
|
21384
|
-
_t4$
|
|
21385
|
-
_t5$
|
|
21386
|
-
_t6$
|
|
21431
|
+
_t4$y,
|
|
21432
|
+
_t5$t,
|
|
21433
|
+
_t6$q,
|
|
21387
21434
|
_t7$p;
|
|
21388
21435
|
const Container$m = styled.div(_t$16 || (_t$16 = _$16`
|
|
21389
21436
|
display: flex;
|
|
@@ -21415,15 +21462,15 @@ const Progress = styled.div(_t2$P || (_t2$P = _$16`
|
|
|
21415
21462
|
background-color: ${0};
|
|
21416
21463
|
`), ({
|
|
21417
21464
|
theme
|
|
21418
|
-
}) => theme.colors.warningGray), props => props.type === 'info' && css(_t4$
|
|
21465
|
+
}) => theme.colors.warningGray), props => props.type === 'info' && css(_t4$y || (_t4$y = _$16`
|
|
21419
21466
|
background-color: ${0};
|
|
21420
21467
|
`), ({
|
|
21421
21468
|
theme
|
|
21422
|
-
}) => theme.colors.blue), props => props.type === 'danger' && css(_t5$
|
|
21469
|
+
}) => theme.colors.blue), props => props.type === 'danger' && css(_t5$t || (_t5$t = _$16`
|
|
21423
21470
|
background-color: ${0};
|
|
21424
21471
|
`), ({
|
|
21425
21472
|
theme
|
|
21426
|
-
}) => theme.colors.warningRed), props => props.type === 'success' && css(_t6$
|
|
21473
|
+
}) => theme.colors.warningRed), props => props.type === 'success' && css(_t6$q || (_t6$q = _$16`
|
|
21427
21474
|
background-color: ${0};
|
|
21428
21475
|
`), ({
|
|
21429
21476
|
theme
|
|
@@ -21848,7 +21895,7 @@ let _$1c = t => t,
|
|
|
21848
21895
|
_t$1c,
|
|
21849
21896
|
_t2$S,
|
|
21850
21897
|
_t3$K,
|
|
21851
|
-
_t4$
|
|
21898
|
+
_t4$z;
|
|
21852
21899
|
const delimiters = {
|
|
21853
21900
|
blue: ['blue'],
|
|
21854
21901
|
grey: ['warningGray']
|
|
@@ -21900,7 +21947,7 @@ const Tabs = styled.div(_t2$S || (_t2$S = _$1c`
|
|
|
21900
21947
|
$delimiter: delimiter
|
|
21901
21948
|
}) => {
|
|
21902
21949
|
const border = delimiter === 'none' ? 'none' : internal ? `1px solid ${theme.getColor(...delimiters[delimiter || 'grey'])}` : `2px solid ${theme.getColor(...delimiters[delimiter || 'blue'])}`;
|
|
21903
|
-
return css(_t4$
|
|
21950
|
+
return css(_t4$z || (_t4$z = _$1c`
|
|
21904
21951
|
border-bottom: ${0};
|
|
21905
21952
|
+ ${0} {
|
|
21906
21953
|
border: 1px solid ${0};
|
|
@@ -22016,9 +22063,9 @@ let _$1e = t => t,
|
|
|
22016
22063
|
_t$1e,
|
|
22017
22064
|
_t2$T,
|
|
22018
22065
|
_t3$L,
|
|
22019
|
-
_t4$
|
|
22020
|
-
_t5$
|
|
22021
|
-
_t6$
|
|
22066
|
+
_t4$A,
|
|
22067
|
+
_t5$u,
|
|
22068
|
+
_t6$r;
|
|
22022
22069
|
const Container$r = styled.div(_t$1e || (_t$1e = _$1e`
|
|
22023
22070
|
border-radius: 4px;
|
|
22024
22071
|
width: ${0};
|
|
@@ -22060,7 +22107,7 @@ const Container$r = styled.div(_t$1e || (_t$1e = _$1e`
|
|
|
22060
22107
|
p {
|
|
22061
22108
|
color: #973937;
|
|
22062
22109
|
}
|
|
22063
|
-
`)), props => props.color === 'warning' && css(_t4$
|
|
22110
|
+
`)), props => props.color === 'warning' && css(_t4$A || (_t4$A = _$1e`
|
|
22064
22111
|
background-color: #fffaf3;
|
|
22065
22112
|
opacity: 1;
|
|
22066
22113
|
border-color: #ccbea0;
|
|
@@ -22071,7 +22118,7 @@ const Container$r = styled.div(_t$1e || (_t$1e = _$1e`
|
|
|
22071
22118
|
color: #7a4d05cc;
|
|
22072
22119
|
}
|
|
22073
22120
|
`)));
|
|
22074
|
-
const IconContainer$2 = styled.div(_t5$
|
|
22121
|
+
const IconContainer$2 = styled.div(_t5$u || (_t5$u = _$1e`
|
|
22075
22122
|
width: 100%;
|
|
22076
22123
|
display: flex;
|
|
22077
22124
|
align-items: center;
|
|
@@ -22079,7 +22126,7 @@ const IconContainer$2 = styled.div(_t5$t || (_t5$t = _$1e`
|
|
|
22079
22126
|
padding: 14px 14px 0 0;
|
|
22080
22127
|
margin: 0;
|
|
22081
22128
|
`));
|
|
22082
|
-
const IconContent = styled.div(_t6$
|
|
22129
|
+
const IconContent = styled.div(_t6$r || (_t6$r = _$1e`
|
|
22083
22130
|
width: 100%;
|
|
22084
22131
|
padding: 13px 0 21px 28px;
|
|
22085
22132
|
display: flex;
|
|
@@ -22109,8 +22156,8 @@ let _$1f = t => t,
|
|
|
22109
22156
|
_t$1f,
|
|
22110
22157
|
_t2$U,
|
|
22111
22158
|
_t3$M,
|
|
22112
|
-
_t4$
|
|
22113
|
-
_t5$
|
|
22159
|
+
_t4$B,
|
|
22160
|
+
_t5$v;
|
|
22114
22161
|
const Image = styled.img(_t$1f || (_t$1f = _$1f`
|
|
22115
22162
|
max-width: 100%;
|
|
22116
22163
|
max-height: 100%;
|
|
@@ -22172,12 +22219,12 @@ const Dimmer = styled.div(_t3$M || (_t3$M = _$1f`
|
|
|
22172
22219
|
`), ({
|
|
22173
22220
|
theme
|
|
22174
22221
|
}) => theme.getColor('greyishBlue', 50));
|
|
22175
|
-
const Button$6 = styled(Button$1)(_t4$
|
|
22222
|
+
const Button$6 = styled(Button$1)(_t4$B || (_t4$B = _$1f`
|
|
22176
22223
|
background-color: ${0};
|
|
22177
22224
|
`), ({
|
|
22178
22225
|
theme
|
|
22179
22226
|
}) => theme.getColor('white', 50));
|
|
22180
|
-
const ModalContent = styled.div(_t5$
|
|
22227
|
+
const ModalContent = styled.div(_t5$v || (_t5$v = _$1f`
|
|
22181
22228
|
position: absolute;
|
|
22182
22229
|
width: 100%;
|
|
22183
22230
|
height: 100%;
|