q2-tecton-elements 1.14.3 → 1.15.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/loader.cjs.js +1 -1
- package/dist/cjs/q2-avatar.cjs.entry.js +7 -2
- package/dist/cjs/q2-badge.cjs.entry.js +1 -3
- package/dist/cjs/q2-calendar.cjs.entry.js +3 -4
- package/dist/cjs/q2-chart-donut.cjs.entry.js +7 -2
- package/dist/cjs/q2-checkbox.cjs.entry.js +10 -11
- package/dist/cjs/q2-editable-field.cjs.entry.js +2 -2
- package/dist/cjs/q2-option-list.cjs.entry.js +4 -4
- package/dist/cjs/q2-pill.cjs.entry.js +8 -1
- package/dist/cjs/q2-radio.cjs.entry.js +1 -0
- package/dist/cjs/q2-select.cjs.entry.js +6 -0
- package/dist/cjs/q2-stepper.cjs.entry.js +20 -3
- package/dist/cjs/q2-tab-container.cjs.entry.js +15 -5
- package/dist/cjs/q2-tab-pane.cjs.entry.js +7 -0
- package/dist/cjs/q2-tecton-elements.cjs.js +1 -1
- package/dist/cjs/tecton-tab-pane.cjs.entry.js +5 -0
- package/dist/collection/components/q2-avatar/index.js +8 -2
- package/dist/collection/components/q2-avatar/styles.css +8 -0
- package/dist/collection/components/q2-badge/index.js +0 -2
- package/dist/collection/components/q2-badge/styles.css +2 -2
- package/dist/collection/components/q2-calendar/helpers.js +1 -1
- package/dist/collection/components/q2-calendar/index.js +2 -3
- package/dist/collection/components/q2-chart-donut/index.js +6 -1
- package/dist/collection/components/q2-chart-donut/styles.css +5 -3
- package/dist/collection/components/q2-checkbox/index.js +10 -11
- package/dist/collection/components/q2-editable-field/index.js +19 -2
- package/dist/collection/components/q2-option-list/index.js +22 -7
- package/dist/collection/components/q2-pill/index.js +26 -2
- package/dist/collection/components/q2-radio/index.js +1 -0
- package/dist/collection/components/q2-select/index.js +6 -0
- package/dist/collection/components/q2-stepper/index.js +30 -6
- package/dist/collection/components/q2-stepper/styles.css +45 -13
- package/dist/collection/components/q2-tab-container/index.js +22 -4
- package/dist/collection/components/q2-tab-container/styles.css +16 -2
- package/dist/collection/components/q2-tab-pane/index.js +58 -1
- package/dist/collection/components/tecton-tab-pane/index.js +57 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/q2-avatar.entry.js +7 -2
- package/dist/esm/q2-badge.entry.js +1 -3
- package/dist/esm/q2-calendar.entry.js +3 -4
- package/dist/esm/q2-chart-donut.entry.js +7 -2
- package/dist/esm/q2-checkbox.entry.js +10 -11
- package/dist/esm/q2-editable-field.entry.js +2 -2
- package/dist/esm/q2-option-list.entry.js +4 -4
- package/dist/esm/q2-pill.entry.js +8 -1
- package/dist/esm/q2-radio.entry.js +1 -0
- package/dist/esm/q2-select.entry.js +6 -0
- package/dist/esm/q2-stepper.entry.js +20 -3
- package/dist/esm/q2-tab-container.entry.js +15 -5
- package/dist/esm/q2-tab-pane.entry.js +8 -1
- package/dist/esm/q2-tecton-elements.js +1 -1
- package/dist/esm/tecton-tab-pane.entry.js +6 -1
- package/dist/q2-tecton-elements/p-1b3c4cb2.entry.js +1 -0
- package/dist/q2-tecton-elements/p-2f13d873.entry.js +1 -0
- package/dist/q2-tecton-elements/p-50615a56.entry.js +1 -0
- package/dist/q2-tecton-elements/p-60400f59.entry.js +1 -0
- package/dist/q2-tecton-elements/p-704d7f41.entry.js +1 -0
- package/dist/q2-tecton-elements/p-77263ed4.entry.js +1 -0
- package/dist/q2-tecton-elements/p-8a8c6374.entry.js +1 -0
- package/dist/q2-tecton-elements/{p-92886dbe.entry.js → p-991d7d22.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-882eaf0f.entry.js → p-9b2bc894.entry.js} +1 -1
- package/dist/q2-tecton-elements/{p-fd5130c4.entry.js → p-b0dc920c.entry.js} +1 -1
- package/dist/q2-tecton-elements/p-d5ecb3ba.entry.js +1 -0
- package/dist/q2-tecton-elements/p-dc1ef3fa.entry.js +1 -0
- package/dist/q2-tecton-elements/p-e0ddf788.entry.js +1 -0
- package/dist/q2-tecton-elements/p-e3406026.entry.js +1 -0
- package/dist/q2-tecton-elements/q2-tecton-elements.esm.js +1 -1
- package/dist/types/components/q2-avatar/index.d.ts +2 -0
- package/dist/types/components/q2-checkbox/index.d.ts +0 -1
- package/dist/types/components/q2-editable-field/index.d.ts +1 -0
- package/dist/types/components/q2-option-list/index.d.ts +4 -4
- package/dist/types/components/q2-pill/index.d.ts +2 -0
- package/dist/types/components/q2-stepper/index.d.ts +1 -0
- package/dist/types/components/q2-tab-container/index.d.ts +4 -0
- package/dist/types/components/q2-tab-pane/index.d.ts +5 -1
- package/dist/types/components/tecton-tab-pane/index.d.ts +5 -1
- package/dist/types/components.d.ts +14 -0
- package/dist/types/workspace/workspace/{tecton-production_release_1.14.x → Tecton_tecton-production_master}/packages/q2-tecton-elements/.stencil/test/elements/q2-tag-test.d.ts +0 -0
- package/dist/types/workspace/workspace/{tecton-production_release_1.14.x → Tecton_tecton-production_master}/packages/q2-tecton-elements/.stencil/test/helpers.d.ts +0 -0
- package/package.json +2 -2
- package/dist/q2-tecton-elements/p-0675f9c8.entry.js +0 -1
- package/dist/q2-tecton-elements/p-09464226.entry.js +0 -1
- package/dist/q2-tecton-elements/p-1eed57aa.entry.js +0 -1
- package/dist/q2-tecton-elements/p-3796397e.entry.js +0 -1
- package/dist/q2-tecton-elements/p-65e2df25.entry.js +0 -1
- package/dist/q2-tecton-elements/p-6727f6d0.entry.js +0 -1
- package/dist/q2-tecton-elements/p-706249e1.entry.js +0 -1
- package/dist/q2-tecton-elements/p-7ddb159c.entry.js +0 -1
- package/dist/q2-tecton-elements/p-87f448ab.entry.js +0 -1
- package/dist/q2-tecton-elements/p-94303312.entry.js +0 -1
- package/dist/q2-tecton-elements/p-b066cdd1.entry.js +0 -1
|
@@ -15,5 +15,5 @@ const patchBrowser = () => {
|
|
|
15
15
|
};
|
|
16
16
|
|
|
17
17
|
patchBrowser().then(options => {
|
|
18
|
-
return index.bootstrapLazy(JSON.parse("[[\"q2-icon.cjs\",[[1,\"q2-icon\",{\"type\":[513],\"label\":[513]}]]],[\"q2-calendar.cjs\",[[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.cjs\",[[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\"],\"block\":[516],\"dropdownOpen\":[32]},[[0,\"focus\",\"delegateFocus\"]]]]],[\"q2-select.cjs\",[[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.cjs\",[[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.cjs\",[[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.cjs\",[[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.cjs\",[[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.cjs\",[[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.cjs\",[[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.cjs\",[[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\"],\"bar\":[513],\"isTouch\":[516,\"is-touch\"],\"url\":[513],\"target\":[513],\"isAutoTouch\":[32],\"isAutoSmall\":[32]},[[0,\"focus\",\"onHostElementFocus\"]]]]],[\"q2-chart-donut.cjs\",[[1,\"q2-chart-donut\",{\"chartName\":[513,\"chart-name\"],\"summaryIcon\":[513,\"summary-icon\"],\"summaryName\":[513,\"summary-name\"],\"innerRadius\":[1025,\"inner-radius\"],\"outerRadius\":[1025,\"outer-radius\"],\"selectedOffset\":[2,\"selected-offset\"],\"hoverScaleSize\":[2,\"hover-scale-size\"],\"format\":[513],\"isClickable\":[516,\"is-clickable\"],\"data\":[16],\"selectedId\":[32],\"hoveredId\":[32],\"selectById\":[64],\"selectByIndex\":[64],\"clearSelection\":[64]},[[0,\"focus\",\"delegateFocus\"]]]]],[\"q2-pill.cjs\",[[1,\"q2-pill\",{\"disabled\":[516],\"active\":[1540],\"open\":[1540],\"multiple\":[516],\"label\":[513],\"value\":[513],\"theme\":[513],\"selectedOptions\":[1040],\"hasOptions\":[32]},[[0,\"focus\",\"delegateFocus\"],[0,\"optionListState\",\"optionListStateEvent\"]]]]],[\"q2-tag.cjs\",[[1,\"q2-tag\",{\"open\":[1540],\"role\":[513],\"label\":[513],\"theme\":[513],\"hasOptions\":[32]},[[0,\"focus\",\"delegateFocus\"],[0,\"optionListState\",\"optionListStateEvent\"]]]]],[\"q2-checkbox.cjs\",[[1,\"q2-checkbox\",{\"checked\":[1540],\"type\":[513],\"label\":[1537],\"hideLabel\":[1540,\"hide-label\"],\"ariaLabel\":[1537,\"aria-label\"],\"indeterminate\":[516],\"disabled\":[516],\"readonly\":[516],\"value\":[513],\"name\":[513],\"hasError\":[516,\"has-error\"],\"groupDisabled\":[516,\"group-disabled\"],\"alignment\":[513],\"description\":[513]},[[0,\"change\",\"defaultChangeHandler\"],[0,\"focus\",\"delegateFocus\"]]]]],[\"q2-checkbox-group.cjs\",[[1,\"q2-checkbox-group\",{\"label\":[513],\"value\":[1040],\"disabled\":[516],\"readonly\":[516],\"optional\":[516],\"hasError\":[516,\"has-error\"]},[[0,\"change\",\"onHostElementChange\"]]]]],[\"q2-option.cjs\",[[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],\"noSelect\":[516,\"_no-select\"],\"_multiSelectHidden\":[516,\"_multiselecthidden\"]}]]],[\"q2-radio-group.cjs\",[[1,\"q2-radio-group\",{\"label\":[513],\"value\":[1025],\"disabled\":[516],\"name\":[513],\"optional\":[516],\"readonly\":[516],\"tileLayout\":[516,\"tile-layout\"],\"tileAlignment\":[513,\"tile-alignment\"],\"hasError\":[516,\"has-error\"],\"tilelayout\":[516]},[[0,\"change\",\"onHostElementChange\"],[0,\"focus\",\"delegateFocus\"],[0,\"keydown\",\"keydownHandler\"]]]]],[\"q2-stepper-vertical.cjs\",[[1,\"q2-stepper-vertical\",{\"currentStepId\":[1537,\"current-step-id\"],\"structuredPanes\":[32]},[[0,\"change\",\"defaultChangeHandler\"],[0,\"focus\",\"delegateFocus\"],[0,\"statusChange\",\"statusChangeHandler\"]]]]],[\"q2-textarea.cjs\",[[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-badge.cjs\",[[1,\"q2-badge\",{\"value\":[514],\"maxLength\":[514,\"max-length\"],\"position\":[513],\"size\":[513],\"theme\":[513],\"status\":[513]}]]],[\"q2-carousel-pane.cjs\",[[4,\"q2-carousel-pane\",{\"index\":[2],\"siblingCount\":[2,\"sibling-count\"],\"isActivePane\":[516,\"is-active-pane\"],\"label\":[513]}]]],[\"q2-loading-element.cjs\",[[0,\"q2-loading-element\",{\"shape\":[513],\"width\":[513],\"height\":[513],\"borderRadius\":[513,\"border-radius\"]}]]],[\"q2-loc.cjs\",[[1,\"q2-loc\",{\"value\":[513],\"substitutions\":[16]}]]],[\"q2-optgroup.cjs\",[[1,\"q2-optgroup\",{\"disabled\":[516],\"label\":[513],\"hidden\":[32]}]]],[\"q2-radio.cjs\",[[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.cjs\",[[1,\"q2-stepper-pane\",{\"label\":[513],\"description\":[513],\"isActive\":[516,\"is-active\"],\"showWithChildren\":[516,\"show-with-children\"],\"status\":[513],\"isChildActive\":[32]},[[0,\"activeChange\",\"checkForActiveChildren\"]]]]],[\"q2-tab-pane.cjs\",[[1,\"q2-tab-pane\",{\"value\":[513],\"label\":[513],\"name\":[513],\"selected\":[516],\"index\":[2],\"guid\":[2]}]]],[\"tecton-tab-pane.cjs\",[[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.cjs\",[[1,\"q2-dropdown-item\",{\"disabled\":[516],\"removable\":[516],\"separator\":[516],\"label\":[513],\"ariaLabel\":[513,\"aria-label\"],\"value\":[513]},[[0,\"focus\",\"onHostElementFocus\"]]]]],[\"q2-avatar.cjs\",[[1,\"q2-avatar\",{\"name\":[513],\"initials\":[513],\"src\":[513],\"icon\":[1],\"badSrc\":[32]}]]],[\"q2-message.cjs\",[[1,\"q2-message\",{\"type\":[513],\"appearance\":[513],\"description\":[516],\"presentToggle\":[32],\"present\":[64]},[[0,\"focus\",\"delegateFocus\"]]]]],[\"q2-option-list.cjs\",[[1,\"q2-option-list\",{\"role\":[513],\"direction\":[513],\"open\":[1540],\"customSearch\":[516,\"custom-search\"],\"noSelect\":[516,\"no-select\"],\"align\":[513],\"selectedOptions\":[1040],\"multiple\":[516],\"disabled\":[516],\"type\":[1],\"hasOptions\":[32],\"toggle\":[64],\"setDefaultActiveElement\":[64],\"setActiveElement\":[64],\"handleExternalKeydown\":[64]},[[0,\"focus\",\"delegateFocus\"],[0,\"click\",\"handleClick\"]]]]],[\"q2-btn_2.cjs\",[[1,\"q2-btn\",{\"ariaExpanded\":[1,\"aria-expanded\"],\"ariaHasPopup\":[1,\"aria-has-popup\"],\"ariaControls\":[1,\"aria-controls\"],\"ariaSelected\":[1,\"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],\"block\":[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.cjs\",[[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],\"step\":[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\":[1,\"aria-expanded\"],\"ariaActivedescendant\":[8,\"aria-activedescendant\"],\"current\":[1],\"errors\":[16],\"hints\":[16],\"formattedValueObject\":[32],\"hasFocus\":[32]},[[0,\"focus\",\"onHostElementFocus\"],[0,\"change\",\"onHostElementChange\"]]]]],[\"click-elsewhere.cjs\",[[0,\"click-elsewhere\"]]]]"), options);
|
|
18
|
+
return index.bootstrapLazy(JSON.parse("[[\"q2-icon.cjs\",[[1,\"q2-icon\",{\"type\":[513],\"label\":[513]}]]],[\"q2-calendar.cjs\",[[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.cjs\",[[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\"],\"block\":[516],\"dropdownOpen\":[32]},[[0,\"focus\",\"delegateFocus\"]]]]],[\"q2-select.cjs\",[[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.cjs\",[[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\"],\"disabled\":[516],\"hints\":[16],\"errors\":[16]},[[0,\"change\",\"onHostElementChange\"],[0,\"focus\",\"delegateFocus\"]]]]],[\"q2-pagination.cjs\",[[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-tab-container.cjs\",[[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\"],[0,\"badge\",\"onBadge\"]]]]],[\"q2-carousel.cjs\",[[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.cjs\",[[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.cjs\",[[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\"],[0,\"statusChange\",\"statusChangeHandler\"]]]]],[\"q2-card.cjs\",[[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\"],\"bar\":[513],\"isTouch\":[516,\"is-touch\"],\"url\":[513],\"target\":[513],\"isAutoTouch\":[32],\"isAutoSmall\":[32]},[[0,\"focus\",\"onHostElementFocus\"]]]]],[\"q2-chart-donut.cjs\",[[1,\"q2-chart-donut\",{\"chartName\":[513,\"chart-name\"],\"summaryIcon\":[513,\"summary-icon\"],\"summaryName\":[513,\"summary-name\"],\"innerRadius\":[1025,\"inner-radius\"],\"outerRadius\":[1025,\"outer-radius\"],\"selectedOffset\":[2,\"selected-offset\"],\"hoverScaleSize\":[2,\"hover-scale-size\"],\"format\":[513],\"isClickable\":[516,\"is-clickable\"],\"data\":[16],\"selectedId\":[32],\"hoveredId\":[32],\"selectById\":[64],\"selectByIndex\":[64],\"clearSelection\":[64]},[[0,\"focus\",\"delegateFocus\"]]]]],[\"q2-pill.cjs\",[[1,\"q2-pill\",{\"disabled\":[516],\"active\":[1540],\"open\":[1540],\"multiple\":[516],\"maxLength\":[514,\"max-length\"],\"label\":[513],\"value\":[513],\"theme\":[513],\"selectedOptions\":[1040],\"hasOptions\":[32]},[[0,\"focus\",\"delegateFocus\"],[0,\"optionListState\",\"optionListStateEvent\"]]]]],[\"q2-tag.cjs\",[[1,\"q2-tag\",{\"open\":[1540],\"role\":[513],\"label\":[513],\"theme\":[513],\"hasOptions\":[32]},[[0,\"focus\",\"delegateFocus\"],[0,\"optionListState\",\"optionListStateEvent\"]]]]],[\"q2-checkbox.cjs\",[[1,\"q2-checkbox\",{\"checked\":[1540],\"type\":[513],\"label\":[1537],\"hideLabel\":[1540,\"hide-label\"],\"ariaLabel\":[1537,\"aria-label\"],\"indeterminate\":[516],\"disabled\":[516],\"readonly\":[516],\"value\":[513],\"name\":[513],\"hasError\":[516,\"has-error\"],\"groupDisabled\":[516,\"group-disabled\"],\"alignment\":[513],\"description\":[513]},[[0,\"change\",\"defaultChangeHandler\"],[0,\"focus\",\"delegateFocus\"]]]]],[\"q2-checkbox-group.cjs\",[[1,\"q2-checkbox-group\",{\"label\":[513],\"value\":[1040],\"disabled\":[516],\"readonly\":[516],\"optional\":[516],\"hasError\":[516,\"has-error\"]},[[0,\"change\",\"onHostElementChange\"]]]]],[\"q2-option.cjs\",[[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],\"noSelect\":[516,\"_no-select\"],\"_multiSelectHidden\":[516,\"_multiselecthidden\"]}]]],[\"q2-radio-group.cjs\",[[1,\"q2-radio-group\",{\"label\":[513],\"value\":[1025],\"disabled\":[516],\"name\":[513],\"optional\":[516],\"readonly\":[516],\"tileLayout\":[516,\"tile-layout\"],\"tileAlignment\":[513,\"tile-alignment\"],\"hasError\":[516,\"has-error\"],\"tilelayout\":[516]},[[0,\"change\",\"onHostElementChange\"],[0,\"focus\",\"delegateFocus\"],[0,\"keydown\",\"keydownHandler\"]]]]],[\"q2-stepper-vertical.cjs\",[[1,\"q2-stepper-vertical\",{\"currentStepId\":[1537,\"current-step-id\"],\"structuredPanes\":[32]},[[0,\"change\",\"defaultChangeHandler\"],[0,\"focus\",\"delegateFocus\"],[0,\"statusChange\",\"statusChangeHandler\"]]]]],[\"q2-textarea.cjs\",[[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.cjs\",[[4,\"q2-carousel-pane\",{\"index\":[2],\"siblingCount\":[2,\"sibling-count\"],\"isActivePane\":[516,\"is-active-pane\"],\"label\":[513]}]]],[\"q2-loading-element.cjs\",[[0,\"q2-loading-element\",{\"shape\":[513],\"width\":[513],\"height\":[513],\"borderRadius\":[513,\"border-radius\"]}]]],[\"q2-loc.cjs\",[[1,\"q2-loc\",{\"value\":[513],\"substitutions\":[16]}]]],[\"q2-optgroup.cjs\",[[1,\"q2-optgroup\",{\"disabled\":[516],\"label\":[513],\"hidden\":[32]}]]],[\"q2-radio.cjs\",[[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.cjs\",[[1,\"q2-stepper-pane\",{\"label\":[513],\"description\":[513],\"isActive\":[516,\"is-active\"],\"showWithChildren\":[516,\"show-with-children\"],\"status\":[513],\"isChildActive\":[32]},[[0,\"activeChange\",\"checkForActiveChildren\"]]]]],[\"q2-tab-pane.cjs\",[[1,\"q2-tab-pane\",{\"value\":[513],\"label\":[513],\"name\":[513],\"selected\":[516],\"badgeCount\":[514,\"badge-count\"],\"badgeDescription\":[513,\"badge-description\"],\"index\":[2],\"guid\":[2]}]]],[\"tecton-tab-pane.cjs\",[[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\"],\"badgeCount\":[514,\"badge-count\"],\"badgeDescription\":[513,\"badge-description\"],\"authPayload\":[16],\"showForm\":[4,\"show-form\"],\"_showForm\":[32]}]]],[\"q2-dropdown-item.cjs\",[[1,\"q2-dropdown-item\",{\"disabled\":[516],\"removable\":[516],\"separator\":[516],\"label\":[513],\"ariaLabel\":[513,\"aria-label\"],\"value\":[513]},[[0,\"focus\",\"onHostElementFocus\"]]]]],[\"q2-avatar.cjs\",[[1,\"q2-avatar\",{\"name\":[513],\"initials\":[513],\"src\":[513],\"icon\":[1],\"badSrc\":[32],\"isLoaded\":[32]}]]],[\"q2-message.cjs\",[[1,\"q2-message\",{\"type\":[513],\"appearance\":[513],\"description\":[516],\"presentToggle\":[32],\"present\":[64]},[[0,\"focus\",\"delegateFocus\"]]]]],[\"q2-badge.cjs\",[[1,\"q2-badge\",{\"value\":[514],\"maxLength\":[514,\"max-length\"],\"position\":[513],\"size\":[513],\"theme\":[513],\"status\":[513]}]]],[\"q2-option-list.cjs\",[[1,\"q2-option-list\",{\"role\":[513],\"direction\":[513],\"open\":[1540],\"customSearch\":[516,\"custom-search\"],\"noSelect\":[516,\"no-select\"],\"align\":[513],\"selectedOptions\":[1040],\"multiple\":[516],\"disabled\":[516],\"type\":[1],\"hasOptions\":[32],\"toggle\":[64],\"setDefaultActiveElement\":[64],\"setActiveElement\":[64],\"handleExternalKeydown\":[64]},[[0,\"focus\",\"delegateFocus\"],[0,\"click\",\"handleClick\"]]]]],[\"q2-btn_2.cjs\",[[1,\"q2-btn\",{\"ariaExpanded\":[1,\"aria-expanded\"],\"ariaHasPopup\":[1,\"aria-has-popup\"],\"ariaControls\":[1,\"aria-controls\"],\"ariaSelected\":[1,\"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],\"block\":[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.cjs\",[[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],\"step\":[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\":[1,\"aria-expanded\"],\"ariaActivedescendant\":[8,\"aria-activedescendant\"],\"current\":[1],\"errors\":[16],\"hints\":[16],\"formattedValueObject\":[32],\"hasFocus\":[32]},[[0,\"focus\",\"onHostElementFocus\"],[0,\"change\",\"onHostElementChange\"]]]]],[\"click-elsewhere.cjs\",[[0,\"click-elsewhere\"]]]]"), options);
|
|
19
19
|
});
|
|
@@ -9,6 +9,7 @@ const stylesCss = "*{box-sizing:border-box}*:active{outline:none}*:focus{outline
|
|
|
9
9
|
const TectonTabPane = class {
|
|
10
10
|
constructor(hostRef) {
|
|
11
11
|
index.registerInstance(this, hostRef);
|
|
12
|
+
this.badge = index.createEvent(this, "badge", 7);
|
|
12
13
|
///////// Actions /////////
|
|
13
14
|
this.onIFrameLoad = (event) => {
|
|
14
15
|
const iframe = event.target;
|
|
@@ -16,6 +17,9 @@ const TectonTabPane = class {
|
|
|
16
17
|
iframe.contentWindow.postMessage(`[iFrameSizer]${this.moduleId}:0:false:false:32:true:true:null:documentElementOffset`, '*');
|
|
17
18
|
};
|
|
18
19
|
}
|
|
20
|
+
badgeObserver() {
|
|
21
|
+
this.badge.emit();
|
|
22
|
+
}
|
|
19
23
|
get iframeTitle() {
|
|
20
24
|
return this.moduleId.split('.').slice(-2).join('-');
|
|
21
25
|
}
|
|
@@ -52,6 +56,7 @@ const TectonTabPane = class {
|
|
|
52
56
|
}
|
|
53
57
|
get hostElement() { return index.getElement(this); }
|
|
54
58
|
static get watchers() { return {
|
|
59
|
+
"badgeCount": ["badgeObserver"],
|
|
55
60
|
"selected": ["selectedObserver"]
|
|
56
61
|
}; }
|
|
57
62
|
};
|
|
@@ -4,9 +4,13 @@ export class Q2Avatar {
|
|
|
4
4
|
constructor() {
|
|
5
5
|
this.icon = 'person';
|
|
6
6
|
this.badSrc = false;
|
|
7
|
+
this.isLoaded = false;
|
|
7
8
|
this.onError = () => {
|
|
8
9
|
this.badSrc = true;
|
|
9
10
|
};
|
|
11
|
+
this.onLoad = () => {
|
|
12
|
+
this.isLoaded = true;
|
|
13
|
+
};
|
|
10
14
|
}
|
|
11
15
|
srcDidUpdate() {
|
|
12
16
|
this.badSrc = false;
|
|
@@ -36,10 +40,11 @@ export class Q2Avatar {
|
|
|
36
40
|
render() {
|
|
37
41
|
const { computedInitials } = this;
|
|
38
42
|
const showImg = this.src && !this.badSrc;
|
|
43
|
+
const isLoaded = this.isLoaded;
|
|
39
44
|
const showInitials = (this.name || this.initials) && (!this.src || this.badSrc);
|
|
40
45
|
const showFallback = !this.name && !this.initials && (!this.src || this.badSrc);
|
|
41
46
|
return (h("div", null,
|
|
42
|
-
showImg && (h("img", { class:
|
|
47
|
+
showImg && (h("img", { class: isLoaded ? 'avatar-img' : 'avatar-img-default', "test-id": "userImage", src: this.src, onError: this.onError, onLoad: this.onLoad, alt: this.name || '' })),
|
|
43
48
|
showInitials && (h("svg", { viewBox: "0 0 100 100", preserveAspectRatio: "xMidYMid meet", "test-id": "userInitials", class: `avatar-initials size-${computedInitials.length}`, "aria-label": this.name, "aria-hidden": !this.name && 'true' },
|
|
44
49
|
h("text", { x: "50", y: "50", "dominant-baseline": "central", "text-anchor": "middle", "aria-hidden": "true" }, computedInitials))),
|
|
45
50
|
showFallback && (h("div", { "test-id": "fallbackIcon", class: "fallback" },
|
|
@@ -125,7 +130,8 @@ export class Q2Avatar {
|
|
|
125
130
|
}
|
|
126
131
|
}; }
|
|
127
132
|
static get states() { return {
|
|
128
|
-
"badSrc": {}
|
|
133
|
+
"badSrc": {},
|
|
134
|
+
"isLoaded": {}
|
|
129
135
|
}; }
|
|
130
136
|
static get elementRef() { return "el"; }
|
|
131
137
|
static get watchers() { return [{
|
|
@@ -65,6 +65,14 @@ button {
|
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
.avatar-img {
|
|
68
|
+
object-fit: cover;
|
|
69
|
+
height: var(--tct-avatar-img-height, var(--tct-avatar-height, 44px));
|
|
70
|
+
width: var(--tct-avatar-img-width, var(--tct-avatar-width, 44px));
|
|
71
|
+
border-radius: var(--tct-avatar-img-br, 50%);
|
|
72
|
+
background-color: unset;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.avatar-img-default {
|
|
68
76
|
object-fit: cover;
|
|
69
77
|
height: var(--tct-avatar-img-height, var(--tct-avatar-height, 44px));
|
|
70
78
|
width: var(--tct-avatar-img-width, var(--tct-avatar-width, 44px));
|
|
@@ -19,8 +19,6 @@ export class Q2Badge {
|
|
|
19
19
|
}
|
|
20
20
|
generateMarkup() {
|
|
21
21
|
const badgeClass = ['badge'];
|
|
22
|
-
if (this.badgeText)
|
|
23
|
-
badgeClass.push(`digit-${this.badgeText.length}`);
|
|
24
22
|
if (this.size === 'large')
|
|
25
23
|
badgeClass.push('size-large');
|
|
26
24
|
return (h("div", { class: "badge-wrapper" },
|
|
@@ -69,8 +69,8 @@ button {
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
.badge-wrapper {
|
|
72
|
-
--comp-badge-background: var(--t-
|
|
73
|
-
--comp-badge-color: var(--t-
|
|
72
|
+
--comp-badge-background: var(--t-gray8, #61c4ff);
|
|
73
|
+
--comp-badge-color: var(--t-base, #ffffff);
|
|
74
74
|
}
|
|
75
75
|
:host([status=info]) .badge-wrapper {
|
|
76
76
|
--comp-badge-background: var(--const-stoplight-info, #0079C1);
|
|
@@ -15,7 +15,7 @@ export function formatDateShort(value) {
|
|
|
15
15
|
month: '2-digit',
|
|
16
16
|
day: '2-digit',
|
|
17
17
|
year: 'numeric',
|
|
18
|
-
timeZone:
|
|
18
|
+
timeZone: Intl.DateTimeFormat().resolvedOptions().timeZone,
|
|
19
19
|
}).format(new Date(isoDate));
|
|
20
20
|
}
|
|
21
21
|
export function formatDateLong(value) {
|
|
@@ -181,8 +181,7 @@ export class Q2Calendar {
|
|
|
181
181
|
const dateCell = event.target.closest('td:not([aria-hidden])');
|
|
182
182
|
if (!dateCell)
|
|
183
183
|
return;
|
|
184
|
-
|
|
185
|
-
this.selectDate(this.generateDateFromDay(day));
|
|
184
|
+
this.selectDate(removeTimezoneOffset(new Date(dateCell.dataset.date)));
|
|
186
185
|
this.closeCalendar();
|
|
187
186
|
};
|
|
188
187
|
this.onDateKeydown = (event) => {
|
|
@@ -302,7 +301,7 @@ export class Q2Calendar {
|
|
|
302
301
|
year: 'numeric',
|
|
303
302
|
month: '2-digit',
|
|
304
303
|
day: '2-digit',
|
|
305
|
-
timeZone:
|
|
304
|
+
timeZone: Intl.DateTimeFormat().resolvedOptions().timeZone,
|
|
306
305
|
}).format(dateValue);
|
|
307
306
|
}
|
|
308
307
|
get computedPlaceholder() {
|
|
@@ -64,6 +64,7 @@ export class Q2ChartDonut {
|
|
|
64
64
|
if (!(event.target instanceof HTMLElement))
|
|
65
65
|
return;
|
|
66
66
|
this.clearSelection();
|
|
67
|
+
event.stopPropagation();
|
|
67
68
|
};
|
|
68
69
|
}
|
|
69
70
|
/// LifeCycle Hooks ///
|
|
@@ -167,6 +168,10 @@ export class Q2ChartDonut {
|
|
|
167
168
|
chart.on('mouseover', (params) => {
|
|
168
169
|
this.hoveredId = params.data.id;
|
|
169
170
|
});
|
|
171
|
+
chart.on('click', params => {
|
|
172
|
+
// Don't emit click event when clicking a chart slice
|
|
173
|
+
params.event.event.stopPropagation();
|
|
174
|
+
});
|
|
170
175
|
chart.on('mouseout', () => {
|
|
171
176
|
this.hoveredId = null;
|
|
172
177
|
});
|
|
@@ -305,7 +310,7 @@ export class Q2ChartDonut {
|
|
|
305
310
|
'aria-roledescription': loc('tecton.element.chartDonut.button.roleDescription'),
|
|
306
311
|
}
|
|
307
312
|
: null;
|
|
308
|
-
return (h("div", { class: "center-card-container" },
|
|
313
|
+
return (h("div", { class: "center-card-container", style: { width: `calc(${this.innerRadius} - 10%)` } },
|
|
309
314
|
h(TagName, Object.assign({ class: "center-card", "test-id": "centerCard" }, props),
|
|
310
315
|
icon && (h("q2-icon", { type: icon, style: color && { color } })),
|
|
311
316
|
name && h("div", { class: "name" }, name),
|
|
@@ -73,6 +73,9 @@ button {
|
|
|
73
73
|
.container {
|
|
74
74
|
aspect-ratio: 1/1;
|
|
75
75
|
width: 100%;
|
|
76
|
+
display: flex;
|
|
77
|
+
justify-content: center;
|
|
78
|
+
align-items: center;
|
|
76
79
|
}
|
|
77
80
|
|
|
78
81
|
.chart-container {
|
|
@@ -113,14 +116,13 @@ button:focus {
|
|
|
113
116
|
}
|
|
114
117
|
|
|
115
118
|
.center-card-container {
|
|
116
|
-
width: 100%;
|
|
117
119
|
position: absolute;
|
|
118
120
|
top: 50%;
|
|
119
121
|
transform: translateY(-50%);
|
|
120
122
|
}
|
|
121
123
|
|
|
122
124
|
.center-card {
|
|
123
|
-
width:
|
|
125
|
+
width: 100%;
|
|
124
126
|
text-align: center;
|
|
125
127
|
color: var(--tct-chart-donut-text-color, var(--t-chart-donut-text-color, var(--t-text, #4d4d4d)));
|
|
126
128
|
margin-inline: auto;
|
|
@@ -134,7 +136,7 @@ button:focus {
|
|
|
134
136
|
}
|
|
135
137
|
|
|
136
138
|
q2-icon {
|
|
137
|
-
--
|
|
139
|
+
--tct-icon-size: var(--tct-chart-donut-icon-size, var(--t-chart-donut-icon-size, 26px));
|
|
138
140
|
margin-bottom: var(--tct-chart-donut-icon-margin-bottom, var(--t-chart-donut-icon-margin-bottom, var(--app-scale-1x, 5px)));
|
|
139
141
|
}
|
|
140
142
|
|
|
@@ -6,23 +6,21 @@ export class Q2Checkbox {
|
|
|
6
6
|
this.id = `checkbox-${createGuid()}`;
|
|
7
7
|
///// Actions ////////
|
|
8
8
|
this.onInputClick = (event) => {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
if (
|
|
9
|
+
const hasCustomHandler = !!this.hostElement.onchange;
|
|
10
|
+
const isNotInteractive = this.disabled || this.readonly;
|
|
11
|
+
if (isNotInteractive || hasCustomHandler)
|
|
12
|
+
event.preventDefault();
|
|
13
|
+
if (isNotInteractive)
|
|
12
14
|
return;
|
|
13
15
|
if (!(event.target instanceof HTMLInputElement))
|
|
14
16
|
return;
|
|
17
|
+
const { value, checked } = event.target;
|
|
15
18
|
this.change.emit({
|
|
16
|
-
value
|
|
17
|
-
checked
|
|
19
|
+
value,
|
|
20
|
+
checked,
|
|
18
21
|
});
|
|
19
22
|
this.inputElement.focus();
|
|
20
23
|
};
|
|
21
|
-
this.onKeyDown = (event) => {
|
|
22
|
-
if (this.readonly && event.code === 'Space') {
|
|
23
|
-
event.preventDefault();
|
|
24
|
-
}
|
|
25
|
-
};
|
|
26
24
|
}
|
|
27
25
|
////////// LIFECYCLE HOOKS ////////
|
|
28
26
|
componentWillLoad() {
|
|
@@ -30,6 +28,7 @@ export class Q2Checkbox {
|
|
|
30
28
|
}
|
|
31
29
|
componentDidLoad() {
|
|
32
30
|
overrideFocus(this.hostElement);
|
|
31
|
+
this.hostElement.click = () => this.inputElement.click();
|
|
33
32
|
}
|
|
34
33
|
//////// Host Element Events ////////
|
|
35
34
|
defaultChangeHandler(event) {
|
|
@@ -52,7 +51,7 @@ export class Q2Checkbox {
|
|
|
52
51
|
if (this.hideLabel)
|
|
53
52
|
textLabelClasses.push('sr');
|
|
54
53
|
return (h("div", { class: "container" },
|
|
55
|
-
h("input", { ref: el => (this.inputElement = el), id: this.id, type: "checkbox", checked: this.indeterminate || this.checked || false, disabled: !!this.disabled || !!this.groupDisabled, class: "sr", value: this.value, name: this.name || this.id, "aria-label": this.label ? loc(this.label) : undefined, "aria-describedby": this.description ? 'description' : undefined, "test-id": "q2CheckboxInnerCheckBox",
|
|
54
|
+
h("input", { ref: el => (this.inputElement = el), id: this.id, type: "checkbox", checked: this.indeterminate || this.checked || false, disabled: !!this.disabled || !!this.groupDisabled, class: "sr", value: this.value, name: this.name || this.id, "aria-label": this.label ? loc(this.label) : undefined, "aria-describedby": this.description ? 'description' : undefined, "test-id": "q2CheckboxInnerCheckBox", onClick: this.onInputClick }),
|
|
56
55
|
h("label", { htmlFor: this.id, class: "label-control", "test-id": "checkboxButton" }, this.generateCheckboxSVG()),
|
|
57
56
|
h("div", { class: textLabelClasses.join(' ') },
|
|
58
57
|
h("label", { "test-id": "checkboxLabel", htmlFor: this.id },
|
|
@@ -121,7 +121,7 @@ export class Q2EditableField {
|
|
|
121
121
|
}
|
|
122
122
|
generateEditStateDOM() {
|
|
123
123
|
return (h("div", { class: this.wrapperClass, hidden: !this.editing },
|
|
124
|
-
h("q2-input", { ref: el => (this.q2InputElement = el), label: this.locLabel, hideLabel: this.hideLabel, value: this.value, hints: (Array.isArray(this.hints) && this.hints.map(str => loc(str))) || undefined, errors: (Array.isArray(this.errors) && this.errors.map(str => loc(str))) || undefined, type: this.type, formatModifier: this.formatModifier, maxlength: this.maxlength, "test-id": "editableInput", onInput: this.inputInput, onChange: this.inputChange, onKeyDown: this.inputKeyDown, onClick: this.inputClick }),
|
|
124
|
+
h("q2-input", { ref: el => (this.q2InputElement = el), label: this.locLabel, hideLabel: this.hideLabel, value: this.value, hints: (Array.isArray(this.hints) && this.hints.map(str => loc(str))) || undefined, errors: (Array.isArray(this.errors) && this.errors.map(str => loc(str))) || undefined, type: this.type, disabled: this.disabled, formatModifier: this.formatModifier, maxlength: this.maxlength, "test-id": "editableInput", onInput: this.inputInput, onChange: this.inputChange, onKeyDown: this.inputKeyDown, onClick: this.inputClick }),
|
|
125
125
|
h("q2-btn", { class: "cancel-edit", label: `${loc('tecton.element.editableField.cancel')} ${this.locLabel}`, "hide-label": true, "test-id": "cancelButton", onClick: this.cancelClick },
|
|
126
126
|
h("q2-icon", { type: "close" })),
|
|
127
127
|
h("q2-btn", { class: "save-edit", label: `${loc('tecton.element.editableField.save')} ${this.locLabel}`, "hide-label": true, "test-id": "saveButton", onClick: this.saveClick },
|
|
@@ -141,7 +141,7 @@ export class Q2EditableField {
|
|
|
141
141
|
this.generateEditBtn()));
|
|
142
142
|
}
|
|
143
143
|
generateEditBtn() {
|
|
144
|
-
return (h("q2-btn", { ref: el => (this.q2EditBtnElement = el), class: "begin-edit", label: `${loc('tecton.element.editableField.edit')} ${this.locLabel}`, "hide-label": true, "test-id": "editButton", onClick: this.editClick },
|
|
144
|
+
return (h("q2-btn", { ref: el => (this.q2EditBtnElement = el), class: "begin-edit", label: `${loc('tecton.element.editableField.edit')} ${this.locLabel}`, "hide-label": true, disabled: this.disabled, "test-id": "editButton", onClick: this.editClick },
|
|
145
145
|
h("q2-icon", { type: "edit" })));
|
|
146
146
|
}
|
|
147
147
|
static get is() { return "q2-editable-field"; }
|
|
@@ -326,6 +326,23 @@ export class Q2EditableField {
|
|
|
326
326
|
"attribute": "persistent-label",
|
|
327
327
|
"reflect": true
|
|
328
328
|
},
|
|
329
|
+
"disabled": {
|
|
330
|
+
"type": "boolean",
|
|
331
|
+
"mutable": false,
|
|
332
|
+
"complexType": {
|
|
333
|
+
"original": "boolean",
|
|
334
|
+
"resolved": "boolean",
|
|
335
|
+
"references": {}
|
|
336
|
+
},
|
|
337
|
+
"required": false,
|
|
338
|
+
"optional": false,
|
|
339
|
+
"docs": {
|
|
340
|
+
"tags": [],
|
|
341
|
+
"text": ""
|
|
342
|
+
},
|
|
343
|
+
"attribute": "disabled",
|
|
344
|
+
"reflect": true
|
|
345
|
+
},
|
|
329
346
|
"hints": {
|
|
330
347
|
"type": "unknown",
|
|
331
348
|
"mutable": false,
|
|
@@ -306,21 +306,21 @@ export class Q2OptionList {
|
|
|
306
306
|
event.stopPropagation();
|
|
307
307
|
}
|
|
308
308
|
/// Public Methods ///
|
|
309
|
-
toggle() {
|
|
309
|
+
async toggle() {
|
|
310
310
|
const isOpen = !this.open;
|
|
311
311
|
this.open = isOpen;
|
|
312
312
|
}
|
|
313
|
-
setDefaultActiveElement() {
|
|
313
|
+
async setDefaultActiveElement() {
|
|
314
314
|
this.activeIndex = this.getDefaultActiveIndex();
|
|
315
315
|
this.setActiveOption();
|
|
316
316
|
this.setFocusedOption();
|
|
317
317
|
}
|
|
318
|
-
setActiveElement(index) {
|
|
318
|
+
async setActiveElement(index) {
|
|
319
319
|
this.activeIndex = index;
|
|
320
320
|
this.setActiveOption();
|
|
321
321
|
this.setFocusedOption();
|
|
322
322
|
}
|
|
323
|
-
handleExternalKeydown(event) {
|
|
323
|
+
async handleExternalKeydown(event) {
|
|
324
324
|
const keysThatTriggerOpen = ['ArrowDown', 'ArrowUp', 'PageDown', 'PageUp', 'Home', 'End'];
|
|
325
325
|
if (keysThatTriggerOpen.includes(event.key)) {
|
|
326
326
|
this.open = true;
|
|
@@ -569,7 +569,11 @@ export class Q2OptionList {
|
|
|
569
569
|
"complexType": {
|
|
570
570
|
"signature": "() => Promise<void>",
|
|
571
571
|
"parameters": [],
|
|
572
|
-
"references": {
|
|
572
|
+
"references": {
|
|
573
|
+
"Promise": {
|
|
574
|
+
"location": "global"
|
|
575
|
+
}
|
|
576
|
+
},
|
|
573
577
|
"return": "Promise<void>"
|
|
574
578
|
},
|
|
575
579
|
"docs": {
|
|
@@ -581,7 +585,11 @@ export class Q2OptionList {
|
|
|
581
585
|
"complexType": {
|
|
582
586
|
"signature": "() => Promise<void>",
|
|
583
587
|
"parameters": [],
|
|
584
|
-
"references": {
|
|
588
|
+
"references": {
|
|
589
|
+
"Promise": {
|
|
590
|
+
"location": "global"
|
|
591
|
+
}
|
|
592
|
+
},
|
|
585
593
|
"return": "Promise<void>"
|
|
586
594
|
},
|
|
587
595
|
"docs": {
|
|
@@ -596,7 +604,11 @@ export class Q2OptionList {
|
|
|
596
604
|
"tags": [],
|
|
597
605
|
"text": ""
|
|
598
606
|
}],
|
|
599
|
-
"references": {
|
|
607
|
+
"references": {
|
|
608
|
+
"Promise": {
|
|
609
|
+
"location": "global"
|
|
610
|
+
}
|
|
611
|
+
},
|
|
600
612
|
"return": "Promise<void>"
|
|
601
613
|
},
|
|
602
614
|
"docs": {
|
|
@@ -612,6 +624,9 @@ export class Q2OptionList {
|
|
|
612
624
|
"text": ""
|
|
613
625
|
}],
|
|
614
626
|
"references": {
|
|
627
|
+
"Promise": {
|
|
628
|
+
"location": "global"
|
|
629
|
+
},
|
|
615
630
|
"KeyboardEvent": {
|
|
616
631
|
"location": "global"
|
|
617
632
|
}
|
|
@@ -93,6 +93,13 @@ export class Q2Pill {
|
|
|
93
93
|
return selectedOptions[0].display;
|
|
94
94
|
return loc('tecton.element.pill.activeCount', { count: selectedOptions.length });
|
|
95
95
|
}
|
|
96
|
+
get truncatedButtonContent() {
|
|
97
|
+
const { maxLength, buttonContent } = this;
|
|
98
|
+
if (maxLength)
|
|
99
|
+
return buttonContent.length > maxLength ? `${buttonContent.substring(0, maxLength)}…` : buttonContent;
|
|
100
|
+
else
|
|
101
|
+
return buttonContent;
|
|
102
|
+
}
|
|
96
103
|
/// Listeners ///
|
|
97
104
|
delegateFocus(event) {
|
|
98
105
|
if (!isEventFromElement(event, this.hostElement))
|
|
@@ -123,8 +130,8 @@ export class Q2Pill {
|
|
|
123
130
|
return (h(Fragment, null,
|
|
124
131
|
h("div", { class: wrapperClassNames.join(' ') },
|
|
125
132
|
h("div", { class: "btn-height-wrapper", onClick: this.handleWrapperClick, tabIndex: -1 },
|
|
126
|
-
h("button", { class: "btn-primary", type: "button", "test-id": "btn-control", ref: el => (this.primaryBtn = el), onClick: this.handleClick, onKeyDown: this.handleKeydown, disabled: this.disabled, onFocusout: this.handleFocusout, "aria-selected": !hasOptions && active ? 'true' : 'false', "aria-roledescription": !hasOptions && 'filter', "aria-controls": hasOptions && 'option-list', "aria-haspopup": hasOptions && 'true', "aria-expanded": hasOptions && open
|
|
127
|
-
this.
|
|
133
|
+
h("button", { class: "btn-primary", type: "button", "test-id": "btn-control", ref: el => (this.primaryBtn = el), onClick: this.handleClick, onKeyDown: this.handleKeydown, disabled: this.disabled, onFocusout: this.handleFocusout, "aria-selected": !hasOptions && active ? 'true' : 'false', "aria-roledescription": !hasOptions && 'filter', "aria-controls": hasOptions && 'option-list', "aria-haspopup": hasOptions && 'true', "aria-expanded": (hasOptions && `${!!open}`) || undefined, "aria-label": this.maxLength && this.buttonContent },
|
|
134
|
+
this.truncatedButtonContent,
|
|
128
135
|
!hasOptions && active && h("span", { class: "sr" },
|
|
129
136
|
"(",
|
|
130
137
|
loc('tecton.element.pill.active'),
|
|
@@ -210,6 +217,23 @@ export class Q2Pill {
|
|
|
210
217
|
"attribute": "multiple",
|
|
211
218
|
"reflect": true
|
|
212
219
|
},
|
|
220
|
+
"maxLength": {
|
|
221
|
+
"type": "number",
|
|
222
|
+
"mutable": false,
|
|
223
|
+
"complexType": {
|
|
224
|
+
"original": "number",
|
|
225
|
+
"resolved": "number",
|
|
226
|
+
"references": {}
|
|
227
|
+
},
|
|
228
|
+
"required": false,
|
|
229
|
+
"optional": false,
|
|
230
|
+
"docs": {
|
|
231
|
+
"tags": [],
|
|
232
|
+
"text": ""
|
|
233
|
+
},
|
|
234
|
+
"attribute": "max-length",
|
|
235
|
+
"reflect": true
|
|
236
|
+
},
|
|
213
237
|
"label": {
|
|
214
238
|
"type": "string",
|
|
215
239
|
"mutable": false,
|
|
@@ -211,6 +211,11 @@ export class Q2Select {
|
|
|
211
211
|
this.searchText = '';
|
|
212
212
|
}
|
|
213
213
|
break;
|
|
214
|
+
case 'Tab':
|
|
215
|
+
if (dropdownOpen) {
|
|
216
|
+
this.closeDropdown();
|
|
217
|
+
}
|
|
218
|
+
break;
|
|
214
219
|
default:
|
|
215
220
|
if (searchable) {
|
|
216
221
|
this.openDropdownWithoutActiveElement();
|
|
@@ -554,6 +559,7 @@ export class Q2Select {
|
|
|
554
559
|
options.forEach(option => {
|
|
555
560
|
if (query === '') {
|
|
556
561
|
option.style.display = '';
|
|
562
|
+
option.hidden = false;
|
|
557
563
|
}
|
|
558
564
|
else {
|
|
559
565
|
const { display = '', innerText = '' } = option;
|
|
@@ -109,6 +109,13 @@ export class Q2Stepper {
|
|
|
109
109
|
return;
|
|
110
110
|
this.focusStep(this.currentStep, true, true);
|
|
111
111
|
}
|
|
112
|
+
statusChangeHandler(event) {
|
|
113
|
+
const index = Array.from(this.allPanes).findIndex(el => event.detail.id === el.id);
|
|
114
|
+
if (index > -1) {
|
|
115
|
+
this.allPanes[index].status = event.detail.status;
|
|
116
|
+
this.renderStepBtn(index);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
112
119
|
////////// GETTER METHODS ////////
|
|
113
120
|
get allPanes() {
|
|
114
121
|
return this.hostElement.querySelectorAll('q2-stepper-pane');
|
|
@@ -159,18 +166,29 @@ export class Q2Stepper {
|
|
|
159
166
|
renderStepBtn(stepIndex) {
|
|
160
167
|
var _a;
|
|
161
168
|
const { allPanes, stepCount, currentStep, lastEnabledStep } = this;
|
|
162
|
-
const { id, label, description } = (_a = allPanes === null || allPanes === void 0 ? void 0 : allPanes[stepIndex]) !== null && _a !== void 0 ? _a : {};
|
|
169
|
+
const { id, label, description, status } = (_a = allPanes === null || allPanes === void 0 ? void 0 : allPanes[stepIndex]) !== null && _a !== void 0 ? _a : {};
|
|
163
170
|
const stepNumber = stepIndex + 1;
|
|
164
171
|
const isCurrentStep = stepNumber === currentStep;
|
|
165
172
|
const labelId = label && `label-${id}`;
|
|
166
173
|
const descriptionId = label && description && `description-${id}`;
|
|
167
174
|
const btnLabel = !label && loc('tecton.element.stepper.number', [`${stepNumber}`, `${stepCount}`]);
|
|
175
|
+
let statusIcon;
|
|
176
|
+
if (status === 'complete')
|
|
177
|
+
statusIcon = 'success';
|
|
178
|
+
else if (status === 'error')
|
|
179
|
+
statusIcon = 'warning';
|
|
180
|
+
const stepClasses = ['step-btn'];
|
|
181
|
+
if (status)
|
|
182
|
+
stepClasses.push(`status-${status}`);
|
|
183
|
+
const isLocked = status === 'locked';
|
|
184
|
+
const disabled = isLocked || stepNumber > lastEnabledStep;
|
|
168
185
|
return (h("li", { role: "presentation" },
|
|
169
|
-
h("button", { class:
|
|
170
|
-
h(
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
186
|
+
h("button", { class: stepClasses.join(' '), type: "button", "aria-labelledby": labelId, "aria-describedBy": descriptionId, "aria-label": btnLabel, "aria-selected": isCurrentStep, "aria-controls": id, "aria-disabled": disabled ? 'true' : null, role: "tab", tabIndex: isCurrentStep ? 0 : -1, onKeyDown: ev => this.onStepKeyDown(ev, stepNumber), onClick: ev => !isLocked && this.onStepClick(ev, stepNumber) },
|
|
187
|
+
h(Fragment, null,
|
|
188
|
+
statusIcon ? (h("div", { class: "step-icon" },
|
|
189
|
+
h("q2-icon", { type: statusIcon }))) : (h("div", { class: "step-bubble" }, stepNumber)),
|
|
190
|
+
label && (h("div", { class: "step-label", id: labelId }, loc(label))),
|
|
191
|
+
label && description && (h("div", { class: "step-description", id: descriptionId }, loc(description))))),
|
|
174
192
|
stepIndex ? h("hr", null) : ''));
|
|
175
193
|
}
|
|
176
194
|
render() {
|
|
@@ -291,5 +309,11 @@ export class Q2Stepper {
|
|
|
291
309
|
"target": undefined,
|
|
292
310
|
"capture": false,
|
|
293
311
|
"passive": false
|
|
312
|
+
}, {
|
|
313
|
+
"name": "statusChange",
|
|
314
|
+
"method": "statusChangeHandler",
|
|
315
|
+
"target": undefined,
|
|
316
|
+
"capture": false,
|
|
317
|
+
"passive": false
|
|
294
318
|
}]; }
|
|
295
319
|
}
|