@maggioli-design-system/mds-table-row 5.1.0 → 5.3.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.
- package/dist/cjs/{index-cb928c36.js → index-27c9aefd.js} +146 -108
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/mds-table-row.cjs.entry.js +2 -2
- package/dist/cjs/mds-table-row.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/common/floating-controller.js +3 -3
- package/dist/collection/common/string.js +30 -0
- package/dist/collection/components/mds-table-row/mds-table-row.css +131 -28
- package/dist/collection/dictionary/keyboard.js +84 -0
- package/dist/collection/type/keyboard.js +1 -0
- package/dist/components/mds-table-row.js +1 -1
- package/dist/documentation.json +2 -2
- package/dist/esm/{index-8134a00a.js → index-81f966aa.js} +146 -108
- package/dist/esm/loader.js +2 -2
- package/dist/esm/mds-table-row.entry.js +2 -2
- package/dist/esm/mds-table-row.js +3 -3
- package/dist/esm-es5/index-81f966aa.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mds-table-row.entry.js +2 -2
- package/dist/esm-es5/mds-table-row.js +1 -1
- package/dist/mds-table-row/mds-table-row.esm.js +1 -1
- package/dist/mds-table-row/mds-table-row.js +1 -1
- package/dist/mds-table-row/p-133f1581.system.js +2 -0
- package/dist/mds-table-row/p-25b773c1.js +2 -0
- package/dist/mds-table-row/p-dea08b0f.system.entry.js +6 -0
- package/dist/mds-table-row/p-e71445fa.system.js +1 -0
- package/dist/mds-table-row/p-f83384f1.entry.js +6 -0
- package/dist/stats.json +38 -33
- package/dist/types/common/string.d.ts +4 -0
- package/dist/types/dictionary/keyboard.d.ts +2 -0
- package/dist/types/type/keyboard.d.ts +12 -0
- package/documentation.json +22 -2
- package/package.json +4 -4
- package/src/common/floating-controller.ts +6 -6
- package/src/common/string.ts +42 -0
- package/src/components/mds-table-row/css/mds-table-row-actions.css +8 -10
- package/src/components/mds-table-row/css/mds-table-row-interactive.css +0 -1
- package/src/components/mds-table-row/css/mds-table-row-pref-animation.css +5 -14
- package/src/components/mds-table-row/css/mds-table-row-selected.css +0 -1
- package/src/components/mds-table-row/css/mds-table-row-sorted.css +0 -2
- package/src/components/mds-table-row/mds-table-row.css +1 -3
- package/src/dictionary/keyboard.ts +87 -0
- package/src/fixtures/icons.json +18 -1
- package/src/meta/keyboard/keys.json +83 -0
- package/src/tailwind/components.css +11 -46
- package/src/tailwind/fouc.css +118 -0
- package/src/tailwind/index.css +4 -0
- package/src/type/keyboard.ts +93 -0
- package/www/build/mds-table-row.esm.js +1 -1
- package/www/build/mds-table-row.js +1 -1
- package/www/build/p-133f1581.system.js +2 -0
- package/www/build/p-25b773c1.js +2 -0
- package/www/build/p-dea08b0f.system.entry.js +6 -0
- package/www/build/p-e71445fa.system.js +1 -0
- package/www/build/p-f83384f1.entry.js +6 -0
- package/dist/esm-es5/index-8134a00a.js +0 -1
- package/dist/mds-table-row/p-11048c96.system.js +0 -1
- package/dist/mds-table-row/p-12e458ac.entry.js +0 -6
- package/dist/mds-table-row/p-22d4881a.js +0 -2
- package/dist/mds-table-row/p-88f814c9.system.js +0 -2
- package/dist/mds-table-row/p-95fc715e.system.entry.js +0 -6
- package/www/build/p-11048c96.system.js +0 -1
- package/www/build/p-12e458ac.entry.js +0 -6
- package/www/build/p-22d4881a.js +0 -2
- package/www/build/p-88f814c9.system.js +0 -2
- package/www/build/p-95fc715e.system.entry.js +0 -6
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
:host(:not(:is([hydrated], .hydrated))) {
|
|
2
|
+
animation-duration: 0s;
|
|
3
|
+
border-color: transparent;
|
|
4
|
+
box-shadow: 0 0 0 transparent;
|
|
5
|
+
opacity: 0;
|
|
6
|
+
outline-color: transparent;
|
|
7
|
+
transition-delay: 0s;
|
|
8
|
+
transition-duration: 0s;
|
|
9
|
+
visibility: hidden;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
/* TODO refact(stencil): Uses only used selector from parent shadowDOM component */
|
|
13
|
+
|
|
14
|
+
mds-accordion:not(:is([hydrated], .hydrated)),
|
|
15
|
+
mds-accordion-item:not(:is([hydrated], .hydrated)),
|
|
16
|
+
mds-accordion-timer:not(:is([hydrated], .hydrated)),
|
|
17
|
+
mds-accordion-timer-item:not(:is([hydrated], .hydrated)),
|
|
18
|
+
mds-author:not(:is([hydrated], .hydrated)),
|
|
19
|
+
mds-avatar:not(:is([hydrated], .hydrated)),
|
|
20
|
+
mds-badge:not(:is([hydrated], .hydrated)),
|
|
21
|
+
mds-banner:not(:is([hydrated], .hydrated)),
|
|
22
|
+
mds-benchmark-bar:not(:is([hydrated], .hydrated)),
|
|
23
|
+
mds-bibliography:not(:is([hydrated], .hydrated)),
|
|
24
|
+
mds-breadcrumb:not(:is([hydrated], .hydrated)),
|
|
25
|
+
mds-breadcrumb-item:not(:is([hydrated], .hydrated)),
|
|
26
|
+
mds-button:not(:is([hydrated], .hydrated)),
|
|
27
|
+
mds-card:not(:is([hydrated], .hydrated)),
|
|
28
|
+
mds-card-content:not(:is([hydrated], .hydrated)),
|
|
29
|
+
mds-card-footer:not(:is([hydrated], .hydrated)),
|
|
30
|
+
mds-card-header:not(:is([hydrated], .hydrated)),
|
|
31
|
+
mds-card-media:not(:is([hydrated], .hydrated)),
|
|
32
|
+
mds-chip:not(:is([hydrated], .hydrated)),
|
|
33
|
+
mds-details:not(:is([hydrated], .hydrated)),
|
|
34
|
+
mds-dropdown:not(:is([hydrated], .hydrated)),
|
|
35
|
+
mds-entity:not(:is([hydrated], .hydrated)),
|
|
36
|
+
mds-file:not(:is([hydrated], .hydrated)),
|
|
37
|
+
mds-file-preview:not(:is([hydrated], .hydrated)),
|
|
38
|
+
mds-filter:not(:is([hydrated], .hydrated)),
|
|
39
|
+
mds-filter-item:not(:is([hydrated], .hydrated)),
|
|
40
|
+
mds-header:not(:is([hydrated], .hydrated)),
|
|
41
|
+
mds-header-bar:not(:is([hydrated], .hydrated)),
|
|
42
|
+
mds-help:not(:is([hydrated], .hydrated)),
|
|
43
|
+
mds-horizontal-scroll:not(:is([hydrated], .hydrated)),
|
|
44
|
+
mds-hr:not(:is([hydrated], .hydrated)),
|
|
45
|
+
mds-icon:not(:is([hydrated], .hydrated)),
|
|
46
|
+
mds-img:not(:is([hydrated], .hydrated)),
|
|
47
|
+
mds-input:not(:is([hydrated], .hydrated)),
|
|
48
|
+
mds-input-field:not(:is([hydrated], .hydrated)),
|
|
49
|
+
mds-input-range:not(:is([hydrated], .hydrated)),
|
|
50
|
+
mds-input-select:not(:is([hydrated], .hydrated)),
|
|
51
|
+
mds-input-switch:not(:is([hydrated], .hydrated)),
|
|
52
|
+
mds-input-tip:not(:is([hydrated], .hydrated)),
|
|
53
|
+
mds-input-tip-item:not(:is([hydrated], .hydrated)),
|
|
54
|
+
mds-input-upload:not(:is([hydrated], .hydrated)),
|
|
55
|
+
mds-keyboard:not(:is([hydrated], .hydrated)),
|
|
56
|
+
mds-keyboard-key:not(:is([hydrated], .hydrated)),
|
|
57
|
+
mds-kpi:not(:is([hydrated], .hydrated)),
|
|
58
|
+
mds-kpi-item:not(:is([hydrated], .hydrated)),
|
|
59
|
+
mds-label:not(:is([hydrated], .hydrated)),
|
|
60
|
+
mds-list:not(:is([hydrated], .hydrated)),
|
|
61
|
+
mds-list-item:not(:is([hydrated], .hydrated)),
|
|
62
|
+
mds-modal:not(:is([hydrated], .hydrated)),
|
|
63
|
+
mds-note:not(:is([hydrated], .hydrated)),
|
|
64
|
+
mds-notification:not(:is([hydrated], .hydrated)),
|
|
65
|
+
mds-paginator:not(:is([hydrated], .hydrated)),
|
|
66
|
+
mds-paginator-item:not(:is([hydrated], .hydrated)),
|
|
67
|
+
mds-pref:not(:is([hydrated], .hydrated)),
|
|
68
|
+
mds-pref-animation:not(:is([hydrated], .hydrated)),
|
|
69
|
+
mds-pref-consumption:not(:is([hydrated], .hydrated)),
|
|
70
|
+
mds-pref-contrast:not(:is([hydrated], .hydrated)),
|
|
71
|
+
mds-pref-language:not(:is([hydrated], .hydrated)),
|
|
72
|
+
mds-pref-language-item:not(:is([hydrated], .hydrated)),
|
|
73
|
+
mds-pref-theme:not(:is([hydrated], .hydrated)),
|
|
74
|
+
mds-price-table:not(:is([hydrated], .hydrated)),
|
|
75
|
+
mds-price-table-features:not(:is([hydrated], .hydrated)),
|
|
76
|
+
mds-price-table-features-cell:not(:is([hydrated], .hydrated)),
|
|
77
|
+
mds-price-table-features-row:not(:is([hydrated], .hydrated)),
|
|
78
|
+
mds-price-table-header:not(:is([hydrated], .hydrated)),
|
|
79
|
+
mds-price-table-list:not(:is([hydrated], .hydrated)),
|
|
80
|
+
mds-price-table-list-item:not(:is([hydrated], .hydrated)),
|
|
81
|
+
mds-progress:not(:is([hydrated], .hydrated)),
|
|
82
|
+
mds-push-notification:not(:is([hydrated], .hydrated)),
|
|
83
|
+
mds-push-notifications:not(:is([hydrated], .hydrated)),
|
|
84
|
+
mds-quote:not(:is([hydrated], .hydrated)),
|
|
85
|
+
mds-separator:not(:is([hydrated], .hydrated)),
|
|
86
|
+
mds-spinner:not(:is([hydrated], .hydrated)),
|
|
87
|
+
mds-stepper-bar:not(:is([hydrated], .hydrated)),
|
|
88
|
+
mds-stepper-bar-item:not(:is([hydrated], .hydrated)),
|
|
89
|
+
mds-tab:not(:is([hydrated], .hydrated)),
|
|
90
|
+
mds-tab-bar:not(:is([hydrated], .hydrated)),
|
|
91
|
+
mds-tab-bar-item:not(:is([hydrated], .hydrated)),
|
|
92
|
+
mds-tab-item:not(:is([hydrated], .hydrated)),
|
|
93
|
+
mds-table:not(:is([hydrated], .hydrated)),
|
|
94
|
+
mds-table-body:not(:is([hydrated], .hydrated)),
|
|
95
|
+
mds-table-cell:not(:is([hydrated], .hydrated)),
|
|
96
|
+
mds-table-footer:not(:is([hydrated], .hydrated)),
|
|
97
|
+
mds-table-header:not(:is([hydrated], .hydrated)),
|
|
98
|
+
mds-table-header-cell:not(:is([hydrated], .hydrated)),
|
|
99
|
+
mds-table-row:not(:is([hydrated], .hydrated)),
|
|
100
|
+
mds-text:not(:is([hydrated], .hydrated)),
|
|
101
|
+
mds-toast:not(:is([hydrated], .hydrated)),
|
|
102
|
+
mds-tooltip:not(:is([hydrated], .hydrated)),
|
|
103
|
+
mds-tree:not(:is([hydrated], .hydrated)),
|
|
104
|
+
mds-tree-item:not(:is([hydrated], .hydrated)),
|
|
105
|
+
mds-url-view:not(:is([hydrated], .hydrated)),
|
|
106
|
+
mds-usage:not(:is([hydrated], .hydrated)),
|
|
107
|
+
mds-video-wall:not(:is([hydrated], .hydrated)),
|
|
108
|
+
mds-zero:not(:is([hydrated], .hydrated))
|
|
109
|
+
{
|
|
110
|
+
animation-duration: 0s;
|
|
111
|
+
border-color: transparent;
|
|
112
|
+
box-shadow: 0 0 0 transparent;
|
|
113
|
+
opacity: 0;
|
|
114
|
+
outline-color: transparent;
|
|
115
|
+
transition-delay: 0s;
|
|
116
|
+
transition-duration: 0s;
|
|
117
|
+
visibility: hidden;
|
|
118
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
export type KeyboardKeyData = {
|
|
2
|
+
alias: string
|
|
3
|
+
description: string
|
|
4
|
+
group: string
|
|
5
|
+
keyCodes: string[]
|
|
6
|
+
keyboardPosition?: { left?: boolean; right?: boolean }
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export type KeyboardKeyName =
|
|
10
|
+
| '0'
|
|
11
|
+
| '1'
|
|
12
|
+
| '2'
|
|
13
|
+
| '3'
|
|
14
|
+
| '4'
|
|
15
|
+
| '5'
|
|
16
|
+
| '6'
|
|
17
|
+
| '7'
|
|
18
|
+
| '8'
|
|
19
|
+
| '9'
|
|
20
|
+
| 'a'
|
|
21
|
+
| 'alt'
|
|
22
|
+
| 'altleft'
|
|
23
|
+
| 'altright'
|
|
24
|
+
| 'arrowdown'
|
|
25
|
+
| 'arrowleft'
|
|
26
|
+
| 'arrowright'
|
|
27
|
+
| 'arrowup'
|
|
28
|
+
| 'b'
|
|
29
|
+
| 'backspace'
|
|
30
|
+
| 'c'
|
|
31
|
+
| 'capslock'
|
|
32
|
+
| 'command'
|
|
33
|
+
| 'commandleft'
|
|
34
|
+
| 'commandright'
|
|
35
|
+
| 'control'
|
|
36
|
+
| 'controlleft'
|
|
37
|
+
| 'controlright'
|
|
38
|
+
| 'd'
|
|
39
|
+
| 'delete'
|
|
40
|
+
| 'e'
|
|
41
|
+
| 'end'
|
|
42
|
+
| 'enter'
|
|
43
|
+
| 'escape'
|
|
44
|
+
| 'f'
|
|
45
|
+
| 'f1'
|
|
46
|
+
| 'f10'
|
|
47
|
+
| 'f11'
|
|
48
|
+
| 'f12'
|
|
49
|
+
| 'f2'
|
|
50
|
+
| 'f3'
|
|
51
|
+
| 'f4'
|
|
52
|
+
| 'f5'
|
|
53
|
+
| 'f6'
|
|
54
|
+
| 'f7'
|
|
55
|
+
| 'f8'
|
|
56
|
+
| 'f9'
|
|
57
|
+
| 'g'
|
|
58
|
+
| 'h'
|
|
59
|
+
| 'home'
|
|
60
|
+
| 'i'
|
|
61
|
+
| 'j'
|
|
62
|
+
| 'k'
|
|
63
|
+
| 'l'
|
|
64
|
+
| 'm'
|
|
65
|
+
| 'n'
|
|
66
|
+
| 'o'
|
|
67
|
+
| 'option'
|
|
68
|
+
| 'optionleft'
|
|
69
|
+
| 'optionright'
|
|
70
|
+
| 'p'
|
|
71
|
+
| 'pagedown'
|
|
72
|
+
| 'pageup'
|
|
73
|
+
| 'q'
|
|
74
|
+
| 'r'
|
|
75
|
+
| 's'
|
|
76
|
+
| 'shift'
|
|
77
|
+
| 'shiftleft'
|
|
78
|
+
| 'shiftright'
|
|
79
|
+
| 'space'
|
|
80
|
+
| 't'
|
|
81
|
+
| 'tab'
|
|
82
|
+
| 'u'
|
|
83
|
+
| 'v'
|
|
84
|
+
| 'w'
|
|
85
|
+
| 'windows'
|
|
86
|
+
| 'windowsleft'
|
|
87
|
+
| 'windowsright'
|
|
88
|
+
| 'x'
|
|
89
|
+
| 'y'
|
|
90
|
+
| 'z'
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
export type KeyboardKeyMap = Record<KeyboardKeyName, KeyboardKeyData>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as
|
|
1
|
+
import{p as e,b as a}from"./p-25b773c1.js";export{s as setNonce}from"./p-25b773c1.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-f83384f1",[[1,"mds-table-row",{interactive:[516],overlayActions:[516,"overlay-actions"],selectable:[516],selected:[1540],value:[520],language:[32],updateLang:[64]}]]]],e))));
|
|
@@ -115,7 +115,7 @@ DOMTokenList
|
|
|
115
115
|
var resourcesUrl = scriptElm ? scriptElm.getAttribute('data-resources-url') || scriptElm.src : '';
|
|
116
116
|
var start = function() {
|
|
117
117
|
// if src is not present then origin is "null", and new URL() throws TypeError: Failed to construct 'URL': Invalid base URL
|
|
118
|
-
var url = new URL('./p-
|
|
118
|
+
var url = new URL('./p-e71445fa.system.js', new URL(resourcesUrl, window.location.origin !== 'null' ? window.location.origin : undefined));
|
|
119
119
|
System.import(url.href);
|
|
120
120
|
};
|
|
121
121
|
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var __extends=this&&this.__extends||function(){var e=function(r,n){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var n in r)if(Object.prototype.hasOwnProperty.call(r,n))e[n]=r[n]};return e(r,n)};return function(r,n){if(typeof n!=="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(r,n);function t(){this.constructor=r}r.prototype=n===null?Object.create(n):(t.prototype=n.prototype,new t)}}();var __awaiter=this&&this.__awaiter||function(e,r,n,t){function i(e){return e instanceof n?e:new n((function(r){r(e)}))}return new(n||(n=Promise))((function(n,a){function o(e){try{f(t.next(e))}catch(e){a(e)}}function u(e){try{f(t["throw"](e))}catch(e){a(e)}}function f(e){e.done?n(e.value):i(e.value).then(o,u)}f((t=t.apply(e,r||[])).next())}))};var __generator=this&&this.__generator||function(e,r){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},t,i,a,o;return o={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function u(e){return function(r){return f([e,r])}}function f(u){if(t)throw new TypeError("Generator is already executing.");while(o&&(o=0,u[0]&&(n=0)),n)try{if(t=1,i&&(a=u[0]&2?i["return"]:u[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,u[1])).done)return a;if(i=0,a)u=[u[0]&2,a.value];switch(u[0]){case 0:case 1:a=u;break;case 4:n.label++;return{value:u[1],done:false};case 5:n.label++;i=u[1];u=[0];continue;case 7:u=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){n.label=u[1];break}if(u[0]===6&&n.label<a[1]){n.label=a[1];a=u;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(u);break}if(a[2])n.ops.pop();n.trys.pop();continue}u=r.call(e,n)}catch(e){u=[6,e];i=0}finally{t=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,r,n){if(n||arguments.length===2)for(var t=0,i=r.length,a;t<i;t++){if(a||!(t in r)){if(!a)a=Array.prototype.slice.call(r,0,t);a[t]=r[t]}}return e.concat(a||Array.prototype.slice.call(r))};System.register([],(function(e,r){"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,constructableCSS:true,cssAnnotations:true,devTools:false,element:false,event:false,experimentalScopedSlotChanges:false,experimentalSlotFixes:false,formAssociated:false,hasRenderFn:true,hostListener:false,hostListenerTarget:false,hostListenerTargetBody:false,hostListenerTargetDocument:false,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:true,mode:false,modernPropertyDecls: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:true,style:true,svg:false,taskQueue:true,transformTagName:false,updatable:true,vdomAttribute:true,vdomClass:true,vdomFunctional:false,vdomKey:true,vdomListener:true,vdomPropOrAttr:true,vdomRef:false,vdomRender:true,vdomStyle:true,vdomText:true,vdomXlink:false,watchCallback:false};var a=Object.defineProperty;var o=function(e,r){for(var n in r)a(e,n,{get:r[n],enumerable:true})};var u=function(e){if(e.__stencil__getHostRef){return e.__stencil__getHostRef()}return void 0};var f=e("r",(function(e,r){e.__stencil__getHostRef=function(){return r};r.t=e}));var l=function(e,r){var n={i:0,$hostElement$:e,o:r,u:new Map};{n.l=new Promise((function(e){return n.v=e}))}{n.h=new Promise((function(e){return n.p=e}));e["s-p"]=[];e["s-rc"]=[]}var t=n;e.__stencil__getHostRef=function(){return t};return t};var s=function(e,r){return r in e};var v=function(e,r){return(0,console.error)(e,r)};var c=new Map;var d=function(e,n,t){var i=e.m.replace(/-/g,"_");var a=e.S;if(!a){return void 0}var o=c.get(a);if(o){return o[i]}
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/return r.import("./".concat(a,".entry.js").concat("")).then((function(e){{c.set(a,e)}return e[i]}),(function(e){v(e,n.$hostElement$)}))};var h=new Map;var p="sty-id";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={i:0,_:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,r,n,t){return e.addEventListener(r,n,t)},rel:function(e,r,n,t){return e.removeEventListener(r,n,t)},ce:function(e,r){return new CustomEvent(e,r)}};var S=e("p",(function(e){return Promise.resolve(e)}));var g=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(e){}return false}();var _=false;var $=[];var j=[];var k=function(e,r){return function(n){e.push(n);if(!_){_=true;if(r&&b.i&4){C(A)}else{b.raf(A)}}}};var O=function(e){for(var r=0;r<e.length;r++){try{e[r](performance.now())}catch(e){v(e)}}e.length=0};var A=function(){O($);{O(j);if(_=$.length>0){b.raf(A)}}};var C=function(e){return S().then(e)};var x=k(j,true);var E=function(e){e=typeof e;return e==="object"||e==="function"};function T(e){var r,n,t;return(t=(n=(r=e.head)==null?void 0:r.querySelector('meta[name="csp-nonce"]'))==null?void 0:n.getAttribute("content"))!=null?t:void 0}var D={};o(D,{err:function(){return P},map:function(){return L},ok:function(){return M},unwrap:function(){return F},unwrapErr:function(){return N}});var M=function(e){return{isOk:true,isErr:false,value:e}};var P=function(e){return{isOk:false,isErr:true,value:e}};function L(e,r){if(e.isOk){var n=r(e.value);if(n instanceof Promise){return n.then((function(e){return M(e)}))}else{return M(n)}}if(e.isErr){var t=e.value;return P(t)}throw"should never get here"}var F=function(e){if(e.isOk){return e.value}else{throw e.value}};var N=function(e){if(e.isErr){return e.value}else{throw e.value}};var R=function(e,r){if(r===void 0){r=""}{return function(){return}}};var U=function(e,r){{return function(){return}}};var W=e("h",(function(e,r){var n=[];for(var t=2;t<arguments.length;t++){n[t-2]=arguments[t]}var i=null;var a=null;var o=false;var u=false;var f=[];var l=function(r){for(var n=0;n<r.length;n++){i=r[n];if(Array.isArray(i)){l(i)}else if(i!=null&&typeof i!=="boolean"){if(o=typeof e!=="function"&&!E(i)){i=String(i)}if(o&&u){f[f.length-1].$+=i}else{f.push(o?z(null,i):i)}u=o}}};l(n);if(r){if(r.key){a=r.key}{var s=r.className||r.class;if(s){r.class=typeof s!=="object"?s:Object.keys(s).filter((function(e){return s[e]})).join(" ")}}}var v=z(e,null);v.j=r;if(f.length>0){v.k=f}{v.O=a}return v}));var z=function(e,r){var n={i:0,A:e,$:r,C:null,k:null};{n.j=null}{n.O=null}return n};var H=e("H",{});var B=function(e){return e&&e.A===H};var G=function(e,r){if(e!=null&&!E(e)){if(r&4){return e==="false"?false:e===""||!!e}return e}return e};var I=e("g",(function(e){return u(e).$hostElement$}));var Q=function(e,r,n){var t=b.ce(r,n);e.dispatchEvent(t);return t};var V=new WeakMap;var q=function(e,r,n){var t=h.get(e);if(g&&n){t=t||new CSSStyleSheet;if(typeof t==="string"){t=r}else{t.replaceSync(r)}}else{t=r}h.set(e,t)};var K=function(e,r,n){var t;var i=Y(r);var a=h.get(i);if(!w.document){return i}e=e.nodeType===11?e:w.document;if(a){if(typeof a==="string"){e=e.head||e;var o=V.get(e);var u=void 0;if(!o){V.set(e,o=new Set)}if(!o.has(i)){{u=document.querySelector("[".concat(p,'="').concat(i,'"]'))||w.document.createElement("style");u.innerHTML=a;var f=(t=b.T)!=null?t:T(w.document);if(f!=null){u.setAttribute("nonce",f)}if(!(r.i&1)){if(e.nodeName==="HEAD"){var l=e.querySelectorAll("link[rel=preconnect]");var s=l.length>0?l[l.length-1].nextSibling:e.querySelector("style");e.insertBefore(u,(s==null?void 0:s.parentNode)===e?s:null)}else if("host"in e){if(g){var v=new CSSStyleSheet;v.replaceSync(a);e.adoptedStyleSheets=__spreadArray([v],e.adoptedStyleSheets,true)}else{var c=e.querySelector("style");if(c){c.innerHTML=a+c.innerHTML}else{e.prepend(u)}}}else{e.append(u)}}if(r.i&1){e.insertBefore(u,null)}}if(r.i&4){u.innerHTML+=y}if(o){o.add(i)}}}else if(!e.adoptedStyleSheets.includes(a)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets,true),[a],false)}}return i};var X=function(e){var r=e.o;var n=e.$hostElement$;var t=r.i;var i=R("attachStyles",r.m);var a=K(n.shadowRoot?n.shadowRoot:n.getRootNode(),r);if(t&10&&t&2||t&128){n["s-sc"]=a;n.classList.add(a+"-h")}i()};var Y=function(e,r){return"sc-"+e.m};var J=function(e,r,n,t,i,a,o){if(n===t){return}var u=s(e,r);var f=r.toLowerCase();if(r==="class"){var l=e.classList;var v=ee(n);var c=ee(t);{l.remove.apply(l,v.filter((function(e){return e&&!c.includes(e)})));l.add.apply(l,c.filter((function(e){return e&&!v.includes(e)})))}}else if(r==="style"){{for(var d in n){if(!t||t[d]==null){if(d.includes("-")){e.style.removeProperty(d)}else{e.style[d]=""}}}}for(var d in t){if(!n||t[d]!==n[d]){if(d.includes("-")){e.style.setProperty(d,t[d])}else{e.style[d]=t[d]}}}}else if(r==="key");else if(!u&&r[0]==="o"&&r[1]==="n"){if(r[2]==="-"){r=r.slice(3)}else if(s(w,f)){r=f.slice(2)}else{r=f[2]+r.slice(3)}if(n||t){var h=r.endsWith(re);r=r.replace(ne,"");if(n){b.rel(e,r,n,h)}if(t){b.ael(e,r,t,h)}}}else{var p=E(t);if((u||p&&t!==null)&&!i){try{if(!e.tagName.includes("-")){var m=t==null?"":t;if(r==="list"){u=false}else if(n==null||e[r]!=m){if(typeof e.__lookupSetter__(r)==="function"){e[r]=m}else{e.setAttribute(r,m)}}}else if(e[r]!==t){e[r]=t}}catch(e){}}if(t==null||t===false){if(t!==false||e.getAttribute(r)===""){{e.removeAttribute(r)}}}else if((!u||a&4||i)&&!p&&e.nodeType===1){t=t===true?"":t;{e.setAttribute(r,t)}}}};var Z=/\s/;var ee=function(e){if(typeof e==="object"&&e&&"baseVal"in e){e=e.baseVal}if(!e||typeof e!=="string"){return[]}return e.split(Z)};var re="Capture";var ne=new RegExp(re+"$");var te=function(e,r,n,t){var i=r.C.nodeType===11&&r.C.host?r.C.host:r.C;var a=e&&e.j||{};var o=r.j||{};{for(var u=0,f=ie(Object.keys(a));u<f.length;u++){var l=f[u];if(!(l in o)){J(i,l,a[l],void 0,n,r.i)}}}for(var s=0,v=ie(Object.keys(o));s<v.length;s++){var l=v[s];J(i,l,a[l],o[l],n,r.i)}};function ie(e){return e.includes("ref")?__spreadArray(__spreadArray([],e.filter((function(e){return e!=="ref"})),true),["ref"],false):e}var ae;var oe=false;var ue=false;var fe=function(e,r,n){var t=r.k[n];var a=0;var o;var u;if(t.$!==null){o=t.C=w.document.createTextNode(t.$)}else{if(!w.document){throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component.")}o=t.C=w.document.createElement(!oe&&i.slotRelocation&&t.i&2?"slot-fb":t.A);{te(null,t,ue)}if(t.k){for(a=0;a<t.k.length;++a){u=fe(e,t,a);if(u){o.appendChild(u)}}}}o["s-hn"]=ae;return o};var le=function(e,r,n,t,i,a){var o=e;var u;if(o.shadowRoot&&o.tagName===ae){o=o.shadowRoot}for(;i<=a;++i){if(t[i]){u=fe(null,n,i);if(u){t[i].C=u;he(o,u,r)}}}};var se=function(e,r,n){for(var t=r;t<=n;++t){var i=e[t];if(i){var a=i.C;if(a){a.remove()}}}};var ve=function(e,r,n,t,i){if(i===void 0){i=false}var a=0;var o=0;var u=0;var f=0;var l=r.length-1;var s=r[0];var v=r[l];var c=t.length-1;var d=t[0];var h=t[c];var p;var m;while(a<=l&&o<=c){if(s==null){s=r[++a]}else if(v==null){v=r[--l]}else if(d==null){d=t[++o]}else if(h==null){h=t[--c]}else if(ce(s,d,i)){de(s,d,i);s=r[++a];d=t[++o]}else if(ce(v,h,i)){de(v,h,i);v=r[--l];h=t[--c]}else if(ce(s,h,i)){de(s,h,i);he(e,s.C,v.C.nextSibling);s=r[++a];h=t[--c]}else if(ce(v,d,i)){de(v,d,i);he(e,v.C,s.C);v=r[--l];d=t[++o]}else{u=-1;{for(f=a;f<=l;++f){if(r[f]&&r[f].O!==null&&r[f].O===d.O){u=f;break}}}if(u>=0){m=r[u];if(m.A!==d.A){p=fe(r&&r[o],n,u)}else{de(m,d,i);r[u]=void 0;p=m.C}d=t[++o]}else{p=fe(r&&r[o],n,o);d=t[++o]}if(p){{he(s.C.parentNode,p,s.C)}}}}if(a>l){le(e,t[c+1]==null?null:t[c+1].C,n,t,o,c)}else if(o>c){se(r,a,l)}};var ce=function(e,r,n){if(n===void 0){n=false}if(e.A===r.A){if(!n){return e.O===r.O}if(n&&!e.O&&r.O){e.O=r.O}return true}return false};var de=function(e,r,n){if(n===void 0){n=false}var t=r.C=e.C;var a=e.k;var o=r.k;var u=r.$;if(u===null){{te(e,r,ue)}if(a!==null&&o!==null){ve(t,a,r,o,n)}else if(o!==null){if(e.$!==null){t.textContent=""}le(t,null,r,o,0,o.length-1)}else if(!n&&i.updatable&&a!==null){se(a,0,a.length-1)}}else if(e.$!==u){t.data=u}};var he=function(e,r,n){{return e==null?void 0:e.insertBefore(r,n)}};var pe=function(e,r,n){if(n===void 0){n=false}var t=e.$hostElement$;var i=e.o;var a=e.D||z(null,null);var o=B(r)?r:W(null,null,r);ae=t.tagName;if(i.M){o.j=o.j||{};i.M.map((function(e){var r=e[0],n=e[1];return o.j[n]=t[r]}))}if(n&&o.j){for(var u=0,f=Object.keys(o.j);u<f.length;u++){var l=f[u];if(t.hasAttribute(l)&&!["key","ref","style","class"].includes(l)){o.j[l]=t[l]}}}o.A=null;o.i|=4;e.D=o;o.C=a.C=t.shadowRoot||t;oe=!!(i.i&1)&&!(i.i&128);de(a,o,n)};var me=function(e,r){if(r&&!e.P&&r["s-p"]){var n=r["s-p"].push(new Promise((function(t){return e.P=function(){r["s-p"].splice(n-1,1);t()}})))}};var ye=function(e,r){{e.i|=16}if(e.i&4){e.i|=512;return}me(e,e.L);var n=function(){return we(e,r)};return x(n)};var we=function(e,r){var n=e.$hostElement$;var t=R("scheduleUpdate",e.o.m);var i=e.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(r){a=ke(i,"componentWillLoad",void 0,n)}else{a=ke(i,"componentWillUpdate",void 0,n)}a=be(a,(function(){return ke(i,"componentWillRender",void 0,n)}));t();return be(a,(function(){return ge(e,i,r)}))};var be=function(e,r){return Se(e)?e.then(r).catch((function(e){console.error(e);r()})):r()};var Se=function(e){return e instanceof Promise||e&&e.then&&typeof e.then==="function"};var ge=function(e,r,t){return __awaiter(n,void 0,void 0,(function(){var n,i,a,o,u,f,l;return __generator(this,(function(s){i=e.$hostElement$;a=R("update",e.o.m);o=i["s-rc"];if(t){X(e)}u=R("render",e.o.m);{_e(e,r,i,t)}if(o){o.map((function(e){return e()}));i["s-rc"]=void 0}u();a();{f=(n=i["s-p"])!=null?n:[];l=function(){return $e(e)};if(f.length===0){l()}else{Promise.all(f).then(l);e.i|=4;f.length=0}}return[2]}))}))};var _e=function(e,r,n,t){try{r=r.render();{e.i&=~16}{e.i|=2}{{{pe(e,r,t)}}}}catch(r){v(r,e.$hostElement$)}return null};var $e=function(e){var r=e.o.m;var n=e.$hostElement$;var t=R("postUpdate",r);var i=e.t;var a=e.L;ke(i,"componentDidRender",void 0,n);if(!(e.i&64)){e.i|=64;{Oe(n)}ke(i,"componentDidLoad",void 0,n);t();{e.p(n);if(!a){je()}}}else{ke(i,"componentDidUpdate",void 0,n);t()}{e.v(n)}{if(e.P){e.P();e.P=void 0}if(e.i&512){C((function(){return ye(e,false)}))}e.i&=~(4|512)}};var je=function(e){C((function(){return Q(w,"appload",{detail:{namespace:t}})}))};var ke=function(e,r,n,t){if(e&&e[r]){try{return e[r](n)}catch(e){v(e,t)}}return void 0};var Oe=function(e){var r;return e.setAttribute((r=i.hydratedSelectorName)!=null?r:"hydrated","")};var Ae=function(e,r){return u(e).u.get(r)};var Ce=function(e,r,n,t){var i=u(e);if(!i){throw new Error("Couldn't find host element for \"".concat(t.m,'" 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/stenciljs/core/issues/5457).'))}var a=i.u.get(r);var o=i.i;var f=i.t;n=G(n,t.F[r][0]);var l=Number.isNaN(a)&&Number.isNaN(n);var s=n!==a&&!l;if((!(o&8)||a===void 0)&&s){i.u.set(r,n);if(f){if((o&(2|16))===2){if(f.componentShouldUpdate){if(f.componentShouldUpdate(n,a,r)===false){return}}ye(i,false)}}}};var xe=function(e,r,n){var t,a;var o=e.prototype;if(r.F||i.watchCallback){var f=Object.entries((t=r.F)!=null?t:{});f.map((function(e){var t=e[0],i=e[1][0];if(i&31||n&2&&i&32){var a=Object.getOwnPropertyDescriptor(o,t)||{},f=a.get,l=a.set;if(f)r.F[t][0]|=2048;if(l)r.F[t][0]|=4096;if(n&1||!f){Object.defineProperty(o,t,{get:function(){{if((r.F[t][0]&2048)===0){return Ae(this,t)}var e=u(this);var n=e?e.t:o;if(!n)return;return n[t]}},configurable:true,enumerable:true})}Object.defineProperty(o,t,{set:function(e){var a=this;var o=u(this);if(l){var f=i&32?this[t]:o.$hostElement$[t];if(typeof f==="undefined"&&o.u.get(t)){e=o.u.get(t)}else if(!o.u.get(t)&&f){o.u.set(t,f)}l.apply(this,[G(e,i)]);e=i&32?this[t]:o.$hostElement$[t];Ce(this,t,e,r);return}{if((n&1)===0||(r.F[t][0]&4096)===0){Ce(this,t,e,r);if(n&1&&!o.t){o.h.then((function(){if(r.F[t][0]&4096&&o.t[t]!==o.u.get(t)){o.t[t]=e}}))}return}var s=function(){var n=o.t[t];if(!o.u.get(t)&&n){o.u.set(t,n)}o.t[t]=G(e,i);Ce(a,t,o.t[t],r)};if(o.t){s()}else{o.h.then((function(){return s()}))}}}})}else if(n&1&&i&64){Object.defineProperty(o,t,{value:function(){var e=[];for(var r=0;r<arguments.length;r++){e[r]=arguments[r]}var n;var i=u(this);return(n=i==null?void 0:i.l)==null?void 0:n.then((function(){var r;return(r=i.t)==null?void 0:r[t].apply(r,e)}))}})}}));if(n&1){var l=new Map;o.attributeChangedCallback=function(e,n,t){var a=this;b.jmp((function(){var f;var s=l.get(e);if(a.hasOwnProperty(s)&&i.lazyLoad){t=a[s];delete a[s]}else if(o.hasOwnProperty(s)&&typeof a[s]==="number"&&a[s]==t){return}else if(s==null){var v=u(a);var c=v==null?void 0:v.i;if(c&&!(c&8)&&c&128&&t!==n){var d=v.t;var h=(f=r.N)==null?void 0:f[e];h==null?void 0:h.forEach((function(r){if(d[r]!=null){d[r].call(d,t,n,e)}}))}return}var p=Object.getOwnPropertyDescriptor(o,s);t=t===null&&typeof a[s]==="boolean"?false:t;if(t!==a[s]&&(!p.get||!!p.set)){a[s]=t}}))};e.observedAttributes=Array.from(new Set(__spreadArray(__spreadArray([],Object.keys((a=r.N)!=null?a:{}),true),f.filter((function(e){var r=e[0],n=e[1];return n[0]&15})).map((function(e){var n=e[0],t=e[1];var i;var a=t[1]||n;l.set(a,n);if(t[0]&512){(i=r.M)==null?void 0:i.push([n,a])}return a})),true)))}}return e};var Ee=function(e,r,t,i){return __awaiter(n,void 0,void 0,(function(){var n,i,a,o,u,f,l,s,c,p,m;return __generator(this,(function(y){switch(y.label){case 0:if(!((r.i&32)===0))return[3,6];r.i|=32;i=t.S;if(!i)return[3,4];a=d(t,r);if(!(a&&"then"in a))return[3,2];o=U();return[4,a];case 1:n=y.sent();o();return[3,3];case 2:n=a;y.label=3;case 3:if(!n){throw new Error('Constructor for "'.concat(t.m,"#").concat(r.R,'" was not found'))}if(!n.isProxied){xe(n,t,2);n.isProxied=true}u=R("createInstance",t.m);{r.i|=8}try{new n(r)}catch(r){v(r,e)}{r.i&=~8}u();Te(r.t,e);return[3,5];case 4:n=e.constructor;f=e.localName;customElements.whenDefined(f).then((function(){return r.i|=128}));y.label=5;case 5:if(n&&n.style){l=void 0;if(typeof n.style==="string"){l=n.style}s=Y(t);if(!h.has(s)){c=R("registerStyles",t.m);q(s,l,!!(t.i&1));c()}}y.label=6;case 6:p=r.L;m=function(){return ye(r,true)};if(p&&p["s-rc"]){p["s-rc"].push(m)}else{m()}return[2]}}))}))};var Te=function(e,r){{ke(e,"connectedCallback",void 0,r)}};var De=function(e){if((b.i&1)===0){var r=u(e);var n=r.o;var t=R("connectedCallback",n.m);if(!(r.i&1)){r.i|=1;{var i=e;while(i=i.parentNode||i.host){if(i["s-p"]){me(r,r.L=i);break}}}if(n.F){Object.entries(n.F).map((function(r){var n=r[0],t=r[1][0];if(t&31&&e.hasOwnProperty(n)){var i=e[n];delete e[n];e[n]=i}}))}{Ee(e,r,n)}}else{if(r==null?void 0:r.t){Te(r.t,e)}else if(r==null?void 0:r.h){r.h.then((function(){return Te(r.t,e)}))}}t()}};var Me=function(e,r){{ke(e,"disconnectedCallback",void 0,r||e)}};var Pe=function(e){return __awaiter(n,void 0,void 0,(function(){var r;return __generator(this,(function(n){if((b.i&1)===0){r=u(e);if(r==null?void 0:r.t){Me(r.t,e)}else if(r==null?void 0:r.h){r.h.then((function(){return Me(r.t,e)}))}}if(V.has(e)){V.delete(e)}if(e.shadowRoot&&V.has(e.shadowRoot)){V.delete(e.shadowRoot)}return[2]}))}))};var Le=e("b",(function(e,r){if(r===void 0){r={}}var n;if(!w.document){console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");return}var t=R();var i=[];var a=r.exclude||[];var o=w.customElements;var f=w.document.head;var s=f.querySelector("meta[charset]");var v=w.document.createElement("style");var c=[];var d;var h=true;Object.assign(b,r);b._=new URL(r.resourcesUrl||"./",w.document.baseURI).href;var p=false;e.map((function(e){e[1].map((function(r){var n={i:r[0],m:r[1],F:r[2],U:r[3]};if(n.i&4){p=true}{n.F=r[2]}{n.M=[]}var t=n.m;var f=function(e){__extends(r,e);function r(r){var t=e.call(this,r)||this;t.hasRegisteredEventListeners=false;r=t;l(r,n);if(n.i&1){{if(!r.shadowRoot){{r.attachShadow({mode:"open"})}}else{if(r.shadowRoot.mode!=="open"){throw new Error("Unable to re-use existing shadow root for ".concat(n.m,"! Mode is set to ").concat(r.shadowRoot.mode," but Stencil only supports open shadow roots."))}}}}return t}r.prototype.connectedCallback=function(){var e=this;u(this);if(!this.hasRegisteredEventListeners){this.hasRegisteredEventListeners=true}if(d){clearTimeout(d);d=null}if(h){c.push(this)}else{b.jmp((function(){return De(e)}))}};r.prototype.disconnectedCallback=function(){var e=this;b.jmp((function(){return Pe(e)}));b.raf((function(){var r;var n=u(e);var t=c.findIndex((function(r){return r===e}));if(t>-1){c.splice(t,1)}if(((r=n==null?void 0:n.D)==null?void 0:r.C)instanceof Node&&!n.D.C.isConnected){delete n.D.C}}))};r.prototype.componentOnReady=function(){return u(this).h};return r}(HTMLElement);n.S=e[0];if(!a.includes(t)&&!o.get(t)){i.push(t);o.define(t,xe(f,n,1))}}))}));if(i.length>0){if(p){v.textContent+=y}{v.textContent+=i.sort()+m}if(v.innerHTML.length){v.setAttribute("data-styles","");var S=(n=b.T)!=null?n:T(w.document);if(S!=null){v.setAttribute("nonce",S)}f.insertBefore(v,s?s.nextSibling:f.firstChild)}}h=false;if(c.length){c.map((function(e){return e.connectedCallback()}))}else{{b.jmp((function(){return d=setTimeout(je,30)}))}}t()}));var Fe=e("s",(function(e){return b.T=e}))}}}));
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var e=Object.defineProperty,t=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},n=(e,t)=>{e.__stencil__getHostRef=()=>t,t.t=e},o=(e,t)=>t in e,l=(e,t)=>(0,console.error)(e,t),i=new Map,s=new Map,r="slot-fb{display:contents}slot-fb[hidden]{display:none}",c="undefined"!=typeof window?window:{},u={o:0,l:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,o)=>e.addEventListener(t,n,o),rel:(e,t,n,o)=>e.removeEventListener(t,n,o),ce:(e,t)=>new CustomEvent(e,t)},a=e=>Promise.resolve(e),f=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),d=!1,h=[],p=[],m=(e,t)=>n=>{e.push(n),d||(d=!0,t&&4&u.o?b(y):u.raf(y))},v=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){l(e)}e.length=0},y=()=>{v(h),v(p),(d=h.length>0)&&u.raf(y)},b=e=>a().then(e),w=m(p,!0),$=e=>"object"==(e=typeof e)||"function"===e;function S(e){var t,n,o;return null!=(o=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}((t,n)=>{for(var o in n)e(t,o,{get:n[o],enumerable:!0})})({},{err:()=>j,map:()=>k,ok:()=>g,unwrap:()=>E,unwrapErr:()=>C});var g=e=>({isOk:!0,isErr:!1,value:e}),j=e=>({isOk:!1,isErr:!0,value:e});function k(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>g(e))):g(n)}if(e.isErr)return j(e.value);throw"should never get here"}var O,E=e=>{if(e.isOk)return e.value;throw e.value},C=e=>{if(e.isErr)return e.value;throw e.value},M=(e,t,...n)=>{let o=null,l=null,i=!1,s=!1;const r=[],c=t=>{for(let n=0;n<t.length;n++)o=t[n],Array.isArray(o)?c(o):null!=o&&"boolean"!=typeof o&&((i="function"!=typeof e&&!$(o))&&(o+=""),i&&s?r[r.length-1].i+=o:r.push(i?P(null,o):o),s=i)};if(c(n),t){t.key&&(l=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=P(e,null);return u.u=t,r.length>0&&(u.h=r),u.p=l,u},P=(e,t)=>({o:0,m:e,i:t,v:null,h:null,u:null,p:null}),x={},D=(e,t)=>null==e||$(e)?e:4&t?"false"!==e&&(""===e||!!e):e,R=e=>t(e).$hostElement$,U=new WeakMap,W=e=>"sc-"+e.$,A=(e,t,n,l,i,s)=>{if(n===l)return;let r=o(e,t),a=t.toLowerCase();if("class"===t){const t=e.classList,o=H(n);let i=H(l);t.remove(...o.filter((e=>e&&!i.includes(e)))),t.add(...i.filter((e=>e&&!o.includes(e))))}else if("style"===t){for(const t in n)l&&null!=l[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in l)n&&l[t]===n[t]||(t.includes("-")?e.style.setProperty(t,l[t]):e.style[t]=l[t])}else if("key"===t);else if(r||"o"!==t[0]||"n"!==t[1]){const o=$(l);if((r||o&&null!==l)&&!i)try{if(e.tagName.includes("-"))e[t]!==l&&(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||i)&&!o&&1===e.nodeType&&e.setAttribute(t,l=!0===l?"":l)}else if(t="-"===t[2]?t.slice(3):o(c,a)?a.slice(2):a[2]+t.slice(3),n||l){const o=t.endsWith(L);t=t.replace(T,""),n&&u.rel(e,t,n,o),l&&u.ael(e,t,l,o)}},N=/\s/,H=e=>("object"==typeof e&&e&&"baseVal"in e&&(e=e.baseVal),e&&"string"==typeof e?e.split(N):[]),L="Capture",T=RegExp(L+"$"),z=(e,t,n)=>{const o=11===t.v.nodeType&&t.v.host?t.v.host:t.v,l=e&&e.u||{},i=t.u||{};for(const e of F(Object.keys(l)))e in i||A(o,e,l[e],void 0,n,t.o);for(const e of F(Object.keys(i)))A(o,e,l[e],i[e],n,t.o)};function F(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var V=!1,q=(e,t,n)=>{const o=t.h[n];let l,i,s=0;if(null!==o.i)l=o.v=c.document.createTextNode(o.i);else{if(!c.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component.");if(l=o.v=c.document.createElement(o.m),z(null,o,V),o.h)for(s=0;s<o.h.length;++s)i=q(e,o,s),i&&l.appendChild(i)}return l["s-hn"]=O,l},G=(e,t,n,o,l,i)=>{let s,r=e;for(r.shadowRoot&&r.tagName===O&&(r=r.shadowRoot);l<=i;++l)o[l]&&(s=q(null,n,l),s&&(o[l].v=s,B(r,s,t)))},I=(e,t,n)=>{for(let o=t;o<=n;++o){const t=e[o];if(t){const e=t.v;e&&e.remove()}}},Y=(e,t,n=!1)=>e.m===t.m&&(n?(n&&!e.p&&t.p&&(e.p=t.p),!0):e.p===t.p),_=(e,t,n=!1)=>{const o=t.v=e.v,l=e.h,i=t.h,s=t.i;null===s?(z(e,t,V),null!==l&&null!==i?((e,t,n,o,l=!1)=>{let i,s,r=0,c=0,u=0,a=0,f=t.length-1,d=t[0],h=t[f],p=o.length-1,m=o[0],v=o[p];for(;r<=f&&c<=p;)if(null==d)d=t[++r];else if(null==h)h=t[--f];else if(null==m)m=o[++c];else if(null==v)v=o[--p];else if(Y(d,m,l))_(d,m,l),d=t[++r],m=o[++c];else if(Y(h,v,l))_(h,v,l),h=t[--f],v=o[--p];else if(Y(d,v,l))_(d,v,l),B(e,d.v,h.v.nextSibling),d=t[++r],v=o[--p];else if(Y(h,m,l))_(h,m,l),B(e,h.v,d.v),h=t[--f],m=o[++c];else{for(u=-1,a=r;a<=f;++a)if(t[a]&&null!==t[a].p&&t[a].p===m.p){u=a;break}u>=0?(s=t[u],s.m!==m.m?i=q(t&&t[c],n,u):(_(s,m,l),t[u]=void 0,i=s.v),m=o[++c]):(i=q(t&&t[c],n,c),m=o[++c]),i&&B(d.v.parentNode,i,d.v)}r>f?G(e,null==o[p+1]?null:o[p+1].v,n,o,c,p):c>p&&I(t,r,f)})(o,l,t,i,n):null!==i?(null!==e.i&&(o.textContent=""),G(o,null,t,i,0,i.length-1)):!n&&null!==l&&I(l,0,l.length-1)):e.i!==s&&(o.data=s)},B=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),J=(e,t)=>{if(t&&!e.S&&t["s-p"]){const n=t["s-p"].push(new Promise((o=>e.S=()=>{t["s-p"].splice(n-1,1),o()})))}},K=(e,t)=>{if(e.o|=16,!(4&e.o))return J(e,e.j),w((()=>Q(e,t)));e.o|=512},Q=(e,t)=>{const n=e.$hostElement$,o=e.t;if(!o)throw Error(`Can't render component <${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`);let l;return l=le(o,t?"componentWillLoad":"componentWillUpdate",void 0,n),l=X(l,(()=>le(o,"componentWillRender",void 0,n))),X(l,(()=>ee(e,o,t)))},X=(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 o;const l=e.$hostElement$,i=l["s-rc"];n&&(e=>{const t=e.k,n=e.$hostElement$,o=t.o,l=((e,t)=>{var n;const o=W(t),l=s.get(o);if(!c.document)return o;if(e=11===e.nodeType?e:c.document,l)if("string"==typeof l){let i,s=U.get(e=e.head||e);if(s||U.set(e,s=new Set),!s.has(o)){{i=document.querySelector(`[sty-id="${o}"]`)||c.document.createElement("style"),i.innerHTML=l;const s=null!=(n=u.O)?n:S(c.document);if(null!=s&&i.setAttribute("nonce",s),!(1&t.o))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(i,(null==n?void 0:n.parentNode)===e?n:null)}else if("host"in e)if(f){const t=new CSSStyleSheet;t.replaceSync(l),e.adoptedStyleSheets=[t,...e.adoptedStyleSheets]}else{const t=e.querySelector("style");t?t.innerHTML=l+t.innerHTML:e.prepend(i)}else e.append(i);1&t.o&&e.insertBefore(i,null)}4&t.o&&(i.innerHTML+=r),s&&s.add(o)}}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return o})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);(10&o&&2&o||128&o)&&(n["s-sc"]=l,n.classList.add(l+"-h"))})(e);te(e,t,l,n),i&&(i.map((e=>e())),l["s-rc"]=void 0);{const t=null!=(o=l["s-p"])?o:[],n=()=>ne(e);0===t.length?n():(Promise.all(t).then(n),e.o|=4,t.length=0)}},te=(e,t,n,o)=>{try{t=t.render(),e.o&=-17,e.o|=2,((e,t,n=!1)=>{const o=e.$hostElement$,l=e.k,i=e.C||P(null,null),s=(e=>e&&e.m===x)(t)?t:M(null,null,t);if(O=o.tagName,l.M&&(s.u=s.u||{},l.M.map((([e,t])=>s.u[t]=o[e]))),n&&s.u)for(const e of Object.keys(s.u))o.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(s.u[e]=o[e]);s.m=null,s.o|=4,e.C=s,s.v=i.v=o.shadowRoot||o,_(i,s,n)})(e,t,o)}catch(t){l(t,e.$hostElement$)}return null},ne=e=>{const t=e.$hostElement$,n=e.t,o=e.j;le(n,"componentDidRender",void 0,t),64&e.o?le(n,"componentDidUpdate",void 0,t):(e.o|=64,ie(t),le(n,"componentDidLoad",void 0,t),e.P(t),o||oe()),e.D(t),e.S&&(e.S(),e.S=void 0),512&e.o&&b((()=>K(e,!1))),e.o&=-517},oe=()=>{b((()=>(e=>{const t=u.ce("appload",{detail:{namespace:"mds-table-row"}});return e.dispatchEvent(t),t})(c)))},le=(e,t,n,o)=>{if(e&&e[t])try{return e[t](n)}catch(e){l(e,o)}},ie=e=>e.setAttribute("hydrated",""),se=(e,n,o,l)=>{const i=t(e);if(!i)throw Error(`Couldn't find host element for "${l.$}" 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/stenciljs/core/issues/5457).`);const s=i.R.get(n),r=i.o,c=i.t;if(o=D(o,l.U[n][0]),(!(8&r)||void 0===s)&&o!==s&&(!Number.isNaN(s)||!Number.isNaN(o))&&(i.R.set(n,o),c&&2==(18&r))){if(c.componentShouldUpdate&&!1===c.componentShouldUpdate(o,s,n))return;K(i,!1)}},re=(e,n,o)=>{var l,i;const s=e.prototype;if(n.U){const r=Object.entries(null!=(l=n.U)?l:{});if(r.map((([e,[l]])=>{if(31&l||2&o&&32&l){const{get:i,set:r}=Object.getOwnPropertyDescriptor(s,e)||{};i&&(n.U[e][0]|=2048),r&&(n.U[e][0]|=4096),(1&o||!i)&&Object.defineProperty(s,e,{get(){{if(!(2048&n.U[e][0]))return((e,n)=>t(this).R.get(n))(0,e);const o=t(this),l=o?o.t:s;if(!l)return;return l[e]}},configurable:!0,enumerable:!0}),Object.defineProperty(s,e,{set(i){const s=t(this);if(r){const t=32&l?this[e]:s.$hostElement$[e];return void 0===t&&s.R.get(e)?i=s.R.get(e):!s.R.get(e)&&t&&s.R.set(e,t),r.call(this,D(i,l)),void se(this,e,i=32&l?this[e]:s.$hostElement$[e],n)}{if(!(1&o&&4096&n.U[e][0]))return se(this,e,i,n),void(1&o&&!s.t&&s.W.then((()=>{4096&n.U[e][0]&&s.t[e]!==s.R.get(e)&&(s.t[e]=i)})));const t=()=>{const t=s.t[e];!s.R.get(e)&&t&&s.R.set(e,t),s.t[e]=D(i,l),se(this,e,s.t[e],n)};s.t?t():s.W.then((()=>t()))}}})}else 1&o&&64&l&&Object.defineProperty(s,e,{value(...n){var o;const l=t(this);return null==(o=null==l?void 0:l.A)?void 0:o.then((()=>{var t;return null==(t=l.t)?void 0:t[e](...n)}))}})})),1&o){const o=new Map;s.attributeChangedCallback=function(e,l,i){u.jmp((()=>{var r;const c=o.get(e);if(this.hasOwnProperty(c))i=this[c],delete this[c];else{if(s.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==i)return;if(null==c){const o=t(this),s=null==o?void 0:o.o;if(s&&!(8&s)&&128&s&&i!==l){const t=o.t,s=null==(r=n.N)?void 0:r[e];null==s||s.forEach((n=>{null!=t[n]&&t[n].call(t,i,l,e)}))}return}}const u=Object.getOwnPropertyDescriptor(s,c);(i=(null!==i||"boolean"!=typeof this[c])&&i)===this[c]||u.get&&!u.set||(this[c]=i)}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(i=n.N)?i:{}),...r.filter((([e,t])=>15&t[0])).map((([e,t])=>{var l;const i=t[1]||e;return o.set(i,e),512&t[0]&&(null==(l=n.M)||l.push([e,i])),i}))]))}}return e},ce=(e,t)=>{le(e,"connectedCallback",void 0,t)},ue=(e,t)=>{le(e,"disconnectedCallback",void 0,t||e)},ae=(e,n={})=>{var o;if(!c.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const a=[],d=n.exclude||[],h=c.customElements,p=c.document.head,m=p.querySelector("meta[charset]"),v=c.document.createElement("style"),y=[];let b,w=!0;Object.assign(u,n),u.l=new URL(n.resourcesUrl||"./",c.document.baseURI).href;let $=!1;if(e.map((e=>{e[1].map((n=>{const o={o:n[0],$:n[1],U:n[2],H:n[3]};4&o.o&&($=!0),o.U=n[2],o.M=[];const r=o.$,c=class extends HTMLElement{constructor(e){if(super(e),this.hasRegisteredEventListeners=!1,((e,t)=>{const n={o:0,$hostElement$:e,k:t,R:new Map};n.A=new Promise((e=>n.D=e)),n.W=new Promise((e=>n.P=e)),e["s-p"]=[],e["s-rc"]=[];const o=n;e.__stencil__getHostRef=()=>o})(e=this,o),1&o.o)if(e.shadowRoot){if("open"!==e.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${o.$}! Mode is set to ${e.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else e.attachShadow({mode:"open"})}connectedCallback(){this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),b&&(clearTimeout(b),b=null),w?y.push(this):u.jmp((()=>(e=>{if(!(1&u.o)){const n=t(e),o=n.k,r=()=>{};if(1&n.o)(null==n?void 0:n.t)?ce(n.t,e):(null==n?void 0:n.W)&&n.W.then((()=>ce(n.t,e)));else{n.o|=1;{let t=e;for(;t=t.parentNode||t.host;)if(t["s-p"]){J(n,n.j=t);break}}o.U&&Object.entries(o.U).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n)=>{let o;if(!(32&t.o)){if(t.o|=32,n.L){const s=((e,t)=>{const n=e.$.replace(/-/g,"_"),o=e.L;if(!o)return;const s=i.get(o);return s?s[n]:import(`./${o}.entry.js`).then((e=>(i.set(o,e),e[n])),(e=>{l(e,t.$hostElement$)}))
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n,t);if(s&&"then"in s){const e=()=>{};o=await s,e()}else o=s;if(!o)throw Error(`Constructor for "${n.$}#${t.T}" was not found`);o.isProxied||(re(o,n,2),o.isProxied=!0);const r=()=>{};t.o|=8;try{new o(t)}catch(t){l(t,e)}t.o&=-9,r(),ce(t.t,e)}else o=e.constructor,customElements.whenDefined(e.localName).then((()=>t.o|=128));if(o&&o.style){let e;"string"==typeof o.style&&(e=o.style);const t=W(n);if(!s.has(t)){const o=()=>{};((e,t,n)=>{let o=s.get(e);f&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=t:o.replaceSync(t)):o=t,s.set(e,o)})(t,e,!!(1&n.o)),o()}}}const r=t.j,c=()=>K(t,!0);r&&r["s-rc"]?r["s-rc"].push(c):c()})(e,n,o)}r()}})(this)))}disconnectedCallback(){u.jmp((()=>(async e=>{if(!(1&u.o)){const n=t(e);(null==n?void 0:n.t)?ue(n.t,e):(null==n?void 0:n.W)&&n.W.then((()=>ue(n.t,e)))}U.has(e)&&U.delete(e),e.shadowRoot&&U.has(e.shadowRoot)&&U.delete(e.shadowRoot)})(this))),u.raf((()=>{var e;const n=t(this),o=y.findIndex((e=>e===this));o>-1&&y.splice(o,1),(null==(e=null==n?void 0:n.C)?void 0:e.v)instanceof Node&&!n.C.v.isConnected&&delete n.C.v}))}componentOnReady(){return t(this).W}};o.L=e[0],d.includes(r)||h.get(r)||(a.push(r),h.define(r,re(c,o,1)))}))})),a.length>0&&($&&(v.textContent+=r),v.textContent+=a.sort()+"{visibility:hidden}[hydrated]{visibility:inherit}",v.innerHTML.length)){v.setAttribute("data-styles","");const e=null!=(o=u.O)?o:S(c.document);null!=e&&v.setAttribute("nonce",e),p.insertBefore(v,m?m.nextSibling:p.firstChild)}w=!1,y.length?y.map((e=>e.connectedCallback())):u.jmp((()=>b=setTimeout(oe,30)))},fe=e=>u.O=e;export{x as H,ae as b,R as g,M as h,a as p,n as r,fe as s}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(t,e,r,a){function n(t){return t instanceof r?t:new r((function(e){e(t)}))}return new(r||(r=Promise))((function(r,d){function i(t){try{o(a.next(t))}catch(t){d(t)}}function s(t){try{o(a["throw"](t))}catch(t){d(t)}}function o(t){t.done?r(t.value):n(t.value).then(i,s)}o((a=a.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var r={label:0,sent:function(){if(d[0]&1)throw d[1];return d[1]},trys:[],ops:[]},a,n,d,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(t){return function(e){return o([t,e])}}function o(s){if(a)throw new TypeError("Generator is already executing.");while(i&&(i=0,s[0]&&(r=0)),r)try{if(a=1,n&&(d=s[0]&2?n["return"]:s[0]?n["throw"]||((d=n["return"])&&d.call(n),0):n.next)&&!(d=d.call(n,s[1])).done)return d;if(n=0,d)s=[s[0]&2,d.value];switch(s[0]){case 0:case 1:d=s;break;case 4:r.label++;return{value:s[1],done:false};case 5:r.label++;n=s[1];s=[0];continue;case 7:s=r.ops.pop();r.trys.pop();continue;default:if(!(d=r.trys,d=d.length>0&&d[d.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!d||s[1]>d[0]&&s[1]<d[3])){r.label=s[1];break}if(s[0]===6&&r.label<d[1]){r.label=d[1];d=s;break}if(d&&r.label<d[2]){r.label=d[2];r.ops.push(s);break}if(d[2])r.ops.pop();r.trys.pop();continue}s=e.call(t,r)}catch(t){s=[6,t];n=0}finally{a=d=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-133f1581.system.js"],(function(t){"use strict";var e,r,a,n;return{setters:[function(t){e=t.r;r=t.h;a=t.H;n=t.g}],execute:function(){var d=typeof globalThis!=="undefined"?globalThis:typeof window!=="undefined"?window:typeof global!=="undefined"?global:typeof self!=="undefined"?self:{};var i={exports:{}};(function(t,e){(function(e,r){t.exports=r()})(d,(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;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 d(t,e){return t!=null&&typeof t==="object"&&e in t}function i(t,e){return t!=null&&typeof t!=="object"&&t.hasOwnProperty&&t.hasOwnProperty(e)}var s=RegExp.prototype.test;function o(t,e){return s.call(t,e)}var h=/\S/;function c(t){return!o(h,t)}var l={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="};function f(t){return String(t).replace(/[&<>"'`=\/]/g,(function t(e){return l[e]}))}var u=/\s*/;var y=/\s+/;var m=/\s*=/;var b=/\s*\}/;var v=/#|\^|\/|>|\{|&|=|!/;function p(t,r){if(!t)return[];var a=false;var d=[];var i=[];var s=[];var o=false;var h=false;var l="";var f=0;function p(){if(o&&!h){while(s.length)delete i[s.pop()]}else{s=[]}o=false;h=false}var x,R,E;function S(t){if(typeof t==="string")t=t.split(y,2);if(!e(t)||t.length!==2)throw new Error("Invalid tags: "+t);x=new RegExp(n(t[0])+"\\s*");R=new RegExp("\\s*"+n(t[1]));E=new RegExp("\\s*"+n("}"+t[1]))}S(r||j.tags);var _=new k(t);var z,X,C,T,D,U;while(!_.eos()){z=_.pos;C=_.scanUntil(x);if(C){for(var A=0,I=C.length;A<I;++A){T=C.charAt(A);if(c(T)){s.push(i.length);l+=T}else{h=true;a=true;l+=" "}i.push(["text",T,z,z+1]);z+=1;if(T==="\n"){p();l="";f=0;a=false}}}if(!_.scan(x))break;o=true;X=_.scan(v)||"name";_.scan(u);if(X==="="){C=_.scanUntil(m);_.scan(m);_.scanUntil(R)}else if(X==="{"){C=_.scanUntil(E);_.scan(b);_.scanUntil(R);X="&"}else{C=_.scanUntil(R)}if(!_.scan(R))throw new Error("Unclosed tag at "+_.pos);if(X==">"){D=[X,C,z,_.pos,l,f,a]}else{D=[X,C,z,_.pos]}f++;i.push(D);if(X==="#"||X==="^"){d.push(D)}else if(X==="/"){U=d.pop();if(!U)throw new Error('Unopened section "'+C+'" at '+z);if(U[1]!==C)throw new Error('Unclosed section "'+U[1]+'" at '+z)}else if(X==="name"||X==="{"||X==="&"){h=true}else if(X==="="){S(C)}}p();U=d.pop();if(U)throw new Error('Unclosed section "'+U[1]+'" at '+_.pos);return g(w(i))}function w(t){var e=[];var r,a;for(var n=0,d=t.length;n<d;++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,d;for(var i=0,s=t.length;i<s;++i){n=t[i];switch(n[0]){case"#":case"^":r.push(n);a.push(n);r=n[4]=[];break;case"/":d=a.pop();d[5]=n[2];r=a.length>0?a[a.length-1][4]:e;break;default:r.push(n)}}return e}function k(t){this.string=t;this.tail=t;this.pos=0}k.prototype.eos=function t(){return this.tail===""};k.prototype.scan=function t(e){var r=this.tail.match(e);if(!r||r.index!==0)return"";var a=r[0];this.tail=this.tail.substring(a.length);this.pos+=a.length;return a};k.prototype.scanUntil=function t(e){var r=this.tail.search(e),a;switch(r){case-1:a=this.tail;this.tail="";break;case 0:a="";break;default:a=this.tail.substring(0,r);this.tail=this.tail.substring(r)}this.pos+=a.length;return a};function x(t,e){this.view=t;this.cache={".":this.view};this.parent=e}x.prototype.push=function t(e){return new x(e,this)};x.prototype.lookup=function t(e){var a=this.cache;var n;if(a.hasOwnProperty(e)){n=a[e]}else{var s=this,o,h,c,l=false;while(s){if(e.indexOf(".")>0){o=s.view;h=e.split(".");c=0;while(o!=null&&c<h.length){if(c===h.length-1)l=d(o,h[c])||i(o,h[c]);o=o[h[c++]]}}else{o=s.view[e];l=d(s.view,e)}if(l){n=o;break}s=s.parent}a[e]=n}if(r(n))n=n.call(this.view);return n};function R(){this.templateCache={_cache:{},set:function t(e,r){this._cache[e]=r},get:function t(e){return this._cache[e]},clear:function t(){this._cache={}}}}R.prototype.clearCache=function t(){if(typeof this.templateCache!=="undefined"){this.templateCache.clear()}};R.prototype.parse=function t(e,r){var a=this.templateCache;var n=e+":"+(r||j.tags).join(":");var d=typeof a!=="undefined";var i=d?a.get(n):undefined;if(i==undefined){i=p(e,r);d&&a.set(n,i)}return i};R.prototype.render=function t(e,r,a,n){var d=this.getConfigTags(n);var i=this.parse(e,d);var s=r instanceof x?r:new x(r,undefined);return this.renderTokens(i,s,a,e,n)};R.prototype.renderTokens=function t(e,r,a,n,d){var i="";var s,o,h;for(var c=0,l=e.length;c<l;++c){h=undefined;s=e[c];o=s[0];if(o==="#")h=this.renderSection(s,r,a,n,d);else if(o==="^")h=this.renderInverted(s,r,a,n,d);else if(o===">")h=this.renderPartial(s,r,a,d);else if(o==="&")h=this.unescapedValue(s,r);else if(o==="name")h=this.escapedValue(s,r,d);else if(o==="text")h=this.rawValue(s);if(h!==undefined)i+=h}return i};R.prototype.renderSection=function t(a,n,d,i,s){var o=this;var h="";var c=n.lookup(a[1]);function l(t){return o.render(t,n,d,s)}if(!c)return;if(e(c)){for(var f=0,u=c.length;f<u;++f){h+=this.renderTokens(a[4],n.push(c[f]),d,i,s)}}else if(typeof c==="object"||typeof c==="string"||typeof c==="number"){h+=this.renderTokens(a[4],n.push(c),d,i,s)}else if(r(c)){if(typeof i!=="string")throw new Error("Cannot use higher-order sections without the original template");c=c.call(n.view,i.slice(a[3],a[5]),l);if(c!=null)h+=c}else{h+=this.renderTokens(a[4],n,d,i,s)}return h};R.prototype.renderInverted=function t(r,a,n,d,i){var s=a.lookup(r[1]);if(!s||e(s)&&s.length===0)return this.renderTokens(r[4],a,n,d,i)};R.prototype.indentPartial=function t(e,r,a){var n=r.replace(/[^ \t]/g,"");var d=e.split("\n");for(var i=0;i<d.length;i++){if(d[i].length&&(i>0||!a)){d[i]=n+d[i]}}return d.join("\n")};R.prototype.renderPartial=function t(e,a,n,d){if(!n)return;var i=this.getConfigTags(d);var s=r(n)?n(e[1]):n[e[1]];if(s!=null){var o=e[6];var h=e[5];var c=e[4];var l=s;if(h==0&&c){l=this.indentPartial(s,c,o)}var f=this.parse(l,i);return this.renderTokens(f,a,n,l,d)}};R.prototype.unescapedValue=function t(e,r){var a=r.lookup(e[1]);if(a!=null)return a};R.prototype.escapedValue=function t(e,r,a){var n=this.getConfigEscape(a)||j.escape;var d=r.lookup(e[1]);if(d!=null)return typeof d==="number"&&n===j.escape?String(d):n(d)};R.prototype.rawValue=function t(e){return e[1]};R.prototype.getConfigTags=function t(r){if(e(r)){return r}else if(r&&typeof r==="object"){return r.tags}else{return undefined}};R.prototype.getConfigEscape=function t(r){if(r&&typeof r==="object"&&!e(r)){return r.escape}else{return undefined}};var j={name:"mustache.js",version:"4.2.0",tags:["{{","}}"],clearCache:undefined,escape:undefined,parse:undefined,render:undefined,Scanner:undefined,Context:undefined,Writer:undefined,set templateCache(t){E.templateCache=t},get templateCache(){return E.templateCache}};var E=new R;j.clearCache=function t(){return E.clearCache()};j.parse=function t(e,r){return E.parse(e,r)};j.render=function t(e,r,n,d){if(typeof e!=="string"){throw new TypeError('Invalid template! Template should be a "string" '+'but "'+a(e)+'" was given as the first '+"argument for mustache#render(template, view, partials)")}return E.render(e,r,n,d)};j.escape=f;j.Scanner=k;j.Context=x;j.Writer=R;return j}))})(i);var s=function(){function t(t){var e=this;this.rollbackLanguage="en";this.set=function(t){e.config=t};this.lang=function(t){e.element=t;e.closestElement=e.element.closest("[lang]");if(e.closestElement){if(e.closestElement.lang){e.language=e.closestElement.lang;return e.language}}e.language=e.rollbackLanguage;return e.language};this.update=function(t){var r=t!==null&&t!==void 0?t:e.element.shadowRoot;r&&r.querySelectorAll("*").forEach((function(t){if(t.tagName.toLowerCase().startsWith("mds-")){if(t&&"updateLang"in t){t.updateLang()}}}))};this.pluralize=function(t,r){var a=e.config[e.language]?e.config[e.language][t]:e.config[e.rollbackLanguage][t];var n=[];if(Array.isArray(a)){n.push(a[0]);n.push(a[1])}else{n.push(a);n.push(a)}var d=n[0];var s=d;var o=Object.keys(r);if(o.length>0){var h=o[0];if(typeof r[h]==="number"){if(r[h]!==1){s=n[1]}}}return i.exports.render(s,r)};this.get=function(t,r){if(r){return e.pluralize(t,r)}return e.config[e.language]?e.config[e.language][t]:e.config[e.rollbackLanguage][t]};if(t){this.set(t)}}return t}();var o="Επιλογή γραμμής";var h="Αποεπιλογή γραμμής";var c={selectRow:o,unselectRow:h};var l="Select row";var f="Deselect row";var u={selectRow:l,unselectRow:f};var y="Seleccionar fila";var m="Deseleccionar fila";var b={selectRow:y,unselectRow:m};var v="Seleziona riga";var p="Deseleziona riga";var w={selectRow:v,unselectRow:p};var g=':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)}: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 k=g;var x=t("mds_table_row",function(){function t(t){var r=this;e(this,t);this.t=new s({el:c,en:u,es:b,it:w});this.selectable=undefined;this.handleSelectionChange=function(t){var e;r.selected=t.detail.checked;(e=r.host.closest("mds-table"))===null||e===void 0?void 0:e.updateSelection()}}t.prototype.updateLang=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.language=this.t.lang(this.host);this.t.update();return[2]}))}))};t.prototype.componentWillLoad=function(){this.language=this.t.lang(this.host);this.hasActions=this.host.querySelector('[slot="action"]')!==null};t.prototype.componentDidLoad=function(){var t;if(this.hasActions){this.actions=(t=this.host.shadowRoot)===null||t===void 0?void 0:t.querySelector(".actions");this.sizerWidth="".concat(this.actions.offsetWidth.toString(),"px")}};t.prototype.render=function(){return r(a,{key:"4905591b94a0af846d25e3cf55fe5805ecec76be",role:"row"},this.selectable&&r("mds-table-cell",{key:"07f8596969f20148250cc42fde0a806435825274",class:"selection-cell"},r("div",{key:"2d0bb74f3f5edaf6180c68a60457b374dcd7a4bd",class:"checkbox-wrapper"},r("mds-input-switch",{key:"e04fafd6a53ed1c6a4208b0317419fe21d08f28e",title:this.t.get(this.selected?"unselectRow":"selectRow"),lang:this.language,type:"checkbox",checked:this.selected,onMdsInputSwitchChange:this.handleSelectionChange}))),r("slot",{key:"d71c2ec9e675fd8190eeeb7d816a5e2566c6afc4"}),this.hasActions&&r("mds-table-cell",{key:"0ede2c5f98d7541920c4170d70c21f9f61ac93cb",class:"actions-cell"},r("div",{key:"8a097d4b04bd594778f51bedfe438fe1fd3479b3",class:"actions-sizer",style:{minHeight:"1px",maxWidth:this.sizerWidth,minWidth:this.sizerWidth}}),r("div",{key:"31f1fe8d7e4ee01f33f1c6a5b76e23fd875dfd82",class:"actions-view"},r("div",{key:"762785e31a306ba3c1e7654218bdf8cb33044cd3",class:"actions",style:{marginRight:"calc(".concat(this.sizerWidth," + var(--mds-table-cell-padding))")}},r("slot",{key:"05ea2b5edc71e58859e55e52c1ab65ca0c5354f8",name:"action"})))))};Object.defineProperty(t.prototype,"host",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());x.style=k}}}));
|
|
@@ -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,u){function c(t){try{o(r.next(t))}catch(t){u(t)}}function a(t){try{o(r["throw"](t))}catch(t){u(t)}}function o(t){t.done?e(t.value):i(t.value).then(c,a)}o((r=r.apply(t,n||[])).next())}))};var __generator=this&&this.__generator||function(t,n){var e={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},r,i,u,c;return c={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(c[Symbol.iterator]=function(){return this}),c;function a(t){return function(n){return o([t,n])}}function o(a){if(r)throw new TypeError("Generator is already executing.");while(c&&(c=0,a[0]&&(e=0)),e)try{if(r=1,i&&(u=a[0]&2?i["return"]:a[0]?i["throw"]||((u=i["return"])&&u.call(i),0):i.next)&&!(u=u.call(i,a[1])).done)return u;if(i=0,u)a=[a[0]&2,u.value];switch(a[0]){case 0:case 1:u=a;break;case 4:e.label++;return{value:a[1],done:false};case 5:e.label++;i=a[1];a=[0];continue;case 7:a=e.ops.pop();e.trys.pop();continue;default:if(!(u=e.trys,u=u.length>0&&u[u.length-1])&&(a[0]===6||a[0]===2)){e=0;continue}if(a[0]===3&&(!u||a[1]>u[0]&&a[1]<u[3])){e.label=a[1];break}if(a[0]===6&&e.label<u[1]){e.label=u[1];u=a;break}if(u&&e.label<u[2]){e.label=u[2];e.ops.push(a);break}if(u[2])e.ops.pop();e.trys.pop();continue}a=n.call(t,e)}catch(t){a=[6,t];i=0}finally{r=u=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};System.register(["./p-133f1581.system.js","./p-56ba5cbf.system.js"],(function(t,n){"use strict";var e,r,i;return{setters:[function(n){e=n.p;r=n.b;t("setNonce",n.s)},function(t){i=t.g}],execute:function(){var t=this;var u=function(){var t=n.meta.url;var r={};if(t!==""){r.resourcesUrl=new URL(".",t).href}return e(r)};u().then((function(n){return __awaiter(t,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:return[4,i()];case 1:t.sent();return[2,r([["p-dea08b0f.system",[[1,"mds-table-row",{interactive:[516],overlayActions:[516,"overlay-actions"],selectable:[516],selected:[1540],value:[520],language:[32],updateLang:[64]}]]]],n)]}}))}))}))}}}));
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import{r as t,h as e,H as r,g as d}from"./p-25b773c1.js";"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;var a={exports:{}};a.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 d(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function a(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={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="};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,d,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=a(o,n[h])||(i=n[h],null!=(d=o)&&"object"!=typeof d&&d.hasOwnProperty&&d.hasOwnProperty(i))),o=o[n[h++]];else o=c.view[t],l=a(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 a=this.templateCache,i=t+":"+(r||p.tags).join(":"),s=void 0!==a,n=s?a.get(i):void 0;return null==n&&(n=function(t,r){if(!t)return[];var a,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);a=new RegExp(d(t[0])+"\\s*"),i=new RegExp("\\s*"+d(t[1])),s=new RegExp("\\s*"+d("}"+t[1]))}j(r||p.tags);for(var E,z,S,X,C,D,L=new b(t);!L.eos();){if(E=L.pos,S=L.scanUntil(a))for(var T=0,U=S.length;T<U;++T)o(X=S.charAt(T))?(v.push(f.length),k+=X):(g=!0,n=!0,k+=" "),f.push(["text",X,E,E+1]),E+=1,"\n"===X&&(R(),k="",x=0,n=!1);if(!L.scan(a))break;if(w=!0,z=L.scan(m)||"name",L.scan(h),"="===z?(S=L.scanUntil(l),L.scan(l),L.scanUntil(i)):"{"===z?(S=L.scanUntil(s),L.scan(y),L.scanUntil(i),z="&"):S=L.scanUntil(i),!L.scan(i))throw new Error("Unclosed tag at "+L.pos);if(C=">"==z?[z,S,E,L.pos,k,x,n]:[z,S,E,L.pos],x++,f.push(C),"#"===z||"^"===z)u.push(C);else if("/"===z){if(!(D=u.pop()))throw new Error('Unopened section "'+S+'" at '+E);if(D[1]!==S)throw new Error('Unclosed section "'+D[1]+'" at '+E)}else"name"===z||"{"===z||"&"===z?g=!0:"="===z&&j(S)}if(R(),D=u.pop())throw new Error('Unclosed section "'+D[1]+'" at '+L.pos);return function(t){for(var e,r=[],d=r,a=[],i=0,s=t.length;i<s;++i)switch((e=t[i])[0]){case"#":case"^":d.push(e),a.push(e),d=e[4]=[];break;case"/":a.pop()[5]=e[2],d=a.length>0?a[a.length-1][4]:r;break;default:d.push(e)}return r}(function(t){for(var e,r,d=[],a=0,i=t.length;a<i;++a)(e=t[a])&&("text"===e[0]&&r&&"text"===r[0]?(r[1]+=e[1],r[3]=e[3]):(d.push(e),r=e));return d}(f))}(t,r),s&&a.set(i,n)),n},f.prototype.render=function(t,e,r,d){var a=this.getConfigTags(d),i=this.parse(t,a),s=e instanceof u?e:new u(e,void 0);return this.renderTokens(i,s,r,t,d)},f.prototype.renderTokens=function(t,e,r,d,a){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,d,a):"^"===s?o=this.renderInverted(i,e,r,d,a):">"===s?o=this.renderPartial(i,e,r,a):"&"===s?o=this.unescapedValue(i,e):"name"===s?o=this.escapedValue(i,e,a):"text"===s&&(o=this.rawValue(i)),void 0!==o&&(n+=o);return n},f.prototype.renderSection=function(t,d,a,i,s){var o=this,n="",h=d.lookup(t[1]);if(h){if(e(h))for(var c=0,l=h.length;c<l;++c)n+=this.renderTokens(t[4],d.push(h[c]),a,i,s);else if("object"==typeof h||"string"==typeof h||"number"==typeof h)n+=this.renderTokens(t[4],d.push(h),a,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(d.view,i.slice(t[3],t[5]),(function(t){return o.render(t,d,a,s)})))&&(n+=h)}else n+=this.renderTokens(t[4],d,a,i,s);return n}},f.prototype.renderInverted=function(t,r,d,a,i){var s=r.lookup(t[1]);if(!s||e(s)&&0===s.length)return this.renderTokens(t[4],r,d,a,i)},f.prototype.indentPartial=function(t,e,r){for(var d=e.replace(/[^ \t]/g,""),a=t.split("\n"),i=0;i<a.length;i++)a[i].length&&(i>0||!r)&&(a[i]=d+a[i]);return a.join("\n")},f.prototype.renderPartial=function(t,e,d,a){if(d){var i=this.getConfigTags(a),s=r(d)?d(t[1]):d[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,d,n,a)}}},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 d=this.getConfigEscape(r)||p.escape,a=e.lookup(t[1]);if(null!=a)return"number"==typeof a&&d===p.escape?String(a):d(a)},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,d,a){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,d,a)},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],d=[];Array.isArray(r)?(d.push(r[0]),d.push(r[1])):(d.push(r),d.push(r));const[i]=d;let s=i;const o=Object.keys(e);if(o.length>0){const[t]=o;"number"==typeof e[t]&&1!==e[t]&&(s=d[1])}return a.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=class{constructor(e){t(this,e),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('[slot="action"]')}componentDidLoad(){var t;this.hasActions&&(this.actions=null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelector(".actions"),this.sizerWidth=`${this.actions.offsetWidth.toString()}px`)}render(){return e(r,{key:"4905591b94a0af846d25e3cf55fe5805ecec76be",role:"row"},this.selectable&&e("mds-table-cell",{key:"07f8596969f20148250cc42fde0a806435825274",class:"selection-cell"},e("div",{key:"2d0bb74f3f5edaf6180c68a60457b374dcd7a4bd",class:"checkbox-wrapper"},e("mds-input-switch",{key:"e04fafd6a53ed1c6a4208b0317419fe21d08f28e",title:this.t.get(this.selected?"unselectRow":"selectRow"),lang:this.language,type:"checkbox",checked:this.selected,onMdsInputSwitchChange:this.handleSelectionChange}))),e("slot",{key:"d71c2ec9e675fd8190eeeb7d816a5e2566c6afc4"}),this.hasActions&&e("mds-table-cell",{key:"0ede2c5f98d7541920c4170d70c21f9f61ac93cb",class:"actions-cell"},e("div",{key:"8a097d4b04bd594778f51bedfe438fe1fd3479b3",class:"actions-sizer",style:{minHeight:"1px",maxWidth:this.sizerWidth,minWidth:this.sizerWidth}}),e("div",{key:"31f1fe8d7e4ee01f33f1c6a5b76e23fd875dfd82",class:"actions-view"},e("div",{key:"762785e31a306ba3c1e7654218bdf8cb33044cd3",class:"actions",style:{marginRight:`calc(${this.sizerWidth} + var(--mds-table-cell-padding))`}},e("slot",{key:"05ea2b5edc71e58859e55e52c1ab65ca0c5354f8",name:"action"})))))}get host(){return d(this)}};c.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)}: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{c as mds_table_row}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var __extends=this&&this.__extends||function(){var e=function(r,t){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var t in r)if(Object.prototype.hasOwnProperty.call(r,t))e[t]=r[t]};return e(r,t)};return function(r,t){if(typeof t!=="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");e(r,t);function n(){this.constructor=r}r.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}();var __awaiter=this&&this.__awaiter||function(e,r,t,n){function a(e){return e instanceof t?e:new t((function(r){r(e)}))}return new(t||(t=Promise))((function(t,i){function o(e){try{l(n.next(e))}catch(e){i(e)}}function s(e){try{l(n["throw"](e))}catch(e){i(e)}}function l(e){e.done?t(e.value):a(e.value).then(o,s)}l((n=n.apply(e,r||[])).next())}))};var __generator=this&&this.__generator||function(e,r){var t={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(r){return l([e,r])}}function l(s){if(n)throw new TypeError("Generator is already executing.");while(o&&(o=0,s[0]&&(t=0)),t)try{if(n=1,a&&(i=s[0]&2?a["return"]:s[0]?a["throw"]||((i=a["return"])&&i.call(a),0):a.next)&&!(i=i.call(a,s[1])).done)return i;if(a=0,i)s=[s[0]&2,i.value];switch(s[0]){case 0:case 1:i=s;break;case 4:t.label++;return{value:s[1],done:false};case 5:t.label++;a=s[1];s=[0];continue;case 7:s=t.ops.pop();t.trys.pop();continue;default:if(!(i=t.trys,i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){t=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){t.label=s[1];break}if(s[0]===6&&t.label<i[1]){t.label=i[1];i=s;break}if(i&&t.label<i[2]){t.label=i[2];t.ops.push(s);break}if(i[2])t.ops.pop();t.trys.pop();continue}s=r.call(e,t)}catch(e){s=[6,e];a=0}finally{n=i=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,r,t){if(t||arguments.length===2)for(var n=0,a=r.length,i;n<a;n++){if(i||!(n in r)){if(!i)i=Array.prototype.slice.call(r,0,n);i[n]=r[n]}}return e.concat(i||Array.prototype.slice.call(r))};var NAMESPACE="mds-table-row";var BUILD={allRenderFn:true,appendChildSlotFix:false,asyncLoading:true,asyncQueue:false,attachStyles:true,cloneNodeFix:false,cmpDidLoad:true,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:false,hostListenerTarget:false,hostListenerTargetBody:false,hostListenerTargetDocument:false,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:true,mode:false,modernPropertyDecls: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:true,style:true,svg:false,taskQueue:true,transformTagName:false,updatable:true,vdomAttribute:true,vdomClass:true,vdomFunctional:false,vdomKey:true,vdomListener:true,vdomPropOrAttr:true,vdomRef:false,vdomRender:true,vdomStyle:true,vdomText:true,vdomXlink:false,watchCallback:false};var __defProp=Object.defineProperty;var __export=function(e,r){for(var t in r)__defProp(e,t,{get:r[t],enumerable:true})};var hostRefs=new WeakMap;var getHostRef=function(e){return hostRefs.get(e)};var registerInstance=function(e,r){hostRefs.set(r.t=e,r)};var registerHost=function(e,r){var t={i:0,$hostElement$:e,o:r,l:new Map};{t.u=new Promise((function(e){return t.v=e}))}{t.p=new Promise((function(e){return t.m=e}));e["s-p"]=[];e["s-rc"]=[]}var n=hostRefs.set(e,t);return n};var isMemberInElement=function(e,r){return r in e};var consoleError=function(e,r){return(0,console.error)(e,r)};var cmpModules=new Map;var loadModule=function(e,r,t){var n=e.h.replace(/-/g,"_");var a=e.S;if(!a){return void 0}var i=cmpModules.get(a);if(i){return i[n]}if(!t||!BUILD.hotModuleReplacement){var o=function(e){cmpModules.set(a,e);return e[n]};switch(a){case"mds-table-row":return import("./mds-table-row.entry.js").then(o,consoleError)}}return import("./".concat(a,".entry.js").concat("")).then((function(e){{cmpModules.set(a,e)}return e[n]}),(function(e){consoleError(e,r.$hostElement$)}))};var styles=new Map;var HYDRATED_STYLE_ID="sty-id";var HYDRATED_CSS="{visibility:hidden}[hydrated]{visibility:inherit}";var SLOT_FB_CSS="slot-fb{display:contents}slot-fb[hidden]{display:none}";var win=typeof window!=="undefined"?window:{};var doc=win.document||{head:{}};var plt={i:0,_:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,r,t,n){return e.addEventListener(r,t,n)},rel:function(e,r,t,n){return e.removeEventListener(r,t,n)},ce:function(e,r){return new CustomEvent(e,r)}};var promiseResolve=function(e){return Promise.resolve(e)};var supportsConstructableStylesheets=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(e){}return false}();var queuePending=false;var queueDomReads=[];var queueDomWrites=[];var queueTask=function(e,r){return function(t){e.push(t);if(!queuePending){queuePending=true;if(r&&plt.i&4){nextTick(flush)}else{plt.raf(flush)}}}};var consume=function(e){for(var r=0;r<e.length;r++){try{e[r](performance.now())}catch(e){consoleError(e)}}e.length=0};var flush=function(){consume(queueDomReads);{consume(queueDomWrites);if(queuePending=queueDomReads.length>0){plt.raf(flush)}}};var nextTick=function(e){return promiseResolve().then(e)};var writeTask=queueTask(queueDomWrites,true);var isComplexType=function(e){e=typeof e;return e==="object"||e==="function"};function queryNonceMetaTagContent(e){var r,t,n;return(n=(t=(r=e.head)==null?void 0:r.querySelector('meta[name="csp-nonce"]'))==null?void 0:t.getAttribute("content"))!=null?n:void 0}var result_exports={};__export(result_exports,{err:function(){return err},map:function(){return map},ok:function(){return ok},unwrap:function(){return unwrap},unwrapErr:function(){return unwrapErr}});var ok=function(e){return{isOk:true,isErr:false,value:e}};var err=function(e){return{isOk:false,isErr:true,value:e}};function map(e,r){if(e.isOk){var t=r(e.value);if(t instanceof Promise){return t.then((function(e){return ok(e)}))}else{return ok(t)}}if(e.isErr){var n=e.value;return err(n)}throw"should never get here"}var unwrap=function(e){if(e.isOk){return e.value}else{throw e.value}};var unwrapErr=function(e){if(e.isErr){return e.value}else{throw e.value}};var createTime=function(e,r){if(r===void 0){r=""}{return function(){return}}};var uniqueTime=function(e,r){{return function(){return}}};var h=function(e,r){var t=[];for(var n=2;n<arguments.length;n++){t[n-2]=arguments[n]}var a=null;var i=null;var o=false;var s=false;var l=[];var u=function(r){for(var t=0;t<r.length;t++){a=r[t];if(Array.isArray(a)){u(a)}else if(a!=null&&typeof a!=="boolean"){if(o=typeof e!=="function"&&!isComplexType(a)){a=String(a)}if(o&&s){l[l.length-1].C+=a}else{l.push(o?newVNode(null,a):a)}s=o}}};u(t);if(r){if(r.key){i=r.key}{var f=r.className||r.class;if(f){r.class=typeof f!=="object"?f:Object.keys(f).filter((function(e){return f[e]})).join(" ")}}}var c=newVNode(e,null);c.T=r;if(l.length>0){c.A=l}{c.R=i}return c};var newVNode=function(e,r){var t={i:0,D:e,C:r,k:null,A:null};{t.T=null}{t.R=null}return t};var Host={};var isHost=function(e){return e&&e.D===Host};var parsePropertyValue=function(e,r){if(e!=null&&!isComplexType(e)){if(r&4){return e==="false"?false:e===""||!!e}return e}return e};var getElement=function(e){return getHostRef(e).$hostElement$};var emitEvent=function(e,r,t){var n=plt.ce(r,t);e.dispatchEvent(n);return n};var rootAppliedStyles=new WeakMap;var registerStyle=function(e,r,t){var n=styles.get(e);if(supportsConstructableStylesheets&&t){n=n||new CSSStyleSheet;if(typeof n==="string"){n=r}else{n.replaceSync(r)}}else{n=r}styles.set(e,n)};var addStyle=function(e,r,t){var n;var a=getScopeId(r);var i=styles.get(a);e=e.nodeType===11?e:doc;if(i){if(typeof i==="string"){e=e.head||e;var o=rootAppliedStyles.get(e);var s=void 0;if(!o){rootAppliedStyles.set(e,o=new Set)}if(!o.has(a)){{s=document.querySelector("[".concat(HYDRATED_STYLE_ID,'="').concat(a,'"]'))||doc.createElement("style");s.innerHTML=i;var l=(n=plt.L)!=null?n:queryNonceMetaTagContent(doc);if(l!=null){s.setAttribute("nonce",l)}if(!(r.i&1)){if(e.nodeName==="HEAD"){var u=e.querySelectorAll("link[rel=preconnect]");var f=u.length>0?u[u.length-1].nextSibling:e.querySelector("style");e.insertBefore(s,(f==null?void 0:f.parentNode)===e?f:null)}else if("host"in e){if(supportsConstructableStylesheets){var c=new CSSStyleSheet;c.replaceSync(i);e.adoptedStyleSheets=__spreadArray([c],e.adoptedStyleSheets,true)}else{var v=e.querySelector("style");if(v){v.innerHTML=i+v.innerHTML}else{e.prepend(s)}}}else{e.append(s)}}if(r.i&1&&e.nodeName!=="HEAD"){e.insertBefore(s,null)}}if(r.i&4){s.innerHTML+=SLOT_FB_CSS}if(o){o.add(a)}}}else if(!e.adoptedStyleSheets.includes(i)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets,true),[i],false)}}return a};var attachStyles=function(e){var r=e.o;var t=e.$hostElement$;var n=r.i;var a=createTime("attachStyles",r.h);var i=addStyle(t.shadowRoot?t.shadowRoot:t.getRootNode(),r);if(n&10&&n&2){t["s-sc"]=i;t.classList.add(i+"-h")}a()};var getScopeId=function(e,r){return"sc-"+e.h};var setAccessor=function(e,r,t,n,a,i,o){if(t!==n){var s=isMemberInElement(e,r);var l=r.toLowerCase();if(r==="class"){var u=e.classList;var f=parseClassList(t);var c=parseClassList(n);{u.remove.apply(u,f.filter((function(e){return e&&!c.includes(e)})));u.add.apply(u,c.filter((function(e){return e&&!f.includes(e)})))}}else if(r==="style"){{for(var v in t){if(!n||n[v]==null){if(v.includes("-")){e.style.removeProperty(v)}else{e.style[v]=""}}}}for(var v in n){if(!t||n[v]!==t[v]){if(v.includes("-")){e.style.setProperty(v,n[v])}else{e.style[v]=n[v]}}}}else if(r==="key");else if(!s&&r[0]==="o"&&r[1]==="n"){if(r[2]==="-"){r=r.slice(3)}else if(isMemberInElement(win,l)){r=l.slice(2)}else{r=l[2]+r.slice(3)}if(t||n){var d=r.endsWith(CAPTURE_EVENT_SUFFIX);r=r.replace(CAPTURE_EVENT_REGEX,"");if(t){plt.rel(e,r,t,d)}if(n){plt.ael(e,r,n,d)}}}else{var p=isComplexType(n);if((s||p&&n!==null)&&!a){try{if(!e.tagName.includes("-")){var m=n==null?"":n;if(r==="list"){s=false}else if(t==null||e[r]!=m){if(typeof e.__lookupSetter__(r)==="function"){e[r]=m}else{e.setAttribute(r,m)}}}else if(e[r]!==n){e[r]=n}}catch(e){}}if(n==null||n===false){if(n!==false||e.getAttribute(r)===""){{e.removeAttribute(r)}}}else if((!s||i&4||a)&&!p){n=n===true?"":n;{e.setAttribute(r,n)}}}}};var parseClassListRegex=/\s/;var parseClassList=function(e){if(typeof e==="object"&&e&&"baseVal"in e){e=e.baseVal}if(!e||typeof e!=="string"){return[]}return e.split(parseClassListRegex)};var CAPTURE_EVENT_SUFFIX="Capture";var CAPTURE_EVENT_REGEX=new RegExp(CAPTURE_EVENT_SUFFIX+"$");var updateElement=function(e,r,t,n){var a=r.k.nodeType===11&&r.k.host?r.k.host:r.k;var i=e&&e.T||{};var o=r.T||{};{for(var s=0,l=sortedAttrNames(Object.keys(i));s<l.length;s++){var u=l[s];if(!(u in o)){setAccessor(a,u,i[u],void 0,t,r.i)}}}for(var f=0,c=sortedAttrNames(Object.keys(o));f<c.length;f++){var u=c[f];setAccessor(a,u,i[u],o[u],t,r.i)}};function sortedAttrNames(e){return e.includes("ref")?__spreadArray(__spreadArray([],e.filter((function(e){return e!=="ref"})),true),["ref"],false):e}var hostTagName;var useNativeShadowDom=false;var isSvgMode=false;var createElm=function(e,r,t){var n=r.A[t];var a=0;var i;var o;if(n.C!==null){i=n.k=doc.createTextNode(n.C)}else{i=n.k=doc.createElement(!useNativeShadowDom&&BUILD.slotRelocation&&n.i&2?"slot-fb":n.D);{updateElement(null,n,isSvgMode)}if(n.A){for(a=0;a<n.A.length;++a){o=createElm(e,n,a);if(o){i.appendChild(o)}}}}i["s-hn"]=hostTagName;return i};var addVnodes=function(e,r,t,n,a,i){var o=e;var s;if(o.shadowRoot&&o.tagName===hostTagName){o=o.shadowRoot}for(;a<=i;++a){if(n[a]){s=createElm(null,t,a);if(s){n[a].k=s;insertBefore(o,s,r)}}}};var removeVnodes=function(e,r,t){for(var n=r;n<=t;++n){var a=e[n];if(a){var i=a.k;if(i){i.remove()}}}};var updateChildren=function(e,r,t,n,a){if(a===void 0){a=false}var i=0;var o=0;var s=0;var l=0;var u=r.length-1;var f=r[0];var c=r[u];var v=n.length-1;var d=n[0];var p=n[v];var m;var h;while(i<=u&&o<=v){if(f==null){f=r[++i]}else if(c==null){c=r[--u]}else if(d==null){d=n[++o]}else if(p==null){p=n[--v]}else if(isSameVnode(f,d,a)){patch(f,d,a);f=r[++i];d=n[++o]}else if(isSameVnode(c,p,a)){patch(c,p,a);c=r[--u];p=n[--v]}else if(isSameVnode(f,p,a)){patch(f,p,a);insertBefore(e,f.k,c.k.nextSibling);f=r[++i];p=n[--v]}else if(isSameVnode(c,d,a)){patch(c,d,a);insertBefore(e,c.k,f.k);c=r[--u];d=n[++o]}else{s=-1;{for(l=i;l<=u;++l){if(r[l]&&r[l].R!==null&&r[l].R===d.R){s=l;break}}}if(s>=0){h=r[s];if(h.D!==d.D){m=createElm(r&&r[o],t,s)}else{patch(h,d,a);r[s]=void 0;m=h.k}d=n[++o]}else{m=createElm(r&&r[o],t,o);d=n[++o]}if(m){{insertBefore(f.k.parentNode,m,f.k)}}}}if(i>u){addVnodes(e,n[v+1]==null?null:n[v+1].k,t,n,o,v)}else if(o>v){removeVnodes(r,i,u)}};var isSameVnode=function(e,r,t){if(t===void 0){t=false}if(e.D===r.D){if(!t){return e.R===r.R}if(t&&!e.R&&r.R){e.R=r.R}return true}return false};var patch=function(e,r,t){if(t===void 0){t=false}var n=r.k=e.k;var a=e.A;var i=r.A;var o=r.D;var s=r.C;if(s===null){{if(o==="slot"&&!useNativeShadowDom);else{updateElement(e,r,isSvgMode)}}if(a!==null&&i!==null){updateChildren(n,a,r,i,t)}else if(i!==null){if(e.C!==null){n.textContent=""}addVnodes(n,null,r,i,0,i.length-1)}else if(!t&&BUILD.updatable&&a!==null){removeVnodes(a,0,a.length-1)}}else if(e.C!==s){n.data=s}};var insertBefore=function(e,r,t){{return e==null?void 0:e.insertBefore(r,t)}};var renderVdom=function(e,r,t){if(t===void 0){t=false}var n=e.$hostElement$;var a=e.o;var i=e.N||newVNode(null,null);var o=isHost(r)?r:h(null,null,r);hostTagName=n.tagName;if(a.H){o.T=o.T||{};a.H.map((function(e){var r=e[0],t=e[1];return o.T[t]=n[r]}))}if(t&&o.T){for(var s=0,l=Object.keys(o.T);s<l.length;s++){var u=l[s];if(n.hasAttribute(u)&&!["key","ref","style","class"].includes(u)){o.T[u]=n[u]}}}o.D=null;o.i|=4;e.N=o;o.k=i.k=n.shadowRoot||n;useNativeShadowDom=(a.i&1)!==0;patch(i,o,t)};var attachToAncestor=function(e,r){if(r&&!e.V&&r["s-p"]){var t=r["s-p"].push(new Promise((function(n){return e.V=function(){r["s-p"].splice(t-1,1);n()}})))}};var scheduleUpdate=function(e,r){{e.i|=16}if(e.i&4){e.i|=512;return}attachToAncestor(e,e.P);var t=function(){return dispatchHooks(e,r)};return writeTask(t)};var dispatchHooks=function(e,r){var t=e.$hostElement$;var n=createTime("scheduleUpdate",e.o.h);var a=e.t;if(!a){throw new Error("Can't render component <".concat(t.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 i;if(r){{i=safeCall(a,"componentWillLoad",void 0,t)}}n();return enqueue(i,(function(){return updateComponent(e,a,r)}))};var enqueue=function(e,r){return isPromisey(e)?e.then(r).catch((function(e){console.error(e);r()})):r()};var isPromisey=function(e){return e instanceof Promise||e&&e.then&&typeof e.then==="function"};var updateComponent=function(e,r,t){return __awaiter(void 0,void 0,void 0,(function(){var n,a,i,o,s,l,u;return __generator(this,(function(f){a=e.$hostElement$;i=createTime("update",e.o.h);o=a["s-rc"];if(t){attachStyles(e)}s=createTime("render",e.o.h);{callRender(e,r,a,t)}if(o){o.map((function(e){return e()}));a["s-rc"]=void 0}s();i();{l=(n=a["s-p"])!=null?n:[];u=function(){return postUpdateComponent(e)};if(l.length===0){u()}else{Promise.all(l).then(u);e.i|=4;l.length=0}}return[2]}))}))};var callRender=function(e,r,t,n){try{r=r.render();{e.i&=~16}{e.i|=2}{{{renderVdom(e,r,n)}}}}catch(r){consoleError(r,e.$hostElement$)}return null};var postUpdateComponent=function(e){var r=e.o.h;var t=e.$hostElement$;var n=createTime("postUpdate",r);var a=e.t;var i=e.P;if(!(e.i&64)){e.i|=64;{addHydratedFlag(t)}{safeCall(a,"componentDidLoad",void 0,t)}n();{e.m(t);if(!i){appDidLoad()}}}else{n()}{e.v(t)}{if(e.V){e.V();e.V=void 0}if(e.i&512){nextTick((function(){return scheduleUpdate(e,false)}))}e.i&=~(4|512)}};var appDidLoad=function(e){{addHydratedFlag(doc.documentElement)}nextTick((function(){return emitEvent(win,"appload",{detail:{namespace:NAMESPACE}})}))};var safeCall=function(e,r,t,n){if(e&&e[r]){try{return e[r](t)}catch(e){consoleError(e,n)}}return void 0};var addHydratedFlag=function(e){var r;return e.setAttribute((r=BUILD.hydratedSelectorName)!=null?r:"hydrated","")};var getValue=function(e,r){return getHostRef(e).l.get(r)};var setValue=function(e,r,t,n){var a=getHostRef(e);if(!a){throw new Error("Couldn't find host element for \"".concat(n.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 i=a.l.get(r);var o=a.i;var s=a.t;t=parsePropertyValue(t,n.$[r][0]);var l=Number.isNaN(i)&&Number.isNaN(t);var u=t!==i&&!l;if((!(o&8)||i===void 0)&&u){a.l.set(r,t);if(s){if((o&(2|16))===2){scheduleUpdate(a,false)}}}};var proxyComponent=function(e,r,t){var n,a;var i=e.prototype;if(r.$||BUILD.watchCallback){var o=Object.entries((n=r.$)!=null?n:{});o.map((function(e){var n=e[0],a=e[1][0];if(a&31||t&2&&a&32){var o=Object.getOwnPropertyDescriptor(i,n)||{},s=o.get,l=o.set;if(s)r.$[n][0]|=2048;if(l)r.$[n][0]|=4096;if(t&1||!s){Object.defineProperty(i,n,{get:function(){{if((r.$[n][0]&2048)===0){return getValue(this,n)}var e=getHostRef(this);var t=e?e.t:i;if(!t)return;return t[n]}},configurable:true,enumerable:true})}Object.defineProperty(i,n,{set:function(e){var i=this;var o=getHostRef(this);if(l){var s=a&32?this[n]:o.$hostElement$[n];if(typeof s==="undefined"&&o.l.get(n)){e=o.l.get(n)}else if(!o.l.get(n)&&s){o.l.set(n,s)}l.apply(this,[parsePropertyValue(e,a)]);e=a&32?this[n]:o.$hostElement$[n];setValue(this,n,e,r);return}{if((t&1)===0||(r.$[n][0]&4096)===0){setValue(this,n,e,r);if(t&1&&!o.t){o.p.then((function(){if(r.$[n][0]&4096&&o.t[n]!==o.l.get(n)){o.t[n]=e}}))}return}var u=function(){var t=o.t[n];if(!o.l.get(n)&&t){o.l.set(n,t)}o.t[n]=parsePropertyValue(e,a);setValue(i,n,o.t[n],r)};if(o.t){u()}else{o.p.then((function(){return u()}))}}}})}else if(t&1&&a&64){Object.defineProperty(i,n,{value:function(){var e=[];for(var r=0;r<arguments.length;r++){e[r]=arguments[r]}var t;var a=getHostRef(this);return(t=a==null?void 0:a.u)==null?void 0:t.then((function(){var r;return(r=a.t)==null?void 0:r[n].apply(r,e)}))}})}}));if(t&1){var s=new Map;i.attributeChangedCallback=function(e,t,n){var a=this;plt.jmp((function(){var o;var l=s.get(e);if(a.hasOwnProperty(l)&&BUILD.lazyLoad){n=a[l];delete a[l]}else if(i.hasOwnProperty(l)&&typeof a[l]==="number"&&a[l]==n){return}else if(l==null){var u=getHostRef(a);var f=u==null?void 0:u.i;if(f&&!(f&8)&&f&128&&n!==t){var c=u.t;var v=(o=r.M)==null?void 0:o[e];v==null?void 0:v.forEach((function(r){if(c[r]!=null){c[r].call(c,n,t,e)}}))}return}var d=Object.getOwnPropertyDescriptor(i,l);n=n===null&&typeof a[l]==="boolean"?false:n;if(n!==a[l]&&(!d.get||!!d.set)){a[l]=n}}))};e.observedAttributes=Array.from(new Set(__spreadArray(__spreadArray([],Object.keys((a=r.M)!=null?a:{}),true),o.filter((function(e){var r=e[0],t=e[1];return t[0]&15})).map((function(e){var t=e[0],n=e[1];var a;var i=n[1]||t;s.set(i,t);if(n[0]&512){(a=r.H)==null?void 0:a.push([t,i])}return i})),true)))}}return e};var initializeComponent=function(e,r,t,n){return __awaiter(void 0,void 0,void 0,(function(){var n,a,i,o,s,l,u,f,c;return __generator(this,(function(v){switch(v.label){case 0:if(!((r.i&32)===0))return[3,4];r.i|=32;a=loadModule(t,r);if(!(a&&"then"in a))return[3,2];i=uniqueTime();return[4,a];case 1:n=v.sent();i();return[3,3];case 2:n=a;v.label=3;case 3:if(!n){throw new Error('Constructor for "'.concat(t.h,"#").concat(r.U,'" was not found'))}if(!n.isProxied){proxyComponent(n,t,2);n.isProxied=true}o=createTime("createInstance",t.h);{r.i|=8}try{new n(r)}catch(r){consoleError(r,e)}{r.i&=~8}o();if(n&&n.style){s=void 0;if(typeof n.style==="string"){s=n.style}l=getScopeId(t);if(!styles.has(l)){u=createTime("registerStyles",t.h);registerStyle(l,s,!!(t.i&1));u()}}v.label=4;case 4:f=r.P;c=function(){return scheduleUpdate(r,true)};if(f&&f["s-rc"]){f["s-rc"].push(c)}else{c()}return[2]}}))}))};var fireConnectedCallback=function(e,r){};var connectedCallback=function(e){if((plt.i&1)===0){var r=getHostRef(e);var t=r.o;var n=createTime("connectedCallback",t.h);if(!(r.i&1)){r.i|=1;{var a=e;while(a=a.parentNode||a.host){if(a["s-p"]){attachToAncestor(r,r.P=a);break}}}if(t.$){Object.entries(t.$).map((function(r){var t=r[0],n=r[1][0];if(n&31&&e.hasOwnProperty(t)){var a=e[t];delete e[t];e[t]=a}}))}{initializeComponent(e,r,t)}}else{if(r==null?void 0:r.t);else if(r==null?void 0:r.p){r.p.then((function(){return fireConnectedCallback()}))}}n()}};var disconnectInstance=function(e,r){};var disconnectedCallback=function(e){return __awaiter(void 0,void 0,void 0,(function(){var r;return __generator(this,(function(t){if((plt.i&1)===0){r=getHostRef(e);if(r==null?void 0:r.t);else if(r==null?void 0:r.p){r.p.then((function(){return disconnectInstance()}))}}if(rootAppliedStyles.has(e)){rootAppliedStyles.delete(e)}if(e.shadowRoot&&rootAppliedStyles.has(e.shadowRoot)){rootAppliedStyles.delete(e.shadowRoot)}return[2]}))}))};var bootstrapLazy=function(e,r){if(r===void 0){r={}}var t;var n=createTime();var a=[];var i=r.exclude||[];var o=win.customElements;var s=doc.head;var l=s.querySelector("meta[charset]");var u=doc.createElement("style");var f=[];var c;var v=true;Object.assign(plt,r);plt._=new URL(r.resourcesUrl||"./",doc.baseURI).href;var d=false;e.map((function(e){e[1].map((function(r){var t={i:r[0],h:r[1],$:r[2],j:r[3]};if(t.i&4){d=true}{t.$=r[2]}{t.H=[]}var n=t.h;var s=function(e){__extends(r,e);function r(r){var n=e.call(this,r)||this;n.hasRegisteredEventListeners=false;r=n;registerHost(r,t);if(t.i&1){{if(!r.shadowRoot){{r.attachShadow({mode:"open"})}}else{if(r.shadowRoot.mode!=="open"){throw new Error("Unable to re-use existing shadow root for ".concat(t.h,"! Mode is set to ").concat(r.shadowRoot.mode," but Stencil only supports open shadow roots."))}}}}return n}r.prototype.connectedCallback=function(){var e=this;getHostRef(this);if(!this.hasRegisteredEventListeners){this.hasRegisteredEventListeners=true}if(c){clearTimeout(c);c=null}if(v){f.push(this)}else{plt.jmp((function(){return connectedCallback(e)}))}};r.prototype.disconnectedCallback=function(){var e=this;plt.jmp((function(){return disconnectedCallback(e)}));plt.raf((function(){var r;var t=getHostRef(e);if(((r=t==null?void 0:t.N)==null?void 0:r.k)instanceof Node&&!t.N.k.isConnected){delete t.N.k}}))};r.prototype.componentOnReady=function(){return getHostRef(this).p};return r}(HTMLElement);t.S=e[0];if(!i.includes(n)&&!o.get(n)){a.push(n);o.define(n,proxyComponent(s,t,1))}}))}));if(a.length>0){if(d){u.textContent+=SLOT_FB_CSS}{u.textContent+=a.sort()+HYDRATED_CSS}if(u.innerHTML.length){u.setAttribute("data-styles","");var p=(t=plt.L)!=null?t:queryNonceMetaTagContent(doc);if(p!=null){u.setAttribute("nonce",p)}s.insertBefore(u,l?l.nextSibling:s.firstChild)}}v=false;if(f.length){f.map((function(e){return e.connectedCallback()}))}else{{plt.jmp((function(){return c=setTimeout(appDidLoad,30)}))}}n()};var setNonce=function(e){return plt.L=e};export{Host as H,bootstrapLazy as b,getElement as g,h,promiseResolve as p,registerInstance as r,setNonce as s};
|
|
@@ -1 +0,0 @@
|
|
|
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 u(t){try{a(r.next(t))}catch(t){c(t)}}function o(t){try{a(r["throw"](t))}catch(t){c(t)}}function a(t){t.done?e(t.value):i(t.value).then(u,o)}a((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,u;return u={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function o(t){return function(n){return a([t,n])}}function a(o){if(r)throw new TypeError("Generator is already executing.");while(u&&(u=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-88f814c9.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-95fc715e.system",[[1,"mds-table-row",{interactive:[516],overlayActions:[516,"overlay-actions"],selectable:[516],selected:[1540],value:[520],language:[32],updateLang:[64]}]]]],n)]}}))}))}))}}}));
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import{r as t,h as n,H as e,g as r}from"./p-22d4881a.js";"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;var i={exports:{}};i.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,n=Array.isArray||function(n){return"[object Array]"===t.call(n)};function e(t){return"function"==typeof t}function r(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function i(t,n){return null!=t&&"object"==typeof t&&n in t}var o=RegExp.prototype.test;var s=/\S/;function a(t){return!function(t,n){return o.call(t,n)}(s,t)}var c={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="};var l=/\s*/,d=/\s+/,h=/\s*=/,f=/\s*\}/,u=/#|\^|\/|>|\{|&|=|!/;function b(t){this.string=t,this.tail=t,this.pos=0}function m(t,n){this.view=t,this.cache={".":this.view},this.parent=n}function v(){this.templateCache={_cache:{},set:function(t,n){this._cache[t]=n},get:function(t){return this._cache[t]},clear:function(){this._cache={}}}}b.prototype.eos=function(){return""===this.tail},b.prototype.scan=function(t){var n=this.tail.match(t);if(!n||0!==n.index)return"";var e=n[0];return this.tail=this.tail.substring(e.length),this.pos+=e.length,e},b.prototype.scanUntil=function(t){var n,e=this.tail.search(t);switch(e){case-1:n=this.tail,this.tail="";break;case 0:n="";break;default:n=this.tail.substring(0,e),this.tail=this.tail.substring(e)}return this.pos+=n.length,n},m.prototype.push=function(t){return new m(t,this)},m.prototype.lookup=function(t){var n,r,o,s=this.cache;if(s.hasOwnProperty(t))n=s[t];else{for(var a,c,l,d=this,h=!1;d;){if(t.indexOf(".")>0)for(a=d.view,c=t.split("."),l=0;null!=a&&l<c.length;)l===c.length-1&&(h=i(a,c[l])||(o=c[l],null!=(r=a)&&"object"!=typeof r&&r.hasOwnProperty&&r.hasOwnProperty(o))),a=a[c[l++]];else a=d.view[t],h=i(d.view,t);if(h){n=a;break}d=d.parent}s[t]=n}return e(n)&&(n=n.call(this.view)),n},v.prototype.clearCache=function(){void 0!==this.templateCache&&this.templateCache.clear()},v.prototype.parse=function(t,e){var i=this.templateCache,o=t+":"+(e||w.tags).join(":"),s=void 0!==i,c=s?i.get(o):void 0;return null==c&&(c=function(t,e){if(!t)return[];var i,o,s,c=!1,m=[],v=[],g=[],p=!1,k=!1,y="",x=0;function R(){if(p&&!k)for(;g.length;)delete v[g.pop()];else g=[];p=!1,k=!1}function j(t){if("string"==typeof t&&(t=t.split(d,2)),!n(t)||2!==t.length)throw new Error("Invalid tags: "+t);i=new RegExp(r(t[0])+"\\s*"),o=new RegExp("\\s*"+r(t[1])),s=new RegExp("\\s*"+r("}"+t[1]))}j(e||w.tags);for(var E,S,X,z,C,D,L=new b(t);!L.eos();){if(E=L.pos,X=L.scanUntil(i))for(var T=0,U=X.length;T<U;++T)a(z=X.charAt(T))?(g.push(v.length),y+=z):(k=!0,c=!0,y+=" "),v.push(["text",z,E,E+1]),E+=1,"\n"===z&&(R(),y="",x=0,c=!1);if(!L.scan(i))break;if(p=!0,S=L.scan(u)||"name",L.scan(l),"="===S?(X=L.scanUntil(h),L.scan(h),L.scanUntil(o)):"{"===S?(X=L.scanUntil(s),L.scan(f),L.scanUntil(o),S="&"):X=L.scanUntil(o),!L.scan(o))throw new Error("Unclosed tag at "+L.pos);if(C=">"==S?[S,X,E,L.pos,y,x,c]:[S,X,E,L.pos],x++,v.push(C),"#"===S||"^"===S)m.push(C);else if("/"===S){if(!(D=m.pop()))throw new Error('Unopened section "'+X+'" at '+E);if(D[1]!==X)throw new Error('Unclosed section "'+D[1]+'" at '+E)}else"name"===S||"{"===S||"&"===S?k=!0:"="===S&&j(X)}if(R(),D=m.pop())throw new Error('Unclosed section "'+D[1]+'" at '+L.pos);return function(t){for(var n,e=[],r=e,i=[],o=0,s=t.length;o<s;++o)switch((n=t[o])[0]){case"#":case"^":r.push(n),i.push(n),r=n[4]=[];break;case"/":i.pop()[5]=n[2],r=i.length>0?i[i.length-1][4]:e;break;default:r.push(n)}return e}(function(t){for(var n,e,r=[],i=0,o=t.length;i<o;++i)(n=t[i])&&("text"===n[0]&&e&&"text"===e[0]?(e[1]+=n[1],e[3]=n[3]):(r.push(n),e=n));return r}(v))}(t,e),s&&i.set(o,c)),c},v.prototype.render=function(t,n,e,r){var i=this.getConfigTags(r),o=this.parse(t,i),s=n instanceof m?n:new m(n,void 0);return this.renderTokens(o,s,e,t,r)},v.prototype.renderTokens=function(t,n,e,r,i){for(var o,s,a,c="",l=0,d=t.length;l<d;++l)a=void 0,"#"===(s=(o=t[l])[0])?a=this.renderSection(o,n,e,r,i):"^"===s?a=this.renderInverted(o,n,e,r,i):">"===s?a=this.renderPartial(o,n,e,i):"&"===s?a=this.unescapedValue(o,n):"name"===s?a=this.escapedValue(o,n,i):"text"===s&&(a=this.rawValue(o)),void 0!==a&&(c+=a);return c},v.prototype.renderSection=function(t,r,i,o,s){var a=this,c="",l=r.lookup(t[1]);if(l){if(n(l))for(var d=0,h=l.length;d<h;++d)c+=this.renderTokens(t[4],r.push(l[d]),i,o,s);else if("object"==typeof l||"string"==typeof l||"number"==typeof l)c+=this.renderTokens(t[4],r.push(l),i,o,s);else if(e(l)){if("string"!=typeof o)throw new Error("Cannot use higher-order sections without the original template");null!=(l=l.call(r.view,o.slice(t[3],t[5]),(function(t){return a.render(t,r,i,s)})))&&(c+=l)}else c+=this.renderTokens(t[4],r,i,o,s);return c}},v.prototype.renderInverted=function(t,e,r,i,o){var s=e.lookup(t[1]);if(!s||n(s)&&0===s.length)return this.renderTokens(t[4],e,r,i,o)},v.prototype.indentPartial=function(t,n,e){for(var r=n.replace(/[^ \t]/g,""),i=t.split("\n"),o=0;o<i.length;o++)i[o].length&&(o>0||!e)&&(i[o]=r+i[o]);return i.join("\n")},v.prototype.renderPartial=function(t,n,r,i){if(r){var o=this.getConfigTags(i),s=e(r)?r(t[1]):r[t[1]];if(null!=s){var a=t[4],c=s;0==t[5]&&a&&(c=this.indentPartial(s,a,t[6]));var l=this.parse(c,o);return this.renderTokens(l,n,r,c,i)}}},v.prototype.unescapedValue=function(t,n){var e=n.lookup(t[1]);if(null!=e)return e},v.prototype.escapedValue=function(t,n,e){var r=this.getConfigEscape(e)||w.escape,i=n.lookup(t[1]);if(null!=i)return"number"==typeof i&&r===w.escape?String(i):r(i)},v.prototype.rawValue=function(t){return t[1]},v.prototype.getConfigTags=function(t){return n(t)?t:t&&"object"==typeof t?t.tags:void 0},v.prototype.getConfigEscape=function(t){return t&&"object"==typeof t&&!n(t)?t.escape:void 0};var w={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){g.templateCache=t},get templateCache(){return g.templateCache}},g=new v;return w.clearCache=function(){return g.clearCache()},w.parse=function(t,n){return g.parse(t,n)},w.render=function(t,e,r,i){if("string"!=typeof t)throw new TypeError('Invalid template! Template should be a "string" but "'+((n(o=t)?"array":typeof o)+'" was given as the first argument for mustache#render(template, view, partials)'));var o;return g.render(t,e,r,i)},w.escape=function(t){return String(t).replace(/[&<>"'`=\/]/g,(function(t){return c[t]}))},w.Scanner=b,w.Context=m,w.Writer=v,w}();class o{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 n=null!=t?t:this.element.shadowRoot;n&&n.querySelectorAll("*").forEach((t=>{t.tagName.toLowerCase().startsWith("mds-")&&t&&"updateLang"in t&&t.updateLang()}))},this.pluralize=(t,n)=>{const e=this.config[this.language]?this.config[this.language][t]:this.config[this.rollbackLanguage][t],r=[];Array.isArray(e)?(r.push(e[0]),r.push(e[1])):(r.push(e),r.push(e));const[o]=r;let s=o;const a=Object.keys(n);if(a.length>0){const[t]=a;"number"==typeof n[t]&&1!==n[t]&&(s=r[1])}return i.exports.render(s,n)},this.get=(t,n)=>n?this.pluralize(t,n):this.config[this.language]?this.config[this.language][t]:this.config[this.rollbackLanguage][t],t&&this.set(t)}}const s={selectRow:"Επιλογή γραμμής",unselectRow:"Αποεπιλογή γραμμής"},a={selectRow:"Select row",unselectRow:"Deselect row"},c={selectRow:"Seleccionar fila",unselectRow:"Deseleccionar fila"},l={selectRow:"Seleziona riga",unselectRow:"Deseleziona riga"},d=class{constructor(n){t(this,n),this.t=new o({el:s,en:a,es:c,it:l}),this.selectable=void 0,this.handleSelectionChange=t=>{var n;this.selected=t.detail.checked,null===(n=this.host.closest("mds-table"))||void 0===n||n.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('[slot="action"]')}componentDidLoad(){var t;this.hasActions&&(this.actions=null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelector(".actions"),this.sizerWidth=`${this.actions.offsetWidth.toString()}px`)}render(){return n(e,{key:"4905591b94a0af846d25e3cf55fe5805ecec76be",role:"row"},this.selectable&&n("mds-table-cell",{key:"07f8596969f20148250cc42fde0a806435825274",class:"selection-cell"},n("div",{key:"2d0bb74f3f5edaf6180c68a60457b374dcd7a4bd",class:"checkbox-wrapper"},n("mds-input-switch",{key:"e04fafd6a53ed1c6a4208b0317419fe21d08f28e",title:this.t.get(this.selected?"unselectRow":"selectRow"),lang:this.language,type:"checkbox",checked:this.selected,onMdsInputSwitchChange:this.handleSelectionChange}))),n("slot",{key:"d71c2ec9e675fd8190eeeb7d816a5e2566c6afc4"}),this.hasActions&&n("mds-table-cell",{key:"0ede2c5f98d7541920c4170d70c21f9f61ac93cb",class:"actions-cell"},n("div",{key:"8a097d4b04bd594778f51bedfe438fe1fd3479b3",class:"actions-sizer",style:{minHeight:"1px",maxWidth:this.sizerWidth,minWidth:this.sizerWidth}}),n("div",{key:"31f1fe8d7e4ee01f33f1c6a5b76e23fd875dfd82",class:"actions-view"},n("div",{key:"762785e31a306ba3c1e7654218bdf8cb33044cd3",class:"actions",style:{marginRight:`calc(${this.sizerWidth} + var(--mds-table-cell-padding))`}},n("slot",{key:"05ea2b5edc71e58859e55e52c1ab65ca0c5354f8",name:"action"})))))}get host(){return r(this)}};d.style='@tailwind utilities;\n\n:host {\n\n --mds-table-row-color-hover: var(--mds-table-color, rgb(var(--tone-neutral-02)));\n --mds-table-row-color-alt: var(--mds-table-color-alt, rgb(var(--tone-neutral-02)));\n --mds-table-row-background-hover: var(--mds-table-background, rgb(var(--tone-neutral)));\n --mds-table-row-background-alt: var(--mds-table-background-alt, rgb(var(--tone-neutral)));\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.selection-cell {\n vertical-align: middle;\n}\n\n.checkbox-wrapper {\n display: -ms-flexbox;\n display: flex;\n}\n\n:host([interactive]:hover) {\n\n --mds-table-row-actions-background: var(--mds-table-row-background-hover);\n --mds-table-row-background: var(--mds-table-row-background-hover);\n --mds-table-row-color: var(--mds-table-row-color-hover);\n}\n\n:host([selected]) {\n\n --mds-table-row-background: var(--mds-table-row-background-hover);\n --mds-table-row-color: var(--mds-table-row-color-hover);\n}\n\n:host([sorted]) {\n\n --mds-table-row-background: var(--mds-table-row-background-alt);\n --mds-table-row-color: var(--mds-table-row-color-alt);\n}\n\n:host([sorted][selected]) {\n\n --mds-table-row-background: var(--mds-table-row-background-hover);\n --mds-table-row-color: var(--mds-table-row-color-hover);\n}\n\n.actions-view {\n -ms-flex-align: center;\n align-items: center;\n display: -ms-flexbox;\n display: flex;\n inset: 0;\n -ms-flex-pack: end;\n justify-content: end;\n pointer-events: none;\n position: absolute;\n}\n\n.actions {\n\n --mds-table-row-actions-background: var(--mds-table-row-background);\n\n -ms-flex-align: center;\n\n align-items: center;\n background-color: var(--mds-table-row-actions-background);\n border-bottom-left-radius: calc(0.5rem + var(--mds-table-border-width) * 2);\n border-top-left-radius: calc(0.5rem + var(--mds-table-border-width) * 2);\n display: -ms-inline-flexbox;\n display: inline-flex;\n gap: var(--mds-table-row-actions-gap);\n inset: 0;\n margin-right: 100%;\n padding: calc(var(--mds-table-border-width) * 2);\n padding-right: 0;\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, padding-right, -webkit-transform;\n transition-property: background-color, padding-right, -webkit-transform;\n transition-property: transform, background-color, padding-right;\n transition-property: transform, background-color, padding-right, -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:host(:hover) .actions {\n -webkit-transform: translateX(100%);\n transform: translateX(100%);\n}\n\n:host([overlay-actions]) .actions {\n padding-right: var(--mds-table-cell-padding);\n -webkit-transform: translateX(100%);\n transform: translateX(100%);\n}\n\n:host([overlay-actions]:hover) .actions {\n\n --mds-table-row-actions-background: var(--mds-table-row-background);\n\n -webkit-transform: translateX(0);\n\n transform: translateX(0);\n}\n\n:host(:hover):host-context(mds-table[interactive="false"]) .actions,\n:host(:hover):host-context(mds-table:not([interactive])) .actions {\n\n --mds-table-row-actions-background: var(--mds-table-row-background-hover);\n}\n\n:host(:not([selected]):hover):host-context(mds-table[selection]:not([interactive])) .actions,\n:host(:not([selected]):hover):host-context(mds-table[selection][interactive="false"]) .actions,\n:host([selected="false"]:hover):host-context(mds-table[selection]:not([interactive])) .actions,\n:host([selected="false"]:hover):host-context(mds-table[selection][interactive="false"]) .actions {\n\n --mds-table-row-actions-background: var(--mds-table-row-background-alt);\n}\n\n@container style(--magma-pref-animation: reduce) {\n :host,\n .actions {\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 .actions {\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n }\n}\n\n';export{d as mds_table_row}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var e=Object.defineProperty,t=new WeakMap,n=e=>t.get(e),o=(e,n)=>{t.set(n.t=e,n)},l=(e,t)=>t in e,s=(e,t)=>(0,console.error)(e,t),i=new Map,r=new Map,c="slot-fb{display:contents}slot-fb[hidden]{display:none}",u="undefined"!=typeof window?window:{},a=u.document||{head:{}},f={o:0,l:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,o)=>e.addEventListener(t,n,o),rel:(e,t,n,o)=>e.removeEventListener(t,n,o),ce:(e,t)=>new CustomEvent(e,t)},h=e=>Promise.resolve(e),d=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),p=!1,m=[],y=[],v=(e,t)=>n=>{e.push(n),p||(p=!0,t&&4&f.o?w(b):f.raf(b))},$=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){s(e)}e.length=0},b=()=>{$(m),$(y),(p=m.length>0)&&f.raf(b)},w=e=>h().then(e),S=v(y,!0),g=e=>"object"==(e=typeof e)||"function"===e;function j(e){var t,n,o;return null!=(o=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}((t,n)=>{for(var o in n)e(t,o,{get:n[o],enumerable:!0})})({},{err:()=>k,map:()=>E,ok:()=>O,unwrap:()=>M,unwrapErr:()=>P});var O=e=>({isOk:!0,isErr:!1,value:e}),k=e=>({isOk:!1,isErr:!0,value:e});function E(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>O(e))):O(n)}if(e.isErr)return k(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 o=null,l=null,s=!1,i=!1;const r=[],c=t=>{for(let n=0;n<t.length;n++)o=t[n],Array.isArray(o)?c(o):null!=o&&"boolean"!=typeof o&&((s="function"!=typeof e&&!g(o))&&(o+=""),s&&i?r[r.length-1].i+=o:r.push(s?A(null,o):o),i=s)};if(c(n),t){t.key&&(l=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,r.length>0&&(u.h=r),u.p=l,u},A=(e,t)=>({o:0,m:e,i:t,v:null,h:null,u:null,p:null}),H={},D=(e,t)=>null==e||g(e)?e:4&t?"false"!==e&&(""===e||!!e):e,L=e=>n(e).$hostElement$,N=new WeakMap,R=e=>"sc-"+e.$,T=(e,t,n,o,s,i)=>{if(n!==o){let r=l(e,t),c=t.toLowerCase();if("class"===t){const t=e.classList,l=W(n);let s=W(o);t.remove(...l.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!l.includes(e))))}else if("style"===t){for(const t in n)o&&null!=o[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in o)n&&o[t]===n[t]||(t.includes("-")?e.style.setProperty(t,o[t]):e.style[t]=o[t])}else if("key"===t);else if(r||"o"!==t[0]||"n"!==t[1]){const l=g(o);if((r||l&&null!==o)&&!s)try{if(e.tagName.includes("-"))e[t]!==o&&(e[t]=o);else{const l=null==o?"":o;"list"===t?r=!1:null!=n&&e[t]==l||("function"==typeof e.__lookupSetter__(t)?e[t]=l:e.setAttribute(t,l))}}catch(e){}null==o||!1===o?!1===o&&""!==e.getAttribute(t)||e.removeAttribute(t):(!r||4&i||s)&&!l&&e.setAttribute(t,o=!0===o?"":o)}else if(t="-"===t[2]?t.slice(3):l(u,c)?c.slice(2):c[2]+t.slice(3),n||o){const l=t.endsWith(F);t=t.replace(V,""),n&&f.rel(e,t,n,l),o&&f.ael(e,t,o,l)}}},U=/\s/,W=e=>("object"==typeof e&&e&&"baseVal"in e&&(e=e.baseVal),e&&"string"==typeof e?e.split(U):[]),F="Capture",V=RegExp(F+"$"),q=(e,t,n)=>{const o=11===t.v.nodeType&&t.v.host?t.v.host:t.v,l=e&&e.u||{},s=t.u||{};for(const e of G(Object.keys(l)))e in s||T(o,e,l[e],void 0,n,t.o);for(const e of G(Object.keys(s)))T(o,e,l[e],s[e],n,t.o)};function G(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var _=!1,z=!1,B=(e,t,n)=>{const o=t.h[n];let l,s,i=0;if(null!==o.i)l=o.v=a.createTextNode(o.i);else if(l=o.v=a.createElement(o.m),q(null,o,z),o.h)for(i=0;i<o.h.length;++i)s=B(e,o,i),s&&l.appendChild(s);return l["s-hn"]=C,l},I=(e,t,n,o,l,s)=>{let i,r=e;for(r.shadowRoot&&r.tagName===C&&(r=r.shadowRoot);l<=s;++l)o[l]&&(i=B(null,n,l),i&&(o[l].v=i,X(r,i,t)))},J=(e,t,n)=>{for(let o=t;o<=n;++o){const t=e[o];if(t){const e=t.v;e&&e.remove()}}},K=(e,t,n=!1)=>e.m===t.m&&(n?(n&&!e.p&&t.p&&(e.p=t.p),!0):e.p===t.p),Q=(e,t,n=!1)=>{const o=t.v=e.v,l=e.h,s=t.h,i=t.i;null===i?(("slot"!==t.m||_)&&q(e,t,z),null!==l&&null!==s?((e,t,n,o,l=!1)=>{let s,i,r=0,c=0,u=0,a=0,f=t.length-1,h=t[0],d=t[f],p=o.length-1,m=o[0],y=o[p];for(;r<=f&&c<=p;)if(null==h)h=t[++r];else if(null==d)d=t[--f];else if(null==m)m=o[++c];else if(null==y)y=o[--p];else if(K(h,m,l))Q(h,m,l),h=t[++r],m=o[++c];else if(K(d,y,l))Q(d,y,l),d=t[--f],y=o[--p];else if(K(h,y,l))Q(h,y,l),X(e,h.v,d.v.nextSibling),h=t[++r],y=o[--p];else if(K(d,m,l))Q(d,m,l),X(e,d.v,h.v),d=t[--f],m=o[++c];else{for(u=-1,a=r;a<=f;++a)if(t[a]&&null!==t[a].p&&t[a].p===m.p){u=a;break}u>=0?(i=t[u],i.m!==m.m?s=B(t&&t[c],n,u):(Q(i,m,l),t[u]=void 0,s=i.v),m=o[++c]):(s=B(t&&t[c],n,c),m=o[++c]),s&&X(h.v.parentNode,s,h.v)}r>f?I(e,null==o[p+1]?null:o[p+1].v,n,o,c,p):c>p&&J(t,r,f)})(o,l,t,s,n):null!==s?(null!==e.i&&(o.textContent=""),I(o,null,t,s,0,s.length-1)):!n&&null!==l&&J(l,0,l.length-1)):e.i!==i&&(o.data=i)},X=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),Y=(e,t)=>{if(t&&!e.S&&t["s-p"]){const n=t["s-p"].push(new Promise((o=>e.S=()=>{t["s-p"].splice(n-1,1),o()})))}},Z=(e,t)=>{if(e.o|=16,!(4&e.o))return Y(e,e.j),S((()=>ee(e,t)));e.o|=512},ee=(e,t)=>{const n=e.$hostElement$,o=e.t;if(!o)throw Error(`Can't render component <${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`);let l;return t&&(l=re(o,"componentWillLoad",void 0,n)),te(l,(()=>oe(e,o,t)))},te=(e,t)=>ne(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),ne=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,oe=async(e,t,n)=>{var o;const l=e.$hostElement$,s=l["s-rc"];n&&(e=>{const t=e.O,n=e.$hostElement$,o=t.o,l=((e,t)=>{var n;const o=R(t),l=r.get(o);if(e=11===e.nodeType?e:a,l)if("string"==typeof l){let s,i=N.get(e=e.head||e);if(i||N.set(e,i=new Set),!i.has(o)){{s=document.querySelector(`[sty-id="${o}"]`)||a.createElement("style"),s.innerHTML=l;const i=null!=(n=f.k)?n:j(a);if(null!=i&&s.setAttribute("nonce",i),!(1&t.o))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,(null==n?void 0:n.parentNode)===e?n:null)}else if("host"in e)if(d){const t=new CSSStyleSheet;t.replaceSync(l),e.adoptedStyleSheets=[t,...e.adoptedStyleSheets]}else{const t=e.querySelector("style");t?t.innerHTML=l+t.innerHTML:e.prepend(s)}else e.append(s);1&t.o&&"HEAD"!==e.nodeName&&e.insertBefore(s,null)}4&t.o&&(s.innerHTML+=c),i&&i.add(o)}}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return o})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&o&&2&o&&(n["s-sc"]=l,n.classList.add(l+"-h"))})(e);le(e,t,l,n),s&&(s.map((e=>e())),l["s-rc"]=void 0);{const t=null!=(o=l["s-p"])?o:[],n=()=>se(e);0===t.length?n():(Promise.all(t).then(n),e.o|=4,t.length=0)}},le=(e,t,n,o)=>{try{t=t.render(),e.o&=-17,e.o|=2,((e,t,n=!1)=>{const o=e.$hostElement$,l=e.O,s=e.C||A(null,null),i=(e=>e&&e.m===H)(t)?t:x(null,null,t);if(C=o.tagName,l.M&&(i.u=i.u||{},l.M.map((([e,t])=>i.u[t]=o[e]))),n&&i.u)for(const e of Object.keys(i.u))o.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(i.u[e]=o[e]);i.m=null,i.o|=4,e.C=i,i.v=s.v=o.shadowRoot||o,_=!!(1&l.o),Q(s,i,n)})(e,t,o)}catch(t){s(t,e.$hostElement$)}return null},se=e=>{const t=e.$hostElement$,n=e.t,o=e.j;64&e.o||(e.o|=64,ce(t),re(n,"componentDidLoad",void 0,t),e.P(t),o||ie()),e.A(t),e.S&&(e.S(),e.S=void 0),512&e.o&&w((()=>Z(e,!1))),e.o&=-517},ie=()=>{ce(a.documentElement),w((()=>(e=>{const t=f.ce("appload",{detail:{namespace:"mds-table-row"}});return e.dispatchEvent(t),t})(u)))},re=(e,t,n,o)=>{if(e&&e[t])try{return e[t](n)}catch(e){s(e,o)}},ce=e=>e.setAttribute("hydrated",""),ue=(e,t,o,l)=>{const s=n(e);if(!s)throw Error(`Couldn't find host element for "${l.$}" 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 i=s.H.get(t),r=s.o,c=s.t;o=D(o,l.D[t][0]),8&r&&void 0!==i||o===i||Number.isNaN(i)&&Number.isNaN(o)||(s.H.set(t,o),c&&2==(18&r)&&Z(s,!1))},ae=(e,t,o)=>{var l,s;const i=e.prototype;if(t.D){const r=Object.entries(null!=(l=t.D)?l:{});if(r.map((([e,[l]])=>{if(31&l||2&o&&32&l){const{get:s,set:r}=Object.getOwnPropertyDescriptor(i,e)||{};s&&(t.D[e][0]|=2048),r&&(t.D[e][0]|=4096),(1&o||!s)&&Object.defineProperty(i,e,{get(){{if(!(2048&t.D[e][0]))return((e,t)=>n(this).H.get(t))(0,e);const o=n(this),l=o?o.t:i;if(!l)return;return l[e]}},configurable:!0,enumerable:!0}),Object.defineProperty(i,e,{set(s){const i=n(this);if(r){const n=32&l?this[e]:i.$hostElement$[e];return void 0===n&&i.H.get(e)?s=i.H.get(e):!i.H.get(e)&&n&&i.H.set(e,n),r.call(this,D(s,l)),void ue(this,e,s=32&l?this[e]:i.$hostElement$[e],t)}{if(!(1&o&&4096&t.D[e][0]))return ue(this,e,s,t),void(1&o&&!i.t&&i.L.then((()=>{4096&t.D[e][0]&&i.t[e]!==i.H.get(e)&&(i.t[e]=s)})));const n=()=>{const n=i.t[e];!i.H.get(e)&&n&&i.H.set(e,n),i.t[e]=D(s,l),ue(this,e,i.t[e],t)};i.t?n():i.L.then((()=>n()))}}})}else 1&o&&64&l&&Object.defineProperty(i,e,{value(...t){var o;const l=n(this);return null==(o=null==l?void 0:l.N)?void 0:o.then((()=>{var n;return null==(n=l.t)?void 0:n[e](...t)}))}})})),1&o){const o=new Map;i.attributeChangedCallback=function(e,l,s){f.jmp((()=>{var r;const c=o.get(e);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(i.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const o=n(this),i=null==o?void 0:o.o;if(i&&!(8&i)&&128&i&&s!==l){const n=o.t,i=null==(r=t.R)?void 0:r[e];null==i||i.forEach((t=>{null!=n[t]&&n[t].call(n,s,l,e)}))}return}}const u=Object.getOwnPropertyDescriptor(i,c);(s=(null!==s||"boolean"!=typeof this[c])&&s)===this[c]||u.get&&!u.set||(this[c]=s)}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(s=t.R)?s:{}),...r.filter((([e,t])=>15&t[0])).map((([e,n])=>{var l;const s=n[1]||e;return o.set(s,e),512&n[0]&&(null==(l=t.M)||l.push([e,s])),s}))]))}}return e},fe=(e,o={})=>{var l;const h=[],p=o.exclude||[],m=u.customElements,y=a.head,v=y.querySelector("meta[charset]"),$=a.createElement("style"),b=[];let w,S=!0;Object.assign(f,o),f.l=new URL(o.resourcesUrl||"./",a.baseURI).href;let g=!1;if(e.map((e=>{e[1].map((o=>{const l={o:o[0],$:o[1],D:o[2],T:o[3]};4&l.o&&(g=!0),l.D=o[2],l.M=[];const c=l.$,u=class extends HTMLElement{constructor(e){if(super(e),this.hasRegisteredEventListeners=!1,((e,n)=>{const o={o:0,$hostElement$:e,O:n,H:new Map};o.N=new Promise((e=>o.A=e)),o.L=new Promise((e=>o.P=e)),e["s-p"]=[],e["s-rc"]=[],t.set(e,o)})(e=this,l),1&l.o)if(e.shadowRoot){if("open"!==e.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${l.$}! Mode is set to ${e.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else e.attachShadow({mode:"open"})}connectedCallback(){this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),w&&(clearTimeout(w),w=null),S?b.push(this):f.jmp((()=>(e=>{if(!(1&f.o)){const t=n(e),o=t.O,l=()=>{};if(1&t.o)(null==t?void 0:t.t)||(null==t?void 0:t.L)&&t.L.then((()=>{}));else{t.o|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){Y(t,t.j=n);break}}o.D&&Object.entries(o.D).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n)=>{let o;if(!(32&t.o)){t.o|=32;{const l=((e,t)=>{const n=e.$.replace(/-/g,"_"),o=e.U;if(!o)return;const l=i.get(o);return l?l[n]:import(`./${o}.entry.js`).then((e=>(i.set(o,e),e[n])),(e=>{s(e,t.$hostElement$)}))
|
|
2
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n,t);if(l&&"then"in l){const e=()=>{};o=await l,e()}else o=l;if(!o)throw Error(`Constructor for "${n.$}#${t.W}" was not found`);o.isProxied||(ae(o,n,2),o.isProxied=!0);const r=()=>{};t.o|=8;try{new o(t)}catch(t){s(t,e)}t.o&=-9,r()}if(o&&o.style){let e;"string"==typeof o.style&&(e=o.style);const t=R(n);if(!r.has(t)){const o=()=>{};((e,t,n)=>{let o=r.get(e);d&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=t:o.replaceSync(t)):o=t,r.set(e,o)})(t,e,!!(1&n.o)),o()}}}const l=t.j,c=()=>Z(t,!0);l&&l["s-rc"]?l["s-rc"].push(c):c()})(e,t,o)}l()}})(this)))}disconnectedCallback(){f.jmp((()=>(async e=>{if(!(1&f.o)){const t=n(e);(null==t?void 0:t.t)||(null==t?void 0:t.L)&&t.L.then((()=>{}))}N.has(e)&&N.delete(e),e.shadowRoot&&N.has(e.shadowRoot)&&N.delete(e.shadowRoot)})(this))),f.raf((()=>{var e;const t=n(this);(null==(e=null==t?void 0:t.C)?void 0:e.v)instanceof Node&&!t.C.v.isConnected&&delete t.C.v}))}componentOnReady(){return n(this).L}};l.U=e[0],p.includes(c)||m.get(c)||(h.push(c),m.define(c,ae(u,l,1)))}))})),h.length>0&&(g&&($.textContent+=c),$.textContent+=h.sort()+"{visibility:hidden}[hydrated]{visibility:inherit}",$.innerHTML.length)){$.setAttribute("data-styles","");const e=null!=(l=f.k)?l:j(a);null!=e&&$.setAttribute("nonce",e),y.insertBefore($,v?v.nextSibling:y.firstChild)}S=!1,b.length?b.map((e=>e.connectedCallback())):f.jmp((()=>w=setTimeout(ie,30)))},he=e=>f.k=e;export{H,fe as b,L as g,x as h,h as p,o as r,he as s}
|