@descope/web-components-ui 1.99.0 → 1.101.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.cjs.js +1958 -1643
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/index.esm.js +1904 -1588
- package/dist/index.esm.js.map +1 -1
- package/dist/umd/1995.js +22 -7
- package/dist/umd/1995.js.LICENSE.txt +6 -0
- package/dist/umd/1995.js.map +1 -1
- package/dist/umd/6063.js +18 -0
- package/dist/umd/6063.js.map +1 -0
- package/dist/umd/6818.js +3 -0
- package/dist/umd/6818.js.map +1 -0
- package/dist/umd/{189.js → 8248.js} +4 -4
- package/dist/umd/8248.js.map +1 -0
- package/dist/umd/8961.js +1 -1
- package/dist/umd/8961.js.map +1 -1
- package/dist/umd/8968.js +432 -0
- package/dist/umd/8968.js.map +1 -0
- package/dist/umd/8983.js +324 -7
- package/dist/umd/8983.js.map +1 -1
- package/dist/umd/{384.js → 9117.js} +9 -121
- package/dist/umd/9117.js.map +1 -0
- package/dist/umd/9275.js +18 -0
- package/dist/umd/9275.js.LICENSE.txt +23 -0
- package/dist/umd/9275.js.map +1 -0
- package/dist/umd/DescopeDev.js +1 -1
- package/dist/umd/DescopeDev.js.map +1 -1
- package/dist/umd/button-selection-group-fields-descope-button-multi-selection-group-index-js.js +1 -1
- package/dist/umd/button-selection-group-fields-descope-button-multi-selection-group-index-js.js.map +1 -1
- package/dist/umd/button-selection-group-fields-descope-button-selection-group-index-js.js +1 -1
- package/dist/umd/button-selection-group-fields-descope-button-selection-group-index-js.js.map +1 -1
- package/dist/umd/button-selection-group-fields-descope-button-selection-group-item-index-js.js +338 -1
- package/dist/umd/button-selection-group-fields-descope-button-selection-group-item-index-js.js.LICENSE.txt +5 -0
- package/dist/umd/button-selection-group-fields-descope-button-selection-group-item-index-js.js.map +1 -1
- package/dist/umd/descope-apps-list-index-js.js +1 -1
- package/dist/umd/descope-apps-list-index-js.js.map +1 -1
- package/dist/umd/descope-button.js +4 -4
- package/dist/umd/descope-button.js.LICENSE.txt +0 -6
- package/dist/umd/descope-button.js.map +1 -1
- package/dist/umd/descope-collapsible-container.js +1 -1
- package/dist/umd/descope-collapsible-container.js.map +1 -1
- package/dist/umd/descope-date-field-index-js.js +1 -1
- package/dist/umd/descope-date-field-index-js.js.map +1 -1
- package/dist/umd/descope-divider-index-js.js +1 -1
- package/dist/umd/descope-divider-index-js.js.map +1 -1
- package/dist/umd/descope-grid-descope-grid-custom-column-index-js.js +321 -4
- package/dist/umd/descope-grid-descope-grid-custom-column-index-js.js.LICENSE.txt +6 -0
- package/dist/umd/descope-grid-descope-grid-custom-column-index-js.js.map +1 -1
- package/dist/umd/descope-grid-descope-grid-item-details-column-index-js.js +322 -5
- package/dist/umd/descope-grid-descope-grid-item-details-column-index-js.js.map +1 -1
- package/dist/umd/descope-grid-descope-grid-text-column-index-js.js +321 -4
- package/dist/umd/descope-grid-descope-grid-text-column-index-js.js.LICENSE.txt +6 -0
- package/dist/umd/descope-grid-descope-grid-text-column-index-js.js.map +1 -1
- package/dist/umd/descope-link-index-js.js +1 -1
- package/dist/umd/descope-link-index-js.js.map +1 -1
- package/dist/umd/descope-recovery-codes.js +2 -0
- package/dist/umd/descope-recovery-codes.js.map +1 -0
- package/dist/umd/descope-security-questions-verify-index-js.js +1 -1
- package/dist/umd/descope-security-questions-verify-index-js.js.map +1 -1
- package/dist/umd/descope-text.js +1 -1
- package/dist/umd/descope-text.js.map +1 -1
- package/dist/umd/descope-timer-button.js +338 -1
- package/dist/umd/descope-timer-button.js.LICENSE.txt +5 -0
- package/dist/umd/descope-timer-button.js.map +1 -1
- package/dist/umd/descope-upload-file-index-js.js +338 -1
- package/dist/umd/descope-upload-file-index-js.js.LICENSE.txt +5 -0
- package/dist/umd/descope-upload-file-index-js.js.map +1 -1
- package/dist/umd/descope-user-attribute-index-js.js +338 -1
- package/dist/umd/descope-user-attribute-index-js.js.map +1 -1
- package/dist/umd/descope-user-auth-method-index-js.js +338 -1
- package/dist/umd/descope-user-auth-method-index-js.js.map +1 -1
- package/dist/umd/index.js +1 -1
- package/dist/umd/index.js.map +1 -1
- package/dist/umd/mapping-fields-descope-mappings-field-index-js.js +1 -1
- package/dist/umd/mapping-fields-descope-mappings-field-index-js.js.map +1 -1
- package/dist/umd/mapping-fields-descope-saml-group-mappings-index-js.js +1 -1
- package/dist/umd/mapping-fields-descope-saml-group-mappings-index-js.js.map +1 -1
- package/package.json +15 -14
- package/src/components/descope-date-field/DateFieldClass.js +43 -4
- package/src/theme/components/index.js +2 -0
- package/dist/umd/189.js.map +0 -1
- package/dist/umd/2894.js +0 -339
- package/dist/umd/2894.js.map +0 -1
- package/dist/umd/3792.js +0 -339
- package/dist/umd/3792.js.map +0 -1
- package/dist/umd/384.js.map +0 -1
- package/dist/umd/513.js +0 -339
- package/dist/umd/513.js.map +0 -1
- package/dist/umd/6227.js +0 -320
- package/dist/umd/6227.js.map +0 -1
- package/dist/umd/6649.js +0 -339
- package/dist/umd/6649.js.LICENSE.txt +0 -11
- package/dist/umd/6649.js.map +0 -1
- package/dist/umd/9030.js +0 -339
- package/dist/umd/9030.js.LICENSE.txt +0 -11
- package/dist/umd/9030.js.map +0 -1
- package/dist/umd/9380.js +0 -130
- package/dist/umd/9380.js.map +0 -1
- /package/dist/umd/{189.js.LICENSE.txt → 6063.js.LICENSE.txt} +0 -0
- /package/dist/umd/{6227.js.LICENSE.txt → 6818.js.LICENSE.txt} +0 -0
- /package/dist/umd/{9380.js.LICENSE.txt → 8248.js.LICENSE.txt} +0 -0
- /package/dist/umd/{2894.js.LICENSE.txt → 8968.js.LICENSE.txt} +0 -0
- /package/dist/umd/{3792.js.LICENSE.txt → 9117.js.LICENSE.txt} +0 -0
- /package/dist/umd/{384.js.LICENSE.txt → descope-user-attribute-index-js.js.LICENSE.txt} +0 -0
- /package/dist/umd/{513.js.LICENSE.txt → descope-user-auth-method-index-js.js.LICENSE.txt} +0 -0
@@ -1,5 +1,122 @@
|
|
1
1
|
/*! For license information please see descope-grid-descope-grid-item-details-column-index-js.js.LICENSE.txt */
|
2
|
-
"use strict";(self.webpackChunk_descope_web_components_ui=self.webpackChunk_descope_web_components_ui||[]).push([[2381],{1508:(
|
2
|
+
"use strict";(self.webpackChunk_descope_web_components_ui=self.webpackChunk_descope_web_components_ui||[]).push([[2381,6063],{1508:(t,o,e)=>{function a(t){const o=[];for(;t;){if(t.nodeType===Node.DOCUMENT_NODE){o.push(t);break}t.nodeType!==Node.DOCUMENT_FRAGMENT_NODE?t=t.assignedSlot?t.assignedSlot:t.parentNode:(o.push(t),t=t.host)}return o}function r(t){const o=[];let e;return"slot"===t.localName?e=t.assignedElements():(o.push(t),e=[...t.children]),e.forEach((t=>o.push(...r(t)))),o}function s(t,o){return o?o.closest(t)||s(t,o.getRootNode().host):null}function l(t){return t?new Set(t.split(" ")):new Set}function i(t){return t?[...t].join(" "):""}function n(t,o,e){const a=l(t.getAttribute(o));a.add(e),t.setAttribute(o,i(a))}function c(t,o,e){const a=l(t.getAttribute(o));a.delete(e),0!==a.size?t.setAttribute(o,i(a)):t.removeAttribute(o)}function d(t){return t.nodeType===Node.TEXT_NODE&&""===t.textContent.trim()}e.d(o,{Dy:()=>a,J$:()=>r,Wr:()=>c,Z4:()=>l,ZA:()=>d,el:()=>s,iA:()=>n,sz:()=>i})},3241:(t,o,e)=>{e(88660);var a=e(87550),r=e(36411);const s=a.AH`
|
3
|
+
:host {
|
4
|
+
/* Border radius */
|
5
|
+
--lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */
|
6
|
+
--lumo-border-radius-m: var(--lumo-border-radius, 0.25em); /* Button, text field, menu overlay, etc */
|
7
|
+
--lumo-border-radius-l: 0.5em; /* Dialog, notification, etc */
|
8
|
+
|
9
|
+
/* Shadow */
|
10
|
+
--lumo-box-shadow-xs: 0 1px 4px -1px var(--lumo-shade-50pct);
|
11
|
+
--lumo-box-shadow-s: 0 2px 4px -1px var(--lumo-shade-20pct), 0 3px 12px -1px var(--lumo-shade-30pct);
|
12
|
+
--lumo-box-shadow-m: 0 2px 6px -1px var(--lumo-shade-20pct), 0 8px 24px -4px var(--lumo-shade-40pct);
|
13
|
+
--lumo-box-shadow-l: 0 3px 18px -2px var(--lumo-shade-20pct), 0 12px 48px -6px var(--lumo-shade-40pct);
|
14
|
+
--lumo-box-shadow-xl: 0 4px 24px -3px var(--lumo-shade-20pct), 0 18px 64px -8px var(--lumo-shade-40pct);
|
15
|
+
|
16
|
+
/* Clickable element cursor */
|
17
|
+
--lumo-clickable-cursor: default;
|
18
|
+
}
|
19
|
+
`;a.AH`
|
20
|
+
html {
|
21
|
+
/* Button */
|
22
|
+
--vaadin-button-background: var(--lumo-contrast-5pct);
|
23
|
+
--vaadin-button-border: none;
|
24
|
+
--vaadin-button-border-radius: var(--lumo-border-radius-m);
|
25
|
+
--vaadin-button-font-size: var(--lumo-font-size-m);
|
26
|
+
--vaadin-button-font-weight: 500;
|
27
|
+
--vaadin-button-height: var(--lumo-size-m);
|
28
|
+
--vaadin-button-margin: var(--lumo-space-xs) 0;
|
29
|
+
--vaadin-button-min-width: calc(var(--vaadin-button-height) * 2);
|
30
|
+
--vaadin-button-padding: 0 calc(var(--vaadin-button-height) / 3 + var(--lumo-border-radius-m) / 2);
|
31
|
+
--vaadin-button-text-color: var(--lumo-primary-text-color);
|
32
|
+
--vaadin-button-primary-background: var(--lumo-primary-color);
|
33
|
+
--vaadin-button-primary-border: none;
|
34
|
+
--vaadin-button-primary-font-weight: 600;
|
35
|
+
--vaadin-button-primary-text-color: var(--lumo-primary-contrast-color);
|
36
|
+
--vaadin-button-tertiary-background: transparent !important;
|
37
|
+
--vaadin-button-tertiary-text-color: var(--lumo-primary-text-color);
|
38
|
+
--vaadin-button-tertiary-font-weight: 500;
|
39
|
+
--vaadin-button-tertiary-padding: 0 calc(var(--vaadin-button-height) / 6);
|
40
|
+
/* Checkbox */
|
41
|
+
--vaadin-checkbox-background: var(--lumo-contrast-20pct);
|
42
|
+
--vaadin-checkbox-background-hover: var(--lumo-contrast-30pct);
|
43
|
+
--vaadin-checkbox-border-radius: var(--lumo-border-radius-s);
|
44
|
+
--vaadin-checkbox-checkmark-char: var(--lumo-icons-checkmark);
|
45
|
+
--vaadin-checkbox-checkmark-char-indeterminate: '';
|
46
|
+
--vaadin-checkbox-checkmark-color: var(--lumo-primary-contrast-color);
|
47
|
+
--vaadin-checkbox-checkmark-size: calc(var(--vaadin-checkbox-size) + 2px);
|
48
|
+
--vaadin-checkbox-label-color: var(--lumo-body-text-color);
|
49
|
+
--vaadin-checkbox-label-font-size: var(--lumo-font-size-m);
|
50
|
+
--vaadin-checkbox-label-padding: var(--lumo-space-xs) var(--lumo-space-s) var(--lumo-space-xs) var(--lumo-space-xs);
|
51
|
+
--vaadin-checkbox-size: calc(var(--lumo-size-m) / 2);
|
52
|
+
/* Radio button */
|
53
|
+
--vaadin-radio-button-background: var(--lumo-contrast-20pct);
|
54
|
+
--vaadin-radio-button-background-hover: var(--lumo-contrast-30pct);
|
55
|
+
--vaadin-radio-button-dot-color: var(--lumo-primary-contrast-color);
|
56
|
+
--vaadin-radio-button-dot-size: 3px;
|
57
|
+
--vaadin-radio-button-label-color: var(--lumo-body-text-color);
|
58
|
+
--vaadin-radio-button-label-font-size: var(--lumo-font-size-m);
|
59
|
+
--vaadin-radio-button-label-padding: var(--lumo-space-xs) var(--lumo-space-s) var(--lumo-space-xs)
|
60
|
+
var(--lumo-space-xs);
|
61
|
+
--vaadin-radio-button-size: calc(var(--lumo-size-m) / 2);
|
62
|
+
--vaadin-selection-color: var(--lumo-primary-color);
|
63
|
+
--vaadin-selection-color-text: var(--lumo-primary-text-color);
|
64
|
+
--vaadin-input-field-border-radius: var(--lumo-border-radius-m);
|
65
|
+
--vaadin-focus-ring-color: var(--lumo-primary-color-50pct);
|
66
|
+
--vaadin-focus-ring-width: 2px;
|
67
|
+
/* Label */
|
68
|
+
--vaadin-input-field-label-color: var(--lumo-secondary-text-color);
|
69
|
+
--vaadin-input-field-focused-label-color: var(--lumo-primary-text-color);
|
70
|
+
--vaadin-input-field-hovered-label-color: var(--lumo-body-text-color);
|
71
|
+
--vaadin-input-field-label-font-size: var(--lumo-font-size-s);
|
72
|
+
--vaadin-input-field-label-font-weight: 500;
|
73
|
+
/* Helper */
|
74
|
+
--vaadin-input-field-helper-color: var(--lumo-secondary-text-color);
|
75
|
+
--vaadin-input-field-helper-font-size: var(--lumo-font-size-xs);
|
76
|
+
--vaadin-input-field-helper-font-weight: 400;
|
77
|
+
--vaadin-input-field-helper-spacing: 0.4em;
|
78
|
+
/* Error message */
|
79
|
+
--vaadin-input-field-error-color: var(--lumo-error-text-color);
|
80
|
+
--vaadin-input-field-error-font-size: var(--lumo-font-size-xs);
|
81
|
+
--vaadin-input-field-error-font-weight: 400;
|
82
|
+
/* Input field */
|
83
|
+
--vaadin-input-field-background: var(--lumo-contrast-10pct);
|
84
|
+
--vaadin-input-field-icon-color: var(--lumo-contrast-60pct);
|
85
|
+
--vaadin-input-field-icon-size: var(--lumo-icon-size-m);
|
86
|
+
--vaadin-input-field-invalid-background: var(--lumo-error-color-10pct);
|
87
|
+
--vaadin-input-field-invalid-hover-highlight: var(--lumo-error-color-50pct);
|
88
|
+
--vaadin-input-field-height: var(--lumo-size-m);
|
89
|
+
--vaadin-input-field-hover-highlight: var(--lumo-contrast-50pct);
|
90
|
+
--vaadin-input-field-placeholder-color: var(--lumo-secondary-text-color);
|
91
|
+
--vaadin-input-field-readonly-border: 1px dashed var(--lumo-contrast-30pct);
|
92
|
+
--vaadin-input-field-value-color: var(--lumo-body-text-color);
|
93
|
+
--vaadin-input-field-value-font-size: var(--lumo-font-size-m);
|
94
|
+
--vaadin-input-field-value-font-weight: 400;
|
95
|
+
}
|
96
|
+
`,(0,r.q)("style-props",s)},4080:(t,o,e)=>{e.d(o,{CI:()=>u,H8:()=>l,gm:()=>i,m0:()=>s,nr:()=>d,un:()=>c});const a=t=>t.test(navigator.userAgent),r=t=>t.test(navigator.platform),s=a(/Android/u),l=a(/Chrome/u)&&/Google Inc/u.test(navigator.vendor),i=a(/Firefox/u),n=r(/^iPad/u)||r(/^Mac/u)&&navigator.maxTouchPoints>1,c=r(/^iPhone/u)||n,d=a(/^((?!chrome|android).)*safari/iu),u=(()=>{try{return document.createEvent("TouchEvent"),!0}catch(t){return!1}})()},9433:(t,o,e)=>{e(88660);var a=e(87550),r=e(36411);const s=a.AH`
|
97
|
+
:host {
|
98
|
+
/* Square */
|
99
|
+
--lumo-space-xs: 0.25rem;
|
100
|
+
--lumo-space-s: 0.5rem;
|
101
|
+
--lumo-space-m: 1rem;
|
102
|
+
--lumo-space-l: 1.5rem;
|
103
|
+
--lumo-space-xl: 2.5rem;
|
104
|
+
|
105
|
+
/* Wide */
|
106
|
+
--lumo-space-wide-xs: calc(var(--lumo-space-xs) / 2) var(--lumo-space-xs);
|
107
|
+
--lumo-space-wide-s: calc(var(--lumo-space-s) / 2) var(--lumo-space-s);
|
108
|
+
--lumo-space-wide-m: calc(var(--lumo-space-m) / 2) var(--lumo-space-m);
|
109
|
+
--lumo-space-wide-l: calc(var(--lumo-space-l) / 2) var(--lumo-space-l);
|
110
|
+
--lumo-space-wide-xl: calc(var(--lumo-space-xl) / 2) var(--lumo-space-xl);
|
111
|
+
|
112
|
+
/* Tall */
|
113
|
+
--lumo-space-tall-xs: var(--lumo-space-xs) calc(var(--lumo-space-xs) / 2);
|
114
|
+
--lumo-space-tall-s: var(--lumo-space-s) calc(var(--lumo-space-s) / 2);
|
115
|
+
--lumo-space-tall-m: var(--lumo-space-m) calc(var(--lumo-space-m) / 2);
|
116
|
+
--lumo-space-tall-l: var(--lumo-space-l) calc(var(--lumo-space-l) / 2);
|
117
|
+
--lumo-space-tall-xl: var(--lumo-space-xl) calc(var(--lumo-space-xl) / 2);
|
118
|
+
}
|
119
|
+
`;(0,r.q)("spacing-props",s)},11707:(t,o,e)=>{e.d(o,{I:()=>r});let a=0;function r(){return a++}},21255:(t,o,e)=>{function a(t){window.Vaadin&&window.Vaadin.templateRendererCallback?window.Vaadin.templateRendererCallback(t):t.querySelector("template")&&console.warn(`WARNING: <template> inside <${t.localName}> is no longer supported. Import @vaadin/polymer-legacy-adapter/template-renderer.js to enable compatibility.`)}e.d(o,{h:()=>a})},21961:(t,o,e)=>{e.d(o,{C:()=>s});var a=e(98741);const r=new WeakMap,s=(0,a.y)((t=>class extends t{get slotStyles(){return{}}connectedCallback(){super.connectedCallback(),this.__applySlotStyles()}__applySlotStyles(){const t=this.getRootNode(),o=function(t){return r.has(t)||r.set(t,new Set),r.get(t)}(t);this.slotStyles.forEach((e=>{o.has(e)||(function(t,o){const e=document.createElement("style");window.DESCOPE_NONCE&&e.setAttribute("nonce",window.DESCOPE_NONCE),e.textContent=t,o===document?document.head.appendChild(e):o.insertBefore(e,o.firstChild)}(e,t),o.add(e))}))}}))},42068:(t,o,e)=>{e(88660);var a=e(87550),r=e(36411);const s=a.AH`
|
3
120
|
:host {
|
4
121
|
--lumo-size-xs: 1.625rem;
|
5
122
|
--lumo-size-s: 1.875rem;
|
@@ -14,7 +131,207 @@
|
|
14
131
|
/* For backwards compatibility */
|
15
132
|
--lumo-icon-size: var(--lumo-icon-size-m);
|
16
133
|
}
|
17
|
-
`;(0,
|
134
|
+
`;(0,r.q)("sizing-props",s)},44099:(t,o,e)=>{e.d(o,{r:()=>l});var a=e(1508),r=e(65641),s=e(11707);class l extends EventTarget{static generateId(t,o){return`${o||"default"}-${t.localName}-${(0,s.I)()}`}constructor(t,o,e,a={}){super();const{initializer:r,multiple:s,observe:l,useUniqueId:i}=a;this.host=t,this.slotName=o,this.tagName=e,this.observe="boolean"!=typeof l||l,this.multiple="boolean"==typeof s&&s,this.slotInitializer=r,s&&(this.nodes=[]),i&&(this.defaultId=this.constructor.generateId(t,o))}hostConnected(){this.initialized||(this.multiple?this.initMultiple():this.initSingle(),this.observe&&this.observeSlot(),this.initialized=!0)}initSingle(){let t=this.getSlotChild();t?(this.node=t,this.initAddedNode(t)):(t=this.attachDefaultNode(),this.initNode(t))}initMultiple(){const t=this.getSlotChildren();if(0===t.length){const t=this.attachDefaultNode();t&&(this.nodes=[t],this.initNode(t))}else this.nodes=t,t.forEach((t=>{this.initAddedNode(t)}))}attachDefaultNode(){const{host:t,slotName:o,tagName:e}=this;let a=this.defaultNode;return!a&&e&&(a=document.createElement(e),a instanceof Element&&(""!==o&&a.setAttribute("slot",o),this.defaultNode=a)),a&&(this.node=a,t.appendChild(a)),a}getSlotChildren(){const{slotName:t}=this;return Array.from(this.host.childNodes).filter((o=>o.nodeType===Node.ELEMENT_NODE&&o.slot===t||o.nodeType===Node.TEXT_NODE&&o.textContent.trim()&&""===t))}getSlotChild(){return this.getSlotChildren()[0]}initNode(t){const{slotInitializer:o}=this;o&&o(t,this.host)}initCustomNode(t){}teardownNode(t){}initAddedNode(t){t!==this.defaultNode&&(this.initCustomNode(t),this.initNode(t))}observeSlot(){const{slotName:t}=this,o=""===t?"slot:not([name])":`slot[name=${t}]`,e=this.host.shadowRoot.querySelector(o);this.__slotObserver=new r.P(e,(({addedNodes:t,removedNodes:o})=>{const e=this.multiple?this.nodes:[this.node],r=t.filter((t=>!(0,a.ZA)(t)&&!e.includes(t)));o.length&&(this.nodes=e.filter((t=>!o.includes(t))),o.forEach((t=>{this.teardownNode(t)}))),r&&r.length>0&&(this.multiple?(this.defaultNode&&this.defaultNode.remove(),this.nodes=[...e,...r].filter((t=>t!==this.defaultNode)),r.forEach((t=>{this.initAddedNode(t)}))):(this.node&&this.node.remove(),this.node=r[0],this.initAddedNode(this.node)))}))}}},55774:(t,o,e)=>{e.d(o,{w:()=>a});const a=(0,e(98741).y)((t=>"function"==typeof t.prototype.addController?t:class extends t{constructor(){super(),this.__controllers=new Set}connectedCallback(){super.connectedCallback(),this.__controllers.forEach((t=>{t.hostConnected&&t.hostConnected()}))}disconnectedCallback(){super.disconnectedCallback(),this.__controllers.forEach((t=>{t.hostDisconnected&&t.hostDisconnected()}))}addController(t){this.__controllers.add(t),void 0!==this.$&&this.isConnected&&t.hostConnected&&t.hostConnected()}removeController(t){this.__controllers.delete(t)}}))},64511:(t,o,e)=>{e(88660);var a=e(87550),r=e(36411);const s=a.AH`
|
135
|
+
:host {
|
136
|
+
/* Base (background) */
|
137
|
+
--lumo-base-color: #fff;
|
138
|
+
|
139
|
+
/* Tint */
|
140
|
+
--lumo-tint-5pct: hsla(0, 0%, 100%, 0.3);
|
141
|
+
--lumo-tint-10pct: hsla(0, 0%, 100%, 0.37);
|
142
|
+
--lumo-tint-20pct: hsla(0, 0%, 100%, 0.44);
|
143
|
+
--lumo-tint-30pct: hsla(0, 0%, 100%, 0.5);
|
144
|
+
--lumo-tint-40pct: hsla(0, 0%, 100%, 0.57);
|
145
|
+
--lumo-tint-50pct: hsla(0, 0%, 100%, 0.64);
|
146
|
+
--lumo-tint-60pct: hsla(0, 0%, 100%, 0.7);
|
147
|
+
--lumo-tint-70pct: hsla(0, 0%, 100%, 0.77);
|
148
|
+
--lumo-tint-80pct: hsla(0, 0%, 100%, 0.84);
|
149
|
+
--lumo-tint-90pct: hsla(0, 0%, 100%, 0.9);
|
150
|
+
--lumo-tint: #fff;
|
151
|
+
|
152
|
+
/* Shade */
|
153
|
+
--lumo-shade-5pct: hsla(214, 61%, 25%, 0.05);
|
154
|
+
--lumo-shade-10pct: hsla(214, 57%, 24%, 0.1);
|
155
|
+
--lumo-shade-20pct: hsla(214, 53%, 23%, 0.16);
|
156
|
+
--lumo-shade-30pct: hsla(214, 50%, 22%, 0.26);
|
157
|
+
--lumo-shade-40pct: hsla(214, 47%, 21%, 0.38);
|
158
|
+
--lumo-shade-50pct: hsla(214, 45%, 20%, 0.52);
|
159
|
+
--lumo-shade-60pct: hsla(214, 43%, 19%, 0.6);
|
160
|
+
--lumo-shade-70pct: hsla(214, 42%, 18%, 0.69);
|
161
|
+
--lumo-shade-80pct: hsla(214, 41%, 17%, 0.83);
|
162
|
+
--lumo-shade-90pct: hsla(214, 40%, 16%, 0.94);
|
163
|
+
--lumo-shade: hsl(214, 35%, 15%);
|
164
|
+
|
165
|
+
/* Contrast */
|
166
|
+
--lumo-contrast-5pct: var(--lumo-shade-5pct);
|
167
|
+
--lumo-contrast-10pct: var(--lumo-shade-10pct);
|
168
|
+
--lumo-contrast-20pct: var(--lumo-shade-20pct);
|
169
|
+
--lumo-contrast-30pct: var(--lumo-shade-30pct);
|
170
|
+
--lumo-contrast-40pct: var(--lumo-shade-40pct);
|
171
|
+
--lumo-contrast-50pct: var(--lumo-shade-50pct);
|
172
|
+
--lumo-contrast-60pct: var(--lumo-shade-60pct);
|
173
|
+
--lumo-contrast-70pct: var(--lumo-shade-70pct);
|
174
|
+
--lumo-contrast-80pct: var(--lumo-shade-80pct);
|
175
|
+
--lumo-contrast-90pct: var(--lumo-shade-90pct);
|
176
|
+
--lumo-contrast: var(--lumo-shade);
|
177
|
+
|
178
|
+
/* Text */
|
179
|
+
--lumo-header-text-color: var(--lumo-contrast);
|
180
|
+
--lumo-body-text-color: var(--lumo-contrast-90pct);
|
181
|
+
--lumo-secondary-text-color: var(--lumo-contrast-70pct);
|
182
|
+
--lumo-tertiary-text-color: var(--lumo-contrast-50pct);
|
183
|
+
--lumo-disabled-text-color: var(--lumo-contrast-30pct);
|
184
|
+
|
185
|
+
/* Primary */
|
186
|
+
--lumo-primary-color: hsl(214, 100%, 48%);
|
187
|
+
--lumo-primary-color-50pct: hsla(214, 100%, 49%, 0.76);
|
188
|
+
--lumo-primary-color-10pct: hsla(214, 100%, 60%, 0.13);
|
189
|
+
--lumo-primary-text-color: hsl(214, 100%, 43%);
|
190
|
+
--lumo-primary-contrast-color: #fff;
|
191
|
+
|
192
|
+
/* Error */
|
193
|
+
--lumo-error-color: hsl(3, 85%, 48%);
|
194
|
+
--lumo-error-color-50pct: hsla(3, 85%, 49%, 0.5);
|
195
|
+
--lumo-error-color-10pct: hsla(3, 85%, 49%, 0.1);
|
196
|
+
--lumo-error-text-color: hsl(3, 89%, 42%);
|
197
|
+
--lumo-error-contrast-color: #fff;
|
198
|
+
|
199
|
+
/* Success */
|
200
|
+
--lumo-success-color: hsl(145, 72%, 30%);
|
201
|
+
--lumo-success-color-50pct: hsla(145, 72%, 31%, 0.5);
|
202
|
+
--lumo-success-color-10pct: hsla(145, 72%, 31%, 0.1);
|
203
|
+
--lumo-success-text-color: hsl(145, 85%, 25%);
|
204
|
+
--lumo-success-contrast-color: #fff;
|
205
|
+
|
206
|
+
/* Warning */
|
207
|
+
--lumo-warning-color: hsl(48, 100%, 50%);
|
208
|
+
--lumo-warning-color-10pct: hsla(48, 100%, 50%, 0.25);
|
209
|
+
--lumo-warning-text-color: hsl(32, 100%, 30%);
|
210
|
+
--lumo-warning-contrast-color: var(--lumo-shade-90pct);
|
211
|
+
}
|
212
|
+
|
213
|
+
/* forced-colors mode adjustments */
|
214
|
+
@media (forced-colors: active) {
|
215
|
+
html {
|
216
|
+
--lumo-disabled-text-color: GrayText;
|
217
|
+
}
|
218
|
+
}
|
219
|
+
`;(0,r.q)("color-props",s);const l=a.AH`
|
220
|
+
[theme~='dark'] {
|
221
|
+
/* Base (background) */
|
222
|
+
--lumo-base-color: hsl(214, 35%, 21%);
|
223
|
+
|
224
|
+
/* Tint */
|
225
|
+
--lumo-tint-5pct: hsla(214, 65%, 85%, 0.06);
|
226
|
+
--lumo-tint-10pct: hsla(214, 60%, 80%, 0.14);
|
227
|
+
--lumo-tint-20pct: hsla(214, 64%, 82%, 0.23);
|
228
|
+
--lumo-tint-30pct: hsla(214, 69%, 84%, 0.32);
|
229
|
+
--lumo-tint-40pct: hsla(214, 73%, 86%, 0.41);
|
230
|
+
--lumo-tint-50pct: hsla(214, 78%, 88%, 0.5);
|
231
|
+
--lumo-tint-60pct: hsla(214, 82%, 90%, 0.58);
|
232
|
+
--lumo-tint-70pct: hsla(214, 87%, 92%, 0.69);
|
233
|
+
--lumo-tint-80pct: hsla(214, 91%, 94%, 0.8);
|
234
|
+
--lumo-tint-90pct: hsla(214, 96%, 96%, 0.9);
|
235
|
+
--lumo-tint: hsl(214, 100%, 98%);
|
236
|
+
|
237
|
+
/* Shade */
|
238
|
+
--lumo-shade-5pct: hsla(214, 0%, 0%, 0.07);
|
239
|
+
--lumo-shade-10pct: hsla(214, 4%, 2%, 0.15);
|
240
|
+
--lumo-shade-20pct: hsla(214, 8%, 4%, 0.23);
|
241
|
+
--lumo-shade-30pct: hsla(214, 12%, 6%, 0.32);
|
242
|
+
--lumo-shade-40pct: hsla(214, 16%, 8%, 0.41);
|
243
|
+
--lumo-shade-50pct: hsla(214, 20%, 10%, 0.5);
|
244
|
+
--lumo-shade-60pct: hsla(214, 24%, 12%, 0.6);
|
245
|
+
--lumo-shade-70pct: hsla(214, 28%, 13%, 0.7);
|
246
|
+
--lumo-shade-80pct: hsla(214, 32%, 13%, 0.8);
|
247
|
+
--lumo-shade-90pct: hsla(214, 33%, 13%, 0.9);
|
248
|
+
--lumo-shade: hsl(214, 33%, 13%);
|
249
|
+
|
250
|
+
/* Contrast */
|
251
|
+
--lumo-contrast-5pct: var(--lumo-tint-5pct);
|
252
|
+
--lumo-contrast-10pct: var(--lumo-tint-10pct);
|
253
|
+
--lumo-contrast-20pct: var(--lumo-tint-20pct);
|
254
|
+
--lumo-contrast-30pct: var(--lumo-tint-30pct);
|
255
|
+
--lumo-contrast-40pct: var(--lumo-tint-40pct);
|
256
|
+
--lumo-contrast-50pct: var(--lumo-tint-50pct);
|
257
|
+
--lumo-contrast-60pct: var(--lumo-tint-60pct);
|
258
|
+
--lumo-contrast-70pct: var(--lumo-tint-70pct);
|
259
|
+
--lumo-contrast-80pct: var(--lumo-tint-80pct);
|
260
|
+
--lumo-contrast-90pct: var(--lumo-tint-90pct);
|
261
|
+
--lumo-contrast: var(--lumo-tint);
|
262
|
+
|
263
|
+
/* Text */
|
264
|
+
--lumo-header-text-color: var(--lumo-contrast);
|
265
|
+
--lumo-body-text-color: var(--lumo-contrast-90pct);
|
266
|
+
--lumo-secondary-text-color: var(--lumo-contrast-70pct);
|
267
|
+
--lumo-tertiary-text-color: var(--lumo-contrast-50pct);
|
268
|
+
--lumo-disabled-text-color: var(--lumo-contrast-30pct);
|
269
|
+
|
270
|
+
/* Primary */
|
271
|
+
--lumo-primary-color: hsl(214, 90%, 48%);
|
272
|
+
--lumo-primary-color-50pct: hsla(214, 90%, 70%, 0.69);
|
273
|
+
--lumo-primary-color-10pct: hsla(214, 90%, 55%, 0.13);
|
274
|
+
--lumo-primary-text-color: hsl(214, 90%, 77%);
|
275
|
+
--lumo-primary-contrast-color: #fff;
|
276
|
+
|
277
|
+
/* Error */
|
278
|
+
--lumo-error-color: hsl(3, 79%, 49%);
|
279
|
+
--lumo-error-color-50pct: hsla(3, 75%, 62%, 0.5);
|
280
|
+
--lumo-error-color-10pct: hsla(3, 75%, 62%, 0.14);
|
281
|
+
--lumo-error-text-color: hsl(3, 100%, 80%);
|
282
|
+
|
283
|
+
/* Success */
|
284
|
+
--lumo-success-color: hsl(145, 72%, 30%);
|
285
|
+
--lumo-success-color-50pct: hsla(145, 92%, 51%, 0.5);
|
286
|
+
--lumo-success-color-10pct: hsla(145, 92%, 51%, 0.1);
|
287
|
+
--lumo-success-text-color: hsl(145, 85%, 46%);
|
288
|
+
|
289
|
+
/* Warning */
|
290
|
+
--lumo-warning-color: hsl(43, 100%, 48%);
|
291
|
+
--lumo-warning-color-10pct: hsla(40, 100%, 50%, 0.2);
|
292
|
+
--lumo-warning-text-color: hsl(45, 100%, 60%);
|
293
|
+
--lumo-warning-contrast-color: var(--lumo-shade-90pct);
|
294
|
+
}
|
295
|
+
|
296
|
+
html {
|
297
|
+
color: var(--lumo-body-text-color);
|
298
|
+
background-color: var(--lumo-base-color);
|
299
|
+
color-scheme: light;
|
300
|
+
}
|
301
|
+
|
302
|
+
[theme~='dark'] {
|
303
|
+
color: var(--lumo-body-text-color);
|
304
|
+
background-color: var(--lumo-base-color);
|
305
|
+
color-scheme: dark;
|
306
|
+
}
|
307
|
+
|
308
|
+
h1,
|
309
|
+
h2,
|
310
|
+
h3,
|
311
|
+
h4,
|
312
|
+
h5,
|
313
|
+
h6 {
|
314
|
+
color: var(--lumo-header-text-color);
|
315
|
+
}
|
316
|
+
|
317
|
+
a:where(:any-link) {
|
318
|
+
color: var(--lumo-primary-text-color);
|
319
|
+
}
|
320
|
+
|
321
|
+
a:not(:any-link) {
|
322
|
+
color: var(--lumo-disabled-text-color);
|
323
|
+
}
|
324
|
+
|
325
|
+
blockquote {
|
326
|
+
color: var(--lumo-secondary-text-color);
|
327
|
+
}
|
328
|
+
|
329
|
+
code,
|
330
|
+
pre {
|
331
|
+
background-color: var(--lumo-contrast-10pct);
|
332
|
+
border-radius: var(--lumo-border-radius-m);
|
333
|
+
}
|
334
|
+
`;(0,a.SF)("",l,{moduleId:"lumo-color"})},65641:(t,o,e)=>{e.d(o,{P:()=>a});class a{constructor(t,o){this.slot=t,this.callback=o,this._storedNodes=[],this._connected=!1,this._scheduled=!1,this._boundSchedule=()=>{this._schedule()},this.connect(),this._schedule()}connect(){this.slot.addEventListener("slotchange",this._boundSchedule),this._connected=!0}disconnect(){this.slot.removeEventListener("slotchange",this._boundSchedule),this._connected=!1}_schedule(){this._scheduled||(this._scheduled=!0,queueMicrotask((()=>{this.flush()})))}flush(){this._connected&&(this._scheduled=!1,this._processNodes())}_processNodes(){const t=this.slot.assignedNodes({flatten:!0});let o=[];const e=[],a=[];t.length&&(o=t.filter((t=>!this._storedNodes.includes(t)))),this._storedNodes.length&&this._storedNodes.forEach(((o,r)=>{const s=t.indexOf(o);-1===s?e.push(o):s!==r&&a.push(o)})),(o.length||e.length||a.length)&&this.callback({addedNodes:o,movedNodes:a,removedNodes:e}),this._storedNodes=t}}},81488:(t,o,e)=>{e.d(o,{I:()=>r});var a=e(44099);class r extends a.r{constructor(t){super(t,"tooltip"),this.setTarget(t)}initCustomNode(t){t.target=this.target,void 0!==this.ariaTarget&&(t.ariaTarget=this.ariaTarget),void 0!==this.context&&(t.context=this.context),void 0!==this.manual&&(t.manual=this.manual),void 0!==this.opened&&(t.opened=this.opened),void 0!==this.position&&(t._position=this.position),void 0!==this.shouldShow&&(t.shouldShow=this.shouldShow),this.__notifyChange()}teardownNode(){this.__notifyChange()}setAriaTarget(t){this.ariaTarget=t;const o=this.node;o&&(o.ariaTarget=t)}setContext(t){this.context=t;const o=this.node;o&&(o.context=t)}setManual(t){this.manual=t;const o=this.node;o&&(o.manual=t)}setOpened(t){this.opened=t;const o=this.node;o&&(o.opened=t)}setPosition(t){this.position=t;const o=this.node;o&&(o._position=t)}setShouldShow(t){this.shouldShow=t;const o=this.node;o&&(o.shouldShow=t)}setTarget(t){this.target=t;const o=this.node;o&&(o.target=t)}__notifyChange(){this.dispatchEvent(new CustomEvent("tooltip-changed",{detail:{node:this.node}}))}}},85725:(t,o,e)=>{function a(t,o){return t.split(".").reduce(((t,o)=>t?t[o]:void 0),o)}e.d(o,{J:()=>a})},92107:(t,o,e)=>{e.r(o),e.d(o,{componentName:()=>l});var a=e(97810),r=e(94591);class s extends r.v{get sortable(){return"true"===this.getAttribute("sortable")}_defaultRenderer(t,o,e){const a=o._gridValue,r=a.detailsOpenedItems?.indexOf(e.item)??-1,s=-1!==r,l=document.createElement("vaadin-icon");l.icon=s?"vaadin:angle-up":"vaadin:angle-down",l.classList.add("toggle-details-button",s?"opened":"closed"),t.innerHTML="",t.append(l),l.onclick=()=>{a.detailsOpenedItems=s?a.detailsOpenedItems.toSpliced(r,1):[...a.detailsOpenedItems,e.item]}}_defaultHeaderRenderer(t,o){this.sortable?super._defaultHeaderRenderer(t,o):this.__setTextContent(t,this.__getHeader(this.header,this.path))}}e(95260),e(37182);const l=(0,a.xE)("grid-item-details-column");customElements.define(l,s)},94591:(t,o,e)=>{e.d(o,{v:()=>h}),e(64511),e(3241),e(9433);var a=e(87550);(0,a.SF)("vaadin-grid-sorter",a.AH`
|
18
335
|
:host {
|
19
336
|
justify-content: flex-start;
|
20
337
|
align-items: baseline;
|
@@ -57,7 +374,7 @@
|
|
57
374
|
margin-right: var(--lumo-space-s);
|
58
375
|
margin-left: 0;
|
59
376
|
}
|
60
|
-
`,{moduleId:"lumo-grid-sorter"});var
|
377
|
+
`,{moduleId:"lumo-grid-sorter"});var r=e(13256),s=e(82901),l=e(23927);const i=document.createElement("template");i.innerHTML=`\n <style nonce=${window.DESCOPE_NONCE}>\n @font-face {\n font-family: 'vaadin-grid-sorter-icons';\n src: url('`+e.p+"fonts/font-1364590020.woff');\n font-weight: normal;\n font-style: normal;\n }\n </style>\n",document.head.appendChild(i.content),(0,a.SF)("vaadin-grid-sorter",a.AH`
|
61
378
|
:host {
|
62
379
|
display: inline-flex;
|
63
380
|
cursor: pointer;
|
@@ -95,12 +412,12 @@
|
|
95
412
|
:host([direction='desc']) [part='indicators']::before {
|
96
413
|
content: '\\e902';
|
97
414
|
}
|
98
|
-
`,{moduleId:"vaadin-grid-sorter-styles"});const
|
415
|
+
`,{moduleId:"vaadin-grid-sorter-styles"});const n=t=>class extends t{static get properties(){return{path:String,direction:{type:String,reflectToAttribute:!0,notify:!0,value:null,sync:!0},_order:{type:Number,value:null,sync:!0},_isConnected:{type:Boolean,observer:"__isConnectedChanged"}}}static get observers(){return["_pathOrDirectionChanged(path, direction)"]}ready(){super.ready(),this.addEventListener("click",this._onClick.bind(this))}connectedCallback(){super.connectedCallback(),this._isConnected=!0}disconnectedCallback(){super.disconnectedCallback(),this._isConnected=!1,!this.parentNode&&this._grid&&this._grid.__removeSorters([this])}_pathOrDirectionChanged(){this.__dispatchSorterChangedEvenIfPossible()}__isConnectedChanged(t,o){!1!==o&&this.__dispatchSorterChangedEvenIfPossible()}__dispatchSorterChangedEvenIfPossible(){void 0!==this.path&&void 0!==this.direction&&this._isConnected&&(this.dispatchEvent(new CustomEvent("sorter-changed",{detail:{shiftClick:Boolean(this._shiftClick),fromSorterClick:Boolean(this._fromSorterClick)},bubbles:!0,composed:!0})),this._fromSorterClick=!1,this._shiftClick=!1)}_getDisplayOrder(t){return null===t?"":t+1}_onClick(t){if(t.defaultPrevented)return;const o=this.getRootNode().activeElement;this!==o&&this.contains(o)||(t.preventDefault(),this._shiftClick=t.shiftKey,this._fromSorterClick=!0,"asc"===this.direction?this.direction="desc":"desc"===this.direction?this.direction=null:this.direction="asc")}};class c extends(n((0,a.cp)((0,l.v)(r.Pu)))){static get template(){return r.qy`
|
99
416
|
<div part="content">
|
100
417
|
<slot></slot>
|
101
418
|
</div>
|
102
419
|
<div part="indicators">
|
103
420
|
<span part="order">[[_getDisplayOrder(_order)]]</span>
|
104
421
|
</div>
|
105
|
-
`}static get is(){return"vaadin-grid-sorter"}}(0,s.X)(
|
422
|
+
`}static get is(){return"vaadin-grid-sorter"}}(0,s.X)(c);var d=e(57565);const u=t=>class extends t{static get properties(){return{path:{type:String,sync:!0},direction:{type:String,notify:!0,sync:!0}}}static get observers(){return["_onHeaderRendererOrBindingChanged(_headerRenderer, _headerCell, path, header, direction)"]}constructor(){super(),this.__boundOnDirectionChanged=this.__onDirectionChanged.bind(this)}_defaultHeaderRenderer(t,o){let e=t.firstElementChild;e||(e=document.createElement("vaadin-grid-sorter"),e.addEventListener("direction-changed",this.__boundOnDirectionChanged),t.appendChild(e)),e.path=this.path,e.__rendererDirection=this.direction,e.direction=this.direction,e.textContent=this.__getHeader(this.header,this.path)}_computeHeaderRenderer(){return this._defaultHeaderRenderer}__onDirectionChanged(t){t.detail.value!==t.target.__rendererDirection&&(this.direction=t.detail.value)}__getHeader(t,o){return t||(o?this._generateHeader(o):void 0)}};class h extends(u(d.H)){static get is(){return"vaadin-grid-sort-column"}}(0,s.X)(h)}}]);
|
106
423
|
//# sourceMappingURL=descope-grid-descope-grid-item-details-column-index-js.js.map
|