@lion/ui 0.15.1 → 0.15.3
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 +44 -9
- package/components/dialog/test/lion-dialog.integration.test.js +170 -0
- package/components/form-core/src/validate/LionValidationFeedback.js +2 -2
- package/components/form-core/src/validate/ValidateMixin.js +3 -3
- package/components/form-core/test/validate/lion-validation-feedback.test.js +2 -2
- package/components/form-core/test-suites/ValidateMixin.suite.js +23 -11
- package/components/form-core/translations/bg.js +4 -4
- package/components/form-core/translations/cs.js +4 -4
- package/components/form-core/translations/de.js +4 -4
- package/components/form-core/translations/en.js +4 -4
- package/components/form-core/translations/es.js +4 -4
- package/components/form-core/translations/fr.js +4 -4
- package/components/form-core/translations/hu.js +4 -4
- package/components/form-core/translations/it.js +4 -4
- package/components/form-core/translations/nl.js +4 -4
- package/components/form-core/translations/pl.js +4 -4
- package/components/form-core/translations/ro.js +4 -4
- package/components/form-core/translations/ru.js +4 -4
- package/components/form-core/translations/sk.js +4 -4
- package/components/form-core/translations/uk.js +4 -4
- package/components/form-core/translations/zh.js +4 -4
- package/components/input-amount-dropdown/src/localizeNamespaceLoader.js +53 -0
- package/components/input-amount-dropdown/translations/bg.js +5 -0
- package/components/input-amount-dropdown/translations/cs.js +5 -0
- package/components/input-amount-dropdown/translations/de.js +5 -0
- package/components/input-amount-dropdown/translations/es.js +5 -0
- package/components/input-amount-dropdown/translations/fr.js +5 -0
- package/components/input-amount-dropdown/translations/hu.js +5 -0
- package/components/input-amount-dropdown/translations/id.js +5 -0
- package/components/input-amount-dropdown/translations/it.js +5 -0
- package/components/input-amount-dropdown/translations/nl.js +5 -0
- package/components/input-amount-dropdown/translations/pl.js +5 -0
- package/components/input-amount-dropdown/translations/ro.js +5 -0
- package/components/input-amount-dropdown/translations/ru.js +5 -0
- package/components/input-amount-dropdown/translations/sk.js +5 -0
- package/components/input-amount-dropdown/translations/uk.js +5 -0
- package/components/input-amount-dropdown/translations/zh.js +5 -0
- package/components/input-stepper/src/LionInputStepper.js +48 -52
- package/components/input-stepper/test/lion-input-stepper.test.js +253 -41
- package/components/overlays/src/OverlayController.js +34 -7
- package/components/overlays/test/OverlayMixin.test.js +2 -2
- package/components/overlays/test-suites/OverlayMixin.suite.js +57 -0
- package/components/pagination/src/LionPagination.js +2 -1
- package/components/pagination/test/lion-pagination.test.js +41 -0
- package/components/validate-messages/translations/it.js +2 -2
- package/custom-elements.json +158 -170
- package/dist-types/components/dialog/test/lion-dialog.integration.test.d.ts +3 -0
- package/dist-types/components/dialog/test/lion-dialog.integration.test.d.ts.map +1 -0
- package/dist-types/components/form-core/test-suites/ValidateMixin.suite.d.ts.map +1 -1
- package/dist-types/components/input-amount-dropdown/src/localizeNamespaceLoader.d.ts +1 -1
- package/dist-types/components/input-amount-dropdown/src/localizeNamespaceLoader.d.ts.map +1 -1
- package/dist-types/components/input-amount-dropdown/translations/bg.d.ts +7 -0
- package/dist-types/components/input-amount-dropdown/translations/bg.d.ts.map +1 -0
- package/dist-types/components/input-amount-dropdown/translations/cs.d.ts +7 -0
- package/dist-types/components/input-amount-dropdown/translations/cs.d.ts.map +1 -0
- package/dist-types/components/input-amount-dropdown/translations/de.d.ts +7 -0
- package/dist-types/components/input-amount-dropdown/translations/de.d.ts.map +1 -0
- package/dist-types/components/input-amount-dropdown/translations/es.d.ts +7 -0
- package/dist-types/components/input-amount-dropdown/translations/es.d.ts.map +1 -0
- package/dist-types/components/input-amount-dropdown/translations/fr.d.ts +7 -0
- package/dist-types/components/input-amount-dropdown/translations/fr.d.ts.map +1 -0
- package/dist-types/components/input-amount-dropdown/translations/hu.d.ts +7 -0
- package/dist-types/components/input-amount-dropdown/translations/hu.d.ts.map +1 -0
- package/dist-types/components/input-amount-dropdown/translations/id.d.ts +7 -0
- package/dist-types/components/input-amount-dropdown/translations/id.d.ts.map +1 -0
- package/dist-types/components/input-amount-dropdown/translations/it.d.ts +7 -0
- package/dist-types/components/input-amount-dropdown/translations/it.d.ts.map +1 -0
- package/dist-types/components/input-amount-dropdown/translations/nl.d.ts +7 -0
- package/dist-types/components/input-amount-dropdown/translations/nl.d.ts.map +1 -0
- package/dist-types/components/input-amount-dropdown/translations/pl.d.ts +7 -0
- package/dist-types/components/input-amount-dropdown/translations/pl.d.ts.map +1 -0
- package/dist-types/components/input-amount-dropdown/translations/ro.d.ts +7 -0
- package/dist-types/components/input-amount-dropdown/translations/ro.d.ts.map +1 -0
- package/dist-types/components/input-amount-dropdown/translations/ru.d.ts +7 -0
- package/dist-types/components/input-amount-dropdown/translations/ru.d.ts.map +1 -0
- package/dist-types/components/input-amount-dropdown/translations/sk.d.ts +7 -0
- package/dist-types/components/input-amount-dropdown/translations/sk.d.ts.map +1 -0
- package/dist-types/components/input-amount-dropdown/translations/uk.d.ts +7 -0
- package/dist-types/components/input-amount-dropdown/translations/uk.d.ts.map +1 -0
- package/dist-types/components/input-amount-dropdown/translations/zh.d.ts +7 -0
- package/dist-types/components/input-amount-dropdown/translations/zh.d.ts.map +1 -0
- package/dist-types/components/input-stepper/src/LionInputStepper.d.ts +4 -20
- package/dist-types/components/input-stepper/src/LionInputStepper.d.ts.map +1 -1
- package/dist-types/components/input-stepper/test/lion-input-stepper.test.d.ts.map +1 -1
- package/dist-types/components/overlays/src/OverlayController.d.ts +13 -4
- package/dist-types/components/overlays/src/OverlayController.d.ts.map +1 -1
- package/dist-types/components/overlays/test-suites/OverlayMixin.suite.d.ts.map +1 -1
- package/dist-types/components/pagination/src/LionPagination.d.ts.map +1 -1
- package/dist-types/tsconfig.tsbuildinfo +1 -1
- package/docs/components/checkbox-group/overview.md +2 -2
- package/docs/components/checkbox-group/use-cases.md +3 -9
- 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/dialog/use-cases.md +2 -2
- 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/api-table.md +2 -3
- 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/radio-group/use-cases.md +3 -9
- package/docs/components/select/overview.md +1 -1
- package/docs/components/select/use-cases.md +6 -6
- package/docs/components/select-rich/use-cases.md +2 -2
- 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/accessibility.md +1 -1
- package/docs/fundamentals/systems/core/SlotMixin.md +1 -1
- 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 +2 -2
- package/docs/fundamentals/systems/localize/overview.md +4 -4
- 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/package.json +1 -1
|
@@ -111,6 +111,63 @@ export function runOverlayMixinSuite({ tagString, tag, suffix = '' }) {
|
|
|
111
111
|
expect(el.opened).to.be.false;
|
|
112
112
|
});
|
|
113
113
|
|
|
114
|
+
/**
|
|
115
|
+
* In case OverlayMixin has a handler for Escape which sets `opened` to `false`,
|
|
116
|
+
* make sure it does not conflict with the Escape handler in OverlayController.
|
|
117
|
+
* */
|
|
118
|
+
it('syncs opened between overlayController and OverlayMixin on Escape', async () => {
|
|
119
|
+
const config = { hidesOnEsc: true };
|
|
120
|
+
const el = /** @type {OverlayEl} */ (
|
|
121
|
+
await fixture(html`
|
|
122
|
+
<${tag} id="main-dialog" .config="${config}">
|
|
123
|
+
<div slot="content" id="mainContent">
|
|
124
|
+
open nested overlay:
|
|
125
|
+
<${tag} id="sub-dialog" .config="${config}">
|
|
126
|
+
<div slot="content" id="nestedContent">
|
|
127
|
+
<input id="nestedContentInput">
|
|
128
|
+
</div>
|
|
129
|
+
<button slot="invoker" id="nestedInvoker">nested invoker button</button>
|
|
130
|
+
</${tag}>
|
|
131
|
+
</div>
|
|
132
|
+
<button slot="invoker" id="mainInvoker">invoker button</button>
|
|
133
|
+
</${tag}>
|
|
134
|
+
`)
|
|
135
|
+
);
|
|
136
|
+
await el.updateComplete;
|
|
137
|
+
const subDialog = /** @type {OverlayEl} */ (el.querySelector('#sub-dialog'));
|
|
138
|
+
const nestedContentInput = /** @type {OverlayEl} */ (el.querySelector('#nestedContentInput'));
|
|
139
|
+
|
|
140
|
+
// Note, OverlayController has Escape key listener added to "#nestedContent".
|
|
141
|
+
// And the sub-dialog adds the Escape key listener to "#nestedContentInput" which is a child evelement of "#nestedContent"
|
|
142
|
+
// In this case when "#nestedContentInput" is focused and Escape is pressed, the listener of "#nestedContentInput"
|
|
143
|
+
// is always called before the listener set for "#nestedContent" inside OverlayController.
|
|
144
|
+
// This way we check the scenario when OverlayController's `hide()` is called first from
|
|
145
|
+
// The OverlayMixin and it does not prevent OverlayController `hidesOnEsc` handler from being called
|
|
146
|
+
nestedContentInput?.addEventListener('keyup', (/** @type {* & KeyboardEvent} */ event) => {
|
|
147
|
+
if (event.key === 'Escape') {
|
|
148
|
+
subDialog.opened = false;
|
|
149
|
+
}
|
|
150
|
+
});
|
|
151
|
+
|
|
152
|
+
el.opened = true;
|
|
153
|
+
await el.updateComplete;
|
|
154
|
+
await el._overlayCtrl._showComplete;
|
|
155
|
+
expect(el.opened).to.be.true;
|
|
156
|
+
expect(el._overlayCtrl.isShown).to.be.true;
|
|
157
|
+
|
|
158
|
+
subDialog.opened = true;
|
|
159
|
+
await subDialog.updateComplete;
|
|
160
|
+
await subDialog._overlayCtrl._showComplete;
|
|
161
|
+
expect(subDialog.opened).to.be.true;
|
|
162
|
+
expect(subDialog._overlayCtrl.isShown).to.be.true;
|
|
163
|
+
|
|
164
|
+
await mimicEscapePress(nestedContentInput);
|
|
165
|
+
expect(subDialog.opened).to.be.false;
|
|
166
|
+
expect(subDialog._overlayCtrl.isShown).to.be.false;
|
|
167
|
+
expect(el.opened).to.be.true;
|
|
168
|
+
expect(el._overlayCtrl.isShown).to.be.true;
|
|
169
|
+
});
|
|
170
|
+
|
|
114
171
|
// TODO: put this tests in OverlayController.test.js instead?
|
|
115
172
|
it('does not change the body size when opened', async () => {
|
|
116
173
|
const parentNode = document.createElement('div');
|
|
@@ -196,7 +196,8 @@ export class LionPagination extends LocalizeMixin(LitElement) {
|
|
|
196
196
|
const finish = this.count;
|
|
197
197
|
// If there are more pages then we want to display we have to redo the list each time
|
|
198
198
|
// Else we can just return the same list every time.
|
|
199
|
-
|
|
199
|
+
// Allow up to 2 extra pages without ellipsis (e.g., count=6 or count=7 when visiblePages=5)
|
|
200
|
+
if (this.count > this.__visiblePages + 2) {
|
|
200
201
|
// Calculate left side of current page and right side
|
|
201
202
|
const pos3 = this.current - 1;
|
|
202
203
|
const pos4 = this.current;
|
|
@@ -164,4 +164,45 @@ describe('Pagination', () => {
|
|
|
164
164
|
expect(buttons[3].getAttribute('aria-current')).to.equal('false');
|
|
165
165
|
});
|
|
166
166
|
});
|
|
167
|
+
|
|
168
|
+
describe('Ellipsis display', () => {
|
|
169
|
+
it('should not show ellipsis when count is visiblePages + 1 (count=6, visiblePages=5)', async () => {
|
|
170
|
+
const el = await fixture(html` <lion-pagination count="6" current="1"></lion-pagination> `);
|
|
171
|
+
const navItems = Array.from(/** @type {ShadowRoot} */ (el.shadowRoot).querySelectorAll('li'));
|
|
172
|
+
// Check that no ellipsis is rendered (no <span> elements with '...')
|
|
173
|
+
const spans = Array.from(
|
|
174
|
+
/** @type {ShadowRoot} */ (el.shadowRoot).querySelectorAll('li span'),
|
|
175
|
+
);
|
|
176
|
+
expect(spans.length).to.equal(0);
|
|
177
|
+
|
|
178
|
+
// There should be 8 nav items: previous button + 6 page buttons + next button
|
|
179
|
+
expect(navItems.length).to.equal(8);
|
|
180
|
+
});
|
|
181
|
+
|
|
182
|
+
it('should not show ellipsis when count is visiblePages + 2 (count=7, visiblePages=5)', async () => {
|
|
183
|
+
const el = await fixture(html` <lion-pagination count="7" current="1"></lion-pagination> `);
|
|
184
|
+
// Check that no ellipsis is rendered (no <span> elements with '...')
|
|
185
|
+
const spans = Array.from(
|
|
186
|
+
/** @type {ShadowRoot} */ (el.shadowRoot).querySelectorAll('li span'),
|
|
187
|
+
);
|
|
188
|
+
expect(spans.length).to.equal(0);
|
|
189
|
+
|
|
190
|
+
// There should be 9 nav items: previous button + 7 page buttons + next button
|
|
191
|
+
const navItems = Array.from(/** @type {ShadowRoot} */ (el.shadowRoot).querySelectorAll('li'));
|
|
192
|
+
expect(navItems.length).to.equal(9);
|
|
193
|
+
});
|
|
194
|
+
|
|
195
|
+
it('should show ellipsis when count is visiblePages + 3 (count=8, visiblePages=5)', async () => {
|
|
196
|
+
const el = await fixture(html` <lion-pagination count="8" current="1"></lion-pagination> `);
|
|
197
|
+
// Check that ellipsis is rendered (should have <span> elements with '...')
|
|
198
|
+
const spans = Array.from(
|
|
199
|
+
/** @type {ShadowRoot} */ (el.shadowRoot).querySelectorAll('li span'),
|
|
200
|
+
);
|
|
201
|
+
expect(spans.length).to.be.greaterThan(0);
|
|
202
|
+
|
|
203
|
+
// Verify the ellipsis contains '...'
|
|
204
|
+
const ellipsisText = Array.from(spans).map(span => span.textContent);
|
|
205
|
+
expect(ellipsisText).to.include('...');
|
|
206
|
+
});
|
|
207
|
+
});
|
|
167
208
|
});
|
|
@@ -18,7 +18,7 @@ export default {
|
|
|
18
18
|
MaxDate: 'Inserire un(a) {fieldName} prima di {params, date, YYYYMMDD}.',
|
|
19
19
|
MinMaxDate:
|
|
20
20
|
'Inserire un(a) {fieldName} tra {params.min, date, YYYYMMDD} e {params.max, date, YYYYMMDD}.',
|
|
21
|
-
IsDateDisabled: "
|
|
21
|
+
IsDateDisabled: "Questa data non è disponibile, sceglierne un'altra.",
|
|
22
22
|
IsEmail: 'Inserire un valore valido per {fieldName} nel formato "name@example.com".',
|
|
23
23
|
MatchesOption:
|
|
24
24
|
'Nessun risultato corrispondente. Provare con una parola chiave o una categoria diversa.',
|
|
@@ -41,7 +41,7 @@ export default {
|
|
|
41
41
|
MaxDate: 'Inserire un(a) {fieldName} prima di {params, date, YYYYMMDD}.',
|
|
42
42
|
MinMaxDate:
|
|
43
43
|
'Inserire un(a) {fieldName} tra {params.min, date, YYYYMMDD} e {params.max, date, YYYYMMDD}.',
|
|
44
|
-
IsDateDisabled: "
|
|
44
|
+
IsDateDisabled: "Questa data non è disponibile, sceglierne un'altra.",
|
|
45
45
|
IsEmail: 'Inserire un valore valido per {fieldName} nel formato "name@example.com".',
|
|
46
46
|
MatchesOption:
|
|
47
47
|
'Nessun risultato corrispondente. Provare con una parola chiave o una categoria diversa.',
|
package/custom-elements.json
CHANGED
|
@@ -100522,6 +100522,11 @@
|
|
|
100522
100522
|
},
|
|
100523
100523
|
"privacy": "protected"
|
|
100524
100524
|
},
|
|
100525
|
+
{
|
|
100526
|
+
"kind": "method",
|
|
100527
|
+
"name": "_destroyOutputContent",
|
|
100528
|
+
"privacy": "protected"
|
|
100529
|
+
},
|
|
100525
100530
|
{
|
|
100526
100531
|
"kind": "method",
|
|
100527
100532
|
"name": "_dispatchInitialModelValueChangedEvent",
|
|
@@ -101055,19 +101060,6 @@
|
|
|
101055
101060
|
"module": "components/form-core/src/LionField.js"
|
|
101056
101061
|
}
|
|
101057
101062
|
},
|
|
101058
|
-
{
|
|
101059
|
-
"kind": "method",
|
|
101060
|
-
"name": "_onEnterButton",
|
|
101061
|
-
"parameters": [
|
|
101062
|
-
{
|
|
101063
|
-
"name": "ev",
|
|
101064
|
-
"type": {
|
|
101065
|
-
"text": "Event"
|
|
101066
|
-
}
|
|
101067
|
-
}
|
|
101068
|
-
],
|
|
101069
|
-
"privacy": "protected"
|
|
101070
|
-
},
|
|
101071
101063
|
{
|
|
101072
101064
|
"kind": "method",
|
|
101073
101065
|
"name": "_onLabelClick",
|
|
@@ -101077,20 +101069,6 @@
|
|
|
101077
101069
|
"module": "components/form-core/src/LionField.js"
|
|
101078
101070
|
}
|
|
101079
101071
|
},
|
|
101080
|
-
{
|
|
101081
|
-
"kind": "method",
|
|
101082
|
-
"name": "_onLeaveButton",
|
|
101083
|
-
"parameters": [
|
|
101084
|
-
{
|
|
101085
|
-
"name": "ev",
|
|
101086
|
-
"type": {
|
|
101087
|
-
"text": "Event"
|
|
101088
|
-
}
|
|
101089
|
-
}
|
|
101090
|
-
],
|
|
101091
|
-
"description": "Redispatch leave event on host when catching leave event\non the incrementor and decrementor button.\n\nThis redispatched leave event will be caught by\nInteractionStateMixin to set \"touched\" state to true.\n\nInteracting with the buttons is \"user interactions\"\nthe same way as focusing + blurring the field (native input)",
|
|
101092
|
-
"privacy": "protected"
|
|
101093
|
-
},
|
|
101094
101072
|
{
|
|
101095
101073
|
"kind": "method",
|
|
101096
101074
|
"name": "_onModelValueChanged",
|
|
@@ -102120,148 +102098,6 @@
|
|
|
102120
102098
|
}
|
|
102121
102099
|
}
|
|
102122
102100
|
],
|
|
102123
|
-
"events": [
|
|
102124
|
-
{
|
|
102125
|
-
"type": {
|
|
102126
|
-
"text": "Event"
|
|
102127
|
-
},
|
|
102128
|
-
"inheritedFrom": {
|
|
102129
|
-
"name": "LionField",
|
|
102130
|
-
"module": "components/form-core/src/LionField.js"
|
|
102131
|
-
}
|
|
102132
|
-
},
|
|
102133
|
-
{
|
|
102134
|
-
"name": "model-value-changed",
|
|
102135
|
-
"type": {
|
|
102136
|
-
"text": "CustomEvent"
|
|
102137
|
-
},
|
|
102138
|
-
"inheritedFrom": {
|
|
102139
|
-
"name": "LionField",
|
|
102140
|
-
"module": "components/form-core/src/LionField.js"
|
|
102141
|
-
}
|
|
102142
|
-
},
|
|
102143
|
-
{
|
|
102144
|
-
"name": "user-input-changed",
|
|
102145
|
-
"type": {
|
|
102146
|
-
"text": "Event"
|
|
102147
|
-
},
|
|
102148
|
-
"inheritedFrom": {
|
|
102149
|
-
"name": "LionField",
|
|
102150
|
-
"module": "components/form-core/src/LionField.js"
|
|
102151
|
-
}
|
|
102152
|
-
},
|
|
102153
|
-
{
|
|
102154
|
-
"name": "focus",
|
|
102155
|
-
"type": {
|
|
102156
|
-
"text": "Event"
|
|
102157
|
-
},
|
|
102158
|
-
"inheritedFrom": {
|
|
102159
|
-
"name": "LionField",
|
|
102160
|
-
"module": "components/form-core/src/LionField.js"
|
|
102161
|
-
}
|
|
102162
|
-
},
|
|
102163
|
-
{
|
|
102164
|
-
"name": "blur",
|
|
102165
|
-
"type": {
|
|
102166
|
-
"text": "Event"
|
|
102167
|
-
},
|
|
102168
|
-
"inheritedFrom": {
|
|
102169
|
-
"name": "LionField",
|
|
102170
|
-
"module": "components/form-core/src/LionField.js"
|
|
102171
|
-
}
|
|
102172
|
-
},
|
|
102173
|
-
{
|
|
102174
|
-
"name": "focusin",
|
|
102175
|
-
"type": {
|
|
102176
|
-
"text": "Event"
|
|
102177
|
-
},
|
|
102178
|
-
"inheritedFrom": {
|
|
102179
|
-
"name": "LionField",
|
|
102180
|
-
"module": "components/form-core/src/LionField.js"
|
|
102181
|
-
}
|
|
102182
|
-
},
|
|
102183
|
-
{
|
|
102184
|
-
"name": "focusout",
|
|
102185
|
-
"type": {
|
|
102186
|
-
"text": "Event"
|
|
102187
|
-
},
|
|
102188
|
-
"inheritedFrom": {
|
|
102189
|
-
"name": "LionField",
|
|
102190
|
-
"module": "components/form-core/src/LionField.js"
|
|
102191
|
-
}
|
|
102192
|
-
},
|
|
102193
|
-
{
|
|
102194
|
-
"name": "form-element-name-changed",
|
|
102195
|
-
"type": {
|
|
102196
|
-
"text": "CustomEvent"
|
|
102197
|
-
},
|
|
102198
|
-
"inheritedFrom": {
|
|
102199
|
-
"name": "LionField",
|
|
102200
|
-
"module": "components/form-core/src/LionField.js"
|
|
102201
|
-
}
|
|
102202
|
-
},
|
|
102203
|
-
{
|
|
102204
|
-
"name": "form-element-register",
|
|
102205
|
-
"type": {
|
|
102206
|
-
"text": "CustomEvent"
|
|
102207
|
-
},
|
|
102208
|
-
"inheritedFrom": {
|
|
102209
|
-
"name": "LionField",
|
|
102210
|
-
"module": "components/form-core/src/LionField.js"
|
|
102211
|
-
}
|
|
102212
|
-
},
|
|
102213
|
-
{
|
|
102214
|
-
"name": "touched-changed",
|
|
102215
|
-
"type": {
|
|
102216
|
-
"text": "Event"
|
|
102217
|
-
},
|
|
102218
|
-
"inheritedFrom": {
|
|
102219
|
-
"name": "LionField",
|
|
102220
|
-
"module": "components/form-core/src/LionField.js"
|
|
102221
|
-
}
|
|
102222
|
-
},
|
|
102223
|
-
{
|
|
102224
|
-
"name": "dirty-changed",
|
|
102225
|
-
"type": {
|
|
102226
|
-
"text": "Event"
|
|
102227
|
-
},
|
|
102228
|
-
"inheritedFrom": {
|
|
102229
|
-
"name": "LionField",
|
|
102230
|
-
"module": "components/form-core/src/LionField.js"
|
|
102231
|
-
}
|
|
102232
|
-
},
|
|
102233
|
-
{
|
|
102234
|
-
"name": "showsFeedbackForChanged",
|
|
102235
|
-
"type": {
|
|
102236
|
-
"text": "Event"
|
|
102237
|
-
},
|
|
102238
|
-
"inheritedFrom": {
|
|
102239
|
-
"name": "LionField",
|
|
102240
|
-
"module": "components/form-core/src/LionField.js"
|
|
102241
|
-
}
|
|
102242
|
-
},
|
|
102243
|
-
{
|
|
102244
|
-
"name": "shouldShowFeedbackForChanged",
|
|
102245
|
-
"type": {
|
|
102246
|
-
"text": "Event"
|
|
102247
|
-
},
|
|
102248
|
-
"inheritedFrom": {
|
|
102249
|
-
"name": "LionField",
|
|
102250
|
-
"module": "components/form-core/src/LionField.js"
|
|
102251
|
-
}
|
|
102252
|
-
},
|
|
102253
|
-
{
|
|
102254
|
-
"name": "validate-performed",
|
|
102255
|
-
"type": {
|
|
102256
|
-
"text": "Event"
|
|
102257
|
-
},
|
|
102258
|
-
"description": "private event that should be listened to by LionFieldSet",
|
|
102259
|
-
"inheritedFrom": {
|
|
102260
|
-
"name": "LionField",
|
|
102261
|
-
"module": "components/form-core/src/LionField.js"
|
|
102262
|
-
}
|
|
102263
|
-
}
|
|
102264
|
-
],
|
|
102265
102101
|
"attributes": [
|
|
102266
102102
|
{
|
|
102267
102103
|
"name": "min",
|
|
@@ -102560,7 +102396,149 @@
|
|
|
102560
102396
|
"package": "@lion/ui/input.js"
|
|
102561
102397
|
},
|
|
102562
102398
|
"tagName": "lion-input-stepper",
|
|
102563
|
-
"customElement": true
|
|
102399
|
+
"customElement": true,
|
|
102400
|
+
"events": [
|
|
102401
|
+
{
|
|
102402
|
+
"name": "model-value-changed",
|
|
102403
|
+
"type": {
|
|
102404
|
+
"text": "CustomEvent"
|
|
102405
|
+
},
|
|
102406
|
+
"inheritedFrom": {
|
|
102407
|
+
"name": "LionField",
|
|
102408
|
+
"module": "components/form-core/src/LionField.js"
|
|
102409
|
+
}
|
|
102410
|
+
},
|
|
102411
|
+
{
|
|
102412
|
+
"name": "user-input-changed",
|
|
102413
|
+
"type": {
|
|
102414
|
+
"text": "Event"
|
|
102415
|
+
},
|
|
102416
|
+
"inheritedFrom": {
|
|
102417
|
+
"name": "LionField",
|
|
102418
|
+
"module": "components/form-core/src/LionField.js"
|
|
102419
|
+
}
|
|
102420
|
+
},
|
|
102421
|
+
{
|
|
102422
|
+
"name": "focus",
|
|
102423
|
+
"type": {
|
|
102424
|
+
"text": "Event"
|
|
102425
|
+
},
|
|
102426
|
+
"inheritedFrom": {
|
|
102427
|
+
"name": "LionField",
|
|
102428
|
+
"module": "components/form-core/src/LionField.js"
|
|
102429
|
+
}
|
|
102430
|
+
},
|
|
102431
|
+
{
|
|
102432
|
+
"name": "blur",
|
|
102433
|
+
"type": {
|
|
102434
|
+
"text": "Event"
|
|
102435
|
+
},
|
|
102436
|
+
"inheritedFrom": {
|
|
102437
|
+
"name": "LionField",
|
|
102438
|
+
"module": "components/form-core/src/LionField.js"
|
|
102439
|
+
}
|
|
102440
|
+
},
|
|
102441
|
+
{
|
|
102442
|
+
"name": "focusin",
|
|
102443
|
+
"type": {
|
|
102444
|
+
"text": "Event"
|
|
102445
|
+
},
|
|
102446
|
+
"inheritedFrom": {
|
|
102447
|
+
"name": "LionField",
|
|
102448
|
+
"module": "components/form-core/src/LionField.js"
|
|
102449
|
+
}
|
|
102450
|
+
},
|
|
102451
|
+
{
|
|
102452
|
+
"name": "focusout",
|
|
102453
|
+
"type": {
|
|
102454
|
+
"text": "Event"
|
|
102455
|
+
},
|
|
102456
|
+
"inheritedFrom": {
|
|
102457
|
+
"name": "LionField",
|
|
102458
|
+
"module": "components/form-core/src/LionField.js"
|
|
102459
|
+
}
|
|
102460
|
+
},
|
|
102461
|
+
{
|
|
102462
|
+
"name": "form-element-name-changed",
|
|
102463
|
+
"type": {
|
|
102464
|
+
"text": "CustomEvent"
|
|
102465
|
+
},
|
|
102466
|
+
"inheritedFrom": {
|
|
102467
|
+
"name": "LionField",
|
|
102468
|
+
"module": "components/form-core/src/LionField.js"
|
|
102469
|
+
}
|
|
102470
|
+
},
|
|
102471
|
+
{
|
|
102472
|
+
"name": "form-element-register",
|
|
102473
|
+
"type": {
|
|
102474
|
+
"text": "CustomEvent"
|
|
102475
|
+
},
|
|
102476
|
+
"inheritedFrom": {
|
|
102477
|
+
"name": "LionField",
|
|
102478
|
+
"module": "components/form-core/src/LionField.js"
|
|
102479
|
+
}
|
|
102480
|
+
},
|
|
102481
|
+
{
|
|
102482
|
+
"name": "touched-changed",
|
|
102483
|
+
"type": {
|
|
102484
|
+
"text": "Event"
|
|
102485
|
+
},
|
|
102486
|
+
"inheritedFrom": {
|
|
102487
|
+
"name": "LionField",
|
|
102488
|
+
"module": "components/form-core/src/LionField.js"
|
|
102489
|
+
}
|
|
102490
|
+
},
|
|
102491
|
+
{
|
|
102492
|
+
"name": "dirty-changed",
|
|
102493
|
+
"type": {
|
|
102494
|
+
"text": "Event"
|
|
102495
|
+
},
|
|
102496
|
+
"inheritedFrom": {
|
|
102497
|
+
"name": "LionField",
|
|
102498
|
+
"module": "components/form-core/src/LionField.js"
|
|
102499
|
+
}
|
|
102500
|
+
},
|
|
102501
|
+
{
|
|
102502
|
+
"name": "showsFeedbackForChanged",
|
|
102503
|
+
"type": {
|
|
102504
|
+
"text": "Event"
|
|
102505
|
+
},
|
|
102506
|
+
"inheritedFrom": {
|
|
102507
|
+
"name": "LionField",
|
|
102508
|
+
"module": "components/form-core/src/LionField.js"
|
|
102509
|
+
}
|
|
102510
|
+
},
|
|
102511
|
+
{
|
|
102512
|
+
"type": {
|
|
102513
|
+
"text": "Event"
|
|
102514
|
+
},
|
|
102515
|
+
"inheritedFrom": {
|
|
102516
|
+
"name": "LionField",
|
|
102517
|
+
"module": "components/form-core/src/LionField.js"
|
|
102518
|
+
}
|
|
102519
|
+
},
|
|
102520
|
+
{
|
|
102521
|
+
"name": "shouldShowFeedbackForChanged",
|
|
102522
|
+
"type": {
|
|
102523
|
+
"text": "Event"
|
|
102524
|
+
},
|
|
102525
|
+
"inheritedFrom": {
|
|
102526
|
+
"name": "LionField",
|
|
102527
|
+
"module": "components/form-core/src/LionField.js"
|
|
102528
|
+
}
|
|
102529
|
+
},
|
|
102530
|
+
{
|
|
102531
|
+
"name": "validate-performed",
|
|
102532
|
+
"type": {
|
|
102533
|
+
"text": "Event"
|
|
102534
|
+
},
|
|
102535
|
+
"description": "private event that should be listened to by LionFieldSet",
|
|
102536
|
+
"inheritedFrom": {
|
|
102537
|
+
"name": "LionField",
|
|
102538
|
+
"module": "components/form-core/src/LionField.js"
|
|
102539
|
+
}
|
|
102540
|
+
}
|
|
102541
|
+
]
|
|
102564
102542
|
}
|
|
102565
102543
|
],
|
|
102566
102544
|
"exports": [
|
|
@@ -123690,6 +123668,16 @@
|
|
|
123690
123668
|
},
|
|
123691
123669
|
"privacy": "private"
|
|
123692
123670
|
},
|
|
123671
|
+
{
|
|
123672
|
+
"kind": "field",
|
|
123673
|
+
"name": "__escKeyHandlerCalled",
|
|
123674
|
+
"type": {
|
|
123675
|
+
"text": "boolean"
|
|
123676
|
+
},
|
|
123677
|
+
"description": "The property is used to skip `__escKeyHandler` handler for overlays that have been closed\nby `__escKeyHandlerCalled` previously.\n`__escKeyHandlerCalled` is set to `false` right before overlay show up\n`__escKeyHandlerCalled` is set to `true` when `__escKeyHandler` is called at least one time\nafter each 'show' phase",
|
|
123678
|
+
"privacy": "private",
|
|
123679
|
+
"default": "false"
|
|
123680
|
+
},
|
|
123693
123681
|
{
|
|
123694
123682
|
"kind": "field",
|
|
123695
123683
|
"name": "__eventListeners",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lion-dialog.integration.test.d.ts","sourceRoot":"","sources":["../../../../components/dialog/test/lion-dialog.integration.test.js"],"names":[],"mappings":"yBAea,OAAO,sBAAsB,EAAE,UAAU;6BACzC,OAAO,KAAK,EAAE,cAAc"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ValidateMixin.suite.d.ts","sourceRoot":"","sources":["../../../../components/form-core/test-suites/ValidateMixin.suite.js"],"names":[],"mappings":"AAwBA;;GAEG;AAEH;;GAEG;AACH;;;
|
|
1
|
+
{"version":3,"file":"ValidateMixin.suite.d.ts","sourceRoot":"","sources":["../../../../components/form-core/test-suites/ValidateMixin.suite.js"],"names":[],"mappings":"AAwBA;;GAEG;AAEH;;GAEG;AACH;;;qBA8jDC;wBApkDY,OAAO,uBAAuB,EAAE,SAAS"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export function localizeNamespaceLoader(locale: string): Promise<typeof import("../translations/
|
|
1
|
+
export function localizeNamespaceLoader(locale: string): Promise<typeof import("../translations/bg.js")>;
|
|
2
2
|
//# sourceMappingURL=localizeNamespaceLoader.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"localizeNamespaceLoader.d.ts","sourceRoot":"","sources":["../../../../components/input-amount-dropdown/src/localizeNamespaceLoader.js"],"names":[],"mappings":"AACO,gDAA4C,MAAM,
|
|
1
|
+
{"version":3,"file":"localizeNamespaceLoader.d.ts","sourceRoot":"","sources":["../../../../components/input-amount-dropdown/src/localizeNamespaceLoader.js"],"names":[],"mappings":"AACO,gDAA4C,MAAM,mDA0DxD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bg.d.ts","sourceRoot":"","sources":["../../../../components/input-amount-dropdown/translations/bg.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cs.d.ts","sourceRoot":"","sources":["../../../../components/input-amount-dropdown/translations/cs.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"de.d.ts","sourceRoot":"","sources":["../../../../components/input-amount-dropdown/translations/de.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"es.d.ts","sourceRoot":"","sources":["../../../../components/input-amount-dropdown/translations/es.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fr.d.ts","sourceRoot":"","sources":["../../../../components/input-amount-dropdown/translations/fr.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hu.d.ts","sourceRoot":"","sources":["../../../../components/input-amount-dropdown/translations/hu.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"id.d.ts","sourceRoot":"","sources":["../../../../components/input-amount-dropdown/translations/id.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"it.d.ts","sourceRoot":"","sources":["../../../../components/input-amount-dropdown/translations/it.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nl.d.ts","sourceRoot":"","sources":["../../../../components/input-amount-dropdown/translations/nl.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pl.d.ts","sourceRoot":"","sources":["../../../../components/input-amount-dropdown/translations/pl.js"],"names":[],"mappings":""}
|