@descope/web-components-ui 2.2.15 → 2.2.17
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/cjs/index.cjs.js +100 -23
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/index.esm.js +106 -29
- package/dist/index.esm.js.map +1 -1
- package/dist/umd/DescopeDev.js +1 -1
- package/dist/umd/DescopeDev.js.map +1 -1
- package/dist/umd/descope-apps-list.js +2 -2
- package/dist/umd/descope-apps-list.js.map +1 -1
- package/dist/umd/descope-list.js +1 -1
- package/dist/umd/descope-list.js.map +1 -1
- package/dist/umd/descope-outbound-apps.js +1 -1
- package/dist/umd/descope-outbound-apps.js.map +1 -1
- package/dist/umd/descope-recovery-codes.js.map +1 -1
- package/dist/umd/descope-scopes-list-index-js.js +1 -1
- package/dist/umd/descope-scopes-list-index-js.js.map +1 -1
- package/dist/umd/descope-trusted-devices.js +1 -1
- package/dist/umd/descope-trusted-devices.js.map +1 -1
- package/dist/umd/descope-user-attribute-index-js.js +4 -4
- package/dist/umd/descope-user-attribute-index-js.js.LICENSE.txt +0 -6
- package/dist/umd/descope-user-attribute-index-js.js.map +1 -1
- package/dist/umd/descope-user-auth-method-index-js.js +1 -1
- package/dist/umd/descope-user-auth-method-index-js.js.map +1 -1
- package/dist/umd/index.js +1 -1
- package/dist/umd/index.js.map +1 -1
- package/package.json +29 -29
- package/src/components/descope-user-attribute/UserAttributeClass.js +26 -8
- package/src/components/descope-user-attribute/delete.svg +2 -2
- package/src/components/descope-user-attribute/edit.svg +2 -2
- package/src/components/descope-user-attribute/index.js +1 -1
- package/src/components/descope-user-auth-method/UserAuthMethodClass.js +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -16671,10 +16671,6 @@ customElements.define(componentName$x, MappingItem);
|
|
|
16671
16671
|
|
|
16672
16672
|
customElements.define(componentName$y, MappingsFieldClass);
|
|
16673
16673
|
|
|
16674
|
-
var deleteIcon = "data:image/svg+xml;base64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TYxOUMxLjMzNjE5IDE1LjAwODIgLTAuMDA3ODEyNSAxMy42NjQyIC0wLjAwNzgxMjUgMTEuOTg0MlYzLjk5MjE1Qy0wLjAwNzgxMjUgMi4zMzYxNSAxLjMzNjE5IDAuOTkyMTQ5IDMuMDE2MTkgMC45OTIxNDlIMTAuMDAwMlpNMTEuMjcyMiAyLjYyNDE1TDEyLjYxNjIgNC4xMTIxNUw3LjcyMDE5IDkuNjgwMTZDNy41MDQxOSA5LjkyMDE2IDYuODMyMTkgMTAuMjMyMiA1LjY4MDE5IDEwLjYxNjJDNS42NTYxOSAxMC42NDAyIDUuNjA4MTkgMTAuNjQwMiA1LjU2MDE5IDEwLjYxNjJDNS40NjQxOSAxMC41OTIyIDUuMzkyMTkgMTAuNDcyMiA1LjQ0MDE5IDEwLjM3NjJDNS43NTIxOSA5LjI0ODE2IDYuMDQwMTkgOC41NTIxNiA2LjI1NjE5IDguMzEyMTZMMTEuMjcyMiAyLjYyNDE1Wk0xMS45MjAyIDEuODU2MTVMMTMuMjg4MiAwLjMyMDE0OUMxMy42NDgyIC0wLjA4Nzg1MTYgMTQuMjcyMiAtMC4xMTE4NTIgMTQuNjgwMiAwLjI3MjE0OUMxNS4wODgyIDAuNjMyMTQ5IDE1LjExMjIgMS4yODAxNSAxNC43NTIyIDEuNjg4MTVMMTMuMjY0MiAzLjM2ODE1TDExLjkyMDIgMS44NTYxNVoiIGZpbGw9ImN1cnJlbnRjb2xvciIvPgo8L3N2Zz4K";
|
|
16677
|
-
|
|
16678
16674
|
const componentName$w = getComponentName$1('badge');
|
|
16679
16675
|
|
|
16680
16676
|
class RawBadge extends createBaseClass$1({
|
|
@@ -16741,6 +16737,10 @@ const BadgeClass = compose$1(
|
|
|
16741
16737
|
componentNameValidationMixin$1,
|
|
16742
16738
|
)(RawBadge);
|
|
16743
16739
|
|
|
16740
|
+
var deleteIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTgiIHZpZXdC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MiAtMC4wMDc4MTI1IDEzLjY2NDIgLTAuMDA3ODEyNSAxMS45ODQyVjMuOTkyMTVDLTAuMDA3ODEyNSAyLjMzNjE1IDEuMzM2MTkgMC45OTIxNDkgMy4wMTYxOSAwLjk5MjE0OUgxMC4wMDAyWk0xMS4yNzIyIDIuNjI0MTVMMTIuNjE2MiA0LjExMjE1TDcuNzIwMTkgOS42ODAxNkM3LjUwNDE5IDkuOTIwMTYgNi44MzIxOSAxMC4yMzIyIDUuNjgwMTkgMTAuNjE2MkM1LjY1NjE5IDEwLjY0MDIgNS42MDgxOSAxMC42NDAyIDUuNTYwMTkgMTAuNjE2MkM1LjQ2NDE5IDEwLjU5MjIgNS4zOTIxOSAxMC40NzIyIDUuNDQwMTkgMTAuMzc2MkM1Ljc1MjE5IDkuMjQ4MTYgNi4wNDAxOSA4LjU1MjE2IDYuMjU2MTkgOC4zMTIxNkwxMS4yNzIyIDIuNjI0MTVaTTExLjkyMDIgMS44NTYxNUwxMy4yODgyIDAuMzIwMTQ5QzEzLjY0ODIgLTAuMDg3ODUxNiAxNC4yNzIyIC0wLjExMTg1MiAxNC42ODAyIDAuMjcyMTQ5QzE1LjA4ODIgMC42MzIxNDkgMTUuMTEyMiAxLjI4MDE1IDE0Ljc1MjIgMS42ODgxNUwxMy4yNjQyIDMuMzY4MTVMMTEuOTIwMiAxLjg1NjE1WiIgZmlsbD0iY3VycmVudGNvbG9yIi8+Cjwvc3ZnPgo=";
|
|
16743
|
+
|
|
16744
16744
|
const componentName$v = getComponentName('user-attribute');
|
|
16745
16745
|
class RawUserAttribute extends createBaseClass({
|
|
16746
16746
|
componentName: componentName$v,
|
|
@@ -16757,10 +16757,10 @@ class RawUserAttribute extends createBaseClass({
|
|
|
16757
16757
|
<div class="btn-wrapper">
|
|
16758
16758
|
<descope-badge mode="default" bordered="true" size="xs"></descope-badge>
|
|
16759
16759
|
<descope-button size="xs" data-id="edit-btn" square="true" variant="link" mode="primary">
|
|
16760
|
-
<
|
|
16760
|
+
<slot name="edit-icon"></slot>
|
|
16761
16761
|
</descope-button>
|
|
16762
16762
|
<descope-button size="xs" data-id="delete-btn" square="true" variant="link" mode="primary">
|
|
16763
|
-
<
|
|
16763
|
+
<slot name="delete-icon"></slot>
|
|
16764
16764
|
</descope-button>
|
|
16765
16765
|
</div>
|
|
16766
16766
|
</div>
|
|
@@ -16774,16 +16774,18 @@ class RawUserAttribute extends createBaseClass({
|
|
|
16774
16774
|
container-type: inline-size;
|
|
16775
16775
|
}
|
|
16776
16776
|
|
|
16777
|
-
vaadin-icon {
|
|
16778
|
-
color: currentcolor;
|
|
16779
|
-
}
|
|
16780
|
-
|
|
16781
16777
|
.root {
|
|
16782
16778
|
display: flex;
|
|
16783
16779
|
width: 100%;
|
|
16784
16780
|
height: 100%;
|
|
16785
16781
|
align-items: center;
|
|
16786
16782
|
}
|
|
16783
|
+
|
|
16784
|
+
::slotted(*) {
|
|
16785
|
+
display: flex;
|
|
16786
|
+
align-items: center;
|
|
16787
|
+
justify-content: center;
|
|
16788
|
+
}
|
|
16787
16789
|
|
|
16788
16790
|
@container (max-width: 529px) {
|
|
16789
16791
|
.root {
|
|
@@ -16923,6 +16925,22 @@ class RawUserAttribute extends createBaseClass({
|
|
|
16923
16925
|
this.editButton.addEventListener('click', () =>
|
|
16924
16926
|
this.dispatchEvent(new CustomEvent('edit-clicked', { bubbles: true, composed: true }))
|
|
16925
16927
|
);
|
|
16928
|
+
|
|
16929
|
+
this.setDefaultChildren();
|
|
16930
|
+
}
|
|
16931
|
+
|
|
16932
|
+
#addIcon(src, slotName) {
|
|
16933
|
+
const icon = document.createElement('descope-icon');
|
|
16934
|
+
icon.setAttribute('src', src);
|
|
16935
|
+
icon.setAttribute('src-dark', src);
|
|
16936
|
+
icon.setAttribute('slot', slotName);
|
|
16937
|
+
this.appendChild(icon);
|
|
16938
|
+
}
|
|
16939
|
+
|
|
16940
|
+
setDefaultChildren() {
|
|
16941
|
+
if (this.children.length) return;
|
|
16942
|
+
this.#addIcon(deleteIcon, 'delete-icon');
|
|
16943
|
+
this.#addIcon(editIcon, 'edit-icon');
|
|
16926
16944
|
}
|
|
16927
16945
|
|
|
16928
16946
|
static get observedAttributes() {
|
|
@@ -16998,6 +17016,10 @@ const UserAttributeClass = compose(
|
|
|
16998
17016
|
|
|
16999
17017
|
customElements.define(componentName$w, BadgeClass);
|
|
17000
17018
|
|
|
17019
|
+
customElements.define(componentName$1b, ImageClass);
|
|
17020
|
+
|
|
17021
|
+
customElements.define(componentName$1a, IconClass);
|
|
17022
|
+
|
|
17001
17023
|
customElements.define(componentName$v, UserAttributeClass);
|
|
17002
17024
|
|
|
17003
17025
|
var greenVIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTggMEMzLjYgMCAwIDMuNiAwIDhDMCAxMi40IDMuNiAxNiA4IDE2QzEyLjQgMTYgMTYgMTIuNCAxNiA4QzE2IDMuNiAxMi40IDAgOCAwWk03LjEgMTEuN0wyLjkgNy42TDQuMyA2LjJMNyA4LjlMMTIgNEwxMy40IDUuNEw3LjEgMTEuN1oiIGZpbGw9IiM0Q0FGNTAiLz4KPC9zdmc+Cg==";
|
|
@@ -18182,6 +18204,9 @@ const ListClass = compose$1(
|
|
|
18182
18204
|
selector: () => '::slotted(:not([slot]))',
|
|
18183
18205
|
property: 'min-width',
|
|
18184
18206
|
},
|
|
18207
|
+
maxRowItems: {
|
|
18208
|
+
property: 'max-row-items',
|
|
18209
|
+
},
|
|
18185
18210
|
itemsHorizontalAlign: {
|
|
18186
18211
|
selector: () => '::slotted(*)',
|
|
18187
18212
|
property: 'justify-self',
|
|
@@ -18305,10 +18330,6 @@ const ThirdPartyAppLogoClass = compose(
|
|
|
18305
18330
|
componentNameValidationMixin
|
|
18306
18331
|
)(RawThirdPartyAppLogoClass);
|
|
18307
18332
|
|
|
18308
|
-
customElements.define(componentName$1b, ImageClass);
|
|
18309
|
-
|
|
18310
|
-
customElements.define(componentName$1a, IconClass);
|
|
18311
|
-
|
|
18312
18333
|
customElements.define(componentName$m, ThirdPartyAppLogoClass);
|
|
18313
18334
|
|
|
18314
18335
|
const componentName$l = getComponentName('security-questions-setup');
|
|
@@ -21943,6 +21964,14 @@ const avatar = {
|
|
|
21943
21964
|
[compVars$4.hostWidth]: '98px',
|
|
21944
21965
|
[compVars$4.hostHeight]: '98px',
|
|
21945
21966
|
},
|
|
21967
|
+
xl: {
|
|
21968
|
+
[compVars$4.hostWidth]: '120px',
|
|
21969
|
+
[compVars$4.hostHeight]: '120px',
|
|
21970
|
+
},
|
|
21971
|
+
'2xl': {
|
|
21972
|
+
[compVars$4.hostWidth]: '140px',
|
|
21973
|
+
[compVars$4.hostHeight]: '140px',
|
|
21974
|
+
},
|
|
21946
21975
|
},
|
|
21947
21976
|
};
|
|
21948
21977
|
|
|
@@ -22461,7 +22490,7 @@ var dateField$1 = /*#__PURE__*/Object.freeze({
|
|
|
22461
22490
|
const componentName$d = getComponentName$1('apps-list');
|
|
22462
22491
|
|
|
22463
22492
|
const itemRenderer$3 = ({ name, icon, url }, _, ref) => `
|
|
22464
|
-
<a ${url ? `href="${url}" title="${url}"` : ''} target="_blank">
|
|
22493
|
+
<a ${url ? `href="${url}" title="${url}"` : ''} ${ref.openInSameWindow ? '' : 'target="_blank"'}>
|
|
22465
22494
|
<descope-list-item>
|
|
22466
22495
|
<div class="avatar-wrapper">
|
|
22467
22496
|
<descope-avatar
|
|
@@ -22492,6 +22521,10 @@ const customMixin$2 = (superclass) =>
|
|
|
22492
22521
|
get logoSize() {
|
|
22493
22522
|
return this.getAttribute('logo-size');
|
|
22494
22523
|
}
|
|
22524
|
+
|
|
22525
|
+
get openInSameWindow() {
|
|
22526
|
+
return this.getAttribute('open-in-same-window') === 'true';
|
|
22527
|
+
}
|
|
22495
22528
|
};
|
|
22496
22529
|
|
|
22497
22530
|
const AppsListClass = compose$1(
|
|
@@ -22500,6 +22533,14 @@ const AppsListClass = compose$1(
|
|
|
22500
22533
|
maxHeight: { selector: () => ':host' },
|
|
22501
22534
|
minHeight: { selector: () => ':host' },
|
|
22502
22535
|
hostDirection: { selector: () => ':host', property: 'direction' },
|
|
22536
|
+
gap: {
|
|
22537
|
+
selector: ListClass.componentName,
|
|
22538
|
+
property: ListClass.cssVarList.gap,
|
|
22539
|
+
},
|
|
22540
|
+
maxRowItems: {
|
|
22541
|
+
selector: ListClass.componentName,
|
|
22542
|
+
property: ListClass.cssVarList.maxRowItems,
|
|
22543
|
+
},
|
|
22503
22544
|
itemsFontWeight: {
|
|
22504
22545
|
selector: TextClass.componentName,
|
|
22505
22546
|
property: TextClass.cssVarList.fontWeightOverride,
|
|
@@ -22516,6 +22557,10 @@ const AppsListClass = compose$1(
|
|
|
22516
22557
|
selector: ListItemClass.componentName,
|
|
22517
22558
|
property: ListItemClass.cssVarList.backgroundColor,
|
|
22518
22559
|
},
|
|
22560
|
+
itemHoverBackgroundColor: {
|
|
22561
|
+
selector: `${ListItemClass.componentName}:hover`,
|
|
22562
|
+
property: ListItemClass.cssVarList.backgroundColor,
|
|
22563
|
+
},
|
|
22519
22564
|
backgroundColor: {
|
|
22520
22565
|
selector: ListClass.componentName,
|
|
22521
22566
|
property: ListClass.cssVarList.backgroundColorOverride,
|
|
@@ -22542,14 +22587,25 @@ const AppsListClass = compose$1(
|
|
|
22542
22587
|
},
|
|
22543
22588
|
itemAlignment: [
|
|
22544
22589
|
{ selector: () => '.avatar-wrapper', property: 'text-align' },
|
|
22545
|
-
{
|
|
22546
|
-
|
|
22590
|
+
{
|
|
22591
|
+
selector: TextClass.componentName,
|
|
22592
|
+
property: TextClass.cssVarList.textAlign,
|
|
22593
|
+
},
|
|
22594
|
+
],
|
|
22547
22595
|
},
|
|
22548
22596
|
}),
|
|
22549
|
-
createDynamicDataMixin$1({
|
|
22597
|
+
createDynamicDataMixin$1({
|
|
22598
|
+
itemRenderer: itemRenderer$3,
|
|
22599
|
+
rerenderAttrsList: [
|
|
22600
|
+
'size',
|
|
22601
|
+
'item-text-variant',
|
|
22602
|
+
'logo-size',
|
|
22603
|
+
'open-in-same-window',
|
|
22604
|
+
],
|
|
22605
|
+
}),
|
|
22550
22606
|
draggableMixin$1,
|
|
22551
22607
|
componentNameValidationMixin$1,
|
|
22552
|
-
customMixin$2
|
|
22608
|
+
customMixin$2,
|
|
22553
22609
|
)(
|
|
22554
22610
|
createProxy$1({
|
|
22555
22611
|
slots: ['empty-state'],
|
|
@@ -22587,7 +22643,7 @@ const AppsListClass = compose$1(
|
|
|
22587
22643
|
width: 100%;
|
|
22588
22644
|
}
|
|
22589
22645
|
`,
|
|
22590
|
-
})
|
|
22646
|
+
}),
|
|
22591
22647
|
);
|
|
22592
22648
|
|
|
22593
22649
|
const vars$l = AppsListClass.cssVarList;
|
|
@@ -22599,6 +22655,7 @@ const appsList = {
|
|
|
22599
22655
|
[vars$l.itemsTextAlign]: 'start',
|
|
22600
22656
|
[vars$l.hostDirection]: globalRefs$b.direction,
|
|
22601
22657
|
[vars$l.maxHeight]: defaultHeight,
|
|
22658
|
+
[vars$l.itemHoverBackgroundColor]: globalRefs$b.colors.surface.highlight,
|
|
22602
22659
|
|
|
22603
22660
|
_empty: {
|
|
22604
22661
|
[vars$l.minHeight]: defaultHeight,
|
|
@@ -22659,7 +22716,7 @@ const compVars$3 = ListClass.cssVarList;
|
|
|
22659
22716
|
|
|
22660
22717
|
const [helperTheme$2, helperRefs$2, helperVars$2] = createHelperVars$1(
|
|
22661
22718
|
{ shadowColor: '#00000020' },
|
|
22662
|
-
componentName$n
|
|
22719
|
+
componentName$n,
|
|
22663
22720
|
);
|
|
22664
22721
|
|
|
22665
22722
|
const { shadowColor: shadowColor$2 } = helperRefs$2;
|
|
@@ -22681,6 +22738,7 @@ const list = {
|
|
|
22681
22738
|
[compVars$3.maxHeight]: '100%',
|
|
22682
22739
|
[compVars$3.hostDirection]: globalRefs$a.direction,
|
|
22683
22740
|
[compVars$3.minItemsWidth]: '150px',
|
|
22741
|
+
[compVars$3.maxRowItems]: '1000', // effectively no limit
|
|
22684
22742
|
|
|
22685
22743
|
_empty: {
|
|
22686
22744
|
[compVars$3.minHeight]: '150px',
|
|
@@ -22690,13 +22748,33 @@ const list = {
|
|
|
22690
22748
|
|
|
22691
22749
|
variant: {
|
|
22692
22750
|
tiles: {
|
|
22693
|
-
[compVars$3.gridTemplateColumns]: `repeat(auto-fit, minmax(
|
|
22694
|
-
|
|
22695
|
-
|
|
22751
|
+
[compVars$3.gridTemplateColumns]: `repeat(auto-fit, minmax(
|
|
22752
|
+
max(
|
|
22753
|
+
min(${useVar$1(compVars$3.minItemsWidth)}, 100%),
|
|
22754
|
+
calc((100% - (${useVar$1(compVars$3.maxRowItems)} - 1) * ${useVar$1(compVars$3.gap)}) / ${useVar$1(compVars$3.maxRowItems)})),
|
|
22755
|
+
1fr))`,
|
|
22696
22756
|
[compVars$3.maxItemsWidth]: '200px',
|
|
22697
22757
|
[compVars$3.itemsHorizontalAlign]: 'center',
|
|
22698
22758
|
},
|
|
22699
22759
|
},
|
|
22760
|
+
|
|
22761
|
+
gap: {
|
|
22762
|
+
xs: {
|
|
22763
|
+
[compVars$3.gap]: globalRefs$a.spacing.xs,
|
|
22764
|
+
},
|
|
22765
|
+
sm: {
|
|
22766
|
+
[compVars$3.gap]: globalRefs$a.spacing.sm,
|
|
22767
|
+
},
|
|
22768
|
+
md: {
|
|
22769
|
+
[compVars$3.gap]: globalRefs$a.spacing.md,
|
|
22770
|
+
},
|
|
22771
|
+
lg: {
|
|
22772
|
+
[compVars$3.gap]: globalRefs$a.spacing.lg,
|
|
22773
|
+
},
|
|
22774
|
+
xl: {
|
|
22775
|
+
[compVars$3.gap]: globalRefs$a.spacing.xl,
|
|
22776
|
+
},
|
|
22777
|
+
},
|
|
22700
22778
|
};
|
|
22701
22779
|
|
|
22702
22780
|
const vars$k = {
|
|
@@ -24889,7 +24967,6 @@ class RawRecoveryCodes extends createBaseClass$1({
|
|
|
24889
24967
|
init() {
|
|
24890
24968
|
super.init();
|
|
24891
24969
|
|
|
24892
|
-
|
|
24893
24970
|
this.icon.addEventListener('click', this.onCopy.bind(this));
|
|
24894
24971
|
|
|
24895
24972
|
forwardAttrs$1(this, this.iconWrapper, { includeAttrs: ['variant', 'mode'] });
|
|
@@ -24914,7 +24991,7 @@ class RawRecoveryCodes extends createBaseClass$1({
|
|
|
24914
24991
|
onReadOnly(isReadOnly) {
|
|
24915
24992
|
this.icon.classList.toggle('readonly', isReadOnly);
|
|
24916
24993
|
}
|
|
24917
|
-
|
|
24994
|
+
|
|
24918
24995
|
attributeChangedCallback(attrName, oldValue, newValue) {
|
|
24919
24996
|
super.attributeChangedCallback?.(attrName, oldValue, newValue);
|
|
24920
24997
|
|
|
@@ -24935,20 +25012,20 @@ const RecoveryCodesClass = compose$1(
|
|
|
24935
25012
|
{ selector: () => ':host', property: 'direction' },
|
|
24936
25013
|
{
|
|
24937
25014
|
selector: () => TextClass.componentName,
|
|
24938
|
-
property: TextClass.cssVarList.hostDirection
|
|
25015
|
+
property: TextClass.cssVarList.hostDirection,
|
|
24939
25016
|
},
|
|
24940
25017
|
],
|
|
24941
25018
|
textAlign: { selector: () => '.list', property: 'align-items' },
|
|
24942
25019
|
iconColor: { selector: () => 'vaadin-icon', property: 'color' },
|
|
24943
25020
|
iconSize: { selector: () => 'vaadin-icon', property: 'font-size' },
|
|
24944
25021
|
iconGap: { selector: () => '.wrapper', property: 'gap' },
|
|
24945
|
-
bulletGap: { selector: () => 'descope-text span', property: 'gap' }
|
|
25022
|
+
bulletGap: { selector: () => 'descope-text span', property: 'gap' },
|
|
24946
25023
|
},
|
|
24947
25024
|
}),
|
|
24948
25025
|
createDynamicDataMixin$1({
|
|
24949
25026
|
itemRenderer: itemRenderer$2,
|
|
24950
25027
|
rerenderAttrsList: ['variant', 'mode'],
|
|
24951
|
-
targetSelector: '.list'
|
|
25028
|
+
targetSelector: '.list',
|
|
24952
25029
|
}),
|
|
24953
25030
|
draggableMixin$1,
|
|
24954
25031
|
componentNameValidationMixin$1,
|