@maggioli-design-system/mds-table-row 5.4.1 → 5.4.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.
Files changed (31) hide show
  1. package/dist/cjs/mds-table-row.cjs.entry.js +7 -7
  2. package/dist/collection/components/mds-table-row/mds-table-row.js +7 -7
  3. package/dist/collection/dictionary/button.js +3 -2
  4. package/dist/collection/dictionary/variant.js +14 -2
  5. package/dist/components/mds-table-row.js +7 -7
  6. package/dist/documentation.json +1 -1
  7. package/dist/esm/mds-table-row.entry.js +7 -7
  8. package/dist/esm-es5/mds-table-row.entry.js +1 -1
  9. package/dist/mds-table-row/mds-table-row.esm.js +1 -1
  10. package/dist/mds-table-row/p-86e316e3.entry.js +6 -0
  11. package/dist/mds-table-row/p-cd3437c0.system.js +1 -1
  12. package/dist/mds-table-row/{p-1a501460.system.entry.js → p-fbe91c6f.system.entry.js} +1 -1
  13. package/dist/stats.json +15 -15
  14. package/dist/types/type/button.d.ts +1 -1
  15. package/dist/types/type/input.d.ts +1 -1
  16. package/dist/types/type/variant.d.ts +2 -2
  17. package/documentation.json +49 -19
  18. package/package.json +3 -3
  19. package/src/components/mds-table-row/mds-table-row.tsx +1 -1
  20. package/src/dictionary/button.ts +3 -2
  21. package/src/dictionary/variant.ts +14 -2
  22. package/src/fixtures/icons.json +17 -0
  23. package/src/type/button.ts +6 -5
  24. package/src/type/input.ts +4 -0
  25. package/src/type/variant.ts +14 -2
  26. package/www/build/mds-table-row.esm.js +1 -1
  27. package/www/build/p-86e316e3.entry.js +6 -0
  28. package/www/build/p-cd3437c0.system.js +1 -1
  29. package/www/build/{p-1a501460.system.entry.js → p-fbe91c6f.system.entry.js} +1 -1
  30. package/dist/mds-table-row/p-c2d293ab.entry.js +0 -6
  31. package/www/build/p-c2d293ab.entry.js +0 -6
@@ -915,7 +915,7 @@ const MdsTableRow = class {
915
915
  }
916
916
  initObserver() {
917
917
  const observer = new IntersectionObserver(entries => {
918
- if (entries[0].isIntersecting) {
918
+ if (entries[0].isIntersecting && this.actions) {
919
919
  this.sizerWidth = `${this.actions.offsetWidth.toString()}px`;
920
920
  observer.unobserve(this.host); // stop observer
921
921
  }
@@ -926,16 +926,16 @@ const MdsTableRow = class {
926
926
  observer.observe(this.host);
927
927
  }
928
928
  render() {
929
- return (index.h(index.Host, { key: 'a109b3ad790e378a948c365aaf191384c0f7ce22', role: "row" }, this.selectable &&
930
- index.h("mds-table-cell", { key: '08a9675c3fd2bc7d207a18d4b9585d07e2b18673', class: "selection-cell" }, index.h("div", { key: '4b00b56219a8de31c40d53430eacad9ad4550119', class: "checkbox-wrapper" }, index.h("mds-input-switch", { key: 'd032d75a8e246c06122b9bb8cd43f5b0f70ec6e1', title: this.t.get(this.selected ? 'unselectRow' : 'selectRow'), lang: this.language, type: "checkbox", checked: this.selected, onMdsInputSwitchChange: this.handleSelectionChange }))), index.h("slot", { key: 'caaf6054c4c894b4f6e209c38cbc0bf3ce0af572' }), this.hasActions && isSafari() &&
931
- index.h("mds-table-cell", { key: 'efd3f6c53522d66fc46159ef2cf6bec98512757d', class: "actions-cell actions-cell--disable" }, index.h("div", { key: '0a09c5e18c142c237377ec1ba5ab95caef322aca', class: "actions" }, index.h("slot", { key: 'dea19dd978572c2d30eb3c8df2f33695d2118989', name: "action" }))), this.hasActions && !isSafari() &&
932
- index.h("mds-table-cell", { key: '2a81346286bd48fdcee00866fd34ac4e83132a27', class: "actions-cell" }, index.h("div", { key: '1d0bbbe1ad947eead52250cdae846c9ee35ede6e', class: "actions-sizer", style: {
929
+ return (index.h(index.Host, { key: '28e3db8073f279d629c28e1f872d9428353cdd20', role: "row" }, this.selectable &&
930
+ index.h("mds-table-cell", { key: '8a5694d2424941717b033aec6c1deb5addf16731', class: "selection-cell" }, index.h("div", { key: 'f078999da0380333580fded32245d7fd66f45c7f', class: "checkbox-wrapper" }, index.h("mds-input-switch", { key: 'bf7e66b17d4f07d99d9736f2668740c49d43abbf', title: this.t.get(this.selected ? 'unselectRow' : 'selectRow'), lang: this.language, type: "checkbox", checked: this.selected, onMdsInputSwitchChange: this.handleSelectionChange }))), index.h("slot", { key: 'ba0509a29c8224700cf450a9292f783caf4b6157' }), this.hasActions && isSafari() &&
931
+ index.h("mds-table-cell", { key: '4869dbff849b4c17af232fa33a050203481c7292', class: "actions-cell actions-cell--disable" }, index.h("div", { key: 'adbc97b79c20fe5388aaad26e631d5af0dcb352d', class: "actions" }, index.h("slot", { key: '60aa1e0aa532533c6f8728e5277fe28492d97bf0', name: "action" }))), this.hasActions && !isSafari() &&
932
+ index.h("mds-table-cell", { key: 'f8030da3ab5725804f6f02c62424a9d12c48bbd5', class: "actions-cell" }, index.h("div", { key: '7f00a568188011095edb2496ee30d820cf86cee8', class: "actions-sizer", style: {
933
933
  minHeight: '1px',
934
934
  maxWidth: this.sizerWidth,
935
935
  minWidth: this.sizerWidth,
936
- } }), index.h("div", { key: '07551e582fa3a7120005489c89de7c7d97b37ea9', class: "actions-view" }, index.h("div", { key: '8dcead97d515ca62621f5c8aa33cc1e371207f23', class: "actions", ref: el => this.actions = el, style: {
936
+ } }), index.h("div", { key: '8169dd5a54c3df5e54492ff95bdcbb3e05c00d0b', class: "actions-view" }, index.h("div", { key: '1a498ee7f6a6b42c381405ab2b15a8e23100641c', class: "actions", ref: el => this.actions = el, style: {
937
937
  marginRight: `calc(${this.sizerWidth} + var(--mds-table-cell-padding))`,
938
- } }, index.h("slot", { key: 'cd19ae680a72dffc4af2bfcec77a45fb4f7b05fd', name: "action" }))))));
938
+ } }, index.h("slot", { key: 'f232095143d7062d5d686f913852800be67e7b15', name: "action" }))))));
939
939
  }
940
940
  get host() { return index.getElement(this); }
941
941
  };
@@ -40,7 +40,7 @@ export class MdsTableRow {
40
40
  }
41
41
  initObserver() {
42
42
  const observer = new IntersectionObserver(entries => {
43
- if (entries[0].isIntersecting) {
43
+ if (entries[0].isIntersecting && this.actions) {
44
44
  this.sizerWidth = `${this.actions.offsetWidth.toString()}px`;
45
45
  observer.unobserve(this.host); // stop observer
46
46
  }
@@ -51,16 +51,16 @@ export class MdsTableRow {
51
51
  observer.observe(this.host);
52
52
  }
53
53
  render() {
54
- return (h(Host, { key: 'a109b3ad790e378a948c365aaf191384c0f7ce22', role: "row" }, this.selectable &&
55
- h("mds-table-cell", { key: '08a9675c3fd2bc7d207a18d4b9585d07e2b18673', class: "selection-cell" }, h("div", { key: '4b00b56219a8de31c40d53430eacad9ad4550119', class: "checkbox-wrapper" }, h("mds-input-switch", { key: 'd032d75a8e246c06122b9bb8cd43f5b0f70ec6e1', title: this.t.get(this.selected ? 'unselectRow' : 'selectRow'), lang: this.language, type: "checkbox", checked: this.selected, onMdsInputSwitchChange: this.handleSelectionChange }))), h("slot", { key: 'caaf6054c4c894b4f6e209c38cbc0bf3ce0af572' }), this.hasActions && isSafari() &&
56
- h("mds-table-cell", { key: 'efd3f6c53522d66fc46159ef2cf6bec98512757d', class: "actions-cell actions-cell--disable" }, h("div", { key: '0a09c5e18c142c237377ec1ba5ab95caef322aca', class: "actions" }, h("slot", { key: 'dea19dd978572c2d30eb3c8df2f33695d2118989', name: "action" }))), this.hasActions && !isSafari() &&
57
- h("mds-table-cell", { key: '2a81346286bd48fdcee00866fd34ac4e83132a27', class: "actions-cell" }, h("div", { key: '1d0bbbe1ad947eead52250cdae846c9ee35ede6e', class: "actions-sizer", style: {
54
+ return (h(Host, { key: '28e3db8073f279d629c28e1f872d9428353cdd20', role: "row" }, this.selectable &&
55
+ h("mds-table-cell", { key: '8a5694d2424941717b033aec6c1deb5addf16731', class: "selection-cell" }, h("div", { key: 'f078999da0380333580fded32245d7fd66f45c7f', class: "checkbox-wrapper" }, h("mds-input-switch", { key: 'bf7e66b17d4f07d99d9736f2668740c49d43abbf', title: this.t.get(this.selected ? 'unselectRow' : 'selectRow'), lang: this.language, type: "checkbox", checked: this.selected, onMdsInputSwitchChange: this.handleSelectionChange }))), h("slot", { key: 'ba0509a29c8224700cf450a9292f783caf4b6157' }), this.hasActions && isSafari() &&
56
+ h("mds-table-cell", { key: '4869dbff849b4c17af232fa33a050203481c7292', class: "actions-cell actions-cell--disable" }, h("div", { key: 'adbc97b79c20fe5388aaad26e631d5af0dcb352d', class: "actions" }, h("slot", { key: '60aa1e0aa532533c6f8728e5277fe28492d97bf0', name: "action" }))), this.hasActions && !isSafari() &&
57
+ h("mds-table-cell", { key: 'f8030da3ab5725804f6f02c62424a9d12c48bbd5', class: "actions-cell" }, h("div", { key: '7f00a568188011095edb2496ee30d820cf86cee8', class: "actions-sizer", style: {
58
58
  minHeight: '1px',
59
59
  maxWidth: this.sizerWidth,
60
60
  minWidth: this.sizerWidth,
61
- } }), h("div", { key: '07551e582fa3a7120005489c89de7c7d97b37ea9', class: "actions-view" }, h("div", { key: '8dcead97d515ca62621f5c8aa33cc1e371207f23', class: "actions", ref: el => this.actions = el, style: {
61
+ } }), h("div", { key: '8169dd5a54c3df5e54492ff95bdcbb3e05c00d0b', class: "actions-view" }, h("div", { key: '1a498ee7f6a6b42c381405ab2b15a8e23100641c', class: "actions", ref: el => this.actions = el, style: {
62
62
  marginRight: `calc(${this.sizerWidth} + var(--mds-table-cell-padding))`,
63
- } }, h("slot", { key: 'cd19ae680a72dffc4af2bfcec77a45fb4f7b05fd', name: "action" }))))));
63
+ } }, h("slot", { key: 'f232095143d7062d5d686f913852800be67e7b15', name: "action" }))))));
64
64
  }
65
65
  static get is() { return "mds-table-row"; }
66
66
  static get encapsulation() { return "shadow"; }
@@ -1,14 +1,15 @@
1
1
  const buttonVariantDictionary = [
2
+ 'ai',
3
+ 'apple',
2
4
  'dark',
3
5
  'error',
6
+ 'google',
4
7
  'info',
5
8
  'light',
6
9
  'primary',
7
10
  'secondary',
8
11
  'success',
9
12
  'warning',
10
- 'google',
11
- 'apple',
12
13
  ];
13
14
  const buttonToneVariantDictionary = [
14
15
  'strong',
@@ -1,4 +1,5 @@
1
1
  const themeVariantDictionary = [
2
+ 'ai',
2
3
  'dark',
3
4
  'error',
4
5
  'info',
@@ -71,13 +72,24 @@ const toneVariantDictionary = [
71
72
  'quiet',
72
73
  ];
73
74
  const themeVariantChipDictionary = [
74
- 'primary',
75
- 'secondary',
75
+ 'ai',
76
+ 'amaranth',
77
+ 'aqua',
78
+ 'blue',
76
79
  'dark',
77
80
  'error',
81
+ 'green',
78
82
  'info',
83
+ 'lime',
84
+ 'orange',
85
+ 'orchid',
86
+ 'primary',
87
+ 'secondary',
88
+ 'sky',
79
89
  'success',
90
+ 'violet',
80
91
  'warning',
92
+ 'yellow',
81
93
  ];
82
94
  const toneActionVariantDictionary = [
83
95
  'primary',
@@ -913,7 +913,7 @@ const MdsTableRow$1 = /*@__PURE__*/ proxyCustomElement(class MdsTableRow extends
913
913
  }
914
914
  initObserver() {
915
915
  const observer = new IntersectionObserver(entries => {
916
- if (entries[0].isIntersecting) {
916
+ if (entries[0].isIntersecting && this.actions) {
917
917
  this.sizerWidth = `${this.actions.offsetWidth.toString()}px`;
918
918
  observer.unobserve(this.host); // stop observer
919
919
  }
@@ -924,16 +924,16 @@ const MdsTableRow$1 = /*@__PURE__*/ proxyCustomElement(class MdsTableRow extends
924
924
  observer.observe(this.host);
925
925
  }
926
926
  render() {
927
- return (h(Host, { key: 'a109b3ad790e378a948c365aaf191384c0f7ce22', role: "row" }, this.selectable &&
928
- h("mds-table-cell", { key: '08a9675c3fd2bc7d207a18d4b9585d07e2b18673', class: "selection-cell" }, h("div", { key: '4b00b56219a8de31c40d53430eacad9ad4550119', class: "checkbox-wrapper" }, h("mds-input-switch", { key: 'd032d75a8e246c06122b9bb8cd43f5b0f70ec6e1', title: this.t.get(this.selected ? 'unselectRow' : 'selectRow'), lang: this.language, type: "checkbox", checked: this.selected, onMdsInputSwitchChange: this.handleSelectionChange }))), h("slot", { key: 'caaf6054c4c894b4f6e209c38cbc0bf3ce0af572' }), this.hasActions && isSafari() &&
929
- h("mds-table-cell", { key: 'efd3f6c53522d66fc46159ef2cf6bec98512757d', class: "actions-cell actions-cell--disable" }, h("div", { key: '0a09c5e18c142c237377ec1ba5ab95caef322aca', class: "actions" }, h("slot", { key: 'dea19dd978572c2d30eb3c8df2f33695d2118989', name: "action" }))), this.hasActions && !isSafari() &&
930
- h("mds-table-cell", { key: '2a81346286bd48fdcee00866fd34ac4e83132a27', class: "actions-cell" }, h("div", { key: '1d0bbbe1ad947eead52250cdae846c9ee35ede6e', class: "actions-sizer", style: {
927
+ return (h(Host, { key: '28e3db8073f279d629c28e1f872d9428353cdd20', role: "row" }, this.selectable &&
928
+ h("mds-table-cell", { key: '8a5694d2424941717b033aec6c1deb5addf16731', class: "selection-cell" }, h("div", { key: 'f078999da0380333580fded32245d7fd66f45c7f', class: "checkbox-wrapper" }, h("mds-input-switch", { key: 'bf7e66b17d4f07d99d9736f2668740c49d43abbf', title: this.t.get(this.selected ? 'unselectRow' : 'selectRow'), lang: this.language, type: "checkbox", checked: this.selected, onMdsInputSwitchChange: this.handleSelectionChange }))), h("slot", { key: 'ba0509a29c8224700cf450a9292f783caf4b6157' }), this.hasActions && isSafari() &&
929
+ h("mds-table-cell", { key: '4869dbff849b4c17af232fa33a050203481c7292', class: "actions-cell actions-cell--disable" }, h("div", { key: 'adbc97b79c20fe5388aaad26e631d5af0dcb352d', class: "actions" }, h("slot", { key: '60aa1e0aa532533c6f8728e5277fe28492d97bf0', name: "action" }))), this.hasActions && !isSafari() &&
930
+ h("mds-table-cell", { key: 'f8030da3ab5725804f6f02c62424a9d12c48bbd5', class: "actions-cell" }, h("div", { key: '7f00a568188011095edb2496ee30d820cf86cee8', class: "actions-sizer", style: {
931
931
  minHeight: '1px',
932
932
  maxWidth: this.sizerWidth,
933
933
  minWidth: this.sizerWidth,
934
- } }), h("div", { key: '07551e582fa3a7120005489c89de7c7d97b37ea9', class: "actions-view" }, h("div", { key: '8dcead97d515ca62621f5c8aa33cc1e371207f23', class: "actions", ref: el => this.actions = el, style: {
934
+ } }), h("div", { key: '8169dd5a54c3df5e54492ff95bdcbb3e05c00d0b', class: "actions-view" }, h("div", { key: '1a498ee7f6a6b42c381405ab2b15a8e23100641c', class: "actions", ref: el => this.actions = el, style: {
935
935
  marginRight: `calc(${this.sizerWidth} + var(--mds-table-cell-padding))`,
936
- } }, h("slot", { key: 'cd19ae680a72dffc4af2bfcec77a45fb4f7b05fd', name: "action" }))))));
936
+ } }, h("slot", { key: 'f232095143d7062d5d686f913852800be67e7b15', name: "action" }))))));
937
937
  }
938
938
  get host() { return this; }
939
939
  static get style() { return MdsTableRowStyle0; }
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2025-04-07T11:20:56",
2
+ "timestamp": "2025-05-14T14:25:06",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.27.2",
@@ -911,7 +911,7 @@ const MdsTableRow = class {
911
911
  }
912
912
  initObserver() {
913
913
  const observer = new IntersectionObserver(entries => {
914
- if (entries[0].isIntersecting) {
914
+ if (entries[0].isIntersecting && this.actions) {
915
915
  this.sizerWidth = `${this.actions.offsetWidth.toString()}px`;
916
916
  observer.unobserve(this.host); // stop observer
917
917
  }
@@ -922,16 +922,16 @@ const MdsTableRow = class {
922
922
  observer.observe(this.host);
923
923
  }
924
924
  render() {
925
- return (h(Host, { key: 'a109b3ad790e378a948c365aaf191384c0f7ce22', role: "row" }, this.selectable &&
926
- h("mds-table-cell", { key: '08a9675c3fd2bc7d207a18d4b9585d07e2b18673', class: "selection-cell" }, h("div", { key: '4b00b56219a8de31c40d53430eacad9ad4550119', class: "checkbox-wrapper" }, h("mds-input-switch", { key: 'd032d75a8e246c06122b9bb8cd43f5b0f70ec6e1', title: this.t.get(this.selected ? 'unselectRow' : 'selectRow'), lang: this.language, type: "checkbox", checked: this.selected, onMdsInputSwitchChange: this.handleSelectionChange }))), h("slot", { key: 'caaf6054c4c894b4f6e209c38cbc0bf3ce0af572' }), this.hasActions && isSafari() &&
927
- h("mds-table-cell", { key: 'efd3f6c53522d66fc46159ef2cf6bec98512757d', class: "actions-cell actions-cell--disable" }, h("div", { key: '0a09c5e18c142c237377ec1ba5ab95caef322aca', class: "actions" }, h("slot", { key: 'dea19dd978572c2d30eb3c8df2f33695d2118989', name: "action" }))), this.hasActions && !isSafari() &&
928
- h("mds-table-cell", { key: '2a81346286bd48fdcee00866fd34ac4e83132a27', class: "actions-cell" }, h("div", { key: '1d0bbbe1ad947eead52250cdae846c9ee35ede6e', class: "actions-sizer", style: {
925
+ return (h(Host, { key: '28e3db8073f279d629c28e1f872d9428353cdd20', role: "row" }, this.selectable &&
926
+ h("mds-table-cell", { key: '8a5694d2424941717b033aec6c1deb5addf16731', class: "selection-cell" }, h("div", { key: 'f078999da0380333580fded32245d7fd66f45c7f', class: "checkbox-wrapper" }, h("mds-input-switch", { key: 'bf7e66b17d4f07d99d9736f2668740c49d43abbf', title: this.t.get(this.selected ? 'unselectRow' : 'selectRow'), lang: this.language, type: "checkbox", checked: this.selected, onMdsInputSwitchChange: this.handleSelectionChange }))), h("slot", { key: 'ba0509a29c8224700cf450a9292f783caf4b6157' }), this.hasActions && isSafari() &&
927
+ h("mds-table-cell", { key: '4869dbff849b4c17af232fa33a050203481c7292', class: "actions-cell actions-cell--disable" }, h("div", { key: 'adbc97b79c20fe5388aaad26e631d5af0dcb352d', class: "actions" }, h("slot", { key: '60aa1e0aa532533c6f8728e5277fe28492d97bf0', name: "action" }))), this.hasActions && !isSafari() &&
928
+ h("mds-table-cell", { key: 'f8030da3ab5725804f6f02c62424a9d12c48bbd5', class: "actions-cell" }, h("div", { key: '7f00a568188011095edb2496ee30d820cf86cee8', class: "actions-sizer", style: {
929
929
  minHeight: '1px',
930
930
  maxWidth: this.sizerWidth,
931
931
  minWidth: this.sizerWidth,
932
- } }), h("div", { key: '07551e582fa3a7120005489c89de7c7d97b37ea9', class: "actions-view" }, h("div", { key: '8dcead97d515ca62621f5c8aa33cc1e371207f23', class: "actions", ref: el => this.actions = el, style: {
932
+ } }), h("div", { key: '8169dd5a54c3df5e54492ff95bdcbb3e05c00d0b', class: "actions-view" }, h("div", { key: '1a498ee7f6a6b42c381405ab2b15a8e23100641c', class: "actions", ref: el => this.actions = el, style: {
933
933
  marginRight: `calc(${this.sizerWidth} + var(--mds-table-cell-padding))`,
934
- } }, h("slot", { key: 'cd19ae680a72dffc4af2bfcec77a45fb4f7b05fd', name: "action" }))))));
934
+ } }, h("slot", { key: 'f232095143d7062d5d686f913852800be67e7b15', name: "action" }))))));
935
935
  }
936
936
  get host() { return getElement(this); }
937
937
  };
@@ -3,4 +3,4 @@ var __awaiter=this&&this.__awaiter||function(t,e,r,a){function n(t){return t ins
3
3
  * mustache.js - Logic-less {{mustache}} templates with JavaScript
4
4
  * http://github.com/janl/mustache.js
5
5
  */
6
- var t=Object.prototype.toString;var e=Array.isArray||function e(r){return t.call(r)==="[object Array]"};function r(t){return typeof t==="function"}function a(t){return e(t)?"array":typeof t}function n(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function i(t,e){return t!=null&&typeof t==="object"&&e in t}function d(t,e){return t!=null&&typeof t!=="object"&&t.hasOwnProperty&&t.hasOwnProperty(e)}var s=RegExp.prototype.test;function o(t,e){return s.call(t,e)}var c=/\S/;function h(t){return!o(c,t)}var l={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;","`":"&#x60;","=":"&#x3D;"};function f(t){return String(t).replace(/[&<>"'`=\/]/g,(function t(e){return l[e]}))}var u=/\s*/;var y=/\s+/;var m=/\s*=/;var b=/\s*\}/;var v=/#|\^|\/|>|\{|&|=|!/;function w(t,r){if(!t)return[];var a=false;var i=[];var d=[];var s=[];var o=false;var c=false;var l="";var f=0;function w(){if(o&&!c){while(s.length)delete d[s.pop()]}else{s=[]}o=false;c=false}var x,R,S;function j(t){if(typeof t==="string")t=t.split(y,2);if(!e(t)||t.length!==2)throw new Error("Invalid tags: "+t);x=new RegExp(n(t[0])+"\\s*");R=new RegExp("\\s*"+n(t[1]));S=new RegExp("\\s*"+n("}"+t[1]))}j(r||E.tags);var $=new k(t);var T,_,X,z,C,I;while(!$.eos()){T=$.pos;X=$.scanUntil(x);if(X){for(var M=0,D=X.length;M<D;++M){z=X.charAt(M);if(h(z)){s.push(d.length);l+=z}else{c=true;a=true;l+=" "}d.push(["text",z,T,T+1]);T+=1;if(z==="\n"){w();l="";f=0;a=false}}}if(!$.scan(x))break;o=true;_=$.scan(v)||"name";$.scan(u);if(_==="="){X=$.scanUntil(m);$.scan(m);$.scanUntil(R)}else if(_==="{"){X=$.scanUntil(S);$.scan(b);$.scanUntil(R);_="&"}else{X=$.scanUntil(R)}if(!$.scan(R))throw new Error("Unclosed tag at "+$.pos);if(_==">"){C=[_,X,T,$.pos,l,f,a]}else{C=[_,X,T,$.pos]}f++;d.push(C);if(_==="#"||_==="^"){i.push(C)}else if(_==="/"){I=i.pop();if(!I)throw new Error('Unopened section "'+X+'" at '+T);if(I[1]!==X)throw new Error('Unclosed section "'+I[1]+'" at '+T)}else if(_==="name"||_==="{"||_==="&"){c=true}else if(_==="="){j(X)}}w();I=i.pop();if(I)throw new Error('Unclosed section "'+I[1]+'" at '+$.pos);return g(p(d))}function p(t){var e=[];var r,a;for(var n=0,i=t.length;n<i;++n){r=t[n];if(r){if(r[0]==="text"&&a&&a[0]==="text"){a[1]+=r[1];a[3]=r[3]}else{e.push(r);a=r}}}return e}function g(t){var e=[];var r=e;var a=[];var n,i;for(var d=0,s=t.length;d<s;++d){n=t[d];switch(n[0]){case"#":case"^":r.push(n);a.push(n);r=n[4]=[];break;case"/":i=a.pop();i[5]=n[2];r=a.length>0?a[a.length-1][4]:e;break;default:r.push(n)}}return e}function k(t){this.string=t;this.tail=t;this.pos=0}k.prototype.eos=function t(){return this.tail===""};k.prototype.scan=function t(e){var r=this.tail.match(e);if(!r||r.index!==0)return"";var a=r[0];this.tail=this.tail.substring(a.length);this.pos+=a.length;return a};k.prototype.scanUntil=function t(e){var r=this.tail.search(e),a;switch(r){case-1:a=this.tail;this.tail="";break;case 0:a="";break;default:a=this.tail.substring(0,r);this.tail=this.tail.substring(r)}this.pos+=a.length;return a};function x(t,e){this.view=t;this.cache={".":this.view};this.parent=e}x.prototype.push=function t(e){return new x(e,this)};x.prototype.lookup=function t(e){var a=this.cache;var n;if(a.hasOwnProperty(e)){n=a[e]}else{var s=this,o,c,h,l=false;while(s){if(e.indexOf(".")>0){o=s.view;c=e.split(".");h=0;while(o!=null&&h<c.length){if(h===c.length-1)l=i(o,c[h])||d(o,c[h]);o=o[c[h++]]}}else{o=s.view[e];l=i(s.view,e)}if(l){n=o;break}s=s.parent}a[e]=n}if(r(n))n=n.call(this.view);return n};function R(){this.templateCache={_cache:{},set:function t(e,r){this._cache[e]=r},get:function t(e){return this._cache[e]},clear:function t(){this._cache={}}}}R.prototype.clearCache=function t(){if(typeof this.templateCache!=="undefined"){this.templateCache.clear()}};R.prototype.parse=function t(e,r){var a=this.templateCache;var n=e+":"+(r||E.tags).join(":");var i=typeof a!=="undefined";var d=i?a.get(n):undefined;if(d==undefined){d=w(e,r);i&&a.set(n,d)}return d};R.prototype.render=function t(e,r,a,n){var i=this.getConfigTags(n);var d=this.parse(e,i);var s=r instanceof x?r:new x(r,undefined);return this.renderTokens(d,s,a,e,n)};R.prototype.renderTokens=function t(e,r,a,n,i){var d="";var s,o,c;for(var h=0,l=e.length;h<l;++h){c=undefined;s=e[h];o=s[0];if(o==="#")c=this.renderSection(s,r,a,n,i);else if(o==="^")c=this.renderInverted(s,r,a,n,i);else if(o===">")c=this.renderPartial(s,r,a,i);else if(o==="&")c=this.unescapedValue(s,r);else if(o==="name")c=this.escapedValue(s,r,i);else if(o==="text")c=this.rawValue(s);if(c!==undefined)d+=c}return d};R.prototype.renderSection=function t(a,n,i,d,s){var o=this;var c="";var h=n.lookup(a[1]);function l(t){return o.render(t,n,i,s)}if(!h)return;if(e(h)){for(var f=0,u=h.length;f<u;++f){c+=this.renderTokens(a[4],n.push(h[f]),i,d,s)}}else if(typeof h==="object"||typeof h==="string"||typeof h==="number"){c+=this.renderTokens(a[4],n.push(h),i,d,s)}else if(r(h)){if(typeof d!=="string")throw new Error("Cannot use higher-order sections without the original template");h=h.call(n.view,d.slice(a[3],a[5]),l);if(h!=null)c+=h}else{c+=this.renderTokens(a[4],n,i,d,s)}return c};R.prototype.renderInverted=function t(r,a,n,i,d){var s=a.lookup(r[1]);if(!s||e(s)&&s.length===0)return this.renderTokens(r[4],a,n,i,d)};R.prototype.indentPartial=function t(e,r,a){var n=r.replace(/[^ \t]/g,"");var i=e.split("\n");for(var d=0;d<i.length;d++){if(i[d].length&&(d>0||!a)){i[d]=n+i[d]}}return i.join("\n")};R.prototype.renderPartial=function t(e,a,n,i){if(!n)return;var d=this.getConfigTags(i);var s=r(n)?n(e[1]):n[e[1]];if(s!=null){var o=e[6];var c=e[5];var h=e[4];var l=s;if(c==0&&h){l=this.indentPartial(s,h,o)}var f=this.parse(l,d);return this.renderTokens(f,a,n,l,i)}};R.prototype.unescapedValue=function t(e,r){var a=r.lookup(e[1]);if(a!=null)return a};R.prototype.escapedValue=function t(e,r,a){var n=this.getConfigEscape(a)||E.escape;var i=r.lookup(e[1]);if(i!=null)return typeof i==="number"&&n===E.escape?String(i):n(i)};R.prototype.rawValue=function t(e){return e[1]};R.prototype.getConfigTags=function t(r){if(e(r)){return r}else if(r&&typeof r==="object"){return r.tags}else{return undefined}};R.prototype.getConfigEscape=function t(r){if(r&&typeof r==="object"&&!e(r)){return r.escape}else{return undefined}};var E={name:"mustache.js",version:"4.2.0",tags:["{{","}}"],clearCache:undefined,escape:undefined,parse:undefined,render:undefined,Scanner:undefined,Context:undefined,Writer:undefined,set templateCache(t){S.templateCache=t},get templateCache(){return S.templateCache}};var S=new R;E.clearCache=function t(){return S.clearCache()};E.parse=function t(e,r){return S.parse(e,r)};E.render=function t(e,r,n,i){if(typeof e!=="string"){throw new TypeError('Invalid template! Template should be a "string" '+'but "'+a(e)+'" was given as the first '+"argument for mustache#render(template, view, partials)")}return S.render(e,r,n,i)};E.escape=f;E.Scanner=k;E.Context=x;E.Writer=R;return E}))})(mustache);var Locale=function(){function t(t){var e=this;this.rollbackLanguage="en";this.set=function(t){e.config=t};this.lang=function(t){e.element=t;e.closestElement=e.element.closest("[lang]");if(e.closestElement){if(e.closestElement.lang){e.language=e.closestElement.lang;return e.language}}e.language=e.rollbackLanguage;return e.language};this.update=function(t){var r=t!==null&&t!==void 0?t:e.element.shadowRoot;r&&r.querySelectorAll("*").forEach((function(t){if(t.tagName.toLowerCase().startsWith("mds-")){if(t&&"updateLang"in t){t.updateLang()}}}))};this.pluralize=function(t,r){var a=e.config[e.language]?e.config[e.language][t]:e.config[e.rollbackLanguage][t];var n=[];if(Array.isArray(a)){n.push(a[0]);n.push(a[1])}else{n.push(a);n.push(a)}var i=n[0];var d=i;var s=Object.keys(r);if(s.length>0){var o=s[0];if(typeof r[o]==="number"){if(r[o]!==1){d=n[1]}}}return mustache.exports.render(d,r)};this.get=function(t,r){if(r){return e.pluralize(t,r)}return e.config[e.language]?e.config[e.language][t]:e.config[e.rollbackLanguage][t]};if(t){this.set(t)}}return t}();var selectRow$3="Επιλογή γραμμής";var unselectRow$3="Αποεπιλογή γραμμής";var localeEl={selectRow:selectRow$3,unselectRow:unselectRow$3};var selectRow$2="Select row";var unselectRow$2="Deselect row";var localeEn={selectRow:selectRow$2,unselectRow:unselectRow$2};var selectRow$1="Seleccionar fila";var unselectRow$1="Deseleccionar fila";var localeEs={selectRow:selectRow$1,unselectRow:unselectRow$1};var selectRow="Seleziona riga";var unselectRow="Deseleziona riga";var localeIt={selectRow:selectRow,unselectRow:unselectRow};var isSafari=function(){if(navigator){return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}return false};var mdsTableRowCss=':host{--mds-table-row-color-hover:var(--mds-table-color, rgb(var(--tone-neutral-02)));--mds-table-row-color-alt:var(--mds-table-color-alt, rgb(var(--tone-neutral-02)));--mds-table-row-background-hover:var(--mds-table-background, rgb(var(--tone-neutral)));--mds-table-row-background-alt:var(--mds-table-background-alt, rgb(var(--tone-neutral)));--mds-table-row-actions-gap:var(--mds-table-actions-gap, 1rem);-webkit-transition-duration:200ms;transition-duration:200ms;-webkit-transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-timing-function:cubic-bezier(0, 0, 0.2, 1);color:var(--mds-table-row-color);display:table-row;position:relative;-webkit-transition-property:color;transition-property:color}.selection-cell{vertical-align:middle}.checkbox-wrapper{display:-ms-flexbox;display:flex}:host([interactive]:hover){--mds-table-row-actions-background:var(--mds-table-row-background-hover);--mds-table-row-background:var(--mds-table-row-background-hover);--mds-table-row-color:var(--mds-table-row-color-hover)}:host([selected]){--mds-table-row-background:var(--mds-table-row-background-hover);--mds-table-row-color:var(--mds-table-row-color-hover)}:host([sorted]){--mds-table-row-background:var(--mds-table-row-background-alt);--mds-table-row-color:var(--mds-table-row-color-alt)}:host([sorted][selected]){--mds-table-row-background:var(--mds-table-row-background-hover);--mds-table-row-color:var(--mds-table-row-color-hover)}.actions-view{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;inset:0;-ms-flex-pack:end;justify-content:end;pointer-events:none;position:absolute}.actions{--mds-table-row-actions-background:var(--mds-table-row-background);-ms-flex-align:center;align-items:center;background-color:var(--mds-table-row-actions-background);border-bottom-left-radius:calc(0.5rem + var(--mds-table-border-width) * 2);border-top-left-radius:calc(0.5rem + var(--mds-table-border-width) * 2);display:-ms-inline-flexbox;display:inline-flex;gap:var(--mds-table-row-actions-gap);inset:0;margin-right:100%;padding:calc(var(--mds-table-border-width) * 2);padding-right:0;pointer-events:auto;position:-webkit-sticky;position:sticky;right:0;-webkit-transform:translateX(100%);transform:translateX(100%);-webkit-transition-duration:500ms;transition-duration:500ms;-webkit-transition-property:background-color, padding-right, -webkit-transform;transition-property:background-color, padding-right, -webkit-transform;transition-property:transform, background-color, padding-right;transition-property:transform, background-color, padding-right, -webkit-transform;-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1)}:host(:hover) .actions{-webkit-transform:translateX(100%);transform:translateX(100%)}:host([overlay-actions]) .actions{padding-right:var(--mds-table-cell-padding);-webkit-transform:translateX(100%);transform:translateX(100%)}:host([overlay-actions]:hover) .actions{--mds-table-row-actions-background:var(--mds-table-row-background);-webkit-transform:translateX(0);transform:translateX(0)}:host-context(mds-table[interactive="false"]):host(:hover) .actions,:host-context(mds-table:not([interactive])):host(:hover) .actions{--mds-table-row-actions-background:var(--mds-table-row-background-hover)}:host-context(mds-table[selection]:not([interactive])):host(:not([selected]):hover) .actions,:host-context(mds-table[selection][interactive="false"]):host(:not([selected]):hover) .actions,:host-context(mds-table[selection]:not([interactive])):host([selected="false"]:hover) .actions,:host-context(mds-table[selection][interactive="false"]):host([selected="false"]:hover) .actions{--mds-table-row-actions-background:var(--mds-table-row-background-alt)}.actions-cell--disable,.actions-cell--disable .actions{position:static !important}.actions-cell--disable .actions{margin-right:0 !important;-webkit-transform:translateX(0) !important;transform:translateX(0) !important}:host-context(.pref-animation-reduce){-webkit-transition-duration:0s;transition-duration:0s}@media (prefers-reduced-motion){:host-context(.pref-animation-system){-webkit-transition-duration:0s;transition-duration:0s}}:host(:not(:is([hydrated],.hydrated))){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}mds-accordion:not(:is([hydrated],.hydrated)),mds-accordion-item:not(:is([hydrated],.hydrated)),mds-accordion-timer:not(:is([hydrated],.hydrated)),mds-accordion-timer-item:not(:is([hydrated],.hydrated)),mds-author:not(:is([hydrated],.hydrated)),mds-avatar:not(:is([hydrated],.hydrated)),mds-badge:not(:is([hydrated],.hydrated)),mds-banner:not(:is([hydrated],.hydrated)),mds-benchmark-bar:not(:is([hydrated],.hydrated)),mds-bibliography:not(:is([hydrated],.hydrated)),mds-breadcrumb:not(:is([hydrated],.hydrated)),mds-breadcrumb-item:not(:is([hydrated],.hydrated)),mds-button:not(:is([hydrated],.hydrated)),mds-card:not(:is([hydrated],.hydrated)),mds-card-content:not(:is([hydrated],.hydrated)),mds-card-footer:not(:is([hydrated],.hydrated)),mds-card-header:not(:is([hydrated],.hydrated)),mds-card-media:not(:is([hydrated],.hydrated)),mds-chip:not(:is([hydrated],.hydrated)),mds-details:not(:is([hydrated],.hydrated)),mds-dropdown:not(:is([hydrated],.hydrated)),mds-entity:not(:is([hydrated],.hydrated)),mds-file:not(:is([hydrated],.hydrated)),mds-file-preview:not(:is([hydrated],.hydrated)),mds-filter:not(:is([hydrated],.hydrated)),mds-filter-item:not(:is([hydrated],.hydrated)),mds-header:not(:is([hydrated],.hydrated)),mds-header-bar:not(:is([hydrated],.hydrated)),mds-help:not(:is([hydrated],.hydrated)),mds-horizontal-scroll:not(:is([hydrated],.hydrated)),mds-hr:not(:is([hydrated],.hydrated)),mds-icon:not(:is([hydrated],.hydrated)),mds-img:not(:is([hydrated],.hydrated)),mds-input:not(:is([hydrated],.hydrated)),mds-input-field:not(:is([hydrated],.hydrated)),mds-input-range:not(:is([hydrated],.hydrated)),mds-input-select:not(:is([hydrated],.hydrated)),mds-input-switch:not(:is([hydrated],.hydrated)),mds-input-tip:not(:is([hydrated],.hydrated)),mds-input-tip-item:not(:is([hydrated],.hydrated)),mds-input-upload:not(:is([hydrated],.hydrated)),mds-keyboard:not(:is([hydrated],.hydrated)),mds-keyboard-key:not(:is([hydrated],.hydrated)),mds-kpi:not(:is([hydrated],.hydrated)),mds-kpi-item:not(:is([hydrated],.hydrated)),mds-label:not(:is([hydrated],.hydrated)),mds-list:not(:is([hydrated],.hydrated)),mds-list-item:not(:is([hydrated],.hydrated)),mds-modal:not(:is([hydrated],.hydrated)),mds-note:not(:is([hydrated],.hydrated)),mds-notification:not(:is([hydrated],.hydrated)),mds-paginator:not(:is([hydrated],.hydrated)),mds-paginator-item:not(:is([hydrated],.hydrated)),mds-pref:not(:is([hydrated],.hydrated)),mds-pref-animation:not(:is([hydrated],.hydrated)),mds-pref-consumption:not(:is([hydrated],.hydrated)),mds-pref-contrast:not(:is([hydrated],.hydrated)),mds-pref-language:not(:is([hydrated],.hydrated)),mds-pref-language-item:not(:is([hydrated],.hydrated)),mds-pref-theme:not(:is([hydrated],.hydrated)),mds-price-table:not(:is([hydrated],.hydrated)),mds-price-table-features:not(:is([hydrated],.hydrated)),mds-price-table-features-cell:not(:is([hydrated],.hydrated)),mds-price-table-features-row:not(:is([hydrated],.hydrated)),mds-price-table-header:not(:is([hydrated],.hydrated)),mds-price-table-list:not(:is([hydrated],.hydrated)),mds-price-table-list-item:not(:is([hydrated],.hydrated)),mds-progress:not(:is([hydrated],.hydrated)),mds-push-notification:not(:is([hydrated],.hydrated)),mds-push-notifications:not(:is([hydrated],.hydrated)),mds-quote:not(:is([hydrated],.hydrated)),mds-separator:not(:is([hydrated],.hydrated)),mds-spinner:not(:is([hydrated],.hydrated)),mds-stepper-bar:not(:is([hydrated],.hydrated)),mds-stepper-bar-item:not(:is([hydrated],.hydrated)),mds-tab:not(:is([hydrated],.hydrated)),mds-tab-bar:not(:is([hydrated],.hydrated)),mds-tab-bar-item:not(:is([hydrated],.hydrated)),mds-tab-item:not(:is([hydrated],.hydrated)),mds-table:not(:is([hydrated],.hydrated)),mds-table-body:not(:is([hydrated],.hydrated)),mds-table-cell:not(:is([hydrated],.hydrated)),mds-table-footer:not(:is([hydrated],.hydrated)),mds-table-header:not(:is([hydrated],.hydrated)),mds-table-header-cell:not(:is([hydrated],.hydrated)),mds-table-row:not(:is([hydrated],.hydrated)),mds-text:not(:is([hydrated],.hydrated)),mds-toast:not(:is([hydrated],.hydrated)),mds-tooltip:not(:is([hydrated],.hydrated)),mds-tree:not(:is([hydrated],.hydrated)),mds-tree-item:not(:is([hydrated],.hydrated)),mds-url-view:not(:is([hydrated],.hydrated)),mds-usage:not(:is([hydrated],.hydrated)),mds-video-wall:not(:is([hydrated],.hydrated)),mds-zero:not(:is([hydrated],.hydrated)){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}';var MdsTableRowStyle0=mdsTableRowCss;var MdsTableRow=function(){function t(t){var e=this;registerInstance(this,t);this.hasActions=true;this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});this.selectable=undefined;this.handleSelectionChange=function(t){var r;e.selected=t.detail.checked;(r=e.host.closest("mds-table"))===null||r===void 0?void 0:r.updateSelection()}}t.prototype.updateLang=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.language=this.t.lang(this.host);this.t.update();return[2]}))}))};t.prototype.componentWillLoad=function(){this.language=this.t.lang(this.host);this.hasActions=this.host.querySelector(':scope > [slot="action"]')!==null};t.prototype.connectedCallback=function(){this.initObserver()};t.prototype.initObserver=function(){var t=this;var e=new IntersectionObserver((function(r){if(r[0].isIntersecting){t.sizerWidth="".concat(t.actions.offsetWidth.toString(),"px");e.unobserve(t.host)}}),{root:this.host.parentElement,threshold:1});e.observe(this.host)};t.prototype.render=function(){var t=this;return h(Host,{key:"a109b3ad790e378a948c365aaf191384c0f7ce22",role:"row"},this.selectable&&h("mds-table-cell",{key:"08a9675c3fd2bc7d207a18d4b9585d07e2b18673",class:"selection-cell"},h("div",{key:"4b00b56219a8de31c40d53430eacad9ad4550119",class:"checkbox-wrapper"},h("mds-input-switch",{key:"d032d75a8e246c06122b9bb8cd43f5b0f70ec6e1",title:this.t.get(this.selected?"unselectRow":"selectRow"),lang:this.language,type:"checkbox",checked:this.selected,onMdsInputSwitchChange:this.handleSelectionChange}))),h("slot",{key:"caaf6054c4c894b4f6e209c38cbc0bf3ce0af572"}),this.hasActions&&isSafari()&&h("mds-table-cell",{key:"efd3f6c53522d66fc46159ef2cf6bec98512757d",class:"actions-cell actions-cell--disable"},h("div",{key:"0a09c5e18c142c237377ec1ba5ab95caef322aca",class:"actions"},h("slot",{key:"dea19dd978572c2d30eb3c8df2f33695d2118989",name:"action"}))),this.hasActions&&!isSafari()&&h("mds-table-cell",{key:"2a81346286bd48fdcee00866fd34ac4e83132a27",class:"actions-cell"},h("div",{key:"1d0bbbe1ad947eead52250cdae846c9ee35ede6e",class:"actions-sizer",style:{minHeight:"1px",maxWidth:this.sizerWidth,minWidth:this.sizerWidth}}),h("div",{key:"07551e582fa3a7120005489c89de7c7d97b37ea9",class:"actions-view"},h("div",{key:"8dcead97d515ca62621f5c8aa33cc1e371207f23",class:"actions",ref:function(e){return t.actions=e},style:{marginRight:"calc(".concat(this.sizerWidth," + var(--mds-table-cell-padding))")}},h("slot",{key:"cd19ae680a72dffc4af2bfcec77a45fb4f7b05fd",name:"action"})))))};Object.defineProperty(t.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();MdsTableRow.style=MdsTableRowStyle0;export{MdsTableRow as mds_table_row};
6
+ var t=Object.prototype.toString;var e=Array.isArray||function e(r){return t.call(r)==="[object Array]"};function r(t){return typeof t==="function"}function a(t){return e(t)?"array":typeof t}function n(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function i(t,e){return t!=null&&typeof t==="object"&&e in t}function d(t,e){return t!=null&&typeof t!=="object"&&t.hasOwnProperty&&t.hasOwnProperty(e)}var s=RegExp.prototype.test;function o(t,e){return s.call(t,e)}var c=/\S/;function h(t){return!o(c,t)}var l={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;","`":"&#x60;","=":"&#x3D;"};function f(t){return String(t).replace(/[&<>"'`=\/]/g,(function t(e){return l[e]}))}var u=/\s*/;var y=/\s+/;var m=/\s*=/;var b=/\s*\}/;var v=/#|\^|\/|>|\{|&|=|!/;function w(t,r){if(!t)return[];var a=false;var i=[];var d=[];var s=[];var o=false;var c=false;var l="";var f=0;function w(){if(o&&!c){while(s.length)delete d[s.pop()]}else{s=[]}o=false;c=false}var x,R,S;function j(t){if(typeof t==="string")t=t.split(y,2);if(!e(t)||t.length!==2)throw new Error("Invalid tags: "+t);x=new RegExp(n(t[0])+"\\s*");R=new RegExp("\\s*"+n(t[1]));S=new RegExp("\\s*"+n("}"+t[1]))}j(r||E.tags);var $=new k(t);var T,_,X,z,C,I;while(!$.eos()){T=$.pos;X=$.scanUntil(x);if(X){for(var M=0,D=X.length;M<D;++M){z=X.charAt(M);if(h(z)){s.push(d.length);l+=z}else{c=true;a=true;l+=" "}d.push(["text",z,T,T+1]);T+=1;if(z==="\n"){w();l="";f=0;a=false}}}if(!$.scan(x))break;o=true;_=$.scan(v)||"name";$.scan(u);if(_==="="){X=$.scanUntil(m);$.scan(m);$.scanUntil(R)}else if(_==="{"){X=$.scanUntil(S);$.scan(b);$.scanUntil(R);_="&"}else{X=$.scanUntil(R)}if(!$.scan(R))throw new Error("Unclosed tag at "+$.pos);if(_==">"){C=[_,X,T,$.pos,l,f,a]}else{C=[_,X,T,$.pos]}f++;d.push(C);if(_==="#"||_==="^"){i.push(C)}else if(_==="/"){I=i.pop();if(!I)throw new Error('Unopened section "'+X+'" at '+T);if(I[1]!==X)throw new Error('Unclosed section "'+I[1]+'" at '+T)}else if(_==="name"||_==="{"||_==="&"){c=true}else if(_==="="){j(X)}}w();I=i.pop();if(I)throw new Error('Unclosed section "'+I[1]+'" at '+$.pos);return g(p(d))}function p(t){var e=[];var r,a;for(var n=0,i=t.length;n<i;++n){r=t[n];if(r){if(r[0]==="text"&&a&&a[0]==="text"){a[1]+=r[1];a[3]=r[3]}else{e.push(r);a=r}}}return e}function g(t){var e=[];var r=e;var a=[];var n,i;for(var d=0,s=t.length;d<s;++d){n=t[d];switch(n[0]){case"#":case"^":r.push(n);a.push(n);r=n[4]=[];break;case"/":i=a.pop();i[5]=n[2];r=a.length>0?a[a.length-1][4]:e;break;default:r.push(n)}}return e}function k(t){this.string=t;this.tail=t;this.pos=0}k.prototype.eos=function t(){return this.tail===""};k.prototype.scan=function t(e){var r=this.tail.match(e);if(!r||r.index!==0)return"";var a=r[0];this.tail=this.tail.substring(a.length);this.pos+=a.length;return a};k.prototype.scanUntil=function t(e){var r=this.tail.search(e),a;switch(r){case-1:a=this.tail;this.tail="";break;case 0:a="";break;default:a=this.tail.substring(0,r);this.tail=this.tail.substring(r)}this.pos+=a.length;return a};function x(t,e){this.view=t;this.cache={".":this.view};this.parent=e}x.prototype.push=function t(e){return new x(e,this)};x.prototype.lookup=function t(e){var a=this.cache;var n;if(a.hasOwnProperty(e)){n=a[e]}else{var s=this,o,c,h,l=false;while(s){if(e.indexOf(".")>0){o=s.view;c=e.split(".");h=0;while(o!=null&&h<c.length){if(h===c.length-1)l=i(o,c[h])||d(o,c[h]);o=o[c[h++]]}}else{o=s.view[e];l=i(s.view,e)}if(l){n=o;break}s=s.parent}a[e]=n}if(r(n))n=n.call(this.view);return n};function R(){this.templateCache={_cache:{},set:function t(e,r){this._cache[e]=r},get:function t(e){return this._cache[e]},clear:function t(){this._cache={}}}}R.prototype.clearCache=function t(){if(typeof this.templateCache!=="undefined"){this.templateCache.clear()}};R.prototype.parse=function t(e,r){var a=this.templateCache;var n=e+":"+(r||E.tags).join(":");var i=typeof a!=="undefined";var d=i?a.get(n):undefined;if(d==undefined){d=w(e,r);i&&a.set(n,d)}return d};R.prototype.render=function t(e,r,a,n){var i=this.getConfigTags(n);var d=this.parse(e,i);var s=r instanceof x?r:new x(r,undefined);return this.renderTokens(d,s,a,e,n)};R.prototype.renderTokens=function t(e,r,a,n,i){var d="";var s,o,c;for(var h=0,l=e.length;h<l;++h){c=undefined;s=e[h];o=s[0];if(o==="#")c=this.renderSection(s,r,a,n,i);else if(o==="^")c=this.renderInverted(s,r,a,n,i);else if(o===">")c=this.renderPartial(s,r,a,i);else if(o==="&")c=this.unescapedValue(s,r);else if(o==="name")c=this.escapedValue(s,r,i);else if(o==="text")c=this.rawValue(s);if(c!==undefined)d+=c}return d};R.prototype.renderSection=function t(a,n,i,d,s){var o=this;var c="";var h=n.lookup(a[1]);function l(t){return o.render(t,n,i,s)}if(!h)return;if(e(h)){for(var f=0,u=h.length;f<u;++f){c+=this.renderTokens(a[4],n.push(h[f]),i,d,s)}}else if(typeof h==="object"||typeof h==="string"||typeof h==="number"){c+=this.renderTokens(a[4],n.push(h),i,d,s)}else if(r(h)){if(typeof d!=="string")throw new Error("Cannot use higher-order sections without the original template");h=h.call(n.view,d.slice(a[3],a[5]),l);if(h!=null)c+=h}else{c+=this.renderTokens(a[4],n,i,d,s)}return c};R.prototype.renderInverted=function t(r,a,n,i,d){var s=a.lookup(r[1]);if(!s||e(s)&&s.length===0)return this.renderTokens(r[4],a,n,i,d)};R.prototype.indentPartial=function t(e,r,a){var n=r.replace(/[^ \t]/g,"");var i=e.split("\n");for(var d=0;d<i.length;d++){if(i[d].length&&(d>0||!a)){i[d]=n+i[d]}}return i.join("\n")};R.prototype.renderPartial=function t(e,a,n,i){if(!n)return;var d=this.getConfigTags(i);var s=r(n)?n(e[1]):n[e[1]];if(s!=null){var o=e[6];var c=e[5];var h=e[4];var l=s;if(c==0&&h){l=this.indentPartial(s,h,o)}var f=this.parse(l,d);return this.renderTokens(f,a,n,l,i)}};R.prototype.unescapedValue=function t(e,r){var a=r.lookup(e[1]);if(a!=null)return a};R.prototype.escapedValue=function t(e,r,a){var n=this.getConfigEscape(a)||E.escape;var i=r.lookup(e[1]);if(i!=null)return typeof i==="number"&&n===E.escape?String(i):n(i)};R.prototype.rawValue=function t(e){return e[1]};R.prototype.getConfigTags=function t(r){if(e(r)){return r}else if(r&&typeof r==="object"){return r.tags}else{return undefined}};R.prototype.getConfigEscape=function t(r){if(r&&typeof r==="object"&&!e(r)){return r.escape}else{return undefined}};var E={name:"mustache.js",version:"4.2.0",tags:["{{","}}"],clearCache:undefined,escape:undefined,parse:undefined,render:undefined,Scanner:undefined,Context:undefined,Writer:undefined,set templateCache(t){S.templateCache=t},get templateCache(){return S.templateCache}};var S=new R;E.clearCache=function t(){return S.clearCache()};E.parse=function t(e,r){return S.parse(e,r)};E.render=function t(e,r,n,i){if(typeof e!=="string"){throw new TypeError('Invalid template! Template should be a "string" '+'but "'+a(e)+'" was given as the first '+"argument for mustache#render(template, view, partials)")}return S.render(e,r,n,i)};E.escape=f;E.Scanner=k;E.Context=x;E.Writer=R;return E}))})(mustache);var Locale=function(){function t(t){var e=this;this.rollbackLanguage="en";this.set=function(t){e.config=t};this.lang=function(t){e.element=t;e.closestElement=e.element.closest("[lang]");if(e.closestElement){if(e.closestElement.lang){e.language=e.closestElement.lang;return e.language}}e.language=e.rollbackLanguage;return e.language};this.update=function(t){var r=t!==null&&t!==void 0?t:e.element.shadowRoot;r&&r.querySelectorAll("*").forEach((function(t){if(t.tagName.toLowerCase().startsWith("mds-")){if(t&&"updateLang"in t){t.updateLang()}}}))};this.pluralize=function(t,r){var a=e.config[e.language]?e.config[e.language][t]:e.config[e.rollbackLanguage][t];var n=[];if(Array.isArray(a)){n.push(a[0]);n.push(a[1])}else{n.push(a);n.push(a)}var i=n[0];var d=i;var s=Object.keys(r);if(s.length>0){var o=s[0];if(typeof r[o]==="number"){if(r[o]!==1){d=n[1]}}}return mustache.exports.render(d,r)};this.get=function(t,r){if(r){return e.pluralize(t,r)}return e.config[e.language]?e.config[e.language][t]:e.config[e.rollbackLanguage][t]};if(t){this.set(t)}}return t}();var selectRow$3="Επιλογή γραμμής";var unselectRow$3="Αποεπιλογή γραμμής";var localeEl={selectRow:selectRow$3,unselectRow:unselectRow$3};var selectRow$2="Select row";var unselectRow$2="Deselect row";var localeEn={selectRow:selectRow$2,unselectRow:unselectRow$2};var selectRow$1="Seleccionar fila";var unselectRow$1="Deseleccionar fila";var localeEs={selectRow:selectRow$1,unselectRow:unselectRow$1};var selectRow="Seleziona riga";var unselectRow="Deseleziona riga";var localeIt={selectRow:selectRow,unselectRow:unselectRow};var isSafari=function(){if(navigator){return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}return false};var mdsTableRowCss=':host{--mds-table-row-color-hover:var(--mds-table-color, rgb(var(--tone-neutral-02)));--mds-table-row-color-alt:var(--mds-table-color-alt, rgb(var(--tone-neutral-02)));--mds-table-row-background-hover:var(--mds-table-background, rgb(var(--tone-neutral)));--mds-table-row-background-alt:var(--mds-table-background-alt, rgb(var(--tone-neutral)));--mds-table-row-actions-gap:var(--mds-table-actions-gap, 1rem);-webkit-transition-duration:200ms;transition-duration:200ms;-webkit-transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-timing-function:cubic-bezier(0, 0, 0.2, 1);color:var(--mds-table-row-color);display:table-row;position:relative;-webkit-transition-property:color;transition-property:color}.selection-cell{vertical-align:middle}.checkbox-wrapper{display:-ms-flexbox;display:flex}:host([interactive]:hover){--mds-table-row-actions-background:var(--mds-table-row-background-hover);--mds-table-row-background:var(--mds-table-row-background-hover);--mds-table-row-color:var(--mds-table-row-color-hover)}:host([selected]){--mds-table-row-background:var(--mds-table-row-background-hover);--mds-table-row-color:var(--mds-table-row-color-hover)}:host([sorted]){--mds-table-row-background:var(--mds-table-row-background-alt);--mds-table-row-color:var(--mds-table-row-color-alt)}:host([sorted][selected]){--mds-table-row-background:var(--mds-table-row-background-hover);--mds-table-row-color:var(--mds-table-row-color-hover)}.actions-view{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;inset:0;-ms-flex-pack:end;justify-content:end;pointer-events:none;position:absolute}.actions{--mds-table-row-actions-background:var(--mds-table-row-background);-ms-flex-align:center;align-items:center;background-color:var(--mds-table-row-actions-background);border-bottom-left-radius:calc(0.5rem + var(--mds-table-border-width) * 2);border-top-left-radius:calc(0.5rem + var(--mds-table-border-width) * 2);display:-ms-inline-flexbox;display:inline-flex;gap:var(--mds-table-row-actions-gap);inset:0;margin-right:100%;padding:calc(var(--mds-table-border-width) * 2);padding-right:0;pointer-events:auto;position:-webkit-sticky;position:sticky;right:0;-webkit-transform:translateX(100%);transform:translateX(100%);-webkit-transition-duration:500ms;transition-duration:500ms;-webkit-transition-property:background-color, padding-right, -webkit-transform;transition-property:background-color, padding-right, -webkit-transform;transition-property:transform, background-color, padding-right;transition-property:transform, background-color, padding-right, -webkit-transform;-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1)}:host(:hover) .actions{-webkit-transform:translateX(100%);transform:translateX(100%)}:host([overlay-actions]) .actions{padding-right:var(--mds-table-cell-padding);-webkit-transform:translateX(100%);transform:translateX(100%)}:host([overlay-actions]:hover) .actions{--mds-table-row-actions-background:var(--mds-table-row-background);-webkit-transform:translateX(0);transform:translateX(0)}:host-context(mds-table[interactive="false"]):host(:hover) .actions,:host-context(mds-table:not([interactive])):host(:hover) .actions{--mds-table-row-actions-background:var(--mds-table-row-background-hover)}:host-context(mds-table[selection]:not([interactive])):host(:not([selected]):hover) .actions,:host-context(mds-table[selection][interactive="false"]):host(:not([selected]):hover) .actions,:host-context(mds-table[selection]:not([interactive])):host([selected="false"]:hover) .actions,:host-context(mds-table[selection][interactive="false"]):host([selected="false"]:hover) .actions{--mds-table-row-actions-background:var(--mds-table-row-background-alt)}.actions-cell--disable,.actions-cell--disable .actions{position:static !important}.actions-cell--disable .actions{margin-right:0 !important;-webkit-transform:translateX(0) !important;transform:translateX(0) !important}:host-context(.pref-animation-reduce){-webkit-transition-duration:0s;transition-duration:0s}@media (prefers-reduced-motion){:host-context(.pref-animation-system){-webkit-transition-duration:0s;transition-duration:0s}}:host(:not(:is([hydrated],.hydrated))){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}mds-accordion:not(:is([hydrated],.hydrated)),mds-accordion-item:not(:is([hydrated],.hydrated)),mds-accordion-timer:not(:is([hydrated],.hydrated)),mds-accordion-timer-item:not(:is([hydrated],.hydrated)),mds-author:not(:is([hydrated],.hydrated)),mds-avatar:not(:is([hydrated],.hydrated)),mds-badge:not(:is([hydrated],.hydrated)),mds-banner:not(:is([hydrated],.hydrated)),mds-benchmark-bar:not(:is([hydrated],.hydrated)),mds-bibliography:not(:is([hydrated],.hydrated)),mds-breadcrumb:not(:is([hydrated],.hydrated)),mds-breadcrumb-item:not(:is([hydrated],.hydrated)),mds-button:not(:is([hydrated],.hydrated)),mds-card:not(:is([hydrated],.hydrated)),mds-card-content:not(:is([hydrated],.hydrated)),mds-card-footer:not(:is([hydrated],.hydrated)),mds-card-header:not(:is([hydrated],.hydrated)),mds-card-media:not(:is([hydrated],.hydrated)),mds-chip:not(:is([hydrated],.hydrated)),mds-details:not(:is([hydrated],.hydrated)),mds-dropdown:not(:is([hydrated],.hydrated)),mds-entity:not(:is([hydrated],.hydrated)),mds-file:not(:is([hydrated],.hydrated)),mds-file-preview:not(:is([hydrated],.hydrated)),mds-filter:not(:is([hydrated],.hydrated)),mds-filter-item:not(:is([hydrated],.hydrated)),mds-header:not(:is([hydrated],.hydrated)),mds-header-bar:not(:is([hydrated],.hydrated)),mds-help:not(:is([hydrated],.hydrated)),mds-horizontal-scroll:not(:is([hydrated],.hydrated)),mds-hr:not(:is([hydrated],.hydrated)),mds-icon:not(:is([hydrated],.hydrated)),mds-img:not(:is([hydrated],.hydrated)),mds-input:not(:is([hydrated],.hydrated)),mds-input-field:not(:is([hydrated],.hydrated)),mds-input-range:not(:is([hydrated],.hydrated)),mds-input-select:not(:is([hydrated],.hydrated)),mds-input-switch:not(:is([hydrated],.hydrated)),mds-input-tip:not(:is([hydrated],.hydrated)),mds-input-tip-item:not(:is([hydrated],.hydrated)),mds-input-upload:not(:is([hydrated],.hydrated)),mds-keyboard:not(:is([hydrated],.hydrated)),mds-keyboard-key:not(:is([hydrated],.hydrated)),mds-kpi:not(:is([hydrated],.hydrated)),mds-kpi-item:not(:is([hydrated],.hydrated)),mds-label:not(:is([hydrated],.hydrated)),mds-list:not(:is([hydrated],.hydrated)),mds-list-item:not(:is([hydrated],.hydrated)),mds-modal:not(:is([hydrated],.hydrated)),mds-note:not(:is([hydrated],.hydrated)),mds-notification:not(:is([hydrated],.hydrated)),mds-paginator:not(:is([hydrated],.hydrated)),mds-paginator-item:not(:is([hydrated],.hydrated)),mds-pref:not(:is([hydrated],.hydrated)),mds-pref-animation:not(:is([hydrated],.hydrated)),mds-pref-consumption:not(:is([hydrated],.hydrated)),mds-pref-contrast:not(:is([hydrated],.hydrated)),mds-pref-language:not(:is([hydrated],.hydrated)),mds-pref-language-item:not(:is([hydrated],.hydrated)),mds-pref-theme:not(:is([hydrated],.hydrated)),mds-price-table:not(:is([hydrated],.hydrated)),mds-price-table-features:not(:is([hydrated],.hydrated)),mds-price-table-features-cell:not(:is([hydrated],.hydrated)),mds-price-table-features-row:not(:is([hydrated],.hydrated)),mds-price-table-header:not(:is([hydrated],.hydrated)),mds-price-table-list:not(:is([hydrated],.hydrated)),mds-price-table-list-item:not(:is([hydrated],.hydrated)),mds-progress:not(:is([hydrated],.hydrated)),mds-push-notification:not(:is([hydrated],.hydrated)),mds-push-notifications:not(:is([hydrated],.hydrated)),mds-quote:not(:is([hydrated],.hydrated)),mds-separator:not(:is([hydrated],.hydrated)),mds-spinner:not(:is([hydrated],.hydrated)),mds-stepper-bar:not(:is([hydrated],.hydrated)),mds-stepper-bar-item:not(:is([hydrated],.hydrated)),mds-tab:not(:is([hydrated],.hydrated)),mds-tab-bar:not(:is([hydrated],.hydrated)),mds-tab-bar-item:not(:is([hydrated],.hydrated)),mds-tab-item:not(:is([hydrated],.hydrated)),mds-table:not(:is([hydrated],.hydrated)),mds-table-body:not(:is([hydrated],.hydrated)),mds-table-cell:not(:is([hydrated],.hydrated)),mds-table-footer:not(:is([hydrated],.hydrated)),mds-table-header:not(:is([hydrated],.hydrated)),mds-table-header-cell:not(:is([hydrated],.hydrated)),mds-table-row:not(:is([hydrated],.hydrated)),mds-text:not(:is([hydrated],.hydrated)),mds-toast:not(:is([hydrated],.hydrated)),mds-tooltip:not(:is([hydrated],.hydrated)),mds-tree:not(:is([hydrated],.hydrated)),mds-tree-item:not(:is([hydrated],.hydrated)),mds-url-view:not(:is([hydrated],.hydrated)),mds-usage:not(:is([hydrated],.hydrated)),mds-video-wall:not(:is([hydrated],.hydrated)),mds-zero:not(:is([hydrated],.hydrated)){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}';var MdsTableRowStyle0=mdsTableRowCss;var MdsTableRow=function(){function t(t){var e=this;registerInstance(this,t);this.hasActions=true;this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});this.selectable=undefined;this.handleSelectionChange=function(t){var r;e.selected=t.detail.checked;(r=e.host.closest("mds-table"))===null||r===void 0?void 0:r.updateSelection()}}t.prototype.updateLang=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.language=this.t.lang(this.host);this.t.update();return[2]}))}))};t.prototype.componentWillLoad=function(){this.language=this.t.lang(this.host);this.hasActions=this.host.querySelector(':scope > [slot="action"]')!==null};t.prototype.connectedCallback=function(){this.initObserver()};t.prototype.initObserver=function(){var t=this;var e=new IntersectionObserver((function(r){if(r[0].isIntersecting&&t.actions){t.sizerWidth="".concat(t.actions.offsetWidth.toString(),"px");e.unobserve(t.host)}}),{root:this.host.parentElement,threshold:1});e.observe(this.host)};t.prototype.render=function(){var t=this;return h(Host,{key:"28e3db8073f279d629c28e1f872d9428353cdd20",role:"row"},this.selectable&&h("mds-table-cell",{key:"8a5694d2424941717b033aec6c1deb5addf16731",class:"selection-cell"},h("div",{key:"f078999da0380333580fded32245d7fd66f45c7f",class:"checkbox-wrapper"},h("mds-input-switch",{key:"bf7e66b17d4f07d99d9736f2668740c49d43abbf",title:this.t.get(this.selected?"unselectRow":"selectRow"),lang:this.language,type:"checkbox",checked:this.selected,onMdsInputSwitchChange:this.handleSelectionChange}))),h("slot",{key:"ba0509a29c8224700cf450a9292f783caf4b6157"}),this.hasActions&&isSafari()&&h("mds-table-cell",{key:"4869dbff849b4c17af232fa33a050203481c7292",class:"actions-cell actions-cell--disable"},h("div",{key:"adbc97b79c20fe5388aaad26e631d5af0dcb352d",class:"actions"},h("slot",{key:"60aa1e0aa532533c6f8728e5277fe28492d97bf0",name:"action"}))),this.hasActions&&!isSafari()&&h("mds-table-cell",{key:"f8030da3ab5725804f6f02c62424a9d12c48bbd5",class:"actions-cell"},h("div",{key:"7f00a568188011095edb2496ee30d820cf86cee8",class:"actions-sizer",style:{minHeight:"1px",maxWidth:this.sizerWidth,minWidth:this.sizerWidth}}),h("div",{key:"8169dd5a54c3df5e54492ff95bdcbb3e05c00d0b",class:"actions-view"},h("div",{key:"1a498ee7f6a6b42c381405ab2b15a8e23100641c",class:"actions",ref:function(e){return t.actions=e},style:{marginRight:"calc(".concat(this.sizerWidth," + var(--mds-table-cell-padding))")}},h("slot",{key:"f232095143d7062d5d686f913852800be67e7b15",name:"action"})))))};Object.defineProperty(t.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();MdsTableRow.style=MdsTableRowStyle0;export{MdsTableRow as mds_table_row};
@@ -1 +1 @@
1
- import{p as a,b as e}from"./p-4a407cb6.js";export{s as setNonce}from"./p-4a407cb6.js";import{g as t}from"./p-e1255160.js";(()=>{const e=import.meta.url,t={};return""!==e&&(t.resourcesUrl=new URL(".",e).href),a(t)})().then((async a=>(await t(),e([["p-c2d293ab",[[1,"mds-table-row",{interactive:[516],overlayActions:[516,"overlay-actions"],selectable:[516],selected:[1540],value:[520],sizerWidth:[32],language:[32],updateLang:[64]}]]]],a))));
1
+ import{p as e,b as a}from"./p-4a407cb6.js";export{s as setNonce}from"./p-4a407cb6.js";import{g as t}from"./p-e1255160.js";(()=>{const a=import.meta.url,t={};return""!==a&&(t.resourcesUrl=new URL(".",a).href),e(t)})().then((async e=>(await t(),a([["p-86e316e3",[[1,"mds-table-row",{interactive:[516],overlayActions:[516,"overlay-actions"],selectable:[516],selected:[1540],value:[520],sizerWidth:[32],language:[32],updateLang:[64]}]]]],e))));
@@ -0,0 +1,6 @@
1
+ import{r as t,h as e,H as r,g as a}from"./p-4a407cb6.js";"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;var d={exports:{}};d.exports=function(){
2
+ /*!
3
+ * mustache.js - Logic-less {{mustache}} templates with JavaScript
4
+ * http://github.com/janl/mustache.js
5
+ */
6
+ var t=Object.prototype.toString,e=Array.isArray||function(e){return"[object Array]"===t.call(e)};function r(t){return"function"==typeof t}function a(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function d(t,e){return null!=t&&"object"==typeof t&&e in t}var i=RegExp.prototype.test;var s=/\S/;function o(t){return!function(t,e){return i.call(t,e)}(s,t)}var n={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;","`":"&#x60;","=":"&#x3D;"};var h=/\s*/,c=/\s+/,l=/\s*=/,y=/\s*\}/,m=/#|\^|\/|>|\{|&|=|!/;function b(t){this.string=t,this.tail=t,this.pos=0}function u(t,e){this.view=t,this.cache={".":this.view},this.parent=e}function f(){this.templateCache={_cache:{},set:function(t,e){this._cache[t]=e},get:function(t){return this._cache[t]},clear:function(){this._cache={}}}}b.prototype.eos=function(){return""===this.tail},b.prototype.scan=function(t){var e=this.tail.match(t);if(!e||0!==e.index)return"";var r=e[0];return this.tail=this.tail.substring(r.length),this.pos+=r.length,r},b.prototype.scanUntil=function(t){var e,r=this.tail.search(t);switch(r){case-1:e=this.tail,this.tail="";break;case 0:e="";break;default:e=this.tail.substring(0,r),this.tail=this.tail.substring(r)}return this.pos+=e.length,e},u.prototype.push=function(t){return new u(t,this)},u.prototype.lookup=function(t){var e,a,i,s=this.cache;if(s.hasOwnProperty(t))e=s[t];else{for(var o,n,h,c=this,l=!1;c;){if(t.indexOf(".")>0)for(o=c.view,n=t.split("."),h=0;null!=o&&h<n.length;)h===n.length-1&&(l=d(o,n[h])||(i=n[h],null!=(a=o)&&"object"!=typeof a&&a.hasOwnProperty&&a.hasOwnProperty(i))),o=o[n[h++]];else o=c.view[t],l=d(c.view,t);if(l){e=o;break}c=c.parent}s[t]=e}return r(e)&&(e=e.call(this.view)),e},f.prototype.clearCache=function(){void 0!==this.templateCache&&this.templateCache.clear()},f.prototype.parse=function(t,r){var d=this.templateCache,i=t+":"+(r||p.tags).join(":"),s=void 0!==d,n=s?d.get(i):void 0;return null==n&&(n=function(t,r){if(!t)return[];var d,i,s,n=!1,u=[],f=[],v=[],w=!1,g=!1,k="",x=0;function R(){if(w&&!g)for(;v.length;)delete f[v.pop()];else v=[];w=!1,g=!1}function j(t){if("string"==typeof t&&(t=t.split(c,2)),!e(t)||2!==t.length)throw new Error("Invalid tags: "+t);d=new RegExp(a(t[0])+"\\s*"),i=new RegExp("\\s*"+a(t[1])),s=new RegExp("\\s*"+a("}"+t[1]))}j(r||p.tags);for(var E,X,z,S,C,D,I=new b(t);!I.eos();){if(E=I.pos,z=I.scanUntil(d))for(var O=0,T=z.length;O<T;++O)o(S=z.charAt(O))?(v.push(f.length),k+=S):(g=!0,n=!0,k+=" "),f.push(["text",S,E,E+1]),E+=1,"\n"===S&&(R(),k="",x=0,n=!1);if(!I.scan(d))break;if(w=!0,X=I.scan(m)||"name",I.scan(h),"="===X?(z=I.scanUntil(l),I.scan(l),I.scanUntil(i)):"{"===X?(z=I.scanUntil(s),I.scan(y),I.scanUntil(i),X="&"):z=I.scanUntil(i),!I.scan(i))throw new Error("Unclosed tag at "+I.pos);if(C=">"==X?[X,z,E,I.pos,k,x,n]:[X,z,E,I.pos],x++,f.push(C),"#"===X||"^"===X)u.push(C);else if("/"===X){if(!(D=u.pop()))throw new Error('Unopened section "'+z+'" at '+E);if(D[1]!==z)throw new Error('Unclosed section "'+D[1]+'" at '+E)}else"name"===X||"{"===X||"&"===X?g=!0:"="===X&&j(z)}if(R(),D=u.pop())throw new Error('Unclosed section "'+D[1]+'" at '+I.pos);return function(t){for(var e,r=[],a=r,d=[],i=0,s=t.length;i<s;++i)switch((e=t[i])[0]){case"#":case"^":a.push(e),d.push(e),a=e[4]=[];break;case"/":d.pop()[5]=e[2],a=d.length>0?d[d.length-1][4]:r;break;default:a.push(e)}return r}(function(t){for(var e,r,a=[],d=0,i=t.length;d<i;++d)(e=t[d])&&("text"===e[0]&&r&&"text"===r[0]?(r[1]+=e[1],r[3]=e[3]):(a.push(e),r=e));return a}(f))}(t,r),s&&d.set(i,n)),n},f.prototype.render=function(t,e,r,a){var d=this.getConfigTags(a),i=this.parse(t,d),s=e instanceof u?e:new u(e,void 0);return this.renderTokens(i,s,r,t,a)},f.prototype.renderTokens=function(t,e,r,a,d){for(var i,s,o,n="",h=0,c=t.length;h<c;++h)o=void 0,"#"===(s=(i=t[h])[0])?o=this.renderSection(i,e,r,a,d):"^"===s?o=this.renderInverted(i,e,r,a,d):">"===s?o=this.renderPartial(i,e,r,d):"&"===s?o=this.unescapedValue(i,e):"name"===s?o=this.escapedValue(i,e,d):"text"===s&&(o=this.rawValue(i)),void 0!==o&&(n+=o);return n},f.prototype.renderSection=function(t,a,d,i,s){var o=this,n="",h=a.lookup(t[1]);if(h){if(e(h))for(var c=0,l=h.length;c<l;++c)n+=this.renderTokens(t[4],a.push(h[c]),d,i,s);else if("object"==typeof h||"string"==typeof h||"number"==typeof h)n+=this.renderTokens(t[4],a.push(h),d,i,s);else if(r(h)){if("string"!=typeof i)throw new Error("Cannot use higher-order sections without the original template");null!=(h=h.call(a.view,i.slice(t[3],t[5]),(function(t){return o.render(t,a,d,s)})))&&(n+=h)}else n+=this.renderTokens(t[4],a,d,i,s);return n}},f.prototype.renderInverted=function(t,r,a,d,i){var s=r.lookup(t[1]);if(!s||e(s)&&0===s.length)return this.renderTokens(t[4],r,a,d,i)},f.prototype.indentPartial=function(t,e,r){for(var a=e.replace(/[^ \t]/g,""),d=t.split("\n"),i=0;i<d.length;i++)d[i].length&&(i>0||!r)&&(d[i]=a+d[i]);return d.join("\n")},f.prototype.renderPartial=function(t,e,a,d){if(a){var i=this.getConfigTags(d),s=r(a)?a(t[1]):a[t[1]];if(null!=s){var o=t[4],n=s;0==t[5]&&o&&(n=this.indentPartial(s,o,t[6]));var h=this.parse(n,i);return this.renderTokens(h,e,a,n,d)}}},f.prototype.unescapedValue=function(t,e){var r=e.lookup(t[1]);if(null!=r)return r},f.prototype.escapedValue=function(t,e,r){var a=this.getConfigEscape(r)||p.escape,d=e.lookup(t[1]);if(null!=d)return"number"==typeof d&&a===p.escape?String(d):a(d)},f.prototype.rawValue=function(t){return t[1]},f.prototype.getConfigTags=function(t){return e(t)?t:t&&"object"==typeof t?t.tags:void 0},f.prototype.getConfigEscape=function(t){return t&&"object"==typeof t&&!e(t)?t.escape:void 0};var p={name:"mustache.js",version:"4.2.0",tags:["{{","}}"],clearCache:void 0,escape:void 0,parse:void 0,render:void 0,Scanner:void 0,Context:void 0,Writer:void 0,set templateCache(t){v.templateCache=t},get templateCache(){return v.templateCache}},v=new f;return p.clearCache=function(){return v.clearCache()},p.parse=function(t,e){return v.parse(t,e)},p.render=function(t,r,a,d){if("string"!=typeof t)throw new TypeError('Invalid template! Template should be a "string" but "'+((e(i=t)?"array":typeof i)+'" was given as the first argument for mustache#render(template, view, partials)'));var i;return v.render(t,r,a,d)},p.escape=function(t){return String(t).replace(/[&<>"'`=\/]/g,(function(t){return n[t]}))},p.Scanner=b,p.Context=u,p.Writer=f,p}();class i{constructor(t){this.rollbackLanguage="en",this.set=t=>{this.config=t},this.lang=t=>(this.element=t,this.closestElement=this.element.closest("[lang]"),this.closestElement&&this.closestElement.lang?(this.language=this.closestElement.lang,this.language):(this.language=this.rollbackLanguage,this.language)),this.update=t=>{const e=null!=t?t:this.element.shadowRoot;e&&e.querySelectorAll("*").forEach((t=>{t.tagName.toLowerCase().startsWith("mds-")&&t&&"updateLang"in t&&t.updateLang()}))},this.pluralize=(t,e)=>{const r=this.config[this.language]?this.config[this.language][t]:this.config[this.rollbackLanguage][t],a=[];Array.isArray(r)?(a.push(r[0]),a.push(r[1])):(a.push(r),a.push(r));const[i]=a;let s=i;const o=Object.keys(e);if(o.length>0){const[t]=o;"number"==typeof e[t]&&1!==e[t]&&(s=a[1])}return d.exports.render(s,e)},this.get=(t,e)=>e?this.pluralize(t,e):this.config[this.language]?this.config[this.language][t]:this.config[this.rollbackLanguage][t],t&&this.set(t)}}const s={selectRow:"Επιλογή γραμμής",unselectRow:"Αποεπιλογή γραμμής"},o={selectRow:"Select row",unselectRow:"Deselect row"},n={selectRow:"Seleccionar fila",unselectRow:"Deseleccionar fila"},h={selectRow:"Seleziona riga",unselectRow:"Deseleziona riga"},c=()=>!!navigator&&/^((?!chrome|android).)*safari/i.test(navigator.userAgent),l=class{constructor(e){t(this,e),this.hasActions=!0,this.t=new i({el:s,en:o,es:n,it:h}),this.selectable=void 0,this.handleSelectionChange=t=>{var e;this.selected=t.detail.checked,null===(e=this.host.closest("mds-table"))||void 0===e||e.updateSelection()}}async updateLang(){this.language=this.t.lang(this.host),this.t.update()}componentWillLoad(){this.language=this.t.lang(this.host),this.hasActions=null!==this.host.querySelector(':scope > [slot="action"]')}connectedCallback(){this.initObserver()}initObserver(){const t=new IntersectionObserver((e=>{e[0].isIntersecting&&this.actions&&(this.sizerWidth=`${this.actions.offsetWidth.toString()}px`,t.unobserve(this.host))}),{root:this.host.parentElement,threshold:1});t.observe(this.host)}render(){return e(r,{key:"28e3db8073f279d629c28e1f872d9428353cdd20",role:"row"},this.selectable&&e("mds-table-cell",{key:"8a5694d2424941717b033aec6c1deb5addf16731",class:"selection-cell"},e("div",{key:"f078999da0380333580fded32245d7fd66f45c7f",class:"checkbox-wrapper"},e("mds-input-switch",{key:"bf7e66b17d4f07d99d9736f2668740c49d43abbf",title:this.t.get(this.selected?"unselectRow":"selectRow"),lang:this.language,type:"checkbox",checked:this.selected,onMdsInputSwitchChange:this.handleSelectionChange}))),e("slot",{key:"ba0509a29c8224700cf450a9292f783caf4b6157"}),this.hasActions&&c()&&e("mds-table-cell",{key:"4869dbff849b4c17af232fa33a050203481c7292",class:"actions-cell actions-cell--disable"},e("div",{key:"adbc97b79c20fe5388aaad26e631d5af0dcb352d",class:"actions"},e("slot",{key:"60aa1e0aa532533c6f8728e5277fe28492d97bf0",name:"action"}))),this.hasActions&&!c()&&e("mds-table-cell",{key:"f8030da3ab5725804f6f02c62424a9d12c48bbd5",class:"actions-cell"},e("div",{key:"7f00a568188011095edb2496ee30d820cf86cee8",class:"actions-sizer",style:{minHeight:"1px",maxWidth:this.sizerWidth,minWidth:this.sizerWidth}}),e("div",{key:"8169dd5a54c3df5e54492ff95bdcbb3e05c00d0b",class:"actions-view"},e("div",{key:"1a498ee7f6a6b42c381405ab2b15a8e23100641c",class:"actions",ref:t=>this.actions=t,style:{marginRight:`calc(${this.sizerWidth} + var(--mds-table-cell-padding))`}},e("slot",{key:"f232095143d7062d5d686f913852800be67e7b15",name:"action"})))))}get host(){return a(this)}};l.style=':host{--mds-table-row-color-hover:var(--mds-table-color, rgb(var(--tone-neutral-02)));--mds-table-row-color-alt:var(--mds-table-color-alt, rgb(var(--tone-neutral-02)));--mds-table-row-background-hover:var(--mds-table-background, rgb(var(--tone-neutral)));--mds-table-row-background-alt:var(--mds-table-background-alt, rgb(var(--tone-neutral)));--mds-table-row-actions-gap:var(--mds-table-actions-gap, 1rem);-webkit-transition-duration:200ms;transition-duration:200ms;-webkit-transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-timing-function:cubic-bezier(0, 0, 0.2, 1);color:var(--mds-table-row-color);display:table-row;position:relative;-webkit-transition-property:color;transition-property:color}.selection-cell{vertical-align:middle}.checkbox-wrapper{display:-ms-flexbox;display:flex}:host([interactive]:hover){--mds-table-row-actions-background:var(--mds-table-row-background-hover);--mds-table-row-background:var(--mds-table-row-background-hover);--mds-table-row-color:var(--mds-table-row-color-hover)}:host([selected]){--mds-table-row-background:var(--mds-table-row-background-hover);--mds-table-row-color:var(--mds-table-row-color-hover)}:host([sorted]){--mds-table-row-background:var(--mds-table-row-background-alt);--mds-table-row-color:var(--mds-table-row-color-alt)}:host([sorted][selected]){--mds-table-row-background:var(--mds-table-row-background-hover);--mds-table-row-color:var(--mds-table-row-color-hover)}.actions-view{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;inset:0;-ms-flex-pack:end;justify-content:end;pointer-events:none;position:absolute}.actions{--mds-table-row-actions-background:var(--mds-table-row-background);-ms-flex-align:center;align-items:center;background-color:var(--mds-table-row-actions-background);border-bottom-left-radius:calc(0.5rem + var(--mds-table-border-width) * 2);border-top-left-radius:calc(0.5rem + var(--mds-table-border-width) * 2);display:-ms-inline-flexbox;display:inline-flex;gap:var(--mds-table-row-actions-gap);inset:0;margin-right:100%;padding:calc(var(--mds-table-border-width) * 2);padding-right:0;pointer-events:auto;position:-webkit-sticky;position:sticky;right:0;-webkit-transform:translateX(100%);transform:translateX(100%);-webkit-transition-duration:500ms;transition-duration:500ms;-webkit-transition-property:background-color, padding-right, -webkit-transform;transition-property:background-color, padding-right, -webkit-transform;transition-property:transform, background-color, padding-right;transition-property:transform, background-color, padding-right, -webkit-transform;-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1)}:host(:hover) .actions{-webkit-transform:translateX(100%);transform:translateX(100%)}:host([overlay-actions]) .actions{padding-right:var(--mds-table-cell-padding);-webkit-transform:translateX(100%);transform:translateX(100%)}:host([overlay-actions]:hover) .actions{--mds-table-row-actions-background:var(--mds-table-row-background);-webkit-transform:translateX(0);transform:translateX(0)}:host-context(mds-table[interactive="false"]):host(:hover) .actions,:host-context(mds-table:not([interactive])):host(:hover) .actions{--mds-table-row-actions-background:var(--mds-table-row-background-hover)}:host-context(mds-table[selection]:not([interactive])):host(:not([selected]):hover) .actions,:host-context(mds-table[selection][interactive="false"]):host(:not([selected]):hover) .actions,:host-context(mds-table[selection]:not([interactive])):host([selected="false"]:hover) .actions,:host-context(mds-table[selection][interactive="false"]):host([selected="false"]:hover) .actions{--mds-table-row-actions-background:var(--mds-table-row-background-alt)}.actions-cell--disable,.actions-cell--disable .actions{position:static !important}.actions-cell--disable .actions{margin-right:0 !important;-webkit-transform:translateX(0) !important;transform:translateX(0) !important}:host-context(.pref-animation-reduce){-webkit-transition-duration:0s;transition-duration:0s}@media (prefers-reduced-motion){:host-context(.pref-animation-system){-webkit-transition-duration:0s;transition-duration:0s}}:host(:not(:is([hydrated],.hydrated))){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}mds-accordion:not(:is([hydrated],.hydrated)),mds-accordion-item:not(:is([hydrated],.hydrated)),mds-accordion-timer:not(:is([hydrated],.hydrated)),mds-accordion-timer-item:not(:is([hydrated],.hydrated)),mds-author:not(:is([hydrated],.hydrated)),mds-avatar:not(:is([hydrated],.hydrated)),mds-badge:not(:is([hydrated],.hydrated)),mds-banner:not(:is([hydrated],.hydrated)),mds-benchmark-bar:not(:is([hydrated],.hydrated)),mds-bibliography:not(:is([hydrated],.hydrated)),mds-breadcrumb:not(:is([hydrated],.hydrated)),mds-breadcrumb-item:not(:is([hydrated],.hydrated)),mds-button:not(:is([hydrated],.hydrated)),mds-card:not(:is([hydrated],.hydrated)),mds-card-content:not(:is([hydrated],.hydrated)),mds-card-footer:not(:is([hydrated],.hydrated)),mds-card-header:not(:is([hydrated],.hydrated)),mds-card-media:not(:is([hydrated],.hydrated)),mds-chip:not(:is([hydrated],.hydrated)),mds-details:not(:is([hydrated],.hydrated)),mds-dropdown:not(:is([hydrated],.hydrated)),mds-entity:not(:is([hydrated],.hydrated)),mds-file:not(:is([hydrated],.hydrated)),mds-file-preview:not(:is([hydrated],.hydrated)),mds-filter:not(:is([hydrated],.hydrated)),mds-filter-item:not(:is([hydrated],.hydrated)),mds-header:not(:is([hydrated],.hydrated)),mds-header-bar:not(:is([hydrated],.hydrated)),mds-help:not(:is([hydrated],.hydrated)),mds-horizontal-scroll:not(:is([hydrated],.hydrated)),mds-hr:not(:is([hydrated],.hydrated)),mds-icon:not(:is([hydrated],.hydrated)),mds-img:not(:is([hydrated],.hydrated)),mds-input:not(:is([hydrated],.hydrated)),mds-input-field:not(:is([hydrated],.hydrated)),mds-input-range:not(:is([hydrated],.hydrated)),mds-input-select:not(:is([hydrated],.hydrated)),mds-input-switch:not(:is([hydrated],.hydrated)),mds-input-tip:not(:is([hydrated],.hydrated)),mds-input-tip-item:not(:is([hydrated],.hydrated)),mds-input-upload:not(:is([hydrated],.hydrated)),mds-keyboard:not(:is([hydrated],.hydrated)),mds-keyboard-key:not(:is([hydrated],.hydrated)),mds-kpi:not(:is([hydrated],.hydrated)),mds-kpi-item:not(:is([hydrated],.hydrated)),mds-label:not(:is([hydrated],.hydrated)),mds-list:not(:is([hydrated],.hydrated)),mds-list-item:not(:is([hydrated],.hydrated)),mds-modal:not(:is([hydrated],.hydrated)),mds-note:not(:is([hydrated],.hydrated)),mds-notification:not(:is([hydrated],.hydrated)),mds-paginator:not(:is([hydrated],.hydrated)),mds-paginator-item:not(:is([hydrated],.hydrated)),mds-pref:not(:is([hydrated],.hydrated)),mds-pref-animation:not(:is([hydrated],.hydrated)),mds-pref-consumption:not(:is([hydrated],.hydrated)),mds-pref-contrast:not(:is([hydrated],.hydrated)),mds-pref-language:not(:is([hydrated],.hydrated)),mds-pref-language-item:not(:is([hydrated],.hydrated)),mds-pref-theme:not(:is([hydrated],.hydrated)),mds-price-table:not(:is([hydrated],.hydrated)),mds-price-table-features:not(:is([hydrated],.hydrated)),mds-price-table-features-cell:not(:is([hydrated],.hydrated)),mds-price-table-features-row:not(:is([hydrated],.hydrated)),mds-price-table-header:not(:is([hydrated],.hydrated)),mds-price-table-list:not(:is([hydrated],.hydrated)),mds-price-table-list-item:not(:is([hydrated],.hydrated)),mds-progress:not(:is([hydrated],.hydrated)),mds-push-notification:not(:is([hydrated],.hydrated)),mds-push-notifications:not(:is([hydrated],.hydrated)),mds-quote:not(:is([hydrated],.hydrated)),mds-separator:not(:is([hydrated],.hydrated)),mds-spinner:not(:is([hydrated],.hydrated)),mds-stepper-bar:not(:is([hydrated],.hydrated)),mds-stepper-bar-item:not(:is([hydrated],.hydrated)),mds-tab:not(:is([hydrated],.hydrated)),mds-tab-bar:not(:is([hydrated],.hydrated)),mds-tab-bar-item:not(:is([hydrated],.hydrated)),mds-tab-item:not(:is([hydrated],.hydrated)),mds-table:not(:is([hydrated],.hydrated)),mds-table-body:not(:is([hydrated],.hydrated)),mds-table-cell:not(:is([hydrated],.hydrated)),mds-table-footer:not(:is([hydrated],.hydrated)),mds-table-header:not(:is([hydrated],.hydrated)),mds-table-header-cell:not(:is([hydrated],.hydrated)),mds-table-row:not(:is([hydrated],.hydrated)),mds-text:not(:is([hydrated],.hydrated)),mds-toast:not(:is([hydrated],.hydrated)),mds-tooltip:not(:is([hydrated],.hydrated)),mds-tree:not(:is([hydrated],.hydrated)),mds-tree-item:not(:is([hydrated],.hydrated)),mds-url-view:not(:is([hydrated],.hydrated)),mds-usage:not(:is([hydrated],.hydrated)),mds-video-wall:not(:is([hydrated],.hydrated)),mds-zero:not(:is([hydrated],.hydrated)){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}';export{l as mds_table_row}
@@ -1 +1 @@
1
- var __awaiter=this&&this.__awaiter||function(t,n,e,r){function i(t){return t instanceof e?t:new e((function(n){n(t)}))}return new(e||(e=Promise))((function(e,u){function c(t){try{o(r.next(t))}catch(t){u(t)}}function a(t){try{o(r["throw"](t))}catch(t){u(t)}}function o(t){t.done?e(t.value):i(t.value).then(c,a)}o((r=r.apply(t,n||[])).next())}))};var __generator=this&&this.__generator||function(t,n){var e={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},r,i,u,c;return c={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(c[Symbol.iterator]=function(){return this}),c;function a(t){return function(n){return o([t,n])}}function o(a){if(r)throw new TypeError("Generator is already executing.");while(c&&(c=0,a[0]&&(e=0)),e)try{if(r=1,i&&(u=a[0]&2?i["return"]:a[0]?i["throw"]||((u=i["return"])&&u.call(i),0):i.next)&&!(u=u.call(i,a[1])).done)return u;if(i=0,u)a=[a[0]&2,u.value];switch(a[0]){case 0:case 1:u=a;break;case 4:e.label++;return{value:a[1],done:false};case 5:e.label++;i=a[1];a=[0];continue;case 7:a=e.ops.pop();e.trys.pop();continue;default:if(!(u=e.trys,u=u.length>0&&u[u.length-1])&&(a[0]===6||a[0]===2)){e=0;continue}if(a[0]===3&&(!u||a[1]>u[0]&&a[1]<u[3])){e.label=a[1];break}if(a[0]===6&&e.label<u[1]){e.label=u[1];u=a;break}if(u&&e.label<u[2]){e.label=u[2];e.ops.push(a);break}if(u[2])e.ops.pop();e.trys.pop();continue}a=n.call(t,e)}catch(t){a=[6,t];i=0}finally{r=u=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};System.register(["./p-f835b87d.system.js","./p-56ba5cbf.system.js"],(function(t,n){"use strict";var e,r,i;return{setters:[function(n){e=n.p;r=n.b;t("setNonce",n.s)},function(t){i=t.g}],execute:function(){var t=this;var u=function(){var t=n.meta.url;var r={};if(t!==""){r.resourcesUrl=new URL(".",t).href}return e(r)};u().then((function(n){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:return[4,i()];case 1:t.sent();return[2,r([["p-1a501460.system",[[1,"mds-table-row",{interactive:[516],overlayActions:[516,"overlay-actions"],selectable:[516],selected:[1540],value:[520],sizerWidth:[32],language:[32],updateLang:[64]}]]]],n)]}}))}))}))}}}));
1
+ var __awaiter=this&&this.__awaiter||function(t,e,n,r){function i(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,c){function u(t){try{a(r.next(t))}catch(t){c(t)}}function o(t){try{a(r["throw"](t))}catch(t){c(t)}}function a(t){t.done?n(t.value):i(t.value).then(u,o)}a((r=r.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(c[0]&1)throw c[1];return c[1]},trys:[],ops:[]},r,i,c,u;return u={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function o(t){return function(e){return a([t,e])}}function a(o){if(r)throw new TypeError("Generator is already executing.");while(u&&(u=0,o[0]&&(n=0)),n)try{if(r=1,i&&(c=o[0]&2?i["return"]:o[0]?i["throw"]||((c=i["return"])&&c.call(i),0):i.next)&&!(c=c.call(i,o[1])).done)return c;if(i=0,c)o=[o[0]&2,c.value];switch(o[0]){case 0:case 1:c=o;break;case 4:n.label++;return{value:o[1],done:false};case 5:n.label++;i=o[1];o=[0];continue;case 7:o=n.ops.pop();n.trys.pop();continue;default:if(!(c=n.trys,c=c.length>0&&c[c.length-1])&&(o[0]===6||o[0]===2)){n=0;continue}if(o[0]===3&&(!c||o[1]>c[0]&&o[1]<c[3])){n.label=o[1];break}if(o[0]===6&&n.label<c[1]){n.label=c[1];c=o;break}if(c&&n.label<c[2]){n.label=c[2];n.ops.push(o);break}if(c[2])n.ops.pop();n.trys.pop();continue}o=e.call(t,n)}catch(t){o=[6,t];i=0}finally{r=c=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};System.register(["./p-f835b87d.system.js","./p-56ba5cbf.system.js"],(function(t,e){"use strict";var n,r,i;return{setters:[function(e){n=e.p;r=e.b;t("setNonce",e.s)},function(t){i=t.g}],execute:function(){var t=this;var c=function(){var t=e.meta.url;var r={};if(t!==""){r.resourcesUrl=new URL(".",t).href}return n(r)};c().then((function(e){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:return[4,i()];case 1:t.sent();return[2,r([["p-fbe91c6f.system",[[1,"mds-table-row",{interactive:[516],overlayActions:[516,"overlay-actions"],selectable:[516],selected:[1540],value:[520],sizerWidth:[32],language:[32],updateLang:[64]}]]]],e)]}}))}))}))}}}));
@@ -3,4 +3,4 @@ var __awaiter=this&&this.__awaiter||function(t,e,r,a){function n(t){return t ins
3
3
  * mustache.js - Logic-less {{mustache}} templates with JavaScript
4
4
  * http://github.com/janl/mustache.js
5
5
  */
6
- var t=Object.prototype.toString;var e=Array.isArray||function e(r){return t.call(r)==="[object Array]"};function r(t){return typeof t==="function"}function a(t){return e(t)?"array":typeof t}function n(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function i(t,e){return t!=null&&typeof t==="object"&&e in t}function d(t,e){return t!=null&&typeof t!=="object"&&t.hasOwnProperty&&t.hasOwnProperty(e)}var s=RegExp.prototype.test;function o(t,e){return s.call(t,e)}var c=/\S/;function h(t){return!o(c,t)}var l={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;","`":"&#x60;","=":"&#x3D;"};function f(t){return String(t).replace(/[&<>"'`=\/]/g,(function t(e){return l[e]}))}var u=/\s*/;var y=/\s+/;var m=/\s*=/;var b=/\s*\}/;var v=/#|\^|\/|>|\{|&|=|!/;function p(t,r){if(!t)return[];var a=false;var i=[];var d=[];var s=[];var o=false;var c=false;var l="";var f=0;function p(){if(o&&!c){while(s.length)delete d[s.pop()]}else{s=[]}o=false;c=false}var x,R,E;function S(t){if(typeof t==="string")t=t.split(y,2);if(!e(t)||t.length!==2)throw new Error("Invalid tags: "+t);x=new RegExp(n(t[0])+"\\s*");R=new RegExp("\\s*"+n(t[1]));E=new RegExp("\\s*"+n("}"+t[1]))}S(r||j.tags);var _=new k(t);var X,z,C,T,D,I;while(!_.eos()){X=_.pos;C=_.scanUntil(x);if(C){for(var O=0,U=C.length;O<U;++O){T=C.charAt(O);if(h(T)){s.push(d.length);l+=T}else{c=true;a=true;l+=" "}d.push(["text",T,X,X+1]);X+=1;if(T==="\n"){p();l="";f=0;a=false}}}if(!_.scan(x))break;o=true;z=_.scan(v)||"name";_.scan(u);if(z==="="){C=_.scanUntil(m);_.scan(m);_.scanUntil(R)}else if(z==="{"){C=_.scanUntil(E);_.scan(b);_.scanUntil(R);z="&"}else{C=_.scanUntil(R)}if(!_.scan(R))throw new Error("Unclosed tag at "+_.pos);if(z==">"){D=[z,C,X,_.pos,l,f,a]}else{D=[z,C,X,_.pos]}f++;d.push(D);if(z==="#"||z==="^"){i.push(D)}else if(z==="/"){I=i.pop();if(!I)throw new Error('Unopened section "'+C+'" at '+X);if(I[1]!==C)throw new Error('Unclosed section "'+I[1]+'" at '+X)}else if(z==="name"||z==="{"||z==="&"){c=true}else if(z==="="){S(C)}}p();I=i.pop();if(I)throw new Error('Unclosed section "'+I[1]+'" at '+_.pos);return g(w(d))}function w(t){var e=[];var r,a;for(var n=0,i=t.length;n<i;++n){r=t[n];if(r){if(r[0]==="text"&&a&&a[0]==="text"){a[1]+=r[1];a[3]=r[3]}else{e.push(r);a=r}}}return e}function g(t){var e=[];var r=e;var a=[];var n,i;for(var d=0,s=t.length;d<s;++d){n=t[d];switch(n[0]){case"#":case"^":r.push(n);a.push(n);r=n[4]=[];break;case"/":i=a.pop();i[5]=n[2];r=a.length>0?a[a.length-1][4]:e;break;default:r.push(n)}}return e}function k(t){this.string=t;this.tail=t;this.pos=0}k.prototype.eos=function t(){return this.tail===""};k.prototype.scan=function t(e){var r=this.tail.match(e);if(!r||r.index!==0)return"";var a=r[0];this.tail=this.tail.substring(a.length);this.pos+=a.length;return a};k.prototype.scanUntil=function t(e){var r=this.tail.search(e),a;switch(r){case-1:a=this.tail;this.tail="";break;case 0:a="";break;default:a=this.tail.substring(0,r);this.tail=this.tail.substring(r)}this.pos+=a.length;return a};function x(t,e){this.view=t;this.cache={".":this.view};this.parent=e}x.prototype.push=function t(e){return new x(e,this)};x.prototype.lookup=function t(e){var a=this.cache;var n;if(a.hasOwnProperty(e)){n=a[e]}else{var s=this,o,c,h,l=false;while(s){if(e.indexOf(".")>0){o=s.view;c=e.split(".");h=0;while(o!=null&&h<c.length){if(h===c.length-1)l=i(o,c[h])||d(o,c[h]);o=o[c[h++]]}}else{o=s.view[e];l=i(s.view,e)}if(l){n=o;break}s=s.parent}a[e]=n}if(r(n))n=n.call(this.view);return n};function R(){this.templateCache={_cache:{},set:function t(e,r){this._cache[e]=r},get:function t(e){return this._cache[e]},clear:function t(){this._cache={}}}}R.prototype.clearCache=function t(){if(typeof this.templateCache!=="undefined"){this.templateCache.clear()}};R.prototype.parse=function t(e,r){var a=this.templateCache;var n=e+":"+(r||j.tags).join(":");var i=typeof a!=="undefined";var d=i?a.get(n):undefined;if(d==undefined){d=p(e,r);i&&a.set(n,d)}return d};R.prototype.render=function t(e,r,a,n){var i=this.getConfigTags(n);var d=this.parse(e,i);var s=r instanceof x?r:new x(r,undefined);return this.renderTokens(d,s,a,e,n)};R.prototype.renderTokens=function t(e,r,a,n,i){var d="";var s,o,c;for(var h=0,l=e.length;h<l;++h){c=undefined;s=e[h];o=s[0];if(o==="#")c=this.renderSection(s,r,a,n,i);else if(o==="^")c=this.renderInverted(s,r,a,n,i);else if(o===">")c=this.renderPartial(s,r,a,i);else if(o==="&")c=this.unescapedValue(s,r);else if(o==="name")c=this.escapedValue(s,r,i);else if(o==="text")c=this.rawValue(s);if(c!==undefined)d+=c}return d};R.prototype.renderSection=function t(a,n,i,d,s){var o=this;var c="";var h=n.lookup(a[1]);function l(t){return o.render(t,n,i,s)}if(!h)return;if(e(h)){for(var f=0,u=h.length;f<u;++f){c+=this.renderTokens(a[4],n.push(h[f]),i,d,s)}}else if(typeof h==="object"||typeof h==="string"||typeof h==="number"){c+=this.renderTokens(a[4],n.push(h),i,d,s)}else if(r(h)){if(typeof d!=="string")throw new Error("Cannot use higher-order sections without the original template");h=h.call(n.view,d.slice(a[3],a[5]),l);if(h!=null)c+=h}else{c+=this.renderTokens(a[4],n,i,d,s)}return c};R.prototype.renderInverted=function t(r,a,n,i,d){var s=a.lookup(r[1]);if(!s||e(s)&&s.length===0)return this.renderTokens(r[4],a,n,i,d)};R.prototype.indentPartial=function t(e,r,a){var n=r.replace(/[^ \t]/g,"");var i=e.split("\n");for(var d=0;d<i.length;d++){if(i[d].length&&(d>0||!a)){i[d]=n+i[d]}}return i.join("\n")};R.prototype.renderPartial=function t(e,a,n,i){if(!n)return;var d=this.getConfigTags(i);var s=r(n)?n(e[1]):n[e[1]];if(s!=null){var o=e[6];var c=e[5];var h=e[4];var l=s;if(c==0&&h){l=this.indentPartial(s,h,o)}var f=this.parse(l,d);return this.renderTokens(f,a,n,l,i)}};R.prototype.unescapedValue=function t(e,r){var a=r.lookup(e[1]);if(a!=null)return a};R.prototype.escapedValue=function t(e,r,a){var n=this.getConfigEscape(a)||j.escape;var i=r.lookup(e[1]);if(i!=null)return typeof i==="number"&&n===j.escape?String(i):n(i)};R.prototype.rawValue=function t(e){return e[1]};R.prototype.getConfigTags=function t(r){if(e(r)){return r}else if(r&&typeof r==="object"){return r.tags}else{return undefined}};R.prototype.getConfigEscape=function t(r){if(r&&typeof r==="object"&&!e(r)){return r.escape}else{return undefined}};var j={name:"mustache.js",version:"4.2.0",tags:["{{","}}"],clearCache:undefined,escape:undefined,parse:undefined,render:undefined,Scanner:undefined,Context:undefined,Writer:undefined,set templateCache(t){E.templateCache=t},get templateCache(){return E.templateCache}};var E=new R;j.clearCache=function t(){return E.clearCache()};j.parse=function t(e,r){return E.parse(e,r)};j.render=function t(e,r,n,i){if(typeof e!=="string"){throw new TypeError('Invalid template! Template should be a "string" '+'but "'+a(e)+'" was given as the first '+"argument for mustache#render(template, view, partials)")}return E.render(e,r,n,i)};j.escape=f;j.Scanner=k;j.Context=x;j.Writer=R;return j}))})(d);var s=function(){function t(t){var e=this;this.rollbackLanguage="en";this.set=function(t){e.config=t};this.lang=function(t){e.element=t;e.closestElement=e.element.closest("[lang]");if(e.closestElement){if(e.closestElement.lang){e.language=e.closestElement.lang;return e.language}}e.language=e.rollbackLanguage;return e.language};this.update=function(t){var r=t!==null&&t!==void 0?t:e.element.shadowRoot;r&&r.querySelectorAll("*").forEach((function(t){if(t.tagName.toLowerCase().startsWith("mds-")){if(t&&"updateLang"in t){t.updateLang()}}}))};this.pluralize=function(t,r){var a=e.config[e.language]?e.config[e.language][t]:e.config[e.rollbackLanguage][t];var n=[];if(Array.isArray(a)){n.push(a[0]);n.push(a[1])}else{n.push(a);n.push(a)}var i=n[0];var s=i;var o=Object.keys(r);if(o.length>0){var c=o[0];if(typeof r[c]==="number"){if(r[c]!==1){s=n[1]}}}return d.exports.render(s,r)};this.get=function(t,r){if(r){return e.pluralize(t,r)}return e.config[e.language]?e.config[e.language][t]:e.config[e.rollbackLanguage][t]};if(t){this.set(t)}}return t}();var o="Επιλογή γραμμής";var c="Αποεπιλογή γραμμής";var h={selectRow:o,unselectRow:c};var l="Select row";var f="Deselect row";var u={selectRow:l,unselectRow:f};var y="Seleccionar fila";var m="Deseleccionar fila";var b={selectRow:y,unselectRow:m};var v="Seleziona riga";var p="Deseleziona riga";var w={selectRow:v,unselectRow:p};var g=function(){if(navigator){return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}return false};var k=':host{--mds-table-row-color-hover:var(--mds-table-color, rgb(var(--tone-neutral-02)));--mds-table-row-color-alt:var(--mds-table-color-alt, rgb(var(--tone-neutral-02)));--mds-table-row-background-hover:var(--mds-table-background, rgb(var(--tone-neutral)));--mds-table-row-background-alt:var(--mds-table-background-alt, rgb(var(--tone-neutral)));--mds-table-row-actions-gap:var(--mds-table-actions-gap, 1rem);-webkit-transition-duration:200ms;transition-duration:200ms;-webkit-transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-timing-function:cubic-bezier(0, 0, 0.2, 1);color:var(--mds-table-row-color);display:table-row;position:relative;-webkit-transition-property:color;transition-property:color}.selection-cell{vertical-align:middle}.checkbox-wrapper{display:-ms-flexbox;display:flex}:host([interactive]:hover){--mds-table-row-actions-background:var(--mds-table-row-background-hover);--mds-table-row-background:var(--mds-table-row-background-hover);--mds-table-row-color:var(--mds-table-row-color-hover)}:host([selected]){--mds-table-row-background:var(--mds-table-row-background-hover);--mds-table-row-color:var(--mds-table-row-color-hover)}:host([sorted]){--mds-table-row-background:var(--mds-table-row-background-alt);--mds-table-row-color:var(--mds-table-row-color-alt)}:host([sorted][selected]){--mds-table-row-background:var(--mds-table-row-background-hover);--mds-table-row-color:var(--mds-table-row-color-hover)}.actions-view{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;inset:0;-ms-flex-pack:end;justify-content:end;pointer-events:none;position:absolute}.actions{--mds-table-row-actions-background:var(--mds-table-row-background);-ms-flex-align:center;align-items:center;background-color:var(--mds-table-row-actions-background);border-bottom-left-radius:calc(0.5rem + var(--mds-table-border-width) * 2);border-top-left-radius:calc(0.5rem + var(--mds-table-border-width) * 2);display:-ms-inline-flexbox;display:inline-flex;gap:var(--mds-table-row-actions-gap);inset:0;margin-right:100%;padding:calc(var(--mds-table-border-width) * 2);padding-right:0;pointer-events:auto;position:-webkit-sticky;position:sticky;right:0;-webkit-transform:translateX(100%);transform:translateX(100%);-webkit-transition-duration:500ms;transition-duration:500ms;-webkit-transition-property:background-color, padding-right, -webkit-transform;transition-property:background-color, padding-right, -webkit-transform;transition-property:transform, background-color, padding-right;transition-property:transform, background-color, padding-right, -webkit-transform;-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1)}:host(:hover) .actions{-webkit-transform:translateX(100%);transform:translateX(100%)}:host([overlay-actions]) .actions{padding-right:var(--mds-table-cell-padding);-webkit-transform:translateX(100%);transform:translateX(100%)}:host([overlay-actions]:hover) .actions{--mds-table-row-actions-background:var(--mds-table-row-background);-webkit-transform:translateX(0);transform:translateX(0)}:host-context(mds-table[interactive="false"]):host(:hover) .actions,:host-context(mds-table:not([interactive])):host(:hover) .actions{--mds-table-row-actions-background:var(--mds-table-row-background-hover)}:host-context(mds-table[selection]:not([interactive])):host(:not([selected]):hover) .actions,:host-context(mds-table[selection][interactive="false"]):host(:not([selected]):hover) .actions,:host-context(mds-table[selection]:not([interactive])):host([selected="false"]:hover) .actions,:host-context(mds-table[selection][interactive="false"]):host([selected="false"]:hover) .actions{--mds-table-row-actions-background:var(--mds-table-row-background-alt)}.actions-cell--disable,.actions-cell--disable .actions{position:static !important}.actions-cell--disable .actions{margin-right:0 !important;-webkit-transform:translateX(0) !important;transform:translateX(0) !important}:host-context(.pref-animation-reduce){-webkit-transition-duration:0s;transition-duration:0s}@media (prefers-reduced-motion){:host-context(.pref-animation-system){-webkit-transition-duration:0s;transition-duration:0s}}:host(:not(:is([hydrated],.hydrated))){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}mds-accordion:not(:is([hydrated],.hydrated)),mds-accordion-item:not(:is([hydrated],.hydrated)),mds-accordion-timer:not(:is([hydrated],.hydrated)),mds-accordion-timer-item:not(:is([hydrated],.hydrated)),mds-author:not(:is([hydrated],.hydrated)),mds-avatar:not(:is([hydrated],.hydrated)),mds-badge:not(:is([hydrated],.hydrated)),mds-banner:not(:is([hydrated],.hydrated)),mds-benchmark-bar:not(:is([hydrated],.hydrated)),mds-bibliography:not(:is([hydrated],.hydrated)),mds-breadcrumb:not(:is([hydrated],.hydrated)),mds-breadcrumb-item:not(:is([hydrated],.hydrated)),mds-button:not(:is([hydrated],.hydrated)),mds-card:not(:is([hydrated],.hydrated)),mds-card-content:not(:is([hydrated],.hydrated)),mds-card-footer:not(:is([hydrated],.hydrated)),mds-card-header:not(:is([hydrated],.hydrated)),mds-card-media:not(:is([hydrated],.hydrated)),mds-chip:not(:is([hydrated],.hydrated)),mds-details:not(:is([hydrated],.hydrated)),mds-dropdown:not(:is([hydrated],.hydrated)),mds-entity:not(:is([hydrated],.hydrated)),mds-file:not(:is([hydrated],.hydrated)),mds-file-preview:not(:is([hydrated],.hydrated)),mds-filter:not(:is([hydrated],.hydrated)),mds-filter-item:not(:is([hydrated],.hydrated)),mds-header:not(:is([hydrated],.hydrated)),mds-header-bar:not(:is([hydrated],.hydrated)),mds-help:not(:is([hydrated],.hydrated)),mds-horizontal-scroll:not(:is([hydrated],.hydrated)),mds-hr:not(:is([hydrated],.hydrated)),mds-icon:not(:is([hydrated],.hydrated)),mds-img:not(:is([hydrated],.hydrated)),mds-input:not(:is([hydrated],.hydrated)),mds-input-field:not(:is([hydrated],.hydrated)),mds-input-range:not(:is([hydrated],.hydrated)),mds-input-select:not(:is([hydrated],.hydrated)),mds-input-switch:not(:is([hydrated],.hydrated)),mds-input-tip:not(:is([hydrated],.hydrated)),mds-input-tip-item:not(:is([hydrated],.hydrated)),mds-input-upload:not(:is([hydrated],.hydrated)),mds-keyboard:not(:is([hydrated],.hydrated)),mds-keyboard-key:not(:is([hydrated],.hydrated)),mds-kpi:not(:is([hydrated],.hydrated)),mds-kpi-item:not(:is([hydrated],.hydrated)),mds-label:not(:is([hydrated],.hydrated)),mds-list:not(:is([hydrated],.hydrated)),mds-list-item:not(:is([hydrated],.hydrated)),mds-modal:not(:is([hydrated],.hydrated)),mds-note:not(:is([hydrated],.hydrated)),mds-notification:not(:is([hydrated],.hydrated)),mds-paginator:not(:is([hydrated],.hydrated)),mds-paginator-item:not(:is([hydrated],.hydrated)),mds-pref:not(:is([hydrated],.hydrated)),mds-pref-animation:not(:is([hydrated],.hydrated)),mds-pref-consumption:not(:is([hydrated],.hydrated)),mds-pref-contrast:not(:is([hydrated],.hydrated)),mds-pref-language:not(:is([hydrated],.hydrated)),mds-pref-language-item:not(:is([hydrated],.hydrated)),mds-pref-theme:not(:is([hydrated],.hydrated)),mds-price-table:not(:is([hydrated],.hydrated)),mds-price-table-features:not(:is([hydrated],.hydrated)),mds-price-table-features-cell:not(:is([hydrated],.hydrated)),mds-price-table-features-row:not(:is([hydrated],.hydrated)),mds-price-table-header:not(:is([hydrated],.hydrated)),mds-price-table-list:not(:is([hydrated],.hydrated)),mds-price-table-list-item:not(:is([hydrated],.hydrated)),mds-progress:not(:is([hydrated],.hydrated)),mds-push-notification:not(:is([hydrated],.hydrated)),mds-push-notifications:not(:is([hydrated],.hydrated)),mds-quote:not(:is([hydrated],.hydrated)),mds-separator:not(:is([hydrated],.hydrated)),mds-spinner:not(:is([hydrated],.hydrated)),mds-stepper-bar:not(:is([hydrated],.hydrated)),mds-stepper-bar-item:not(:is([hydrated],.hydrated)),mds-tab:not(:is([hydrated],.hydrated)),mds-tab-bar:not(:is([hydrated],.hydrated)),mds-tab-bar-item:not(:is([hydrated],.hydrated)),mds-tab-item:not(:is([hydrated],.hydrated)),mds-table:not(:is([hydrated],.hydrated)),mds-table-body:not(:is([hydrated],.hydrated)),mds-table-cell:not(:is([hydrated],.hydrated)),mds-table-footer:not(:is([hydrated],.hydrated)),mds-table-header:not(:is([hydrated],.hydrated)),mds-table-header-cell:not(:is([hydrated],.hydrated)),mds-table-row:not(:is([hydrated],.hydrated)),mds-text:not(:is([hydrated],.hydrated)),mds-toast:not(:is([hydrated],.hydrated)),mds-tooltip:not(:is([hydrated],.hydrated)),mds-tree:not(:is([hydrated],.hydrated)),mds-tree-item:not(:is([hydrated],.hydrated)),mds-url-view:not(:is([hydrated],.hydrated)),mds-usage:not(:is([hydrated],.hydrated)),mds-video-wall:not(:is([hydrated],.hydrated)),mds-zero:not(:is([hydrated],.hydrated)){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}';var x=k;var R=t("mds_table_row",function(){function t(t){var r=this;e(this,t);this.hasActions=true;this.t=new s({el:h,en:u,es:b,it:w});this.selectable=undefined;this.handleSelectionChange=function(t){var e;r.selected=t.detail.checked;(e=r.host.closest("mds-table"))===null||e===void 0?void 0:e.updateSelection()}}t.prototype.updateLang=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.language=this.t.lang(this.host);this.t.update();return[2]}))}))};t.prototype.componentWillLoad=function(){this.language=this.t.lang(this.host);this.hasActions=this.host.querySelector(':scope > [slot="action"]')!==null};t.prototype.connectedCallback=function(){this.initObserver()};t.prototype.initObserver=function(){var t=this;var e=new IntersectionObserver((function(r){if(r[0].isIntersecting){t.sizerWidth="".concat(t.actions.offsetWidth.toString(),"px");e.unobserve(t.host)}}),{root:this.host.parentElement,threshold:1});e.observe(this.host)};t.prototype.render=function(){var t=this;return r(a,{key:"a109b3ad790e378a948c365aaf191384c0f7ce22",role:"row"},this.selectable&&r("mds-table-cell",{key:"08a9675c3fd2bc7d207a18d4b9585d07e2b18673",class:"selection-cell"},r("div",{key:"4b00b56219a8de31c40d53430eacad9ad4550119",class:"checkbox-wrapper"},r("mds-input-switch",{key:"d032d75a8e246c06122b9bb8cd43f5b0f70ec6e1",title:this.t.get(this.selected?"unselectRow":"selectRow"),lang:this.language,type:"checkbox",checked:this.selected,onMdsInputSwitchChange:this.handleSelectionChange}))),r("slot",{key:"caaf6054c4c894b4f6e209c38cbc0bf3ce0af572"}),this.hasActions&&g()&&r("mds-table-cell",{key:"efd3f6c53522d66fc46159ef2cf6bec98512757d",class:"actions-cell actions-cell--disable"},r("div",{key:"0a09c5e18c142c237377ec1ba5ab95caef322aca",class:"actions"},r("slot",{key:"dea19dd978572c2d30eb3c8df2f33695d2118989",name:"action"}))),this.hasActions&&!g()&&r("mds-table-cell",{key:"2a81346286bd48fdcee00866fd34ac4e83132a27",class:"actions-cell"},r("div",{key:"1d0bbbe1ad947eead52250cdae846c9ee35ede6e",class:"actions-sizer",style:{minHeight:"1px",maxWidth:this.sizerWidth,minWidth:this.sizerWidth}}),r("div",{key:"07551e582fa3a7120005489c89de7c7d97b37ea9",class:"actions-view"},r("div",{key:"8dcead97d515ca62621f5c8aa33cc1e371207f23",class:"actions",ref:function(e){return t.actions=e},style:{marginRight:"calc(".concat(this.sizerWidth," + var(--mds-table-cell-padding))")}},r("slot",{key:"cd19ae680a72dffc4af2bfcec77a45fb4f7b05fd",name:"action"})))))};Object.defineProperty(t.prototype,"host",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());R.style=x}}}));
6
+ var t=Object.prototype.toString;var e=Array.isArray||function e(r){return t.call(r)==="[object Array]"};function r(t){return typeof t==="function"}function a(t){return e(t)?"array":typeof t}function n(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function i(t,e){return t!=null&&typeof t==="object"&&e in t}function d(t,e){return t!=null&&typeof t!=="object"&&t.hasOwnProperty&&t.hasOwnProperty(e)}var s=RegExp.prototype.test;function o(t,e){return s.call(t,e)}var h=/\S/;function c(t){return!o(h,t)}var l={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;","`":"&#x60;","=":"&#x3D;"};function f(t){return String(t).replace(/[&<>"'`=\/]/g,(function t(e){return l[e]}))}var u=/\s*/;var y=/\s+/;var m=/\s*=/;var b=/\s*\}/;var v=/#|\^|\/|>|\{|&|=|!/;function p(t,r){if(!t)return[];var a=false;var i=[];var d=[];var s=[];var o=false;var h=false;var l="";var f=0;function p(){if(o&&!h){while(s.length)delete d[s.pop()]}else{s=[]}o=false;h=false}var x,R,E;function S(t){if(typeof t==="string")t=t.split(y,2);if(!e(t)||t.length!==2)throw new Error("Invalid tags: "+t);x=new RegExp(n(t[0])+"\\s*");R=new RegExp("\\s*"+n(t[1]));E=new RegExp("\\s*"+n("}"+t[1]))}S(r||j.tags);var _=new k(t);var X,z,C,T,D,I;while(!_.eos()){X=_.pos;C=_.scanUntil(x);if(C){for(var O=0,U=C.length;O<U;++O){T=C.charAt(O);if(c(T)){s.push(d.length);l+=T}else{h=true;a=true;l+=" "}d.push(["text",T,X,X+1]);X+=1;if(T==="\n"){p();l="";f=0;a=false}}}if(!_.scan(x))break;o=true;z=_.scan(v)||"name";_.scan(u);if(z==="="){C=_.scanUntil(m);_.scan(m);_.scanUntil(R)}else if(z==="{"){C=_.scanUntil(E);_.scan(b);_.scanUntil(R);z="&"}else{C=_.scanUntil(R)}if(!_.scan(R))throw new Error("Unclosed tag at "+_.pos);if(z==">"){D=[z,C,X,_.pos,l,f,a]}else{D=[z,C,X,_.pos]}f++;d.push(D);if(z==="#"||z==="^"){i.push(D)}else if(z==="/"){I=i.pop();if(!I)throw new Error('Unopened section "'+C+'" at '+X);if(I[1]!==C)throw new Error('Unclosed section "'+I[1]+'" at '+X)}else if(z==="name"||z==="{"||z==="&"){h=true}else if(z==="="){S(C)}}p();I=i.pop();if(I)throw new Error('Unclosed section "'+I[1]+'" at '+_.pos);return g(w(d))}function w(t){var e=[];var r,a;for(var n=0,i=t.length;n<i;++n){r=t[n];if(r){if(r[0]==="text"&&a&&a[0]==="text"){a[1]+=r[1];a[3]=r[3]}else{e.push(r);a=r}}}return e}function g(t){var e=[];var r=e;var a=[];var n,i;for(var d=0,s=t.length;d<s;++d){n=t[d];switch(n[0]){case"#":case"^":r.push(n);a.push(n);r=n[4]=[];break;case"/":i=a.pop();i[5]=n[2];r=a.length>0?a[a.length-1][4]:e;break;default:r.push(n)}}return e}function k(t){this.string=t;this.tail=t;this.pos=0}k.prototype.eos=function t(){return this.tail===""};k.prototype.scan=function t(e){var r=this.tail.match(e);if(!r||r.index!==0)return"";var a=r[0];this.tail=this.tail.substring(a.length);this.pos+=a.length;return a};k.prototype.scanUntil=function t(e){var r=this.tail.search(e),a;switch(r){case-1:a=this.tail;this.tail="";break;case 0:a="";break;default:a=this.tail.substring(0,r);this.tail=this.tail.substring(r)}this.pos+=a.length;return a};function x(t,e){this.view=t;this.cache={".":this.view};this.parent=e}x.prototype.push=function t(e){return new x(e,this)};x.prototype.lookup=function t(e){var a=this.cache;var n;if(a.hasOwnProperty(e)){n=a[e]}else{var s=this,o,h,c,l=false;while(s){if(e.indexOf(".")>0){o=s.view;h=e.split(".");c=0;while(o!=null&&c<h.length){if(c===h.length-1)l=i(o,h[c])||d(o,h[c]);o=o[h[c++]]}}else{o=s.view[e];l=i(s.view,e)}if(l){n=o;break}s=s.parent}a[e]=n}if(r(n))n=n.call(this.view);return n};function R(){this.templateCache={_cache:{},set:function t(e,r){this._cache[e]=r},get:function t(e){return this._cache[e]},clear:function t(){this._cache={}}}}R.prototype.clearCache=function t(){if(typeof this.templateCache!=="undefined"){this.templateCache.clear()}};R.prototype.parse=function t(e,r){var a=this.templateCache;var n=e+":"+(r||j.tags).join(":");var i=typeof a!=="undefined";var d=i?a.get(n):undefined;if(d==undefined){d=p(e,r);i&&a.set(n,d)}return d};R.prototype.render=function t(e,r,a,n){var i=this.getConfigTags(n);var d=this.parse(e,i);var s=r instanceof x?r:new x(r,undefined);return this.renderTokens(d,s,a,e,n)};R.prototype.renderTokens=function t(e,r,a,n,i){var d="";var s,o,h;for(var c=0,l=e.length;c<l;++c){h=undefined;s=e[c];o=s[0];if(o==="#")h=this.renderSection(s,r,a,n,i);else if(o==="^")h=this.renderInverted(s,r,a,n,i);else if(o===">")h=this.renderPartial(s,r,a,i);else if(o==="&")h=this.unescapedValue(s,r);else if(o==="name")h=this.escapedValue(s,r,i);else if(o==="text")h=this.rawValue(s);if(h!==undefined)d+=h}return d};R.prototype.renderSection=function t(a,n,i,d,s){var o=this;var h="";var c=n.lookup(a[1]);function l(t){return o.render(t,n,i,s)}if(!c)return;if(e(c)){for(var f=0,u=c.length;f<u;++f){h+=this.renderTokens(a[4],n.push(c[f]),i,d,s)}}else if(typeof c==="object"||typeof c==="string"||typeof c==="number"){h+=this.renderTokens(a[4],n.push(c),i,d,s)}else if(r(c)){if(typeof d!=="string")throw new Error("Cannot use higher-order sections without the original template");c=c.call(n.view,d.slice(a[3],a[5]),l);if(c!=null)h+=c}else{h+=this.renderTokens(a[4],n,i,d,s)}return h};R.prototype.renderInverted=function t(r,a,n,i,d){var s=a.lookup(r[1]);if(!s||e(s)&&s.length===0)return this.renderTokens(r[4],a,n,i,d)};R.prototype.indentPartial=function t(e,r,a){var n=r.replace(/[^ \t]/g,"");var i=e.split("\n");for(var d=0;d<i.length;d++){if(i[d].length&&(d>0||!a)){i[d]=n+i[d]}}return i.join("\n")};R.prototype.renderPartial=function t(e,a,n,i){if(!n)return;var d=this.getConfigTags(i);var s=r(n)?n(e[1]):n[e[1]];if(s!=null){var o=e[6];var h=e[5];var c=e[4];var l=s;if(h==0&&c){l=this.indentPartial(s,c,o)}var f=this.parse(l,d);return this.renderTokens(f,a,n,l,i)}};R.prototype.unescapedValue=function t(e,r){var a=r.lookup(e[1]);if(a!=null)return a};R.prototype.escapedValue=function t(e,r,a){var n=this.getConfigEscape(a)||j.escape;var i=r.lookup(e[1]);if(i!=null)return typeof i==="number"&&n===j.escape?String(i):n(i)};R.prototype.rawValue=function t(e){return e[1]};R.prototype.getConfigTags=function t(r){if(e(r)){return r}else if(r&&typeof r==="object"){return r.tags}else{return undefined}};R.prototype.getConfigEscape=function t(r){if(r&&typeof r==="object"&&!e(r)){return r.escape}else{return undefined}};var j={name:"mustache.js",version:"4.2.0",tags:["{{","}}"],clearCache:undefined,escape:undefined,parse:undefined,render:undefined,Scanner:undefined,Context:undefined,Writer:undefined,set templateCache(t){E.templateCache=t},get templateCache(){return E.templateCache}};var E=new R;j.clearCache=function t(){return E.clearCache()};j.parse=function t(e,r){return E.parse(e,r)};j.render=function t(e,r,n,i){if(typeof e!=="string"){throw new TypeError('Invalid template! Template should be a "string" '+'but "'+a(e)+'" was given as the first '+"argument for mustache#render(template, view, partials)")}return E.render(e,r,n,i)};j.escape=f;j.Scanner=k;j.Context=x;j.Writer=R;return j}))})(d);var s=function(){function t(t){var e=this;this.rollbackLanguage="en";this.set=function(t){e.config=t};this.lang=function(t){e.element=t;e.closestElement=e.element.closest("[lang]");if(e.closestElement){if(e.closestElement.lang){e.language=e.closestElement.lang;return e.language}}e.language=e.rollbackLanguage;return e.language};this.update=function(t){var r=t!==null&&t!==void 0?t:e.element.shadowRoot;r&&r.querySelectorAll("*").forEach((function(t){if(t.tagName.toLowerCase().startsWith("mds-")){if(t&&"updateLang"in t){t.updateLang()}}}))};this.pluralize=function(t,r){var a=e.config[e.language]?e.config[e.language][t]:e.config[e.rollbackLanguage][t];var n=[];if(Array.isArray(a)){n.push(a[0]);n.push(a[1])}else{n.push(a);n.push(a)}var i=n[0];var s=i;var o=Object.keys(r);if(o.length>0){var h=o[0];if(typeof r[h]==="number"){if(r[h]!==1){s=n[1]}}}return d.exports.render(s,r)};this.get=function(t,r){if(r){return e.pluralize(t,r)}return e.config[e.language]?e.config[e.language][t]:e.config[e.rollbackLanguage][t]};if(t){this.set(t)}}return t}();var o="Επιλογή γραμμής";var h="Αποεπιλογή γραμμής";var c={selectRow:o,unselectRow:h};var l="Select row";var f="Deselect row";var u={selectRow:l,unselectRow:f};var y="Seleccionar fila";var m="Deseleccionar fila";var b={selectRow:y,unselectRow:m};var v="Seleziona riga";var p="Deseleziona riga";var w={selectRow:v,unselectRow:p};var g=function(){if(navigator){return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}return false};var k=':host{--mds-table-row-color-hover:var(--mds-table-color, rgb(var(--tone-neutral-02)));--mds-table-row-color-alt:var(--mds-table-color-alt, rgb(var(--tone-neutral-02)));--mds-table-row-background-hover:var(--mds-table-background, rgb(var(--tone-neutral)));--mds-table-row-background-alt:var(--mds-table-background-alt, rgb(var(--tone-neutral)));--mds-table-row-actions-gap:var(--mds-table-actions-gap, 1rem);-webkit-transition-duration:200ms;transition-duration:200ms;-webkit-transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-timing-function:cubic-bezier(0, 0, 0.2, 1);color:var(--mds-table-row-color);display:table-row;position:relative;-webkit-transition-property:color;transition-property:color}.selection-cell{vertical-align:middle}.checkbox-wrapper{display:-ms-flexbox;display:flex}:host([interactive]:hover){--mds-table-row-actions-background:var(--mds-table-row-background-hover);--mds-table-row-background:var(--mds-table-row-background-hover);--mds-table-row-color:var(--mds-table-row-color-hover)}:host([selected]){--mds-table-row-background:var(--mds-table-row-background-hover);--mds-table-row-color:var(--mds-table-row-color-hover)}:host([sorted]){--mds-table-row-background:var(--mds-table-row-background-alt);--mds-table-row-color:var(--mds-table-row-color-alt)}:host([sorted][selected]){--mds-table-row-background:var(--mds-table-row-background-hover);--mds-table-row-color:var(--mds-table-row-color-hover)}.actions-view{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;inset:0;-ms-flex-pack:end;justify-content:end;pointer-events:none;position:absolute}.actions{--mds-table-row-actions-background:var(--mds-table-row-background);-ms-flex-align:center;align-items:center;background-color:var(--mds-table-row-actions-background);border-bottom-left-radius:calc(0.5rem + var(--mds-table-border-width) * 2);border-top-left-radius:calc(0.5rem + var(--mds-table-border-width) * 2);display:-ms-inline-flexbox;display:inline-flex;gap:var(--mds-table-row-actions-gap);inset:0;margin-right:100%;padding:calc(var(--mds-table-border-width) * 2);padding-right:0;pointer-events:auto;position:-webkit-sticky;position:sticky;right:0;-webkit-transform:translateX(100%);transform:translateX(100%);-webkit-transition-duration:500ms;transition-duration:500ms;-webkit-transition-property:background-color, padding-right, -webkit-transform;transition-property:background-color, padding-right, -webkit-transform;transition-property:transform, background-color, padding-right;transition-property:transform, background-color, padding-right, -webkit-transform;-webkit-transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1);transition-timing-function:cubic-bezier(0.19, 1, 0.22, 1)}:host(:hover) .actions{-webkit-transform:translateX(100%);transform:translateX(100%)}:host([overlay-actions]) .actions{padding-right:var(--mds-table-cell-padding);-webkit-transform:translateX(100%);transform:translateX(100%)}:host([overlay-actions]:hover) .actions{--mds-table-row-actions-background:var(--mds-table-row-background);-webkit-transform:translateX(0);transform:translateX(0)}:host-context(mds-table[interactive="false"]):host(:hover) .actions,:host-context(mds-table:not([interactive])):host(:hover) .actions{--mds-table-row-actions-background:var(--mds-table-row-background-hover)}:host-context(mds-table[selection]:not([interactive])):host(:not([selected]):hover) .actions,:host-context(mds-table[selection][interactive="false"]):host(:not([selected]):hover) .actions,:host-context(mds-table[selection]:not([interactive])):host([selected="false"]:hover) .actions,:host-context(mds-table[selection][interactive="false"]):host([selected="false"]:hover) .actions{--mds-table-row-actions-background:var(--mds-table-row-background-alt)}.actions-cell--disable,.actions-cell--disable .actions{position:static !important}.actions-cell--disable .actions{margin-right:0 !important;-webkit-transform:translateX(0) !important;transform:translateX(0) !important}:host-context(.pref-animation-reduce){-webkit-transition-duration:0s;transition-duration:0s}@media (prefers-reduced-motion){:host-context(.pref-animation-system){-webkit-transition-duration:0s;transition-duration:0s}}:host(:not(:is([hydrated],.hydrated))){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}mds-accordion:not(:is([hydrated],.hydrated)),mds-accordion-item:not(:is([hydrated],.hydrated)),mds-accordion-timer:not(:is([hydrated],.hydrated)),mds-accordion-timer-item:not(:is([hydrated],.hydrated)),mds-author:not(:is([hydrated],.hydrated)),mds-avatar:not(:is([hydrated],.hydrated)),mds-badge:not(:is([hydrated],.hydrated)),mds-banner:not(:is([hydrated],.hydrated)),mds-benchmark-bar:not(:is([hydrated],.hydrated)),mds-bibliography:not(:is([hydrated],.hydrated)),mds-breadcrumb:not(:is([hydrated],.hydrated)),mds-breadcrumb-item:not(:is([hydrated],.hydrated)),mds-button:not(:is([hydrated],.hydrated)),mds-card:not(:is([hydrated],.hydrated)),mds-card-content:not(:is([hydrated],.hydrated)),mds-card-footer:not(:is([hydrated],.hydrated)),mds-card-header:not(:is([hydrated],.hydrated)),mds-card-media:not(:is([hydrated],.hydrated)),mds-chip:not(:is([hydrated],.hydrated)),mds-details:not(:is([hydrated],.hydrated)),mds-dropdown:not(:is([hydrated],.hydrated)),mds-entity:not(:is([hydrated],.hydrated)),mds-file:not(:is([hydrated],.hydrated)),mds-file-preview:not(:is([hydrated],.hydrated)),mds-filter:not(:is([hydrated],.hydrated)),mds-filter-item:not(:is([hydrated],.hydrated)),mds-header:not(:is([hydrated],.hydrated)),mds-header-bar:not(:is([hydrated],.hydrated)),mds-help:not(:is([hydrated],.hydrated)),mds-horizontal-scroll:not(:is([hydrated],.hydrated)),mds-hr:not(:is([hydrated],.hydrated)),mds-icon:not(:is([hydrated],.hydrated)),mds-img:not(:is([hydrated],.hydrated)),mds-input:not(:is([hydrated],.hydrated)),mds-input-field:not(:is([hydrated],.hydrated)),mds-input-range:not(:is([hydrated],.hydrated)),mds-input-select:not(:is([hydrated],.hydrated)),mds-input-switch:not(:is([hydrated],.hydrated)),mds-input-tip:not(:is([hydrated],.hydrated)),mds-input-tip-item:not(:is([hydrated],.hydrated)),mds-input-upload:not(:is([hydrated],.hydrated)),mds-keyboard:not(:is([hydrated],.hydrated)),mds-keyboard-key:not(:is([hydrated],.hydrated)),mds-kpi:not(:is([hydrated],.hydrated)),mds-kpi-item:not(:is([hydrated],.hydrated)),mds-label:not(:is([hydrated],.hydrated)),mds-list:not(:is([hydrated],.hydrated)),mds-list-item:not(:is([hydrated],.hydrated)),mds-modal:not(:is([hydrated],.hydrated)),mds-note:not(:is([hydrated],.hydrated)),mds-notification:not(:is([hydrated],.hydrated)),mds-paginator:not(:is([hydrated],.hydrated)),mds-paginator-item:not(:is([hydrated],.hydrated)),mds-pref:not(:is([hydrated],.hydrated)),mds-pref-animation:not(:is([hydrated],.hydrated)),mds-pref-consumption:not(:is([hydrated],.hydrated)),mds-pref-contrast:not(:is([hydrated],.hydrated)),mds-pref-language:not(:is([hydrated],.hydrated)),mds-pref-language-item:not(:is([hydrated],.hydrated)),mds-pref-theme:not(:is([hydrated],.hydrated)),mds-price-table:not(:is([hydrated],.hydrated)),mds-price-table-features:not(:is([hydrated],.hydrated)),mds-price-table-features-cell:not(:is([hydrated],.hydrated)),mds-price-table-features-row:not(:is([hydrated],.hydrated)),mds-price-table-header:not(:is([hydrated],.hydrated)),mds-price-table-list:not(:is([hydrated],.hydrated)),mds-price-table-list-item:not(:is([hydrated],.hydrated)),mds-progress:not(:is([hydrated],.hydrated)),mds-push-notification:not(:is([hydrated],.hydrated)),mds-push-notifications:not(:is([hydrated],.hydrated)),mds-quote:not(:is([hydrated],.hydrated)),mds-separator:not(:is([hydrated],.hydrated)),mds-spinner:not(:is([hydrated],.hydrated)),mds-stepper-bar:not(:is([hydrated],.hydrated)),mds-stepper-bar-item:not(:is([hydrated],.hydrated)),mds-tab:not(:is([hydrated],.hydrated)),mds-tab-bar:not(:is([hydrated],.hydrated)),mds-tab-bar-item:not(:is([hydrated],.hydrated)),mds-tab-item:not(:is([hydrated],.hydrated)),mds-table:not(:is([hydrated],.hydrated)),mds-table-body:not(:is([hydrated],.hydrated)),mds-table-cell:not(:is([hydrated],.hydrated)),mds-table-footer:not(:is([hydrated],.hydrated)),mds-table-header:not(:is([hydrated],.hydrated)),mds-table-header-cell:not(:is([hydrated],.hydrated)),mds-table-row:not(:is([hydrated],.hydrated)),mds-text:not(:is([hydrated],.hydrated)),mds-toast:not(:is([hydrated],.hydrated)),mds-tooltip:not(:is([hydrated],.hydrated)),mds-tree:not(:is([hydrated],.hydrated)),mds-tree-item:not(:is([hydrated],.hydrated)),mds-url-view:not(:is([hydrated],.hydrated)),mds-usage:not(:is([hydrated],.hydrated)),mds-video-wall:not(:is([hydrated],.hydrated)),mds-zero:not(:is([hydrated],.hydrated)){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}';var x=k;var R=t("mds_table_row",function(){function t(t){var r=this;e(this,t);this.hasActions=true;this.t=new s({el:c,en:u,es:b,it:w});this.selectable=undefined;this.handleSelectionChange=function(t){var e;r.selected=t.detail.checked;(e=r.host.closest("mds-table"))===null||e===void 0?void 0:e.updateSelection()}}t.prototype.updateLang=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.language=this.t.lang(this.host);this.t.update();return[2]}))}))};t.prototype.componentWillLoad=function(){this.language=this.t.lang(this.host);this.hasActions=this.host.querySelector(':scope > [slot="action"]')!==null};t.prototype.connectedCallback=function(){this.initObserver()};t.prototype.initObserver=function(){var t=this;var e=new IntersectionObserver((function(r){if(r[0].isIntersecting&&t.actions){t.sizerWidth="".concat(t.actions.offsetWidth.toString(),"px");e.unobserve(t.host)}}),{root:this.host.parentElement,threshold:1});e.observe(this.host)};t.prototype.render=function(){var t=this;return r(a,{key:"28e3db8073f279d629c28e1f872d9428353cdd20",role:"row"},this.selectable&&r("mds-table-cell",{key:"8a5694d2424941717b033aec6c1deb5addf16731",class:"selection-cell"},r("div",{key:"f078999da0380333580fded32245d7fd66f45c7f",class:"checkbox-wrapper"},r("mds-input-switch",{key:"bf7e66b17d4f07d99d9736f2668740c49d43abbf",title:this.t.get(this.selected?"unselectRow":"selectRow"),lang:this.language,type:"checkbox",checked:this.selected,onMdsInputSwitchChange:this.handleSelectionChange}))),r("slot",{key:"ba0509a29c8224700cf450a9292f783caf4b6157"}),this.hasActions&&g()&&r("mds-table-cell",{key:"4869dbff849b4c17af232fa33a050203481c7292",class:"actions-cell actions-cell--disable"},r("div",{key:"adbc97b79c20fe5388aaad26e631d5af0dcb352d",class:"actions"},r("slot",{key:"60aa1e0aa532533c6f8728e5277fe28492d97bf0",name:"action"}))),this.hasActions&&!g()&&r("mds-table-cell",{key:"f8030da3ab5725804f6f02c62424a9d12c48bbd5",class:"actions-cell"},r("div",{key:"7f00a568188011095edb2496ee30d820cf86cee8",class:"actions-sizer",style:{minHeight:"1px",maxWidth:this.sizerWidth,minWidth:this.sizerWidth}}),r("div",{key:"8169dd5a54c3df5e54492ff95bdcbb3e05c00d0b",class:"actions-view"},r("div",{key:"1a498ee7f6a6b42c381405ab2b15a8e23100641c",class:"actions",ref:function(e){return t.actions=e},style:{marginRight:"calc(".concat(this.sizerWidth," + var(--mds-table-cell-padding))")}},r("slot",{key:"f232095143d7062d5d686f913852800be67e7b15",name:"action"})))))};Object.defineProperty(t.prototype,"host",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());R.style=x}}}));
package/dist/stats.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2025-04-07T11:20:57",
2
+ "timestamp": "2025-05-14T14:25:06",
3
3
  "compiler": {
4
4
  "name": "node",
5
5
  "version": "22.11.0"
@@ -108,25 +108,25 @@
108
108
  "./dist/mds-table-row/index.esm.js",
109
109
  "./dist/mds-table-row/mds-table-row.esm.js",
110
110
  "./dist/mds-table-row/mds-table-row.js",
111
- "./dist/mds-table-row/p-1a501460.system.entry.js",
112
111
  "./dist/mds-table-row/p-4a407cb6.js",
113
112
  "./dist/mds-table-row/p-50ea2036.system.js",
114
113
  "./dist/mds-table-row/p-56ba5cbf.system.js",
115
- "./dist/mds-table-row/p-c2d293ab.entry.js",
114
+ "./dist/mds-table-row/p-86e316e3.entry.js",
116
115
  "./dist/mds-table-row/p-cd3437c0.system.js",
117
116
  "./dist/mds-table-row/p-e1255160.js",
118
117
  "./dist/mds-table-row/p-f835b87d.system.js",
118
+ "./dist/mds-table-row/p-fbe91c6f.system.entry.js",
119
119
  "./www/build/index.esm.js",
120
120
  "./www/build/mds-table-row.esm.js",
121
121
  "./www/build/mds-table-row.js",
122
- "./www/build/p-1a501460.system.entry.js",
123
122
  "./www/build/p-4a407cb6.js",
124
123
  "./www/build/p-50ea2036.system.js",
125
124
  "./www/build/p-56ba5cbf.system.js",
126
- "./www/build/p-c2d293ab.entry.js",
125
+ "./www/build/p-86e316e3.entry.js",
127
126
  "./www/build/p-cd3437c0.system.js",
128
127
  "./www/build/p-e1255160.js",
129
- "./www/build/p-f835b87d.system.js"
128
+ "./www/build/p-f835b87d.system.js",
129
+ "./www/build/p-fbe91c6f.system.entry.js"
130
130
  ]
131
131
  },
132
132
  {
@@ -159,12 +159,12 @@
159
159
  "components": [
160
160
  "mds-table-row"
161
161
  ],
162
- "bundleId": "p-c2d293ab",
163
- "fileName": "p-c2d293ab.entry.js",
162
+ "bundleId": "p-86e316e3",
163
+ "fileName": "p-86e316e3.entry.js",
164
164
  "imports": [
165
165
  "p-4a407cb6.js"
166
166
  ],
167
- "originalByteSize": 41222
167
+ "originalByteSize": 41238
168
168
  }
169
169
  ],
170
170
  "esm": [
@@ -178,7 +178,7 @@
178
178
  "imports": [
179
179
  "index-f0269a3c.js"
180
180
  ],
181
- "originalByteSize": 41226
181
+ "originalByteSize": 41242
182
182
  }
183
183
  ],
184
184
  "es5": [
@@ -192,7 +192,7 @@
192
192
  "imports": [
193
193
  "index-f0269a3c.js"
194
194
  ],
195
- "originalByteSize": 41226
195
+ "originalByteSize": 41242
196
196
  }
197
197
  ],
198
198
  "system": [
@@ -201,12 +201,12 @@
201
201
  "components": [
202
202
  "mds-table-row"
203
203
  ],
204
- "bundleId": "p-1a501460.system",
205
- "fileName": "p-1a501460.system.entry.js",
204
+ "bundleId": "p-fbe91c6f.system",
205
+ "fileName": "p-fbe91c6f.system.entry.js",
206
206
  "imports": [
207
207
  "p-f835b87d.system.js"
208
208
  ],
209
- "originalByteSize": 43883
209
+ "originalByteSize": 43899
210
210
  }
211
211
  ],
212
212
  "commonjs": [
@@ -220,7 +220,7 @@
220
220
  "imports": [
221
221
  "index-16788a13.js"
222
222
  ],
223
- "originalByteSize": 41351
223
+ "originalByteSize": 41367
224
224
  }
225
225
  ]
226
226
  },