udp-stencil-component-library 26.5.0-beta.2 → 26.5.0-beta.4
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/address-search_6.cjs.entry.js +18 -18
- package/dist/cjs/advanced-search_12.cjs.entry.js +8 -8
- package/dist/cjs/ag-grid-base_65.cjs.entry.js +22 -22
- package/dist/cjs/app-bar.cjs.entry.js +1 -1
- package/dist/cjs/chart-container_3.cjs.entry.js +1 -1
- package/dist/cjs/check-box.cjs.entry.js +2 -2
- package/dist/cjs/file-upload_2.cjs.entry.js +5 -5
- package/dist/cjs/filter-conditions_7.cjs.entry.js +7 -7
- package/dist/cjs/form-metadata-display_10.cjs.entry.js +6 -6
- package/dist/cjs/logical-search-indicator.cjs.entry.js +1 -1
- package/dist/cjs/primary-action-header_2.cjs.entry.js +4 -4
- package/dist/cjs/resource-timeline-calendar.cjs.entry.js +1 -1
- package/dist/cjs/resource-timeline-primary-bar.cjs.entry.js +3 -3
- package/dist/cjs/simple-card.cjs.entry.js +1 -1
- package/dist/cjs/text-field_2.cjs.entry.js +7 -7
- package/dist/cjs/udp-adornment.cjs.entry.js +1 -1
- package/dist/cjs/udp-attachment-item_2.cjs.entry.js +1 -1
- package/dist/cjs/udp-attachment-list.cjs.entry.js +1 -1
- package/dist/cjs/udp-card-action-area.cjs.entry.js +1 -1
- package/dist/cjs/udp-card_6.cjs.entry.js +7 -7
- package/dist/cjs/udp-charts-example.cjs.entry.js +1 -1
- package/dist/cjs/udp-menu.cjs.entry.js +1 -1
- package/dist/cjs/udp-skeleton-loading.cjs.entry.js +1 -1
- package/dist/cjs/udp-stepper-demo.cjs.entry.js +1 -1
- package/dist/cjs/udp-tab.cjs.entry.js +1 -1
- package/dist/collection/components/advanced-search/filter-conditions/filter-conditions.js +5 -1
- package/dist/collection/components/advanced-search/ui/logical-search-indicator/logical-search-indicator.js +5 -1
- package/dist/collection/components/attachment-list/udp-attachment-item.js +4 -0
- package/dist/collection/components/attachment-list/udp-attachment-list.js +5 -1
- package/dist/collection/components/buttons/icon-button/radio-button/udp-radio-button.js +5 -1
- package/dist/collection/components/buttons/icon-button/stencil-icon-button-grid-action-header.js +4 -0
- package/dist/collection/components/buttons/udp-button/udp-button.js +4 -1
- package/dist/collection/components/charts/udp-charts-example.js +4 -1
- package/dist/collection/components/data-display/adornment/udp-adornment/udp-adornment.js +5 -1
- package/dist/collection/components/data-display/badge/udp-badge.js +5 -1
- package/dist/collection/components/data-display/cards/udp-ambient-card/udp-ambient-card.js +5 -1
- package/dist/collection/components/data-display/cards/udp-card/udp-card-action-area/udp-card-action-area.js +5 -1
- package/dist/collection/components/data-display/cards/udp-card/udp-card-actions/udp-card-actions.js +5 -1
- package/dist/collection/components/data-display/cards/udp-card/udp-card-content/udp-card-content.js +5 -1
- package/dist/collection/components/data-display/cards/udp-card/udp-card-header/udp-card-header.js +5 -1
- package/dist/collection/components/data-display/cards/udp-card/udp-card-media/udp-card-media.js +5 -1
- package/dist/collection/components/data-display/cards/udp-card/udp-card.js +7 -3
- package/dist/collection/components/data-display/chips/udp-chip.js +4 -1
- package/dist/collection/components/data-display/divider/udp-divider.js +5 -1
- package/dist/collection/components/data-display/empty-state-display/udp-empty-state-display.js +5 -1
- package/dist/collection/components/data-display/headers/udp-column-header.js +5 -1
- package/dist/collection/components/data-display/headers/udp-page-header/udp-page-header.js +5 -1
- package/dist/collection/components/data-display/hint-panel/hint-panel.js +5 -1
- package/dist/collection/components/data-display/list-renderer/udp-list-renderer.js +4 -0
- package/dist/collection/components/data-display/pop-over/udp-pop-over.js +5 -1
- package/dist/collection/components/data-display/pop-over-grid-action-header/udp-pop-over-grid-action-header.js +5 -1
- package/dist/collection/components/data-display/primary-action-header/primary-action-header.js +6 -2
- package/dist/collection/components/data-display/simple-card/simple-card.js +5 -1
- package/dist/collection/components/data-display/tool-tip/udp-ambient-tool-tip.js +6 -2
- package/dist/collection/components/data-display/tree/tree-list-item/search-item/search-list-item.js +5 -1
- package/dist/collection/components/data-display/tree/tree-list-item/tree-list-item.js +4 -0
- package/dist/collection/components/data-display/udp-avatar/udp-avatar.js +5 -1
- package/dist/collection/components/dialogs/udp-dialog.js +5 -1
- package/dist/collection/components/drawers/udp-side-sheet/udp-side-sheet.js +12 -9
- package/dist/collection/components/feedback/udp-notification/alerts/upd-alert-banner.js +5 -1
- package/dist/collection/components/feedback/udp-notification/udp-notification.js +6 -2
- package/dist/collection/components/grid/ag-table/ag-table.js +5 -1
- package/dist/collection/components/grid/grid-primary-bar/grid-primary-bar.js +6 -2
- package/dist/collection/components/grid/hotlists/udp-hotlist-form/udp-hotlist-form.js +5 -1
- package/dist/collection/components/grid/resource-timeline-calendar/resource-timeline-calendar.js +5 -1
- package/dist/collection/components/grid/resource-timeline-calendar/resource-timeline-primary-bar.js +7 -3
- package/dist/collection/components/inputs/address-search/address-search.js +7 -3
- package/dist/collection/components/inputs/checkbox/check-box.js +5 -2
- package/dist/collection/components/inputs/date-range-selector/udp-date-range-selector.js +6 -2
- package/dist/collection/components/inputs/date-selector/udp-date-selector.js +6 -3
- package/dist/collection/components/inputs/date-time-selector/udp-datetime-selector.js +6 -3
- package/dist/collection/components/inputs/file-upload/file-upload.js +7 -4
- package/dist/collection/components/inputs/form metadata display/form-metadata-display.js +4 -1
- package/dist/collection/components/inputs/image-upload/image-upload.js +4 -1
- package/dist/collection/components/inputs/location-input/location-input.js +4 -0
- package/dist/collection/components/inputs/numeric-field/numeric-field.js +6 -3
- package/dist/collection/components/inputs/selectable-list/selectable-list.js +3 -0
- package/dist/collection/components/inputs/signature-input/signature-input.js +6 -2
- package/dist/collection/components/inputs/tally/tally.js +5 -2
- package/dist/collection/components/inputs/text-area/text-area.js +6 -3
- package/dist/collection/components/inputs/text-field/text-field.js +6 -3
- package/dist/collection/components/inputs/time-selector/udp-time-selector.js +6 -3
- package/dist/collection/components/inputs/udp-selector/udp-selector.js +7 -4
- package/dist/collection/components/loaders/udp-grid-loader/udp-grid-loader.js +6 -2
- package/dist/collection/components/loaders/udp-linear-loader/udp-linear-loader.js +5 -1
- package/dist/collection/components/loaders/udp-skeleton-loading.js +5 -1
- package/dist/collection/components/menu/udp-menu.js +5 -1
- package/dist/collection/components/navigation/pagination/udp-pagination.js +4 -0
- package/dist/collection/components/navigation/udp-link/udp-link.js +4 -0
- package/dist/collection/components/stepper/udp-stepper-demo.js +5 -1
- package/dist/collection/components/tabs/tab/tabs/udp-tabs.js +6 -2
- package/dist/collection/components/tabs/tab/udp-tab.js +5 -1
- package/dist/collection/components/tabs/udp-tab-panel/udp-tab-panel.js +5 -1
- package/dist/collection/components/toolbars/app-bar/app-bar.js +5 -1
- package/dist/collection/components/unity-typography/unity-typography.js +4 -0
- package/dist/components/address-search2.js +1 -1
- package/dist/components/ag-table2.js +1 -1
- package/dist/components/app-bar.js +1 -1
- package/dist/components/check-box.js +1 -1
- package/dist/components/file-upload2.js +1 -1
- package/dist/components/filter-conditions2.js +1 -1
- package/dist/components/form-metadata-display2.js +1 -1
- package/dist/components/grid-primary-bar2.js +1 -1
- package/dist/components/hint-panel2.js +1 -1
- package/dist/components/image-upload2.js +1 -1
- package/dist/components/logical-search-indicator.js +1 -1
- package/dist/components/numeric-field2.js +1 -1
- package/dist/components/primary-action-header2.js +1 -1
- package/dist/components/resource-timeline-calendar.js +1 -1
- package/dist/components/resource-timeline-primary-bar2.js +1 -1
- package/dist/components/search-list-item2.js +1 -1
- package/dist/components/signature-input2.js +1 -1
- package/dist/components/simple-card.js +1 -1
- package/dist/components/tally.js +1 -1
- package/dist/components/text-area2.js +1 -1
- package/dist/components/text-field2.js +1 -1
- package/dist/components/udp-adornment2.js +1 -1
- package/dist/components/udp-ambient-card2.js +1 -1
- package/dist/components/udp-ambient-tool-tip2.js +1 -1
- package/dist/components/udp-attachment-list.js +1 -1
- package/dist/components/udp-avatar2.js +1 -1
- package/dist/components/udp-badge2.js +1 -1
- package/dist/components/udp-button2.js +1 -1
- package/dist/components/udp-card-action-area.js +1 -1
- package/dist/components/udp-card-actions2.js +1 -1
- package/dist/components/udp-card-content2.js +1 -1
- package/dist/components/udp-card-header2.js +1 -1
- package/dist/components/udp-card-media2.js +1 -1
- package/dist/components/udp-card2.js +1 -1
- package/dist/components/udp-charts-example.js +1 -1
- package/dist/components/udp-chip2.js +1 -1
- package/dist/components/udp-column-header2.js +1 -1
- package/dist/components/udp-date-range-selector2.js +1 -1
- package/dist/components/udp-date-selector2.js +1 -1
- package/dist/components/udp-datetime-selector2.js +1 -1
- package/dist/components/udp-dialog2.js +1 -1
- package/dist/components/udp-divider2.js +1 -1
- package/dist/components/udp-empty-state-display2.js +1 -1
- package/dist/components/udp-grid-loader2.js +1 -1
- package/dist/components/udp-hotlist-form2.js +1 -1
- package/dist/components/udp-linear-loader2.js +1 -1
- package/dist/components/udp-menu.js +1 -1
- package/dist/components/udp-notification2.js +1 -1
- package/dist/components/udp-page-header2.js +1 -1
- package/dist/components/udp-pop-over-grid-action-header2.js +1 -1
- package/dist/components/udp-pop-over2.js +1 -1
- package/dist/components/udp-radio-button2.js +1 -1
- package/dist/components/udp-selector2.js +1 -1
- package/dist/components/udp-side-sheet2.js +1 -1
- package/dist/components/udp-skeleton-loading2.js +1 -1
- package/dist/components/udp-stepper-demo.js +1 -1
- package/dist/components/udp-tab-panel2.js +1 -1
- package/dist/components/udp-tab.js +1 -1
- package/dist/components/udp-tabs2.js +1 -1
- package/dist/components/udp-time-selector2.js +1 -1
- package/dist/components/upd-alert-banner2.js +1 -1
- package/dist/docs.json +537 -129
- package/dist/esm/address-search_6.entry.js +18 -18
- package/dist/esm/advanced-search_12.entry.js +8 -8
- package/dist/esm/ag-grid-base_65.entry.js +22 -22
- package/dist/esm/app-bar.entry.js +1 -1
- package/dist/esm/chart-container_3.entry.js +1 -1
- package/dist/esm/check-box.entry.js +2 -2
- package/dist/esm/file-upload_2.entry.js +5 -5
- package/dist/esm/filter-conditions_7.entry.js +7 -7
- package/dist/esm/form-metadata-display_10.entry.js +6 -6
- package/dist/esm/logical-search-indicator.entry.js +1 -1
- package/dist/esm/primary-action-header_2.entry.js +4 -4
- package/dist/esm/resource-timeline-calendar.entry.js +1 -1
- package/dist/esm/resource-timeline-primary-bar.entry.js +3 -3
- package/dist/esm/simple-card.entry.js +1 -1
- package/dist/esm/text-field_2.entry.js +7 -7
- package/dist/esm/udp-adornment.entry.js +1 -1
- package/dist/esm/udp-attachment-item_2.entry.js +1 -1
- package/dist/esm/udp-attachment-list.entry.js +1 -1
- package/dist/esm/udp-card-action-area.entry.js +1 -1
- package/dist/esm/udp-card_6.entry.js +7 -7
- package/dist/esm/udp-charts-example.entry.js +1 -1
- package/dist/esm/udp-menu.entry.js +1 -1
- package/dist/esm/udp-skeleton-loading.entry.js +1 -1
- package/dist/esm/udp-stepper-demo.entry.js +1 -1
- package/dist/esm/udp-tab.entry.js +1 -1
- package/dist/stencil-library/address-search_6.entry.js +1 -1
- package/dist/stencil-library/advanced-search_12.entry.js +1 -1
- package/dist/stencil-library/ag-grid-base_65.entry.js +1 -1
- package/dist/stencil-library/app-bar.entry.js +1 -1
- package/dist/stencil-library/chart-container_3.entry.js +1 -1
- package/dist/stencil-library/check-box.entry.js +1 -1
- package/dist/stencil-library/file-upload_2.entry.js +1 -1
- package/dist/stencil-library/filter-conditions_7.entry.js +1 -1
- package/dist/stencil-library/form-metadata-display_10.entry.js +1 -1
- package/dist/stencil-library/logical-search-indicator.entry.js +1 -1
- package/dist/stencil-library/primary-action-header_2.entry.js +1 -1
- package/dist/stencil-library/resource-timeline-calendar.entry.js +1 -1
- package/dist/stencil-library/resource-timeline-primary-bar.entry.js +1 -1
- package/dist/stencil-library/simple-card.entry.js +1 -1
- package/dist/stencil-library/text-field_2.entry.js +1 -1
- package/dist/stencil-library/udp-adornment.entry.js +1 -1
- package/dist/stencil-library/udp-attachment-item_2.entry.js +1 -1
- package/dist/stencil-library/udp-attachment-list.entry.js +1 -1
- package/dist/stencil-library/udp-card-action-area.entry.js +1 -1
- package/dist/stencil-library/udp-card_6.entry.js +1 -1
- package/dist/stencil-library/udp-charts-example.entry.js +1 -1
- package/dist/stencil-library/udp-menu.entry.js +1 -1
- package/dist/stencil-library/udp-skeleton-loading.entry.js +1 -1
- package/dist/stencil-library/udp-stepper-demo.entry.js +1 -1
- package/dist/stencil-library/udp-tab.entry.js +1 -1
- package/dist/types/components/advanced-search/filter-conditions/filter-conditions.d.ts +4 -0
- package/dist/types/components/advanced-search/ui/logical-search-indicator/logical-search-indicator.d.ts +4 -0
- package/dist/types/components/attachment-list/udp-attachment-item.d.ts +4 -0
- package/dist/types/components/attachment-list/udp-attachment-list.d.ts +4 -0
- package/dist/types/components/buttons/icon-button/radio-button/udp-radio-button.d.ts +4 -0
- package/dist/types/components/buttons/icon-button/stencil-icon-button-grid-action-header.d.ts +4 -0
- package/dist/types/components/buttons/udp-button/udp-button.d.ts +3 -0
- package/dist/types/components/charts/udp-charts-example.d.ts +3 -0
- package/dist/types/components/data-display/adornment/udp-adornment/udp-adornment.d.ts +4 -0
- package/dist/types/components/data-display/badge/udp-badge.d.ts +4 -0
- package/dist/types/components/data-display/cards/udp-ambient-card/udp-ambient-card.d.ts +4 -0
- package/dist/types/components/data-display/cards/udp-card/udp-card-action-area/udp-card-action-area.d.ts +4 -0
- package/dist/types/components/data-display/cards/udp-card/udp-card-actions/udp-card-actions.d.ts +4 -0
- package/dist/types/components/data-display/cards/udp-card/udp-card-content/udp-card-content.d.ts +4 -0
- package/dist/types/components/data-display/cards/udp-card/udp-card-header/udp-card-header.d.ts +4 -0
- package/dist/types/components/data-display/cards/udp-card/udp-card-media/udp-card-media.d.ts +4 -0
- package/dist/types/components/data-display/cards/udp-card/udp-card.d.ts +4 -0
- package/dist/types/components/data-display/chips/udp-chip.d.ts +3 -0
- package/dist/types/components/data-display/divider/udp-divider.d.ts +4 -0
- package/dist/types/components/data-display/empty-state-display/udp-empty-state-display.d.ts +4 -0
- package/dist/types/components/data-display/headers/udp-column-header.d.ts +4 -0
- package/dist/types/components/data-display/headers/udp-page-header/udp-page-header.d.ts +4 -0
- package/dist/types/components/data-display/hint-panel/hint-panel.d.ts +4 -0
- package/dist/types/components/data-display/list-renderer/udp-list-renderer.d.ts +4 -0
- package/dist/types/components/data-display/pop-over/udp-pop-over.d.ts +4 -0
- package/dist/types/components/data-display/pop-over-grid-action-header/udp-pop-over-grid-action-header.d.ts +4 -0
- package/dist/types/components/data-display/primary-action-header/primary-action-header.d.ts +4 -0
- package/dist/types/components/data-display/simple-card/simple-card.d.ts +4 -0
- package/dist/types/components/data-display/tool-tip/udp-ambient-tool-tip.d.ts +4 -0
- package/dist/types/components/data-display/tree/tree-list-item/search-item/search-list-item.d.ts +4 -0
- package/dist/types/components/data-display/tree/tree-list-item/tree-list-item.d.ts +4 -0
- package/dist/types/components/data-display/udp-avatar/udp-avatar.d.ts +4 -0
- package/dist/types/components/dialogs/udp-dialog.d.ts +4 -0
- package/dist/types/components/drawers/udp-side-sheet/udp-side-sheet.d.ts +3 -0
- package/dist/types/components/feedback/udp-notification/alerts/upd-alert-banner.d.ts +4 -0
- package/dist/types/components/feedback/udp-notification/udp-notification.d.ts +4 -0
- package/dist/types/components/grid/ag-table/ag-table.d.ts +4 -0
- package/dist/types/components/grid/grid-primary-bar/grid-primary-bar.d.ts +4 -0
- package/dist/types/components/grid/hotlists/udp-hotlist-form/udp-hotlist-form.d.ts +4 -0
- package/dist/types/components/grid/resource-timeline-calendar/resource-timeline-calendar.d.ts +4 -0
- package/dist/types/components/grid/resource-timeline-calendar/resource-timeline-primary-bar.d.ts +4 -0
- package/dist/types/components/inputs/address-search/address-search.d.ts +4 -0
- package/dist/types/components/inputs/checkbox/check-box.d.ts +3 -0
- package/dist/types/components/inputs/date-range-selector/udp-date-range-selector.d.ts +4 -0
- package/dist/types/components/inputs/date-selector/udp-date-selector.d.ts +3 -0
- package/dist/types/components/inputs/date-time-selector/udp-datetime-selector.d.ts +3 -0
- package/dist/types/components/inputs/file-upload/file-upload.d.ts +3 -0
- package/dist/types/components/inputs/form metadata display/form-metadata-display.d.ts +3 -0
- package/dist/types/components/inputs/image-upload/image-upload.d.ts +3 -0
- package/dist/types/components/inputs/location-input/location-input.d.ts +4 -0
- package/dist/types/components/inputs/numeric-field/numeric-field.d.ts +3 -0
- package/dist/types/components/inputs/selectable-list/selectable-list.d.ts +3 -0
- package/dist/types/components/inputs/signature-input/signature-input.d.ts +4 -0
- package/dist/types/components/inputs/tally/tally.d.ts +3 -0
- package/dist/types/components/inputs/text-area/text-area.d.ts +3 -0
- package/dist/types/components/inputs/text-field/text-field.d.ts +3 -0
- package/dist/types/components/inputs/time-selector/udp-time-selector.d.ts +3 -0
- package/dist/types/components/inputs/udp-selector/udp-selector.d.ts +3 -0
- package/dist/types/components/loaders/udp-grid-loader/udp-grid-loader.d.ts +4 -0
- package/dist/types/components/loaders/udp-linear-loader/udp-linear-loader.d.ts +4 -0
- package/dist/types/components/loaders/udp-skeleton-loading.d.ts +4 -0
- package/dist/types/components/menu/udp-menu.d.ts +4 -0
- package/dist/types/components/navigation/pagination/udp-pagination.d.ts +4 -0
- package/dist/types/components/navigation/udp-link/udp-link.d.ts +4 -0
- package/dist/types/components/stepper/udp-stepper-demo.d.ts +4 -0
- package/dist/types/components/tabs/tab/tabs/udp-tabs.d.ts +4 -0
- package/dist/types/components/tabs/tab/udp-tab.d.ts +4 -0
- package/dist/types/components/tabs/udp-tab-panel/udp-tab-panel.d.ts +4 -0
- package/dist/types/components/toolbars/app-bar/app-bar.d.ts +4 -0
- package/dist/types/components/unity-typography/unity-typography.d.ts +4 -0
- package/dist/types/components.d.ts +985 -1
- package/package.json +1 -1
|
@@ -187,15 +187,15 @@ const AddressSearch = class {
|
|
|
187
187
|
borderBottom: '1px solid var(--gray-02, #f0f0f0)',
|
|
188
188
|
}
|
|
189
189
|
: undefined;
|
|
190
|
-
return (index.h(index.Host, { key: '
|
|
190
|
+
return (index.h(index.Host, { key: '3452af432e84f38b19f3fef43fa538ca4de0ae4c', class: {
|
|
191
191
|
'udp-input': true,
|
|
192
192
|
'udp-input--error': isError,
|
|
193
193
|
'udp-input--disabled': this.disabled,
|
|
194
194
|
'udp-input--readonly': this.readonly,
|
|
195
195
|
'address-search--suggestions-open': isSuggestionsOpen,
|
|
196
|
-
} }, index.h("div", { key: '
|
|
196
|
+
} }, index.h("div", { key: 'a5e5262a54644dff7a0dc5400821723cbbbf1881', class: "bx--form-item map-input-search-field" }, index.h("unity-typography", { key: 'a1f76c0962cb7319efd9f3a298ebd75b2385f3b2', variant: "caption-text" }, index.h("label", { key: '51d3c2fc635044c7760c2d88159f1895925b914b', htmlFor: this.inputId + '-search', class: "bx--label" }, this.label, this.required ? '*' : '')), index.h("div", { key: '56f88c3fa63ad3eeb3faf60ca1270afe189bdecb', class: "search-container" }, index.h("div", { key: '05ca5181ca1e946c065fd0db5b0954e478659a8d', class: "search-wrapper" }, index.h("input", { key: "map-search-input", type: "text", id: this.inputId + '-search', class: "search-input bx--text-input", placeholder: this.placeholder, value: this.searchQuery, onInput: this.handleSearchInput, onFocus: this.handleFocus, disabled: this.disabled, readOnly: this.readonly,
|
|
197
197
|
// eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion
|
|
198
|
-
ref: el => (this.searchInputEl = el) }), index.h("div", { key: '
|
|
198
|
+
ref: el => (this.searchInputEl = el) }), index.h("div", { key: 'eb9c436c2a3f9842fd33800e6caac53e831d7e16', class: "search-actions" }, index.h("button", { key: '50a7937f6191688230c0b31e367767e8ecacbfe5', type: "button", class: { 'clear-button': true, 'hidden': !this.searchQuery }, onClick: this.clearSearch, "aria-label": "Clear search", disabled: this.disabled || this.readonly }, "\u2715"), index.h("div", { key: 'd8ae0799a789b49b9cd10be6d9ffe174739a05ca', class: { 'loading-indicator': true, 'hidden': !isBusy } }, index.h("div", { key: 'd1cd9b6d56371b07aaad7fcfdc68369cf73395f2', class: "spinner" }))), index.h("udp-pop-over", { key: '25d2acc85fb74c69a8edc30181b46c7a858523a3', anchorElement: this.searchInputEl, isOpen: isSuggestionsOpen, appendToBody: this.appendSuggestionsToBody, popoverPlacement: "bottom-start", popoverWidth: popoverWidth, popoverMaxHeight: "var(--address-search-suggestions-max-height)", overflow: "auto", handleOnClose: () => (this.showSuggestions = false) }, index.h("ul", { key: '7ff954b5b2c5d16cf3471d3c5004c940e16fc070', class: "suggestions-list", style: suggestionsListStyle }, this.suggestions.map(suggestion => (index.h("li", { key: suggestion.id, class: "suggestion-item", style: suggestionItemStyle, onClick: () => this.selectAddress(suggestion) }, index.h("unity-typography", { variant: "body" }, index.h("div", { class: "suggestion-content" }, index.h("span", { class: "suggestion-address" }, suggestion.address.freeformAddress)))))))))), errorMessage ? (index.h("div", { class: "error-message" }, index.h("unity-typography", { variant: "caption-text", color: "error" }, errorMessage))) : null)));
|
|
199
199
|
}
|
|
200
200
|
get el() { return index.getElement(this); }
|
|
201
201
|
static get watchers() { return {
|
|
@@ -328,7 +328,7 @@ const NumericField = class {
|
|
|
328
328
|
'bx--text-input--error': isError,
|
|
329
329
|
'text-field--disabled': this.disabled,
|
|
330
330
|
};
|
|
331
|
-
return (index.h(index.Host, { key: '
|
|
331
|
+
return (index.h(index.Host, { key: '9ee4b5bbd27214495433342ae7760353ec52efa4', class: {
|
|
332
332
|
'udp-input': true,
|
|
333
333
|
'udp-input--error': isError,
|
|
334
334
|
'udp-input--disabled': this.disabled,
|
|
@@ -337,9 +337,9 @@ const NumericField = class {
|
|
|
337
337
|
'udp-input--readonly': this.readonly,
|
|
338
338
|
[`udp-input--size-${this.size}`]: true,
|
|
339
339
|
[`udp-input--margin-${this.margin}`]: true,
|
|
340
|
-
}, "aria-invalid": isError ? 'true' : 'false', "aria-required": this.required ? 'true' : 'false' }, index.h("div", { key: '
|
|
340
|
+
}, "aria-invalid": isError ? 'true' : 'false', "aria-required": this.required ? 'true' : 'false' }, index.h("div", { key: 'b1f7eff28e68ebdd1ace4b555a938fc110998661', class: "bx--form-item" }, index.h("unity-typography", { key: '94a9ed1650854fd7bb3715263ec02d86d2889fbd', variant: "caption-text" }, index.h("label", { key: '6a25d5657f3a678adbcf044068e1b8e4ecf232d1', htmlFor: this.id, class: "bx--label" }, this.label, this.required ? '*' : '')), this.hidden ? (index.h("input", { id: this.id, type: "hidden", value: this.internalValue, name: this.name })) : (index.h("input", { id: this.id, name: this.name, type: "number", class: Object.assign({}, inputClass), placeholder: this.placeholder, value: this.internalValue, required: this.required, disabled: this.disabled, readOnly: this.readonly, onFocus: this.onFocus, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, inputMode: this.inputMode, min: this.min, max: this.max, step: this.step,
|
|
341
341
|
//@ts-ignore
|
|
342
|
-
udprecordid: 'udpRecord-number-field-' + this.id })), isError && (index.h("div", { key: '
|
|
342
|
+
udprecordid: 'udpRecord-number-field-' + this.id })), isError && (index.h("div", { key: '727ae9b05db5c388f2daa33935cc2dfb52e04196', class: "error-message" }, index.h("unity-typography", { key: '22aefb14604f6d6f3afdde8feaeb6771b3a38fe9', variant: "caption-text", color: "error" }, this.errorMessage))))));
|
|
343
343
|
}
|
|
344
344
|
static get watchers() { return {
|
|
345
345
|
"error": [{
|
|
@@ -564,7 +564,7 @@ const TextArea = class {
|
|
|
564
564
|
}
|
|
565
565
|
render() {
|
|
566
566
|
const { disabled, id, internalValue, label, placeholder, required, readonly, errorMessage, fullWidth, internalRows } = this;
|
|
567
|
-
return (index.h(index.Host, { key: '
|
|
567
|
+
return (index.h(index.Host, { key: '32aee362fe7850a759b1e8fe81dde53b844961e2', class: {
|
|
568
568
|
'udp-input': true,
|
|
569
569
|
'udp-input--error': !!errorMessage,
|
|
570
570
|
'udp-input--disabled': disabled,
|
|
@@ -573,11 +573,11 @@ const TextArea = class {
|
|
|
573
573
|
'udp-input--required': required,
|
|
574
574
|
[`udp-input--size-${this.size}`]: true,
|
|
575
575
|
[`udp-input--margin-${this.margin}`]: true,
|
|
576
|
-
} }, index.h("div", { key: '
|
|
576
|
+
} }, index.h("div", { key: 'b5de9b2a96fa2d9e0ca592f9928f9f4f074c6e52', class: "bx--form-item" }, index.h("unity-typography", { key: '79561a5ecbad990320938951704a42737c9bc971', variant: "caption-text" }, index.h("label", { key: 'af3666bdf2b3236056807d5ce4f97b29fa68ebfc', htmlFor: id, class: "bx--label" }, label, required ? '*' : '')), index.h("textarea", { key: '021614dbf0d637c5fa5ca626050e4f60932ddf69', ref: el => (this.textareaEl = el), id: id, class: {
|
|
577
577
|
'bx--text-input': true,
|
|
578
578
|
'bx--text-input--error': !!errorMessage,
|
|
579
579
|
'text-area--disabled': disabled,
|
|
580
|
-
}, placeholder: placeholder, value: internalValue, required: required, disabled: disabled, readonly: readonly, maxLength: this.maxCharacter, rows: internalRows, onInput: this.onInput, onChange: this.onChange }, internalValue), errorMessage && (index.h("div", { key: '
|
|
580
|
+
}, placeholder: placeholder, value: internalValue, required: required, disabled: disabled, readonly: readonly, maxLength: this.maxCharacter, rows: internalRows, onInput: this.onInput, onChange: this.onChange }, internalValue), errorMessage && (index.h("div", { key: 'df47f6d3d42f309518d83281c83cea3e2e771a03', class: "error-message" }, index.h("unity-typography", { key: 'dad92c9481e7ac27e13803c7d3b56c402fcd67ae', variant: "caption-text", color: "error" }, errorMessage))))));
|
|
581
581
|
}
|
|
582
582
|
get el() { return index.getElement(this); }
|
|
583
583
|
static get watchers() { return {
|
|
@@ -718,7 +718,7 @@ const UdpDateSelector = class {
|
|
|
718
718
|
classNames.push('bx--text-input--full-width');
|
|
719
719
|
}
|
|
720
720
|
const inputClass = classNames.join(' ');
|
|
721
|
-
return (index.h(index.Host, { key: '
|
|
721
|
+
return (index.h(index.Host, { key: '8aee285e447f0c76af10fdd0031607266a118a0e', class: {
|
|
722
722
|
'udp-input': true,
|
|
723
723
|
'udp-input--error': isError,
|
|
724
724
|
'udp-input--disabled': this.disabled,
|
|
@@ -727,9 +727,9 @@ const UdpDateSelector = class {
|
|
|
727
727
|
'udp-input--required': this.required,
|
|
728
728
|
[`udp-input--size-${this.size}`]: true,
|
|
729
729
|
[`udp-input--margin-${this.margin}`]: true,
|
|
730
|
-
}, "aria-invalid": isError ? 'true' : 'false', "aria-required": this.required ? 'true' : 'false' }, index.h("div", { key: '
|
|
730
|
+
}, "aria-invalid": isError ? 'true' : 'false', "aria-required": this.required ? 'true' : 'false' }, index.h("div", { key: 'e60d4dbcd9fc42f11f99ec09606115bf530677e8', class: "bx--form-item" }, index.h("unity-typography", { key: '319782c0e087ad4809e5b14c35c8099b8d9b611d', variant: "caption-text" }, index.h("label", { key: 'c18e8b25c74c4fb33903201c34606611f2f97358', htmlFor: this.id, class: "bx--label" }, this.label, this.required ? '*' : '')), index.h("input", { key: '89b8e0f68dd881817659a70250e523c2d6fb2acb', type: "date", id: this.id, name: this.name, class: inputClass, value: this.internalValue, min: this.min ? this.formatDateForHtml(this.min) : null, max: this.max ? this.formatDateForHtml(this.max) : null, onInput: this.handleDateChange, onChange: this.handleDateChange, onBlur: this.handleBlur, onFocus: this.handleFocus, disabled: this.disabled, readonly: this.readonly, required: this.required,
|
|
731
731
|
//@ts-ignore
|
|
732
|
-
udprecordid: 'udpRecord-udp-date-selector-' + this.id }), index.h("unity-typography", { key: '
|
|
732
|
+
udprecordid: 'udpRecord-udp-date-selector-' + this.id }), index.h("unity-typography", { key: 'c1c97b65e39907d8d44f9b2eee9b2e112750de36', class: "error-message", variant: "caption-text", color: "error" }, this.errorMessage))));
|
|
733
733
|
}
|
|
734
734
|
static get watchers() { return {
|
|
735
735
|
"error": [{
|
|
@@ -898,7 +898,7 @@ const UdpDateTimeSelector = class {
|
|
|
898
898
|
classNames.push('bx--text-input--full-width');
|
|
899
899
|
}
|
|
900
900
|
const inputClass = classNames.join(' ');
|
|
901
|
-
return (index.h(index.Host, { key: '
|
|
901
|
+
return (index.h(index.Host, { key: 'dab8a93931286e019c9793bf366ba867e1e8f08e', class: {
|
|
902
902
|
'udp-input': true,
|
|
903
903
|
'udp-input--error': isError,
|
|
904
904
|
'udp-input--disabled': this.disabled,
|
|
@@ -907,9 +907,9 @@ const UdpDateTimeSelector = class {
|
|
|
907
907
|
'udp-input--required': this.required,
|
|
908
908
|
[`udp-input--size-${this.size}`]: true,
|
|
909
909
|
[`udp-input--margin-${this.margin}`]: true,
|
|
910
|
-
}, "aria-invalid": isError ? 'true' : 'false', "aria-required": this.required ? 'true' : 'false' }, index.h("div", { key: '
|
|
910
|
+
}, "aria-invalid": isError ? 'true' : 'false', "aria-required": this.required ? 'true' : 'false' }, index.h("div", { key: 'b886734eb657fd8752aee79b44e2bb1e7ee356c1', class: "bx--form-item" }, index.h("unity-typography", { key: '3459d9f6568efa53c0e1b63b028049744500487a', variant: "caption-text" }, index.h("label", { key: '550a2d52d14c6b4a8aedc8c4779cde24a74181f8', htmlFor: this.id, class: "bx--label" }, this.label, this.required ? '*' : '')), index.h("input", { key: 'c1c9bd9b7961721a12b852b4dcfdf319e8820304', type: "datetime-local", id: this.id, name: this.name, class: inputClass, value: this.internalValue, min: this.min ? this.formatDateForHtml(this.min) : null, max: this.max ? this.formatDateForHtml(this.max) : null, onInput: this.handleDateChange, onBlur: this.handleBlur, onFocus: this.handleFocus, disabled: this.disabled, readonly: this.readonly, required: this.required,
|
|
911
911
|
//@ts-ignore
|
|
912
|
-
udprecordid: 'udpRecord-udp-datetime-selector-' + this.id }), index.h("unity-typography", { key: '
|
|
912
|
+
udprecordid: 'udpRecord-udp-datetime-selector-' + this.id }), index.h("unity-typography", { key: '35e8daff4f28c51e55216c6b982b949dc1ac5eb5', class: "error-message", variant: "caption-text", color: "error" }, this.errorMessage))));
|
|
913
913
|
}
|
|
914
914
|
static get watchers() { return {
|
|
915
915
|
"error": [{
|
|
@@ -1149,7 +1149,7 @@ const UdpTimeSelector = class {
|
|
|
1149
1149
|
classNames.push('bx--text-input--full-width');
|
|
1150
1150
|
}
|
|
1151
1151
|
const inputClass = classNames.join(' ');
|
|
1152
|
-
return (index.h(index.Host, { key: '
|
|
1152
|
+
return (index.h(index.Host, { key: '1d0ebba4d44f4d1fa29b849abe6ab2d5033d4834', class: {
|
|
1153
1153
|
'udp-input': true,
|
|
1154
1154
|
'udp-input--error': isError,
|
|
1155
1155
|
'udp-input--disabled': this.disabled,
|
|
@@ -1158,9 +1158,9 @@ const UdpTimeSelector = class {
|
|
|
1158
1158
|
'udp-input--required': this.required,
|
|
1159
1159
|
[`udp-input--size-${this.size}`]: true,
|
|
1160
1160
|
[`udp-input--margin-${this.margin}`]: true,
|
|
1161
|
-
}, "aria-invalid": isError ? 'true' : 'false', "aria-required": this.required ? 'true' : 'false' }, index.h("div", { key: '
|
|
1161
|
+
}, "aria-invalid": isError ? 'true' : 'false', "aria-required": this.required ? 'true' : 'false' }, index.h("div", { key: 'e149883d3ef614b426116d43e53ad72dd53563a9', class: "bx--form-item" }, index.h("unity-typography", { key: 'a72d5455a2250471a6e9b8a948eb79b23f1f9802', variant: "caption-text" }, index.h("label", { key: '3c71e10710af472160211ce7029116b769676af4', htmlFor: this.id, class: "bx--label" }, this.label, this.required ? '*' : '')), index.h("input", { key: 'd935a2bb78e6f7834d5299f02ca2a047e6d82492', type: "time", id: this.id, name: this.name, class: inputClass, value: this.internalValue, min: this.min, max: this.max, onInput: this.handleTimeInput, onChange: this.handleTimeChange, onBlur: this.handleBlur, onFocus: this.handleFocus, onInvalid: this.handleInvalid, disabled: this.disabled, readonly: this.readonly, required: this.required,
|
|
1162
1162
|
//@ts-ignore
|
|
1163
|
-
udprecordid: 'udpRecord-udp-time-selector-' + this.id }), index.h("unity-typography", { key: '
|
|
1163
|
+
udprecordid: 'udpRecord-udp-time-selector-' + this.id }), index.h("unity-typography", { key: 'd6dd5bf0b4cb34156f6265916835573d3bb93ca7', class: "error-message", variant: "caption-text", color: "error" }, this.errorMessage))));
|
|
1164
1164
|
}
|
|
1165
1165
|
get el() { return index.getElement(this); }
|
|
1166
1166
|
static get watchers() { return {
|
|
@@ -410,7 +410,7 @@ const AgTable = class {
|
|
|
410
410
|
this.height = 'calc(100vh - 200px)';
|
|
411
411
|
}
|
|
412
412
|
render() {
|
|
413
|
-
return (index.h("div", { key: '
|
|
413
|
+
return (index.h("div", { key: '4b1d023e4c1094d726d80a5703cb124848ebb12d', id: "myGrid", style: { height: this.height, width: '100%' }, class: "ag-theme-material" }));
|
|
414
414
|
}
|
|
415
415
|
get el() { return index.getElement(this); }
|
|
416
416
|
};
|
|
@@ -616,7 +616,7 @@ const GridPrimaryBar = class {
|
|
|
616
616
|
this.updateHideBar();
|
|
617
617
|
}
|
|
618
618
|
render() {
|
|
619
|
-
return (index.h("div", { key: '
|
|
619
|
+
return (index.h("div", { key: '0d9d52f49fc215ba6ff32d8a921dbb64688f08b2', class: "header-bar", style: !this.hideBar ? { background: 'var(--accent-color)' } : undefined }, index.h("div", { key: '086939a1b297fc4b42c41dd9e53bb44fbd0a919d', class: "title-section" }, index.h("div", { key: '9f6066615aee84ac61c7820f6fb15e5e16b9a0a3' }, index.h("unity-typography", { key: '4b0c1c460042f00b0760830f9b1cb73deafa0ac4', variant: "h4" }, this.title, " "), ' ')), index.h("div", { key: 'dd288a648947ba282f4a1da3239cb55e9baedd57', class: "button-section" }, index.h("div", { key: 'f75e712f8d1fad0f9da290ff323676ef4d1300fb' }, index.h("slot", { key: '87aea6e16e47591e918507d488293cbb8bb547c4' })), this.defaultActionButtons.map(btn => {
|
|
620
620
|
const clickHandler = (event) => {
|
|
621
621
|
if (btn.clickHandler) {
|
|
622
622
|
btn.clickHandler(event);
|
|
@@ -629,7 +629,7 @@ const GridPrimaryBar = class {
|
|
|
629
629
|
return (index.h("stencil-icon-button-grid-action-header", { showLabel: this.showLabels, secondary: btn.secondary, icon: btn.icon, onClick: clickHandler, tooltip: btn.tooltip, iconClassName: btn.iconClassName }, btn.icon && index.h("i", { class: btn.icon }), btn.label.toLowerCase() === 'save' || (!this.hiddenLabels.includes(btn.label) && btn.showLabel) ? index.h("span", null, btn.label) : null));
|
|
630
630
|
}
|
|
631
631
|
return null;
|
|
632
|
-
}), this.primaryActionClick && this.primaryActionLabel && (index.h("custom-button", { key: '
|
|
632
|
+
}), this.primaryActionClick && this.primaryActionLabel && (index.h("custom-button", { key: '6c29dbb9c09e5950b6bddf3efde24d06b38c6085', label: this.primaryActionLabel, onClick: (event) => this.primaryActionClick(event), size: "tall" }, this.primaryActionIcon && index.h("udp-icon", { key: '6717a426f0e354c20c042d064cb49467ccef1778', iconName: this.primaryActionIcon, darkIcon: false }))))));
|
|
633
633
|
}
|
|
634
634
|
static get watchers() { return {
|
|
635
635
|
"window:resize": [{
|
|
@@ -778,7 +778,7 @@ const UdpHotlistForm = class {
|
|
|
778
778
|
// console.log('Cancel button clicked');
|
|
779
779
|
// }
|
|
780
780
|
render() {
|
|
781
|
-
return (index.h("div", { key: '
|
|
781
|
+
return (index.h("div", { key: '2dbf3759f57fef64040c135911441b9ea68e8623', class: "wrapper" }, index.h("form", { key: 'f4764ff2514b9753438cc8e894df98f1228f79a2', class: "save-form", onSubmit: this.handleSubmit }, index.h("text-field", { key: '876d1456160d78312ccfb556a402623dda574344', label: "Hotlist Name", placeholder: "Create a name for your Hotlist", value: this.name, onChange: (event) => this.handleNameChange(event) }), index.h("stencil-toggle", { key: 'bdfe187e63be7ce68595e565dd29446cdab57156', label: "Private", checked: this.isPrivate, onToggledChange: this.handlePrivateChange }), index.h("div", { key: 'c4592a0a09a08b41abd6ba2806de17209032cc45', class: "submit-button" }, index.h("custom-button", { key: '86a5418dd2be8ce424d81864b878d885684ca3fe', variant: 'outline', type: "submit", onCustomClick: this.handleCancelClick }, "Cancel"), index.h("custom-button", { key: '74afc0e1de006a37897496d323e56320fc7ce3f8', disabled: !this.name, type: "submit", onCustomClick: this.onCustomButtonClick }, "Create List")))));
|
|
782
782
|
}
|
|
783
783
|
get el() { return index.getElement(this); }
|
|
784
784
|
};
|
|
@@ -800,11 +800,11 @@ const UdpNotification = class {
|
|
|
800
800
|
}
|
|
801
801
|
render() {
|
|
802
802
|
const statusClass = `status-${this.status}`;
|
|
803
|
-
return (index.h("div", { key: '
|
|
803
|
+
return (index.h("div", { key: 'a88c0ab63ef9db85bf0278b2933992b6d1d818ae', class: {
|
|
804
804
|
'udp-notification': true,
|
|
805
805
|
'visible': this.active,
|
|
806
806
|
[statusClass]: true // This will apply the correct class based on the status
|
|
807
|
-
} }, this.userCancel && (index.h("button", { key: '
|
|
807
|
+
} }, this.userCancel && (index.h("button", { key: 'a33d85198024a1af29440ef204720c44374ae4ac', class: "close-button", onClick: () => this.active = false }, "\u00D7")), index.h("span", { key: '8b407eaefa28642caab9646a97dc1b564838e472', class: "message" }, " ", index.h("unity-typography", { key: '6f13f102375badb61a8ce0e8bd6e47c995065577', variant: 'body' }, " ", this.message, " "))));
|
|
808
808
|
}
|
|
809
809
|
static get watchers() { return {
|
|
810
810
|
"active": [{
|
|
@@ -853,7 +853,7 @@ const UdpPopOver = class {
|
|
|
853
853
|
style['top'] = `${rect.bottom}px`;
|
|
854
854
|
style['left'] = `${rect.left}px`;
|
|
855
855
|
}
|
|
856
|
-
return (index.h("div", { key: '
|
|
856
|
+
return (index.h("div", { key: '02ed42a65850f878cae716c98c7417cd52ec4acf', class: "popover", style: style }, index.h("unity-typography", { key: '99e2a5d19453f383b8bb202e349c70a7746b034b', variant: "caption-text" }, index.h("slot", { key: 'a887f03bc96926b386498ae79ae939a407c2eac5' }))));
|
|
857
857
|
}
|
|
858
858
|
get el() { return index.getElement(this); }
|
|
859
859
|
static get watchers() { return {
|
|
@@ -874,7 +874,7 @@ const UpdAlertBanner = class {
|
|
|
874
874
|
this.message = '';
|
|
875
875
|
}
|
|
876
876
|
render() {
|
|
877
|
-
return (index.h("div", { key: '
|
|
877
|
+
return (index.h("div", { key: '97a6cb154b31988977db03ae5f8098c77892f9cc', class: `alert-banner ${this.type}` }, index.h("unity-typography", { key: '973380e1a13cf4cd064e56fae17c921f8d052631', variant: "data-display-three" }, " ", this.message, " ")));
|
|
878
878
|
}
|
|
879
879
|
};
|
|
880
880
|
UpdAlertBanner.style = updAlertBannerCss();
|
|
@@ -3287,7 +3287,7 @@ const HintPanel = class {
|
|
|
3287
3287
|
};
|
|
3288
3288
|
}
|
|
3289
3289
|
render() {
|
|
3290
|
-
return (index.h("div", { key: '
|
|
3290
|
+
return (index.h("div", { key: '144af424fe48480fd016497771952ebda04c63bf', class: "hint-container" }, this.showHint && (index.h("div", { key: '9c2d40bb9ee93dd8ee92c785d7fe64680027b75d', class: "hint-content" }, index.h("div", { key: 'd3821907e2fbd0786f25a351f923f28bf153706a' }, index.h("unity-typography", { key: '8e82e5171faa1fea8f4b28282e303b5b49d1b947', variant: "body" }, " ", this.hint, " ")), this.hideHintText && (index.h("div", { key: '0eff4845b0f57130ee312f91966339fd28427f47', class: "hide-help" }, index.h("udp-button", { key: '73001531b0c7dc7355b1fdd575a36096541adfc2', size: "small", color: "info", onClick: this.handleHideHint }, this.hideHintText)))))));
|
|
3291
3291
|
}
|
|
3292
3292
|
};
|
|
3293
3293
|
HintPanel.style = hintPanelCss();
|
|
@@ -4163,9 +4163,9 @@ const UdpAmbientToolTip = class {
|
|
|
4163
4163
|
render() {
|
|
4164
4164
|
// Check if content is provided before rendering the tooltip content.
|
|
4165
4165
|
const shouldDisplayTooltip = !!this.isVisible && !!this.content && this.content.trim() !== '';
|
|
4166
|
-
return (index.h("div", { key: '
|
|
4166
|
+
return (index.h("div", { key: '2bf6c7e0e65259233babeca3ed6b7ce51d06d2ff', class: "tooltip-wrapper", ref: el => (this.wrapperEl = el), onMouseOver: this.showTooltip, onMouseOut: this.hideTooltip }, index.h("slot", { key: '9ac255ba46923337a1374ddfb285cccce494d37b' }), shouldDisplayTooltip && (
|
|
4167
4167
|
// STEP 4: Use the global class name we defined in our style string.
|
|
4168
|
-
index.h("div", { key: '
|
|
4168
|
+
index.h("div", { key: '5742dddcc6d75f0f50e628b4ffec3e54e2437483', class: "udp-tooltip-portal", role: "tooltip", ref: el => (this.tooltipContentEl = el) }, index.h("unity-typography", { key: 'a8c967bbaf64d0e318548a98571f850970f02a53', variant: "caption-text" }, this.content)))));
|
|
4169
4169
|
}
|
|
4170
4170
|
};
|
|
4171
4171
|
UdpAmbientToolTip.style = udpAmbientToolTipCss();
|
|
@@ -4973,7 +4973,7 @@ const UdpAvatar = class {
|
|
|
4973
4973
|
else {
|
|
4974
4974
|
style['background-color'] = this.getColorForUsername();
|
|
4975
4975
|
}
|
|
4976
|
-
return (index.h("div", { key: '
|
|
4976
|
+
return (index.h("div", { key: '4b0dff80d54e257f4b57361b750c513a8209fed6', class: classes.join(' '), style: style }, this.iconName ? index.h("udp-icon", { iconName: this.iconName, darkIcon: false }) : index.h("unity-typography", { variant: "data-display-two" }, " ", this.getInitial())));
|
|
4977
4977
|
}
|
|
4978
4978
|
};
|
|
4979
4979
|
UdpAvatar.style = udpAvatarCss();
|
|
@@ -4988,7 +4988,7 @@ const UdpBadge = class {
|
|
|
4988
4988
|
}
|
|
4989
4989
|
render() {
|
|
4990
4990
|
const displayContent = this.content > this.max ? `${this.max}+` : this.content;
|
|
4991
|
-
return (index.h("div", { key: '
|
|
4991
|
+
return (index.h("div", { key: '00460e89c28f310589e4f81c782e9b73d9a29ec7', class: "badge-wrapper" }, index.h("slot", { key: '7479d54d69ca49d5cd80d53c775e3f608463ac71' }), index.h("span", { key: '75957700b94a7f36fa0c58b41de96ee9a5476b59', class: "badge-content" }, index.h("unity-typography", { key: '4591e5a0091a26f1a6b088ffd599bb5d4093d70a', variant: 'caption-text' }, " ", displayContent, " "))));
|
|
4992
4992
|
}
|
|
4993
4993
|
};
|
|
4994
4994
|
UdpBadge.style = udpBadgeCss();
|
|
@@ -5094,7 +5094,7 @@ const UdpButton = class {
|
|
|
5094
5094
|
else {
|
|
5095
5095
|
attributes.type = this.type;
|
|
5096
5096
|
}
|
|
5097
|
-
return (index.h(TagType, Object.assign({ key: '
|
|
5097
|
+
return (index.h(TagType, Object.assign({ key: '2b7c1d83478763f4562106ce703e34da0ef7fbc1' }, attributes), index.h("div", { key: '2aac740b8e5dd070319691fbadc0041cbd23fe66', class: "udp-button__spinner" }), index.h("span", { key: 'fa45b7ac2a51469855f0997105b103be32689de9', class: "udp-button__content-wrapper" }, this.startIcon && (index.h("span", { key: 'a323a4b4d415e74c8939ae6d3b082567a82e834a', class: "udp-button__icon udp-button__icon--start", "aria-hidden": "true" }, this.startIcon)), index.h("span", { key: '7eb0525cd55d397e25bd5f1210b2d45fb1a2df76', class: "udp-button__text-content" }, index.h("slot", { key: 'df40cc4787c5845b3446fbca80e86668b87d8fe6' })), this.endIcon && (index.h("span", { key: 'f997b0c6b02129ae082e1e55b38aa30d9e0e399b', class: "udp-button__icon udp-button__icon--end", "aria-hidden": "true" }, this.endIcon)))));
|
|
5098
5098
|
}
|
|
5099
5099
|
get el() { return index.getElement(this); }
|
|
5100
5100
|
};
|
|
@@ -5145,7 +5145,7 @@ const UdpChip = class {
|
|
|
5145
5145
|
[`chip--size-${this.size}`]: true,
|
|
5146
5146
|
'chip--clickable': this.clickable,
|
|
5147
5147
|
};
|
|
5148
|
-
return (index.h("div", { key: '
|
|
5148
|
+
return (index.h("div", { key: '3f2232931dd2ab8790a84e1913c52434360f0160', class: chipClasses, onClick: this.handleChipClick }, this.startIcon && (index.h("span", { key: '16f9725b8ac5691fcf534f750b4c05d404389c64', class: "chip__icon chip__icon--start" }, index.h("udp-icon", { key: '0258ffc52b337fe2711b1f70b5b0b6dd91f10845', iconName: this.startIcon, color: 'inherit' }))), index.h("span", { key: '14d8f5f2fc42fce71ab914183671efaea74431f1', class: "chip__label" }, this.label), this.deleteButton && (index.h("span", { key: '029949bd88442e03779330d395d21a403683c221', class: "chip__delete-icon", onClick: this.handleDeleteClick, title: "Remove" }, index.h("svg", { key: '06e448d4858b20340cd97672dc4811fda62bb0b8', width: "16", height: "16", viewBox: "0 0 16 16", fill: "currentColor" }, index.h("path", { key: '780442fe57aa7cd4d0e238f09436a6d8df27a962', d: "M12 4.7l-.7-.7L8 7.3 4.7 4l-.7.7L7.3 8 4 11.3l.7.7L8 8.7l3.3 3.3.7-.7L8.7 8z" }))))));
|
|
5149
5149
|
}
|
|
5150
5150
|
};
|
|
5151
5151
|
UdpChip.style = udpChipCss();
|
|
@@ -6295,10 +6295,10 @@ const UdpDateRangeSelector = class {
|
|
|
6295
6295
|
: 'calendar-range';
|
|
6296
6296
|
const containerWidth = this.getContainerWidth();
|
|
6297
6297
|
const monthWidth = this.getMonthWidth();
|
|
6298
|
-
return (index.h(index.Host, { key: '
|
|
6298
|
+
return (index.h(index.Host, { key: '941fec382fe07943f9324234f1e14c0115364f78', style: {
|
|
6299
6299
|
'--calendar-width': monthWidth,
|
|
6300
6300
|
'--container-width': containerWidth,
|
|
6301
|
-
}, class: `size-${this.size}`, onClick: e => e.stopPropagation() }, index.h("div", { key: '
|
|
6301
|
+
}, class: `size-${this.size}`, onClick: e => e.stopPropagation() }, index.h("div", { key: '295aa89d0ffc43ff92fc58d2c9fb2d0dcf441269', class: "calendar-header" }, index.h("udp-fluent-icon-button", { key: '505dc8e0089bed877fa813335967cdd88e8ad3f0', iconName: "chevron-left", onClick: this.handlePrevious, disabled: this.isPrevDisabled(), appearance: "transparent", ariaLabel: "Previous" }), index.h("udp-fluent-button", { key: '48d3120e82637599d9385969c0370b5e363a6b23', appearance: "transparent", onClick: this.handleHeaderClick, ariaLabel: this.viewMode === 'year' ? undefined : 'Change view', disabled: this.viewMode === 'year' }, this.getHeaderText()), index.h("udp-fluent-icon-button", { key: 'fff4615937e5d4839113c6e336e126119a27dd97', iconName: "chevron-right", onClick: this.handleNext, disabled: this.isNextDisabled(), appearance: "transparent", ariaLabel: "Next" })), this.viewMode === 'day' && (index.h(CalendarTag, { key: '08ef9aab9e3afe2ab7c56bd01c6718a203501176', ref: el => (this.calendarRef = el), value: this.value, min: this.minDate, max: this.maxDate, firstDayOfWeek: 0, months: this.monthsToDisplay, showOutsideDays: true, pageBy: "single", isDateDisallowed: this.isDateDisallowed, getDayParts: this.getDayParts, onChange: this.handleChange, onFocusday: this.handleFocusChange }, index.h("span", { key: 'ba796b215b3e65ab8ede91d70ca1e25f7bf4ac6f', slot: "previous", style: { display: 'none' } }), index.h("span", { key: '15d0157c1d33e55a2edf728f9e9ad68a9499ede5', slot: "next", style: { display: 'none' } }), index.h("div", { key: 'dca1a479881e3bb570a2773874ef9a6be8a53954', class: "grid" }, Array.from({ length: this.monthsToDisplay }).map((_, index$1) => (index.h("calendar-month", { offset: index$1 })))))), this.viewMode === 'month' && this.renderMonthGrid(), this.viewMode === 'year' && this.renderYearGrid()));
|
|
6302
6302
|
}
|
|
6303
6303
|
static get delegatesFocus() { return true; }
|
|
6304
6304
|
static get watchers() { return {
|
|
@@ -6467,7 +6467,7 @@ const UdpDialog = class {
|
|
|
6467
6467
|
document.removeEventListener('keydown', this.handleKeyDown);
|
|
6468
6468
|
}
|
|
6469
6469
|
render() {
|
|
6470
|
-
return (index.h(index.Host, { key: '
|
|
6470
|
+
return (index.h(index.Host, { key: '35895e2a5ed5bd0a44c824d76b05024d3cfc31d8', onClick: this.handleOverlayClick }, index.h("div", { key: 'caf5ef10be39064313700a7df2f8edc329c71c6b', class: "dialog-container", role: "dialog", "aria-modal": "true", "aria-labelledby": this.titleId, "aria-describedby": this.descriptionId, onClick: (event) => event.stopPropagation() }, index.h("div", { key: '91a7ea141f8a9019b0b8a710da3f621fefa395c6', class: "dialog-title", id: this.titleId }, index.h("unity-typography", { key: '9b9ea8783dc242ee2e2c31d0c9a51c2846d3972b', variant: "h3" }, this.title)), index.h("div", { key: 'e68383c17188e912100184d6f81225d46049b48e', class: "dialog-content", id: this.descriptionId }, this.message && index.h("unity-typography", { key: '91ebfa15b195f7b8ecd21bf38941312ab3a967bd', variant: "body" }, this.message), index.h("slot", { key: 'c1fb5cfa16d76722ac84358824cee612c5a5cb45' })), index.h("div", { key: '42108f7ab52c8875e3b44a186d8cb444fc968779', class: "dialog-actions" }, !this.buttonTwoHidden && (index.h("udp-button", { key: '0f7ef14df79d54a613bce950539db82f2c443315', variant: 'text', disabled: this.disableTwo, onClick: () => this.actionTwo() }, this.labelTwo)), !this.buttonThreeHidden && (index.h("udp-button", { key: 'e424de53c798704b47b6992658c7c482298eb742', variant: 'text', disabled: this.disableThree, onClick: () => this.actionThree() }, this.labelThree)), !this.buttonOneHidden && (index.h("udp-button", { key: 'abaf41ed04b40d3e9a2efaae0286f9b892fdbde6', variant: 'contained', disabled: this.disableOne, onClick: () => this.actionOne(), loading: !!this.progress }, this.labelOne))))));
|
|
6471
6471
|
}
|
|
6472
6472
|
get hostEl() { return index.getElement(this); }
|
|
6473
6473
|
static get watchers() { return {
|
|
@@ -9659,7 +9659,7 @@ const UdpLinearLoader = class {
|
|
|
9659
9659
|
loader: true,
|
|
9660
9660
|
[`loader--color-${this.color}`]: true,
|
|
9661
9661
|
};
|
|
9662
|
-
return (index.h(index.Host, { key: '
|
|
9662
|
+
return (index.h(index.Host, { key: '56765516a101911c324fb75304c3d56b3949759c' }, index.h("div", { key: 'd3afd5823bc10de598ad570626705fbefb0d2955', class: loaderClasses }, index.h("div", { key: '19538b57e3ca4f5dc8ceda3fcebb3c1f2162ba9f', class: "indeterminate" }))));
|
|
9663
9663
|
}
|
|
9664
9664
|
};
|
|
9665
9665
|
UdpLinearLoader.style = udpLinearLoaderCss();
|
|
@@ -9894,7 +9894,7 @@ const UdpPopOver = class {
|
|
|
9894
9894
|
maxHeight: this.popoverMaxHeight,
|
|
9895
9895
|
overflow: this.overflow
|
|
9896
9896
|
};
|
|
9897
|
-
return (index.h(index.Host, { key: '
|
|
9897
|
+
return (index.h(index.Host, { key: '867b479bc26899c3c8b89e55221a0dba945b7bef' }, index.h("div", { key: 'dbdc2279458a4e0dd06e2f60201ce39ac1944a0b', class: "popover", style: style }, index.h("slot", { key: 'ed425d79a84efd29ef220153a1165f64e0cb26f8' }))));
|
|
9898
9898
|
}
|
|
9899
9899
|
get hostEl() { return index.getElement(this); }
|
|
9900
9900
|
static get watchers() { return {
|
|
@@ -10853,27 +10853,27 @@ const UdpSideSheet = class {
|
|
|
10853
10853
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
10854
10854
|
const headerStartIcon = Boolean(this.headerActionButtonIcon) ? (index.h("udp-icon", { iconName: this.headerActionButtonIcon, color: "inherit" })) : undefined;
|
|
10855
10855
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
10856
|
-
const overflowIcon = index.h("udp-icon", { key: '
|
|
10857
|
-
return (index.h("div", { key: '
|
|
10856
|
+
const overflowIcon = index.h("udp-icon", { key: '9d06d4303671e39e56a4ceeef66d32934a73f20d', iconName: "overflowMenuVertical", color: "inherit" });
|
|
10857
|
+
return (index.h("div", { key: 'f5ad6514824344fae1aff2de9afadba87b64519e', class: "backdrop", onClick: this.onCloseBackdrop }, index.h("div", { key: '27cecfe7cd0d5f127e9111207ec9c6c114bed52b', class: { sheet: true, [this.position]: true, [widthClass]: true }, style: sideSheetStyle }, index.h("div", { key: '0d4ad2cb45f12eeec05b1553b78d666d4cca8a14', class: "title-container" }, index.h("div", { key: '36fb4f2e8390bb8b4ac41732b8550bef5e7587ef', class: "close-button" }, index.h("stencil-icon-button", { key: '059d3a51c2168b0890fa86051c02b058ec477a47',
|
|
10858
10858
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
10859
|
-
icon: Close24__default.default, onClick: this.onClose, secondary: true })), index.h("div", { key: '
|
|
10860
|
-
_b.map((item) => (index.h("udp-button", { variant: "outlined", disabled: item.disabled, onClick: item.onClick, endIcon: item.icon }, item.label))), this.headerActionButtonLabel && (index.h("udp-button", { key: '
|
|
10859
|
+
icon: Close24__default.default, onClick: this.onClose, secondary: true })), index.h("div", { key: '62d6a37a63c22a13733c9f105856770d25b49350', class: "title-text" }, index.h("unity-typography", { key: '2bdfc5f3f8731382118b9fa86335efe78eb7ba94', variant: "h6" }, this.title)), (this.headerActionButtonLabel || ((_a = this.headerSecondaryButtons) === null || _a === void 0 ? void 0 : _a.length) > 0) && (index.h("div", { key: '1450cb7ce25ab5305382fd06d6b0a7886c2b4256', class: "header-action-button" }, (_b = this.headerSecondaryButtons) === null || _b === void 0 ? void 0 :
|
|
10860
|
+
_b.map((item) => (index.h("udp-button", { variant: "outlined", disabled: item.disabled, onClick: item.onClick, endIcon: item.icon }, item.label))), this.headerActionButtonLabel && (index.h("udp-button", { key: 'e924bc5708a326803000add38edfa1cbde68cbc2', disabled: this.headerActionButtonDisabled, onClick: this.onHeaderActionButtonClick,
|
|
10861
10861
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
10862
|
-
startIcon: headerStartIcon, variant: "contained" }, this.headerActionButtonLabel))))), index.h("div", { key: '
|
|
10862
|
+
startIcon: headerStartIcon, variant: "contained" }, this.headerActionButtonLabel))))), index.h("div", { key: '5dd790efe32ff0097f8d3f0329ac4761cac41b5b', class: "loader-container" }, index.h("udp-linear-loader", { key: 'a8be6a2443808967fd1576c208a849045bb0daa8', class: { 'is-loading': this.loading }, color: "primary" })), index.h("div", { key: '5de53b15bc33d7186868e0479a844d6cff9e7342', class: { content: true, padding: this.padding } }, index.h("slot", { key: 'c43ac22ad9c5e5dd40c6499d092f317b6a6267e4' })), (this.primaryButtonLabel || ((_c = this.footerSecondaryButtons) === null || _c === void 0 ? void 0 : _c.length) > 0) && (index.h("div", { key: '4999e119e670c8a7400e229a781e8dbbadfb6faf' }, index.h("div", { key: '9a3acac78a1e45e2cb171c22a0365e9a0c09f6ef', class: "loader-container" }), index.h("div", { key: '2c1dc7463a1850537953e04ef3bf616427feebbb', class: {
|
|
10863
10863
|
footer: true,
|
|
10864
|
-
}, ref: el => (this.footerRef = el) }, !this.showOverflowButton && ((_d = this.footerSecondaryButtons) === null || _d === void 0 ? void 0 : _d.length) > 0 && (index.h("div", { key: '
|
|
10864
|
+
}, ref: el => (this.footerRef = el) }, !this.showOverflowButton && ((_d = this.footerSecondaryButtons) === null || _d === void 0 ? void 0 : _d.length) > 0 && (index.h("div", { key: 'db47b884a7291929f6411e47daf5b763553320c1', class: "footer-secondary-buttons-container" }, index.h("div", { key: 'e30a34f9f955b52879bfb3726a5d16bcfdf81221', class: "footer-secondary-buttons" }, (_e = this.footerSecondaryButtons) === null || _e === void 0 ? void 0 : _e.map((item) => (index.h("udp-button", { variant: "outlined", disabled: item.disabled, onClick: item.onClick, endIcon: item.icon }, item.label)))))), this.showOverflowButton && (index.h("udp-button", { key: '4ce5a63bf570b2a0f928a4406d0a65ecfc2fb831', variant: "outlined", onClick: this.onMoreActionButtonClick, color: "secondary",
|
|
10865
10865
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
10866
|
-
endIcon: overflowIcon }, "More")), this.primaryButtonLabel && (index.h("udp-button", { key: '
|
|
10866
|
+
endIcon: overflowIcon }, "More")), this.primaryButtonLabel && (index.h("udp-button", { key: 'fb239389e7f294d0d0149d73e7acf803c86fd526', variant: "contained", disabled: this.primaryButtonDisabled, onClick: this.onPrimaryButtonClick, endIcon: this.primaryButtonIcon }, this.primaryButtonLabel)), this.showOverflowButton && (index.h("udp-pop-over", { key: 'aad81e5cb0eb98414eee8e6816647c6647c197ec', anchorElement: this.overflowMenuAnchor, isOpen: this.openOverflowMenu, popoverWidth: '200px', popoverMaxHeight: '300px', handleOnClose: this.handleCloseOverflowMenu }, index.h("div", { key: '626a733308946d9415a91e79942e1215e8c7be4d', class: "menu" }, (_f = this.footerSecondaryButtons) === null || _f === void 0 ? void 0 : _f.map(item => (index.h("udp-menu-item", { label: item === null || item === void 0 ? void 0 : item.label, iconName: item === null || item === void 0 ? void 0 : item.icon, onItemClick: () => {
|
|
10867
10867
|
item === null || item === void 0 ? void 0 : item.onClick();
|
|
10868
10868
|
this.handleCloseOverflowMenu();
|
|
10869
|
-
}, disabled: item === null || item === void 0 ? void 0 : item.disabled })))))), index.h("div", { key: '
|
|
10869
|
+
}, disabled: item === null || item === void 0 ? void 0 : item.disabled })))))), index.h("div", { key: 'b78e9fab040c9a57b5fb8f638abe92f904cb9295', ref: el => (this.measurementContainerRef = el), style: {
|
|
10870
10870
|
position: 'absolute',
|
|
10871
10871
|
visibility: 'hidden',
|
|
10872
10872
|
pointerEvents: 'none',
|
|
10873
10873
|
display: 'flex',
|
|
10874
10874
|
gap: 'var(--spacing-02, 4px)',
|
|
10875
10875
|
}, "aria-hidden": "true" }, (_g = this.footerSecondaryButtons) === null || _g === void 0 ? void 0 :
|
|
10876
|
-
_g.map((item) => (index.h("udp-button", { variant: "text", size: "medium", disabled: item.disabled, endIcon: item.icon }, item.label))), this.primaryButtonLabel && (index.h("udp-button", { key: '
|
|
10876
|
+
_g.map((item) => (index.h("udp-button", { variant: "text", size: "medium", disabled: item.disabled, endIcon: item.icon }, item.label))), this.primaryButtonLabel && (index.h("udp-button", { key: '92cb64c8717a742a669b8c3fb1c1b890505b3211', variant: "contained", size: "medium", disabled: this.primaryButtonDisabled, endIcon: this.primaryButtonIcon }, this.primaryButtonLabel)))))))));
|
|
10877
10877
|
}
|
|
10878
10878
|
get hostEl() { return index.getElement(this); }
|
|
10879
10879
|
static get watchers() { return {
|
|
@@ -11200,7 +11200,7 @@ const UdpTabPanel = class {
|
|
|
11200
11200
|
}
|
|
11201
11201
|
render() {
|
|
11202
11202
|
const isActive = this.activeTabId === this.id;
|
|
11203
|
-
return (index.h(index.Host, { key: '
|
|
11203
|
+
return (index.h(index.Host, { key: 'cd8adba4e3a2779cfbc8009f73cb01ae9eeb1cdc', role: "tabpanel", "aria-labelledby": this.id, "aria-hidden": !isActive ? 'true' : 'false', hidden: !isActive }, index.h("slot", { key: 'e2f07c1958e266f1aa713cdf2494bdf17043709e' })));
|
|
11204
11204
|
}
|
|
11205
11205
|
static get delegatesFocus() { return true; }
|
|
11206
11206
|
};
|
|
@@ -14,7 +14,7 @@ const AppBar = class {
|
|
|
14
14
|
index.registerInstance(this, hostRef);
|
|
15
15
|
}
|
|
16
16
|
render() {
|
|
17
|
-
return (index.h("div", { key: '
|
|
17
|
+
return (index.h("div", { key: 'f2f59125c88ba3d4af74dc5628b0ebf729970a7b', class: "header" }, index.h("stencil-icon-button", { key: 'e898fd2180502687256eaa89b685cf8ca22cce4c', noBackground: true, darkIcon: false, icon: Menu24__default.default }), index.h("unity-typography", { key: 'e3aa73db1936d2d59ea6cedb090efbd706bc44fb', variant: 'data-display-one' }, " ", index.h("slot", { key: '25e5af3cd88d39f0d65b6b505a612658114b4569' }), " "), index.h("a", { key: '7e658c27890f6f4a1fd1036ea774628a2252316d', class: "skip-to-content", href: "#main-content" }, "Skip to main content"), index.h("div", { key: 'b74112d925ddcf85b30c5e8e68cf1d8549e8c02b', class: "header__logo" }), index.h("div", { key: 'e2a051c6dd5b1f89c2ea517de12329cf29c53af5', class: "header__nav", role: "navigation", "aria-label": "Carbon Design System" }), index.h("div", { key: 'f2842c01e59e124330c59386b03bc64812469526', class: "header__global" }, index.h("udp-avatar", { key: '67b7406e6ac2821f78d9dc5c234d0b60c13cca54', username: this.username }))));
|
|
18
18
|
}
|
|
19
19
|
};
|
|
20
20
|
AppBar.style = appBarCss();
|
|
@@ -90,7 +90,7 @@ const UdpAmbientCard = class {
|
|
|
90
90
|
};
|
|
91
91
|
}
|
|
92
92
|
render() {
|
|
93
|
-
return (index.h("div", { key: '
|
|
93
|
+
return (index.h("div", { key: 'bb441de23596011cddcbad38e2d2e60af9b69dbe', class: "wrapper", style: { width: this.width } }, !this.hideAdornment && (index.h("div", { key: '40272e3431e81d0e4197d5122be4d88dedd6d6dd', class: "adornment" }, index.h("udp-adornment", { key: 'd5695dc4d43b1ce1f12298951b4da55ef114f79d', status: "info" }))), index.h("div", { key: '21ef94591c519a9c3e390291a79ee8d62ccefc6f', class: { 'card': true, 'card-border': !this.hideBorder, 'no-padding': this.removePadding } }, index.h("div", { key: '7f010d8c3bb242b6c2e4682bc7c29c6710a49a88', class: "card-data" }, index.h("div", { key: '4fed9d6276ca7158b2f3a1863c147640c8dab97c', class: "title" }, index.h("unity-typography", { key: '879a3455be0b2042ace1b6fe938e35b6e111dba4', variant: "data-display-four" }, this.title)), index.h("div", { key: '9f885e51f7db92060c792df9cdb87abf9ec981eb', class: "body" }, index.h("slot", { key: 'cae6519b0e3d4c2c9d0279d26067eee39619a720' })), index.h("div", { key: '21cca5cac8f71e759ed3904d26c512e5df26909c', class: "footer" }, this.overflow && (index.h("div", { key: 'd79991f2e78a96eba0bbe2bcc380565143f55182', class: "more-button" }, index.h("unity-typography", { key: '6d23055246bca77769c0b6dc9cc6ec38dd64b580', variant: "caption-text" }, this.moreText, " "), index.h("stencil-icon-button", { key: 'd539cef3a7a1ff85deeb3345da2a5e40472e0382', onClick: this.toggleExpand, icon: this.isExpanded ? ChevronUp16__default.default : ChevronDown__default.default, showLabel: false })))), index.h("div", { key: 'b4670e63fe8bfa0839dec3c9c1cc7ae4f319488b', class: `expandable ${this.isExpanded ? 'expanded' : ''}` }, index.h("unity-typography", { key: '331e5ff49c3325ad2013044a57b47e1d1df23d26', variant: "body" }, this.overflow))))));
|
|
94
94
|
}
|
|
95
95
|
};
|
|
96
96
|
UdpAmbientCard.style = udpAmbientCardCss();
|
|
@@ -97,13 +97,13 @@ const Checkbox = class {
|
|
|
97
97
|
*/
|
|
98
98
|
render() {
|
|
99
99
|
const isError = !!this.errorMessage;
|
|
100
|
-
return (index.h(index.Host, { key: '
|
|
100
|
+
return (index.h(index.Host, { key: 'e1d64229a082a6a78c9604b8e414da9cdcdf8b90', class: {
|
|
101
101
|
'udp-input': true,
|
|
102
102
|
'udp-input--error': isError,
|
|
103
103
|
'udp-input--disabled': this.disabled,
|
|
104
104
|
'udp-input--required': this.required,
|
|
105
105
|
'udp-input--checked': this.internalChecked
|
|
106
|
-
}, "aria-invalid": isError ? 'true' : 'false', "aria-required": this.required ? 'true' : 'false' }, index.h("div", { key: '
|
|
106
|
+
}, "aria-invalid": isError ? 'true' : 'false', "aria-required": this.required ? 'true' : 'false' }, index.h("div", { key: '38d2e74a584bc5b55ad7f73d3ef43aadfb975a18', class: "checkbox-container" }, index.h("input", { key: '81838b31d3a3a47036bcd806f70a23bdbaae05a2', type: "checkbox", checked: this.internalChecked, onChange: this.handleChange, id: this.id, name: this.name, disabled: this.disabled, required: this.required }), this.label && index.h("label", { key: '55d31653fe91896aff514cde34ed67bce742442b', htmlFor: this.id }, this.label), this.errorMessage && index.h("div", { key: '120562b94f113f04b1d0ca8895635ed1ccfba133', class: "error-message" }, this.errorMessage))));
|
|
107
107
|
}
|
|
108
108
|
static get watchers() { return {
|
|
109
109
|
"error": [{
|
|
@@ -1355,22 +1355,22 @@ const FileUpload = class {
|
|
|
1355
1355
|
const showReadOnlyEmptyState = this.readonly && this.files.length === 0;
|
|
1356
1356
|
const disableDropArea = hasSingleSelectionLimitReached;
|
|
1357
1357
|
// Default mode
|
|
1358
|
-
return (index.h(index.Host, { key: '
|
|
1358
|
+
return (index.h(index.Host, { key: 'c8746b7b0bf5904f0eb524410fb56cdbc1c02b5e', class: {
|
|
1359
1359
|
'udp-input': true,
|
|
1360
1360
|
'udp-input--error': isError,
|
|
1361
1361
|
'udp-input--full-width': this.fullWidth,
|
|
1362
1362
|
'udp-input--disabled': this.disabled,
|
|
1363
1363
|
'udp-input--readonly': this.readonly,
|
|
1364
|
-
}, "aria-invalid": isError ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false' }, index.h("div", { key: '
|
|
1364
|
+
}, "aria-invalid": isError ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false' }, index.h("div", { key: '6b95abaf8622db3af9a276512fa3d8261612ae4e', id: "drop-area", onDragOver: disableDropArea ? undefined : this.handleDragOver, onDrop: disableDropArea ? undefined : this.handleDrop, onDragEnter: disableDropArea ? undefined : this.handleDragEnter, onDragLeave: disableDropArea ? undefined : this.handleDragLeave, class: this.fullWidth ? 'full-width' : 'contained-width' }, showImageGallery && (index.h("div", { key: '53d477b788fe722e35515bf1de6590f722a395c7', class: "image-gallery", "aria-label": "Uploaded image previews", style: { gridTemplateColumns: `repeat(${Math.min(this.files.length, 3)}, minmax(0, 1fr))` } }, this.files.map((file, index$1) => {
|
|
1365
1365
|
const previewUrl = this.allowMultiple ? this.imagePreviewUrls[index$1] : this.imagePreviewUrl;
|
|
1366
1366
|
const isLoading = this.allowMultiple ? this.imagePreviewLoading[index$1] === true : false;
|
|
1367
1367
|
const uploadTimestamp = this.getUploadTimestampForFile(file);
|
|
1368
1368
|
return (index.h("div", { class: "image-gallery-card", key: `image-preview-${index$1}` }, index.h("div", { class: "image-gallery-item", onClick: () => previewUrl && this.openImageModal(previewUrl, file.name) }, previewUrl ? (index.h("img", { src: previewUrl, alt: `Uploaded image ${index$1 + 1}`, class: "image-gallery-thumbnail" })) : isLoading ? (index.h("udp-spinner", { size: "small", appearance: "primary" })) : (index.h("unity-typography", { variant: "caption-text" }, "No preview")), !this.readonly && (index.h("div", { class: "image-gallery-item-actions", onClick: (e) => e.stopPropagation() }, index.h("stencil-icon-button", { showLabel: false, icon: iconUtils.getIconFromName('trashCan'), onClick: () => this.handleRemoveFile(index$1), disabled: this.disabled || this.readonly })))), index.h("div", { class: "image-gallery-meta" }, index.h("div", { class: "image-gallery-file-details" }, index.h("button", { type: "button", class: "image-gallery-file-name", onClick: () => this.downloadFile(file), disabled: this.disabled, title: file.name }, index.h("span", { class: "file-name-ellipsis" }, file.name)), this.displayUploadTime && (index.h("unity-typography", { variant: "caption-text" }, this.formatUploadTimestamp(uploadTimestamp)))))));
|
|
1369
|
-
}))), !showImageGallery && this.files.length > 0 && (index.h("div", { key: '
|
|
1369
|
+
}))), !showImageGallery && this.files.length > 0 && (index.h("div", { key: '7c29ac80aba23266bc04f253dc2257239bfda84d', class: "upload-container" }, index.h("div", { key: 'be201656ad5d24ac45693d9d4b8ff8dc0792ae0d', class: "file-list" }, this.files.map((file, index$1) => {
|
|
1370
1370
|
const isExistingFile = this.existingFileReferences.has(file.name);
|
|
1371
1371
|
const uploadTimestamp = this.getUploadTimestampForFile(file);
|
|
1372
1372
|
return (index.h("div", { class: "file-container", key: index$1 }, index.h("div", { class: `file-details ${this.displayUploadTime ? 'with-timestamp' : 'without-timestamp'}` }, index.h("div", { class: "file-text", onClick: () => this.downloadFile(file) }, index.h("unity-typography", null, index.h("span", { class: "file-name-ellipsis", title: file.name }, file.name, " ", isExistingFile && index.h("span", { style: { fontSize: '0.8em', opacity: '0.7' } }, " (saved)")))), this.displayUploadTime && (index.h("div", { class: "timestamp-text" }, index.h("unity-typography", { variant: "caption-text", color: "inherit" }, this.formatUploadTimestamp(uploadTimestamp))))), !this.readonly && (index.h("div", null, index.h("stencil-icon-button", { showLabel: false, icon: iconUtils.getIconFromName('trashCan'), onClick: () => this.handleRemoveFile(index$1), disabled: this.disabled || this.readonly })))));
|
|
1373
|
-
})))), this.files.length > 0 && !this.readonly && showUploaderPrompt && index.h("udp-divider", { key: '
|
|
1373
|
+
})))), this.files.length > 0 && !this.readonly && showUploaderPrompt && index.h("udp-divider", { key: '744fb1686a06be487c05c5198e0e5a2114055ad1', size: "100%" }), showReadOnlyEmptyState ? (index.h("div", { class: 'upload-container' }, index.h("unity-typography", { variant: "h4" }, `No item${this.allowMultiple ? 's' : ''}`))) : (showUploaderPrompt && (index.h("div", { class: 'upload-container' }, index.h("div", null, !this.hideDragAndDrop ? (index.h("unity-typography", null, index.h("p", null, this.getResolvedDragAndDropMessage()), !this.hideButton ? index.h("p", null, "or") : '')) : (''), !this.hideButton ? (index.h("custom-button", { label: this.getResolvedBrowseFileMessage(), onClick: (e) => this.handleBrowseFiles(e), id: 'udpRecord-file-upload-' + this.id, disabled: this.disabled || this.readonly,
|
|
1374
1374
|
//@ts-ignore
|
|
1375
1375
|
udprecordid: 'udpRecord-file-upload-' + this.id })) : (''))))), this.renderImageModal(), this.errorMessage && !this.fileWindowOpen ? (index.h("div", { id: "error-text" }, index.h("unity-typography", { color: "error" }, this.errorMessage))) : (''))));
|
|
1376
1376
|
}
|
|
@@ -1397,7 +1397,7 @@ const UdpDivider = class {
|
|
|
1397
1397
|
const style = this.variant === 'vertical'
|
|
1398
1398
|
? { height: this.size }
|
|
1399
1399
|
: { width: this.size };
|
|
1400
|
-
return (index.h(index.Host, { key: '
|
|
1400
|
+
return (index.h(index.Host, { key: 'e4d452980325188c864f4d89ccfa338c1228aab2', style: style }, index.h("div", { key: '4d4b95e21eb17145a0a122ab05acf6505f0c4b37', class: this.variant === 'horizontal' ? 'horizontal' : 'vertical' })));
|
|
1401
1401
|
}
|
|
1402
1402
|
};
|
|
1403
1403
|
UdpDivider.style = udpDividerCss();
|