@lukso/web-components 1.114.0 → 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 -10
- package/dist/components/index.js +9 -10
- package/dist/components/lukso-button/index.cjs +28 -29
- package/dist/components/lukso-button/index.js +11 -12
- package/dist/components/lukso-card/index.cjs +39 -27
- package/dist/components/lukso-card/index.js +30 -18
- 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 -31
- package/dist/components/lukso-color-picker/index.js +16 -17
- package/dist/components/lukso-dropdown/index.cjs +9 -10
- package/dist/components/lukso-dropdown/index.js +9 -10
- 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/icons/minus-filled.d.ts +3 -0
- package/dist/components/lukso-icon/icons/minus-filled.d.ts.map +1 -0
- package/dist/components/lukso-icon/index.cjs +32 -9
- package/dist/components/lukso-icon/index.d.ts.map +1 -1
- package/dist/components/lukso-icon/index.js +28 -5
- 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 -47
- package/dist/components/lukso-input/index.js +22 -23
- 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 -14
- package/dist/components/lukso-pagination/index.js +8 -9
- 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 -11
- package/dist/components/lukso-progress/index.js +5 -6
- 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 -42
- package/dist/components/lukso-search/index.js +17 -18
- package/dist/components/lukso-select/index.cjs +38 -39
- package/dist/components/lukso-select/index.js +20 -21
- 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 -36
- package/dist/components/lukso-textarea/index.js +17 -18
- 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 -19
- package/dist/components/lukso-username/index.js +7 -8
- 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 -10
- package/dist/index.js +9 -10
- 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/copy-assets.cjs +18 -18
- package/tools/copy-assets.d.ts +1 -1
- package/tools/copy-assets.d.ts.map +1 -1
- package/tools/copy-assets.js +18 -18
- 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
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import { T as TailwindStyledElement, x } from '../../index-
|
|
2
|
-
import { n,
|
|
3
|
-
import {
|
|
4
|
-
import { c as ce } from '../../index-
|
|
1
|
+
import { T as TailwindStyledElement, x } 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
6
|
import '../lukso-button/index.js';
|
|
7
|
-
import '../../
|
|
8
|
-
import '../../style-map-7a555e98.js';
|
|
7
|
+
import '../../style-map-15dde65e.js';
|
|
9
8
|
import '../../directive-2bb7789e.js';
|
|
10
9
|
import '../../tailwind-config.js';
|
|
11
|
-
import '../../cn-
|
|
10
|
+
import '../../cn-90c03edf.js';
|
|
12
11
|
|
|
13
12
|
const style = ":host {\n display: inline-flex\n}";
|
|
14
13
|
|
|
@@ -203,10 +202,10 @@ __decorateClass([
|
|
|
203
202
|
n({ type: Boolean, attribute: "is-mobile" })
|
|
204
203
|
], LuksoPagination.prototype, "isMobile", 2);
|
|
205
204
|
__decorateClass([
|
|
206
|
-
|
|
205
|
+
r()
|
|
207
206
|
], LuksoPagination.prototype, "pagination", 2);
|
|
208
207
|
LuksoPagination = __decorateClass([
|
|
209
|
-
|
|
208
|
+
t("lukso-pagination")
|
|
210
209
|
], LuksoPagination);
|
|
211
210
|
|
|
212
211
|
export { LuksoPagination };
|
|
@@ -2,14 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
require('../../index-
|
|
6
|
-
require('../../
|
|
7
|
-
const components_luksoProfile_index = require('../../index-
|
|
8
|
-
require('../../index-
|
|
5
|
+
require('../../index-dda1809d.cjs');
|
|
6
|
+
require('../../property-46482bf7.cjs');
|
|
7
|
+
const components_luksoProfile_index = require('../../index-9f282d35.cjs');
|
|
8
|
+
require('../../index-2b104ecb.cjs');
|
|
9
9
|
require('../lukso-image/index.cjs');
|
|
10
|
-
require('../../
|
|
11
|
-
require('../../
|
|
12
|
-
require('../../style-map-54c139bb.cjs');
|
|
10
|
+
require('../../state-94c1d585.cjs');
|
|
11
|
+
require('../../style-map-552ab28f.cjs');
|
|
13
12
|
require('../../directive-8278ab14.cjs');
|
|
14
13
|
|
|
15
14
|
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import '../../index-
|
|
2
|
-
import '../../
|
|
3
|
-
export { L as LuksoProfile } from '../../index-
|
|
4
|
-
import '../../index-
|
|
1
|
+
import '../../index-86a3fdc1.js';
|
|
2
|
+
import '../../property-140ef335.js';
|
|
3
|
+
export { L as LuksoProfile } from '../../index-30c74dfe.js';
|
|
4
|
+
import '../../index-d14b6a34.js';
|
|
5
5
|
import '../lukso-image/index.js';
|
|
6
|
-
import '../../
|
|
7
|
-
import '../../
|
|
8
|
-
import '../../style-map-7a555e98.js';
|
|
6
|
+
import '../../state-876605e4.js';
|
|
7
|
+
import '../../style-map-15dde65e.js';
|
|
9
8
|
import '../../directive-2bb7789e.js';
|
|
@@ -2,13 +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
|
-
const cn = require('../../cn-
|
|
9
|
+
const cn = require('../../cn-b6daa995.cjs');
|
|
10
10
|
require('../../directive-8278ab14.cjs');
|
|
11
|
-
require('../../bundle-mjs-d58a83c6.cjs');
|
|
12
11
|
|
|
13
12
|
var __defProp = Object.defineProperty;
|
|
14
13
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -65,20 +64,20 @@ exports.LuksoProgress = class LuksoProgress extends shared_tailwindElement_index
|
|
|
65
64
|
}
|
|
66
65
|
};
|
|
67
66
|
__decorateClass([
|
|
68
|
-
|
|
67
|
+
property.n({ type: Number })
|
|
69
68
|
], exports.LuksoProgress.prototype, "min", 2);
|
|
70
69
|
__decorateClass([
|
|
71
|
-
|
|
70
|
+
property.n({ type: Number })
|
|
72
71
|
], exports.LuksoProgress.prototype, "max", 2);
|
|
73
72
|
__decorateClass([
|
|
74
|
-
|
|
73
|
+
property.n({ type: Number })
|
|
75
74
|
], exports.LuksoProgress.prototype, "current", 2);
|
|
76
75
|
__decorateClass([
|
|
77
|
-
|
|
76
|
+
property.n({ type: String })
|
|
78
77
|
], exports.LuksoProgress.prototype, "variant", 2);
|
|
79
78
|
__decorateClass([
|
|
80
|
-
|
|
79
|
+
property.n({ type: Number })
|
|
81
80
|
], exports.LuksoProgress.prototype, "height", 2);
|
|
82
81
|
exports.LuksoProgress = __decorateClass([
|
|
83
|
-
|
|
82
|
+
property.t("lukso-progress")
|
|
84
83
|
], exports.LuksoProgress);
|
|
@@ -1,10 +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 { c as cn } from '../../cn-
|
|
5
|
+
import { c as cn } from '../../cn-90c03edf.js';
|
|
6
6
|
import '../../directive-2bb7789e.js';
|
|
7
|
-
import '../../bundle-mjs-fbc6e2a8.js';
|
|
8
7
|
|
|
9
8
|
var __defProp = Object.defineProperty;
|
|
10
9
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -76,7 +75,7 @@ __decorateClass([
|
|
|
76
75
|
n({ type: Number })
|
|
77
76
|
], LuksoProgress.prototype, "height", 2);
|
|
78
77
|
LuksoProgress = __decorateClass([
|
|
79
|
-
|
|
78
|
+
t("lukso-progress")
|
|
80
79
|
], LuksoProgress);
|
|
81
80
|
|
|
82
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,23 +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('../../cn-
|
|
20
|
+
require('../../cn-b6daa995.cjs');
|
|
22
21
|
|
|
23
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}";
|
|
24
23
|
|
|
@@ -372,99 +371,99 @@ exports.LuksoSearch = class LuksoSearch extends shared_tailwindElement_index.Tai
|
|
|
372
371
|
@on-key-up=${this.handleKeyUp}
|
|
373
372
|
></lukso-input>
|
|
374
373
|
<!-- results dropdown -->
|
|
375
|
-
${this.results && !(this.isSearching || this.isDebouncing) ? this.resultsTemplate() : shared_tailwindElement_index.
|
|
374
|
+
${this.results && !(this.isSearching || this.isDebouncing) ? this.resultsTemplate() : shared_tailwindElement_index.E}
|
|
376
375
|
<!-- no results dropdown -->
|
|
377
|
-
${this.showNoResults && !(this.isSearching || this.isDebouncing) ? this.noResultsTemplate() : shared_tailwindElement_index.
|
|
376
|
+
${this.showNoResults && !(this.isSearching || this.isDebouncing) ? this.noResultsTemplate() : shared_tailwindElement_index.E}
|
|
378
377
|
<!-- loading dropdown -->
|
|
379
|
-
${!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}
|
|
380
379
|
</div>
|
|
381
380
|
`;
|
|
382
381
|
}
|
|
383
382
|
};
|
|
384
383
|
__decorateClass([
|
|
385
|
-
|
|
384
|
+
property.n({ type: String })
|
|
386
385
|
], exports.LuksoSearch.prototype, "value", 2);
|
|
387
386
|
__decorateClass([
|
|
388
|
-
|
|
387
|
+
property.n({ type: String })
|
|
389
388
|
], exports.LuksoSearch.prototype, "name", 2);
|
|
390
389
|
__decorateClass([
|
|
391
|
-
|
|
390
|
+
property.n({ type: String })
|
|
392
391
|
], exports.LuksoSearch.prototype, "placeholder", 2);
|
|
393
392
|
__decorateClass([
|
|
394
|
-
|
|
393
|
+
property.n({ type: String })
|
|
395
394
|
], exports.LuksoSearch.prototype, "label", 2);
|
|
396
395
|
__decorateClass([
|
|
397
|
-
|
|
396
|
+
property.n({ type: String })
|
|
398
397
|
], exports.LuksoSearch.prototype, "autocomplete", 2);
|
|
399
398
|
__decorateClass([
|
|
400
|
-
|
|
399
|
+
property.n({ type: String })
|
|
401
400
|
], exports.LuksoSearch.prototype, "id", 2);
|
|
402
401
|
__decorateClass([
|
|
403
|
-
|
|
402
|
+
property.n({ type: String })
|
|
404
403
|
], exports.LuksoSearch.prototype, "description", 2);
|
|
405
404
|
__decorateClass([
|
|
406
|
-
|
|
405
|
+
property.n({ type: String })
|
|
407
406
|
], exports.LuksoSearch.prototype, "error", 2);
|
|
408
407
|
__decorateClass([
|
|
409
|
-
|
|
408
|
+
property.n({ type: String, attribute: "custom-class" })
|
|
410
409
|
], exports.LuksoSearch.prototype, "customClass", 2);
|
|
411
410
|
__decorateClass([
|
|
412
|
-
|
|
411
|
+
property.n({ type: Boolean, attribute: "is-full-width" })
|
|
413
412
|
], exports.LuksoSearch.prototype, "isFullWidth", 2);
|
|
414
413
|
__decorateClass([
|
|
415
|
-
|
|
414
|
+
property.n({ type: Boolean, attribute: "is-readonly" })
|
|
416
415
|
], exports.LuksoSearch.prototype, "isReadonly", 2);
|
|
417
416
|
__decorateClass([
|
|
418
|
-
|
|
417
|
+
property.n({ type: Boolean, attribute: "is-disabled" })
|
|
419
418
|
], exports.LuksoSearch.prototype, "isDisabled", 2);
|
|
420
419
|
__decorateClass([
|
|
421
|
-
|
|
420
|
+
property.n({ type: Boolean })
|
|
422
421
|
], exports.LuksoSearch.prototype, "autofocus", 2);
|
|
423
422
|
__decorateClass([
|
|
424
|
-
|
|
423
|
+
property.n({ type: Boolean })
|
|
425
424
|
], exports.LuksoSearch.prototype, "borderless", 2);
|
|
426
425
|
__decorateClass([
|
|
427
|
-
|
|
426
|
+
property.n({ type: String })
|
|
428
427
|
], exports.LuksoSearch.prototype, "results", 2);
|
|
429
428
|
__decorateClass([
|
|
430
|
-
|
|
429
|
+
property.n({ type: Number })
|
|
431
430
|
], exports.LuksoSearch.prototype, "debounce", 2);
|
|
432
431
|
__decorateClass([
|
|
433
|
-
|
|
432
|
+
property.n({ type: Boolean, attribute: "is-searching" })
|
|
434
433
|
], exports.LuksoSearch.prototype, "isSearching", 2);
|
|
435
434
|
__decorateClass([
|
|
436
|
-
|
|
435
|
+
property.n({ type: String, attribute: "no-results-text" })
|
|
437
436
|
], exports.LuksoSearch.prototype, "noResultsText", 2);
|
|
438
437
|
__decorateClass([
|
|
439
|
-
|
|
438
|
+
property.n({ type: Boolean, attribute: "show-no-results" })
|
|
440
439
|
], exports.LuksoSearch.prototype, "showNoResults", 2);
|
|
441
440
|
__decorateClass([
|
|
442
|
-
|
|
441
|
+
property.n({ type: Boolean, attribute: "hide-loading" })
|
|
443
442
|
], exports.LuksoSearch.prototype, "hideLoading", 2);
|
|
444
443
|
__decorateClass([
|
|
445
|
-
|
|
444
|
+
property.n({ type: Boolean, attribute: "has-reset" })
|
|
446
445
|
], exports.LuksoSearch.prototype, "hasReset", 2);
|
|
447
446
|
__decorateClass([
|
|
448
|
-
|
|
447
|
+
property.n({ type: Boolean, attribute: "keep-value-on-escape-hit" })
|
|
449
448
|
], exports.LuksoSearch.prototype, "keepValueOnEscapeHit", 2);
|
|
450
449
|
__decorateClass([
|
|
451
|
-
|
|
450
|
+
property.n({ type: Number })
|
|
452
451
|
], exports.LuksoSearch.prototype, "selected", 2);
|
|
453
452
|
__decorateClass([
|
|
454
|
-
|
|
453
|
+
property.n({ type: String })
|
|
455
454
|
], exports.LuksoSearch.prototype, "size", 2);
|
|
456
455
|
__decorateClass([
|
|
457
|
-
state.
|
|
456
|
+
state.r()
|
|
458
457
|
], exports.LuksoSearch.prototype, "isDebouncing", 2);
|
|
459
458
|
__decorateClass([
|
|
460
|
-
state.
|
|
459
|
+
state.r()
|
|
461
460
|
], exports.LuksoSearch.prototype, "debounceTimer", 2);
|
|
462
461
|
__decorateClass([
|
|
463
|
-
state.
|
|
462
|
+
state.r()
|
|
464
463
|
], exports.LuksoSearch.prototype, "resultsParsed", 2);
|
|
465
464
|
__decorateClass([
|
|
466
|
-
state.
|
|
465
|
+
state.r()
|
|
467
466
|
], exports.LuksoSearch.prototype, "searchTerm", 2);
|
|
468
467
|
exports.LuksoSearch = __decorateClass([
|
|
469
|
-
|
|
468
|
+
property.t("lukso-search")
|
|
470
469
|
], exports.LuksoSearch);
|
|
@@ -1,20 +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 '../../cn-
|
|
16
|
+
import '../../cn-90c03edf.js';
|
|
18
17
|
|
|
19
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}";
|
|
20
19
|
|
|
@@ -368,11 +367,11 @@ let LuksoSearch = class extends TailwindStyledElement(style) {
|
|
|
368
367
|
@on-key-up=${this.handleKeyUp}
|
|
369
368
|
></lukso-input>
|
|
370
369
|
<!-- results dropdown -->
|
|
371
|
-
${this.results && !(this.isSearching || this.isDebouncing) ? this.resultsTemplate() :
|
|
370
|
+
${this.results && !(this.isSearching || this.isDebouncing) ? this.resultsTemplate() : E}
|
|
372
371
|
<!-- no results dropdown -->
|
|
373
|
-
${this.showNoResults && !(this.isSearching || this.isDebouncing) ? this.noResultsTemplate() :
|
|
372
|
+
${this.showNoResults && !(this.isSearching || this.isDebouncing) ? this.noResultsTemplate() : E}
|
|
374
373
|
<!-- loading dropdown -->
|
|
375
|
-
${!this.hideLoading && this.value && (this.isSearching || this.isDebouncing) ? this.loadingTemplate() :
|
|
374
|
+
${!this.hideLoading && this.value && (this.isSearching || this.isDebouncing) ? this.loadingTemplate() : E}
|
|
376
375
|
</div>
|
|
377
376
|
`;
|
|
378
377
|
}
|
|
@@ -450,19 +449,19 @@ __decorateClass([
|
|
|
450
449
|
n({ type: String })
|
|
451
450
|
], LuksoSearch.prototype, "size", 2);
|
|
452
451
|
__decorateClass([
|
|
453
|
-
|
|
452
|
+
r()
|
|
454
453
|
], LuksoSearch.prototype, "isDebouncing", 2);
|
|
455
454
|
__decorateClass([
|
|
456
|
-
|
|
455
|
+
r()
|
|
457
456
|
], LuksoSearch.prototype, "debounceTimer", 2);
|
|
458
457
|
__decorateClass([
|
|
459
|
-
|
|
458
|
+
r()
|
|
460
459
|
], LuksoSearch.prototype, "resultsParsed", 2);
|
|
461
460
|
__decorateClass([
|
|
462
|
-
|
|
461
|
+
r()
|
|
463
462
|
], LuksoSearch.prototype, "searchTerm", 2);
|
|
464
463
|
LuksoSearch = __decorateClass([
|
|
465
|
-
|
|
464
|
+
t("lukso-search")
|
|
466
465
|
], LuksoSearch);
|
|
467
466
|
|
|
468
467
|
export { LuksoSearch };
|
|
@@ -2,22 +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('../../cn-
|
|
19
|
+
require('../../cn-b6daa995.cjs');
|
|
21
20
|
|
|
22
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}";
|
|
23
22
|
|
|
@@ -170,9 +169,9 @@ exports.LuksoSelect = class LuksoSelect extends shared_tailwindElement_index.Tai
|
|
|
170
169
|
@blur=${this.handleBlur}
|
|
171
170
|
@click=${this.handleClick}
|
|
172
171
|
>
|
|
173
|
-
${this.placeholder ? this.placeholder : shared_tailwindElement_index.
|
|
174
|
-
${!this.placeholder && this.valueParsed?.length ? this.selectedValueTemplate() : shared_tailwindElement_index.
|
|
175
|
-
${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}
|
|
176
175
|
</div>
|
|
177
176
|
`;
|
|
178
177
|
}
|
|
@@ -193,7 +192,7 @@ exports.LuksoSelect = class LuksoSelect extends shared_tailwindElement_index.Tai
|
|
|
193
192
|
descriptionTemplate() {
|
|
194
193
|
return shared_tailwindElement_index.x`
|
|
195
194
|
<div class="paragraph-inter-12-regular text-neutral-20 pb-2">
|
|
196
|
-
${this.description ?? shared_tailwindElement_index.
|
|
195
|
+
${this.description ?? shared_tailwindElement_index.E}
|
|
197
196
|
</div>
|
|
198
197
|
`;
|
|
199
198
|
}
|
|
@@ -401,8 +400,8 @@ exports.LuksoSelect = class LuksoSelect extends shared_tailwindElement_index.Tai
|
|
|
401
400
|
});
|
|
402
401
|
return shared_tailwindElement_index.x`
|
|
403
402
|
<div class="relative w-[inherit]">
|
|
404
|
-
${this.label ? this.labelTemplate() : shared_tailwindElement_index.
|
|
405
|
-
${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}
|
|
406
405
|
<div class="group">
|
|
407
406
|
<div class="flex relative items-center">
|
|
408
407
|
${this.inputTemplate()}<lukso-icon
|
|
@@ -412,74 +411,74 @@ exports.LuksoSelect = class LuksoSelect extends shared_tailwindElement_index.Tai
|
|
|
412
411
|
></lukso-icon>
|
|
413
412
|
</div>
|
|
414
413
|
<!-- options dropdown -->
|
|
415
|
-
${this.isOpen && this.optionsParsed.length > 0 ? this.optionsTemplate() : shared_tailwindElement_index.
|
|
414
|
+
${this.isOpen && this.optionsParsed.length > 0 ? this.optionsTemplate() : shared_tailwindElement_index.E}
|
|
416
415
|
</div>
|
|
417
416
|
<!-- error -->
|
|
418
|
-
${this.error ? this.errorTemplate() : shared_tailwindElement_index.
|
|
417
|
+
${this.error ? this.errorTemplate() : shared_tailwindElement_index.E}
|
|
419
418
|
</div>
|
|
420
419
|
`;
|
|
421
420
|
}
|
|
422
421
|
};
|
|
423
422
|
__decorateClass([
|
|
424
|
-
|
|
423
|
+
property.n({ type: String })
|
|
425
424
|
], exports.LuksoSelect.prototype, "value", 2);
|
|
426
425
|
__decorateClass([
|
|
427
|
-
|
|
426
|
+
property.n({ type: String })
|
|
428
427
|
], exports.LuksoSelect.prototype, "placeholder", 2);
|
|
429
428
|
__decorateClass([
|
|
430
|
-
|
|
429
|
+
property.n({ type: String })
|
|
431
430
|
], exports.LuksoSelect.prototype, "label", 2);
|
|
432
431
|
__decorateClass([
|
|
433
|
-
|
|
432
|
+
property.n({ type: String })
|
|
434
433
|
], exports.LuksoSelect.prototype, "id", 2);
|
|
435
434
|
__decorateClass([
|
|
436
|
-
|
|
435
|
+
property.n({ type: String })
|
|
437
436
|
], exports.LuksoSelect.prototype, "description", 2);
|
|
438
437
|
__decorateClass([
|
|
439
|
-
|
|
438
|
+
property.n({ type: String })
|
|
440
439
|
], exports.LuksoSelect.prototype, "error", 2);
|
|
441
440
|
__decorateClass([
|
|
442
|
-
|
|
441
|
+
property.n({ type: Boolean, attribute: "is-full-width" })
|
|
443
442
|
], exports.LuksoSelect.prototype, "isFullWidth", 2);
|
|
444
443
|
__decorateClass([
|
|
445
|
-
|
|
444
|
+
property.n({ type: Boolean, attribute: "is-readonly" })
|
|
446
445
|
], exports.LuksoSelect.prototype, "isReadonly", 2);
|
|
447
446
|
__decorateClass([
|
|
448
|
-
|
|
447
|
+
property.n({ type: Boolean, attribute: "is-disabled" })
|
|
449
448
|
], exports.LuksoSelect.prototype, "isDisabled", 2);
|
|
450
449
|
__decorateClass([
|
|
451
|
-
|
|
450
|
+
property.n({ type: Boolean })
|
|
452
451
|
], exports.LuksoSelect.prototype, "borderless", 2);
|
|
453
452
|
__decorateClass([
|
|
454
|
-
|
|
453
|
+
property.n({ type: String })
|
|
455
454
|
], exports.LuksoSelect.prototype, "options", 2);
|
|
456
455
|
__decorateClass([
|
|
457
|
-
|
|
456
|
+
property.n({ type: Number })
|
|
458
457
|
], exports.LuksoSelect.prototype, "selected", 2);
|
|
459
458
|
__decorateClass([
|
|
460
|
-
|
|
459
|
+
property.n({ type: Boolean, attribute: "is-open" })
|
|
461
460
|
], exports.LuksoSelect.prototype, "isOpen", 2);
|
|
462
461
|
__decorateClass([
|
|
463
|
-
|
|
462
|
+
property.n({ type: Boolean, attribute: "open-top" })
|
|
464
463
|
], exports.LuksoSelect.prototype, "openTop", 2);
|
|
465
464
|
__decorateClass([
|
|
466
|
-
|
|
465
|
+
property.n({ type: Boolean, attribute: "is-large-icon" })
|
|
467
466
|
], exports.LuksoSelect.prototype, "isLargeIcon", 2);
|
|
468
467
|
__decorateClass([
|
|
469
|
-
|
|
468
|
+
property.n({ type: Boolean, attribute: "is-right" })
|
|
470
469
|
], exports.LuksoSelect.prototype, "isRight", 2);
|
|
471
470
|
__decorateClass([
|
|
472
|
-
|
|
471
|
+
property.n({ type: String })
|
|
473
472
|
], exports.LuksoSelect.prototype, "size", 2);
|
|
474
473
|
__decorateClass([
|
|
475
|
-
|
|
474
|
+
property.n({ type: Boolean, attribute: "show-selection-counter" })
|
|
476
475
|
], exports.LuksoSelect.prototype, "showSelectionCounter", 2);
|
|
477
476
|
__decorateClass([
|
|
478
|
-
state.
|
|
477
|
+
state.r()
|
|
479
478
|
], exports.LuksoSelect.prototype, "optionsParsed", 2);
|
|
480
479
|
__decorateClass([
|
|
481
|
-
state.
|
|
480
|
+
state.r()
|
|
482
481
|
], exports.LuksoSelect.prototype, "valueParsed", 2);
|
|
483
482
|
exports.LuksoSelect = __decorateClass([
|
|
484
|
-
|
|
483
|
+
property.t("lukso-select")
|
|
485
484
|
], exports.LuksoSelect);
|