@lukso/web-components 1.115.2 → 1.115.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/dist/{bundle-mjs-d58a83c6.cjs → cn-90c03edf.js} +35 -4
- package/dist/{bundle-mjs-fbc6e2a8.js → cn-b6daa995.cjs} +39 -2
- package/dist/components/index.cjs +9 -12
- package/dist/components/index.js +9 -12
- package/dist/components/lukso-button/index.cjs +28 -31
- package/dist/components/lukso-button/index.js +11 -14
- package/dist/components/lukso-card/index.cjs +39 -29
- package/dist/components/lukso-card/index.js +30 -20
- package/dist/components/lukso-checkbox/index.cjs +18 -18
- package/dist/components/lukso-checkbox/index.js +8 -8
- package/dist/components/lukso-color-picker/index.cjs +30 -33
- package/dist/components/lukso-color-picker/index.js +16 -19
- package/dist/components/lukso-dropdown/index.cjs +9 -12
- package/dist/components/lukso-dropdown/index.js +9 -12
- package/dist/components/lukso-dropdown-option/index.cjs +10 -11
- package/dist/components/lukso-dropdown-option/index.js +4 -5
- package/dist/components/lukso-footer/index.cjs +4 -4
- package/dist/components/lukso-footer/index.js +3 -3
- package/dist/components/lukso-icon/index.cjs +8 -8
- package/dist/components/lukso-icon/index.js +4 -4
- package/dist/components/lukso-image/index.cjs +11 -12
- package/dist/components/lukso-image/index.js +9 -10
- package/dist/components/lukso-input/index.cjs +46 -49
- package/dist/components/lukso-input/index.js +22 -25
- package/dist/components/lukso-modal/index.cjs +7 -8
- package/dist/components/lukso-modal/index.js +4 -5
- package/dist/components/lukso-navbar/index.cjs +22 -23
- package/dist/components/lukso-navbar/index.js +13 -14
- package/dist/components/lukso-pagination/index.cjs +13 -16
- package/dist/components/lukso-pagination/index.js +8 -11
- package/dist/components/lukso-profile/index.cjs +6 -7
- package/dist/components/lukso-profile/index.js +6 -7
- package/dist/components/lukso-progress/index.cjs +10 -13
- package/dist/components/lukso-progress/index.js +5 -8
- package/dist/components/lukso-sanitize/index.cjs +6 -6
- package/dist/components/lukso-sanitize/index.js +4 -4
- package/dist/components/lukso-search/index.cjs +41 -44
- package/dist/components/lukso-search/index.js +17 -20
- package/dist/components/lukso-select/index.cjs +38 -41
- package/dist/components/lukso-select/index.js +20 -23
- package/dist/components/lukso-share/index.cjs +5 -5
- package/dist/components/lukso-share/index.js +3 -3
- package/dist/components/lukso-switch/index.cjs +7 -7
- package/dist/components/lukso-switch/index.js +4 -4
- package/dist/components/lukso-tag/index.cjs +10 -11
- package/dist/components/lukso-tag/index.js +5 -6
- package/dist/components/lukso-terms/index.cjs +7 -7
- package/dist/components/lukso-terms/index.js +6 -6
- package/dist/components/lukso-test/index.cjs +12 -12
- package/dist/components/lukso-test/index.js +10 -10
- package/dist/components/lukso-textarea/index.cjs +35 -38
- package/dist/components/lukso-textarea/index.js +17 -20
- package/dist/components/lukso-tooltip/index.cjs +24 -25
- package/dist/components/lukso-tooltip/index.js +8 -9
- package/dist/components/lukso-username/index.cjs +18 -21
- package/dist/components/lukso-username/index.js +7 -10
- package/dist/components/lukso-wizard/index.cjs +9 -10
- package/dist/components/lukso-wizard/index.js +7 -8
- package/dist/index-2b104ecb.cjs +2547 -0
- package/dist/{index-ffb387db.js → index-30c74dfe.js} +4 -4
- package/dist/{index-0fbcd7f4.js → index-40811e43.js} +6 -6
- package/dist/index-86a3fdc1.js +37 -0
- package/dist/{index-1b37efea.cjs → index-9f282d35.cjs} +10 -10
- package/dist/index-d14b6a34.js +2545 -0
- package/dist/{index-73fbf718.cjs → index-dbfb7d50.cjs} +14 -14
- package/dist/index-dda1809d.cjs +46 -0
- package/dist/{index-adf2fc92.js → index-eb08047e.js} +2 -2
- package/dist/{index-0917a814.cjs → index-f564f46f.cjs} +2 -2
- package/dist/index.cjs +9 -12
- package/dist/index.js +9 -12
- package/dist/property-140ef335.js +16 -0
- package/dist/property-46482bf7.cjs +19 -0
- package/dist/shared/tailwind-element/index.cjs +1 -1
- package/dist/shared/tailwind-element/index.js +1 -1
- package/dist/state-876605e4.js +9 -0
- package/dist/state-94c1d585.cjs +11 -0
- package/dist/style-map-15dde65e.js +10 -0
- package/dist/style-map-552ab28f.cjs +12 -0
- package/package.json +2 -14
- package/tools/index.cjs +0 -4
- package/tools/index.d.ts +0 -1
- package/tools/index.d.ts.map +1 -1
- package/tools/index.js +0 -3
- package/dist/cn-01b2d42a.js +0 -37
- package/dist/cn-fc6d6aa9.cjs +0 -40
- package/dist/index-0590cf31.js +0 -37
- package/dist/index-1d3f4a5a.cjs +0 -9
- package/dist/index-6457c2f8.cjs +0 -44
- package/dist/index-ca8e900d.js +0 -7
- package/dist/query-assigned-elements-1c8c9e90.js +0 -28
- package/dist/query-assigned-elements-d5e45650.cjs +0 -32
- package/dist/state-b9ca4e74.js +0 -9
- package/dist/state-d9fb972b.cjs +0 -11
- package/dist/style-map-54c139bb.cjs +0 -12
- package/dist/style-map-7a555e98.js +0 -10
|
@@ -2,15 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const shared_tailwindElement_index = require('../../index-
|
|
6
|
-
const
|
|
7
|
-
const styleMap = require('../../style-map-
|
|
5
|
+
const shared_tailwindElement_index = require('../../index-dda1809d.cjs');
|
|
6
|
+
const property = require('../../property-46482bf7.cjs');
|
|
7
|
+
const styleMap = require('../../style-map-552ab28f.cjs');
|
|
8
8
|
require('../../tailwind-config.cjs');
|
|
9
|
-
require('
|
|
10
|
-
require('node:path');
|
|
11
|
-
const cn = require('../../cn-fc6d6aa9.cjs');
|
|
9
|
+
const cn = require('../../cn-b6daa995.cjs');
|
|
12
10
|
require('../../directive-8278ab14.cjs');
|
|
13
|
-
require('../../bundle-mjs-d58a83c6.cjs');
|
|
14
11
|
|
|
15
12
|
var __defProp = Object.defineProperty;
|
|
16
13
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -67,20 +64,20 @@ exports.LuksoProgress = class LuksoProgress extends shared_tailwindElement_index
|
|
|
67
64
|
}
|
|
68
65
|
};
|
|
69
66
|
__decorateClass([
|
|
70
|
-
|
|
67
|
+
property.n({ type: Number })
|
|
71
68
|
], exports.LuksoProgress.prototype, "min", 2);
|
|
72
69
|
__decorateClass([
|
|
73
|
-
|
|
70
|
+
property.n({ type: Number })
|
|
74
71
|
], exports.LuksoProgress.prototype, "max", 2);
|
|
75
72
|
__decorateClass([
|
|
76
|
-
|
|
73
|
+
property.n({ type: Number })
|
|
77
74
|
], exports.LuksoProgress.prototype, "current", 2);
|
|
78
75
|
__decorateClass([
|
|
79
|
-
|
|
76
|
+
property.n({ type: String })
|
|
80
77
|
], exports.LuksoProgress.prototype, "variant", 2);
|
|
81
78
|
__decorateClass([
|
|
82
|
-
|
|
79
|
+
property.n({ type: Number })
|
|
83
80
|
], exports.LuksoProgress.prototype, "height", 2);
|
|
84
81
|
exports.LuksoProgress = __decorateClass([
|
|
85
|
-
|
|
82
|
+
property.t("lukso-progress")
|
|
86
83
|
], exports.LuksoProgress);
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { a as TailwindElement, x } from '../../index-
|
|
2
|
-
import { n,
|
|
3
|
-
import { o } from '../../style-map-
|
|
1
|
+
import { a as TailwindElement, x } from '../../index-86a3fdc1.js';
|
|
2
|
+
import { n, t } from '../../property-140ef335.js';
|
|
3
|
+
import { o } from '../../style-map-15dde65e.js';
|
|
4
4
|
import '../../tailwind-config.js';
|
|
5
|
-
import '
|
|
6
|
-
import 'node:path';
|
|
7
|
-
import { c as cn } from '../../cn-01b2d42a.js';
|
|
5
|
+
import { c as cn } from '../../cn-90c03edf.js';
|
|
8
6
|
import '../../directive-2bb7789e.js';
|
|
9
|
-
import '../../bundle-mjs-fbc6e2a8.js';
|
|
10
7
|
|
|
11
8
|
var __defProp = Object.defineProperty;
|
|
12
9
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -78,7 +75,7 @@ __decorateClass([
|
|
|
78
75
|
n({ type: Number })
|
|
79
76
|
], LuksoProgress.prototype, "height", 2);
|
|
80
77
|
LuksoProgress = __decorateClass([
|
|
81
|
-
|
|
78
|
+
t("lukso-progress")
|
|
82
79
|
], LuksoProgress);
|
|
83
80
|
|
|
84
81
|
export { LuksoProgress };
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const shared_tailwindElement_index = require('../../index-
|
|
6
|
-
const
|
|
5
|
+
const shared_tailwindElement_index = require('../../index-dda1809d.cjs');
|
|
6
|
+
const property = require('../../property-46482bf7.cjs');
|
|
7
7
|
const directive = require('../../directive-8278ab14.cjs');
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* @license
|
|
11
11
|
* Copyright 2017 Google LLC
|
|
12
12
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
13
|
-
*/class e extends directive.i{constructor(i){if(super(i),this.
|
|
13
|
+
*/class e extends directive.i{constructor(i){if(super(i),this.it=shared_tailwindElement_index.E,i.type!==directive.t.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(r){if(r===shared_tailwindElement_index.E||null==r)return this._t=void 0,this.it=r;if(r===shared_tailwindElement_index.T)return r;if("string"!=typeof r)throw Error(this.constructor.directiveName+"() called with a non-string value");if(r===this.it)return this._t;this.it=r;const s=[r];return s.raw=s,this._t={_$litType$:this.constructor.resultType,strings:s,values:[]}}}e.directiveName="unsafeHTML",e.resultType=1;const o=directive.e(e);
|
|
14
14
|
|
|
15
15
|
/*! @license DOMPurify 3.0.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.0.6/LICENSE */
|
|
16
16
|
|
|
@@ -1712,11 +1712,11 @@ exports.LuksoSanitize = class LuksoSanitize extends shared_tailwindElement_index
|
|
|
1712
1712
|
}
|
|
1713
1713
|
};
|
|
1714
1714
|
__decorateClass([
|
|
1715
|
-
|
|
1715
|
+
property.n({ type: String, attribute: "html-content" })
|
|
1716
1716
|
], exports.LuksoSanitize.prototype, "htmlContent", 2);
|
|
1717
1717
|
__decorateClass([
|
|
1718
|
-
|
|
1718
|
+
property.n({ type: Boolean, attribute: "is-pre" })
|
|
1719
1719
|
], exports.LuksoSanitize.prototype, "isPre", 2);
|
|
1720
1720
|
exports.LuksoSanitize = __decorateClass([
|
|
1721
|
-
|
|
1721
|
+
property.t("lukso-sanitize")
|
|
1722
1722
|
], exports.LuksoSanitize);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n,
|
|
1
|
+
import { E, b as T, a as TailwindElement, x } from '../../index-86a3fdc1.js';
|
|
2
|
+
import { n, t as t$1 } from '../../property-140ef335.js';
|
|
3
3
|
import { i, t, e as e$1 } from '../../directive-2bb7789e.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* @license
|
|
7
7
|
* Copyright 2017 Google LLC
|
|
8
8
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
9
|
-
*/class e extends i{constructor(i){if(super(i),this.
|
|
9
|
+
*/class e extends i{constructor(i){if(super(i),this.it=E,i.type!==t.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(r){if(r===E||null==r)return this._t=void 0,this.it=r;if(r===T)return r;if("string"!=typeof r)throw Error(this.constructor.directiveName+"() called with a non-string value");if(r===this.it)return this._t;this.it=r;const s=[r];return s.raw=s,this._t={_$litType$:this.constructor.resultType,strings:s,values:[]}}}e.directiveName="unsafeHTML",e.resultType=1;const o=e$1(e);
|
|
10
10
|
|
|
11
11
|
/*! @license DOMPurify 3.0.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.0.6/LICENSE */
|
|
12
12
|
|
|
@@ -1714,7 +1714,7 @@ __decorateClass([
|
|
|
1714
1714
|
n({ type: Boolean, attribute: "is-pre" })
|
|
1715
1715
|
], LuksoSanitize.prototype, "isPre", 2);
|
|
1716
1716
|
LuksoSanitize = __decorateClass([
|
|
1717
|
-
|
|
1717
|
+
t$1("lukso-sanitize")
|
|
1718
1718
|
], LuksoSanitize);
|
|
1719
1719
|
|
|
1720
1720
|
export { LuksoSanitize };
|
|
@@ -2,25 +2,22 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const shared_tailwindElement_index = require('../../index-
|
|
6
|
-
const
|
|
7
|
-
const state = require('../../state-
|
|
8
|
-
const index = require('../../index-
|
|
5
|
+
const shared_tailwindElement_index = require('../../index-dda1809d.cjs');
|
|
6
|
+
const property = require('../../property-46482bf7.cjs');
|
|
7
|
+
const state = require('../../state-94c1d585.cjs');
|
|
8
|
+
const index = require('../../index-2b104ecb.cjs');
|
|
9
9
|
require('../lukso-icon/index.cjs');
|
|
10
|
-
require('../../index-
|
|
10
|
+
require('../../index-9f282d35.cjs');
|
|
11
11
|
require('../lukso-username/index.cjs');
|
|
12
12
|
require('../lukso-input/index.cjs');
|
|
13
|
-
require('../../index-
|
|
13
|
+
require('../../index-dbfb7d50.cjs');
|
|
14
14
|
require('../lukso-dropdown-option/index.cjs');
|
|
15
|
-
require('../../
|
|
16
|
-
require('../../style-map-54c139bb.cjs');
|
|
15
|
+
require('../../style-map-552ab28f.cjs');
|
|
17
16
|
require('../../directive-8278ab14.cjs');
|
|
18
17
|
require('../lukso-image/index.cjs');
|
|
19
|
-
require('../../index-
|
|
18
|
+
require('../../index-f564f46f.cjs');
|
|
20
19
|
require('../../tailwind-config.cjs');
|
|
21
|
-
require('
|
|
22
|
-
require('node:path');
|
|
23
|
-
require('../../cn-fc6d6aa9.cjs');
|
|
20
|
+
require('../../cn-b6daa995.cjs');
|
|
24
21
|
|
|
25
22
|
const style = ":host {\n\n display: inline-flex\n}\n\n:host([is-full-width]) {\n\n display: flex;\n\n width: 100%\n}";
|
|
26
23
|
|
|
@@ -374,99 +371,99 @@ exports.LuksoSearch = class LuksoSearch extends shared_tailwindElement_index.Tai
|
|
|
374
371
|
@on-key-up=${this.handleKeyUp}
|
|
375
372
|
></lukso-input>
|
|
376
373
|
<!-- results dropdown -->
|
|
377
|
-
${this.results && !(this.isSearching || this.isDebouncing) ? this.resultsTemplate() : shared_tailwindElement_index.
|
|
374
|
+
${this.results && !(this.isSearching || this.isDebouncing) ? this.resultsTemplate() : shared_tailwindElement_index.E}
|
|
378
375
|
<!-- no results dropdown -->
|
|
379
|
-
${this.showNoResults && !(this.isSearching || this.isDebouncing) ? this.noResultsTemplate() : shared_tailwindElement_index.
|
|
376
|
+
${this.showNoResults && !(this.isSearching || this.isDebouncing) ? this.noResultsTemplate() : shared_tailwindElement_index.E}
|
|
380
377
|
<!-- loading dropdown -->
|
|
381
|
-
${!this.hideLoading && this.value && (this.isSearching || this.isDebouncing) ? this.loadingTemplate() : shared_tailwindElement_index.
|
|
378
|
+
${!this.hideLoading && this.value && (this.isSearching || this.isDebouncing) ? this.loadingTemplate() : shared_tailwindElement_index.E}
|
|
382
379
|
</div>
|
|
383
380
|
`;
|
|
384
381
|
}
|
|
385
382
|
};
|
|
386
383
|
__decorateClass([
|
|
387
|
-
|
|
384
|
+
property.n({ type: String })
|
|
388
385
|
], exports.LuksoSearch.prototype, "value", 2);
|
|
389
386
|
__decorateClass([
|
|
390
|
-
|
|
387
|
+
property.n({ type: String })
|
|
391
388
|
], exports.LuksoSearch.prototype, "name", 2);
|
|
392
389
|
__decorateClass([
|
|
393
|
-
|
|
390
|
+
property.n({ type: String })
|
|
394
391
|
], exports.LuksoSearch.prototype, "placeholder", 2);
|
|
395
392
|
__decorateClass([
|
|
396
|
-
|
|
393
|
+
property.n({ type: String })
|
|
397
394
|
], exports.LuksoSearch.prototype, "label", 2);
|
|
398
395
|
__decorateClass([
|
|
399
|
-
|
|
396
|
+
property.n({ type: String })
|
|
400
397
|
], exports.LuksoSearch.prototype, "autocomplete", 2);
|
|
401
398
|
__decorateClass([
|
|
402
|
-
|
|
399
|
+
property.n({ type: String })
|
|
403
400
|
], exports.LuksoSearch.prototype, "id", 2);
|
|
404
401
|
__decorateClass([
|
|
405
|
-
|
|
402
|
+
property.n({ type: String })
|
|
406
403
|
], exports.LuksoSearch.prototype, "description", 2);
|
|
407
404
|
__decorateClass([
|
|
408
|
-
|
|
405
|
+
property.n({ type: String })
|
|
409
406
|
], exports.LuksoSearch.prototype, "error", 2);
|
|
410
407
|
__decorateClass([
|
|
411
|
-
|
|
408
|
+
property.n({ type: String, attribute: "custom-class" })
|
|
412
409
|
], exports.LuksoSearch.prototype, "customClass", 2);
|
|
413
410
|
__decorateClass([
|
|
414
|
-
|
|
411
|
+
property.n({ type: Boolean, attribute: "is-full-width" })
|
|
415
412
|
], exports.LuksoSearch.prototype, "isFullWidth", 2);
|
|
416
413
|
__decorateClass([
|
|
417
|
-
|
|
414
|
+
property.n({ type: Boolean, attribute: "is-readonly" })
|
|
418
415
|
], exports.LuksoSearch.prototype, "isReadonly", 2);
|
|
419
416
|
__decorateClass([
|
|
420
|
-
|
|
417
|
+
property.n({ type: Boolean, attribute: "is-disabled" })
|
|
421
418
|
], exports.LuksoSearch.prototype, "isDisabled", 2);
|
|
422
419
|
__decorateClass([
|
|
423
|
-
|
|
420
|
+
property.n({ type: Boolean })
|
|
424
421
|
], exports.LuksoSearch.prototype, "autofocus", 2);
|
|
425
422
|
__decorateClass([
|
|
426
|
-
|
|
423
|
+
property.n({ type: Boolean })
|
|
427
424
|
], exports.LuksoSearch.prototype, "borderless", 2);
|
|
428
425
|
__decorateClass([
|
|
429
|
-
|
|
426
|
+
property.n({ type: String })
|
|
430
427
|
], exports.LuksoSearch.prototype, "results", 2);
|
|
431
428
|
__decorateClass([
|
|
432
|
-
|
|
429
|
+
property.n({ type: Number })
|
|
433
430
|
], exports.LuksoSearch.prototype, "debounce", 2);
|
|
434
431
|
__decorateClass([
|
|
435
|
-
|
|
432
|
+
property.n({ type: Boolean, attribute: "is-searching" })
|
|
436
433
|
], exports.LuksoSearch.prototype, "isSearching", 2);
|
|
437
434
|
__decorateClass([
|
|
438
|
-
|
|
435
|
+
property.n({ type: String, attribute: "no-results-text" })
|
|
439
436
|
], exports.LuksoSearch.prototype, "noResultsText", 2);
|
|
440
437
|
__decorateClass([
|
|
441
|
-
|
|
438
|
+
property.n({ type: Boolean, attribute: "show-no-results" })
|
|
442
439
|
], exports.LuksoSearch.prototype, "showNoResults", 2);
|
|
443
440
|
__decorateClass([
|
|
444
|
-
|
|
441
|
+
property.n({ type: Boolean, attribute: "hide-loading" })
|
|
445
442
|
], exports.LuksoSearch.prototype, "hideLoading", 2);
|
|
446
443
|
__decorateClass([
|
|
447
|
-
|
|
444
|
+
property.n({ type: Boolean, attribute: "has-reset" })
|
|
448
445
|
], exports.LuksoSearch.prototype, "hasReset", 2);
|
|
449
446
|
__decorateClass([
|
|
450
|
-
|
|
447
|
+
property.n({ type: Boolean, attribute: "keep-value-on-escape-hit" })
|
|
451
448
|
], exports.LuksoSearch.prototype, "keepValueOnEscapeHit", 2);
|
|
452
449
|
__decorateClass([
|
|
453
|
-
|
|
450
|
+
property.n({ type: Number })
|
|
454
451
|
], exports.LuksoSearch.prototype, "selected", 2);
|
|
455
452
|
__decorateClass([
|
|
456
|
-
|
|
453
|
+
property.n({ type: String })
|
|
457
454
|
], exports.LuksoSearch.prototype, "size", 2);
|
|
458
455
|
__decorateClass([
|
|
459
|
-
state.
|
|
456
|
+
state.r()
|
|
460
457
|
], exports.LuksoSearch.prototype, "isDebouncing", 2);
|
|
461
458
|
__decorateClass([
|
|
462
|
-
state.
|
|
459
|
+
state.r()
|
|
463
460
|
], exports.LuksoSearch.prototype, "debounceTimer", 2);
|
|
464
461
|
__decorateClass([
|
|
465
|
-
state.
|
|
462
|
+
state.r()
|
|
466
463
|
], exports.LuksoSearch.prototype, "resultsParsed", 2);
|
|
467
464
|
__decorateClass([
|
|
468
|
-
state.
|
|
465
|
+
state.r()
|
|
469
466
|
], exports.LuksoSearch.prototype, "searchTerm", 2);
|
|
470
467
|
exports.LuksoSearch = __decorateClass([
|
|
471
|
-
|
|
468
|
+
property.t("lukso-search")
|
|
472
469
|
], exports.LuksoSearch);
|
|
@@ -1,22 +1,19 @@
|
|
|
1
|
-
import { T as TailwindStyledElement, x,
|
|
2
|
-
import { n,
|
|
3
|
-
import {
|
|
4
|
-
import { c as ce } from '../../index-
|
|
1
|
+
import { T as TailwindStyledElement, x, E } from '../../index-86a3fdc1.js';
|
|
2
|
+
import { n, t } from '../../property-140ef335.js';
|
|
3
|
+
import { r } from '../../state-876605e4.js';
|
|
4
|
+
import { c as ce } from '../../index-d14b6a34.js';
|
|
5
5
|
import '../lukso-icon/index.js';
|
|
6
|
-
import '../../index-
|
|
6
|
+
import '../../index-30c74dfe.js';
|
|
7
7
|
import '../lukso-username/index.js';
|
|
8
8
|
import '../lukso-input/index.js';
|
|
9
|
-
import '../../index-
|
|
9
|
+
import '../../index-40811e43.js';
|
|
10
10
|
import '../lukso-dropdown-option/index.js';
|
|
11
|
-
import '../../
|
|
12
|
-
import '../../style-map-7a555e98.js';
|
|
11
|
+
import '../../style-map-15dde65e.js';
|
|
13
12
|
import '../../directive-2bb7789e.js';
|
|
14
13
|
import '../lukso-image/index.js';
|
|
15
|
-
import '../../index-
|
|
14
|
+
import '../../index-eb08047e.js';
|
|
16
15
|
import '../../tailwind-config.js';
|
|
17
|
-
import '
|
|
18
|
-
import 'node:path';
|
|
19
|
-
import '../../cn-01b2d42a.js';
|
|
16
|
+
import '../../cn-90c03edf.js';
|
|
20
17
|
|
|
21
18
|
const style = ":host {\n\n display: inline-flex\n}\n\n:host([is-full-width]) {\n\n display: flex;\n\n width: 100%\n}";
|
|
22
19
|
|
|
@@ -370,11 +367,11 @@ let LuksoSearch = class extends TailwindStyledElement(style) {
|
|
|
370
367
|
@on-key-up=${this.handleKeyUp}
|
|
371
368
|
></lukso-input>
|
|
372
369
|
<!-- results dropdown -->
|
|
373
|
-
${this.results && !(this.isSearching || this.isDebouncing) ? this.resultsTemplate() :
|
|
370
|
+
${this.results && !(this.isSearching || this.isDebouncing) ? this.resultsTemplate() : E}
|
|
374
371
|
<!-- no results dropdown -->
|
|
375
|
-
${this.showNoResults && !(this.isSearching || this.isDebouncing) ? this.noResultsTemplate() :
|
|
372
|
+
${this.showNoResults && !(this.isSearching || this.isDebouncing) ? this.noResultsTemplate() : E}
|
|
376
373
|
<!-- loading dropdown -->
|
|
377
|
-
${!this.hideLoading && this.value && (this.isSearching || this.isDebouncing) ? this.loadingTemplate() :
|
|
374
|
+
${!this.hideLoading && this.value && (this.isSearching || this.isDebouncing) ? this.loadingTemplate() : E}
|
|
378
375
|
</div>
|
|
379
376
|
`;
|
|
380
377
|
}
|
|
@@ -452,19 +449,19 @@ __decorateClass([
|
|
|
452
449
|
n({ type: String })
|
|
453
450
|
], LuksoSearch.prototype, "size", 2);
|
|
454
451
|
__decorateClass([
|
|
455
|
-
|
|
452
|
+
r()
|
|
456
453
|
], LuksoSearch.prototype, "isDebouncing", 2);
|
|
457
454
|
__decorateClass([
|
|
458
|
-
|
|
455
|
+
r()
|
|
459
456
|
], LuksoSearch.prototype, "debounceTimer", 2);
|
|
460
457
|
__decorateClass([
|
|
461
|
-
|
|
458
|
+
r()
|
|
462
459
|
], LuksoSearch.prototype, "resultsParsed", 2);
|
|
463
460
|
__decorateClass([
|
|
464
|
-
|
|
461
|
+
r()
|
|
465
462
|
], LuksoSearch.prototype, "searchTerm", 2);
|
|
466
463
|
LuksoSearch = __decorateClass([
|
|
467
|
-
|
|
464
|
+
t("lukso-search")
|
|
468
465
|
], LuksoSearch);
|
|
469
466
|
|
|
470
467
|
export { LuksoSearch };
|
|
@@ -2,24 +2,21 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const shared_tailwindElement_index = require('../../index-
|
|
6
|
-
const
|
|
7
|
-
const state = require('../../state-
|
|
8
|
-
const index = require('../../index-
|
|
5
|
+
const shared_tailwindElement_index = require('../../index-dda1809d.cjs');
|
|
6
|
+
const property = require('../../property-46482bf7.cjs');
|
|
7
|
+
const state = require('../../state-94c1d585.cjs');
|
|
8
|
+
const index = require('../../index-2b104ecb.cjs');
|
|
9
9
|
require('../lukso-icon/index.cjs');
|
|
10
|
-
require('../../index-
|
|
10
|
+
require('../../index-9f282d35.cjs');
|
|
11
11
|
require('../lukso-username/index.cjs');
|
|
12
|
-
const components_luksoDropdown_index = require('../../index-
|
|
12
|
+
const components_luksoDropdown_index = require('../../index-dbfb7d50.cjs');
|
|
13
13
|
require('../lukso-dropdown-option/index.cjs');
|
|
14
|
-
require('../../
|
|
15
|
-
require('../../style-map-54c139bb.cjs');
|
|
14
|
+
require('../../style-map-552ab28f.cjs');
|
|
16
15
|
require('../../directive-8278ab14.cjs');
|
|
17
16
|
require('../lukso-image/index.cjs');
|
|
18
|
-
require('../../index-
|
|
17
|
+
require('../../index-f564f46f.cjs');
|
|
19
18
|
require('../../tailwind-config.cjs');
|
|
20
|
-
require('
|
|
21
|
-
require('node:path');
|
|
22
|
-
require('../../cn-fc6d6aa9.cjs');
|
|
19
|
+
require('../../cn-b6daa995.cjs');
|
|
23
20
|
|
|
24
21
|
const style = ":host {\n\n display: inline-flex\n}\n\n:host([is-full-width]) {\n\n display: flex;\n\n width: 100%\n}";
|
|
25
22
|
|
|
@@ -172,9 +169,9 @@ exports.LuksoSelect = class LuksoSelect extends shared_tailwindElement_index.Tai
|
|
|
172
169
|
@blur=${this.handleBlur}
|
|
173
170
|
@click=${this.handleClick}
|
|
174
171
|
>
|
|
175
|
-
${this.placeholder ? this.placeholder : shared_tailwindElement_index.
|
|
176
|
-
${!this.placeholder && this.valueParsed?.length ? this.selectedValueTemplate() : shared_tailwindElement_index.
|
|
177
|
-
${this.showSelectionCounter && this.valueParsed?.length ? this.selectedOptionsCounterTemplate() : shared_tailwindElement_index.
|
|
172
|
+
${this.placeholder ? this.placeholder : shared_tailwindElement_index.E}
|
|
173
|
+
${!this.placeholder && this.valueParsed?.length ? this.selectedValueTemplate() : shared_tailwindElement_index.E}
|
|
174
|
+
${this.showSelectionCounter && this.valueParsed?.length ? this.selectedOptionsCounterTemplate() : shared_tailwindElement_index.E}
|
|
178
175
|
</div>
|
|
179
176
|
`;
|
|
180
177
|
}
|
|
@@ -195,7 +192,7 @@ exports.LuksoSelect = class LuksoSelect extends shared_tailwindElement_index.Tai
|
|
|
195
192
|
descriptionTemplate() {
|
|
196
193
|
return shared_tailwindElement_index.x`
|
|
197
194
|
<div class="paragraph-inter-12-regular text-neutral-20 pb-2">
|
|
198
|
-
${this.description ?? shared_tailwindElement_index.
|
|
195
|
+
${this.description ?? shared_tailwindElement_index.E}
|
|
199
196
|
</div>
|
|
200
197
|
`;
|
|
201
198
|
}
|
|
@@ -403,8 +400,8 @@ exports.LuksoSelect = class LuksoSelect extends shared_tailwindElement_index.Tai
|
|
|
403
400
|
});
|
|
404
401
|
return shared_tailwindElement_index.x`
|
|
405
402
|
<div class="relative w-[inherit]">
|
|
406
|
-
${this.label ? this.labelTemplate() : shared_tailwindElement_index.
|
|
407
|
-
${this.description ? this.descriptionTemplate() : shared_tailwindElement_index.
|
|
403
|
+
${this.label ? this.labelTemplate() : shared_tailwindElement_index.E}
|
|
404
|
+
${this.description ? this.descriptionTemplate() : shared_tailwindElement_index.E}
|
|
408
405
|
<div class="group">
|
|
409
406
|
<div class="flex relative items-center">
|
|
410
407
|
${this.inputTemplate()}<lukso-icon
|
|
@@ -414,74 +411,74 @@ exports.LuksoSelect = class LuksoSelect extends shared_tailwindElement_index.Tai
|
|
|
414
411
|
></lukso-icon>
|
|
415
412
|
</div>
|
|
416
413
|
<!-- options dropdown -->
|
|
417
|
-
${this.isOpen && this.optionsParsed.length > 0 ? this.optionsTemplate() : shared_tailwindElement_index.
|
|
414
|
+
${this.isOpen && this.optionsParsed.length > 0 ? this.optionsTemplate() : shared_tailwindElement_index.E}
|
|
418
415
|
</div>
|
|
419
416
|
<!-- error -->
|
|
420
|
-
${this.error ? this.errorTemplate() : shared_tailwindElement_index.
|
|
417
|
+
${this.error ? this.errorTemplate() : shared_tailwindElement_index.E}
|
|
421
418
|
</div>
|
|
422
419
|
`;
|
|
423
420
|
}
|
|
424
421
|
};
|
|
425
422
|
__decorateClass([
|
|
426
|
-
|
|
423
|
+
property.n({ type: String })
|
|
427
424
|
], exports.LuksoSelect.prototype, "value", 2);
|
|
428
425
|
__decorateClass([
|
|
429
|
-
|
|
426
|
+
property.n({ type: String })
|
|
430
427
|
], exports.LuksoSelect.prototype, "placeholder", 2);
|
|
431
428
|
__decorateClass([
|
|
432
|
-
|
|
429
|
+
property.n({ type: String })
|
|
433
430
|
], exports.LuksoSelect.prototype, "label", 2);
|
|
434
431
|
__decorateClass([
|
|
435
|
-
|
|
432
|
+
property.n({ type: String })
|
|
436
433
|
], exports.LuksoSelect.prototype, "id", 2);
|
|
437
434
|
__decorateClass([
|
|
438
|
-
|
|
435
|
+
property.n({ type: String })
|
|
439
436
|
], exports.LuksoSelect.prototype, "description", 2);
|
|
440
437
|
__decorateClass([
|
|
441
|
-
|
|
438
|
+
property.n({ type: String })
|
|
442
439
|
], exports.LuksoSelect.prototype, "error", 2);
|
|
443
440
|
__decorateClass([
|
|
444
|
-
|
|
441
|
+
property.n({ type: Boolean, attribute: "is-full-width" })
|
|
445
442
|
], exports.LuksoSelect.prototype, "isFullWidth", 2);
|
|
446
443
|
__decorateClass([
|
|
447
|
-
|
|
444
|
+
property.n({ type: Boolean, attribute: "is-readonly" })
|
|
448
445
|
], exports.LuksoSelect.prototype, "isReadonly", 2);
|
|
449
446
|
__decorateClass([
|
|
450
|
-
|
|
447
|
+
property.n({ type: Boolean, attribute: "is-disabled" })
|
|
451
448
|
], exports.LuksoSelect.prototype, "isDisabled", 2);
|
|
452
449
|
__decorateClass([
|
|
453
|
-
|
|
450
|
+
property.n({ type: Boolean })
|
|
454
451
|
], exports.LuksoSelect.prototype, "borderless", 2);
|
|
455
452
|
__decorateClass([
|
|
456
|
-
|
|
453
|
+
property.n({ type: String })
|
|
457
454
|
], exports.LuksoSelect.prototype, "options", 2);
|
|
458
455
|
__decorateClass([
|
|
459
|
-
|
|
456
|
+
property.n({ type: Number })
|
|
460
457
|
], exports.LuksoSelect.prototype, "selected", 2);
|
|
461
458
|
__decorateClass([
|
|
462
|
-
|
|
459
|
+
property.n({ type: Boolean, attribute: "is-open" })
|
|
463
460
|
], exports.LuksoSelect.prototype, "isOpen", 2);
|
|
464
461
|
__decorateClass([
|
|
465
|
-
|
|
462
|
+
property.n({ type: Boolean, attribute: "open-top" })
|
|
466
463
|
], exports.LuksoSelect.prototype, "openTop", 2);
|
|
467
464
|
__decorateClass([
|
|
468
|
-
|
|
465
|
+
property.n({ type: Boolean, attribute: "is-large-icon" })
|
|
469
466
|
], exports.LuksoSelect.prototype, "isLargeIcon", 2);
|
|
470
467
|
__decorateClass([
|
|
471
|
-
|
|
468
|
+
property.n({ type: Boolean, attribute: "is-right" })
|
|
472
469
|
], exports.LuksoSelect.prototype, "isRight", 2);
|
|
473
470
|
__decorateClass([
|
|
474
|
-
|
|
471
|
+
property.n({ type: String })
|
|
475
472
|
], exports.LuksoSelect.prototype, "size", 2);
|
|
476
473
|
__decorateClass([
|
|
477
|
-
|
|
474
|
+
property.n({ type: Boolean, attribute: "show-selection-counter" })
|
|
478
475
|
], exports.LuksoSelect.prototype, "showSelectionCounter", 2);
|
|
479
476
|
__decorateClass([
|
|
480
|
-
state.
|
|
477
|
+
state.r()
|
|
481
478
|
], exports.LuksoSelect.prototype, "optionsParsed", 2);
|
|
482
479
|
__decorateClass([
|
|
483
|
-
state.
|
|
480
|
+
state.r()
|
|
484
481
|
], exports.LuksoSelect.prototype, "valueParsed", 2);
|
|
485
482
|
exports.LuksoSelect = __decorateClass([
|
|
486
|
-
|
|
483
|
+
property.t("lukso-select")
|
|
487
484
|
], exports.LuksoSelect);
|
|
@@ -1,21 +1,18 @@
|
|
|
1
|
-
import { T as TailwindStyledElement, x,
|
|
2
|
-
import { n,
|
|
3
|
-
import {
|
|
4
|
-
import { c as ce } from '../../index-
|
|
1
|
+
import { T as TailwindStyledElement, x, E } from '../../index-86a3fdc1.js';
|
|
2
|
+
import { n, t } from '../../property-140ef335.js';
|
|
3
|
+
import { r } from '../../state-876605e4.js';
|
|
4
|
+
import { c as ce } from '../../index-d14b6a34.js';
|
|
5
5
|
import '../lukso-icon/index.js';
|
|
6
|
-
import '../../index-
|
|
6
|
+
import '../../index-30c74dfe.js';
|
|
7
7
|
import '../lukso-username/index.js';
|
|
8
|
-
import { u as uniqId } from '../../index-
|
|
8
|
+
import { u as uniqId } from '../../index-40811e43.js';
|
|
9
9
|
import '../lukso-dropdown-option/index.js';
|
|
10
|
-
import '../../
|
|
11
|
-
import '../../style-map-7a555e98.js';
|
|
10
|
+
import '../../style-map-15dde65e.js';
|
|
12
11
|
import '../../directive-2bb7789e.js';
|
|
13
12
|
import '../lukso-image/index.js';
|
|
14
|
-
import '../../index-
|
|
13
|
+
import '../../index-eb08047e.js';
|
|
15
14
|
import '../../tailwind-config.js';
|
|
16
|
-
import '
|
|
17
|
-
import 'node:path';
|
|
18
|
-
import '../../cn-01b2d42a.js';
|
|
15
|
+
import '../../cn-90c03edf.js';
|
|
19
16
|
|
|
20
17
|
const style = ":host {\n\n display: inline-flex\n}\n\n:host([is-full-width]) {\n\n display: flex;\n\n width: 100%\n}";
|
|
21
18
|
|
|
@@ -168,9 +165,9 @@ let LuksoSelect = class extends TailwindStyledElement(style) {
|
|
|
168
165
|
@blur=${this.handleBlur}
|
|
169
166
|
@click=${this.handleClick}
|
|
170
167
|
>
|
|
171
|
-
${this.placeholder ? this.placeholder :
|
|
172
|
-
${!this.placeholder && this.valueParsed?.length ? this.selectedValueTemplate() :
|
|
173
|
-
${this.showSelectionCounter && this.valueParsed?.length ? this.selectedOptionsCounterTemplate() :
|
|
168
|
+
${this.placeholder ? this.placeholder : E}
|
|
169
|
+
${!this.placeholder && this.valueParsed?.length ? this.selectedValueTemplate() : E}
|
|
170
|
+
${this.showSelectionCounter && this.valueParsed?.length ? this.selectedOptionsCounterTemplate() : E}
|
|
174
171
|
</div>
|
|
175
172
|
`;
|
|
176
173
|
}
|
|
@@ -191,7 +188,7 @@ let LuksoSelect = class extends TailwindStyledElement(style) {
|
|
|
191
188
|
descriptionTemplate() {
|
|
192
189
|
return x`
|
|
193
190
|
<div class="paragraph-inter-12-regular text-neutral-20 pb-2">
|
|
194
|
-
${this.description ??
|
|
191
|
+
${this.description ?? E}
|
|
195
192
|
</div>
|
|
196
193
|
`;
|
|
197
194
|
}
|
|
@@ -399,8 +396,8 @@ let LuksoSelect = class extends TailwindStyledElement(style) {
|
|
|
399
396
|
});
|
|
400
397
|
return x`
|
|
401
398
|
<div class="relative w-[inherit]">
|
|
402
|
-
${this.label ? this.labelTemplate() :
|
|
403
|
-
${this.description ? this.descriptionTemplate() :
|
|
399
|
+
${this.label ? this.labelTemplate() : E}
|
|
400
|
+
${this.description ? this.descriptionTemplate() : E}
|
|
404
401
|
<div class="group">
|
|
405
402
|
<div class="flex relative items-center">
|
|
406
403
|
${this.inputTemplate()}<lukso-icon
|
|
@@ -410,10 +407,10 @@ let LuksoSelect = class extends TailwindStyledElement(style) {
|
|
|
410
407
|
></lukso-icon>
|
|
411
408
|
</div>
|
|
412
409
|
<!-- options dropdown -->
|
|
413
|
-
${this.isOpen && this.optionsParsed.length > 0 ? this.optionsTemplate() :
|
|
410
|
+
${this.isOpen && this.optionsParsed.length > 0 ? this.optionsTemplate() : E}
|
|
414
411
|
</div>
|
|
415
412
|
<!-- error -->
|
|
416
|
-
${this.error ? this.errorTemplate() :
|
|
413
|
+
${this.error ? this.errorTemplate() : E}
|
|
417
414
|
</div>
|
|
418
415
|
`;
|
|
419
416
|
}
|
|
@@ -473,13 +470,13 @@ __decorateClass([
|
|
|
473
470
|
n({ type: Boolean, attribute: "show-selection-counter" })
|
|
474
471
|
], LuksoSelect.prototype, "showSelectionCounter", 2);
|
|
475
472
|
__decorateClass([
|
|
476
|
-
|
|
473
|
+
r()
|
|
477
474
|
], LuksoSelect.prototype, "optionsParsed", 2);
|
|
478
475
|
__decorateClass([
|
|
479
|
-
|
|
476
|
+
r()
|
|
480
477
|
], LuksoSelect.prototype, "valueParsed", 2);
|
|
481
478
|
LuksoSelect = __decorateClass([
|
|
482
|
-
|
|
479
|
+
t("lukso-select")
|
|
483
480
|
], LuksoSelect);
|
|
484
481
|
|
|
485
482
|
export { LuksoSelect };
|