q2-tecton-elements 1.11.0-alpha.0 → 1.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (130) hide show
  1. package/dist/cjs/{icons-4595ee47.js → icons-9bd0febe.js} +10 -0
  2. package/dist/cjs/{index-a55d3c34.js → index-f5807a6a.js} +12 -1
  3. package/dist/cjs/loader.cjs.js +1 -1
  4. package/dist/cjs/q2-avatar.cjs.entry.js +1 -1
  5. package/dist/cjs/q2-btn_2.cjs.entry.js +2 -2
  6. package/dist/cjs/q2-calendar.cjs.entry.js +6 -4
  7. package/dist/cjs/q2-card.cjs.entry.js +89 -0
  8. package/dist/cjs/q2-carousel-pane.cjs.entry.js +1 -1
  9. package/dist/cjs/q2-carousel.cjs.entry.js +1 -1
  10. package/dist/cjs/q2-checkbox-group.cjs.entry.js +4 -1
  11. package/dist/cjs/q2-checkbox.cjs.entry.js +15 -5
  12. package/dist/cjs/q2-dropdown-item.cjs.entry.js +1 -1
  13. package/dist/cjs/q2-dropdown.cjs.entry.js +2 -2
  14. package/dist/cjs/q2-editable-field.cjs.entry.js +1 -1
  15. package/dist/cjs/q2-icon.cjs.entry.js +2 -2
  16. package/dist/cjs/q2-input.cjs.entry.js +12 -7
  17. package/dist/cjs/q2-loc.cjs.entry.js +1 -1
  18. package/dist/cjs/q2-message.cjs.entry.js +1 -1
  19. package/dist/cjs/q2-optgroup.cjs.entry.js +1 -1
  20. package/dist/cjs/q2-pagination.cjs.entry.js +118 -0
  21. package/dist/cjs/q2-radio-group.cjs.entry.js +34 -8
  22. package/dist/cjs/q2-radio.cjs.entry.js +7 -2
  23. package/dist/cjs/q2-section.cjs.entry.js +1 -1
  24. package/dist/cjs/q2-select.cjs.entry.js +14 -6
  25. package/dist/cjs/q2-stepper-pane.cjs.entry.js +1 -1
  26. package/dist/cjs/q2-stepper.cjs.entry.js +2 -2
  27. package/dist/cjs/q2-tab-container.cjs.entry.js +1 -1
  28. package/dist/cjs/q2-tecton-elements.cjs.js +1 -1
  29. package/dist/cjs/q2-textarea.cjs.entry.js +1 -1
  30. package/dist/collection/collection-manifest.json +2 -0
  31. package/dist/collection/components/q2-calendar/index.js +21 -2
  32. package/dist/collection/components/q2-calendar/styles.css +1 -1
  33. package/dist/collection/components/q2-card/index.js +290 -0
  34. package/dist/collection/components/q2-card/styles.css +161 -0
  35. package/dist/collection/components/q2-checkbox/index.js +30 -3
  36. package/dist/collection/components/q2-checkbox/styles.css +1 -1
  37. package/dist/collection/components/q2-checkbox-group/index.js +21 -0
  38. package/dist/collection/components/q2-dropdown/styles.css +3 -3
  39. package/dist/collection/components/q2-icon/icons.js +10 -0
  40. package/dist/collection/components/q2-input/index.js +61 -5
  41. package/dist/collection/components/q2-input/styles.css +16 -31
  42. package/dist/collection/components/q2-loading/styles.css +1 -1
  43. package/dist/collection/components/q2-pagination/index.js +277 -0
  44. package/dist/collection/components/q2-pagination/styles.css +120 -0
  45. package/dist/collection/components/q2-radio/index.js +24 -1
  46. package/dist/collection/components/q2-radio-group/index.js +58 -15
  47. package/dist/collection/components/q2-select/index.js +30 -4
  48. package/dist/collection/components/q2-select/styles.css +4 -4
  49. package/dist/collection/components/q2-stepper/styles.css +7 -7
  50. package/dist/collection/utils/index.js +11 -1
  51. package/dist/esm/{icons-3ee662ea.js → icons-6a143c2f.js} +10 -0
  52. package/dist/esm/{index-ec6660af.js → index-0e13a57f.js} +12 -2
  53. package/dist/esm/loader.js +1 -1
  54. package/dist/esm/q2-avatar.entry.js +1 -1
  55. package/dist/esm/q2-btn_2.entry.js +2 -2
  56. package/dist/esm/q2-calendar.entry.js +6 -4
  57. package/dist/esm/q2-card.entry.js +85 -0
  58. package/dist/esm/q2-carousel-pane.entry.js +1 -1
  59. package/dist/esm/q2-carousel.entry.js +1 -1
  60. package/dist/esm/q2-checkbox-group.entry.js +4 -1
  61. package/dist/esm/q2-checkbox.entry.js +15 -5
  62. package/dist/esm/q2-dropdown-item.entry.js +1 -1
  63. package/dist/esm/q2-dropdown.entry.js +2 -2
  64. package/dist/esm/q2-editable-field.entry.js +1 -1
  65. package/dist/esm/q2-icon.entry.js +2 -2
  66. package/dist/esm/q2-input.entry.js +12 -7
  67. package/dist/esm/q2-loc.entry.js +1 -1
  68. package/dist/esm/q2-message.entry.js +1 -1
  69. package/dist/esm/q2-optgroup.entry.js +1 -1
  70. package/dist/esm/q2-pagination.entry.js +114 -0
  71. package/dist/esm/q2-radio-group.entry.js +35 -9
  72. package/dist/esm/q2-radio.entry.js +7 -2
  73. package/dist/esm/q2-section.entry.js +1 -1
  74. package/dist/esm/q2-select.entry.js +14 -6
  75. package/dist/esm/q2-stepper-pane.entry.js +1 -1
  76. package/dist/esm/q2-stepper.entry.js +2 -2
  77. package/dist/esm/q2-tab-container.entry.js +1 -1
  78. package/dist/esm/q2-tecton-elements.js +1 -1
  79. package/dist/esm/q2-textarea.entry.js +1 -1
  80. package/dist/q2-tecton-elements/{p-a6f8d09a.entry.js → p-2372f988.entry.js} +1 -1
  81. package/dist/q2-tecton-elements/p-27ec0a16.entry.js +1 -0
  82. package/dist/q2-tecton-elements/{p-fbf7c5e6.entry.js → p-2be33492.entry.js} +1 -1
  83. package/dist/q2-tecton-elements/p-346b65d5.entry.js +1 -0
  84. package/dist/q2-tecton-elements/p-3c6f73cb.js +1 -0
  85. package/dist/q2-tecton-elements/p-3cb34e2e.entry.js +1 -0
  86. package/dist/q2-tecton-elements/{p-843b1ee9.entry.js → p-492dfb55.entry.js} +1 -1
  87. package/dist/q2-tecton-elements/p-564154f3.entry.js +1 -0
  88. package/dist/q2-tecton-elements/{p-7e6fc65d.entry.js → p-6a83a97c.entry.js} +1 -1
  89. package/dist/q2-tecton-elements/{p-9b50c3c3.entry.js → p-701b381a.entry.js} +1 -1
  90. package/dist/q2-tecton-elements/p-7dec37d6.entry.js +1 -0
  91. package/dist/q2-tecton-elements/p-841ec108.entry.js +1 -0
  92. package/dist/q2-tecton-elements/{p-bb2e110a.entry.js → p-88bc2f49.entry.js} +1 -1
  93. package/dist/q2-tecton-elements/{p-50967020.entry.js → p-9ccbc3d8.entry.js} +1 -1
  94. package/dist/q2-tecton-elements/{p-06fff43d.entry.js → p-a72e7a12.entry.js} +1 -1
  95. package/dist/q2-tecton-elements/{p-df182f61.entry.js → p-af202624.entry.js} +1 -1
  96. package/dist/q2-tecton-elements/{p-b281c349.entry.js → p-b5b12e46.entry.js} +1 -1
  97. package/dist/q2-tecton-elements/{p-c5e55b9f.entry.js → p-bfd77f9b.entry.js} +1 -1
  98. package/dist/q2-tecton-elements/{p-75e87cca.entry.js → p-c83dba0a.entry.js} +1 -1
  99. package/dist/q2-tecton-elements/p-ca847db7.entry.js +1 -0
  100. package/dist/q2-tecton-elements/p-d199fca8.entry.js +1 -0
  101. package/dist/q2-tecton-elements/{p-ac859fcc.entry.js → p-dffbcec3.entry.js} +1 -1
  102. package/dist/q2-tecton-elements/{p-9a977ee6.entry.js → p-f73df612.entry.js} +1 -1
  103. package/dist/q2-tecton-elements/{p-7e030e92.entry.js → p-f85bf7fb.entry.js} +1 -1
  104. package/dist/q2-tecton-elements/p-f85da2a8.js +1 -0
  105. package/dist/q2-tecton-elements/p-fc318ae2.entry.js +1 -0
  106. package/dist/q2-tecton-elements/{p-07a5d703.entry.js → p-fe61c1aa.entry.js} +1 -1
  107. package/dist/q2-tecton-elements/q2-tecton-elements.esm.js +1 -1
  108. package/dist/test/helpers.js +7 -3
  109. package/dist/types/components/q2-calendar/index.d.ts +1 -0
  110. package/dist/types/components/q2-card/index.d.ts +31 -0
  111. package/dist/types/components/q2-checkbox/index.d.ts +2 -0
  112. package/dist/types/components/q2-checkbox-group/index.d.ts +1 -0
  113. package/dist/types/components/q2-input/index.d.ts +3 -0
  114. package/dist/types/components/q2-pagination/index.d.ts +30 -0
  115. package/dist/types/components/q2-radio/index.d.ts +2 -1
  116. package/dist/types/components/q2-radio-group/index.d.ts +3 -0
  117. package/dist/types/components/q2-select/index.d.ts +1 -0
  118. package/dist/types/components.d.ts +80 -0
  119. package/dist/types/utils/index.d.ts +1 -0
  120. package/dist/types/workspace/workspace/{_production_release_1.11.0-alpha → Tecton_tecton-production_master}/packages/q2-tecton-elements/.stencil/test/helpers.d.ts +3 -1
  121. package/package.json +2 -2
  122. package/dist/q2-tecton-elements/p-29a37091.entry.js +0 -1
  123. package/dist/q2-tecton-elements/p-37aba2a4.js +0 -1
  124. package/dist/q2-tecton-elements/p-4cd00f1a.js +0 -1
  125. package/dist/q2-tecton-elements/p-768e3a5d.entry.js +0 -1
  126. package/dist/q2-tecton-elements/p-943c7745.entry.js +0 -1
  127. package/dist/q2-tecton-elements/p-95a73559.entry.js +0 -1
  128. package/dist/q2-tecton-elements/p-ccbe9158.entry.js +0 -1
  129. package/dist/q2-tecton-elements/p-db6f90ac.entry.js +0 -1
  130. package/dist/q2-tecton-elements/p-fa6eea5c.entry.js +0 -1
@@ -0,0 +1,120 @@
1
+ * {
2
+ box-sizing: border-box;
3
+ }
4
+
5
+ *:active {
6
+ outline: none;
7
+ }
8
+
9
+ *:focus {
10
+ outline: none;
11
+ box-shadow: var(--const-global-focus);
12
+ }
13
+
14
+ :host {
15
+ box-shadow: none !important;
16
+ }
17
+
18
+ ::-moz-focus-inner {
19
+ border: none;
20
+ }
21
+
22
+ input,
23
+ textarea,
24
+ button {
25
+ font-family: inherit;
26
+ font-size: inherit;
27
+ }
28
+
29
+ :host(.sr),
30
+ :host(.sr) button {
31
+ border: 0;
32
+ clip: rect(0 0 0 0);
33
+ height: 1px;
34
+ margin: -1px;
35
+ overflow: hidden;
36
+ padding: 0;
37
+ position: absolute;
38
+ width: 1px;
39
+ white-space: nowrap;
40
+ }
41
+
42
+ .sr,
43
+ .sr button {
44
+ border: 0;
45
+ clip: rect(0 0 0 0);
46
+ height: 1px;
47
+ margin: -1px;
48
+ overflow: hidden;
49
+ padding: 0;
50
+ position: absolute;
51
+ width: 1px;
52
+ white-space: nowrap;
53
+ }
54
+
55
+ .hidden {
56
+ display: none;
57
+ }
58
+
59
+ :host([hidden]) {
60
+ display: none;
61
+ }
62
+
63
+ .invisible {
64
+ visibility: hidden;
65
+ }
66
+
67
+ :host {
68
+ text-align: right;
69
+ display: block;
70
+ }
71
+
72
+ :host([hidden]) {
73
+ display: none;
74
+ }
75
+
76
+ .container {
77
+ display: inline-flex;
78
+ column-gap: var(--tct-pagination-column-gap, var(--t-pagination-column-gap, var(--app-scale-2x, 10px)));
79
+ align-items: center;
80
+ height: var(--tct-pagination-height, var(--t-pagination-height, 44px));
81
+ }
82
+
83
+ .btn-group {
84
+ display: flex;
85
+ gap: var(--tct-pagination-btn-gap, var(--t-pagination-btn-gap, 0));
86
+ }
87
+
88
+ .description,
89
+ .controls {
90
+ white-space: nowrap;
91
+ }
92
+
93
+ .controls {
94
+ display: grid;
95
+ grid-template-columns: auto 50px auto;
96
+ align-items: center;
97
+ gap: var(--tct-pagination-controls-gap, var(--t-pagination-controls-gap, var(--app-scale-1x, 5px)));
98
+ }
99
+ .controls[hidden] {
100
+ display: none;
101
+ }
102
+
103
+ .input-wrapper {
104
+ height: var(--tct-pagination-height, var(--t-pagination-height, 44px));
105
+ display: flex;
106
+ align-items: center;
107
+ }
108
+
109
+ q2-icon {
110
+ --tct-icon-size: var(--tct-pagination-icon-size, var(--t-pagination-icon-size, 12px));
111
+ color: var(--tct-pagination-icon-color, var(--t-pagination-icon-color, var(--t-text, #4d4d4d)));
112
+ }
113
+
114
+ q2-input {
115
+ --tct-input-margin-top: 0;
116
+ --tct-input-margin-bottom: 0;
117
+ --tct-input-height: var(--tct-pagination-input-height, var(--t-pagination-input-height, 30px));
118
+ --tct-input-min-height: var(--tct-input-height);
119
+ --tct-input-align: center;
120
+ }
@@ -5,10 +5,15 @@ export class Q2Radio {
5
5
  this.disabled = false;
6
6
  this.checked = false;
7
7
  this.groupDisabled = false;
8
+ this.groupReadonly = false;
8
9
  this.groupTileLayout = false;
9
10
  this.id = `radio-${createGuid()}`;
10
11
  this.inputChange = (event) => {
11
12
  event.stopPropagation();
13
+ if (this.groupReadonly) {
14
+ event.preventDefault();
15
+ return false;
16
+ }
12
17
  this.change.emit({ value: this.value });
13
18
  };
14
19
  }
@@ -36,7 +41,7 @@ export class Q2Radio {
36
41
  }
37
42
  render() {
38
43
  return (h("div", { class: this.groupTileLayout ? 'radio-tile' : 'radio-container' },
39
- h("input", { ref: el => (this.inputField = el), class: "sr", id: this.id, type: "radio", name: this.name, value: this.value, disabled: this.disabled || this.groupDisabled, checked: this.checked, "aria-label": this.label && this.hideLabel ? loc(this.label) : undefined, onChange: this.inputChange, "test-id": "q2RadioInnerRadioBox" }),
44
+ h("input", { ref: el => (this.inputField = el), class: "sr", id: this.id, type: "radio", name: this.name, value: this.value, disabled: this.disabled || this.groupDisabled, checked: this.checked, "aria-label": this.label && this.hideLabel ? loc(this.label) : undefined, onChange: this.inputChange, onClick: this.inputChange, "test-id": "q2RadioInnerRadioBox" }),
40
45
  h("label", { htmlFor: this.id, "test-id": "radioButton" },
41
46
  !this.groupTileLayout && (h("svg", { viewBox: "0 0 18 18" },
42
47
  h("circle", { stroke: "none", fill: "none", cx: "9", cy: "9", r: "8" }),
@@ -193,6 +198,24 @@ export class Q2Radio {
193
198
  "reflect": false,
194
199
  "defaultValue": "false"
195
200
  },
201
+ "groupReadonly": {
202
+ "type": "boolean",
203
+ "mutable": false,
204
+ "complexType": {
205
+ "original": "boolean",
206
+ "resolved": "boolean",
207
+ "references": {}
208
+ },
209
+ "required": false,
210
+ "optional": false,
211
+ "docs": {
212
+ "tags": [],
213
+ "text": ""
214
+ },
215
+ "attribute": "group-readonly",
216
+ "reflect": false,
217
+ "defaultValue": "false"
218
+ },
196
219
  "groupTileLayout": {
197
220
  "type": "boolean",
198
221
  "mutable": false,
@@ -1,4 +1,4 @@
1
- import { Component, Prop, Element, h, Listen, Event, Watch } from '@stencil/core';
1
+ import { Component, Prop, Element, h, Listen, Event, Watch, Fragment } from '@stencil/core';
2
2
  import { createGuid, isEventFromElement, loc, overrideFocus } from 'src/utils';
3
3
  export class Q2RadioGroup {
4
4
  constructor() {
@@ -10,10 +10,13 @@ export class Q2RadioGroup {
10
10
  this.valueUpdated();
11
11
  this.nameUpdated();
12
12
  this.disabledUpdated();
13
+ this.readonlyUpdated();
13
14
  this.tileLayoutUpdated();
14
15
  };
15
16
  this.onInnerRadioChange = (event) => {
16
17
  event.stopImmediatePropagation();
18
+ if (this.readonly)
19
+ return;
17
20
  this.change.emit({ value: event.detail.value });
18
21
  };
19
22
  }
@@ -44,6 +47,10 @@ export class Q2RadioGroup {
44
47
  radio.groupDisabled = this.disabled;
45
48
  });
46
49
  }
50
+ readonlyUpdated() {
51
+ const readonly = this.readonly;
52
+ this.radioElements.forEach(radio => (radio.groupReadonly = readonly));
53
+ }
47
54
  tileLayoutUpdated() {
48
55
  this.radioElements.forEach(radio => {
49
56
  radio.groupTileLayout = this.tilelayout;
@@ -67,11 +74,15 @@ export class Q2RadioGroup {
67
74
  const currentValue = event.target.getAttribute('value') || this.value;
68
75
  let index = this.radioElements.findIndex(el => el === event.target || el.getAttribute('value') === currentValue);
69
76
  let sign = 0;
70
- if (['ArrowLeft', 'Left', 'ArrowUp', 'Up'].includes(event.key)) {
71
- sign = -1;
72
- }
73
- else if (['ArrowRight', 'Right', 'ArrowDown', 'Down'].includes(event.key)) {
74
- sign = 1;
77
+ switch (event.key) {
78
+ case 'ArrowLeft':
79
+ case 'ArrowUp':
80
+ sign = -1;
81
+ break;
82
+ case 'ArrowRight':
83
+ case 'ArrowDown':
84
+ sign = 1;
85
+ break;
75
86
  }
76
87
  if (index === -1 || sign === 0) {
77
88
  return;
@@ -79,19 +90,31 @@ export class Q2RadioGroup {
79
90
  index += sign;
80
91
  index = sign < 0 ? Math.max(0, index) : Math.min(this.radioElements.length - 1, index);
81
92
  event.preventDefault();
82
- this.value = this.radioElements[index].value;
93
+ if (!this.readonly) {
94
+ this.value = this.radioElements[index].value;
95
+ }
83
96
  this.radioElements[index].dispatchEvent(new FocusEvent('focus'));
84
97
  }
98
+ labelDOM() {
99
+ const { label, optional, readonly } = this;
100
+ let helpText = '';
101
+ if (readonly) {
102
+ helpText = h("span", { class: "optional-tag" }, loc('tecton.element.input.readonly'));
103
+ }
104
+ else if (optional) {
105
+ helpText = h("span", { class: "optional-tag" }, loc('tecton.element.input.optional'));
106
+ }
107
+ return (h(Fragment, null,
108
+ label && loc(label),
109
+ !!helpText && h("span", { class: "optional-tag" }, helpText)));
110
+ }
85
111
  render() {
112
+ const showLabel = this.label || this.optional || this.readonly;
86
113
  return (h("div", null,
87
- this.label || this.optional ? (h("div", { class: "group-legend" },
88
- this.label && loc(this.label),
89
- this.optional ? (h("span", { class: "optional-tag" }, loc('tecton.element.input.optional'))) : (''))) : (''),
90
- h("fieldset", { class: `q2-radio-fieldset ${this.hasError ? 'has-error' : ''}`, onChange: this.onInnerRadioChange, "aria-required": `${!this.optional}` },
91
- this.label || this.optional ? (h("legend", { class: "sr-only" },
92
- this.label && loc(this.label),
93
- this.optional ? (h("span", { class: "optional-tag" }, loc('tecton.element.input.optional'))) : (''))) : (''),
94
- this.hasError ? (h("div", { class: `error-icon-container ${this.label || this.optional ? '' : 'no-label'}` },
114
+ showLabel && h("div", { class: "group-legend" }, this.labelDOM()),
115
+ h("fieldset", { class: `q2-radio-fieldset ${this.hasError ? 'has-error' : ''}`, onChange: this.onInnerRadioChange, "aria-required": `${!this.optional}`, "aria-readonly": `${this.readonly}` },
116
+ showLabel && h("legend", { class: "sr-only" }, this.labelDOM()),
117
+ this.hasError ? (h("div", { class: `error-icon-container ${!showLabel && 'no-label'}` },
95
118
  h("q2-icon", { class: "h(4) w(4) mrg-b(2)", type: "error" }))) : (''),
96
119
  this.inputDom())));
97
120
  }
@@ -203,6 +226,23 @@ export class Q2RadioGroup {
203
226
  "attribute": "optional",
204
227
  "reflect": true
205
228
  },
229
+ "readonly": {
230
+ "type": "boolean",
231
+ "mutable": false,
232
+ "complexType": {
233
+ "original": "boolean",
234
+ "resolved": "boolean",
235
+ "references": {}
236
+ },
237
+ "required": false,
238
+ "optional": false,
239
+ "docs": {
240
+ "tags": [],
241
+ "text": ""
242
+ },
243
+ "attribute": "readonly",
244
+ "reflect": true
245
+ },
206
246
  "tilelayout": {
207
247
  "type": "boolean",
208
248
  "mutable": false,
@@ -283,6 +323,9 @@ export class Q2RadioGroup {
283
323
  }, {
284
324
  "propName": "disabled",
285
325
  "methodName": "disabledUpdated"
326
+ }, {
327
+ "propName": "readonly",
328
+ "methodName": "readonlyUpdated"
286
329
  }, {
287
330
  "propName": "tilelayout",
288
331
  "methodName": "tileLayoutUpdated"
@@ -4,6 +4,7 @@ export class Q2Select {
4
4
  constructor() {
5
5
  this.selectedOptions = [];
6
6
  this.disabled = false;
7
+ this.readonly = false;
7
8
  this.multiple = false;
8
9
  this.minRows = 3;
9
10
  this.searchable = false;
@@ -97,9 +98,10 @@ export class Q2Select {
97
98
  event.stopPropagation();
98
99
  const { activeIndex, searchable, optionElements, multiSelectHeader } = this;
99
100
  const { key, shiftKey } = event;
100
- if (multiSelectHeader &&
101
- multiSelectHeader.contains(event.target) &&
102
- [' ', 'Enter'].includes(key))
101
+ if (this.readonly ||
102
+ (multiSelectHeader &&
103
+ multiSelectHeader.contains(event.target) &&
104
+ [' ', 'Enter'].includes(key)))
103
105
  return;
104
106
  switch (key) {
105
107
  case ' ':
@@ -415,12 +417,16 @@ export class Q2Select {
415
417
  activeOption === null || activeOption === void 0 ? void 0 : activeOption.scrollIntoView({ block: 'nearest' });
416
418
  }
417
419
  openDropdownWithoutActiveElement() {
420
+ if (this.readonly)
421
+ return;
418
422
  this.activeIndex = undefined;
419
423
  this.setActiveOption();
420
424
  this.dropdownOpen = true;
421
425
  this.scheduledAfterRender.push(this.resizeIframe);
422
426
  }
423
427
  openDropdownWithActiveElement(activeIndex) {
428
+ if (this.readonly)
429
+ return;
424
430
  this.activeIndex = activeIndex;
425
431
  this.dropdownOpen = true;
426
432
  this.setActiveOption();
@@ -530,6 +536,8 @@ export class Q2Select {
530
536
  });
531
537
  }
532
538
  onHostElementChange(event) {
539
+ if (this.readonly)
540
+ return;
533
541
  if (event.target === this.hostElement && !this.hostElement.onchange) {
534
542
  if (this.multiple) {
535
543
  this.selectedOptions = event.detail.selectedOptions;
@@ -593,7 +601,7 @@ export class Q2Select {
593
601
  this.errors.length > 0 &&
594
602
  this.errors.map(error => loc(error))) ||
595
603
  (this.invalid && ['tecton.element.select.invalid']) ||
596
- [], disabled: this.disabled, optional: this.optional, hideLabel: this.hideLabel, ariaExpanded: this.dropdownOpen, ariaOwns: "dropdown", ariaHaspopup: "listbox", role: this.searchable ? 'combobox' : null, pseudo: !this.searchable, "test-id": "toggleDropdown", "hide-messages": true, iconRight: "chevron-down", onClick: this.inputClickHandler, onInput: this.inputInputHandler, onKeyDown: this.inputKeydownHandler, onFocus: this.inputFocusHandler, onBlur: this.inputBlurHandler, onChange: this.inputChangeHandler }),
604
+ [], disabled: this.disabled, optional: this.optional, readonly: this.readonly, hideLabel: this.hideLabel, ariaExpanded: this.dropdownOpen, ariaOwns: "dropdown", ariaHaspopup: "listbox", role: this.searchable ? 'combobox' : null, pseudo: !this.searchable, "test-id": "toggleDropdown", "hide-messages": true, iconRight: "chevron-down", onClick: this.inputClickHandler, onInput: this.inputInputHandler, onKeyDown: this.inputKeydownHandler, onFocus: this.inputFocusHandler, onBlur: this.inputBlurHandler, onChange: this.inputChangeHandler }),
597
605
  h("div", { class: "custom-display-content", hidden: !this.hasCustomDisplay || !!this.searchText, onClick: this.onCustomDisplayClick },
598
606
  h("slot", { name: "q2-select-display" })),
599
607
  this.optionsDropdown()));
@@ -726,6 +734,24 @@ export class Q2Select {
726
734
  "reflect": true,
727
735
  "defaultValue": "false"
728
736
  },
737
+ "readonly": {
738
+ "type": "boolean",
739
+ "mutable": false,
740
+ "complexType": {
741
+ "original": "boolean",
742
+ "resolved": "boolean",
743
+ "references": {}
744
+ },
745
+ "required": false,
746
+ "optional": false,
747
+ "docs": {
748
+ "tags": [],
749
+ "text": ""
750
+ },
751
+ "attribute": "readonly",
752
+ "reflect": true,
753
+ "defaultValue": "false"
754
+ },
729
755
  "invalid": {
730
756
  "type": "boolean",
731
757
  "mutable": false,
@@ -136,9 +136,9 @@ button {
136
136
  .custom-display-content {
137
137
  position: absolute;
138
138
  bottom: 0;
139
- left: calc(var(--tct-scale-2, var(--app-scale-2, 10px)) + 1px);
139
+ left: calc(var-list(--tct-scale-2, --app-scale-2, 10px) + 1px);
140
140
  height: 44px;
141
- width: calc(100% - 34px - var(--tct-scale-3, var(--app-scale-3, 15px)));
141
+ width: calc(100% - 34px - var-list(--tct-scale-3, --app-scale-3, 15px));
142
142
  overflow: hidden;
143
143
  cursor: pointer;
144
144
  transition: left var(--tct-tween-2, var(--app-tween-1, 0.2s ease));
@@ -151,11 +151,11 @@ button {
151
151
 
152
152
  .is-searchable.is-focused .custom-display-content,
153
153
  .is-searchable .custom-display-content:active {
154
- left: calc(var(--tct-scale-3, var(--app-scale-3, 15px)) + 1px);
154
+ left: calc(var-list(--tct-scale-3, --app-scale-3, 15px) + 1px);
155
155
  }
156
156
 
157
157
  .has-error .custom-display-content {
158
- width: calc(100% - 68px - var(--tct-scale-3, var(--app-scale-3, 15px)));
158
+ width: calc(100% - 68px - var-list(--tct-scale-3, --app-scale-3, 15px));
159
159
  }
160
160
 
161
161
  .dropdown-open .q2-select-dropdown {
@@ -171,9 +171,9 @@ li {
171
171
  }
172
172
 
173
173
  hr {
174
- width: calc(var(--comp-step-width) - var(--comp-step-gap) - var(--comp-bullet-gap) - var(--comp-bullet-size));
175
- top: calc(var(--comp-bullet-size) / 2 + var(--comp-bullet-gap));
176
- left: calc(var(--comp-step-width) * -0.5 + var(--comp-step-gap) + var(--comp-bullet-gap));
174
+ width: calc( var(--comp-step-width) - var(--comp-step-gap) - var(--comp-bullet-gap) - var(--comp-bullet-size) );
175
+ top: calc(calc(var(--comp-bullet-size) / 2) + var(--comp-bullet-gap));
176
+ left: calc(calc(var(--comp-step-width) * -0.5) + var(--comp-step-gap) + var(--comp-bullet-gap));
177
177
  border: 0;
178
178
  border-top: 1px solid var(--comp-bullet-bg);
179
179
  height: 0;
@@ -190,11 +190,11 @@ hr {
190
190
  color: var(--tct-stepper-title-color, var(--t-stepper-title-color, var(--t-text, #4d4d4d)));
191
191
  font-size: var(--tct-stepper-title-font-size, var(--t-stepper-title-font-size, var(--app-font-size-small, 12px)));
192
192
  height: 1.5em;
193
+ text-overflow: ellipsis;
194
+ overflow: hidden;
193
195
  display: -webkit-box;
194
196
  -webkit-line-clamp: 2;
195
197
  -webkit-box-orient: vertical;
196
- overflow: hidden;
197
- text-overflow: ellipsis;
198
198
  }
199
199
  [aria-selected] .step-label {
200
200
  font-weight: var(--tct-stepper-active-font-weight, var(--t-stepper-active-font-weight, 600));
@@ -206,11 +206,11 @@ hr {
206
206
  .step-description {
207
207
  color: var(--tct-stepper-description-color, var(--t-stepper-description-color, var(--t-textA, rgba(77, 77, 77, 0.77))));
208
208
  font-size: var(--tct-stepper-description-font-size, var(--t-stepper-description-font-size, var(--app-font-size-small, 12px)));
209
+ text-overflow: ellipsis;
210
+ overflow: hidden;
209
211
  display: -webkit-box;
210
212
  -webkit-line-clamp: 4;
211
213
  -webkit-box-orient: vertical;
212
- overflow: hidden;
213
- text-overflow: ellipsis;
214
214
  padding-bottom: 0.2em;
215
215
  }
216
216
 
@@ -17,6 +17,9 @@ export function isFirefox() {
17
17
  const userAgent = navigator.userAgent.toLowerCase();
18
18
  return userAgent.includes('firefox');
19
19
  }
20
+ export function isTouchDevice() {
21
+ return 'ontouchstart' in window || navigator.maxTouchPoints > 0;
22
+ }
20
23
  export function isSafari() {
21
24
  const userAgent = navigator.userAgent.toLowerCase();
22
25
  return userAgent.includes('safari') && !userAgent.includes('chrome');
@@ -54,9 +57,16 @@ export function labelDOM(target) {
54
57
  const { label, hideLabel } = target;
55
58
  if (!label || hideLabel)
56
59
  return;
60
+ let helpText = '';
61
+ if (target.optional) {
62
+ helpText = h("span", { class: "optional-tag" }, loc('tecton.element.input.optional'));
63
+ }
64
+ if (target.readonly) {
65
+ helpText = h("span", { class: "optional-tag" }, loc('tecton.element.input.readonly'));
66
+ }
57
67
  return (h("label", { htmlFor: target.inputId, class: target.readonly ? 'readonly-field' : '' },
58
68
  loc(target.label),
59
- target.optional ? (h("span", { class: "optional-tag" }, loc('tecton.element.input.optional'))) : ('')));
69
+ helpText));
60
70
  }
61
71
  export function handleAriaLabel(target) {
62
72
  const { ariaLabel } = target;
@@ -164,6 +164,16 @@ const icons = {
164
164
  markup: () => (h("g", null,
165
165
  h("path", { d: "M13 2C6.986 2 2.11 6.559 2.11 12.182c0 3.2 1.579 6.054 4.046 7.92V24l3.716-2.062c.991.278 2.04.427 3.128.427 6.014 0 10.89-4.559 10.89-10.183C23.89 6.56 19.013 2 13 2zm1.147 13.655l-2.816-2.926-5.424 2.999 5.946-6.31 2.816 2.926 5.424-3-5.946 6.31z", class: "filled" })))
166
166
  },
167
+ 'brand-payrecs-color': {
168
+ markup: () => (h("g", { "fill-rule": "evenodd" },
169
+ h("path", { fill: "#194879", d: "M9.27-347v-6.29h3.17c1.99 0 3.27.01 3.43.02.97.06 1.8.25 2.55.59 1.21.55 2.08 1.53 2.43 2.74.27.96.25 2.09-.06 2.99-.03.1-.12.3-.19.43-.38.78-1 1.42-1.81 1.86-.07.04-.12.07-.12.08 0 0 .59.88 1.31 1.93.72 1.06 1.31 1.93 1.31 1.94s-1.02.01-2.25.01h-2.25l-1.07-1.58-1.07-1.58H13.5v3.16H9.27v-6.3zm6.01-.08c.36-.03.64-.1.86-.23.06-.03.17-.12.25-.21.13-.13.16-.17.23-.31.09-.19.12-.3.15-.53.04-.38-.04-.77-.22-1.05-.17-.26-.39-.42-.72-.52-.29-.09-.32-.09-1.36-.1l-.96-.01v2.96h.79c.43.02.87.01.98 0z", transform: "translate(4 360)" }),
170
+ h("path", { fill: "#508dca", d: "M-3.3-383v-6.29h3.14c1.86 0 3.25.01 3.41.02 2.48.14 4.21 1.18 4.92 2.97.37.93.42 2.14.13 3.15-.27.92-.86 1.75-1.64 2.29-.67.47-1.49.79-2.44.94-.59.1-.96.12-2.25.12H.92v3.1H-3.3v-6.3zm6.26-.1c.48-.09.81-.28 1.02-.6.17-.25.23-.5.21-.91-.01-.3-.03-.44-.13-.63-.22-.47-.63-.71-1.31-.77-.1-.01-.55-.02-1.01-.02H.92v2.96l.95-.01c.8.01.96 0 1.09-.02z", transform: "translate(4 396)" })))
171
+ },
172
+ 'brand-payrecs-filled': {
173
+ markup: () => (h("g", { class: "filled" },
174
+ h("path", { d: "M9.27-347v-6.29h3.17c1.99 0 3.27.01 3.43.02.97.06 1.8.25 2.55.59 1.21.55 2.08 1.53 2.43 2.74.27.96.25 2.09-.06 2.99-.03.1-.12.3-.19.43-.38.78-1 1.42-1.81 1.86-.07.04-.12.07-.12.08 0 0 .59.88 1.31 1.93.72 1.06 1.31 1.93 1.31 1.94s-1.02.01-2.25.01h-2.25l-1.07-1.58-1.07-1.58H13.5v3.16H9.27v-6.3zm6.01-.08c.36-.03.64-.1.86-.23.06-.03.17-.12.25-.21.13-.13.16-.17.23-.31.09-.19.12-.3.15-.53.04-.38-.04-.77-.22-1.05-.17-.26-.39-.42-.72-.52-.29-.09-.32-.09-1.36-.1l-.96-.01v2.96h.79c.43.02.87.01.98 0z", transform: "translate(4 360)" }),
175
+ h("path", { d: "M-3.3-383v-6.29h3.14c1.86 0 3.25.01 3.41.02 2.48.14 4.21 1.18 4.92 2.97.37.93.42 2.14.13 3.15-.27.92-.86 1.75-1.64 2.29-.67.47-1.49.79-2.44.94-.59.1-.96.12-2.25.12H.92v3.1H-3.3v-6.3zm6.26-.1c.48-.09.81-.28 1.02-.6.17-.25.23-.5.21-.91-.01-.3-.03-.44-.13-.63-.22-.47-.63-.71-1.31-.77-.1-.01-.55-.02-1.01-.02H.92v2.96l.95-.01c.8.01.96 0 1.09-.02z", transform: "translate(4 396)" })))
176
+ },
167
177
  'brand-snapchat-color': {
168
178
  markup: () => (h("g", { fill: "none", "fill-rule": "evenodd" },
169
179
  h("g", null,
@@ -463,6 +463,9 @@ function isFirefox() {
463
463
  const userAgent = navigator.userAgent.toLowerCase();
464
464
  return userAgent.includes('firefox');
465
465
  }
466
+ function isTouchDevice() {
467
+ return 'ontouchstart' in window || navigator.maxTouchPoints > 0;
468
+ }
466
469
  function isSafari() {
467
470
  const userAgent = navigator.userAgent.toLowerCase();
468
471
  return userAgent.includes('safari') && !userAgent.includes('chrome');
@@ -490,9 +493,16 @@ function labelDOM(target) {
490
493
  const { label, hideLabel } = target;
491
494
  if (!label || hideLabel)
492
495
  return;
496
+ let helpText = '';
497
+ if (target.optional) {
498
+ helpText = h("span", { class: "optional-tag" }, loc('tecton.element.input.optional'));
499
+ }
500
+ if (target.readonly) {
501
+ helpText = h("span", { class: "optional-tag" }, loc('tecton.element.input.readonly'));
502
+ }
493
503
  return (h("label", { htmlFor: target.inputId, class: target.readonly ? 'readonly-field' : '' },
494
504
  loc(target.label),
495
- target.optional ? (h("span", { class: "optional-tag" }, loc('tecton.element.input.optional'))) : ('')));
505
+ helpText));
496
506
  }
497
507
  function handleAriaLabel(target) {
498
508
  const { ariaLabel } = target;
@@ -564,4 +574,4 @@ function setPopProperties(target) {
564
574
  }
565
575
  }
566
576
 
567
- export { addSmoothScrollPolyfill as a, setMessageHeight as b, createGuid as c, labelDOM as d, isFirefox as e, handleAriaLabel as h, isEventFromElement as i, loc as l, messagesDOM as m, nextPaint as n, overrideFocus as o, setPopProperties as s };
577
+ export { isTouchDevice as a, addSmoothScrollPolyfill as b, createGuid as c, setMessageHeight as d, labelDOM as e, isFirefox as f, handleAriaLabel as h, isEventFromElement as i, loc as l, messagesDOM as m, nextPaint as n, overrideFocus as o, setPopProperties as s };
@@ -10,7 +10,7 @@ const patchEsm = () => {
10
10
  const defineCustomElements = (win, options) => {
11
11
  if (typeof window === 'undefined') return Promise.resolve();
12
12
  return patchEsm().then(() => {
13
- return bootstrapLazy([["q2-icon",[[1,"q2-icon",{"type":[513],"label":[513]}]]],["q2-calendar",[[1,"q2-calendar",{"value":[1537],"label":[513],"hideLabel":[516,"hide-label"],"ariaLabel":[513,"aria-label"],"optional":[516],"disabled":[516],"invalid":[1540],"typeable":[516],"placeholder":[513],"buttonLabel":[513,"button-label"],"disabledMsg":[513,"disabled-msg"],"calendarLabel":[513,"calendar-label"],"disclaimer":[513],"displayFormat":[513,"display-format"],"startDate":[513,"start-date"],"endDate":[513,"end-date"],"cutoffTime":[513,"cutoff-time"],"daysOfWeekChecksum":[514,"days-of-week-checksum"],"popDirection":[513,"pop-direction"],"assume":[513],"errors":[1040],"invalidDates":[16],"validDates":[16],"onsuccess":[16],"dropdownOpen":[32],"keyboardSelection":[32],"typedValue":[32],"dateList":[32],"hintMessage":[32],"hintMessageType":[32]},[[0,"change","defaultChangeHandler"],[0,"error","defaultErrorHandler"],[0,"success","defaultSuccessHandler"],[0,"focus","delegateFocus"]]]]],["q2-dropdown",[[1,"q2-dropdown",{"type":[513],"icon":[513],"label":[513],"hideLabel":[516,"hide-label"],"ariaLabel":[513,"aria-label"],"disabled":[516],"popDirection":[513,"pop-direction"],"name":[513],"context":[513],"contextValue":[513,"context-value"],"resolvedType":[513,"resolved-type"],"dropdownOpen":[32]},[[0,"focus","delegateFocus"]]]]],["q2-select",[[1,"q2-select",{"label":[513],"hideLabel":[516,"hide-label"],"value":[1025],"ariaLabel":[513,"aria-label"],"selectedOptions":[1032,"selected-options"],"disabled":[516],"invalid":[516],"errors":[16],"multiple":[516],"minRows":[2,"min-rows"],"popDirection":[513,"pop-direction"],"searchable":[516],"multilineOptions":[516,"multiline-options"],"optional":[516],"dropdownOpen":[32],"onlyShowingSelected":[32],"activeOptionId":[32],"searchText":[32],"hasCustomDisplay":[32],"inputFocused":[32],"statusMessage":[32]},[[0,"change","onHostElementChange"],[0,"input","onHostElementInput"],[0,"focus","delegateFocus"],[0,"click","clickHandler"],[0,"keydown","keydownHandler"]]]]],["q2-editable-field",[[1,"q2-editable-field",{"value":[1537],"editing":[1540],"label":[1537],"hideLabel":[1540,"hide-label"],"ariaLabel":[1537,"aria-label"],"type":[513],"formatModifier":[513,"format-modifier"],"truncated":[513],"maxlength":[514],"persistentLabel":[516,"persistent-label"],"hints":[16],"errors":[16]},[[0,"change","onHostElementChange"],[0,"focus","delegateFocus"]]]]],["q2-carousel",[[4,"q2-carousel",{"autoPlay":[516,"auto-play"],"fullWidthPanes":[516,"full-width-panes"],"hidePagination":[516,"hide-pagination"],"showNavigationArrows":[516,"show-navigation-arrows"],"ariaLabel":[513,"aria-label"],"label":[513],"index":[1538],"universalCarouselOptions":[32],"fullWidthDisplayOptions":[32],"activePaneIndex":[32],"applyFocus":[32],"applyPaginationFocus":[32],"autoPlayInProgress":[32],"compactMode":[32],"carouselWrapperWidth":[32]},[[0,"change","onHostElementChange"],[0,"clickCarouselPane","carouselPaneClicked"],[0,"focus","delegateFocus"]]]]],["q2-section",[[1,"q2-section",{"label":[513],"collapsible":[516],"noCollapseIcon":[516,"no-collapse-icon"],"expanded":[1540],"contentHeight":[32],"hasYieldedHeader":[32]},[[0,"change","defaultChangeHandler"],[0,"focus","delegateFocus"]]]]],["q2-stepper",[[1,"q2-stepper",{"currentStep":[1538,"current-step"],"stepCount":[1026,"step-count"],"lastEnabledStep":[1026,"last-enabled-step"],"scrollEnabled":[32],"showScrollLeft":[32],"showScrollRight":[32]},[[0,"change","defaultChangeHandler"],[0,"focus","delegateFocus"]]]]],["q2-tab-container",[[1,"q2-tab-container",{"value":[1537],"type":[513],"name":[513],"color":[513],"noPrint":[516,"no-print"],"hasLeft":[32],"hasRight":[32],"scrollEnabled":[32],"showScrollLeft":[32],"showScrollRight":[32],"tabs":[32]},[[0,"change","defaultChangeHandler"],[9,"resize","onResize"],[0,"focus","onFocus"]]]]],["q2-avatar",[[1,"q2-avatar",{"name":[513],"initials":[513],"src":[513],"icon":[1],"badSrc":[32]}]]],["q2-checkbox",[[1,"q2-checkbox",{"checked":[1540],"type":[513],"label":[513],"hideLabel":[516,"hide-label"],"ariaLabel":[513,"aria-label"],"indeterminate":[516],"disabled":[516],"value":[513],"name":[513],"hasError":[516,"has-error"],"groupDisabled":[516,"group-disabled"],"alignment":[513]},[[0,"change","defaultChangeHandler"],[0,"focus","delegateFocus"]]]]],["q2-checkbox-group",[[1,"q2-checkbox-group",{"label":[513],"value":[1040],"disabled":[516],"optional":[516],"hasError":[516,"has-error"]},[[0,"change","onHostElementChange"]]]]],["q2-option",[[1,"q2-option",{"role":[513],"tabindex":[513],"display":[513],"value":[513],"disabled":[516],"optionId":[513,"option-id"],"disabledGroup":[516,"disabled-group"],"selected":[516],"hidden":[516],"multiline":[516],"active":[516],"_multiSelectHidden":[516,"_multiselecthidden"]}]]],["q2-radio-group",[[1,"q2-radio-group",{"label":[513],"value":[1025],"disabled":[516],"name":[513],"optional":[516],"tilelayout":[516],"tileAlignment":[513,"tile-alignment"],"hasError":[516,"has-error"]},[[0,"change","onHostElementChange"],[0,"focus","delegateFocus"],[0,"keydown","keydownHandler"]]]]],["q2-textarea",[[1,"q2-textarea",{"value":[1025],"label":[513],"hideLabel":[516,"hide-label"],"hideMessages":[516,"hide-messages"],"optional":[516],"placeholder":[513],"disabled":[516],"readonly":[516],"spellcheck":[516],"maxlength":[1538],"rows":[514],"cols":[514],"resize":[513],"errors":[16],"hints":[16],"hasFocus":[32],"downParams":[32]},[[0,"focus","onHostElementFocus"],[0,"change","onHostElementChange"]]]]],["q2-carousel-pane",[[4,"q2-carousel-pane",{"index":[2],"siblingCount":[2,"sibling-count"],"isActivePane":[516,"is-active-pane"],"label":[513]}]]],["q2-loading-element",[[0,"q2-loading-element",{"shape":[513],"width":[513],"height":[513],"borderRadius":[513,"border-radius"]}]]],["q2-loc",[[1,"q2-loc",{"value":[513],"substitutions":[16]}]]],["q2-optgroup",[[1,"q2-optgroup",{"disabled":[516],"label":[513],"hidden":[32]}]]],["q2-radio",[[1,"q2-radio",{"label":[513],"hideLabel":[516,"hide-label"],"value":[513],"disabled":[516],"checked":[516],"name":[513],"ariaLabel":[513,"aria-label"],"groupDisabled":[4,"group-disabled"],"groupTileLayout":[4,"group-tile-layout"]},[[0,"click","onHostClick"],[0,"focus","delegateFocus"]]]]],["q2-stepper-pane",[[1,"q2-stepper-pane",{"label":[513],"description":[513],"isActive":[516,"is-active"]}]]],["q2-tab-pane",[[1,"q2-tab-pane",{"value":[513],"label":[513],"name":[513],"selected":[516],"index":[2],"guid":[2]}]]],["tecton-tab-pane",[[1,"tecton-tab-pane",{"value":[513],"label":[513],"name":[513],"selected":[516],"index":[2],"guid":[2],"provided":[516],"url":[513],"moduleId":[513,"module-id"],"minHeight":[513,"min-height"],"authPayload":[16],"showForm":[4,"show-form"],"_showForm":[32]}]]],["q2-dropdown-item",[[1,"q2-dropdown-item",{"disabled":[516],"removable":[516],"separator":[516],"label":[513],"ariaLabel":[513,"aria-label"],"value":[513]},[[0,"focus","onHostElementFocus"]]]]],["q2-message",[[1,"q2-message",{"type":[513],"appearance":[513],"description":[516],"presentToggle":[32],"present":[64]},[[0,"focus","delegateFocus"]]]]],["q2-input",[[1,"q2-input",{"value":[1025],"label":[513],"hideLabel":[516,"hide-label"],"type":[513],"placeholder":[513],"disabled":[516],"autocomplete":[513],"autocorrect":[513],"autocapitalize":[513],"hideMessages":[516,"hide-messages"],"iconLeft":[513,"icon-left"],"iconRight":[513,"icon-right"],"readonly":[516],"clearable":[516],"optional":[516],"formatModifier":[513,"format-modifier"],"maxlength":[1538],"pseudo":[516],"showVisibilityToggle":[516,"show-visibility-toggle"],"textHidden":[1540,"text-hidden"],"ariaControls":[1,"aria-controls"],"role":[1],"ariaOwns":[1,"aria-owns"],"ariaLabel":[513,"aria-label"],"ariaHaspopup":[1,"aria-haspopup"],"ariaExpanded":[4,"aria-expanded"],"ariaActivedescendant":[8,"aria-activedescendant"],"errors":[16],"hints":[16],"formattedValueObject":[32],"hasFocus":[32]},[[0,"focus","onHostElementFocus"],[0,"change","onHostElementChange"]]]]],["click-elsewhere",[[0,"click-elsewhere"]]],["q2-btn_2",[[1,"q2-btn",{"ariaExpanded":[4,"aria-expanded"],"ariaHasPopup":[8,"aria-has-popup"],"ariaControls":[1,"aria-controls"],"ariaSelected":[4,"aria-selected"],"label":[513],"hideLabel":[516,"hide-label"],"ariaLabel":[513,"aria-label"],"tabIndex":[2,"tab-index"],"intent":[513],"disabled":[516],"type":[513],"loading":[516],"badge":[516],"active":[516],"fab":[516],"iconPosition":[32]},[[2,"click","disable"],[0,"focus","delegateFocus"]]],[1,"q2-loading",{"type":[513],"shape":[513],"modifiers":[513],"counts":[513],"label":[513],"ariaLabel":[513,"aria-label"],"inline":[516]}]]]], options);
13
+ return bootstrapLazy([["q2-icon",[[1,"q2-icon",{"type":[513],"label":[513]}]]],["q2-calendar",[[1,"q2-calendar",{"value":[1537],"label":[513],"hideLabel":[516,"hide-label"],"ariaLabel":[513,"aria-label"],"optional":[516],"disabled":[516],"readonly":[516],"invalid":[1540],"typeable":[516],"placeholder":[513],"buttonLabel":[513,"button-label"],"disabledMsg":[513,"disabled-msg"],"calendarLabel":[513,"calendar-label"],"disclaimer":[513],"displayFormat":[513,"display-format"],"startDate":[513,"start-date"],"endDate":[513,"end-date"],"cutoffTime":[513,"cutoff-time"],"daysOfWeekChecksum":[514,"days-of-week-checksum"],"popDirection":[513,"pop-direction"],"assume":[513],"errors":[1040],"invalidDates":[16],"validDates":[16],"onsuccess":[16],"dropdownOpen":[32],"keyboardSelection":[32],"typedValue":[32],"dateList":[32],"hintMessage":[32],"hintMessageType":[32]},[[0,"change","defaultChangeHandler"],[0,"error","defaultErrorHandler"],[0,"success","defaultSuccessHandler"],[0,"focus","delegateFocus"]]]]],["q2-dropdown",[[1,"q2-dropdown",{"type":[513],"icon":[513],"label":[513],"hideLabel":[516,"hide-label"],"ariaLabel":[513,"aria-label"],"disabled":[516],"popDirection":[513,"pop-direction"],"name":[513],"context":[513],"contextValue":[513,"context-value"],"resolvedType":[513,"resolved-type"],"dropdownOpen":[32]},[[0,"focus","delegateFocus"]]]]],["q2-select",[[1,"q2-select",{"label":[513],"hideLabel":[516,"hide-label"],"value":[1025],"ariaLabel":[513,"aria-label"],"selectedOptions":[1032,"selected-options"],"disabled":[516],"readonly":[516],"invalid":[516],"errors":[16],"multiple":[516],"minRows":[2,"min-rows"],"popDirection":[513,"pop-direction"],"searchable":[516],"multilineOptions":[516,"multiline-options"],"optional":[516],"dropdownOpen":[32],"onlyShowingSelected":[32],"activeOptionId":[32],"searchText":[32],"hasCustomDisplay":[32],"inputFocused":[32],"statusMessage":[32]},[[0,"change","onHostElementChange"],[0,"input","onHostElementInput"],[0,"focus","delegateFocus"],[0,"click","clickHandler"],[0,"keydown","keydownHandler"]]]]],["q2-editable-field",[[1,"q2-editable-field",{"value":[1537],"editing":[1540],"label":[1537],"hideLabel":[1540,"hide-label"],"ariaLabel":[1537,"aria-label"],"type":[513],"formatModifier":[513,"format-modifier"],"truncated":[513],"maxlength":[514],"persistentLabel":[516,"persistent-label"],"hints":[16],"errors":[16]},[[0,"change","onHostElementChange"],[0,"focus","delegateFocus"]]]]],["q2-pagination",[[1,"q2-pagination",{"recordType":[1,"record-type"],"perPage":[2,"per-page"],"total":[514],"page":[1538],"pages":[1538],"recordsOnly":[1540,"records-only"],"pagesOnly":[1540,"pages-only"],"isSmall":[32]},[[0,"focus","onHostElementFocus"]]]]],["q2-carousel",[[4,"q2-carousel",{"autoPlay":[516,"auto-play"],"fullWidthPanes":[516,"full-width-panes"],"hidePagination":[516,"hide-pagination"],"showNavigationArrows":[516,"show-navigation-arrows"],"ariaLabel":[513,"aria-label"],"label":[513],"index":[1538],"universalCarouselOptions":[32],"fullWidthDisplayOptions":[32],"activePaneIndex":[32],"applyFocus":[32],"applyPaginationFocus":[32],"autoPlayInProgress":[32],"compactMode":[32],"carouselWrapperWidth":[32]},[[0,"change","onHostElementChange"],[0,"clickCarouselPane","carouselPaneClicked"],[0,"focus","delegateFocus"]]]]],["q2-section",[[1,"q2-section",{"label":[513],"collapsible":[516],"noCollapseIcon":[516,"no-collapse-icon"],"expanded":[1540],"contentHeight":[32],"hasYieldedHeader":[32]},[[0,"change","defaultChangeHandler"],[0,"focus","delegateFocus"]]]]],["q2-stepper",[[1,"q2-stepper",{"currentStep":[1538,"current-step"],"stepCount":[1026,"step-count"],"lastEnabledStep":[1026,"last-enabled-step"],"scrollEnabled":[32],"showScrollLeft":[32],"showScrollRight":[32]},[[0,"change","defaultChangeHandler"],[0,"focus","delegateFocus"]]]]],["q2-tab-container",[[1,"q2-tab-container",{"value":[1537],"type":[513],"name":[513],"color":[513],"noPrint":[516,"no-print"],"hasLeft":[32],"hasRight":[32],"scrollEnabled":[32],"showScrollLeft":[32],"showScrollRight":[32],"tabs":[32]},[[0,"change","defaultChangeHandler"],[9,"resize","onResize"],[0,"focus","onFocus"]]]]],["q2-card",[[1,"q2-card",{"title":[513],"description":[513],"avatarName":[513,"avatar-name"],"avatarInitials":[513,"avatar-initials"],"avatarIcon":[513,"avatar-icon"],"avatarSrc":[513,"avatar-src"],"isSmall":[516,"is-small"],"isTouch":[516,"is-touch"],"url":[513],"target":[513],"isAutoTouch":[32],"isAutoSmall":[32]},[[0,"focus","onHostElementFocus"]]]]],["q2-checkbox",[[1,"q2-checkbox",{"checked":[1540],"type":[513],"label":[513],"hideLabel":[516,"hide-label"],"ariaLabel":[513,"aria-label"],"indeterminate":[516],"disabled":[516],"readonly":[516],"value":[513],"name":[513],"hasError":[516,"has-error"],"groupDisabled":[516,"group-disabled"],"alignment":[513]},[[0,"change","defaultChangeHandler"],[0,"focus","delegateFocus"]]]]],["q2-checkbox-group",[[1,"q2-checkbox-group",{"label":[513],"value":[1040],"disabled":[516],"readonly":[516],"optional":[516],"hasError":[516,"has-error"]},[[0,"change","onHostElementChange"]]]]],["q2-option",[[1,"q2-option",{"role":[513],"tabindex":[513],"display":[513],"value":[513],"disabled":[516],"optionId":[513,"option-id"],"disabledGroup":[516,"disabled-group"],"selected":[516],"hidden":[516],"multiline":[516],"active":[516],"_multiSelectHidden":[516,"_multiselecthidden"]}]]],["q2-radio-group",[[1,"q2-radio-group",{"label":[513],"value":[1025],"disabled":[516],"name":[513],"optional":[516],"readonly":[516],"tilelayout":[516],"tileAlignment":[513,"tile-alignment"],"hasError":[516,"has-error"]},[[0,"change","onHostElementChange"],[0,"focus","delegateFocus"],[0,"keydown","keydownHandler"]]]]],["q2-textarea",[[1,"q2-textarea",{"value":[1025],"label":[513],"hideLabel":[516,"hide-label"],"hideMessages":[516,"hide-messages"],"optional":[516],"placeholder":[513],"disabled":[516],"readonly":[516],"spellcheck":[516],"maxlength":[1538],"rows":[514],"cols":[514],"resize":[513],"errors":[16],"hints":[16],"hasFocus":[32],"downParams":[32]},[[0,"focus","onHostElementFocus"],[0,"change","onHostElementChange"]]]]],["q2-carousel-pane",[[4,"q2-carousel-pane",{"index":[2],"siblingCount":[2,"sibling-count"],"isActivePane":[516,"is-active-pane"],"label":[513]}]]],["q2-loading-element",[[0,"q2-loading-element",{"shape":[513],"width":[513],"height":[513],"borderRadius":[513,"border-radius"]}]]],["q2-loc",[[1,"q2-loc",{"value":[513],"substitutions":[16]}]]],["q2-optgroup",[[1,"q2-optgroup",{"disabled":[516],"label":[513],"hidden":[32]}]]],["q2-radio",[[1,"q2-radio",{"label":[513],"hideLabel":[516,"hide-label"],"value":[513],"disabled":[516],"checked":[516],"name":[513],"ariaLabel":[513,"aria-label"],"groupDisabled":[4,"group-disabled"],"groupReadonly":[4,"group-readonly"],"groupTileLayout":[4,"group-tile-layout"]},[[0,"click","onHostClick"],[0,"focus","delegateFocus"]]]]],["q2-stepper-pane",[[1,"q2-stepper-pane",{"label":[513],"description":[513],"isActive":[516,"is-active"]}]]],["q2-tab-pane",[[1,"q2-tab-pane",{"value":[513],"label":[513],"name":[513],"selected":[516],"index":[2],"guid":[2]}]]],["tecton-tab-pane",[[1,"tecton-tab-pane",{"value":[513],"label":[513],"name":[513],"selected":[516],"index":[2],"guid":[2],"provided":[516],"url":[513],"moduleId":[513,"module-id"],"minHeight":[513,"min-height"],"authPayload":[16],"showForm":[4,"show-form"],"_showForm":[32]}]]],["q2-dropdown-item",[[1,"q2-dropdown-item",{"disabled":[516],"removable":[516],"separator":[516],"label":[513],"ariaLabel":[513,"aria-label"],"value":[513]},[[0,"focus","onHostElementFocus"]]]]],["q2-avatar",[[1,"q2-avatar",{"name":[513],"initials":[513],"src":[513],"icon":[1],"badSrc":[32]}]]],["q2-message",[[1,"q2-message",{"type":[513],"appearance":[513],"description":[516],"presentToggle":[32],"present":[64]},[[0,"focus","delegateFocus"]]]]],["click-elsewhere",[[0,"click-elsewhere"]]],["q2-btn_2",[[1,"q2-btn",{"ariaExpanded":[4,"aria-expanded"],"ariaHasPopup":[8,"aria-has-popup"],"ariaControls":[1,"aria-controls"],"ariaSelected":[4,"aria-selected"],"label":[513],"hideLabel":[516,"hide-label"],"ariaLabel":[513,"aria-label"],"tabIndex":[2,"tab-index"],"intent":[513],"disabled":[516],"type":[513],"loading":[516],"badge":[516],"active":[516],"fab":[516],"iconPosition":[32]},[[2,"click","disable"],[0,"focus","delegateFocus"]]],[1,"q2-loading",{"type":[513],"shape":[513],"modifiers":[513],"counts":[513],"label":[513],"ariaLabel":[513,"aria-label"],"inline":[516]}]]],["q2-input",[[1,"q2-input",{"value":[1025],"label":[513],"hideLabel":[516,"hide-label"],"type":[513],"placeholder":[513],"disabled":[516],"autocomplete":[513],"autocorrect":[513],"autocapitalize":[513],"hideMessages":[516,"hide-messages"],"iconLeft":[513,"icon-left"],"iconRight":[513,"icon-right"],"readonly":[516],"clearable":[516],"optional":[516],"min":[514],"max":[514],"formatModifier":[513,"format-modifier"],"maxlength":[1538],"pseudo":[516],"showVisibilityToggle":[516,"show-visibility-toggle"],"textHidden":[1540,"text-hidden"],"ariaControls":[1,"aria-controls"],"role":[1],"ariaOwns":[1,"aria-owns"],"ariaLabel":[513,"aria-label"],"ariaHaspopup":[1,"aria-haspopup"],"ariaExpanded":[4,"aria-expanded"],"ariaActivedescendant":[8,"aria-activedescendant"],"current":[1],"errors":[16],"hints":[16],"formattedValueObject":[32],"hasFocus":[32]},[[0,"focus","onHostElementFocus"],[0,"change","onHostElementChange"]]]]]], options);
14
14
  });
15
15
  };
16
16
 
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, g as getElement } from './index-be8376c0.js';
2
- import { i as icons } from './icons-3ee662ea.js';
2
+ import { i as icons } from './icons-6a143c2f.js';
3
3
 
4
4
  const stylesCss = "*{box-sizing:border-box}*:active{outline:none}*:focus{outline:none;box-shadow:var(--const-global-focus)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}.avatar-img{object-fit:cover;height:var(--tct-avatar-img-height, var(--tct-avatar-height, 44px));width:var(--tct-avatar-img-width, var(--tct-avatar-width, 44px));border-radius:var(--tct-avatar-img-br, 50%);background-color:var(--tct-avatar-bg, #9e9e9e)}.avatar-initials{height:var(--tct-avatar-height, 44px);width:var(--tct-avatar-width, 44px);background-color:var(--tct-avatar-bg, var(--t-gray-8, #9e9e9e));border-radius:var(--tct-avatar-br, 50%)}.size-1{--tct-avatar-font-size:var(--tct-avatar-size-1, 60px)}.size-2{--tct-avatar-font-size:var(--tct-avatar-size-2, 50px)}.size-3{--tct-avatar-font-size:var(--tct-avatar-size-3, 40px)}.size-4{--tct-avatar-font-size:var(--tct-avatar-size-4, 30px)}text{fill:var(--tct-avatar-color, #ffffff);font-weight:var(--tct-avatar-font-weight, 200);font-size:var(--tct-avatar-font-size, 40px)}.fallback{height:var(--tct-avatar-fallback-height, var(--tct-avatar-height, 44px));width:var(--tct-avatar-fallback-width, var(--tct-avatar-width, 44px));border-radius:var(--tct-avatar-fallback-br, var(--tct-avatar-img-br, 50%));background-color:var(--tct-avatar-fallback-bg, var(--tct-avatar-bg, #9e9e9e));display:flex;align-items:center;justify-content:center}q2-icon{--t-icon-size:var(--tct-avatar-fallback-icon-size, 65%);--t-icon-fill:var(--tct-avatar-fallback-fill, transparent);--t-icon-stroke-primary:var(--tct-avatar-fallback-stroke-primary, currentcolor);--t-icon-stroke-secondary:var(--tct-avatar-fallback-stroke-secondary, currentcolor);color:var(--tct-avatar-fallback-color, var(--tct-avatar-color, var(--t-base, #ffffff)));width:var(--t-icon-size);height:var(--t-icon-size)}";
5
5