@lion/ui 0.15.3 → 0.15.5
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/README.md +2 -2
- package/components/collapsible/src/LionCollapsible.js +0 -2
- package/components/collapsible/test/lion-collapsible.test.js +0 -9
- package/components/combobox/src/LionCombobox.js +4 -1
- package/components/combobox/test/lion-combobox-integrations.test.js +23 -0
- package/components/combobox/test/lion-combobox.test.js +20 -0
- package/components/core/src/ScopedStylesController.js +7 -10
- package/components/core/test-helpers/getCachedFixture.js +55 -0
- package/components/core/test-helpers/ssr-definitions/ScopedElementsHost.define.js +1 -0
- package/components/drawer/test/lion-drawer.test.js +0 -9
- package/components/form-core/src/choice-group/ChoiceGroupMixin.js +12 -2
- package/components/form-core/test-suites/choice-group/ChoiceGroupMixin.suite.js +48 -4
- package/components/input-amount/src/parsers.js +3 -2
- package/components/input-amount/test/parsers.test.js +6 -0
- package/components/input-amount-dropdown/src/currencyUtil.js +1 -1
- package/components/input-file/src/localizeNamespaceLoader.js +4 -0
- package/components/input-file/translations/bg.js +5 -0
- package/components/input-file/translations/cs.js +5 -0
- package/components/input-file/translations/es.js +5 -0
- package/components/input-file/translations/fr.js +5 -0
- package/components/input-file/translations/hu.js +5 -0
- package/components/input-file/translations/id-ID.js +5 -0
- package/components/input-file/translations/id.js +19 -0
- package/components/input-file/translations/it.js +5 -0
- package/components/input-file/translations/pl.js +5 -0
- package/components/input-file/translations/ro.js +5 -0
- package/components/input-file/translations/sk.js +5 -0
- package/components/input-file/translations/uk.js +5 -0
- package/components/input-file/translations/zh.js +5 -0
- package/components/input-stepper/test/lion-input-stepper-integrations.test.js +2 -19
- package/components/input-stepper/test/lion-input-stepper.test.js +2 -688
- package/components/input-stepper/test-suites/lion-input-stepper.integration.suite.js +19 -0
- package/components/input-stepper/test-suites/lion-input-stepper.suite.js +673 -0
- package/components/input-tel/translations/es.js +1 -1
- package/components/listbox/src/ListboxMixin.js +0 -1
- package/components/listbox/test-suites/ListboxMixin.suite.js +71 -2
- package/components/overlays/src/OverlayController.js +3 -0
- package/components/overlays/src/OverlaysManager.js +9 -2
- package/components/overlays/test/OverlayController.test.js +25 -11
- package/components/overlays/test/OverlaysManager.test.js +16 -0
- package/custom-elements.json +133 -9
- package/dist-types/components/collapsible/src/LionCollapsible.d.ts.map +1 -1
- package/dist-types/components/combobox/src/LionCombobox.d.ts.map +1 -1
- package/dist-types/components/core/src/ScopedStylesController.d.ts +1 -2
- package/dist-types/components/core/src/ScopedStylesController.d.ts.map +1 -1
- package/dist-types/components/core/test-helpers/getCachedFixture.d.ts +14 -0
- package/dist-types/components/core/test-helpers/getCachedFixture.d.ts.map +1 -0
- package/dist-types/components/core/test-helpers/ssr-definitions/ScopedElementsHost.define.d.ts +2 -0
- package/dist-types/components/core/test-helpers/ssr-definitions/ScopedElementsHost.define.d.ts.map +1 -0
- package/dist-types/components/form-core/src/choice-group/ChoiceGroupMixin.d.ts.map +1 -1
- package/dist-types/components/form-core/test-suites/choice-group/ChoiceGroupMixin.suite.d.ts.map +1 -1
- package/dist-types/components/form-integrations/test/helpers/helpers.d.ts +3 -3
- package/dist-types/components/form-integrations/test/helpers/helpers.d.ts.map +1 -1
- package/dist-types/components/input-amount/src/parsers.d.ts.map +1 -1
- package/dist-types/components/input-file/src/localizeNamespaceLoader.d.ts +1 -1
- package/dist-types/components/input-file/src/localizeNamespaceLoader.d.ts.map +1 -1
- package/dist-types/components/input-file/translations/bg-BG.d.ts +5 -0
- package/dist-types/components/input-file/translations/bg.d.ts +5 -0
- package/dist-types/components/input-file/translations/cs-CZ.d.ts +5 -0
- package/dist-types/components/input-file/translations/cs.d.ts +5 -0
- package/dist-types/components/input-file/translations/es-ES.d.ts +5 -0
- package/dist-types/components/input-file/translations/es.d.ts +5 -0
- package/dist-types/components/input-file/translations/fr-BE.d.ts +5 -0
- package/dist-types/components/input-file/translations/fr-FR.d.ts +5 -0
- package/dist-types/components/input-file/translations/fr.d.ts +5 -0
- package/dist-types/components/input-file/translations/hu-HU.d.ts +5 -0
- package/dist-types/components/input-file/translations/hu.d.ts +5 -0
- package/dist-types/components/input-file/translations/id-ID.d.ts +20 -0
- package/dist-types/components/input-file/translations/id-ID.d.ts.map +1 -0
- package/dist-types/components/input-file/translations/id.d.ts +20 -0
- package/dist-types/components/input-file/translations/id.d.ts.map +1 -0
- package/dist-types/components/input-file/translations/it-IT.d.ts +5 -0
- package/dist-types/components/input-file/translations/it.d.ts +5 -0
- package/dist-types/components/input-file/translations/pl-PL.d.ts +5 -0
- package/dist-types/components/input-file/translations/pl.d.ts +5 -0
- package/dist-types/components/input-file/translations/ro-RO.d.ts +5 -0
- package/dist-types/components/input-file/translations/ro.d.ts +5 -0
- package/dist-types/components/input-file/translations/sk-SK.d.ts +5 -0
- package/dist-types/components/input-file/translations/sk.d.ts +5 -0
- package/dist-types/components/input-file/translations/uk-UA.d.ts +5 -0
- package/dist-types/components/input-file/translations/uk.d.ts +5 -0
- package/dist-types/components/input-file/translations/zh-CN.d.ts +5 -0
- package/dist-types/components/input-file/translations/zh.d.ts +5 -0
- package/dist-types/components/input-stepper/test/lion-input-stepper.test.d.ts +1 -2
- package/dist-types/components/input-stepper/test/lion-input-stepper.test.d.ts.map +1 -1
- package/dist-types/components/input-stepper/test-suites/lion-input-stepper.integration.suite.d.ts +3 -0
- package/dist-types/components/input-stepper/test-suites/lion-input-stepper.integration.suite.d.ts.map +1 -0
- package/dist-types/components/input-stepper/test-suites/lion-input-stepper.suite.d.ts +4 -0
- package/dist-types/components/input-stepper/test-suites/lion-input-stepper.suite.d.ts.map +1 -0
- package/dist-types/components/listbox/src/ListboxMixin.d.ts.map +1 -1
- package/dist-types/components/listbox/test-suites/ListboxMixin.suite.d.ts.map +1 -1
- package/dist-types/components/overlays/src/OverlayController.d.ts.map +1 -1
- package/dist-types/components/overlays/src/OverlaysManager.d.ts +4 -1
- package/dist-types/components/overlays/src/OverlaysManager.d.ts.map +1 -1
- package/dist-types/components/overlays/test/OverlayController.test.d.ts.map +1 -1
- package/dist-types/exports/input-stepper-suites.d.ts +6 -0
- package/dist-types/exports/input-stepper-suites.d.ts.map +1 -0
- package/dist-types/tsconfig.tsbuildinfo +1 -1
- package/docs/components/checkbox-group/overview.md +2 -2
- package/docs/components/collapsible/overview.md +1 -1
- package/docs/components/combobox/overview.md +1 -1
- package/docs/components/combobox/use-cases.md +1 -1
- package/docs/components/dialog/overview.md +1 -1
- package/docs/components/fieldset/overview.md +5 -5
- package/docs/components/form/overview.md +3 -3
- package/docs/components/form/use-cases.md +2 -2
- package/docs/components/icon/use-cases.md +1 -1
- package/docs/components/input/overview.md +1 -1
- package/docs/components/input-amount/overview.md +3 -3
- package/docs/components/input-date/overview.md +3 -3
- package/docs/components/input-datepicker/overview.md +5 -5
- package/docs/components/input-email/overview.md +2 -2
- package/docs/components/input-file/overview.md +1 -1
- package/docs/components/input-iban/overview.md +2 -2
- package/docs/components/input-range/overview.md +2 -2
- package/docs/components/input-stepper/overview.md +1 -1
- package/docs/components/input-tel/overview.md +1 -1
- package/docs/components/input-tel/use-cases.md +6 -6
- package/docs/components/input-tel-dropdown/overview.md +1 -1
- package/docs/components/listbox/use-cases.md +1 -1
- package/docs/components/radio-group/overview.md +3 -3
- package/docs/components/select/use-cases.md +1 -1
- package/docs/components/select-rich/use-cases.md +2 -2
- package/docs/components/switch/use-cases.md +3 -3
- package/docs/components/tabs/examples.md +1 -1
- package/docs/fundamentals/index.md +4 -4
- package/docs/fundamentals/node-tools/publish-docs/overview.md +3 -3
- package/docs/fundamentals/node-tools/rocket-preset-extend-lion-docs/overview.md +2 -2
- package/docs/fundamentals/rationales/TypeScript.md +46 -0
- package/docs/fundamentals/rationales/accessibility.md +1 -1
- package/docs/fundamentals/systems/core/SlotMixin.md +2 -2
- package/docs/fundamentals/systems/core/api-table.md +3 -4
- package/docs/fundamentals/systems/core/overview.md +1 -1
- package/docs/fundamentals/systems/form/formatting-and-parsing.md +4 -4
- package/docs/fundamentals/systems/form/model-value.md +1 -1
- package/docs/fundamentals/systems/form/overview.md +28 -28
- package/docs/fundamentals/systems/form/validate.md +38 -30
- package/docs/fundamentals/systems/localize/overview.md +4 -4
- package/docs/fundamentals/systems/overlays/api-table.md +1 -1
- package/docs/fundamentals/systems/overlays/configuration.md +2 -2
- package/docs/fundamentals/systems/overlays/overview.md +5 -5
- package/docs/fundamentals/systems/overlays/use-cases.md +2 -2
- package/docs/fundamentals/tools/helpers/overview.md +1 -1
- package/docs/fundamentals/tools/singleton-manager/overview.md +4 -4
- package/docs/guides/how-to/create-a-custom-field.md +5 -5
- package/docs/guides/how-to/create-a-form.md +4 -4
- package/docs/guides/how-to/extend-a-native-input.md +2 -2
- package/docs/guides/index.md +8 -8
- package/docs/guides/principles/index.md +5 -5
- package/docs/guides/principles/styling.md +1 -1
- package/exports/input-stepper-suites.js +11 -0
- package/input-stepper-suites.js +11 -0
- package/package.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { LitElement } from 'lit';
|
|
2
|
+
import { ref } from 'lit/directives/ref.js';
|
|
2
3
|
import { repeat } from 'lit/directives/repeat.js';
|
|
3
4
|
import { Required } from '@lion/ui/form-core.js';
|
|
4
5
|
import { LionOptions } from '@lion/ui/listbox.js';
|
|
@@ -17,6 +18,7 @@ import { sendKeys } from '@web/test-runner-commands';
|
|
|
17
18
|
import sinon from 'sinon';
|
|
18
19
|
import { getListboxMembers } from '../../../exports/listbox-test-helpers.js';
|
|
19
20
|
import { browserDetection } from '../../core/src/browserDetection.js';
|
|
21
|
+
import { getCachedFixture } from '../../core/test-helpers/getCachedFixture.js';
|
|
20
22
|
|
|
21
23
|
/**
|
|
22
24
|
* @typedef {import('../src/LionListbox.js').LionListbox} LionListbox
|
|
@@ -589,6 +591,55 @@ export function runListboxMixinSuite(customConfig = {}) {
|
|
|
589
591
|
el.reset();
|
|
590
592
|
expect(el.activeIndex).to.equal(-1);
|
|
591
593
|
});
|
|
594
|
+
|
|
595
|
+
it('clears modelValue on clear()', async () => {
|
|
596
|
+
const el = await fixture(html`
|
|
597
|
+
<${tag} has-no-default-selected>
|
|
598
|
+
<${optionTag} .choiceValue=${'10'}>Item 1</${optionTag}>
|
|
599
|
+
<${optionTag} .choiceValue=${'20'}>Item 2</${optionTag}>
|
|
600
|
+
</${tag}>
|
|
601
|
+
`);
|
|
602
|
+
|
|
603
|
+
el.setCheckedIndex(0);
|
|
604
|
+
await el.updateComplete;
|
|
605
|
+
expect(el.modelValue).to.deep.equal('10');
|
|
606
|
+
|
|
607
|
+
el.clear();
|
|
608
|
+
await el.updateComplete;
|
|
609
|
+
expect(el.modelValue).to.equal('');
|
|
610
|
+
});
|
|
611
|
+
|
|
612
|
+
it('clears modelValue on clear() when multiple-choice', async () => {
|
|
613
|
+
const el = await fixture(html`
|
|
614
|
+
<${tag} has-no-default-selected multiple-choice>
|
|
615
|
+
<${optionTag} .choiceValue=${'10'}>Item 1</${optionTag}>
|
|
616
|
+
<${optionTag} .choiceValue=${'20'}>Item 2</${optionTag}>
|
|
617
|
+
</${tag}>
|
|
618
|
+
`);
|
|
619
|
+
el.setCheckedIndex(0);
|
|
620
|
+
await el.updateComplete;
|
|
621
|
+
expect(el.modelValue).to.eql(['10']);
|
|
622
|
+
|
|
623
|
+
el.clear();
|
|
624
|
+
expect(el.modelValue).to.eql([]);
|
|
625
|
+
});
|
|
626
|
+
|
|
627
|
+
it('keeps interaction states on clear()', async () => {
|
|
628
|
+
const el = await fixture(html`
|
|
629
|
+
<${tag} has-no-default-selected>
|
|
630
|
+
<${optionTag} .choiceValue=${'10'}>Item 1</${optionTag}>
|
|
631
|
+
<${optionTag} .choiceValue=${'20'}>Item 2</${optionTag}>
|
|
632
|
+
</${tag}>
|
|
633
|
+
`);
|
|
634
|
+
|
|
635
|
+
el.setCheckedIndex(0);
|
|
636
|
+
await el.updateComplete;
|
|
637
|
+
expect(el.dirty).to.equal(true);
|
|
638
|
+
|
|
639
|
+
el.clear();
|
|
640
|
+
await el.updateComplete;
|
|
641
|
+
expect(el.dirty).to.equal(true);
|
|
642
|
+
});
|
|
592
643
|
});
|
|
593
644
|
|
|
594
645
|
describe('Interactions', () => {
|
|
@@ -1547,8 +1598,12 @@ export function runListboxMixinSuite(customConfig = {}) {
|
|
|
1547
1598
|
expect(el.querySelector('[role=listbox]')).to.equal(_listboxNode);
|
|
1548
1599
|
|
|
1549
1600
|
expect(el.formElements.length).to.equal(2);
|
|
1550
|
-
|
|
1551
|
-
|
|
1601
|
+
// When we use ScopedStylesController, lisboxNode can have style tag along with options
|
|
1602
|
+
const childrenOtherThanStyle = Array.from(_listboxNode.children).filter(
|
|
1603
|
+
child => child.nodeName !== 'STYLE',
|
|
1604
|
+
);
|
|
1605
|
+
expect(childrenOtherThanStyle.length).to.equal(2);
|
|
1606
|
+
expect(childrenOtherThanStyle[0].tagName).to.equal(cfg.optionTagString.toUpperCase());
|
|
1552
1607
|
});
|
|
1553
1608
|
});
|
|
1554
1609
|
|
|
@@ -1735,6 +1790,20 @@ export function runListboxMixinSuite(customConfig = {}) {
|
|
|
1735
1790
|
await el.updateComplete;
|
|
1736
1791
|
expect(spy).to.have.been.calledTwice;
|
|
1737
1792
|
});
|
|
1793
|
+
|
|
1794
|
+
it('does not calls "_onListboxContentChanged" during connect and disconnected', async () => {
|
|
1795
|
+
const renderEl = /** @param {import('lit/directives/ref.js').Ref<any>} refObj */ refObj =>
|
|
1796
|
+
html`<${wrappingTag} ${ref(refObj)}></${wrappingTag}>`;
|
|
1797
|
+
const { el, show, hide } = await getCachedFixture(renderEl);
|
|
1798
|
+
const typedEl = /** @type {MyEl} */ (el);
|
|
1799
|
+
await typedEl?.listbox.registrationComplete;
|
|
1800
|
+
// @ts-ignore [allow-protected] in test
|
|
1801
|
+
const spy = sinon.spy(typedEl.listbox, '_onListboxContentChanged');
|
|
1802
|
+
await hide();
|
|
1803
|
+
await show();
|
|
1804
|
+
|
|
1805
|
+
expect(spy).not.to.have.been.called;
|
|
1806
|
+
});
|
|
1738
1807
|
});
|
|
1739
1808
|
});
|
|
1740
1809
|
}
|
|
@@ -1081,6 +1081,9 @@ export class OverlayController extends EventTarget {
|
|
|
1081
1081
|
case 'hide':
|
|
1082
1082
|
this.manager.requestToEnableScroll();
|
|
1083
1083
|
break;
|
|
1084
|
+
case 'teardown':
|
|
1085
|
+
this.manager.requestToEnableScroll(this);
|
|
1086
|
+
break;
|
|
1084
1087
|
/* no default */
|
|
1085
1088
|
}
|
|
1086
1089
|
}
|
|
@@ -184,8 +184,15 @@ export class OverlaysManager {
|
|
|
184
184
|
}
|
|
185
185
|
}
|
|
186
186
|
|
|
187
|
-
|
|
188
|
-
|
|
187
|
+
/**
|
|
188
|
+
* @param {OverlayController} [currentController]
|
|
189
|
+
*/
|
|
190
|
+
requestToEnableScroll(currentController) {
|
|
191
|
+
const openedSiblings = currentController
|
|
192
|
+
? this.shownList.filter(ctrl => ctrl !== currentController)
|
|
193
|
+
: this.shownList;
|
|
194
|
+
|
|
195
|
+
const hasOpenSiblingThatPreventsScroll = openedSiblings.some(
|
|
189
196
|
ctrl => ctrl.preventsScroll === true,
|
|
190
197
|
);
|
|
191
198
|
if (hasOpenSiblingThatPreventsScroll) {
|
|
@@ -11,6 +11,7 @@ import {
|
|
|
11
11
|
fixture,
|
|
12
12
|
expect,
|
|
13
13
|
html,
|
|
14
|
+
waitUntil,
|
|
14
15
|
} from '@open-wc/testing';
|
|
15
16
|
|
|
16
17
|
import { isActiveElement } from '../../core/test-helpers/isActiveElement.js';
|
|
@@ -353,14 +354,17 @@ describe('OverlayController', () => {
|
|
|
353
354
|
normalizeOverlayContentWapper(ctrl.contentWrapperNode);
|
|
354
355
|
|
|
355
356
|
// The total dom structure created...
|
|
356
|
-
expect(el).shadowDom.to.equal(
|
|
357
|
+
expect(el).shadowDom.to.equal(
|
|
358
|
+
`
|
|
357
359
|
<dialog data-overlay-outer-wrapper="" open="" role="none" style="${wrappingDialogNodeStyle}">
|
|
358
360
|
<div data-id="content-wrapper">
|
|
359
361
|
<slot name="content">
|
|
360
362
|
</slot>
|
|
361
363
|
</div>
|
|
362
364
|
</dialog>
|
|
363
|
-
|
|
365
|
+
`,
|
|
366
|
+
{ ignoreAttributes: ['closedby'] },
|
|
367
|
+
);
|
|
364
368
|
|
|
365
369
|
expect(el).lightDom.to.equal(`<div slot="content">projected</div>`);
|
|
366
370
|
});
|
|
@@ -380,13 +384,16 @@ describe('OverlayController', () => {
|
|
|
380
384
|
normalizeOverlayContentWapper(ctrl.contentWrapperNode);
|
|
381
385
|
|
|
382
386
|
// The total dom structure created...
|
|
383
|
-
expect(el).lightDom.to.equal(
|
|
387
|
+
expect(el).lightDom.to.equal(
|
|
388
|
+
`
|
|
384
389
|
<dialog data-overlay-outer-wrapper="" open="" role="none" style="${wrappingDialogNodeStyle}">
|
|
385
390
|
<div data-id="content-wrapper">
|
|
386
391
|
<div id="content">non projected</div>
|
|
387
392
|
</div>
|
|
388
393
|
</dialog>
|
|
389
|
-
|
|
394
|
+
`,
|
|
395
|
+
{ ignoreAttributes: ['closedby'] },
|
|
396
|
+
);
|
|
390
397
|
});
|
|
391
398
|
});
|
|
392
399
|
|
|
@@ -421,13 +428,16 @@ describe('OverlayController', () => {
|
|
|
421
428
|
normalizeOverlayContentWapper(ctrl.contentWrapperNode);
|
|
422
429
|
|
|
423
430
|
// The total dom structure created...
|
|
424
|
-
expect(el).shadowDom.to.equal(
|
|
431
|
+
expect(el).shadowDom.to.equal(
|
|
432
|
+
`
|
|
425
433
|
<dialog data-overlay-outer-wrapper="" open="" role="none" style="${wrappingDialogNodeStyle}">
|
|
426
434
|
<div data-id="content-wrapper">
|
|
427
435
|
<slot name="content"></slot>
|
|
428
436
|
</div>
|
|
429
437
|
</dialog>
|
|
430
|
-
|
|
438
|
+
`,
|
|
439
|
+
{ ignoreAttributes: ['closedby'] },
|
|
440
|
+
);
|
|
431
441
|
});
|
|
432
442
|
|
|
433
443
|
it("uses the .contentWrapperNode as container for Popper's arrow", async () => {
|
|
@@ -464,14 +474,17 @@ describe('OverlayController', () => {
|
|
|
464
474
|
normalizeOverlayContentWapper(ctrl.contentWrapperNode);
|
|
465
475
|
|
|
466
476
|
// The total dom structure created...
|
|
467
|
-
expect(el).shadowDom.to.equal(
|
|
477
|
+
expect(el).shadowDom.to.equal(
|
|
478
|
+
`
|
|
468
479
|
<dialog data-overlay-outer-wrapper="" open="" role="none" style="${wrappingDialogNodeStyle}">
|
|
469
480
|
<div data-id="content-wrapper">
|
|
470
481
|
<div id="arrow"></div>
|
|
471
482
|
<slot name="content"></slot>
|
|
472
483
|
</div>
|
|
473
484
|
</dialog>
|
|
474
|
-
|
|
485
|
+
`,
|
|
486
|
+
{ ignoreAttributes: ['closedby'] },
|
|
487
|
+
);
|
|
475
488
|
});
|
|
476
489
|
});
|
|
477
490
|
});
|
|
@@ -540,6 +553,7 @@ describe('OverlayController', () => {
|
|
|
540
553
|
</div>
|
|
541
554
|
</dialog>
|
|
542
555
|
`,
|
|
556
|
+
{ ignoreAttributes: ['closedby'] },
|
|
543
557
|
);
|
|
544
558
|
});
|
|
545
559
|
});
|
|
@@ -800,10 +814,10 @@ describe('OverlayController', () => {
|
|
|
800
814
|
await mimicEscapePress(childOverlay.contentNode);
|
|
801
815
|
|
|
802
816
|
// without this line, the test is unstable on FF sometimes
|
|
803
|
-
await aTimeout(
|
|
817
|
+
await aTimeout(100);
|
|
804
818
|
|
|
805
|
-
|
|
806
|
-
|
|
819
|
+
await waitUntil(() => !parentOverlay.isShown);
|
|
820
|
+
await waitUntil(() => childOverlay.isShown);
|
|
807
821
|
|
|
808
822
|
await childOverlay.teardown();
|
|
809
823
|
await parentOverlay.teardown();
|
|
@@ -163,6 +163,22 @@ describe('OverlaysManager', () => {
|
|
|
163
163
|
'overlays-scroll-lock-ios-fix',
|
|
164
164
|
);
|
|
165
165
|
});
|
|
166
|
+
it('remove class "overlays-scroll-lock-ios-fix" after teardown', async () => {
|
|
167
|
+
mockIOS();
|
|
168
|
+
const dialog = new OverlayController({ ...defaultOptions, preventsScroll: true }, mngr);
|
|
169
|
+
await dialog.show();
|
|
170
|
+
|
|
171
|
+
await dialog.teardown();
|
|
172
|
+
|
|
173
|
+
expect(
|
|
174
|
+
Array.from(document.body.classList).filter(cls =>
|
|
175
|
+
['overlays-scroll-lock', 'overlays-scroll-lock-ios-fix'].includes(cls),
|
|
176
|
+
),
|
|
177
|
+
).to.be.empty;
|
|
178
|
+
expect(Array.from(document.documentElement.classList)).to.not.contain(
|
|
179
|
+
'overlays-scroll-lock-ios-fix',
|
|
180
|
+
);
|
|
181
|
+
});
|
|
166
182
|
});
|
|
167
183
|
});
|
|
168
184
|
});
|
package/custom-elements.json
CHANGED
|
@@ -1097,6 +1097,35 @@
|
|
|
1097
1097
|
}
|
|
1098
1098
|
]
|
|
1099
1099
|
},
|
|
1100
|
+
{
|
|
1101
|
+
"kind": "javascript-module",
|
|
1102
|
+
"path": "exports/input-stepper-suites.js",
|
|
1103
|
+
"declarations": [
|
|
1104
|
+
{
|
|
1105
|
+
"kind": "function",
|
|
1106
|
+
"name": "runInputStepperSuites",
|
|
1107
|
+
"parameters": [
|
|
1108
|
+
{
|
|
1109
|
+
"name": "klass",
|
|
1110
|
+
"default": "LionInputStepper",
|
|
1111
|
+
"type": {
|
|
1112
|
+
"text": "typeof LionInputStepper"
|
|
1113
|
+
}
|
|
1114
|
+
}
|
|
1115
|
+
]
|
|
1116
|
+
}
|
|
1117
|
+
],
|
|
1118
|
+
"exports": [
|
|
1119
|
+
{
|
|
1120
|
+
"kind": "js",
|
|
1121
|
+
"name": "runInputStepperSuites",
|
|
1122
|
+
"declaration": {
|
|
1123
|
+
"name": "runInputStepperSuites",
|
|
1124
|
+
"module": "exports/input-stepper-suites.js"
|
|
1125
|
+
}
|
|
1126
|
+
}
|
|
1127
|
+
]
|
|
1128
|
+
},
|
|
1100
1129
|
{
|
|
1101
1130
|
"kind": "javascript-module",
|
|
1102
1131
|
"path": "exports/input-stepper.js",
|
|
@@ -19473,13 +19502,17 @@
|
|
|
19473
19502
|
"name": "ScopedStylesController",
|
|
19474
19503
|
"members": [
|
|
19475
19504
|
{
|
|
19476
|
-
"kind": "
|
|
19477
|
-
"name": "
|
|
19478
|
-
"privacy": "
|
|
19505
|
+
"kind": "field",
|
|
19506
|
+
"name": "#hasConnected",
|
|
19507
|
+
"privacy": "private",
|
|
19508
|
+
"type": {
|
|
19509
|
+
"text": "boolean"
|
|
19510
|
+
},
|
|
19511
|
+
"default": "false"
|
|
19479
19512
|
},
|
|
19480
19513
|
{
|
|
19481
19514
|
"kind": "method",
|
|
19482
|
-
"name": "
|
|
19515
|
+
"name": "hostConnected",
|
|
19483
19516
|
"privacy": "public"
|
|
19484
19517
|
},
|
|
19485
19518
|
{
|
|
@@ -19516,11 +19549,6 @@
|
|
|
19516
19549
|
"kind": "field",
|
|
19517
19550
|
"name": "__styleTag",
|
|
19518
19551
|
"privacy": "private"
|
|
19519
|
-
},
|
|
19520
|
-
{
|
|
19521
|
-
"kind": "method",
|
|
19522
|
-
"name": "__teardownStyleTag",
|
|
19523
|
-
"privacy": "private"
|
|
19524
19552
|
}
|
|
19525
19553
|
]
|
|
19526
19554
|
}
|
|
@@ -99170,6 +99198,58 @@
|
|
|
99170
99198
|
}
|
|
99171
99199
|
]
|
|
99172
99200
|
},
|
|
99201
|
+
{
|
|
99202
|
+
"kind": "javascript-module",
|
|
99203
|
+
"path": "components/input-stepper/test-suites/lion-input-stepper.suite.js",
|
|
99204
|
+
"declarations": [
|
|
99205
|
+
{
|
|
99206
|
+
"kind": "function",
|
|
99207
|
+
"name": "runInputStepperSuite",
|
|
99208
|
+
"parameters": [
|
|
99209
|
+
{
|
|
99210
|
+
"name": "klass",
|
|
99211
|
+
"default": "LionInputStepper"
|
|
99212
|
+
}
|
|
99213
|
+
]
|
|
99214
|
+
}
|
|
99215
|
+
],
|
|
99216
|
+
"exports": [
|
|
99217
|
+
{
|
|
99218
|
+
"kind": "js",
|
|
99219
|
+
"name": "runInputStepperSuite",
|
|
99220
|
+
"declaration": {
|
|
99221
|
+
"name": "runInputStepperSuite",
|
|
99222
|
+
"module": "components/input-stepper/test-suites/lion-input-stepper.suite.js"
|
|
99223
|
+
}
|
|
99224
|
+
}
|
|
99225
|
+
]
|
|
99226
|
+
},
|
|
99227
|
+
{
|
|
99228
|
+
"kind": "javascript-module",
|
|
99229
|
+
"path": "components/input-stepper/test-suites/lion-input-stepper.integration.suite.js",
|
|
99230
|
+
"declarations": [
|
|
99231
|
+
{
|
|
99232
|
+
"kind": "function",
|
|
99233
|
+
"name": "runInputStepperIntegrationSuite",
|
|
99234
|
+
"parameters": [
|
|
99235
|
+
{
|
|
99236
|
+
"name": "klass",
|
|
99237
|
+
"default": "LionInputStepper"
|
|
99238
|
+
}
|
|
99239
|
+
]
|
|
99240
|
+
}
|
|
99241
|
+
],
|
|
99242
|
+
"exports": [
|
|
99243
|
+
{
|
|
99244
|
+
"kind": "js",
|
|
99245
|
+
"name": "runInputStepperIntegrationSuite",
|
|
99246
|
+
"declaration": {
|
|
99247
|
+
"name": "runInputStepperIntegrationSuite",
|
|
99248
|
+
"module": "components/input-stepper/test-suites/lion-input-stepper.integration.suite.js"
|
|
99249
|
+
}
|
|
99250
|
+
}
|
|
99251
|
+
]
|
|
99252
|
+
},
|
|
99173
99253
|
{
|
|
99174
99254
|
"kind": "javascript-module",
|
|
99175
99255
|
"path": "components/input-stepper/src/LionInputStepper.js",
|
|
@@ -122683,6 +122763,15 @@
|
|
|
122683
122763
|
{
|
|
122684
122764
|
"kind": "method",
|
|
122685
122765
|
"name": "requestToEnableScroll",
|
|
122766
|
+
"parameters": [
|
|
122767
|
+
{
|
|
122768
|
+
"name": "currentController",
|
|
122769
|
+
"optional": true,
|
|
122770
|
+
"type": {
|
|
122771
|
+
"text": "OverlayController"
|
|
122772
|
+
}
|
|
122773
|
+
}
|
|
122774
|
+
],
|
|
122686
122775
|
"privacy": "public"
|
|
122687
122776
|
},
|
|
122688
122777
|
{
|
|
@@ -153036,6 +153125,41 @@
|
|
|
153036
153125
|
}
|
|
153037
153126
|
]
|
|
153038
153127
|
},
|
|
153128
|
+
{
|
|
153129
|
+
"kind": "javascript-module",
|
|
153130
|
+
"path": "components/core/test-helpers/getCachedFixture.js",
|
|
153131
|
+
"declarations": [
|
|
153132
|
+
{
|
|
153133
|
+
"kind": "function",
|
|
153134
|
+
"name": "getCachedFixture",
|
|
153135
|
+
"parameters": [
|
|
153136
|
+
{
|
|
153137
|
+
"name": "render",
|
|
153138
|
+
"description": "The render function",
|
|
153139
|
+
"type": {
|
|
153140
|
+
"text": "(ref: Ref<T>) => TemplateResult"
|
|
153141
|
+
}
|
|
153142
|
+
}
|
|
153143
|
+
],
|
|
153144
|
+
"description": "Helper to get a fixture with a cached render function and show/hide methods.",
|
|
153145
|
+
"return": {
|
|
153146
|
+
"type": {
|
|
153147
|
+
"text": "Promise<{ wrapper: LitElement, el: T | undefined, show: () => Promise<void>, hide: () => Promise<void> }>"
|
|
153148
|
+
}
|
|
153149
|
+
}
|
|
153150
|
+
}
|
|
153151
|
+
],
|
|
153152
|
+
"exports": [
|
|
153153
|
+
{
|
|
153154
|
+
"kind": "js",
|
|
153155
|
+
"name": "getCachedFixture",
|
|
153156
|
+
"declaration": {
|
|
153157
|
+
"name": "getCachedFixture",
|
|
153158
|
+
"module": "components/core/test-helpers/getCachedFixture.js"
|
|
153159
|
+
}
|
|
153160
|
+
}
|
|
153161
|
+
]
|
|
153162
|
+
},
|
|
153039
153163
|
{
|
|
153040
153164
|
"kind": "javascript-module",
|
|
153041
153165
|
"path": "node_modules/@bundled-es-modules/message-format/MessageFormat.js",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LionCollapsible.d.ts","sourceRoot":"","sources":["../../../../components/collapsible/src/LionCollapsible.js"],"names":[],"mappings":"AAGA;;;;;;;GAOG;AACH;IACE,+CAYC;IAED;;;;;MAOC;IAED,+CAKC;IAIC,gBAAmB;
|
|
1
|
+
{"version":3,"file":"LionCollapsible.d.ts","sourceRoot":"","sources":["../../../../components/collapsible/src/LionCollapsible.js"],"names":[],"mappings":"AAGA;;;;;;;GAOG;AACH;IACE,+CAYC;IAED;;;;;MAOC;IAED,+CAKC;IAIC,gBAAmB;IA4DrB;;;OAGG;IACH,sBAGC;IA3BD;;;OAGG;IACH,oBAIC;IAED;;;OAGG;IACH,oBAIC;IAWD;;;;OAIG;IAEH,+BAJW,MAAM,iBAIY;IAE7B;;;;OAIG;IAEH,+BAJW,MAAM,iBAIY;IAE7B;;OAEG;IACH,sDAIC;IAED;;OAEG;IACH,sDAIC;IAED;;OAEG;IACH,uCAGC;IAED;;;OAGG;IACH,wBAMC;IAED;;;OAGG;IACH,4BAUC;IAED;;;OAGG;IACH,0BAIC;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LionCombobox.d.ts","sourceRoot":"","sources":["../../../../components/combobox/src/LionCombobox.js"],"names":[],"mappings":";AAgBA;;;;;;;;;GASG;AAEH;;;;;;;;GAQG;AACH;IACE,kBAAkB;IAClB,6BAoBC;IAED,wFAgCC;IAuGD,4BAA4B;IAC5B,uBASC;IAtBD;;;;;;;OAOG;IACH,oBAEC;IAOG,iCAAiC;IACjC,SADW,MAAM,GAAG,SAAS,CACL;IAe5B;;OAEG;IACH,uCAcC;IAED;;;OAGG;IAEH,2EAOC;IAED;;OAEG;IAEH,0EAWC;IAED;;;OAGG;IACH,oEAEC;IAsDD;;;;OAIG;IACH,2CAEC;IAED;;;OAGG;IACH,sGAEC;IAED;;;;;OAKG;IACH,6CAOC;IAED;;;OAGG;IACH,4FAEC;IAED;;;OAGG;IACH,sDAEC;IAED;;;OAGG;IACH,sDAEC;IAaD;;;OAGG;IACH,6DAEC;IASD;;OAEG;IACH,qCAEC;IAZD;;OAEG;IACH,kCAEC;IAWC;;;;OAIG;IACH,cAFU,MAAM,GAAC,MAAM,GAAC,QAAQ,GAAC,MAAM,CAEb;IAC1B;;;;;;;OAOG;IACH,WAFU,OAAO,GAAC,KAAK,CAED;IACtB;;;OAGG;IACH,wBAA2B;IAM3B;;OAEG;IACH,kCAAoC;IACpC;;OAEG;IACH,+BAAiC;IAEjC;;;;OAIG;IACH,wBAHU,KAAK,GAAC,KAAK,CAG0C;IAW/D;;OAEG;IACH,mCAAoC;IACpC;;OAEG;IACH,wBAAyB;IACzB;;;OAGG;IACH,uCAA2C;IAC3C;;;OAGG;IACH,gCAAoC;
|
|
1
|
+
{"version":3,"file":"LionCombobox.d.ts","sourceRoot":"","sources":["../../../../components/combobox/src/LionCombobox.js"],"names":[],"mappings":"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"}
|
|
@@ -17,9 +17,8 @@ export class ScopedStylesController implements ReactiveController {
|
|
|
17
17
|
__styleTag: HTMLStyleElement;
|
|
18
18
|
scopedClass: string;
|
|
19
19
|
hostConnected(): void;
|
|
20
|
-
hostDisconnected(): void;
|
|
21
20
|
__setupStyleTag(): void;
|
|
22
|
-
|
|
21
|
+
#private;
|
|
23
22
|
}
|
|
24
23
|
export type ReactiveControllerHost = import('lit').ReactiveControllerHost;
|
|
25
24
|
export type ReactiveController = import('lit').ReactiveController;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScopedStylesController.d.ts","sourceRoot":"","sources":["../../../../components/core/src/ScopedStylesController.js"],"names":[],"mappings":"AAEA;;;;GAIG;AACH;
|
|
1
|
+
{"version":3,"file":"ScopedStylesController.d.ts","sourceRoot":"","sources":["../../../../components/core/src/ScopedStylesController.js"],"names":[],"mappings":"AAEA;;;;GAIG;AACH;IAGE;;;OAGG;IAEH,2BAJW,OAAO,KAAK,EAAE,SAAS,GACtB,OAAO,KAAK,EAAE,cAAc,CAKvC;IAED;;OAEG;IACH,kBAFW,sBAAsB,GAAG,OAAO,KAAK,EAAE,UAAU,EAO3D;IAJE,sEAAgB;IAEjB,6BAAiD;IACjD,oBAAgF;IAGlF,sBAMC;IAED,wBAWC;;CACF;qCA9CY,OAAO,KAAK,EAAE,sBAAsB;iCACpC,OAAO,KAAK,EAAE,kBAAkB"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Helper to get a fixture with a cached render function and show/hide methods.
|
|
3
|
+
* @template T
|
|
4
|
+
* @param {(ref: import('lit/directives/ref.js').Ref<T>) => import('lit').TemplateResult} render - The render function
|
|
5
|
+
* @returns {Promise<{ wrapper: LitElement, el: T | undefined, show: () => Promise<void>, hide: () => Promise<void> }>}
|
|
6
|
+
*/
|
|
7
|
+
export function getCachedFixture<T>(render: (ref: import('lit/directives/ref.js').Ref<any>) => import('lit').TemplateResult): Promise<{
|
|
8
|
+
wrapper: LitElement;
|
|
9
|
+
el: T | undefined;
|
|
10
|
+
show: () => Promise<void>;
|
|
11
|
+
hide: () => Promise<void>;
|
|
12
|
+
}>;
|
|
13
|
+
import { LitElement } from "lit";
|
|
14
|
+
//# sourceMappingURL=getCachedFixture.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getCachedFixture.d.ts","sourceRoot":"","sources":["../../../../components/core/test-helpers/getCachedFixture.js"],"names":[],"mappings":"AAKA;;;;;GAKG;AACH,kDACmB,OAAO,uBAAuB,EAAE,GAAG,CAAC,GAAG,CAAC,KAAK,OAAO,KAAK,EAAE,cAAc;aAH5D,UAAU;;UAA2B,MAAM,QAAQ,IAAI,CAAC;UAAQ,MAAM,QAAQ,IAAI,CAAC;GA6ClH"}
|
package/dist-types/components/core/test-helpers/ssr-definitions/ScopedElementsHost.define.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScopedElementsHost.define.d.ts","sourceRoot":"","sources":["../../../../../components/core/test-helpers/ssr-definitions/ScopedElementsHost.define.js"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChoiceGroupMixin.d.ts","sourceRoot":"","sources":["../../../../../components/form-core/src/choice-group/ChoiceGroupMixin.js"],"names":[],"mappings":"+BAMa,OAAO,mDAAmD,EAAE,gBAAgB;
|
|
1
|
+
{"version":3,"file":"ChoiceGroupMixin.d.ts","sourceRoot":"","sources":["../../../../../components/form-core/src/choice-group/ChoiceGroupMixin.js"],"names":[],"mappings":"+BAMa,OAAO,mDAAmD,EAAE,gBAAgB;AA6ZzF,4HAA4E;8BA5Z/D,OAAO,sCAAsC,EAAE,eAAe;yCAC9D,OAAO,qDAAqD,EAAE,0BAA0B;0BACxF,OAAO,+CAA+C,EAAE,WAAW;8BACnE,OAAO,mDAAmD,EAAE,eAAe;wBAC3E,OAAO,0BAA0B,EAAE,SAAS"}
|
package/dist-types/components/form-core/test-suites/choice-group/ChoiceGroupMixin.suite.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChoiceGroupMixin.suite.d.ts","sourceRoot":"","sources":["../../../../../components/form-core/test-suites/choice-group/ChoiceGroupMixin.suite.js"],"names":[],"mappings":"AA4BA;;GAEG;AACH,2FAFW;IAAE,eAAe,CAAC,EAAC,MAAM,CAAC;IAAC,cAAc,CAAC,EAAE,MAAM,CAAC;IAAC,UAAU,CAAC,EAAE,MAAM,CAAA;CAAC,
|
|
1
|
+
{"version":3,"file":"ChoiceGroupMixin.suite.d.ts","sourceRoot":"","sources":["../../../../../components/form-core/test-suites/choice-group/ChoiceGroupMixin.suite.js"],"names":[],"mappings":"AA4BA;;GAEG;AACH,2FAFW;IAAE,eAAe,CAAC,EAAC,MAAM,CAAC;IAAC,cAAc,CAAC,EAAE,MAAM,CAAC;IAAC,UAAU,CAAC,EAAE,MAAM,CAAA;CAAC,QA8vBlF"}
|
|
@@ -5,15 +5,15 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @param {LionForm} formGroupEl
|
|
7
7
|
*/
|
|
8
|
-
export function getAllFormElements(formGroupEl: LionForm): any;
|
|
8
|
+
export function getAllFormElements(formGroupEl: LionForm): any[];
|
|
9
9
|
/**
|
|
10
10
|
* @param {LionForm} formGroupEl
|
|
11
11
|
*/
|
|
12
|
-
export function getAllTagNames(formGroupEl: LionForm): any;
|
|
12
|
+
export function getAllTagNames(formGroupEl: LionForm): any[];
|
|
13
13
|
/**
|
|
14
14
|
* @param {LionForm} formGroupEl
|
|
15
15
|
*/
|
|
16
|
-
export function getAllFieldsAndFormGroups(formGroupEl: LionForm): any;
|
|
16
|
+
export function getAllFieldsAndFormGroups(formGroupEl: LionForm): any[];
|
|
17
17
|
export type LionForm = import('../../../form/src/LionForm.js').LionForm;
|
|
18
18
|
export type LionField = import('../../../form-core/src/LionField.js').LionField;
|
|
19
19
|
//# sourceMappingURL=helpers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../components/form-integrations/test/helpers/helpers.js"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AACH,gDAFW,QAAQ,
|
|
1
|
+
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../components/form-integrations/test/helpers/helpers.js"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AACH,gDAFW,QAAQ,SAWlB;AAED;;GAEG;AACH,4CAFW,QAAQ,SAWlB;AAED;;GAEG;AACH,uDAFW,QAAQ,SAKlB;uBAtCY,OAAO,+BAA+B,EAAE,QAAQ;wBAChD,OAAO,qCAAqC,EAAE,SAAS"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parsers.d.ts","sourceRoot":"","sources":["../../../../components/input-amount/src/parsers.js"],"names":[],"mappings":"AAoBA;;;;;;;;;;;GAWG;AACH,mCAHW,MAAM,
|
|
1
|
+
{"version":3,"file":"parsers.d.ts","sourceRoot":"","sources":["../../../../components/input-amount/src/parsers.js"],"names":[],"mappings":"AAoBA;;;;;;;;;;;GAWG;AACH,mCAHW,MAAM,2HA2BhB;kCArDY,OAAO,4CAA4C,EAAE,mBAAmB"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export function localizeNamespaceLoader(locale: string): Promise<typeof import("../translations/
|
|
1
|
+
export function localizeNamespaceLoader(locale: string): Promise<typeof import("../translations/en-AU.js")>;
|
|
2
2
|
//# sourceMappingURL=localizeNamespaceLoader.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"localizeNamespaceLoader.d.ts","sourceRoot":"","sources":["../../../../components/input-file/src/localizeNamespaceLoader.js"],"names":[],"mappings":"AACO,gDAA4C,MAAM,
|
|
1
|
+
{"version":3,"file":"localizeNamespaceLoader.d.ts","sourceRoot":"","sources":["../../../../components/input-file/src/localizeNamespaceLoader.js"],"names":[],"mappings":"AACO,gDAA4C,MAAM,sDA6ExD"}
|
|
@@ -6,6 +6,11 @@ declare const _default: {
|
|
|
6
6
|
fileNameDescriptionLabel: string;
|
|
7
7
|
generalValidatorMessage: string;
|
|
8
8
|
noFilesSelected: string;
|
|
9
|
+
noFilesUploaded: string;
|
|
10
|
+
fileSelected: string;
|
|
11
|
+
fileUploaded: string;
|
|
12
|
+
filesSelected: string;
|
|
13
|
+
filesUploaded: string;
|
|
9
14
|
numberOfFiles: string;
|
|
10
15
|
removeButtonLabel: string;
|
|
11
16
|
selectTextDuplicateFileName: string;
|
|
@@ -6,6 +6,11 @@ declare namespace _default {
|
|
|
6
6
|
const fileNameDescriptionLabel: string;
|
|
7
7
|
const generalValidatorMessage: string;
|
|
8
8
|
const noFilesSelected: string;
|
|
9
|
+
const noFilesUploaded: string;
|
|
10
|
+
const fileSelected: string;
|
|
11
|
+
const fileUploaded: string;
|
|
12
|
+
const filesSelected: string;
|
|
13
|
+
const filesUploaded: string;
|
|
9
14
|
const numberOfFiles: string;
|
|
10
15
|
const removeButtonLabel: string;
|
|
11
16
|
const selectTextDuplicateFileName: string;
|
|
@@ -6,6 +6,11 @@ declare const _default: {
|
|
|
6
6
|
fileNameDescriptionLabel: string;
|
|
7
7
|
generalValidatorMessage: string;
|
|
8
8
|
noFilesSelected: string;
|
|
9
|
+
noFilesUploaded: string;
|
|
10
|
+
fileSelected: string;
|
|
11
|
+
fileUploaded: string;
|
|
12
|
+
filesSelected: string;
|
|
13
|
+
filesUploaded: string;
|
|
9
14
|
numberOfFiles: string;
|
|
10
15
|
removeButtonLabel: string;
|
|
11
16
|
selectTextDuplicateFileName: string;
|
|
@@ -6,6 +6,11 @@ declare namespace _default {
|
|
|
6
6
|
const fileNameDescriptionLabel: string;
|
|
7
7
|
const generalValidatorMessage: string;
|
|
8
8
|
const noFilesSelected: string;
|
|
9
|
+
const noFilesUploaded: string;
|
|
10
|
+
const fileSelected: string;
|
|
11
|
+
const fileUploaded: string;
|
|
12
|
+
const filesSelected: string;
|
|
13
|
+
const filesUploaded: string;
|
|
9
14
|
const numberOfFiles: string;
|
|
10
15
|
const removeButtonLabel: string;
|
|
11
16
|
const selectTextDuplicateFileName: string;
|
|
@@ -6,6 +6,11 @@ declare const _default: {
|
|
|
6
6
|
fileNameDescriptionLabel: string;
|
|
7
7
|
generalValidatorMessage: string;
|
|
8
8
|
noFilesSelected: string;
|
|
9
|
+
noFilesUploaded: string;
|
|
10
|
+
fileSelected: string;
|
|
11
|
+
fileUploaded: string;
|
|
12
|
+
filesSelected: string;
|
|
13
|
+
filesUploaded: string;
|
|
9
14
|
numberOfFiles: string;
|
|
10
15
|
removeButtonLabel: string;
|
|
11
16
|
selectTextDuplicateFileName: string;
|