@luzmo/analytics-components-kit 1.0.1-alpha.39 → 1.0.1-alpha.40

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.
Files changed (57) hide show
  1. package/components/bliss-DQej6Odb.cjs +20 -0
  2. package/components/bliss-Da17RL_E.js +80 -0
  3. package/components/classic-CW66MgMj.cjs +20 -0
  4. package/components/classic-DSp70wnP.js +86 -0
  5. package/components/classic-dark-DCtf8kpl.cjs +20 -0
  6. package/components/classic-dark-o89nk6Bo.js +77 -0
  7. package/components/default-DBxqR7y5.js +84 -0
  8. package/components/default-DcRD5JRU.cjs +20 -0
  9. package/components/default-dark-1299UcUs.cjs +20 -0
  10. package/components/default-dark-IedybpaJ.js +84 -0
  11. package/components/draggable-data-item-level/index.cjs +1 -1
  12. package/components/draggable-data-item-level/index.js +1 -1
  13. package/components/droppable-slot/index.cjs +1 -1
  14. package/components/droppable-slot/index.js +1 -1
  15. package/components/filter-item/index.cjs +1 -1
  16. package/components/filter-item/index.js +1 -1
  17. package/components/filter-value-picker-hierarchy/index.cjs +1 -1
  18. package/components/filter-value-picker-hierarchy/index.js +1 -2
  19. package/components/filter-value-picker-numeric/index.cjs +1 -1
  20. package/components/filter-value-picker-numeric/index.js +1 -1
  21. package/components/grid/grid.d.ts +5 -1
  22. package/components/grid/index.cjs +46 -45
  23. package/components/grid/index.js +1217 -1193
  24. package/components/index.cjs +1 -1
  25. package/components/index.js +7 -6
  26. package/components/orion-CfUR1e5D.cjs +20 -0
  27. package/components/orion-DiAhsMdg.js +74 -0
  28. package/components/pinky-Cb0md2xU.js +72 -0
  29. package/components/pinky-DptTgIM4.cjs +20 -0
  30. package/components/radiant-C6fqp6jv.js +75 -0
  31. package/components/radiant-Dv7GVveL.cjs +20 -0
  32. package/components/royale-CmXiODck.js +66 -0
  33. package/components/royale-Ooq8M7Ef.cjs +20 -0
  34. package/components/seasonal-9pbLR3XJ.js +80 -0
  35. package/components/seasonal-OSKpFyta.cjs +20 -0
  36. package/components/slot-menu-list/index.cjs +1 -1
  37. package/components/slot-menu-list/index.js +3 -3
  38. package/components/urban-BLQl5Oye.cjs +20 -0
  39. package/components/urban-CZ4PAlar.js +77 -0
  40. package/components/utils-B1rr30GZ.js +60 -0
  41. package/components/utils-CvCeHVBQ.cjs +20 -0
  42. package/components/utils.cjs +1 -1
  43. package/components/utils.js +9 -8
  44. package/components/vivid-B-cgSae_.js +76 -0
  45. package/components/vivid-BpRn83MR.cjs +20 -0
  46. package/item-definitions/marker-map/marker-map-options.config.d.ts +1 -1
  47. package/package.json +1 -1
  48. package/utils/index.d.ts +1 -1
  49. package/utils/themes/index.d.ts +3 -508
  50. package/utils/themes/utils.d.ts +1 -0
  51. package/components/get-css-variable-BEYG097C.js +0 -1446
  52. package/components/get-css-variable-BZxY4IOa.cjs +0 -35
  53. package/components/grid/default-actions.d.ts +0 -14
  54. package/components/index-CcLRp9ao.js +0 -1685
  55. package/components/index-CpGRysX_.js +0 -691
  56. package/components/index-DFHExzGq.cjs +0 -20
  57. package/components/index-GgkqKtE6.cjs +0 -20
@@ -0,0 +1,20 @@
1
+ /*! * A kit of modern Luzmo Web Components for analytics in your web application.
2
+ *
3
+ * Copyright © 2025 Luzmo
4
+ * All rights reserved.
5
+ * Luzmo web components (“Luzmo Web Components”)
6
+ * must be used according to the Luzmo Terms of Service.
7
+ * This license allows users with a current active Luzmo account
8
+ * to use the Luzmo Web Components. This license terminates
9
+ * automatically if a user no longer has an active Luzmo account.
10
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
11
+ *
12
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
+ * SOFTWARE.
19
+ * */
20
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={type:"platform",background:"#ffffff",itemsBackground:"#ffffff",boxShadow:{size:"none",color:"rgb(0,0,0)"},title:{align:"center",bold:!1,italic:!1,underline:!1,border:!0},font:{fontFamily:"Open Sans",fontSize:13},colors:["#b8d8ff","#3ba0ff","#0044f2","#1b00ca","#9114de","#ce42ff","#ff19f6","#ed2bab","#d8175c","#ff303d","#ff6130","#ff9f30","#15BF49","#95E88C"],borders:{"border-color":"rgba(0, 0, 0, .1)","border-style":"none","border-radius":"8px","border-top-width":"1px","border-left-width":"1px","border-right-width":"1px","border-bottom-width":"1px"},margins:[10,10],mainColor:"#0578ff",axis:{},legend:{type:"normal"},tooltip:{},itemSpecific:{rounding:8,padding:4},name:"Bliss",editModeBackground:"#eeeeee"};exports.blissTheme=e;
@@ -0,0 +1,80 @@
1
+ /*! * A kit of modern Luzmo Web Components for analytics in your web application.
2
+ *
3
+ * Copyright © 2025 Luzmo
4
+ * All rights reserved.
5
+ * Luzmo web components (“Luzmo Web Components”)
6
+ * must be used according to the Luzmo Terms of Service.
7
+ * This license allows users with a current active Luzmo account
8
+ * to use the Luzmo Web Components. This license terminates
9
+ * automatically if a user no longer has an active Luzmo account.
10
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
11
+ *
12
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
+ * SOFTWARE.
19
+ * */
20
+ const e = {
21
+ type: "platform",
22
+ background: "#ffffff",
23
+ itemsBackground: "#ffffff",
24
+ boxShadow: {
25
+ size: "none",
26
+ color: "rgb(0,0,0)"
27
+ },
28
+ title: {
29
+ align: "center",
30
+ bold: !1,
31
+ italic: !1,
32
+ underline: !1,
33
+ border: !0
34
+ },
35
+ font: {
36
+ fontFamily: "Open Sans",
37
+ fontSize: 13
38
+ },
39
+ colors: [
40
+ "#b8d8ff",
41
+ "#3ba0ff",
42
+ "#0044f2",
43
+ "#1b00ca",
44
+ "#9114de",
45
+ "#ce42ff",
46
+ "#ff19f6",
47
+ "#ed2bab",
48
+ "#d8175c",
49
+ "#ff303d",
50
+ "#ff6130",
51
+ "#ff9f30",
52
+ "#15BF49",
53
+ "#95E88C"
54
+ ],
55
+ borders: {
56
+ "border-color": "rgba(0, 0, 0, .1)",
57
+ "border-style": "none",
58
+ "border-radius": "8px",
59
+ "border-top-width": "1px",
60
+ "border-left-width": "1px",
61
+ "border-right-width": "1px",
62
+ "border-bottom-width": "1px"
63
+ },
64
+ margins: [10, 10],
65
+ mainColor: "#0578ff",
66
+ axis: {},
67
+ legend: {
68
+ type: "normal"
69
+ },
70
+ tooltip: {},
71
+ itemSpecific: {
72
+ rounding: 8,
73
+ padding: 4
74
+ },
75
+ name: "Bliss",
76
+ editModeBackground: "#eeeeee"
77
+ };
78
+ export {
79
+ e as blissTheme
80
+ };
@@ -0,0 +1,20 @@
1
+ /*! * A kit of modern Luzmo Web Components for analytics in your web application.
2
+ *
3
+ * Copyright © 2025 Luzmo
4
+ * All rights reserved.
5
+ * Luzmo web components (“Luzmo Web Components”)
6
+ * must be used according to the Luzmo Terms of Service.
7
+ * This license allows users with a current active Luzmo account
8
+ * to use the Luzmo Web Components. This license terminates
9
+ * automatically if a user no longer has an active Luzmo account.
10
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
11
+ *
12
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
+ * SOFTWARE.
19
+ * */
20
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={type:"platform",background:"#F2F2F2",itemsBackground:"#ffffff",boxShadow:{size:"none",color:"rgb(0, 0, 0)"},title:{align:"center",bold:!1,italic:!1,underline:!1,border:!0},font:{fontFamily:"Open Sans",fontSize:13},colors:["#0E89E0","#52B6F0","#8FD0F1","#BDDCF9","#F45000","#FF8E3B","#FFB069","#FFCFA1","#15BF49","#60D863","#95E88C","#C1F3B7","#685AC2","#958FD3","#B4B6E4","#D7D7EF","#636363","#969696","#BDBDBD","#D9D9D9"],borders:{"border-color":"rgba(0, 0, 0, .1)","border-style":"none","border-radius":"3px","border-top-width":"1px","border-left-width":"1px","border-right-width":"1px","border-bottom-width":"1px"},margins:[10,10],mainColor:"#009dff",axis:{},legend:{type:"normal"},tooltip:{},itemSpecific:{rounding:8,padding:4},name:"Classic (light)",editModeBackground:"#ececec"};exports.classicTheme=e;
@@ -0,0 +1,86 @@
1
+ /*! * A kit of modern Luzmo Web Components for analytics in your web application.
2
+ *
3
+ * Copyright © 2025 Luzmo
4
+ * All rights reserved.
5
+ * Luzmo web components (“Luzmo Web Components”)
6
+ * must be used according to the Luzmo Terms of Service.
7
+ * This license allows users with a current active Luzmo account
8
+ * to use the Luzmo Web Components. This license terminates
9
+ * automatically if a user no longer has an active Luzmo account.
10
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
11
+ *
12
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
+ * SOFTWARE.
19
+ * */
20
+ const e = {
21
+ type: "platform",
22
+ background: "#F2F2F2",
23
+ itemsBackground: "#ffffff",
24
+ boxShadow: {
25
+ size: "none",
26
+ color: "rgb(0, 0, 0)"
27
+ },
28
+ title: {
29
+ align: "center",
30
+ bold: !1,
31
+ italic: !1,
32
+ underline: !1,
33
+ border: !0
34
+ },
35
+ font: {
36
+ fontFamily: "Open Sans",
37
+ fontSize: 13
38
+ },
39
+ colors: [
40
+ "#0E89E0",
41
+ "#52B6F0",
42
+ "#8FD0F1",
43
+ "#BDDCF9",
44
+ "#F45000",
45
+ "#FF8E3B",
46
+ "#FFB069",
47
+ "#FFCFA1",
48
+ "#15BF49",
49
+ "#60D863",
50
+ "#95E88C",
51
+ "#C1F3B7",
52
+ "#685AC2",
53
+ "#958FD3",
54
+ "#B4B6E4",
55
+ "#D7D7EF",
56
+ "#636363",
57
+ "#969696",
58
+ "#BDBDBD",
59
+ "#D9D9D9"
60
+ ],
61
+ borders: {
62
+ "border-color": "rgba(0, 0, 0, .1)",
63
+ "border-style": "none",
64
+ "border-radius": "3px",
65
+ "border-top-width": "1px",
66
+ "border-left-width": "1px",
67
+ "border-right-width": "1px",
68
+ "border-bottom-width": "1px"
69
+ },
70
+ margins: [10, 10],
71
+ mainColor: "#009dff",
72
+ axis: {},
73
+ legend: {
74
+ type: "normal"
75
+ },
76
+ tooltip: {},
77
+ itemSpecific: {
78
+ rounding: 8,
79
+ padding: 4
80
+ },
81
+ name: "Classic (light)",
82
+ editModeBackground: "#ececec"
83
+ };
84
+ export {
85
+ e as classicTheme
86
+ };
@@ -0,0 +1,20 @@
1
+ /*! * A kit of modern Luzmo Web Components for analytics in your web application.
2
+ *
3
+ * Copyright © 2025 Luzmo
4
+ * All rights reserved.
5
+ * Luzmo web components (“Luzmo Web Components”)
6
+ * must be used according to the Luzmo Terms of Service.
7
+ * This license allows users with a current active Luzmo account
8
+ * to use the Luzmo Web Components. This license terminates
9
+ * automatically if a user no longer has an active Luzmo account.
10
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
11
+ *
12
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
+ * SOFTWARE.
19
+ * */
20
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={type:"platform",background:"rgb(38,39,50)",itemsBackground:"rgba(52,53,68,1)",boxShadow:{size:"none",color:"rgb(0, 0, 0)"},title:{align:"center",bold:!1,italic:!1,underline:!1,border:!0},font:{fontFamily:"Open Sans",fontSize:13},colors:["#0E89E0","#52B6F0","#8FD0F1","#BDDCF9","#F45000","#FF8E3B","#FFB069","#FFCFA1","#15BF49","#60D863","#95E88C","#C1F3B7","#685AC2","#958FD3","#B4B6E4","#D7D7EF","#636363","#969696","#BDBDBD","#D9D9D9"],borders:{},margins:[10,10],mainColor:"#0E89E0",axis:{},legend:{type:"line"},tooltip:{},itemSpecific:{rounding:8,padding:4},name:"Classic (dark)"};exports.classicDarkTheme=e;
@@ -0,0 +1,77 @@
1
+ /*! * A kit of modern Luzmo Web Components for analytics in your web application.
2
+ *
3
+ * Copyright © 2025 Luzmo
4
+ * All rights reserved.
5
+ * Luzmo web components (“Luzmo Web Components”)
6
+ * must be used according to the Luzmo Terms of Service.
7
+ * This license allows users with a current active Luzmo account
8
+ * to use the Luzmo Web Components. This license terminates
9
+ * automatically if a user no longer has an active Luzmo account.
10
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
11
+ *
12
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
+ * SOFTWARE.
19
+ * */
20
+ const e = {
21
+ type: "platform",
22
+ background: "rgb(38,39,50)",
23
+ itemsBackground: "rgba(52,53,68,1)",
24
+ boxShadow: {
25
+ size: "none",
26
+ color: "rgb(0, 0, 0)"
27
+ },
28
+ title: {
29
+ align: "center",
30
+ bold: !1,
31
+ italic: !1,
32
+ underline: !1,
33
+ border: !0
34
+ },
35
+ font: {
36
+ fontFamily: "Open Sans",
37
+ fontSize: 13
38
+ },
39
+ colors: [
40
+ "#0E89E0",
41
+ "#52B6F0",
42
+ "#8FD0F1",
43
+ "#BDDCF9",
44
+ "#F45000",
45
+ "#FF8E3B",
46
+ "#FFB069",
47
+ "#FFCFA1",
48
+ "#15BF49",
49
+ "#60D863",
50
+ "#95E88C",
51
+ "#C1F3B7",
52
+ "#685AC2",
53
+ "#958FD3",
54
+ "#B4B6E4",
55
+ "#D7D7EF",
56
+ "#636363",
57
+ "#969696",
58
+ "#BDBDBD",
59
+ "#D9D9D9"
60
+ ],
61
+ borders: {},
62
+ margins: [10, 10],
63
+ mainColor: "#0E89E0",
64
+ axis: {},
65
+ legend: {
66
+ type: "line"
67
+ },
68
+ tooltip: {},
69
+ itemSpecific: {
70
+ rounding: 8,
71
+ padding: 4
72
+ },
73
+ name: "Classic (dark)"
74
+ };
75
+ export {
76
+ e as classicDarkTheme
77
+ };
@@ -0,0 +1,84 @@
1
+ /*! * A kit of modern Luzmo Web Components for analytics in your web application.
2
+ *
3
+ * Copyright © 2025 Luzmo
4
+ * All rights reserved.
5
+ * Luzmo web components (“Luzmo Web Components”)
6
+ * must be used according to the Luzmo Terms of Service.
7
+ * This license allows users with a current active Luzmo account
8
+ * to use the Luzmo Web Components. This license terminates
9
+ * automatically if a user no longer has an active Luzmo account.
10
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
11
+ *
12
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
+ * SOFTWARE.
19
+ * */
20
+ const r = {
21
+ type: "platform",
22
+ background: "rgb(245,245,245)",
23
+ itemsBackground: "rgb(255,255,255)",
24
+ boxShadow: {
25
+ size: "none",
26
+ color: "rgb(0, 0, 0)"
27
+ },
28
+ title: {
29
+ align: "left",
30
+ bold: !1,
31
+ italic: !1,
32
+ underline: !1,
33
+ border: !1
34
+ },
35
+ font: {
36
+ fontFamily: "Lato",
37
+ "font-style": "normal",
38
+ "font-weight": 400,
39
+ fontSize: 15
40
+ },
41
+ colors: [
42
+ "rgb(68,52,255)",
43
+ "rgb(143,133,255)",
44
+ "rgb(218,214,255)",
45
+ "rgb(191,5,184)",
46
+ "rgb(217,105,212)",
47
+ "rgb(242,205,241)",
48
+ "rgb(248,194,12)",
49
+ "rgb(251,218,109)",
50
+ "rgb(254,243,206)",
51
+ "rgb(9,203,120)",
52
+ "rgb(107,224,174)",
53
+ "rgb(206,245,228)",
54
+ "rgb(122,112,112)",
55
+ "rgb(175,169,169)",
56
+ "rgb(228,226,226)"
57
+ ],
58
+ borders: {
59
+ "border-color": "rgba(216,216,216,1)",
60
+ "border-style": "none",
61
+ "border-radius": "12px",
62
+ "border-top-width": "0px",
63
+ "border-left-width": "0px",
64
+ "border-right-width": "0px",
65
+ "border-bottom-width": "0px"
66
+ },
67
+ margins: [16, 16],
68
+ mainColor: "rgb(68,52,255)",
69
+ axis: {},
70
+ legend: {
71
+ type: "circle"
72
+ },
73
+ tooltip: {
74
+ background: "rgb(38,38,38)"
75
+ },
76
+ itemSpecific: {
77
+ rounding: 8,
78
+ padding: 4
79
+ },
80
+ name: "Default (light)"
81
+ };
82
+ export {
83
+ r as defaultTheme
84
+ };
@@ -0,0 +1,20 @@
1
+ /*! * A kit of modern Luzmo Web Components for analytics in your web application.
2
+ *
3
+ * Copyright © 2025 Luzmo
4
+ * All rights reserved.
5
+ * Luzmo web components (“Luzmo Web Components”)
6
+ * must be used according to the Luzmo Terms of Service.
7
+ * This license allows users with a current active Luzmo account
8
+ * to use the Luzmo Web Components. This license terminates
9
+ * automatically if a user no longer has an active Luzmo account.
10
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
11
+ *
12
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
+ * SOFTWARE.
19
+ * */
20
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r={type:"platform",background:"rgb(245,245,245)",itemsBackground:"rgb(255,255,255)",boxShadow:{size:"none",color:"rgb(0, 0, 0)"},title:{align:"left",bold:!1,italic:!1,underline:!1,border:!1},font:{fontFamily:"Lato","font-style":"normal","font-weight":400,fontSize:15},colors:["rgb(68,52,255)","rgb(143,133,255)","rgb(218,214,255)","rgb(191,5,184)","rgb(217,105,212)","rgb(242,205,241)","rgb(248,194,12)","rgb(251,218,109)","rgb(254,243,206)","rgb(9,203,120)","rgb(107,224,174)","rgb(206,245,228)","rgb(122,112,112)","rgb(175,169,169)","rgb(228,226,226)"],borders:{"border-color":"rgba(216,216,216,1)","border-style":"none","border-radius":"12px","border-top-width":"0px","border-left-width":"0px","border-right-width":"0px","border-bottom-width":"0px"},margins:[16,16],mainColor:"rgb(68,52,255)",axis:{},legend:{type:"circle"},tooltip:{background:"rgb(38,38,38)"},itemSpecific:{rounding:8,padding:4},name:"Default (light)"};exports.defaultTheme=r;
@@ -0,0 +1,20 @@
1
+ /*! * A kit of modern Luzmo Web Components for analytics in your web application.
2
+ *
3
+ * Copyright © 2025 Luzmo
4
+ * All rights reserved.
5
+ * Luzmo web components (“Luzmo Web Components”)
6
+ * must be used according to the Luzmo Terms of Service.
7
+ * This license allows users with a current active Luzmo account
8
+ * to use the Luzmo Web Components. This license terminates
9
+ * automatically if a user no longer has an active Luzmo account.
10
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
11
+ *
12
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
+ * SOFTWARE.
19
+ * */
20
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r={type:"platform",background:"rgb(61,61,61)",itemsBackground:"rgb(38,38,38)",boxShadow:{size:"none",color:"rgb(0, 0, 0)"},title:{align:"left",bold:!1,italic:!1,underline:!1,border:!1},font:{fontFamily:"Lato","font-style":"normal","font-weight":400,fontSize:15},colors:["rgb(48,36,179)","rgb(105,93,255)","rgb(199,194,255)","rgb(134,4,129)","rgb(204,55,198)","rgb(236,180,234)","rgb(220,141,0)","rgb(249,206,61)","rgb(253,237,182)","rgb(6,142,84)","rgb(58,213,147)","rgb(181,239,215)","rgb(85,78,78)","rgb(149,141,141)","rgb(215,212,212)"],borders:{"border-color":"rgba(216,216,216,1)","border-style":"none","border-radius":"12px","border-top-width":"0px","border-left-width":"0px","border-right-width":"0px","border-bottom-width":"0px"},margins:[16,16],mainColor:"rgb(123,144,255)",axis:{},legend:{type:"circle"},tooltip:{background:"rgb(248,248,248)"},itemSpecific:{rounding:8,padding:4},name:"Default (dark)"};exports.defaultDarkTheme=r;
@@ -0,0 +1,84 @@
1
+ /*! * A kit of modern Luzmo Web Components for analytics in your web application.
2
+ *
3
+ * Copyright © 2025 Luzmo
4
+ * All rights reserved.
5
+ * Luzmo web components (“Luzmo Web Components”)
6
+ * must be used according to the Luzmo Terms of Service.
7
+ * This license allows users with a current active Luzmo account
8
+ * to use the Luzmo Web Components. This license terminates
9
+ * automatically if a user no longer has an active Luzmo account.
10
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
11
+ *
12
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
+ * SOFTWARE.
19
+ * */
20
+ const r = {
21
+ type: "platform",
22
+ background: "rgb(61,61,61)",
23
+ itemsBackground: "rgb(38,38,38)",
24
+ boxShadow: {
25
+ size: "none",
26
+ color: "rgb(0, 0, 0)"
27
+ },
28
+ title: {
29
+ align: "left",
30
+ bold: !1,
31
+ italic: !1,
32
+ underline: !1,
33
+ border: !1
34
+ },
35
+ font: {
36
+ fontFamily: "Lato",
37
+ "font-style": "normal",
38
+ "font-weight": 400,
39
+ fontSize: 15
40
+ },
41
+ colors: [
42
+ "rgb(48,36,179)",
43
+ "rgb(105,93,255)",
44
+ "rgb(199,194,255)",
45
+ "rgb(134,4,129)",
46
+ "rgb(204,55,198)",
47
+ "rgb(236,180,234)",
48
+ "rgb(220,141,0)",
49
+ "rgb(249,206,61)",
50
+ "rgb(253,237,182)",
51
+ "rgb(6,142,84)",
52
+ "rgb(58,213,147)",
53
+ "rgb(181,239,215)",
54
+ "rgb(85,78,78)",
55
+ "rgb(149,141,141)",
56
+ "rgb(215,212,212)"
57
+ ],
58
+ borders: {
59
+ "border-color": "rgba(216,216,216,1)",
60
+ "border-style": "none",
61
+ "border-radius": "12px",
62
+ "border-top-width": "0px",
63
+ "border-left-width": "0px",
64
+ "border-right-width": "0px",
65
+ "border-bottom-width": "0px"
66
+ },
67
+ margins: [16, 16],
68
+ mainColor: "rgb(123,144,255)",
69
+ axis: {},
70
+ legend: {
71
+ type: "circle"
72
+ },
73
+ tooltip: {
74
+ background: "rgb(248,248,248)"
75
+ },
76
+ itemSpecific: {
77
+ rounding: 8,
78
+ padding: 4
79
+ },
80
+ name: "Default (dark)"
81
+ };
82
+ export {
83
+ r as defaultDarkTheme
84
+ };
@@ -17,7 +17,7 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("../get-css-variable-BZxY4IOa.cjs"),b=require("../luzmo-icons-DAsjNJNI.cjs");require("../index-DSQyBS9Z.cjs");require("../index-CAJRL5rT.cjs");const r=require("../property-BCb4Kybn.cjs"),M=require("../focusable-BTJYY_Mf.cjs"),T=require("../sized-mixin-BNtmplgF.cjs"),O=require("../calculate-data-item-icon-Bygfq3KO.cjs"),B=require("../localize-r7ALOUy_.cjs"),F=":host{font-family:var(--luzmo-draggable-data-item-level-font-family, var(--luzmo-font-family));color:var(--luzmo-draggable-data-item-level-font-color, var(--draggable-data-item-level-font-color))}.draggable-data-item-level{transition:background-color var(--luzmo-animation-duration);background-color:var(--luzmo-draggable-data-item-level-background-color, var(--draggable-data-item-level-background-color));display:flex;justify-content:space-between;align-items:center;padding:0 var(--luzmo-draggable-data-item-level-horizontal-padding, var(--draggable-data-item-level-horizontal-padding));gap:var(--luzmo-draggable-data-item-level-gap, var(--draggable-data-item-level-gap));border-radius:var(--luzmo-draggable-data-item-level-border-radius, var(--draggable-data-item-level-border-radius));border-width:var(--luzmo-draggable-data-item-level-border-width, var(--draggable-data-item-level-border-width));border-style:var(--luzmo-draggable-data-item-level-border-style, var(--draggable-data-item-level-border-style));border-color:var(--luzmo-draggable-data-item-level-border-color, var(--draggable-data-item-level-border-color));height:var(--luzmo-draggable-data-item-level-height, var(--draggable-data-item-level-height));cursor:move}.draggable-data-item-level:hover{background-color:var(--luzmo-draggable-data-item-level-background-color-hover, var(--draggable-data-item-level-background-color-hover));color:var(--luzmo-draggable-data-item-level-font-color-hover, var(--draggable-data-item-level-font-color-hover));border-color:var(--luzmo-draggable-data-item-level-border-color-hover, var(--draggable-data-item-level-border-color-hover))}.draggable-data-item-level .data-label{font-size:var(--luzmo-draggable-data-item-level-label-font-size, var(--draggable-data-item-level-label-font-size));white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host([sublevel]) .draggable-data-item-level{height:var(--luzmo-draggable-data-item-level-sublevel-height, var(--draggable-data-item-level-sublevel-height));background-color:var(--luzmo-draggable-data-item-level-sublevel-background-color, var(--draggable-data-item-level-sublevel-background-color));border-color:var(--luzmo-draggable-data-item-level-sublevel-border-color, var(--draggable-data-item-level-sublevel-border-color));margin-inline-start:var(--luzmo-draggable-data-item-level-sublevel-margin-inline-start, var(--draggable-data-item-level-sublevel-margin-inline-start))}:host([sublevel]) .draggable-data-item-level:hover{background-color:var(--luzmo-draggable-data-item-level-sublevel-background-color-hover, var(--draggable-data-item-level-sublevel-background-color-hover))}:host([sublevel]) .draggable-data-item-level .drag-handle-icon{width:var(--luzmo-draggable-data-item-level-sublevel-drag-handle-width, var(--draggable-data-item-level-sublevel-drag-handle-width));text-align:center}:host([disabled]) .draggable-data-item-level{background-color:var(--luzmo-draggable-data-item-level-background-color-disabled, var(--draggable-data-item-level-background-color-disabled));color:var(--luzmo-draggable-data-item-level-color-disabled, var(--draggable-data-item-level-color-disabled));cursor:not-allowed}:host([disabled]) .drag-handle-icon{opacity:.25}:host([sublevel][disabled]) .draggable-data-item-level{background-color:var(--luzmo-draggable-data-item-level-sublevel-background-color-disabled, var(--draggable-data-item-level-sublevel-background-color-disabled))}.drag-handle-icon{opacity:.6;font-size:var(--luzmo-draggable-data-item-level-drag-handle-size, var(--luzmo-draggable-data-item-level-drag-handle-size));width:var(--luzmo-draggable-data-item-level-drag-handle-width, var(--luzmo-draggable-data-item-level-drag-handle-width));text-align:center}.data-icon-type{width:var(--luzmo-draggable-data-item-level-data-icon-width, var(--luzmo-draggable-data-item-level-data-icon-width));text-align:center}.data-label{flex-grow:1}.data-description{height:100%;display:flex;align-items:center;background-color:transparent;outline:none;border:none;color:var(--luzmo-draggable-data-item-level-font-color, var(--draggable-data-item-level-font-color));font-size:var(--luzmo-draggable-data-item-level-label-font-size, var(--draggable-data-item-level-label-font-size))}:host([variant=highlight]){--draggable-data-item-level-background-color: var( --luzmo-background-color-highlight );--draggable-data-item-level-border-color: var( --luzmo-background-color-highlight );--draggable-data-item-level-background-color-hover: var( --luzmo-background-color-highlight-hover );--draggable-data-item-level-font-color-hover: var(--luzmo-font-color-hover);--draggable-data-item-level-border-color-hover: var( --luzmo-background-color-highlight-hover )}:host{--draggable-data-item-level-height: var(--luzmo-component-height);--draggable-data-item-level-label-font-size: var(--luzmo-font-size);--draggable-data-item-level-icon-type-size: var(--luzmo-font-size);--draggable-data-item-level-horizontal-padding: var(--luzmo-spacing-5);--draggable-data-item-level-border-width: var(--luzmo-border-width);--draggable-data-item-level-border-style: solid;--draggable-data-item-level-border-color: var(--luzmo-border-color-hover);--draggable-data-item-level-border-radius: var(--luzmo-border-radius);--draggable-data-item-level-gap: var(--luzmo-spacing-4);--draggable-data-item-level-font-color: var(--luzmo-font-color);--draggable-data-item-level-color-disabled: var(--luzmo-color-disabled);--draggable-data-item-level-background-color-disabled: var( --luzmo-background-color-disabled );--luzmo-draggable-data-item-level-drag-handle-size: var(--luzmo-font-size-s);--luzmo-draggable-data-item-level-drag-handle-width: var( --draggable-data-item-level-icon-type-size );--luzmo-draggable-data-item-level-data-icon-width: calc( var(--draggable-data-item-level-icon-type-size) + var(--luzmo-spacing-3) );--draggable-data-item-level-sublevel-height: var(--luzmo-component-height-s);--draggable-data-item-level-sublevel-border-color: transparent;--draggable-data-item-level-sublevel-background-color: transparent;--draggable-data-item-level-sublevel-background-color-disabled: transparent;--draggable-data-item-level-sublevel-margin-inline-start: calc( var(--draggable-data-item-level-gap) + var(--luzmo-draggable-data-item-level-drag-handle-width) );--luzmo-draggable-data-item-level-sublevel-drag-handle-width: var( --luzmo-draggable-data-item-level-data-icon-width );--draggable-data-item-level-sublevel-background-color-hover: rgba( var(--luzmo-border-color-rgb), .05 )}:host([hide-type-icon]){--draggable-data-item-level-sublevel-margin-inline-start: var( --draggable-data-item-level-gap )}:host([size=s]){--draggable-data-item-level-height: var(--luzmo-component-height-s);--draggable-data-item-level-label-font-size: var(--luzmo-font-size-s);--draggable-data-item-level-icon-type-size: var(--luzmo-font-size-s);--draggable-data-item-level-horizontal-padding: var(--luzmo-spacing-4);--draggable-data-item-level-border-radius: var(--luzmo-border-radius);--draggable-data-item-level-gap: var(--luzmo-spacing-3);--draggable-data-item-level-sublevel-height: var(--luzmo-component-height-xs);--luzmo-draggable-data-item-level-drag-handle-size: var(--luzmo-font-size-xs)}:host([size=l]){--draggable-data-item-level-height: var(--luzmo-component-height-l);--draggable-data-item-level-label-font-size: var(--luzmo-font-size-l);--draggable-data-item-level-icon-type-size: var(--luzmo-font-size-l);--draggable-data-item-level-horizontal-padding: var(--luzmo-spacing-5);--draggable-data-item-level-border-radius: var(--luzmo-border-radius-l);--draggable-data-item-level-gap: var(--luzmo-spacing-5);--draggable-data-item-level-sublevel-height: var(--luzmo-component-height);--luzmo-draggable-data-item-level-drag-handle-size: var(--luzmo-font-size)}:host([size=xl]){--draggable-data-item-level-height: var(--luzmo-component-height-xl);--draggable-data-item-level-label-font-size: var(--luzmo-font-size-xl);--draggable-data-item-level-icon-type-size: var(--luzmo-font-size-xl);--draggable-data-item-level-horizontal-padding: var(--luzmo-spacing-5);--draggable-data-item-level-border-radius: var(--luzmo-border-radius-xl);--draggable-data-item-level-gap: var(--luzmo-spacing-5);--draggable-data-item-level-sublevel-height: var(--luzmo-component-height-l);--luzmo-draggable-data-item-level-drag-handle-size: var(--luzmo-font-size-l)}:host{box-sizing:border-box}",U=e=>{var s,c,u,h,y,k,w,x,D,S,C,I,q,P,$,E,j;const d=e.source.element;let a="";(h=(u=(c=(s=e.source)==null?void 0:s.element)==null?void 0:c.renderRoot)==null?void 0:u.querySelector(".data-label"))!=null&&h.textContent&&(a=(w=(k=(y=e.source)==null?void 0:y.element)==null?void 0:k.renderRoot)==null?void 0:w.querySelector(".data-label").textContent),a||(a=B.localize((D=(x=e==null?void 0:e.source)==null?void 0:x.data)==null?void 0:D.label,(C=(S=e==null?void 0:e.source)==null?void 0:S.element)==null?void 0:C.language),a=a||"Untitled");const n=(q=(I=e==null?void 0:e.source)==null?void 0:I.data)==null?void 0:q.type,t=($=(P=e==null?void 0:e.source)==null?void 0:P.data)==null?void 0:$.subtype,i=O.calculateDataItemIcon({type:n,subtype:t},d.size),l={};[["borderColor","--luzmo-draggable-data-item-level-border-color","--draggable-data-item-level-border-color"],["backgroundColor","--luzmo-draggable-data-item-level-background-color","--draggable-data-item-level-background-color"],["color","--luzmo-draggable-data-item-level-font-color","--draggable-data-item-level-font-color"],["fontSize","--luzmo-draggable-data-item-level-label-font-size","--draggable-data-item-level-label-font-size"],["height","--luzmo-draggable-data-item-level-height","--draggable-data-item-level-height"],["borderRadius","--luzmo-draggable-data-item-level-border-radius","--draggable-data-item-level-border-radius"],["fontFamily","--luzmo-draggable-data-item-level-font-family","--luzmo-font-family"],["horizontalPadding","--luzmo-draggable-data-item-level-horizontal-padding","--draggable-data-item-level-horizontal-padding"],["gap","--luzmo-draggable-data-item-level-gap","--draggable-data-item-level-gap"]].forEach(([z,_,R])=>{const V=p.getCssVariableValue(d,_)||p.getCssVariableValue(d,R);l[z]=V});const m=document.createElement("div"),v=document.createElement("div");if(m.innerHTML=a,!((j=(E=e==null?void 0:e.source)==null?void 0:E.element)!=null&&j.sublevel)){const z=document.createElement("luzmo-icon");z.icon=i,v.append(z)}return v.append(m),Object.assign(v.style,{display:"flex",alignItems:"center",height:l.height,border:`1px solid ${l.borderColor}`,backgroundColor:l.backgroundColor,borderRadius:l.borderRadius,fontFamily:l.fontFamily,fontSize:l.fontSize,color:l.color,padding:`0 ${l.horizontalPadding}`,gap:l.gap}),v};var L=Object.defineProperty,g=(e,d,a,n)=>{for(var t=void 0,i=e.length-1,l;i>=0;i--)(l=e[i])&&(t=l(d,a,t)||t);return t&&L(d,a,t),t};const f=class f extends T.SizedMixin(M.LuzmoElement,{validSizes:["s","m","l","xl"],noDefaultSize:!0}){constructor(){super(...arguments),this.language="en",this.data={},this.dataItemLevelDropped=d=>{this.dispatchEvent(new CustomEvent("data-item-dropped",{bubbles:!0,composed:!0,cancelable:!0,detail:{data:d}}))}}disconnectedCallback(){super.disconnectedCallback(),this._cleanupDraggable()}firstUpdated(d){this._cleanupDraggable=p.draggable({element:this,canDrag:()=>!this.disabled,onDragStart:()=>{this.style.opacity="0.5"},onDrop:()=>{this.style.opacity="1",this.dataItemLevelDropped(this.data)},getInitialData:()=>{const a={...this.data};return this.label&&this.language&&!this.sublevel&&(a.label={},a.label[this.language]=this.label),this.description&&this.language&&(a.description={},a.description[this.language]=this.description),a},onGenerateDragPreview:a=>{const n=a.nativeSetDragImage;p.setCustomNativeDragPreview({render({container:t}){const i=U(a);t.append(i)},nativeSetDragImage:n})}})}render(){var n,t,i,l,m,v,s,c,u,h;const d=this.label??((t=(n=this.data)==null?void 0:n.label)==null?void 0:t[this.language])??((m=(i=this.data)==null?void 0:i.label)==null?void 0:m[Object.keys((l=this.data)==null?void 0:l.label)[0]])??"Untitled",a=this.description??((s=(v=this.data)==null?void 0:v.description)==null?void 0:s[this.language])??((h=(c=this.data)==null?void 0:c.description)==null?void 0:h[Object.keys((u=this.data)==null?void 0:u.description)[0]]);return r.x`
20
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("../get-css-variable-DLiZYZEi.cjs"),b=require("../luzmo-icons-DAsjNJNI.cjs");require("../index-DSQyBS9Z.cjs");require("../index-CAJRL5rT.cjs");const r=require("../property-BCb4Kybn.cjs"),M=require("../focusable-BTJYY_Mf.cjs"),T=require("../sized-mixin-BNtmplgF.cjs"),O=require("../calculate-data-item-icon-Bygfq3KO.cjs"),B=require("../localize-r7ALOUy_.cjs"),F=":host{font-family:var(--luzmo-draggable-data-item-level-font-family, var(--luzmo-font-family));color:var(--luzmo-draggable-data-item-level-font-color, var(--draggable-data-item-level-font-color))}.draggable-data-item-level{transition:background-color var(--luzmo-animation-duration);background-color:var(--luzmo-draggable-data-item-level-background-color, var(--draggable-data-item-level-background-color));display:flex;justify-content:space-between;align-items:center;padding:0 var(--luzmo-draggable-data-item-level-horizontal-padding, var(--draggable-data-item-level-horizontal-padding));gap:var(--luzmo-draggable-data-item-level-gap, var(--draggable-data-item-level-gap));border-radius:var(--luzmo-draggable-data-item-level-border-radius, var(--draggable-data-item-level-border-radius));border-width:var(--luzmo-draggable-data-item-level-border-width, var(--draggable-data-item-level-border-width));border-style:var(--luzmo-draggable-data-item-level-border-style, var(--draggable-data-item-level-border-style));border-color:var(--luzmo-draggable-data-item-level-border-color, var(--draggable-data-item-level-border-color));height:var(--luzmo-draggable-data-item-level-height, var(--draggable-data-item-level-height));cursor:move}.draggable-data-item-level:hover{background-color:var(--luzmo-draggable-data-item-level-background-color-hover, var(--draggable-data-item-level-background-color-hover));color:var(--luzmo-draggable-data-item-level-font-color-hover, var(--draggable-data-item-level-font-color-hover));border-color:var(--luzmo-draggable-data-item-level-border-color-hover, var(--draggable-data-item-level-border-color-hover))}.draggable-data-item-level .data-label{font-size:var(--luzmo-draggable-data-item-level-label-font-size, var(--draggable-data-item-level-label-font-size));white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host([sublevel]) .draggable-data-item-level{height:var(--luzmo-draggable-data-item-level-sublevel-height, var(--draggable-data-item-level-sublevel-height));background-color:var(--luzmo-draggable-data-item-level-sublevel-background-color, var(--draggable-data-item-level-sublevel-background-color));border-color:var(--luzmo-draggable-data-item-level-sublevel-border-color, var(--draggable-data-item-level-sublevel-border-color));margin-inline-start:var(--luzmo-draggable-data-item-level-sublevel-margin-inline-start, var(--draggable-data-item-level-sublevel-margin-inline-start))}:host([sublevel]) .draggable-data-item-level:hover{background-color:var(--luzmo-draggable-data-item-level-sublevel-background-color-hover, var(--draggable-data-item-level-sublevel-background-color-hover))}:host([sublevel]) .draggable-data-item-level .drag-handle-icon{width:var(--luzmo-draggable-data-item-level-sublevel-drag-handle-width, var(--draggable-data-item-level-sublevel-drag-handle-width));text-align:center}:host([disabled]) .draggable-data-item-level{background-color:var(--luzmo-draggable-data-item-level-background-color-disabled, var(--draggable-data-item-level-background-color-disabled));color:var(--luzmo-draggable-data-item-level-color-disabled, var(--draggable-data-item-level-color-disabled));cursor:not-allowed}:host([disabled]) .drag-handle-icon{opacity:.25}:host([sublevel][disabled]) .draggable-data-item-level{background-color:var(--luzmo-draggable-data-item-level-sublevel-background-color-disabled, var(--draggable-data-item-level-sublevel-background-color-disabled))}.drag-handle-icon{opacity:.6;font-size:var(--luzmo-draggable-data-item-level-drag-handle-size, var(--luzmo-draggable-data-item-level-drag-handle-size));width:var(--luzmo-draggable-data-item-level-drag-handle-width, var(--luzmo-draggable-data-item-level-drag-handle-width));text-align:center}.data-icon-type{width:var(--luzmo-draggable-data-item-level-data-icon-width, var(--luzmo-draggable-data-item-level-data-icon-width));text-align:center}.data-label{flex-grow:1}.data-description{height:100%;display:flex;align-items:center;background-color:transparent;outline:none;border:none;color:var(--luzmo-draggable-data-item-level-font-color, var(--draggable-data-item-level-font-color));font-size:var(--luzmo-draggable-data-item-level-label-font-size, var(--draggable-data-item-level-label-font-size))}:host([variant=highlight]){--draggable-data-item-level-background-color: var( --luzmo-background-color-highlight );--draggable-data-item-level-border-color: var( --luzmo-background-color-highlight );--draggable-data-item-level-background-color-hover: var( --luzmo-background-color-highlight-hover );--draggable-data-item-level-font-color-hover: var(--luzmo-font-color-hover);--draggable-data-item-level-border-color-hover: var( --luzmo-background-color-highlight-hover )}:host{--draggable-data-item-level-height: var(--luzmo-component-height);--draggable-data-item-level-label-font-size: var(--luzmo-font-size);--draggable-data-item-level-icon-type-size: var(--luzmo-font-size);--draggable-data-item-level-horizontal-padding: var(--luzmo-spacing-5);--draggable-data-item-level-border-width: var(--luzmo-border-width);--draggable-data-item-level-border-style: solid;--draggable-data-item-level-border-color: var(--luzmo-border-color-hover);--draggable-data-item-level-border-radius: var(--luzmo-border-radius);--draggable-data-item-level-gap: var(--luzmo-spacing-4);--draggable-data-item-level-font-color: var(--luzmo-font-color);--draggable-data-item-level-color-disabled: var(--luzmo-color-disabled);--draggable-data-item-level-background-color-disabled: var( --luzmo-background-color-disabled );--luzmo-draggable-data-item-level-drag-handle-size: var(--luzmo-font-size-s);--luzmo-draggable-data-item-level-drag-handle-width: var( --draggable-data-item-level-icon-type-size );--luzmo-draggable-data-item-level-data-icon-width: calc( var(--draggable-data-item-level-icon-type-size) + var(--luzmo-spacing-3) );--draggable-data-item-level-sublevel-height: var(--luzmo-component-height-s);--draggable-data-item-level-sublevel-border-color: transparent;--draggable-data-item-level-sublevel-background-color: transparent;--draggable-data-item-level-sublevel-background-color-disabled: transparent;--draggable-data-item-level-sublevel-margin-inline-start: calc( var(--draggable-data-item-level-gap) + var(--luzmo-draggable-data-item-level-drag-handle-width) );--luzmo-draggable-data-item-level-sublevel-drag-handle-width: var( --luzmo-draggable-data-item-level-data-icon-width );--draggable-data-item-level-sublevel-background-color-hover: rgba( var(--luzmo-border-color-rgb), .05 )}:host([hide-type-icon]){--draggable-data-item-level-sublevel-margin-inline-start: var( --draggable-data-item-level-gap )}:host([size=s]){--draggable-data-item-level-height: var(--luzmo-component-height-s);--draggable-data-item-level-label-font-size: var(--luzmo-font-size-s);--draggable-data-item-level-icon-type-size: var(--luzmo-font-size-s);--draggable-data-item-level-horizontal-padding: var(--luzmo-spacing-4);--draggable-data-item-level-border-radius: var(--luzmo-border-radius);--draggable-data-item-level-gap: var(--luzmo-spacing-3);--draggable-data-item-level-sublevel-height: var(--luzmo-component-height-xs);--luzmo-draggable-data-item-level-drag-handle-size: var(--luzmo-font-size-xs)}:host([size=l]){--draggable-data-item-level-height: var(--luzmo-component-height-l);--draggable-data-item-level-label-font-size: var(--luzmo-font-size-l);--draggable-data-item-level-icon-type-size: var(--luzmo-font-size-l);--draggable-data-item-level-horizontal-padding: var(--luzmo-spacing-5);--draggable-data-item-level-border-radius: var(--luzmo-border-radius-l);--draggable-data-item-level-gap: var(--luzmo-spacing-5);--draggable-data-item-level-sublevel-height: var(--luzmo-component-height);--luzmo-draggable-data-item-level-drag-handle-size: var(--luzmo-font-size)}:host([size=xl]){--draggable-data-item-level-height: var(--luzmo-component-height-xl);--draggable-data-item-level-label-font-size: var(--luzmo-font-size-xl);--draggable-data-item-level-icon-type-size: var(--luzmo-font-size-xl);--draggable-data-item-level-horizontal-padding: var(--luzmo-spacing-5);--draggable-data-item-level-border-radius: var(--luzmo-border-radius-xl);--draggable-data-item-level-gap: var(--luzmo-spacing-5);--draggable-data-item-level-sublevel-height: var(--luzmo-component-height-l);--luzmo-draggable-data-item-level-drag-handle-size: var(--luzmo-font-size-l)}:host{box-sizing:border-box}",U=e=>{var s,c,u,h,y,k,w,x,D,S,C,I,q,P,$,E,j;const d=e.source.element;let a="";(h=(u=(c=(s=e.source)==null?void 0:s.element)==null?void 0:c.renderRoot)==null?void 0:u.querySelector(".data-label"))!=null&&h.textContent&&(a=(w=(k=(y=e.source)==null?void 0:y.element)==null?void 0:k.renderRoot)==null?void 0:w.querySelector(".data-label").textContent),a||(a=B.localize((D=(x=e==null?void 0:e.source)==null?void 0:x.data)==null?void 0:D.label,(C=(S=e==null?void 0:e.source)==null?void 0:S.element)==null?void 0:C.language),a=a||"Untitled");const n=(q=(I=e==null?void 0:e.source)==null?void 0:I.data)==null?void 0:q.type,t=($=(P=e==null?void 0:e.source)==null?void 0:P.data)==null?void 0:$.subtype,i=O.calculateDataItemIcon({type:n,subtype:t},d.size),l={};[["borderColor","--luzmo-draggable-data-item-level-border-color","--draggable-data-item-level-border-color"],["backgroundColor","--luzmo-draggable-data-item-level-background-color","--draggable-data-item-level-background-color"],["color","--luzmo-draggable-data-item-level-font-color","--draggable-data-item-level-font-color"],["fontSize","--luzmo-draggable-data-item-level-label-font-size","--draggable-data-item-level-label-font-size"],["height","--luzmo-draggable-data-item-level-height","--draggable-data-item-level-height"],["borderRadius","--luzmo-draggable-data-item-level-border-radius","--draggable-data-item-level-border-radius"],["fontFamily","--luzmo-draggable-data-item-level-font-family","--luzmo-font-family"],["horizontalPadding","--luzmo-draggable-data-item-level-horizontal-padding","--draggable-data-item-level-horizontal-padding"],["gap","--luzmo-draggable-data-item-level-gap","--draggable-data-item-level-gap"]].forEach(([z,_,R])=>{const V=p.getCssVariableValue(d,_)||p.getCssVariableValue(d,R);l[z]=V});const m=document.createElement("div"),v=document.createElement("div");if(m.innerHTML=a,!((j=(E=e==null?void 0:e.source)==null?void 0:E.element)!=null&&j.sublevel)){const z=document.createElement("luzmo-icon");z.icon=i,v.append(z)}return v.append(m),Object.assign(v.style,{display:"flex",alignItems:"center",height:l.height,border:`1px solid ${l.borderColor}`,backgroundColor:l.backgroundColor,borderRadius:l.borderRadius,fontFamily:l.fontFamily,fontSize:l.fontSize,color:l.color,padding:`0 ${l.horizontalPadding}`,gap:l.gap}),v};var L=Object.defineProperty,g=(e,d,a,n)=>{for(var t=void 0,i=e.length-1,l;i>=0;i--)(l=e[i])&&(t=l(d,a,t)||t);return t&&L(d,a,t),t};const f=class f extends T.SizedMixin(M.LuzmoElement,{validSizes:["s","m","l","xl"],noDefaultSize:!0}){constructor(){super(...arguments),this.language="en",this.data={},this.dataItemLevelDropped=d=>{this.dispatchEvent(new CustomEvent("data-item-dropped",{bubbles:!0,composed:!0,cancelable:!0,detail:{data:d}}))}}disconnectedCallback(){super.disconnectedCallback(),this._cleanupDraggable()}firstUpdated(d){this._cleanupDraggable=p.draggable({element:this,canDrag:()=>!this.disabled,onDragStart:()=>{this.style.opacity="0.5"},onDrop:()=>{this.style.opacity="1",this.dataItemLevelDropped(this.data)},getInitialData:()=>{const a={...this.data};return this.label&&this.language&&!this.sublevel&&(a.label={},a.label[this.language]=this.label),this.description&&this.language&&(a.description={},a.description[this.language]=this.description),a},onGenerateDragPreview:a=>{const n=a.nativeSetDragImage;p.setCustomNativeDragPreview({render({container:t}){const i=U(a);t.append(i)},nativeSetDragImage:n})}})}render(){var n,t,i,l,m,v,s,c,u,h;const d=this.label??((t=(n=this.data)==null?void 0:n.label)==null?void 0:t[this.language])??((m=(i=this.data)==null?void 0:i.label)==null?void 0:m[Object.keys((l=this.data)==null?void 0:l.label)[0]])??"Untitled",a=this.description??((s=(v=this.data)==null?void 0:v.description)==null?void 0:s[this.language])??((h=(c=this.data)==null?void 0:c.description)==null?void 0:h[Object.keys((u=this.data)==null?void 0:u.description)[0]]);return r.x`
21
21
  <div class="draggable-data-item-level">
22
22
  <div class="drag-handle-icon">
23
23
  ${this.sublevel?b.p3(b.b0):b.p3(b.W)}
@@ -17,7 +17,7 @@
17
17
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
18
  * SOFTWARE.
19
19
  * */
20
- import { g as R, d as H, s as M } from "../get-css-variable-BEYG097C.js";
20
+ import { g as R, d as H, s as M } from "../get-css-variable-YlLiVgo8.js";
21
21
  import { a3 as h, aa as T, a7 as V, a5 as A } from "../luzmo-icons-DEoJcvoL.js";
22
22
  import "../index-BC1LV3vH.js";
23
23
  import "../index-Jmmy73Aq.js";