@maggioli-design-system/mds-table-row 4.7.0 → 4.8.0

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 (108) hide show
  1. package/dist/cjs/{index-97006570.js → index-6ff13374.js} +45 -7
  2. package/dist/cjs/loader.cjs.js +2 -2
  3. package/dist/cjs/mds-table-row.cjs.entry.js +17 -3
  4. package/dist/cjs/mds-table-row.cjs.js +3 -3
  5. package/dist/collection/collection-manifest.json +2 -2
  6. package/dist/collection/common/aria.js +17 -1
  7. package/dist/collection/common/device.js +6 -0
  8. package/dist/collection/common/keyboard-manager.js +2 -2
  9. package/dist/collection/common/locale.js +17 -5
  10. package/dist/collection/components/mds-table-row/mds-table-row.css +57 -252
  11. package/dist/collection/components/mds-table-row/mds-table-row.js +26 -1
  12. package/dist/collection/dictionary/button.js +1 -0
  13. package/dist/collection/dictionary/file-extensions.js +114 -56
  14. package/dist/collection/dictionary/text.js +60 -1
  15. package/dist/collection/dictionary/variant.js +10 -1
  16. package/dist/collection/type/variant-file-format.js +0 -34
  17. package/dist/components/mds-table-row.js +18 -3
  18. package/dist/documentation.json +24 -3
  19. package/dist/esm/{index-ac4b33c0.js → index-0a14d3b4.js} +45 -8
  20. package/dist/esm/loader.js +3 -3
  21. package/dist/esm/mds-table-row.entry.js +17 -3
  22. package/dist/esm/mds-table-row.js +4 -4
  23. package/dist/esm-es5/index-0a14d3b4.js +1 -0
  24. package/dist/esm-es5/loader.js +1 -1
  25. package/dist/esm-es5/mds-table-row.entry.js +1 -1
  26. package/dist/esm-es5/mds-table-row.js +1 -1
  27. package/dist/mds-table-row/mds-table-row.esm.js +1 -1
  28. package/dist/mds-table-row/mds-table-row.js +1 -1
  29. package/dist/mds-table-row/p-25a5e94e.system.js +1 -0
  30. package/dist/mds-table-row/p-33796315.entry.js +1 -0
  31. package/dist/mds-table-row/p-580bb30b.system.js +2 -0
  32. package/dist/mds-table-row/p-60aa058b.js +2 -0
  33. package/dist/mds-table-row/p-cca5599e.system.entry.js +1 -0
  34. package/dist/stats.json +84 -43
  35. package/dist/types/common/aria.d.ts +3 -1
  36. package/dist/types/common/date.d.ts +1 -1
  37. package/dist/types/common/device.d.ts +2 -0
  38. package/dist/types/common/file.d.ts +3 -4
  39. package/dist/types/common/locale.d.ts +3 -1
  40. package/dist/types/components/mds-table-row/mds-table-row.d.ts +4 -0
  41. package/dist/types/components.d.ts +2 -0
  42. package/dist/types/dictionary/file-extensions.d.ts +2 -1
  43. package/dist/types/dictionary/text.d.ts +3 -1
  44. package/dist/types/dictionary/variant.d.ts +2 -1
  45. package/dist/types/stencil-public-runtime.d.ts +6 -0
  46. package/dist/types/type/autocomplete.d.ts +1 -1
  47. package/dist/types/type/button.d.ts +1 -1
  48. package/dist/types/type/header-bar.d.ts +2 -0
  49. package/dist/types/type/input.d.ts +3 -0
  50. package/dist/types/type/text.d.ts +2 -0
  51. package/dist/types/type/variant-file-format.d.ts +4 -4
  52. package/dist/types/type/variant.d.ts +2 -1
  53. package/documentation.json +65 -34
  54. package/package.json +5 -5
  55. package/readme.md +5 -4
  56. package/src/common/aria.ts +22 -2
  57. package/src/common/device.ts +9 -0
  58. package/src/common/file.ts +2 -3
  59. package/src/common/keyboard-manager.ts +2 -2
  60. package/src/common/locale.ts +20 -6
  61. package/src/common/unit.ts +1 -1
  62. package/src/components/mds-table-row/.gitlab-ci.yml +5 -10
  63. package/src/components/mds-table-row/mds-table-row.css +60 -0
  64. package/src/components/mds-table-row/mds-table-row.tsx +19 -1
  65. package/src/components/mds-table-row/readme.md +4 -3
  66. package/src/components.d.ts +2 -0
  67. package/src/dictionary/button.ts +1 -0
  68. package/src/dictionary/file-extensions.ts +118 -57
  69. package/src/dictionary/text.ts +64 -0
  70. package/src/dictionary/variant.ts +11 -0
  71. package/src/fixtures/icons.json +20 -2
  72. package/src/fixtures/iconsauce.json +12 -0
  73. package/src/meta/file-format/locale.el.json +39 -0
  74. package/src/meta/file-format/locale.en.json +39 -0
  75. package/src/meta/file-format/locale.es.json +39 -0
  76. package/src/meta/file-format/locale.it.json +39 -0
  77. package/src/tailwind/components.css +1 -1
  78. package/src/type/autocomplete.ts +0 -1
  79. package/src/type/button.ts +1 -0
  80. package/src/type/header-bar.ts +11 -0
  81. package/src/type/input.ts +4 -0
  82. package/src/type/text.ts +59 -0
  83. package/src/type/variant-file-format.ts +20 -37
  84. package/src/type/variant.ts +9 -1
  85. package/www/build/mds-table-row.esm.js +1 -1
  86. package/www/build/mds-table-row.js +1 -1
  87. package/www/build/p-25a5e94e.system.js +1 -0
  88. package/www/build/p-33796315.entry.js +1 -0
  89. package/www/build/p-580bb30b.system.js +2 -0
  90. package/www/build/p-60aa058b.js +2 -0
  91. package/www/build/p-cca5599e.system.entry.js +1 -0
  92. package/dist/collection/type/language.js +0 -1
  93. package/dist/esm-es5/index-ac4b33c0.js +0 -1
  94. package/dist/mds-table-row/p-0a6d4960.js +0 -2
  95. package/dist/mds-table-row/p-11e2454f.system.js +0 -1
  96. package/dist/mds-table-row/p-bc92b059.system.js +0 -2
  97. package/dist/mds-table-row/p-cb00bcd8.entry.js +0 -1
  98. package/dist/mds-table-row/p-e2d6387e.system.entry.js +0 -1
  99. package/dist/types/interface/input-value.d.ts +0 -4
  100. package/dist/types/type/language.d.ts +0 -2
  101. package/src/interface/input-value.ts +0 -5
  102. package/src/type/language.ts +0 -8
  103. package/www/build/p-0a6d4960.js +0 -2
  104. package/www/build/p-11e2454f.system.js +0 -1
  105. package/www/build/p-bc92b059.system.js +0 -2
  106. package/www/build/p-cb00bcd8.entry.js +0 -1
  107. package/www/build/p-e2d6387e.system.entry.js +0 -1
  108. /package/dist/collection/{interface/input-value.js → type/header-bar.js} +0 -0
@@ -0,0 +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,c){function a(t){try{u(r.next(t))}catch(t){c(t)}}function o(t){try{u(r["throw"](t))}catch(t){c(t)}}function u(t){t.done?e(t.value):i(t.value).then(a,o)}u((r=r.apply(t,n||[])).next())}))};var __generator=this&&this.__generator||function(t,n){var e={label:0,sent:function(){if(c[0]&1)throw c[1];return c[1]},trys:[],ops:[]},r,i,c,a;return a={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function o(t){return function(n){return u([t,n])}}function u(o){if(r)throw new TypeError("Generator is already executing.");while(a&&(a=0,o[0]&&(e=0)),e)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:e.label++;return{value:o[1],done:false};case 5:e.label++;i=o[1];o=[0];continue;case 7:o=e.ops.pop();e.trys.pop();continue;default:if(!(c=e.trys,c=c.length>0&&c[c.length-1])&&(o[0]===6||o[0]===2)){e=0;continue}if(o[0]===3&&(!c||o[1]>c[0]&&o[1]<c[3])){e.label=o[1];break}if(o[0]===6&&e.label<c[1]){e.label=c[1];c=o;break}if(c&&e.label<c[2]){e.label=c[2];e.ops.push(o);break}if(c[2])e.ops.pop();e.trys.pop();continue}o=n.call(t,e)}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-580bb30b.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 c=function(){var t=n.meta.url;var r={};if(t!==""){r.resourcesUrl=new URL(".",t).href}return e(r)};c().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-cca5599e.system",[[1,"mds-table-row",{interactive:[1540],overlayActions:[1540,"overlay-actions"]},[[4,"mdsTableInteractiveChange","tableInteractiveHandler"]]]]]],n)]}}))}))}))}}}));
@@ -0,0 +1 @@
1
+ import{r as n,h as t,H as o,g as r}from"./p-60aa058b.js";const e=()=>{const n=navigator.userAgent||navigator.vendor||window.opera;return/android|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(n)};function a(n){var t,o,r="";if("string"==typeof n||"number"==typeof n)r+=n;else if("object"==typeof n)if(Array.isArray(n)){var e=n.length;for(t=0;t<e;t++)n[t]&&(o=a(n[t]))&&(r&&(r+=" "),r+=o)}else for(o in n)n[o]&&(r&&(r+=" "),r+=o);return r}function i(){for(var n,t,o=0,r="",e=arguments.length;o<e;o++)(n=arguments[o])&&(t=a(n))&&(r&&(r+=" "),r+=t);return r}const s=class{constructor(t){n(this,t),this.interactive=void 0,this.overlayActions=void 0}tableInteractiveHandler(n){this.interactive=n.detail}componentWillLoad(){this.actions=null!==this.host.querySelector('[slot="action"]')}render(){return t(o,{key:"7402ca1cfdaf3e7846dbf29fad4771617c4f0aee",role:"row"},t("slot",{key:"6671fe1e06369e2486157747c41921266553636c"}),this.actions&&t("div",{key:"e58f247b2f1f6c4263c85615209356f212fa727a",class:i("actions-wrapper",e()&&"actions-wrapper--mobile"),role:"cell"},t("div",{key:"1f952cd70074ee64cbef3b96c562cf4d76efd8e7",class:"actions"},t("slot",{key:"7d9eaf9364cd8626a300bddba7c6c9bd449ae773",name:"action"}))))}get host(){return r(this)}};s.style='@tailwind utilities;\n\n:host {\n\n --mds-table-row-color-hover: var(--mds-table-color-hover, rgb(var(--tone-neutral-02)));\n --mds-table-row-color: var(--mds-table-color, rgb(var(--tone-neutral-03)));\n --mds-table-row-actions-gap: var(--mds-table-actions-gap, 1rem);\n -webkit-transition-duration: 200ms;\n transition-duration: 200ms;\n -webkit-transition-timing-function: cubic-bezier(0, 0, 0.2, 1);\n transition-timing-function: cubic-bezier(0, 0, 0.2, 1);\n\n color: var(--mds-table-row-color);\n display: table-row;\n position: relative;\n -webkit-transition-property: color;\n transition-property: color;\n\n}\n\n.actions-wrapper {\n inset: 0;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-pack: end;\n justify-content: end;\n pointer-events: none;\n position: absolute;\n}\n\n.actions {\n -ms-flex-align: center;\n align-items: center;\n background-color: var(--mds-table-cell-background);\n border-bottom-color: transparent;\n border-bottom-style: solid;\n border-bottom-width: var(--mds-table-border-width);\n border-top-color: var(--mds-table-border-color);\n border-top-style: solid;\n border-top-width: var(--mds-table-border-width);\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n gap: var(--mds-table-row-actions-gap);\n height: 100%;\n margin-top: calc(var(--mds-table-border-width) * -1);\n padding: var(--mds-table-cell-padding);\n pointer-events: auto;\n position: -webkit-sticky;\n position: sticky;\n right: 0;\n -webkit-transform: translateX(100%);\n transform: translateX(100%);\n -webkit-transition-duration: 500ms;\n transition-duration: 500ms;\n -webkit-transition-property: background-color, -webkit-transform;\n transition-property: background-color, -webkit-transform;\n transition-property: transform, background-color;\n transition-property: transform, background-color, -webkit-transform;\n -webkit-transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);\n transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);\n}\n\n.actions-wrapper--mobile {\n position: relative;\n}\n\n.actions-wrapper--mobile .actions {\n position: static;\n -webkit-transform: translateX(0);\n transform: translateX(0);\n}\n\n:host(:hover) .actions {\n -webkit-transform: translateX(0);\n transform: translateX(0);\n}\n\n:host([overlay-actions]:not([overlay-actions="false"])) .actions-wrapper:not(.actions-wrapper--mobile) .actions {\n -webkit-transform: translateX(100%);\n transform: translateX(100%);\n}\n\n:host([interactive]:not([interactive="false"])) .actions {\n --mds-table-cell-background: var(--mds-table-body-background);\n}\n\n:host([interactive]:not([interactive="false"]):hover) .actions {\n --mds-table-cell-background: var(--mds-table-cell-background-hover);\n}\n\n:host([sorted][interactive]:not([interactive="false"])) ::slotted(mds-table-cell[sorted]) {\n\n --mds-table-cell-background: var(--mds-table-cell-background-hover);\n}\n\n:host([sorted][interactive]:not([interactive="false"])) ::slotted(mds-table-cell:not([sorted])) {\n\n --mds-table-cell-background: var(--mds-table-body-background-hover);\n}\n\n:host([interactive]:not([interactive="false"]):hover) {\n\n --mds-table-cell-background: var(--mds-table-cell-background-hover);\n --mds-table-row-color: var(--mds-table-row-color-hover);\n}\n\n\n:host([sorted][interactive]:not([interactive="false"]):hover) ::slotted(mds-table-cell:not([sorted])) {\n\n --mds-table-cell-background: var(--mds-table-cell-background-hover);\n}\n\n:host([sorted]:not([interactive])) ::slotted(mds-table-cell:not([sorted])) {\n\n --mds-table-cell-background: var(--mds-table-body-background-hover);\n}\n\n@container style(--magma-pref-animation: reduce) {\n :host {\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n}\n\n@container style(--magma-pref-animation: system) {\n\n @media (prefers-reduced-motion) {\n :host {\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n }\n}\n\n';export{s as mds_table_row}
@@ -0,0 +1,2 @@
1
+ var __extends=this&&this.__extends||function(){var r=function(e,n){r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,e){r.__proto__=e}||function(r,e){for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))r[n]=e[n]};return r(e,n)};return function(e,n){if(typeof n!=="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");r(e,n);function t(){this.constructor=e}e.prototype=n===null?Object.create(n):(t.prototype=n.prototype,new t)}}();var __awaiter=this&&this.__awaiter||function(r,e,n,t){function i(r){return r instanceof n?r:new n((function(e){e(r)}))}return new(n||(n=Promise))((function(n,a){function u(r){try{o(t.next(r))}catch(r){a(r)}}function f(r){try{o(t["throw"](r))}catch(r){a(r)}}function o(r){r.done?n(r.value):i(r.value).then(u,f)}o((t=t.apply(r,e||[])).next())}))};var __generator=this&&this.__generator||function(r,e){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},t,i,a,u;return u={next:f(0),throw:f(1),return:f(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function f(r){return function(e){return o([r,e])}}function o(f){if(t)throw new TypeError("Generator is already executing.");while(u&&(u=0,f[0]&&(n=0)),n)try{if(t=1,i&&(a=f[0]&2?i["return"]:f[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,f[1])).done)return a;if(i=0,a)f=[f[0]&2,a.value];switch(f[0]){case 0:case 1:a=f;break;case 4:n.label++;return{value:f[1],done:false};case 5:n.label++;i=f[1];f=[0];continue;case 7:f=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(f[0]===6||f[0]===2)){n=0;continue}if(f[0]===3&&(!a||f[1]>a[0]&&f[1]<a[3])){n.label=f[1];break}if(f[0]===6&&n.label<a[1]){n.label=a[1];a=f;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(f);break}if(a[2])n.ops.pop();n.trys.pop();continue}f=e.call(r,n)}catch(r){f=[6,r];i=0}finally{t=a=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(r,e,n){if(n||arguments.length===2)for(var t=0,i=e.length,a;t<i;t++){if(a||!(t in e)){if(!a)a=Array.prototype.slice.call(e,0,t);a[t]=e[t]}}return r.concat(a||Array.prototype.slice.call(e))};System.register([],(function(r,e){"use strict";return{execute:function(){var n=this;var t="mds-table-row";var i={allRenderFn:true,appendChildSlotFix:false,asyncLoading:true,asyncQueue:false,attachStyles:true,cloneNodeFix:false,cmpDidLoad:false,cmpDidRender:false,cmpDidUnload:false,cmpDidUpdate:false,cmpShouldUpdate:false,cmpWillLoad:true,cmpWillRender:false,cmpWillUpdate:false,connectedCallback:false,constructableCSS:true,cssAnnotations:true,devTools:false,disconnectedCallback:false,element:false,event:false,experimentalScopedSlotChanges:false,experimentalSlotFixes:false,formAssociated:false,hasRenderFn:true,hostListener:true,hostListenerTarget:true,hostListenerTargetBody:false,hostListenerTargetDocument:true,hostListenerTargetParent:false,hostListenerTargetWindow:false,hotModuleReplacement:false,hydrateClientSide:false,hydrateServerSide:false,hydratedAttribute:true,hydratedClass:false,hydratedSelectorName:"hydrated",initializeNextTick:false,invisiblePrehydration:true,isDebug:false,isDev:false,isTesting:false,lazyLoad:true,lifecycle:true,lifecycleDOMEvents:false,member:true,method:false,mode:false,observeAttribute:true,profile:false,prop:true,propBoolean:true,propMutable:true,propNumber:false,propString:false,reflect:true,scoped:false,scopedSlotTextContentFix:false,scriptDataOpts:false,shadowDelegatesFocus:false,shadowDom:true,slot:true,slotChildNodesFix:false,slotRelocation:false,state:false,style:true,svg:false,taskQueue:true,transformTagName:false,updatable:true,vdomAttribute:true,vdomClass:true,vdomFunctional:false,vdomKey:true,vdomListener:false,vdomPropOrAttr:true,vdomRef:false,vdomRender:true,vdomStyle:false,vdomText:true,vdomXlink:false,watchCallback:false};var a=Object.defineProperty;var u=function(r,e){for(var n in e)a(r,n,{get:e[n],enumerable:true})};var f=new WeakMap;var o=function(r){return f.get(r)};var l=r("r",(function(r,e){return f.set(e.t=r,e)}));var s=function(r,e){var n={i:0,$hostElement$:r,u:e,o:new Map};{n.l=new Promise((function(r){return n.v=r}));r["s-p"]=[];r["s-rc"]=[]}return f.set(r,n)};var c=function(r,e){return e in r};var v=function(r,e){return(0,console.error)(r,e)};var d=new Map;var h=function(r,n,t){var i=r.h.replace(/-/g,"_");var a=r.p;if(!a){return void 0}var u=d.get(a);if(u){return u[i]}
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/return e.import("./".concat(a,".entry.js").concat("")).then((function(r){{d.set(a,r)}return r[i]}),v)};var p=new Map;var m="{visibility:hidden}[hydrated]{visibility:inherit}";var y="slot-fb{display:contents}slot-fb[hidden]{display:none}";var w=typeof window!=="undefined"?window:{};var b=w.document||{head:{}};var S={i:0,m:"",jmp:function(r){return r()},raf:function(r){return requestAnimationFrame(r)},ael:function(r,e,n,t){return r.addEventListener(e,n,t)},rel:function(r,e,n,t){return r.removeEventListener(e,n,t)},ce:function(r,e){return new CustomEvent(r,e)}};var g=function(){var r=false;try{b.addEventListener("e",null,Object.defineProperty({},"passive",{get:function(){r=true}}))}catch(r){}return r}();var _=r("p",(function(r){return Promise.resolve(r)}));var $=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(r){}return false}();var k=false;var A=[];var C=[];var j=function(r,e){return function(n){r.push(n);if(!k){k=true;if(e&&S.i&4){T(O)}else{S.raf(O)}}}};var x=function(r){for(var e=0;e<r.length;e++){try{r[e](performance.now())}catch(r){v(r)}}r.length=0};var O=function(){x(A);{x(C);if(k=A.length>0){S.raf(O)}}};var T=function(r){return _().then(r)};var E=j(C,true);var D={};var L=function(r){return r!=null};var M=function(r){r=typeof r;return r==="object"||r==="function"};function F(r){var e,n,t;return(t=(n=(e=r.head)==null?void 0:e.querySelector('meta[name="csp-nonce"]'))==null?void 0:n.getAttribute("content"))!=null?t:void 0}var P={};u(P,{err:function(){return N},map:function(){return U},ok:function(){return R},unwrap:function(){return W},unwrapErr:function(){return H}});var R=function(r){return{isOk:true,isErr:false,value:r}};var N=function(r){return{isOk:false,isErr:true,value:r}};function U(r,e){if(r.isOk){var n=e(r.value);if(n instanceof Promise){return n.then((function(r){return R(r)}))}else{return R(n)}}if(r.isErr){var t=r.value;return N(t)}throw"should never get here"}var W=function(r){if(r.isOk){return r.value}else{throw r.value}};var H=function(r){if(r.isErr){return r.value}else{throw r.value}};var z=function(r,e){if(e===void 0){e=""}{return function(){return}}};var B=function(r,e){{return function(){return}}};var G=r("h",(function(r,e){var n=[];for(var t=2;t<arguments.length;t++){n[t-2]=arguments[t]}var i=null;var a=null;var u=false;var f=false;var o=[];var l=function(e){for(var n=0;n<e.length;n++){i=e[n];if(Array.isArray(i)){l(i)}else if(i!=null&&typeof i!=="boolean"){if(u=typeof r!=="function"&&!M(i)){i=String(i)}if(u&&f){o[o.length-1].S+=i}else{o.push(u?Q(null,i):i)}f=u}}};l(n);if(e){if(e.key){a=e.key}{var s=e.className||e.class;if(s){e.class=typeof s!=="object"?s:Object.keys(s).filter((function(r){return s[r]})).join(" ")}}}var c=Q(r,null);c._=e;if(o.length>0){c.$=o}{c.k=a}return c}));var Q=function(r,e){var n={i:0,A:r,S:e,C:null,$:null};{n._=null}{n.k=null}return n};var q=r("H",{});var I=function(r){return r&&r.A===q};var K=function(r,e){if(r!=null&&!M(r)){if(e&4){return r==="false"?false:r===""||!!r}return r}return r};var V=r("g",(function(r){return o(r).$hostElement$}));var X=function(r,e,n){var t=S.ce(e,n);r.dispatchEvent(t);return t};var J=new WeakMap;var Y=function(r,e,n){var t=p.get(r);if($&&n){t=t||new CSSStyleSheet;if(typeof t==="string"){t=e}else{t.replaceSync(e)}}else{t=e}p.set(r,t)};var Z=function(r,e,n){var t;var i=er(e);var a=p.get(i);r=r.nodeType===11?r:b;if(a){if(typeof a==="string"){r=r.head||r;var u=J.get(r);var f=void 0;if(!u){J.set(r,u=new Set)}if(!u.has(i)){{f=b.createElement("style");f.innerHTML=a;var o=(t=S.j)!=null?t:F(b);if(o!=null){f.setAttribute("nonce",o)}if(!(e.i&1)){if(r.nodeName==="HEAD"){var l=r.querySelectorAll("link[rel=preconnect]");var s=l.length>0?l[l.length-1].nextSibling:r.querySelector("style");r.insertBefore(f,s)}else if("host"in r){if($){var c=new CSSStyleSheet;c.replaceSync(a);r.adoptedStyleSheets=__spreadArray([c],r.adoptedStyleSheets,true)}else{var v=r.querySelector("style");if(v){v.innerHTML=a+v.innerHTML}else{r.prepend(f)}}}else{r.append(f)}}if(e.i&1&&r.nodeName!=="HEAD"){r.insertBefore(f,null)}}if(e.i&4){f.innerHTML+=y}if(u){u.add(i)}}}else if(!r.adoptedStyleSheets.includes(a)){r.adoptedStyleSheets=__spreadArray(__spreadArray([],r.adoptedStyleSheets,true),[a],false)}}return i};var rr=function(r){var e=r.u;var n=r.$hostElement$;var t=e.i;var i=z("attachStyles",e.h);var a=Z(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);if(t&10&&t&2){n["s-sc"]=a;n.classList.add(a+"-h")}i()};var er=function(r,e){return"sc-"+r.h};var nr=function(r,e,n,t,i,a){if(n!==t){var u=c(r,e);e.toLowerCase();if(e==="class"){var f=r.classList;var o=ir(n);var l=ir(t);f.remove.apply(f,o.filter((function(r){return r&&!l.includes(r)})));f.add.apply(f,l.filter((function(r){return r&&!o.includes(r)})))}else if(e==="key");else{var s=M(t);if((u||s&&t!==null)&&!i){try{if(!r.tagName.includes("-")){var v=t==null?"":t;if(e==="list"){u=false}else if(n==null||r[e]!=v){if(typeof r.__lookupSetter__(e)==="function"){r[e]=v}else{r.setAttribute(e,v)}}}else{r[e]=t}}catch(r){}}if(t==null||t===false){if(t!==false||r.getAttribute(e)===""){{r.removeAttribute(e)}}}else if((!u||a&4||i)&&!s){t=t===true?"":t;{r.setAttribute(e,t)}}}}};var tr=/\s/;var ir=function(r){return!r?[]:r.split(tr)};var ar=function(r,e,n){var t=e.C.nodeType===11&&e.C.host?e.C.host:e.C;var i=r&&r._||D;var a=e._||D;{for(var u=0,f=ur(Object.keys(i));u<f.length;u++){var o=f[u];if(!(o in a)){nr(t,o,i[o],void 0,n,e.i)}}}for(var l=0,s=ur(Object.keys(a));l<s.length;l++){var o=s[l];nr(t,o,i[o],a[o],n,e.i)}};function ur(r){return r.includes("ref")?__spreadArray(__spreadArray([],r.filter((function(r){return r!=="ref"})),true),["ref"],false):r}var fr;var or;var lr=false;var sr=false;var cr=function(r,e,n,t){var a=e.$[n];var u=0;var f;var o;if(a.S!==null){f=a.C=b.createTextNode(a.S)}else{f=a.C=b.createElement(!lr&&i.slotRelocation&&a.i&2?"slot-fb":a.A);{ar(null,a,sr)}var l=f.getRootNode();var s=!l.querySelector("body");if(!s&&i.scoped&&L(fr)&&f["s-si"]!==fr){f.classList.add(f["s-si"]=fr)}if(a.$){for(u=0;u<a.$.length;++u){o=cr(r,a,u);if(o){f.appendChild(o)}}}}f["s-hn"]=or;return f};var vr=function(r,e,n,t,i,a){var u=r;var f;if(u.shadowRoot&&u.tagName===or){u=u.shadowRoot}for(;i<=a;++i){if(t[i]){f=cr(null,n,i);if(f){t[i].C=f;yr(u,f,e)}}}};var dr=function(r,e,n){for(var t=e;t<=n;++t){var i=r[t];if(i){var a=i.C;if(a){a.remove()}}}};var hr=function(r,e,n,t,i){if(i===void 0){i=false}var a=0;var u=0;var f=0;var o=0;var l=e.length-1;var s=e[0];var c=e[l];var v=t.length-1;var d=t[0];var h=t[v];var p;var m;while(a<=l&&u<=v){if(s==null){s=e[++a]}else if(c==null){c=e[--l]}else if(d==null){d=t[++u]}else if(h==null){h=t[--v]}else if(pr(s,d,i)){mr(s,d,i);s=e[++a];d=t[++u]}else if(pr(c,h,i)){mr(c,h,i);c=e[--l];h=t[--v]}else if(pr(s,h,i)){mr(s,h,i);yr(r,s.C,c.C.nextSibling);s=e[++a];h=t[--v]}else if(pr(c,d,i)){mr(c,d,i);yr(r,c.C,s.C);c=e[--l];d=t[++u]}else{f=-1;{for(o=a;o<=l;++o){if(e[o]&&e[o].k!==null&&e[o].k===d.k){f=o;break}}}if(f>=0){m=e[f];if(m.A!==d.A){p=cr(e&&e[u],n,f)}else{mr(m,d,i);e[f]=void 0;p=m.C}d=t[++u]}else{p=cr(e&&e[u],n,u);d=t[++u]}if(p){{yr(s.C.parentNode,p,s.C)}}}}if(a>l){vr(r,t[v+1]==null?null:t[v+1].C,n,t,u,v)}else if(u>v){dr(e,a,l)}};var pr=function(r,e,n){if(n===void 0){n=false}if(r.A===e.A){if(!n){return r.k===e.k}return true}return false};var mr=function(r,e,n){if(n===void 0){n=false}var t=e.C=r.C;var a=r.$;var u=e.$;var f=e.A;var o=e.S;if(o===null){{if(f==="slot"&&!lr);else{ar(r,e,sr)}}if(a!==null&&u!==null){hr(t,a,e,u,n)}else if(u!==null){if(r.S!==null){t.textContent=""}vr(t,null,e,u,0,u.length-1)}else if(!n&&i.updatable&&a!==null){dr(a,0,a.length-1)}}else if(r.S!==o){t.data=o}};var yr=function(r,e,n){var t=r==null?void 0:r.insertBefore(e,n);return t};var wr=function(r,e,n){if(n===void 0){n=false}var t=r.$hostElement$;var i=r.u;var a=r.O||Q(null,null);var u=I(e)?e:G(null,null,e);or=t.tagName;if(i.T){u._=u._||{};i.T.map((function(r){var e=r[0],n=r[1];return u._[n]=t[e]}))}if(n&&u._){for(var f=0,o=Object.keys(u._);f<o.length;f++){var l=o[f];if(t.hasAttribute(l)&&!["key","ref","style","class"].includes(l)){u._[l]=t[l]}}}u.A=null;u.i|=4;r.O=u;u.C=a.C=t.shadowRoot||t;{fr=t["s-sc"]}lr=(i.i&1)!==0;mr(a,u,n)};var br=function(r,e){if(e&&!r.D&&e["s-p"]){e["s-p"].push(new Promise((function(e){return r.D=e})))}};var Sr=function(r,e){{r.i|=16}if(r.i&4){r.i|=512;return}br(r,r.L);var n=function(){return gr(r,e)};return E(n)};var gr=function(r,e){var n=r.$hostElement$;var t=z("scheduleUpdate",r.u.h);var i=r.t;if(!i){throw new Error("Can't render component <".concat(n.tagName.toLowerCase()," /> with invalid Stencil runtime! Make sure this imported component is compiled with a `externalRuntime: true` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime"))}var a;if(e){{r.i|=256;if(r.M){r.M.map((function(r){var e=r[0],n=r[1];return xr(i,e,n)}));r.M=void 0}}{a=xr(i,"componentWillLoad")}}t();return _r(a,(function(){return kr(r,i,e)}))};var _r=function(r,e){return $r(r)?r.then(e).catch((function(r){console.error(r);e()})):e()};var $r=function(r){return r instanceof Promise||r&&r.then&&typeof r.then==="function"};var kr=function(r,e,t){return __awaiter(n,void 0,void 0,(function(){var n,i,a,u,f,o,l;return __generator(this,(function(s){i=r.$hostElement$;a=z("update",r.u.h);u=i["s-rc"];if(t){rr(r)}f=z("render",r.u.h);{Ar(r,e,i,t)}if(u){u.map((function(r){return r()}));i["s-rc"]=void 0}f();a();{o=(n=i["s-p"])!=null?n:[];l=function(){return Cr(r)};if(o.length===0){l()}else{Promise.all(o).then(l);r.i|=4;o.length=0}}return[2]}))}))};var Ar=function(r,e,n,t){try{e=e.render();{r.i&=~16}{r.i|=2}{{{wr(r,e,t)}}}}catch(e){v(e,r.$hostElement$)}return null};var Cr=function(r){var e=r.u.h;var n=r.$hostElement$;var t=z("postUpdate",e);var i=r.L;if(!(r.i&64)){r.i|=64;{Or(n)}t();{r.v(n);if(!i){jr()}}}else{t()}{if(r.D){r.D();r.D=void 0}if(r.i&512){T((function(){return Sr(r,false)}))}r.i&=~(4|512)}};var jr=function(r){{Or(b.documentElement)}T((function(){return X(w,"appload",{detail:{namespace:t}})}))};var xr=function(r,e,n){if(r&&r[e]){try{return r[e](n)}catch(r){v(r)}}return void 0};var Or=function(r){var e;return r.setAttribute((e=i.hydratedSelectorName)!=null?e:"hydrated","")};var Tr=function(r,e){return o(r).o.get(e)};var Er=function(r,e,n,t){var i=o(r);if(!i){throw new Error("Couldn't find host element for \"".concat(t.h,'" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).'))}var a=i.o.get(e);var u=i.i;var f=i.t;n=K(n,t.F[e][0]);var l=Number.isNaN(a)&&Number.isNaN(n);var s=n!==a&&!l;if((!(u&8)||a===void 0)&&s){i.o.set(e,n);if(f){if((u&(2|16))===2){Sr(i,false)}}}};var Dr=function(r,e,n){var t,a;var u=r.prototype;if(e.F||i.watchCallback){var f=Object.entries((t=e.F)!=null?t:{});f.map((function(r){var t=r[0],i=r[1][0];if(i&31||n&2&&i&32){Object.defineProperty(u,t,{get:function(){return Tr(this,t)},set:function(r){Er(this,t,r,e)},configurable:true,enumerable:true})}}));if(n&1){var l=new Map;u.attributeChangedCallback=function(r,n,t){var i=this;S.jmp((function(){var a;var f=l.get(r);if(i.hasOwnProperty(f)){t=i[f];delete i[f]}else if(u.hasOwnProperty(f)&&typeof i[f]==="number"&&i[f]==t){return}else if(f==null){var s=o(i);var c=s==null?void 0:s.i;if(c&&!(c&8)&&c&128&&t!==n){var v=s.t;var d=(a=e.P)==null?void 0:a[r];d==null?void 0:d.forEach((function(e){if(v[e]!=null){v[e].call(v,t,n,r)}}))}return}i[f]=t===null&&typeof i[f]==="boolean"?false:t}))};r.observedAttributes=Array.from(new Set(__spreadArray(__spreadArray([],Object.keys((a=e.P)!=null?a:{}),true),f.filter((function(r){var e=r[0],n=r[1];return n[0]&15})).map((function(r){var n=r[0],t=r[1];var i;var a=t[1]||n;l.set(a,n);if(t[0]&512){(i=e.T)==null?void 0:i.push([n,a])}return a})),true)))}}return r};var Lr=function(r,e,t,i){return __awaiter(n,void 0,void 0,(function(){var n,i,a,u,f,o,l,s,c,d,m;return __generator(this,(function(y){switch(y.label){case 0:if(!((e.i&32)===0))return[3,6];e.i|=32;i=t.p;if(!i)return[3,4];a=h(t);if(!(a&&"then"in a))return[3,2];u=B();return[4,a];case 1:n=y.sent();u();return[3,3];case 2:n=a;y.label=3;case 3:if(!n){throw new Error('Constructor for "'.concat(t.h,"#").concat(e.R,'" was not found'))}if(!n.isProxied){Dr(n,t,2);n.isProxied=true}f=z("createInstance",t.h);{e.i|=8}try{new n(e)}catch(r){v(r)}{e.i&=~8}f();return[3,5];case 4:n=r.constructor;o=r.localName;customElements.whenDefined(o).then((function(){return e.i|=128}));y.label=5;case 5:if(n&&n.style){l=void 0;if(typeof n.style==="string"){l=n.style}s=er(t);if(!p.has(s)){c=z("registerStyles",t.h);Y(s,l,!!(t.i&1));c()}}y.label=6;case 6:d=e.L;m=function(){return Sr(e,true)};if(d&&d["s-rc"]){d["s-rc"].push(m)}else{m()}return[2]}}))}))};var Mr=function(r){};var Fr=function(r){if((S.i&1)===0){var e=o(r);var n=e.u;var t=z("connectedCallback",n.h);if(!(e.i&1)){e.i|=1;{var i=r;while(i=i.parentNode||i.host){if(i["s-p"]){br(e,e.L=i);break}}}if(n.F){Object.entries(n.F).map((function(e){var n=e[0],t=e[1][0];if(t&31&&r.hasOwnProperty(n)){var i=r[n];delete r[n];r[n]=i}}))}{Lr(r,e,n)}}else{Ur(r,e,n.N);if(e==null?void 0:e.t);else if(e==null?void 0:e.l){e.l.then((function(){return Mr()}))}}t()}};var Pr=function(r){};var Rr=function(r){return __awaiter(n,void 0,void 0,(function(){var e;return __generator(this,(function(n){if((S.i&1)===0){e=o(r);{if(e.U){e.U.map((function(r){return r()}));e.U=void 0}}if(e==null?void 0:e.t);else if(e==null?void 0:e.l){e.l.then((function(){return Pr()}))}}return[2]}))}))};var Nr=r("b",(function(r,e){if(e===void 0){e={}}var n;var t=z();var i=[];var a=e.exclude||[];var u=w.customElements;var f=b.head;var l=f.querySelector("meta[charset]");var c=b.createElement("style");var v=[];var d;var h=true;Object.assign(S,e);S.m=new URL(e.resourcesUrl||"./",b.baseURI).href;var p=false;r.map((function(r){r[1].map((function(e){var n={i:e[0],h:e[1],F:e[2],N:e[3]};if(n.i&4){p=true}{n.F=e[2]}{n.N=e[3]}{n.T=[]}var t=n.h;var f=function(r){__extends(e,r);function e(e){var t=r.call(this,e)||this;t.hasRegisteredEventListeners=false;e=t;s(e,n);if(n.i&1){{if(!e.shadowRoot){{e.attachShadow({mode:"open"})}}else{if(e.shadowRoot.mode!=="open"){throw new Error("Unable to re-use existing shadow root for ".concat(n.h,"! Mode is set to ").concat(e.shadowRoot.mode," but Stencil only supports open shadow roots."))}}}}return t}e.prototype.connectedCallback=function(){var r=this;var e=o(this);if(!this.hasRegisteredEventListeners){this.hasRegisteredEventListeners=true;Ur(this,e,n.N)}if(d){clearTimeout(d);d=null}if(h){v.push(this)}else{S.jmp((function(){return Fr(r)}))}};e.prototype.disconnectedCallback=function(){var r=this;S.jmp((function(){return Rr(r)}))};e.prototype.componentOnReady=function(){return o(this).l};return e}(HTMLElement);n.p=r[0];if(!a.includes(t)&&!u.get(t)){i.push(t);u.define(t,Dr(f,n,1))}}))}));if(i.length>0){if(p){c.textContent+=y}{c.textContent+=i.sort()+m}if(c.innerHTML.length){c.setAttribute("data-styles","");var g=(n=S.j)!=null?n:F(b);if(g!=null){c.setAttribute("nonce",g)}f.insertBefore(c,l?l.nextSibling:f.firstChild)}}h=false;if(v.length){v.map((function(r){return r.connectedCallback()}))}else{{S.jmp((function(){return d=setTimeout(jr,30)}))}}t()}));var Ur=function(r,e,n,t){if(n){n.map((function(n){var t=n[0],i=n[1],a=n[2];var u=Hr(r,t);var f=Wr(e,a);var o=zr(t);S.ael(u,i,f,o);(e.U=e.U||[]).push((function(){return S.rel(u,i,f,o)}))}))}};var Wr=function(r,e){return function(n){var t;try{{if(r.i&256){(t=r.t)==null?void 0:t[e](n)}else{(r.M=r.M||[]).push([e,n])}}}catch(r){v(r)}}};var Hr=function(r,e){if(e&4)return b;return r};var zr=function(r){return g?{passive:(r&1)!==0,capture:(r&2)!==0}:(r&2)!==0};var Br=r("s",(function(r){return S.j=r}))}}}));
@@ -0,0 +1,2 @@
1
+ var e=Object.defineProperty,t=new WeakMap,n=e=>t.get(e),l=(e,n)=>t.set(n.t=e,n),o=(e,t)=>(0,console.error)(e,t),s=new Map,r=new Map,i="slot-fb{display:contents}slot-fb[hidden]{display:none}",c="undefined"!=typeof window?window:{},u=c.document||{head:{}},a={l:0,o:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},f=e=>Promise.resolve(e),h=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),p=!1,d=[],m=[],y=(e,t)=>n=>{e.push(n),p||(p=!0,t&&4&a.l?v(w):a.raf(w))},$=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){o(e)}e.length=0},w=()=>{$(d),$(m),(p=d.length>0)&&a.raf(w)},v=e=>f().then(e),b=y(m,!0),S={},g=e=>"object"==(e=typeof e)||"function"===e;function j(e){var t,n,l;return null!=(l=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?l:void 0}((t,n)=>{for(var l in n)e(t,l,{get:n[l],enumerable:!0})})({},{err:()=>E,map:()=>O,ok:()=>k,unwrap:()=>M,unwrapErr:()=>P});var k=e=>({isOk:!0,isErr:!1,value:e}),E=e=>({isOk:!1,isErr:!0,value:e});function O(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>k(e))):k(n)}if(e.isErr)return E(e.value);throw"should never get here"}var C,M=e=>{if(e.isOk)return e.value;throw e.value},P=e=>{if(e.isErr)return e.value;throw e.value},x=(e,t,...n)=>{let l=null,o=null,s=!1,r=!1;const i=[],c=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?c(l):null!=l&&"boolean"!=typeof l&&((s="function"!=typeof e&&!g(l))&&(l+=""),s&&r?i[i.length-1].i+=l:i.push(s?A(null,l):l),r=s)};if(c(n),t){t.key&&(o=t.key);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}const u=A(e,null);return u.u=t,i.length>0&&(u.h=i),u.p=o,u},A=(e,t)=>({l:0,m:e,i:t,$:null,h:null,u:null,p:null}),H={},T=e=>n(e).$hostElement$,D=new WeakMap,L=e=>"sc-"+e.v,N=(e,t,n,l,o,s)=>{if(n!==l){let r=((e,t)=>t in e)(e,t);if(t.toLowerCase(),"class"===t){const t=e.classList,o=U(n),s=U(l);t.remove(...o.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!o.includes(e))))}else if("key"===t);else{const i=g(l);if((r||i&&null!==l)&&!o)try{if(e.tagName.includes("-"))e[t]=l;else{const o=null==l?"":l;"list"===t?r=!1:null!=n&&e[t]==o||("function"==typeof e.__lookupSetter__(t)?e[t]=o:e.setAttribute(t,o))}}catch(e){}null==l||!1===l?!1===l&&""!==e.getAttribute(t)||e.removeAttribute(t):(!r||4&s||o)&&!i&&e.setAttribute(t,l=!0===l?"":l)}}},R=/\s/,U=e=>e?e.split(R):[],W=(e,t,n)=>{const l=11===t.$.nodeType&&t.$.host?t.$.host:t.$,o=e&&e.u||S,s=t.u||S;for(const e of F(Object.keys(o)))e in s||N(l,e,o[e],void 0,n,t.l);for(const e of F(Object.keys(s)))N(l,e,o[e],s[e],n,t.l)};function F(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var q=!1,G=!1,V=(e,t,n)=>{const l=t.h[n];let o,s,r=0;if(null!==l.i)o=l.$=u.createTextNode(l.i);else if(o=l.$=u.createElement(l.m),W(null,l,G),o.getRootNode().querySelector("body"),l.h)for(r=0;r<l.h.length;++r)s=V(e,l,r),s&&o.appendChild(s);return o["s-hn"]=C,o},_=(e,t,n,l,o,s)=>{let r,i=e;for(i.shadowRoot&&i.tagName===C&&(i=i.shadowRoot);o<=s;++o)l[o]&&(r=V(null,n,o),r&&(l[o].$=r,J(i,r,t)))},z=(e,t,n)=>{for(let l=t;l<=n;++l){const t=e[l];if(t){const e=t.$;e&&e.remove()}}},B=(e,t,n=!1)=>e.m===t.m&&(!!n||e.p===t.p),I=(e,t,n=!1)=>{const l=t.$=e.$,o=e.h,s=t.h,r=t.i;null===r?(("slot"!==t.m||q)&&W(e,t,G),null!==o&&null!==s?((e,t,n,l,o=!1)=>{let s,r,i=0,c=0,u=0,a=0,f=t.length-1,h=t[0],p=t[f],d=l.length-1,m=l[0],y=l[d];for(;i<=f&&c<=d;)if(null==h)h=t[++i];else if(null==p)p=t[--f];else if(null==m)m=l[++c];else if(null==y)y=l[--d];else if(B(h,m,o))I(h,m,o),h=t[++i],m=l[++c];else if(B(p,y,o))I(p,y,o),p=t[--f],y=l[--d];else if(B(h,y,o))I(h,y,o),J(e,h.$,p.$.nextSibling),h=t[++i],y=l[--d];else if(B(p,m,o))I(p,m,o),J(e,p.$,h.$),p=t[--f],m=l[++c];else{for(u=-1,a=i;a<=f;++a)if(t[a]&&null!==t[a].p&&t[a].p===m.p){u=a;break}u>=0?(r=t[u],r.m!==m.m?s=V(t&&t[c],n,u):(I(r,m,o),t[u]=void 0,s=r.$),m=l[++c]):(s=V(t&&t[c],n,c),m=l[++c]),s&&J(h.$.parentNode,s,h.$)}i>f?_(e,null==l[d+1]?null:l[d+1].$,n,l,c,d):c>d&&z(t,i,f)})(l,o,t,s,n):null!==s?(null!==e.i&&(l.textContent=""),_(l,null,t,s,0,s.length-1)):!n&&null!==o&&z(o,0,o.length-1)):e.i!==r&&(l.data=r)},J=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),K=(e,t)=>{t&&!e.S&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.S=t)))},Q=(e,t)=>{if(e.l|=16,!(4&e.l))return K(e,e.j),b((()=>X(e,t)));e.l|=512},X=(e,t)=>{const n=e.t;if(!n)throw Error(`Can't render component <${e.$hostElement$.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return t&&(e.l|=256,e.k&&(e.k.map((([e,t])=>oe(n,e,t))),e.k=void 0),l=oe(n,"componentWillLoad")),Y(l,(()=>ee(e,n,t)))},Y=(e,t)=>Z(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),Z=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,ee=async(e,t,n)=>{var l;const o=e.$hostElement$,s=o["s-rc"];n&&(e=>{const t=e.O,n=e.$hostElement$,l=t.l,o=((e,t)=>{var n;const l=L(t),o=r.get(l);if(e=11===e.nodeType?e:u,o)if("string"==typeof o){let s,r=D.get(e=e.head||e);if(r||D.set(e,r=new Set),!r.has(l)){{s=u.createElement("style"),s.innerHTML=o;const l=null!=(n=a.C)?n:j(u);if(null!=l&&s.setAttribute("nonce",l),!(1&t.l))if("HEAD"===e.nodeName){const t=e.querySelectorAll("link[rel=preconnect]"),n=t.length>0?t[t.length-1].nextSibling:e.querySelector("style");e.insertBefore(s,n)}else if("host"in e)if(h){const t=new CSSStyleSheet;t.replaceSync(o),e.adoptedStyleSheets=[t,...e.adoptedStyleSheets]}else{const t=e.querySelector("style");t?t.innerHTML=o+t.innerHTML:e.prepend(s)}else e.append(s);1&t.l&&"HEAD"!==e.nodeName&&e.insertBefore(s,null)}4&t.l&&(s.innerHTML+=i),r&&r.add(l)}}else e.adoptedStyleSheets.includes(o)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,o]);return l})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&2&l&&(n["s-sc"]=o,n.classList.add(o+"-h"))})(e);te(e,t,o,n),s&&(s.map((e=>e())),o["s-rc"]=void 0);{const t=null!=(l=o["s-p"])?l:[],n=()=>ne(e);0===t.length?n():(Promise.all(t).then(n),e.l|=4,t.length=0)}},te=(e,t,n,l)=>{try{t=t.render(),e.l&=-17,e.l|=2,((e,t,n=!1)=>{const l=e.$hostElement$,o=e.O,s=e.M||A(null,null),r=(e=>e&&e.m===H)(t)?t:x(null,null,t);if(C=l.tagName,o.P&&(r.u=r.u||{},o.P.map((([e,t])=>r.u[t]=l[e]))),n&&r.u)for(const e of Object.keys(r.u))l.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(r.u[e]=l[e]);r.m=null,r.l|=4,e.M=r,r.$=s.$=l.shadowRoot||l,q=!!(1&o.l),I(s,r,n)})(e,t,l)}catch(t){o(t,e.$hostElement$)}return null},ne=e=>{const t=e.$hostElement$,n=e.j;64&e.l||(e.l|=64,se(t),e.A(t),n||le()),e.S&&(e.S(),e.S=void 0),512&e.l&&v((()=>Q(e,!1))),e.l&=-517},le=()=>{se(u.documentElement),v((()=>(e=>{const t=a.ce("appload",{detail:{namespace:"mds-table-row"}});return e.dispatchEvent(t),t})(c)))},oe=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){o(e)}},se=e=>e.setAttribute("hydrated",""),re=(e,t,l)=>{var o,s;const r=e.prototype;if(t.H){const i=Object.entries(null!=(o=t.H)?o:{});if(i.map((([e,[o]])=>{(31&o||2&l&&32&o)&&Object.defineProperty(r,e,{get(){return((e,t)=>n(this).T.get(t))(0,e)},set(l){((e,t,l,o)=>{const s=n(e);if(!s)throw Error(`Couldn't find host element for "${o.v}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const r=s.T.get(t),i=s.l,c=s.t;l=((e,t)=>null==e||g(e)?e:4&t?"false"!==e&&(""===e||!!e):e)(l,o.H[t][0]),8&i&&void 0!==r||l===r||Number.isNaN(r)&&Number.isNaN(l)||(s.T.set(t,l),c&&2==(18&i)&&Q(s,!1))})(this,e,l,t)},configurable:!0,enumerable:!0})})),1&l){const l=new Map;r.attributeChangedCallback=function(e,o,s){a.jmp((()=>{var i;const c=l.get(e);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(r.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const l=n(this),r=null==l?void 0:l.l;if(r&&!(8&r)&&128&r&&s!==o){const n=l.t,r=null==(i=t.D)?void 0:i[e];null==r||r.forEach((t=>{null!=n[t]&&n[t].call(n,s,o,e)}))}return}}this[c]=(null!==s||"boolean"!=typeof this[c])&&s}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(s=t.D)?s:{}),...i.filter((([e,t])=>15&t[0])).map((([e,n])=>{var o;const s=n[1]||e;return l.set(s,e),512&n[0]&&(null==(o=t.P)||o.push([e,s])),s}))]))}}return e},ie=(e,l={})=>{var f;const p=[],d=l.exclude||[],m=c.customElements,y=u.head,$=y.querySelector("meta[charset]"),w=u.createElement("style"),v=[];let b,S=!0;Object.assign(a,l),a.o=new URL(l.resourcesUrl||"./",u.baseURI).href;let g=!1;if(e.map((e=>{e[1].map((l=>{const i={l:l[0],v:l[1],H:l[2],L:l[3]};4&i.l&&(g=!0),i.H=l[2],i.L=l[3],i.P=[];const c=i.v,u=class extends HTMLElement{constructor(e){if(super(e),this.hasRegisteredEventListeners=!1,((e,n)=>{const l={l:0,$hostElement$:e,O:n,T:new Map};l.N=new Promise((e=>l.A=e)),e["s-p"]=[],e["s-rc"]=[],t.set(e,l)})(e=this,i),1&i.l)if(e.shadowRoot){if("open"!==e.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${i.v}! Mode is set to ${e.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else e.attachShadow({mode:"open"})}connectedCallback(){const e=n(this);this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,ce(this,e,i.L)),b&&(clearTimeout(b),b=null),S?v.push(this):a.jmp((()=>(e=>{if(!(1&a.l)){const t=n(e),l=t.O,i=()=>{};if(1&t.l)ce(e,t,l.L),(null==t?void 0:t.t)||(null==t?void 0:t.N)&&t.N.then((()=>{}));else{t.l|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){K(t,t.j=n);break}}l.H&&Object.entries(l.H).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n)=>{let l;if(!(32&t.l)){if(t.l|=32,n.R){const e=(e=>{const t=e.v.replace(/-/g,"_"),n=e.R;if(!n)return;const l=s.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(s.set(n,e),e[t])),o)
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n);if(e&&"then"in e){const t=()=>{};l=await e,t()}else l=e;if(!l)throw Error(`Constructor for "${n.v}#${t.U}" was not found`);l.isProxied||(re(l,n,2),l.isProxied=!0);const r=()=>{};t.l|=8;try{new l(t)}catch(e){o(e)}t.l&=-9,r()}else l=e.constructor,customElements.whenDefined(e.localName).then((()=>t.l|=128));if(l&&l.style){let e;"string"==typeof l.style&&(e=l.style);const t=L(n);if(!r.has(t)){const l=()=>{};((e,t,n)=>{let l=r.get(e);h&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,r.set(e,l)})(t,e,!!(1&n.l)),l()}}}const i=t.j,c=()=>Q(t,!0);i&&i["s-rc"]?i["s-rc"].push(c):c()})(e,t,l)}i()}})(this)))}disconnectedCallback(){a.jmp((()=>(async()=>{if(!(1&a.l)){const e=n(this);e.W&&(e.W.map((e=>e())),e.W=void 0),(null==e?void 0:e.t)||(null==e?void 0:e.N)&&e.N.then((()=>{}))}})()))}componentOnReady(){return n(this).N}};i.R=e[0],d.includes(c)||m.get(c)||(p.push(c),m.define(c,re(u,i,1)))}))})),p.length>0&&(g&&(w.textContent+=i),w.textContent+=p.sort()+"{visibility:hidden}[hydrated]{visibility:inherit}",w.innerHTML.length)){w.setAttribute("data-styles","");const e=null!=(f=a.C)?f:j(u);null!=e&&w.setAttribute("nonce",e),y.insertBefore(w,$?$.nextSibling:y.firstChild)}S=!1,v.length?v.map((e=>e.connectedCallback())):a.jmp((()=>b=setTimeout(le,30)))},ce=(e,t,n)=>{n&&n.map((([n,l,o])=>{const s=ae(e,n),r=ue(t,o),i=fe(n);a.ael(s,l,r,i),(t.W=t.W||[]).push((()=>a.rel(s,l,r,i)))}))},ue=(e,t)=>n=>{var l;try{256&e.l?null==(l=e.t)||l[t](n):(e.k=e.k||[]).push([t,n])}catch(e){o(e)}},ae=(e,t)=>4&t?u:e,fe=e=>({passive:!!(1&e),capture:!!(2&e)}),he=e=>a.C=e;export{H,ie as b,T as g,x as h,f as p,l as r,he as s}
@@ -0,0 +1 @@
1
+ System.register(["./p-580bb30b.system.js"],(function(n){"use strict";var t,e,r,o;return{setters:[function(n){t=n.r;e=n.h;r=n.H;o=n.g}],execute:function(){var a=function(){var n=navigator.userAgent||navigator.vendor||window.opera;return/android|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(n)};function i(n){var t,e,r="";if("string"==typeof n||"number"==typeof n)r+=n;else if("object"==typeof n)if(Array.isArray(n)){var o=n.length;for(t=0;t<o;t++)n[t]&&(e=i(n[t]))&&(r&&(r+=" "),r+=e)}else for(e in n)n[e]&&(r&&(r+=" "),r+=e);return r}function s(){for(var n,t,e=0,r="",o=arguments.length;e<o;e++)(n=arguments[e])&&(t=i(n))&&(r&&(r+=" "),r+=t);return r}var l='@tailwind utilities;\n\n:host {\n\n --mds-table-row-color-hover: var(--mds-table-color-hover, rgb(var(--tone-neutral-02)));\n --mds-table-row-color: var(--mds-table-color, rgb(var(--tone-neutral-03)));\n --mds-table-row-actions-gap: var(--mds-table-actions-gap, 1rem);\n -webkit-transition-duration: 200ms;\n transition-duration: 200ms;\n -webkit-transition-timing-function: cubic-bezier(0, 0, 0.2, 1);\n transition-timing-function: cubic-bezier(0, 0, 0.2, 1);\n\n color: var(--mds-table-row-color);\n display: table-row;\n position: relative;\n -webkit-transition-property: color;\n transition-property: color;\n\n}\n\n.actions-wrapper {\n inset: 0;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-pack: end;\n justify-content: end;\n pointer-events: none;\n position: absolute;\n}\n\n.actions {\n -ms-flex-align: center;\n align-items: center;\n background-color: var(--mds-table-cell-background);\n border-bottom-color: transparent;\n border-bottom-style: solid;\n border-bottom-width: var(--mds-table-border-width);\n border-top-color: var(--mds-table-border-color);\n border-top-style: solid;\n border-top-width: var(--mds-table-border-width);\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n gap: var(--mds-table-row-actions-gap);\n height: 100%;\n margin-top: calc(var(--mds-table-border-width) * -1);\n padding: var(--mds-table-cell-padding);\n pointer-events: auto;\n position: -webkit-sticky;\n position: sticky;\n right: 0;\n -webkit-transform: translateX(100%);\n transform: translateX(100%);\n -webkit-transition-duration: 500ms;\n transition-duration: 500ms;\n -webkit-transition-property: background-color, -webkit-transform;\n transition-property: background-color, -webkit-transform;\n transition-property: transform, background-color;\n transition-property: transform, background-color, -webkit-transform;\n -webkit-transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);\n transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);\n}\n\n.actions-wrapper--mobile {\n position: relative;\n}\n\n.actions-wrapper--mobile .actions {\n position: static;\n -webkit-transform: translateX(0);\n transform: translateX(0);\n}\n\n:host(:hover) .actions {\n -webkit-transform: translateX(0);\n transform: translateX(0);\n}\n\n:host([overlay-actions]:not([overlay-actions="false"])) .actions-wrapper:not(.actions-wrapper--mobile) .actions {\n -webkit-transform: translateX(100%);\n transform: translateX(100%);\n}\n\n:host([interactive]:not([interactive="false"])) .actions {\n --mds-table-cell-background: var(--mds-table-body-background);\n}\n\n:host([interactive]:not([interactive="false"]):hover) .actions {\n --mds-table-cell-background: var(--mds-table-cell-background-hover);\n}\n\n:host([sorted][interactive]:not([interactive="false"])) ::slotted(mds-table-cell[sorted]) {\n\n --mds-table-cell-background: var(--mds-table-cell-background-hover);\n}\n\n:host([sorted][interactive]:not([interactive="false"])) ::slotted(mds-table-cell:not([sorted])) {\n\n --mds-table-cell-background: var(--mds-table-body-background-hover);\n}\n\n:host([interactive]:not([interactive="false"]):hover) {\n\n --mds-table-cell-background: var(--mds-table-cell-background-hover);\n --mds-table-row-color: var(--mds-table-row-color-hover);\n}\n\n\n:host([sorted][interactive]:not([interactive="false"]):hover) ::slotted(mds-table-cell:not([sorted])) {\n\n --mds-table-cell-background: var(--mds-table-cell-background-hover);\n}\n\n:host([sorted]:not([interactive])) ::slotted(mds-table-cell:not([sorted])) {\n\n --mds-table-cell-background: var(--mds-table-body-background-hover);\n}\n\n@container style(--magma-pref-animation: reduce) {\n :host {\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n}\n\n@container style(--magma-pref-animation: system) {\n\n @media (prefers-reduced-motion) {\n :host {\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n }\n}\n\n';var c=l;var d=n("mds_table_row",function(){function n(n){t(this,n);this.interactive=undefined;this.overlayActions=undefined}n.prototype.tableInteractiveHandler=function(n){this.interactive=n.detail};n.prototype.componentWillLoad=function(){this.actions=this.host.querySelector('[slot="action"]')!==null};n.prototype.render=function(){return e(r,{key:"7402ca1cfdaf3e7846dbf29fad4771617c4f0aee",role:"row"},e("slot",{key:"6671fe1e06369e2486157747c41921266553636c"}),this.actions&&e("div",{key:"e58f247b2f1f6c4263c85615209356f212fa727a",class:s("actions-wrapper",a()&&"actions-wrapper--mobile"),role:"cell"},e("div",{key:"1f952cd70074ee64cbef3b96c562cf4d76efd8e7",class:"actions"},e("slot",{key:"7d9eaf9364cd8626a300bddba7c6c9bd449ae773",name:"action"}))))};Object.defineProperty(n.prototype,"host",{get:function(){return o(this)},enumerable:false,configurable:true});return n}());d.style=c}}}));
package/dist/stats.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
- "timestamp": "2024-10-10T10:16:54",
2
+ "timestamp": "2024-12-04T16:25:26",
3
3
  "compiler": {
4
4
  "name": "node",
5
- "version": "20.10.0"
5
+ "version": "22.11.0"
6
6
  },
7
7
  "app": {
8
8
  "namespace": "MdsTableRow",
@@ -17,6 +17,7 @@
17
17
  "generatedFiles": [
18
18
  "./dist/collection/common/aria.js",
19
19
  "./dist/collection/common/date.js",
20
+ "./dist/collection/common/device.js",
20
21
  "./dist/collection/common/file.js",
21
22
  "./dist/collection/common/icon.js",
22
23
  "./dist/collection/common/keyboard-manager.js",
@@ -43,15 +44,14 @@
43
44
  "./dist/collection/dictionary/variant.js",
44
45
  "./dist/collection/fixtures/cities.js",
45
46
  "./dist/collection/fixtures/filenames.js",
46
- "./dist/collection/interface/input-value.js",
47
47
  "./dist/collection/type/autocomplete.js",
48
48
  "./dist/collection/type/button.js",
49
49
  "./dist/collection/type/date.js",
50
50
  "./dist/collection/type/file-types.js",
51
51
  "./dist/collection/type/floating-ui.js",
52
52
  "./dist/collection/type/form-rel.js",
53
+ "./dist/collection/type/header-bar.js",
53
54
  "./dist/collection/type/input.js",
54
- "./dist/collection/type/language.js",
55
55
  "./dist/collection/type/loading.js",
56
56
  "./dist/collection/type/preference.js",
57
57
  "./dist/collection/type/text.js",
@@ -75,19 +75,19 @@
75
75
  "files": 42,
76
76
  "generatedFiles": [
77
77
  "./dist/cjs/app-globals-3a1e7e63.js",
78
- "./dist/cjs/index-97006570.js",
78
+ "./dist/cjs/index-6ff13374.js",
79
79
  "./dist/cjs/index.cjs.js",
80
80
  "./dist/cjs/loader.cjs.js",
81
81
  "./dist/cjs/mds-table-row.cjs.entry.js",
82
82
  "./dist/cjs/mds-table-row.cjs.js",
83
83
  "./dist/esm-es5/app-globals-0f993ce5.js",
84
- "./dist/esm-es5/index-ac4b33c0.js",
84
+ "./dist/esm-es5/index-0a14d3b4.js",
85
85
  "./dist/esm-es5/index.js",
86
86
  "./dist/esm-es5/loader.js",
87
87
  "./dist/esm-es5/mds-table-row.entry.js",
88
88
  "./dist/esm-es5/mds-table-row.js",
89
89
  "./dist/esm/app-globals-0f993ce5.js",
90
- "./dist/esm/index-ac4b33c0.js",
90
+ "./dist/esm/index-0a14d3b4.js",
91
91
  "./dist/esm/index.js",
92
92
  "./dist/esm/loader.js",
93
93
  "./dist/esm/mds-table-row.entry.js",
@@ -97,25 +97,25 @@
97
97
  "./dist/mds-table-row/index.esm.js",
98
98
  "./dist/mds-table-row/mds-table-row.esm.js",
99
99
  "./dist/mds-table-row/mds-table-row.js",
100
- "./dist/mds-table-row/p-0a6d4960.js",
101
- "./dist/mds-table-row/p-11e2454f.system.js",
100
+ "./dist/mds-table-row/p-25a5e94e.system.js",
101
+ "./dist/mds-table-row/p-33796315.entry.js",
102
102
  "./dist/mds-table-row/p-50ea2036.system.js",
103
103
  "./dist/mds-table-row/p-56ba5cbf.system.js",
104
- "./dist/mds-table-row/p-bc92b059.system.js",
105
- "./dist/mds-table-row/p-cb00bcd8.entry.js",
104
+ "./dist/mds-table-row/p-580bb30b.system.js",
105
+ "./dist/mds-table-row/p-60aa058b.js",
106
+ "./dist/mds-table-row/p-cca5599e.system.entry.js",
106
107
  "./dist/mds-table-row/p-e1255160.js",
107
- "./dist/mds-table-row/p-e2d6387e.system.entry.js",
108
108
  "./www/build/index.esm.js",
109
109
  "./www/build/mds-table-row.esm.js",
110
110
  "./www/build/mds-table-row.js",
111
- "./www/build/p-0a6d4960.js",
112
- "./www/build/p-11e2454f.system.js",
111
+ "./www/build/p-25a5e94e.system.js",
112
+ "./www/build/p-33796315.entry.js",
113
113
  "./www/build/p-50ea2036.system.js",
114
114
  "./www/build/p-56ba5cbf.system.js",
115
- "./www/build/p-bc92b059.system.js",
116
- "./www/build/p-cb00bcd8.entry.js",
117
- "./www/build/p-e1255160.js",
118
- "./www/build/p-e2d6387e.system.entry.js"
115
+ "./www/build/p-580bb30b.system.js",
116
+ "./www/build/p-60aa058b.js",
117
+ "./www/build/p-cca5599e.system.entry.js",
118
+ "./www/build/p-e1255160.js"
119
119
  ]
120
120
  },
121
121
  {
@@ -148,12 +148,12 @@
148
148
  "components": [
149
149
  "mds-table-row"
150
150
  ],
151
- "bundleId": "p-cb00bcd8",
152
- "fileName": "p-cb00bcd8.entry.js",
151
+ "bundleId": "p-33796315",
152
+ "fileName": "p-33796315.entry.js",
153
153
  "imports": [
154
- "p-0a6d4960.js"
154
+ "p-60aa058b.js"
155
155
  ],
156
- "originalByteSize": 6199
156
+ "originalByteSize": 5883
157
157
  }
158
158
  ],
159
159
  "esm": [
@@ -165,9 +165,9 @@
165
165
  "bundleId": "mds-table-row",
166
166
  "fileName": "mds-table-row.entry.js",
167
167
  "imports": [
168
- "index-ac4b33c0.js"
168
+ "index-0a14d3b4.js"
169
169
  ],
170
- "originalByteSize": 6203
170
+ "originalByteSize": 5887
171
171
  }
172
172
  ],
173
173
  "es5": [
@@ -179,9 +179,9 @@
179
179
  "bundleId": "mds-table-row",
180
180
  "fileName": "mds-table-row.entry.js",
181
181
  "imports": [
182
- "index-ac4b33c0.js"
182
+ "index-0a14d3b4.js"
183
183
  ],
184
- "originalByteSize": 6203
184
+ "originalByteSize": 5887
185
185
  }
186
186
  ],
187
187
  "system": [
@@ -190,12 +190,12 @@
190
190
  "components": [
191
191
  "mds-table-row"
192
192
  ],
193
- "bundleId": "p-e2d6387e.system",
194
- "fileName": "p-e2d6387e.system.entry.js",
193
+ "bundleId": "p-cca5599e.system",
194
+ "fileName": "p-cca5599e.system.entry.js",
195
195
  "imports": [
196
- "p-bc92b059.system.js"
196
+ "p-580bb30b.system.js"
197
197
  ],
198
- "originalByteSize": 6490
198
+ "originalByteSize": 6480
199
199
  }
200
200
  ],
201
201
  "commonjs": [
@@ -207,9 +207,9 @@
207
207
  "bundleId": "mds-table-row.cjs",
208
208
  "fileName": "mds-table-row.cjs.entry.js",
209
209
  "imports": [
210
- "index-97006570.js"
210
+ "index-6ff13374.js"
211
211
  ],
212
- "originalByteSize": 6273
212
+ "originalByteSize": 5964
213
213
  }
214
214
  ]
215
215
  },
@@ -218,7 +218,7 @@
218
218
  "tag": "mds-table-row",
219
219
  "path": "./src/components/mds-table-row/mds-table-row.js",
220
220
  "source": "./src/components/mds-table-row/mds-table-row.tsx",
221
- "elementRef": null,
221
+ "elementRef": "host",
222
222
  "componentClassName": "MdsTableRow",
223
223
  "assetsDirs": [],
224
224
  "dependencies": [],
@@ -268,6 +268,25 @@
268
268
  "text": ""
269
269
  },
270
270
  "internal": false
271
+ },
272
+ {
273
+ "name": "overlayActions",
274
+ "type": "boolean",
275
+ "attribute": "overlay-actions",
276
+ "reflect": true,
277
+ "mutable": true,
278
+ "required": false,
279
+ "optional": false,
280
+ "complexType": {
281
+ "original": "boolean",
282
+ "resolved": "boolean",
283
+ "references": {}
284
+ },
285
+ "docs": {
286
+ "tags": [],
287
+ "text": ""
288
+ },
289
+ "internal": false
271
290
  }
272
291
  ],
273
292
  "shadowDelegatesFocus": false,
@@ -284,7 +303,7 @@
284
303
  "excludeFromCollection": false,
285
304
  "isCollectionDependency": false,
286
305
  "componentClassName": "MdsTableRow",
287
- "elementRef": null,
306
+ "elementRef": "host",
288
307
  "encapsulation": "shadow",
289
308
  "shadowDelegatesFocus": false,
290
309
  "properties": [
@@ -306,6 +325,25 @@
306
325
  "text": ""
307
326
  },
308
327
  "internal": false
328
+ },
329
+ {
330
+ "name": "overlayActions",
331
+ "type": "boolean",
332
+ "attribute": "overlay-actions",
333
+ "reflect": true,
334
+ "mutable": true,
335
+ "required": false,
336
+ "optional": false,
337
+ "complexType": {
338
+ "original": "boolean",
339
+ "resolved": "boolean",
340
+ "references": {}
341
+ },
342
+ "docs": {
343
+ "tags": [],
344
+ "text": ""
345
+ },
346
+ "internal": false
309
347
  }
310
348
  ],
311
349
  "virtualProperties": [],
@@ -353,7 +391,7 @@
353
391
  "sourceFilePath": "/builds/maggiolispa/ricerca-sviluppo-new-media/magma/design-system/projects/stencil/.build/mds-table-row/src/components/mds-table-row/mds-table-row.tsx",
354
392
  "sourceMapPath": null,
355
393
  "hasAttributeChangedCallbackFn": false,
356
- "hasComponentWillLoadFn": false,
394
+ "hasComponentWillLoadFn": true,
357
395
  "hasComponentDidLoadFn": false,
358
396
  "hasComponentShouldUpdateFn": false,
359
397
  "hasComponentWillUpdateFn": false,
@@ -365,7 +403,7 @@
365
403
  "hasDisconnectedCallbackFn": false,
366
404
  "hasElement": false,
367
405
  "hasEvent": false,
368
- "hasLifecycle": false,
406
+ "hasLifecycle": true,
369
407
  "hasListener": true,
370
408
  "hasListenerTarget": true,
371
409
  "hasListenerTargetWindow": false,
@@ -387,7 +425,7 @@
387
425
  "hasStyle": true,
388
426
  "hasVdomAttribute": true,
389
427
  "hasVdomXlink": false,
390
- "hasVdomClass": false,
428
+ "hasVdomClass": true,
391
429
  "hasVdomFunctional": false,
392
430
  "hasVdomKey": true,
393
431
  "hasVdomListener": false,
@@ -395,15 +433,18 @@
395
433
  "hasVdomRef": false,
396
434
  "hasVdomRender": true,
397
435
  "hasVdomStyle": false,
398
- "hasVdomText": false,
436
+ "hasVdomText": true,
399
437
  "hasWatchCallback": false,
400
438
  "isPlain": false,
401
439
  "htmlAttrNames": [
402
440
  "key",
403
- "role"
441
+ "role",
442
+ "class",
443
+ "name"
404
444
  ],
405
445
  "htmlTagNames": [
406
- "slot"
446
+ "slot",
447
+ "div"
407
448
  ],
408
449
  "htmlParts": [],
409
450
  "isUpdateable": true,
@@ -419,12 +460,13 @@
419
460
  ],
420
461
  "componentGraph": {
421
462
  "sc-mds-table-row": [
422
- "p-0a6d4960.js"
463
+ "p-60aa058b.js"
423
464
  ]
424
465
  },
425
466
  "sourceGraph": {
426
467
  "./src/common/aria.ts": [],
427
468
  "./src/common/date.ts": [],
469
+ "./src/common/device.ts": [],
428
470
  "./src/common/file.ts": [],
429
471
  "./src/common/icon.ts": [],
430
472
  "./src/common/keyboard-manager.ts": [],
@@ -463,15 +505,14 @@
463
505
  "./src/dictionary/variant.ts": [],
464
506
  "./src/fixtures/cities.ts": [],
465
507
  "./src/fixtures/filenames.ts": [],
466
- "./src/interface/input-value.ts": [],
467
508
  "./src/type/autocomplete.ts": [],
468
509
  "./src/type/button.ts": [],
469
510
  "./src/type/date.ts": [],
470
511
  "./src/type/file-types.ts": [],
471
512
  "./src/type/floating-ui.ts": [],
472
513
  "./src/type/form-rel.ts": [],
514
+ "./src/type/header-bar.ts": [],
473
515
  "./src/type/input.ts": [],
474
- "./src/type/language.ts": [],
475
516
  "./src/type/loading.ts": [],
476
517
  "./src/type/preference.ts": [],
477
518
  "./src/type/text.ts": [],
@@ -1,5 +1,7 @@
1
1
  declare const unslugName: (name: string) => string;
2
2
  declare const setAttributeIfEmpty: (element: HTMLElement, attribute: string, value: string) => string;
3
+ declare const removeAttributesIf: (element: HTMLElement, attribute: string, valueCheck: string | undefined, cleanAttributes: string | string[]) => boolean;
4
+ declare const ifAttribute: (element: HTMLElement, attribute: string, valueCheck?: string) => boolean;
3
5
  declare const hashValue: (value: string) => string;
4
6
  declare const hashRandomValue: (value?: string) => string;
5
- export { unslugName, setAttributeIfEmpty, hashRandomValue, hashValue, };
7
+ export { hashRandomValue, hashValue, removeAttributesIf, setAttributeIfEmpty, ifAttribute, unslugName, };
@@ -1,4 +1,4 @@
1
- import { ISO8601Date } from '@type/date';
1
+ import { ISO8601Date } from "../type/date";
2
2
  declare const isISO8601Date: (dateString: string) => boolean;
3
3
  declare const sanitizeISO8601Date: (dateString: string) => ISO8601Date;
4
4
  export { sanitizeISO8601Date, isISO8601Date, };
@@ -0,0 +1,2 @@
1
+ declare const isMobileDevice: () => boolean;
2
+ export { isMobileDevice, };
@@ -1,9 +1,8 @@
1
- import { ExtensionInfo } from '@dictionary/file-extensions';
1
+ import { ExtensionInfo } from "../dictionary/file-extensions";
2
+ import { ThemeFullVariantType } from "../type/variant";
2
3
  interface FileFormatsVariants {
3
- color: string;
4
4
  icon: string;
5
- iconBackground: string;
6
- variant: string;
5
+ variant: ThemeFullVariantType;
7
6
  }
8
7
  declare const getName: (rawFilename: string) => string;
9
8
  declare const getSuffix: (rawFilename: string, suffixOverride?: string) => string;
@@ -9,9 +9,11 @@ export declare class Locale {
9
9
  language: string;
10
10
  config: LocaleConfig;
11
11
  closestElement: HTMLElement;
12
+ element: HTMLElement;
12
13
  constructor(configData?: LocaleConfig);
13
14
  set: (configData: LocaleConfig) => void;
14
- lang: (element: HTMLElement) => string;
15
+ lang: (el: HTMLElement) => string;
16
+ update: (doc?: Document | ShadowRoot) => void;
15
17
  private pluralize;
16
18
  get: (tag: string | string[], context?: Record<string, string | number>) => string;
17
19
  }
@@ -2,7 +2,11 @@
2
2
  * @slot default - Put `mds-table-cell` element/s.
3
3
  */
4
4
  export declare class MdsTableRow {
5
+ host: HTMLMdsTableRowElement;
6
+ private actions;
5
7
  interactive: boolean;
8
+ overlayActions: boolean;
6
9
  tableInteractiveHandler(event: CustomEvent<boolean>): void;
10
+ componentWillLoad(): void;
7
11
  render(): any;
8
12
  }
@@ -8,6 +8,7 @@ import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
8
8
  export namespace Components {
9
9
  interface MdsTableRow {
10
10
  "interactive": boolean;
11
+ "overlayActions": boolean;
11
12
  }
12
13
  }
13
14
  declare global {
@@ -24,6 +25,7 @@ declare global {
24
25
  declare namespace LocalJSX {
25
26
  interface MdsTableRow {
26
27
  "interactive"?: boolean;
28
+ "overlayActions"?: boolean;
27
29
  }
28
30
  interface IntrinsicElements {
29
31
  "mds-table-row": MdsTableRow;
@@ -1,9 +1,10 @@
1
+ import { FileFormat } from "../type/variant-file-format";
1
2
  interface FileExtenstion {
2
3
  [key: string]: ExtensionInfo;
3
4
  }
4
5
  interface ExtensionInfo {
5
6
  preview?: boolean;
6
- format: string;
7
+ format: FileFormat;
7
8
  description: string;
8
9
  }
9
10
  declare const fileExtensionsDictionary: FileExtenstion;
@@ -1,2 +1,4 @@
1
+ declare const typographyTagDictionary: string[];
2
+ declare const typographyHeadingTagDictionary: string[];
1
3
  declare const truncateDictionary: string[];
2
- export { truncateDictionary, };
4
+ export { truncateDictionary, typographyHeadingTagDictionary, typographyTagDictionary, };
@@ -5,8 +5,9 @@ declare const themeFullVariantDictionary: string[];
5
5
  declare const themeFullVariantAvatarDictionary: string[];
6
6
  declare const themeLabelVariantDictionary: string[];
7
7
  declare const toneVariantDictionary: string[];
8
+ declare const themeVariantChipDictionary: string[];
8
9
  declare const toneActionVariantDictionary: string[];
9
10
  declare const toneSimpleVariantDictionary: string[];
10
11
  declare const toneSmartVariantDictionary: string[];
11
12
  declare const toneMinimalVariantDictionary: string[];
12
- export { themeFullVariantAvatarDictionary, themeFullVariantDictionary, themeLabelVariantDictionary, themeLuminanceVariantDictionary, themeStatusVariantDictionary, themeVariantDictionary, toneActionVariantDictionary, toneMinimalVariantDictionary, toneSimpleVariantDictionary, toneSmartVariantDictionary, toneVariantDictionary, };
13
+ export { themeFullVariantAvatarDictionary, themeFullVariantDictionary, themeLabelVariantDictionary, themeLuminanceVariantDictionary, themeStatusVariantDictionary, themeVariantDictionary, themeVariantChipDictionary, toneActionVariantDictionary, toneMinimalVariantDictionary, toneSimpleVariantDictionary, toneSmartVariantDictionary, toneVariantDictionary, };
@@ -1015,6 +1015,8 @@ export declare namespace JSXBase {
1015
1015
  autoPlay?: boolean;
1016
1016
  autoplay?: boolean | string;
1017
1017
  controls?: boolean;
1018
+ controlslist?: 'nodownload' | 'nofullscreen' | 'noremoteplayback';
1019
+ controlsList?: 'nodownload' | 'nofullscreen' | 'noremoteplayback';
1018
1020
  crossOrigin?: string;
1019
1021
  crossorigin?: string;
1020
1022
  loop?: boolean;
@@ -1564,6 +1566,10 @@ export declare namespace JSXBase {
1564
1566
  onSubmitCapture?: (event: Event) => void;
1565
1567
  onInvalid?: (event: Event) => void;
1566
1568
  onInvalidCapture?: (event: Event) => void;
1569
+ onBeforeToggle?: (event: Event) => void;
1570
+ onBeforeToggleCapture?: (event: Event) => void;
1571
+ onToggle?: (event: Event) => void;
1572
+ onToggleCapture?: (event: Event) => void;
1567
1573
  onLoad?: (event: Event) => void;
1568
1574
  onLoadCapture?: (event: Event) => void;
1569
1575
  onError?: (event: Event) => void;
@@ -1,2 +1,2 @@
1
- export type AutocompleteType = 'additional-name' | 'address' | 'address-level1' | 'address-level2' | 'address-level3' | 'address-level4' | 'address-line1' | 'address-line2' | 'address-line3' | 'bday' | 'bday-day' | 'bday-month' | 'bday-year' | 'cc-additional-name' | 'cc-csc' | 'cc-exp' | 'cc-exp-month' | 'cc-exp-year' | 'cc-family-name' | 'cc-family-name' | 'cc-given-name' | 'cc-name' | 'cc-number' | 'cc-type' | 'country' | 'country-name' | 'current-password' | 'email' | 'family-name' | 'given-name' | 'honorific-prefix' | 'honorific-suffix' | 'impp' | 'language' | 'name' | 'new-password' | 'nickname' | 'off' | 'on' | 'one-time-code' | 'organization' | 'organization-title' | 'photo' | 'postal-code' | 'sex' | 'street-address' | 'tel' | 'tel-area-code' | 'tel-country-code' | 'tel-extension' | 'tel-local' | 'tel-national' | 'transaction-amount' | 'transaction-currency' | 'url' | 'username';
1
+ export type AutocompleteType = 'additional-name' | 'address' | 'address-level1' | 'address-level2' | 'address-level3' | 'address-level4' | 'address-line1' | 'address-line2' | 'address-line3' | 'bday' | 'bday-day' | 'bday-month' | 'bday-year' | 'cc-additional-name' | 'cc-csc' | 'cc-exp' | 'cc-exp-month' | 'cc-exp-year' | 'cc-family-name' | 'cc-given-name' | 'cc-name' | 'cc-number' | 'cc-type' | 'country' | 'country-name' | 'current-password' | 'email' | 'family-name' | 'given-name' | 'honorific-prefix' | 'honorific-suffix' | 'impp' | 'language' | 'name' | 'new-password' | 'nickname' | 'off' | 'on' | 'one-time-code' | 'organization' | 'organization-title' | 'photo' | 'postal-code' | 'sex' | 'street-address' | 'tel' | 'tel-area-code' | 'tel-country-code' | 'tel-extension' | 'tel-local' | 'tel-national' | 'transaction-amount' | 'transaction-currency' | 'url' | 'username';
2
2
  export type InputTextType = 'date' | 'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'textarea' | 'time' | 'url';
@@ -2,4 +2,4 @@ export type ButtonType = 'a' | 'button' | 'reset' | 'submit';
2
2
  export type ButtonTargetType = 'self' | 'blank';
3
3
  export type ButtonSizeType = 'sm' | 'md' | 'lg' | 'xl';
4
4
  export type ButtonIconPositionType = 'left' | 'right';
5
- export type ButtonVariantType = 'primary' | 'dark' | 'light' | 'error' | 'info' | 'success' | 'warning';
5
+ export type ButtonVariantType = 'primary' | 'secondary' | 'dark' | 'light' | 'error' | 'info' | 'success' | 'warning';
@@ -0,0 +1,2 @@
1
+ export type HeaderBarMenuType = 'all' | 'desktop' | 'mobile' | 'none';
2
+ export type HeaderBarNavType = 'all' | 'desktop' | 'mobile' | 'none';
@@ -2,3 +2,6 @@ export type InputControlsLayoutType = 'horizontal' | 'vertical';
2
2
  export type InputControlsIconType = 'arrow' | 'arithmetic';
3
3
  export type InputValueType = null | number | string | undefined;
4
4
  export type InputTextType = 'date' | 'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'textarea' | 'time' | 'url';
5
+ export interface MdsInputEventDetail {
6
+ value?: File | string | FormData | null;
7
+ }
@@ -1 +1,3 @@
1
+ export type TypographyTagType = 'abbr' | 'address' | 'article' | 'b' | 'bdo' | 'blockquote' | 'cite' | 'code' | 'dd' | 'del' | 'details' | 'dfn' | 'div' | 'dl' | 'dt' | 'em' | 'figcaption' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'i' | 'ins' | 'kbd' | 'label' | 'legend' | 'li' | 'mark' | 'ol' | 'p' | 'pre' | 'q' | 'rb' | 'rt' | 'ruby' | 's' | 'samp' | 'small' | 'span' | 'strong' | 'sub' | 'summary' | 'sup' | 'time' | 'u' | 'ul' | 'var';
2
+ export type TypographyHeadingTagType = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
1
3
  export type TypographyTruncateType = 'all' | 'none' | 'word';
@@ -1,11 +1,11 @@
1
+ import { ThemeFullVariantType } from "./variant";
2
+ type FileFormat = 'archive' | 'attachment' | 'audio' | 'code' | 'data' | 'document' | 'email' | 'executable' | 'image' | 'markup' | 'slide' | 'spreadsheet' | 'text' | 'vector' | 'video';
1
3
  interface FileFormatVariant {
2
- color: string;
3
4
  icon: string;
4
- iconBackground: string;
5
- variant: string;
5
+ variant: ThemeFullVariantType;
6
6
  }
7
7
  interface FileFormatVariants {
8
8
  [key: string]: FileFormatVariant;
9
9
  }
10
10
  declare const fileFormatsVariant: FileFormatVariants;
11
- export { fileFormatsVariant, FileFormatVariant, FileFormatVariants, };
11
+ export { fileFormatsVariant, FileFormat, FileFormatVariant, FileFormatVariants, };