@maggioli-design-system/mds-table-row 5.4.4 → 5.4.5

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 (44) hide show
  1. package/dist/cjs/mds-table-row.cjs.entry.js +25 -25
  2. package/dist/collection/common/locale.js +10 -8
  3. package/dist/collection/common/number.js +5 -0
  4. package/dist/collection/common/slot.js +10 -1
  5. package/dist/collection/common/unit.js +16 -1
  6. package/dist/collection/components/mds-table-row/mds-table-row.js +15 -17
  7. package/dist/collection/dictionary/button.js +20 -1
  8. package/dist/collection/dictionary/icon.js +1 -1
  9. package/dist/components/mds-table-row.js +25 -25
  10. package/dist/documentation.json +1 -1
  11. package/dist/esm/mds-table-row.entry.js +25 -25
  12. package/dist/esm-es5/mds-table-row.entry.js +1 -1
  13. package/dist/mds-table-row/mds-table-row.esm.js +1 -1
  14. package/dist/mds-table-row/p-cc861814.entry.js +6 -0
  15. package/dist/mds-table-row/p-cd3437c0.system.js +1 -1
  16. package/dist/mds-table-row/p-fc4793d9.system.entry.js +6 -0
  17. package/dist/stats.json +23 -22
  18. package/dist/types/common/number.d.ts +2 -0
  19. package/dist/types/common/slot.d.ts +2 -1
  20. package/dist/types/common/unit.d.ts +3 -1
  21. package/dist/types/components/mds-table-row/mds-table-row.d.ts +3 -1
  22. package/dist/types/dictionary/button.d.ts +4 -1
  23. package/dist/types/type/button.d.ts +2 -0
  24. package/documentation.json +27 -2
  25. package/package.json +1 -1
  26. package/src/common/locale.ts +10 -8
  27. package/src/common/number.ts +8 -0
  28. package/src/common/slot.ts +12 -0
  29. package/src/common/unit.ts +23 -0
  30. package/src/components/mds-table-row/mds-table-row.tsx +9 -11
  31. package/src/dictionary/button.ts +25 -0
  32. package/src/dictionary/icon.ts +2 -1
  33. package/src/fixtures/icons.json +9 -0
  34. package/src/tailwind/components.css +1 -1
  35. package/src/type/button.ts +15 -0
  36. package/www/build/mds-table-row.esm.js +1 -1
  37. package/www/build/p-cc861814.entry.js +6 -0
  38. package/www/build/p-cd3437c0.system.js +1 -1
  39. package/www/build/p-fc4793d9.system.entry.js +6 -0
  40. package/dist/mds-table-row/p-86e316e3.entry.js +0 -6
  41. package/dist/mds-table-row/p-fbe91c6f.system.entry.js +0 -6
  42. package/src/fixtures/iconsauce.json +0 -310
  43. package/www/build/p-86e316e3.entry.js +0 -6
  44. package/www/build/p-fbe91c6f.system.entry.js +0 -6
@@ -800,15 +800,17 @@ class Locale {
800
800
  };
801
801
  this.update = (doc) => {
802
802
  const context = doc !== null && doc !== void 0 ? doc : this.element.shadowRoot;
803
- context && context.querySelectorAll('*').forEach(el => {
804
- if (el.tagName.toLowerCase().startsWith('mds-')) {
805
- // eslint-disable-next-line no-restricted-syntax
806
- if (el && 'updateLang' in el) {
807
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
808
- el.updateLang();
803
+ if (context) {
804
+ context.querySelectorAll('*').forEach(el => {
805
+ if (el.tagName.toLowerCase().startsWith('mds-')) {
806
+ // eslint-disable-next-line no-restricted-syntax
807
+ if (el && 'updateLang' in el) {
808
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
809
+ el.updateLang();
810
+ }
809
811
  }
810
- }
811
- });
812
+ });
813
+ }
812
814
  };
813
815
  this.pluralize = (tag, context) => {
814
816
  const languagePhrase = this.config[this.language] ? this.config[this.language][tag] : this.config[this.rollbackLanguage][tag];
@@ -909,33 +911,31 @@ const MdsTableRow = class {
909
911
  this.language = this.t.lang(this.host);
910
912
  this.hasActions = this.host.querySelector(':scope > [slot="action"]') !== null;
911
913
  }
912
- connectedCallback() {
914
+ componentDidLoad() {
913
915
  // needed to capture sizer width when become visible
914
- this.initObserver();
916
+ if (this.hasActions)
917
+ this.initObserver();
915
918
  }
916
919
  initObserver() {
917
- const observer = new IntersectionObserver(entries => {
918
- if (entries[0].isIntersecting && this.actions) {
919
- this.sizerWidth = `${this.actions.offsetWidth.toString()}px`;
920
- observer.unobserve(this.host); // stop observer
921
- }
922
- }, {
923
- root: this.host.parentElement,
924
- threshold: 1, // trigger observer when is entirely visible
920
+ this.observer = new ResizeObserver(entry => {
921
+ this.sizerWidth = `${entry[0].borderBoxSize[0].inlineSize.toString()}px`;
925
922
  });
926
- observer.observe(this.host);
923
+ this.observer.observe(this.actions);
924
+ }
925
+ disconnectedCallback() {
926
+ this.observer.disconnect();
927
927
  }
928
928
  render() {
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: {
929
+ return (index.h(index.Host, { key: '277b0609922308962be67d5223876d6be4ea321b', role: "row" }, this.selectable &&
930
+ index.h("mds-table-cell", { key: '33f896d45cd10ea97413982185b77d7e239347c3', class: "selection-cell" }, index.h("div", { key: '070e43bcb4f866baace272dd324675d659f40ec5', class: "checkbox-wrapper" }, index.h("mds-input-switch", { key: '07ac8bbacf6cf4d56181bf9ce3be7102ddb82b01', title: this.t.get(this.selected ? 'unselectRow' : 'selectRow'), lang: this.language, type: "checkbox", checked: this.selected, onMdsInputSwitchChange: this.handleSelectionChange }))), index.h("slot", { key: 'c08978557b2dc6fd1cafc821339f549f29e6e3a0' }), this.hasActions && isSafari() &&
931
+ index.h("mds-table-cell", { key: '1024be5f867afae4b62f9a03ef1123440db3a1d8', class: "actions-cell actions-cell--disable" }, index.h("div", { key: '974b3a22e3a919a78b719a76519d6f079ab38510', class: "actions" }, index.h("slot", { key: 'd0500bd757bf9676eb7ae531e985498729bed2f3', name: "action" }))), this.hasActions && !isSafari() &&
932
+ index.h("mds-table-cell", { key: '34b3e5bd99ab221249fb3315463c43a5e94f7ec8', class: "actions-cell" }, index.h("div", { key: 'caa9459c5c9f85c8b1e1324b9323896d63120d65', class: "actions-sizer", style: {
933
933
  minHeight: '1px',
934
934
  maxWidth: this.sizerWidth,
935
935
  minWidth: this.sizerWidth,
936
- } }), index.h("div", { key: '8169dd5a54c3df5e54492ff95bdcbb3e05c00d0b', class: "actions-view" }, index.h("div", { key: '1a498ee7f6a6b42c381405ab2b15a8e23100641c', class: "actions", ref: el => this.actions = el, style: {
936
+ } }), index.h("div", { key: '82d8b7ffa26e5e30858da01c0cb3ce26bf33caf4', class: "actions-view" }, index.h("div", { key: '52e14745af69b6d9e68c1e255fc21c68756eaf24', class: "actions", ref: el => this.actions = el, style: {
937
937
  marginRight: `calc(${this.sizerWidth} + var(--mds-table-cell-padding))`,
938
- } }, index.h("slot", { key: 'f232095143d7062d5d686f913852800be67e7b15', name: "action" }))))));
938
+ } }, index.h("slot", { key: 'bb78e4e64e59b8b51dc3730e9db2c4e87bffc5d1', name: "action" }))))));
939
939
  }
940
940
  get host() { return index.getElement(this); }
941
941
  };
@@ -19,15 +19,17 @@ export class Locale {
19
19
  };
20
20
  this.update = (doc) => {
21
21
  const context = doc !== null && doc !== void 0 ? doc : this.element.shadowRoot;
22
- context && context.querySelectorAll('*').forEach(el => {
23
- if (el.tagName.toLowerCase().startsWith('mds-')) {
24
- // eslint-disable-next-line no-restricted-syntax
25
- if (el && 'updateLang' in el) {
26
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
27
- el.updateLang();
22
+ if (context) {
23
+ context.querySelectorAll('*').forEach(el => {
24
+ if (el.tagName.toLowerCase().startsWith('mds-')) {
25
+ // eslint-disable-next-line no-restricted-syntax
26
+ if (el && 'updateLang' in el) {
27
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
28
+ el.updateLang();
29
+ }
28
30
  }
29
- }
30
- });
31
+ });
32
+ }
31
33
  };
32
34
  this.pluralize = (tag, context) => {
33
35
  const languagePhrase = this.config[this.language] ? this.config[this.language][tag] : this.config[this.rollbackLanguage][tag];
@@ -0,0 +1,5 @@
1
+ const randomNumber = (min, max, integer = false) => {
2
+ const num = Math.random() * (max - min) + min;
3
+ return integer ? Math.floor(num) : num;
4
+ };
5
+ export { randomNumber, };
@@ -25,4 +25,13 @@ const hasSlotted = (el, name) => {
25
25
  }
26
26
  return false;
27
27
  };
28
- export { hasSlottedElements, hasSlottedNodes, hasSlotted, };
28
+ const hasSlottedContent = (el, name) => {
29
+ var _a;
30
+ const query = name ? `slot[name="${name}"]` : 'slot:not([name])';
31
+ const slot = (_a = el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector(query);
32
+ if (!slot)
33
+ return false;
34
+ const assignedNodes = slot.assignedNodes({ flatten: true });
35
+ return assignedNodes.some(node => { var _a; return node.nodeType === Node.TEXT_NODE && ((_a = node.textContent) === null || _a === void 0 ? void 0 : _a.trim()) !== ''; });
36
+ };
37
+ export { hasSlottedElements, hasSlottedNodes, hasSlottedContent, hasSlotted, };
@@ -7,6 +7,15 @@ const cssDurationToMilliseconds = (duration, defaultValue = 1000) => {
7
7
  }
8
8
  return defaultValue;
9
9
  };
10
+ const cssDurationToSeconds = (duration, defaultValue = 1000) => {
11
+ if (duration.includes('ms')) {
12
+ return Number(duration.replace('ms', '')) / 1000;
13
+ }
14
+ if (duration.includes('s')) {
15
+ return Number(duration.replace('s', ''));
16
+ }
17
+ return defaultValue;
18
+ };
10
19
  const cssSizeToNumber = (size, defaultValue = 0) => {
11
20
  if (size.includes('px')) {
12
21
  return Number(size.replace('px', ''));
@@ -19,4 +28,10 @@ const cssSizeToNumber = (size, defaultValue = 0) => {
19
28
  }
20
29
  return defaultValue;
21
30
  };
22
- export { cssDurationToMilliseconds, cssSizeToNumber, };
31
+ const cssRotationToNumber = (size, defaultValue = 0) => {
32
+ if (size.includes('deg')) {
33
+ return Number(size.replace('deg', ''));
34
+ }
35
+ return defaultValue;
36
+ };
37
+ export { cssDurationToMilliseconds, cssDurationToSeconds, cssRotationToNumber, cssSizeToNumber, };
@@ -34,33 +34,31 @@ export class MdsTableRow {
34
34
  this.language = this.t.lang(this.host);
35
35
  this.hasActions = this.host.querySelector(':scope > [slot="action"]') !== null;
36
36
  }
37
- connectedCallback() {
37
+ componentDidLoad() {
38
38
  // needed to capture sizer width when become visible
39
- this.initObserver();
39
+ if (this.hasActions)
40
+ this.initObserver();
40
41
  }
41
42
  initObserver() {
42
- const observer = new IntersectionObserver(entries => {
43
- if (entries[0].isIntersecting && this.actions) {
44
- this.sizerWidth = `${this.actions.offsetWidth.toString()}px`;
45
- observer.unobserve(this.host); // stop observer
46
- }
47
- }, {
48
- root: this.host.parentElement,
49
- threshold: 1, // trigger observer when is entirely visible
43
+ this.observer = new ResizeObserver(entry => {
44
+ this.sizerWidth = `${entry[0].borderBoxSize[0].inlineSize.toString()}px`;
50
45
  });
51
- observer.observe(this.host);
46
+ this.observer.observe(this.actions);
47
+ }
48
+ disconnectedCallback() {
49
+ this.observer.disconnect();
52
50
  }
53
51
  render() {
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: {
52
+ return (h(Host, { key: '277b0609922308962be67d5223876d6be4ea321b', role: "row" }, this.selectable &&
53
+ h("mds-table-cell", { key: '33f896d45cd10ea97413982185b77d7e239347c3', class: "selection-cell" }, h("div", { key: '070e43bcb4f866baace272dd324675d659f40ec5', class: "checkbox-wrapper" }, h("mds-input-switch", { key: '07ac8bbacf6cf4d56181bf9ce3be7102ddb82b01', title: this.t.get(this.selected ? 'unselectRow' : 'selectRow'), lang: this.language, type: "checkbox", checked: this.selected, onMdsInputSwitchChange: this.handleSelectionChange }))), h("slot", { key: 'c08978557b2dc6fd1cafc821339f549f29e6e3a0' }), this.hasActions && isSafari() &&
54
+ h("mds-table-cell", { key: '1024be5f867afae4b62f9a03ef1123440db3a1d8', class: "actions-cell actions-cell--disable" }, h("div", { key: '974b3a22e3a919a78b719a76519d6f079ab38510', class: "actions" }, h("slot", { key: 'd0500bd757bf9676eb7ae531e985498729bed2f3', name: "action" }))), this.hasActions && !isSafari() &&
55
+ h("mds-table-cell", { key: '34b3e5bd99ab221249fb3315463c43a5e94f7ec8', class: "actions-cell" }, h("div", { key: 'caa9459c5c9f85c8b1e1324b9323896d63120d65', class: "actions-sizer", style: {
58
56
  minHeight: '1px',
59
57
  maxWidth: this.sizerWidth,
60
58
  minWidth: this.sizerWidth,
61
- } }), h("div", { key: '8169dd5a54c3df5e54492ff95bdcbb3e05c00d0b', class: "actions-view" }, h("div", { key: '1a498ee7f6a6b42c381405ab2b15a8e23100641c', class: "actions", ref: el => this.actions = el, style: {
59
+ } }), h("div", { key: '82d8b7ffa26e5e30858da01c0cb3ce26bf33caf4', class: "actions-view" }, h("div", { key: '52e14745af69b6d9e68c1e255fc21c68756eaf24', class: "actions", ref: el => this.actions = el, style: {
62
60
  marginRight: `calc(${this.sizerWidth} + var(--mds-table-cell-padding))`,
63
- } }, h("slot", { key: 'f232095143d7062d5d686f913852800be67e7b15', name: "action" }))))));
61
+ } }, h("slot", { key: 'bb78e4e64e59b8b51dc3730e9db2c4e87bffc5d1', name: "action" }))))));
64
62
  }
65
63
  static get is() { return "mds-table-row"; }
66
64
  static get encapsulation() { return "shadow"; }
@@ -11,12 +11,27 @@ const buttonVariantDictionary = [
11
11
  'success',
12
12
  'warning',
13
13
  ];
14
+ const buttonDropdownVariantDictionary = [
15
+ 'ai',
16
+ 'dark',
17
+ 'error',
18
+ 'info',
19
+ 'light',
20
+ 'primary',
21
+ 'secondary',
22
+ 'success',
23
+ 'warning',
24
+ ];
14
25
  const buttonToneVariantDictionary = [
15
26
  'strong',
16
27
  'weak',
17
28
  'ghost',
18
29
  'quiet',
19
30
  ];
31
+ const buttonToneMinimalVariantDictionary = [
32
+ 'strong',
33
+ 'weak',
34
+ ];
20
35
  const buttonTargetDictionary = [
21
36
  'blank',
22
37
  'self',
@@ -27,6 +42,10 @@ const buttonSizeDictionary = [
27
42
  'lg',
28
43
  'xl',
29
44
  ];
45
+ const tabSizeDictionary = [
46
+ 'sm',
47
+ 'md',
48
+ ];
30
49
  const buttonIconPositionDictionary = [
31
50
  'left',
32
51
  'right',
@@ -36,4 +55,4 @@ const buttonTypeDictionary = [
36
55
  'submit',
37
56
  'reset',
38
57
  ];
39
- export { buttonIconPositionDictionary, buttonSizeDictionary, buttonTargetDictionary, buttonToneVariantDictionary, buttonTypeDictionary, buttonVariantDictionary, };
58
+ export { buttonDropdownVariantDictionary, buttonIconPositionDictionary, buttonSizeDictionary, buttonTargetDictionary, buttonToneMinimalVariantDictionary, buttonToneVariantDictionary, buttonTypeDictionary, buttonVariantDictionary, tabSizeDictionary, };
@@ -1,5 +1,5 @@
1
1
  import jsonIconsDictionary from "../fixtures/icons.json";
2
- import jsonMggIconsDictionary from "../fixtures/iconsauce.json";
2
+ import jsonMggIconsDictionary from "@maggioli-design-system/svg-icons/dist/iconsauce.json";
3
3
  const iconsDictionary = jsonIconsDictionary;
4
4
  const mggIconsDictionary = jsonMggIconsDictionary;
5
5
  const svgIconsDictionary = [
@@ -796,15 +796,17 @@ class Locale {
796
796
  };
797
797
  this.update = (doc) => {
798
798
  const context = doc !== null && doc !== void 0 ? doc : this.element.shadowRoot;
799
- context && context.querySelectorAll('*').forEach(el => {
800
- if (el.tagName.toLowerCase().startsWith('mds-')) {
801
- // eslint-disable-next-line no-restricted-syntax
802
- if (el && 'updateLang' in el) {
803
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
804
- el.updateLang();
799
+ if (context) {
800
+ context.querySelectorAll('*').forEach(el => {
801
+ if (el.tagName.toLowerCase().startsWith('mds-')) {
802
+ // eslint-disable-next-line no-restricted-syntax
803
+ if (el && 'updateLang' in el) {
804
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
805
+ el.updateLang();
806
+ }
805
807
  }
806
- }
807
- });
808
+ });
809
+ }
808
810
  };
809
811
  this.pluralize = (tag, context) => {
810
812
  const languagePhrase = this.config[this.language] ? this.config[this.language][tag] : this.config[this.rollbackLanguage][tag];
@@ -907,33 +909,31 @@ const MdsTableRow$1 = /*@__PURE__*/ proxyCustomElement(class MdsTableRow extends
907
909
  this.language = this.t.lang(this.host);
908
910
  this.hasActions = this.host.querySelector(':scope > [slot="action"]') !== null;
909
911
  }
910
- connectedCallback() {
912
+ componentDidLoad() {
911
913
  // needed to capture sizer width when become visible
912
- this.initObserver();
914
+ if (this.hasActions)
915
+ this.initObserver();
913
916
  }
914
917
  initObserver() {
915
- const observer = new IntersectionObserver(entries => {
916
- if (entries[0].isIntersecting && this.actions) {
917
- this.sizerWidth = `${this.actions.offsetWidth.toString()}px`;
918
- observer.unobserve(this.host); // stop observer
919
- }
920
- }, {
921
- root: this.host.parentElement,
922
- threshold: 1, // trigger observer when is entirely visible
918
+ this.observer = new ResizeObserver(entry => {
919
+ this.sizerWidth = `${entry[0].borderBoxSize[0].inlineSize.toString()}px`;
923
920
  });
924
- observer.observe(this.host);
921
+ this.observer.observe(this.actions);
922
+ }
923
+ disconnectedCallback() {
924
+ this.observer.disconnect();
925
925
  }
926
926
  render() {
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: {
927
+ return (h(Host, { key: '277b0609922308962be67d5223876d6be4ea321b', role: "row" }, this.selectable &&
928
+ h("mds-table-cell", { key: '33f896d45cd10ea97413982185b77d7e239347c3', class: "selection-cell" }, h("div", { key: '070e43bcb4f866baace272dd324675d659f40ec5', class: "checkbox-wrapper" }, h("mds-input-switch", { key: '07ac8bbacf6cf4d56181bf9ce3be7102ddb82b01', title: this.t.get(this.selected ? 'unselectRow' : 'selectRow'), lang: this.language, type: "checkbox", checked: this.selected, onMdsInputSwitchChange: this.handleSelectionChange }))), h("slot", { key: 'c08978557b2dc6fd1cafc821339f549f29e6e3a0' }), this.hasActions && isSafari() &&
929
+ h("mds-table-cell", { key: '1024be5f867afae4b62f9a03ef1123440db3a1d8', class: "actions-cell actions-cell--disable" }, h("div", { key: '974b3a22e3a919a78b719a76519d6f079ab38510', class: "actions" }, h("slot", { key: 'd0500bd757bf9676eb7ae531e985498729bed2f3', name: "action" }))), this.hasActions && !isSafari() &&
930
+ h("mds-table-cell", { key: '34b3e5bd99ab221249fb3315463c43a5e94f7ec8', class: "actions-cell" }, h("div", { key: 'caa9459c5c9f85c8b1e1324b9323896d63120d65', class: "actions-sizer", style: {
931
931
  minHeight: '1px',
932
932
  maxWidth: this.sizerWidth,
933
933
  minWidth: this.sizerWidth,
934
- } }), h("div", { key: '8169dd5a54c3df5e54492ff95bdcbb3e05c00d0b', class: "actions-view" }, h("div", { key: '1a498ee7f6a6b42c381405ab2b15a8e23100641c', class: "actions", ref: el => this.actions = el, style: {
934
+ } }), h("div", { key: '82d8b7ffa26e5e30858da01c0cb3ce26bf33caf4', class: "actions-view" }, h("div", { key: '52e14745af69b6d9e68c1e255fc21c68756eaf24', class: "actions", ref: el => this.actions = el, style: {
935
935
  marginRight: `calc(${this.sizerWidth} + var(--mds-table-cell-padding))`,
936
- } }, h("slot", { key: 'f232095143d7062d5d686f913852800be67e7b15', name: "action" }))))));
936
+ } }, h("slot", { key: 'bb78e4e64e59b8b51dc3730e9db2c4e87bffc5d1', 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-06-03T14:21:28",
2
+ "timestamp": "2025-12-01T11:31:45",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.27.2",
@@ -796,15 +796,17 @@ class Locale {
796
796
  };
797
797
  this.update = (doc) => {
798
798
  const context = doc !== null && doc !== void 0 ? doc : this.element.shadowRoot;
799
- context && context.querySelectorAll('*').forEach(el => {
800
- if (el.tagName.toLowerCase().startsWith('mds-')) {
801
- // eslint-disable-next-line no-restricted-syntax
802
- if (el && 'updateLang' in el) {
803
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
804
- el.updateLang();
799
+ if (context) {
800
+ context.querySelectorAll('*').forEach(el => {
801
+ if (el.tagName.toLowerCase().startsWith('mds-')) {
802
+ // eslint-disable-next-line no-restricted-syntax
803
+ if (el && 'updateLang' in el) {
804
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
805
+ el.updateLang();
806
+ }
805
807
  }
806
- }
807
- });
808
+ });
809
+ }
808
810
  };
809
811
  this.pluralize = (tag, context) => {
810
812
  const languagePhrase = this.config[this.language] ? this.config[this.language][tag] : this.config[this.rollbackLanguage][tag];
@@ -905,33 +907,31 @@ const MdsTableRow = class {
905
907
  this.language = this.t.lang(this.host);
906
908
  this.hasActions = this.host.querySelector(':scope > [slot="action"]') !== null;
907
909
  }
908
- connectedCallback() {
910
+ componentDidLoad() {
909
911
  // needed to capture sizer width when become visible
910
- this.initObserver();
912
+ if (this.hasActions)
913
+ this.initObserver();
911
914
  }
912
915
  initObserver() {
913
- const observer = new IntersectionObserver(entries => {
914
- if (entries[0].isIntersecting && this.actions) {
915
- this.sizerWidth = `${this.actions.offsetWidth.toString()}px`;
916
- observer.unobserve(this.host); // stop observer
917
- }
918
- }, {
919
- root: this.host.parentElement,
920
- threshold: 1, // trigger observer when is entirely visible
916
+ this.observer = new ResizeObserver(entry => {
917
+ this.sizerWidth = `${entry[0].borderBoxSize[0].inlineSize.toString()}px`;
921
918
  });
922
- observer.observe(this.host);
919
+ this.observer.observe(this.actions);
920
+ }
921
+ disconnectedCallback() {
922
+ this.observer.disconnect();
923
923
  }
924
924
  render() {
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: {
925
+ return (h(Host, { key: '277b0609922308962be67d5223876d6be4ea321b', role: "row" }, this.selectable &&
926
+ h("mds-table-cell", { key: '33f896d45cd10ea97413982185b77d7e239347c3', class: "selection-cell" }, h("div", { key: '070e43bcb4f866baace272dd324675d659f40ec5', class: "checkbox-wrapper" }, h("mds-input-switch", { key: '07ac8bbacf6cf4d56181bf9ce3be7102ddb82b01', title: this.t.get(this.selected ? 'unselectRow' : 'selectRow'), lang: this.language, type: "checkbox", checked: this.selected, onMdsInputSwitchChange: this.handleSelectionChange }))), h("slot", { key: 'c08978557b2dc6fd1cafc821339f549f29e6e3a0' }), this.hasActions && isSafari() &&
927
+ h("mds-table-cell", { key: '1024be5f867afae4b62f9a03ef1123440db3a1d8', class: "actions-cell actions-cell--disable" }, h("div", { key: '974b3a22e3a919a78b719a76519d6f079ab38510', class: "actions" }, h("slot", { key: 'd0500bd757bf9676eb7ae531e985498729bed2f3', name: "action" }))), this.hasActions && !isSafari() &&
928
+ h("mds-table-cell", { key: '34b3e5bd99ab221249fb3315463c43a5e94f7ec8', class: "actions-cell" }, h("div", { key: 'caa9459c5c9f85c8b1e1324b9323896d63120d65', class: "actions-sizer", style: {
929
929
  minHeight: '1px',
930
930
  maxWidth: this.sizerWidth,
931
931
  minWidth: this.sizerWidth,
932
- } }), h("div", { key: '8169dd5a54c3df5e54492ff95bdcbb3e05c00d0b', class: "actions-view" }, h("div", { key: '1a498ee7f6a6b42c381405ab2b15a8e23100641c', class: "actions", ref: el => this.actions = el, style: {
932
+ } }), h("div", { key: '82d8b7ffa26e5e30858da01c0cb3ce26bf33caf4', class: "actions-view" }, h("div", { key: '52e14745af69b6d9e68c1e255fc21c68756eaf24', class: "actions", ref: el => this.actions = el, style: {
933
933
  marginRight: `calc(${this.sizerWidth} + var(--mds-table-cell-padding))`,
934
- } }, h("slot", { key: 'f232095143d7062d5d686f913852800be67e7b15', name: "action" }))))));
934
+ } }, h("slot", { key: 'bb78e4e64e59b8b51dc3730e9db2c4e87bffc5d1', 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.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};
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,_,z,X,C,I;while(!$.eos()){T=$.pos;z=$.scanUntil(x);if(z){for(var M=0,D=z.length;M<D;++M){X=z.charAt(M);if(h(X)){s.push(d.length);l+=X}else{c=true;a=true;l+=" "}d.push(["text",X,T,T+1]);T+=1;if(X==="\n"){w();l="";f=0;a=false}}}if(!$.scan(x))break;o=true;_=$.scan(v)||"name";$.scan(u);if(_==="="){z=$.scanUntil(m);$.scan(m);$.scanUntil(R)}else if(_==="{"){z=$.scanUntil(S);$.scan(b);$.scanUntil(R);_="&"}else{z=$.scanUntil(R)}if(!$.scan(R))throw new Error("Unclosed tag at "+$.pos);if(_==">"){C=[_,z,T,$.pos,l,f,a]}else{C=[_,z,T,$.pos]}f++;d.push(C);if(_==="#"||_==="^"){i.push(C)}else if(_==="/"){I=i.pop();if(!I)throw new Error('Unopened section "'+z+'" at '+T);if(I[1]!==z)throw new Error('Unclosed section "'+I[1]+'" at '+T)}else if(_==="name"||_==="{"||_==="&"){c=true}else if(_==="="){j(z)}}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;if(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.componentDidLoad=function(){if(this.hasActions)this.initObserver()};t.prototype.initObserver=function(){var t=this;this.observer=new ResizeObserver((function(e){t.sizerWidth="".concat(e[0].borderBoxSize[0].inlineSize.toString(),"px")}));this.observer.observe(this.actions)};t.prototype.disconnectedCallback=function(){this.observer.disconnect()};t.prototype.render=function(){var t=this;return h(Host,{key:"277b0609922308962be67d5223876d6be4ea321b",role:"row"},this.selectable&&h("mds-table-cell",{key:"33f896d45cd10ea97413982185b77d7e239347c3",class:"selection-cell"},h("div",{key:"070e43bcb4f866baace272dd324675d659f40ec5",class:"checkbox-wrapper"},h("mds-input-switch",{key:"07ac8bbacf6cf4d56181bf9ce3be7102ddb82b01",title:this.t.get(this.selected?"unselectRow":"selectRow"),lang:this.language,type:"checkbox",checked:this.selected,onMdsInputSwitchChange:this.handleSelectionChange}))),h("slot",{key:"c08978557b2dc6fd1cafc821339f549f29e6e3a0"}),this.hasActions&&isSafari()&&h("mds-table-cell",{key:"1024be5f867afae4b62f9a03ef1123440db3a1d8",class:"actions-cell actions-cell--disable"},h("div",{key:"974b3a22e3a919a78b719a76519d6f079ab38510",class:"actions"},h("slot",{key:"d0500bd757bf9676eb7ae531e985498729bed2f3",name:"action"}))),this.hasActions&&!isSafari()&&h("mds-table-cell",{key:"34b3e5bd99ab221249fb3315463c43a5e94f7ec8",class:"actions-cell"},h("div",{key:"caa9459c5c9f85c8b1e1324b9323896d63120d65",class:"actions-sizer",style:{minHeight:"1px",maxWidth:this.sizerWidth,minWidth:this.sizerWidth}}),h("div",{key:"82d8b7ffa26e5e30858da01c0cb3ce26bf33caf4",class:"actions-view"},h("div",{key:"52e14745af69b6d9e68c1e255fc21c68756eaf24",class:"actions",ref:function(e){return t.actions=e},style:{marginRight:"calc(".concat(this.sizerWidth," + var(--mds-table-cell-padding))")}},h("slot",{key:"bb78e4e64e59b8b51dc3730e9db2c4e87bffc5d1",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 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))));
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-cc861814",[[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,z,X,S,C,D,L=new b(t);!L.eos();){if(E=L.pos,X=L.scanUntil(d))for(var O=0,T=X.length;O<T;++O)o(S=X.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(!L.scan(d))break;if(w=!0,z=L.scan(m)||"name",L.scan(h),"="===z?(X=L.scanUntil(l),L.scan(l),L.scanUntil(i)):"{"===z?(X=L.scanUntil(s),L.scan(y),L.scanUntil(i),z="&"):X=L.scanUntil(i),!L.scan(i))throw new Error("Unclosed tag at "+L.pos);if(C=">"==z?[z,X,E,L.pos,k,x,n]:[z,X,E,L.pos],x++,f.push(C),"#"===z||"^"===z)u.push(C);else if("/"===z){if(!(D=u.pop()))throw new Error('Unopened section "'+X+'" at '+E);if(D[1]!==X)throw new Error('Unclosed section "'+D[1]+'" at '+E)}else"name"===z||"{"===z||"&"===z?g=!0:"="===z&&j(X)}if(R(),D=u.pop())throw new Error('Unclosed section "'+D[1]+'" at '+L.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"]')}componentDidLoad(){this.hasActions&&this.initObserver()}initObserver(){this.observer=new ResizeObserver((t=>{this.sizerWidth=`${t[0].borderBoxSize[0].inlineSize.toString()}px`})),this.observer.observe(this.actions)}disconnectedCallback(){this.observer.disconnect()}render(){return e(r,{key:"277b0609922308962be67d5223876d6be4ea321b",role:"row"},this.selectable&&e("mds-table-cell",{key:"33f896d45cd10ea97413982185b77d7e239347c3",class:"selection-cell"},e("div",{key:"070e43bcb4f866baace272dd324675d659f40ec5",class:"checkbox-wrapper"},e("mds-input-switch",{key:"07ac8bbacf6cf4d56181bf9ce3be7102ddb82b01",title:this.t.get(this.selected?"unselectRow":"selectRow"),lang:this.language,type:"checkbox",checked:this.selected,onMdsInputSwitchChange:this.handleSelectionChange}))),e("slot",{key:"c08978557b2dc6fd1cafc821339f549f29e6e3a0"}),this.hasActions&&c()&&e("mds-table-cell",{key:"1024be5f867afae4b62f9a03ef1123440db3a1d8",class:"actions-cell actions-cell--disable"},e("div",{key:"974b3a22e3a919a78b719a76519d6f079ab38510",class:"actions"},e("slot",{key:"d0500bd757bf9676eb7ae531e985498729bed2f3",name:"action"}))),this.hasActions&&!c()&&e("mds-table-cell",{key:"34b3e5bd99ab221249fb3315463c43a5e94f7ec8",class:"actions-cell"},e("div",{key:"caa9459c5c9f85c8b1e1324b9323896d63120d65",class:"actions-sizer",style:{minHeight:"1px",maxWidth:this.sizerWidth,minWidth:this.sizerWidth}}),e("div",{key:"82d8b7ffa26e5e30858da01c0cb3ce26bf33caf4",class:"actions-view"},e("div",{key:"52e14745af69b6d9e68c1e255fc21c68756eaf24",class:"actions",ref:t=>this.actions=t,style:{marginRight:`calc(${this.sizerWidth} + var(--mds-table-cell-padding))`}},e("slot",{key:"bb78e4e64e59b8b51dc3730e9db2c4e87bffc5d1",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}