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