udp-stencil-component-library 25.18.1-beta.6 → 25.18.1-beta.8
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/add-map-feature-popup_4.cjs.entry.js +12 -12
- package/dist/cjs/advanced-search_50.cjs.entry.js +169 -96
- package/dist/cjs/ag-grid-base_5.cjs.entry.js +5 -5
- package/dist/cjs/api-method-instance-grid.cjs.entry.js +1 -1
- package/dist/cjs/check-box.cjs.entry.js +2 -2
- package/dist/cjs/chip-section.cjs.entry.js +2 -2
- package/dist/cjs/client-side-grid_2.cjs.entry.js +3 -3
- package/dist/cjs/color-preview.cjs.entry.js +1 -1
- package/dist/cjs/date-time-renderer_6.cjs.entry.js +8 -8
- package/dist/cjs/entity-maintenance-grid.cjs.entry.js +1 -1
- package/dist/cjs/feature-details-card_2.cjs.entry.js +5 -5
- package/dist/cjs/image-upload_7.cjs.entry.js +6 -6
- package/dist/cjs/index-DrMNAZCL.js +4 -0
- package/dist/cjs/inputs-example.cjs.entry.js +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/map-component_2.cjs.entry.js +2 -2
- package/dist/cjs/numeric-field_5.cjs.entry.js +15 -15
- package/dist/cjs/page-renderer.cjs.entry.js +1 -1
- package/dist/cjs/question-configs-renderer_5.cjs.entry.js +14 -14
- package/dist/cjs/resource-timeline-calendar.cjs.entry.js +1 -1
- package/dist/cjs/search-method-grid.cjs.entry.js +1 -1
- package/dist/cjs/server-side-grid.cjs.entry.js +1 -1
- package/dist/cjs/simple-card.cjs.entry.js +1 -1
- package/dist/cjs/stencil-library.cjs.js +1 -1
- package/dist/cjs/udp-chip_3.cjs.entry.js +1 -1
- package/dist/cjs/udp-container-query-grid-item.cjs.entry.js +1 -1
- package/dist/cjs/udp-container-query-grid.cjs.entry.js +1 -1
- package/dist/cjs/udp-container-query.cjs.entry.js +2 -2
- package/dist/cjs/udp-container.cjs.entry.js +2 -2
- package/dist/cjs/udp-date-range-selector.cjs.entry.js +1 -1
- package/dist/cjs/udp-dynamic-form.cjs.entry.js +1 -1
- package/dist/cjs/udp-forms-follow-up-list-card.cjs.entry.js +2 -2
- package/dist/cjs/udp-forms-list-card.cjs.entry.js +5 -5
- package/dist/cjs/udp-forms-list.cjs.entry.js +1 -1
- package/dist/cjs/udp-forms-renderer.cjs.entry.js +1 -1
- package/dist/cjs/udp-list-renderer.udp-pagination.udp-side-sheet.entry.cjs.js.map +1 -1
- package/dist/cjs/udp-list-renderer_3.cjs.entry.js +194 -5
- package/dist/cjs/udp-map.cjs.entry.js +3 -3
- package/dist/cjs/udp-page.cjs.entry.js +1 -1
- package/dist/cjs/udp-split-screen.cjs.entry.js +1 -1
- package/dist/cjs/udp-stepper-demo.cjs.entry.js +1 -1
- package/dist/cjs/udp-tab-panel.cjs.entry.js +22 -0
- package/dist/cjs/udp-tab-panel.entry.cjs.js.map +1 -0
- package/dist/cjs/udp-vertical-spacer.cjs.entry.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/my-component/UI/data-display/icons/udp-icon.js +4 -1
- package/dist/collection/components/my-component/UI/data-display/icons/udp-icon.js.map +1 -1
- package/dist/collection/components/my-component/UI/data-display/kpi/kpi-list.js +1 -1
- package/dist/collection/components/my-component/UI/data-display/list-item/list-item.js +2 -2
- package/dist/collection/components/my-component/UI/data-display/pop-over/udp-pop-over.js +1 -1
- package/dist/collection/components/my-component/UI/data-display/pop-over-grid-action-header/udp-pop-over-grid-action-header.js +1 -1
- package/dist/collection/components/my-component/UI/data-display/primary-action-header/primary-action-header.js +2 -2
- package/dist/collection/components/my-component/UI/data-display/simple-card/simple-card.js +1 -1
- package/dist/collection/components/my-component/UI/data-display/tool-tip/udp-ambient-tool-tip.js +2 -2
- package/dist/collection/components/my-component/UI/data-display/tree/tree-list-item/search-item/search-list-item.js +1 -1
- package/dist/collection/components/my-component/UI/data-display/udp-avatar/udp-avatar.js +1 -1
- package/dist/collection/components/my-component/UI/dialogs/fluent-dialog/fluent-dialog.js +2 -2
- package/dist/collection/components/my-component/UI/dialogs/udp-dialog.js +1 -1
- package/dist/collection/components/my-component/UI/drawers/udp-side-sheet/types.js +2 -0
- package/dist/collection/components/my-component/UI/drawers/udp-side-sheet/types.js.map +1 -0
- package/dist/collection/components/my-component/UI/drawers/udp-side-sheet/udp-side-sheet.css +163 -137
- package/dist/collection/components/my-component/UI/drawers/udp-side-sheet/udp-side-sheet.js +269 -19
- package/dist/collection/components/my-component/UI/drawers/udp-side-sheet/udp-side-sheet.js.map +1 -1
- package/dist/collection/components/my-component/UI/feedback/udp-notification/alerts/upd-alert-banner.js +1 -1
- package/dist/collection/components/my-component/UI/feedback/udp-notification/udp-notification.js +2 -2
- package/dist/collection/components/my-component/UI/forms/dynamic-form/udp-dynamic-form.js +1 -1
- package/dist/collection/components/my-component/UI/forms/edit-view-form/edit-view-form.js +2 -2
- package/dist/collection/components/my-component/UI/forms/form/stencil-form.js +1 -1
- package/dist/collection/components/my-component/UI/forms/save-view-form/save-view-form.js +2 -2
- package/dist/collection/components/my-component/UI/forms/udp-forms/udp-forms-builder/forms-question-item/udp-forms-builder-question-item.js +2 -2
- package/dist/collection/components/my-component/UI/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/file-upload-renderer/file-upload-renderer.js +2 -2
- package/dist/collection/components/my-component/UI/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/list-option-renderer/list-options-renderer.js +3 -3
- package/dist/collection/components/my-component/UI/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/question-configs-renderer/question-configs-renderer.js +6 -6
- package/dist/collection/components/my-component/UI/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/section-configs-renderer/section-configs-renderer.js +3 -3
- package/dist/collection/components/my-component/UI/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/signature-renderer/signature-renderer.js +1 -1
- package/dist/collection/components/my-component/UI/forms/udp-forms/udp-forms-builder/udp-forms-builder-item/text-input-renderer/text-input-renderer.js +2 -2
- package/dist/collection/components/my-component/UI/forms/udp-forms/udp-forms-builder/udp-forms-builder-menu/udp-forms-builder-menu.js +2 -2
- package/dist/collection/components/my-component/UI/forms/udp-forms/udp-forms-builder/udp-forms-builder-style-override/udp-forms-builder-style-override.js +1 -1
- package/dist/collection/components/my-component/UI/forms/udp-forms/udp-forms-list/udp-forms-list-card/udp-forms-list-card.js +5 -5
- package/dist/collection/components/my-component/UI/forms/udp-forms/udp-forms-list/udp-forms-list.js +1 -1
- package/dist/collection/components/my-component/UI/forms/udp-forms/udp-forms-renderer/udp-forms-renderer-follow-up-list-card/udp-forms-follow-up-list-card.js +2 -2
- package/dist/collection/components/my-component/UI/forms/udp-forms/udp-forms-renderer/udp-forms-renderer.js +1 -1
- package/dist/collection/components/my-component/UI/grid/ag-table/ag-table.js +1 -1
- package/dist/collection/components/my-component/UI/grid/ambient-template-grid/ambient-template-grid.js +15 -15
- package/dist/collection/components/my-component/UI/grid/grid-primary-bar/grid-primary-bar.js +2 -2
- package/dist/collection/components/my-component/UI/grid/hotlists/udp-hotlist-form/udp-hotlist-form.js +1 -1
- package/dist/collection/components/my-component/UI/grid/new-grid/ag-grid-base.js +1 -1
- package/dist/collection/components/my-component/UI/grid/new-grid/api-method-instance-grid.js +1 -1
- package/dist/collection/components/my-component/UI/grid/new-grid/client-side-grid.js +1 -1
- package/dist/collection/components/my-component/UI/grid/new-grid/entity-maintenance-grid.js +1 -1
- package/dist/collection/components/my-component/UI/grid/new-grid/search-method-grid.js +1 -1
- package/dist/collection/components/my-component/UI/grid/new-grid/server-side-grid.js +1 -1
- package/dist/collection/components/my-component/UI/grid/resource-timeline-calendar/resource-timeline-calendar.js +1 -1
- package/dist/collection/components/my-component/UI/grid/resource-timeline-calendar/resource-timeline-primary-bar.js +2 -2
- package/dist/collection/components/my-component/UI/inputs/checkbox/check-box.js +2 -2
- package/dist/collection/components/my-component/UI/inputs/date-range-selector/udp-date-range-selector.js +1 -1
- package/dist/collection/components/my-component/UI/inputs/date-selector/udp-date-selector.js +3 -3
- package/dist/collection/components/my-component/UI/inputs/date-time-selector/udp-datetime-selector.js +3 -3
- package/dist/collection/components/my-component/UI/inputs/image-upload/image-upload.js +1 -1
- package/dist/collection/components/my-component/UI/inputs/numeric-field/numeric-field.js +3 -3
- package/dist/collection/components/my-component/UI/inputs/signature-input/signature-input.js +2 -2
- package/dist/collection/components/my-component/UI/inputs/tally/tally.js +2 -2
- package/dist/collection/components/my-component/UI/inputs/text-area/text-area.js +3 -3
- package/dist/collection/components/my-component/UI/inputs/text-field/text-field.js +3 -3
- package/dist/collection/components/my-component/UI/inputs/time-selector/udp-time-selector.js +3 -3
- package/dist/collection/components/my-component/UI/inputs/toggle/stencil-toggle.js +4 -4
- package/dist/collection/components/my-component/UI/inputs/udp-selector/udp-selector.js +4 -4
- package/dist/collection/components/my-component/UI/layout/udp-container/udp-container.js +2 -2
- package/dist/collection/components/my-component/UI/layout/udp-container-query/udp-container-query.js +2 -2
- package/dist/collection/components/my-component/UI/layout/udp-container-query-grid/udp-container-query-grid.js +1 -1
- package/dist/collection/components/my-component/UI/layout/udp-container-query-grid-item/udp-container-query-grid-item.js +1 -1
- package/dist/collection/components/my-component/UI/layout/udp-page/udp-page.js +1 -1
- package/dist/collection/components/my-component/UI/layout/udp-split-screen/udp-split-screen.js +1 -1
- package/dist/collection/components/my-component/UI/layout/udp-vertical-spacer.js +1 -1
- package/dist/collection/components/my-component/UI/loaders/udp-grid-loader/udp-grid-loader.js +2 -2
- package/dist/collection/components/my-component/UI/loaders/udp-linear-loader/udp-linear-loader.js +1 -1
- package/dist/collection/components/my-component/UI/loaders/udp-skeleton-loading.js +1 -1
- package/dist/collection/components/my-component/UI/map/udp-map/map-component.js +1 -1
- package/dist/collection/components/my-component/UI/map/udp-map/popups/add-map-feature-popup.js +3 -3
- package/dist/collection/components/my-component/UI/map/udp-map/popups/feature-details-card/feature-details-card.js +4 -4
- package/dist/collection/components/my-component/UI/map/udp-map/popups/feature-details-popup.js +1 -1
- package/dist/collection/components/my-component/UI/map/udp-map/popups/select-layer-popup.js +2 -2
- package/dist/collection/components/my-component/UI/map/udp-map/popups/split-line-popup.js +1 -1
- package/dist/collection/components/my-component/UI/map/udp-map/toolbar/map-toolbar.js +6 -6
- package/dist/collection/components/my-component/UI/map/udp-map/udp-map-toolbar.js +1 -1
- package/dist/collection/components/my-component/UI/map/udp-map/udp-map.js +3 -3
- package/dist/collection/components/my-component/UI/menu/menu-item/udp-menu-item.js +1 -1
- package/dist/collection/components/my-component/UI/menu/udp-menu.js +1 -1
- package/dist/collection/components/my-component/UI/stepper/udp-stepper-demo.js +1 -1
- package/dist/collection/components/my-component/UI/tabs/tab/tabs/udp-tabs.css +0 -5
- package/dist/collection/components/my-component/UI/tabs/tab/tabs/udp-tabs.js +170 -37
- package/dist/collection/components/my-component/UI/tabs/tab/tabs/udp-tabs.js.map +1 -1
- package/dist/collection/components/my-component/UI/tabs/tab/udp-tab.css +2 -4
- package/dist/collection/components/my-component/UI/tabs/tab/udp-tab.js +3 -3
- package/dist/collection/components/my-component/UI/tabs/tab/udp-tab.js.map +1 -1
- package/dist/collection/components/my-component/UI/tabs/udp-tab-panel/udp-tab-panel.css +11 -0
- package/dist/collection/components/my-component/UI/tabs/udp-tab-panel/udp-tab-panel.js +65 -0
- package/dist/collection/components/my-component/UI/tabs/udp-tab-panel/udp-tab-panel.js.map +1 -0
- package/dist/collection/components/my-component/UI/toolbars/app-bar/app-bar.js +1 -1
- package/dist/collection/components/my-component/UI/util/ghost-render/ghost-render.js +1 -1
- package/dist/collection/components/my-component/demo/ambient-demo-container.js +1 -1
- package/dist/collection/components/test-component/inputs-example/inputs-example.js +2 -2
- package/dist/collection/page-renderer/page-renderer.js +1 -1
- package/dist/collection/theme/color-preview/color-preview.js +1 -1
- package/dist/collection/udp-utilities/layout/udp-dynamic-container-with-menu/chip-section/chip-section.js +2 -2
- package/dist/collection/udp-utilities/layout/udp-dynamic-container-with-menu/udp-dynamic-container-with-menu.js +1 -1
- package/dist/components/add-map-feature-popup2.js +3 -3
- package/dist/components/ag-grid-base2.js +1 -1
- package/dist/components/ag-table2.js +1 -1
- package/dist/components/ambient-demo-container2.js +1 -1
- package/dist/components/ambient-template-grid2.js +15 -15
- package/dist/components/api-method-instance-grid.js +1 -1
- package/dist/components/app-bar2.js +1 -1
- package/dist/components/check-box2.js +2 -2
- package/dist/components/chip-section.js +2 -2
- package/dist/components/client-side-grid2.js +1 -1
- package/dist/components/color-preview.js +1 -1
- package/dist/components/edit-view-form.js +2 -2
- package/dist/components/entity-maintenance-grid.js +1 -1
- package/dist/components/feature-details-card2.js +4 -4
- package/dist/components/feature-details-popup2.js +1 -1
- package/dist/components/file-upload-renderer2.js +2 -2
- package/dist/components/fluent-dialog2.js +2 -2
- package/dist/components/ghost-render2.js +1 -1
- package/dist/components/grid-primary-bar2.js +2 -2
- package/dist/components/image-upload2.js +1 -1
- package/dist/components/inputs-example.js +2 -2
- package/dist/components/kpi-list2.js +1 -1
- package/dist/components/list-item.js +2 -2
- package/dist/components/list-options-renderer2.js +3 -3
- package/dist/components/map-component2.js +1 -1
- package/dist/components/map-toolbar2.js +6 -6
- package/dist/components/numeric-field2.js +3 -3
- package/dist/components/page-renderer.js +1 -1
- package/dist/components/primary-action-header2.js +2 -2
- package/dist/components/question-configs-renderer2.js +6 -6
- package/dist/components/resource-timeline-calendar.js +1 -1
- package/dist/components/resource-timeline-primary-bar2.js +2 -2
- package/dist/components/save-view-form.js +2 -2
- package/dist/components/search-list-item2.js +1 -1
- package/dist/components/search-method-grid2.js +1 -1
- package/dist/components/section-configs-renderer2.js +3 -3
- package/dist/components/select-layer-popup2.js +2 -2
- package/dist/components/server-side-grid2.js +1 -1
- package/dist/components/signature-input2.js +2 -2
- package/dist/components/signature-renderer2.js +1 -1
- package/dist/components/simple-card.js +1 -1
- package/dist/components/split-line-popup2.js +1 -1
- package/dist/components/stencil-form2.js +1 -1
- package/dist/components/stencil-toggle2.js +4 -4
- package/dist/components/tally.js +2 -2
- package/dist/components/text-area2.js +3 -3
- package/dist/components/text-field2.js +3 -3
- package/dist/components/text-input-renderer2.js +2 -2
- package/dist/components/udp-ambient-tool-tip2.js +2 -2
- package/dist/components/udp-avatar2.js +1 -1
- package/dist/components/udp-container-query-grid-item.js +1 -1
- package/dist/components/udp-container-query-grid.js +1 -1
- package/dist/components/udp-container-query2.js +2 -2
- package/dist/components/udp-container2.js +2 -2
- package/dist/components/udp-date-range-selector.js +1 -1
- package/dist/components/udp-date-selector2.js +3 -3
- package/dist/components/udp-datetime-selector2.js +3 -3
- package/dist/components/udp-dialog2.js +1 -1
- package/dist/components/udp-dynamic-container-with-menu2.js +1 -1
- package/dist/components/udp-dynamic-form.js +1 -1
- package/dist/components/udp-forms-builder-menu2.js +2 -2
- package/dist/components/udp-forms-builder-question-item2.js +2 -2
- package/dist/components/udp-forms-builder-style-override2.js +1 -1
- package/dist/components/udp-forms-builder.js +72 -60
- package/dist/components/udp-forms-builder.js.map +1 -1
- package/dist/components/udp-forms-follow-up-list-card.js +2 -2
- package/dist/components/udp-forms-list-card2.js +5 -5
- package/dist/components/udp-forms-list.js +51 -39
- package/dist/components/udp-forms-list.js.map +1 -1
- package/dist/components/udp-forms-renderer.js +67 -55
- package/dist/components/udp-forms-renderer.js.map +1 -1
- package/dist/components/udp-grid-loader2.js +2 -2
- package/dist/components/udp-hotlist-form2.js +1 -1
- package/dist/components/udp-icon2.js +4 -1
- package/dist/components/udp-icon2.js.map +1 -1
- package/dist/components/udp-linear-loader2.js +1 -1
- package/dist/components/udp-map-toolbar2.js +1 -1
- package/dist/components/udp-map.js +3 -3
- package/dist/components/udp-menu-item2.js +1 -1
- package/dist/components/udp-menu2.js +1 -1
- package/dist/components/udp-notification2.js +2 -2
- package/dist/components/udp-page.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-selector2.js +4 -4
- package/dist/components/udp-side-sheet2.js +228 -19
- package/dist/components/udp-side-sheet2.js.map +1 -1
- package/dist/components/udp-skeleton-loading2.js +1 -1
- package/dist/components/udp-split-screen.js +1 -1
- package/dist/components/udp-stepper-demo.js +1 -1
- package/dist/components/udp-tab-panel.d.ts +11 -0
- package/dist/components/udp-tab-panel.js +45 -0
- package/dist/components/udp-tab-panel.js.map +1 -0
- package/dist/components/udp-tab2.js +3 -3
- package/dist/components/udp-tab2.js.map +1 -1
- package/dist/components/udp-tabs2.js +114 -40
- package/dist/components/udp-tabs2.js.map +1 -1
- package/dist/components/udp-time-selector2.js +3 -3
- package/dist/components/udp-vertical-spacer.js +1 -1
- package/dist/components/upd-alert-banner2.js +1 -1
- package/dist/docs.json +263 -31
- package/dist/esm/add-map-feature-popup_4.entry.js +12 -12
- package/dist/esm/advanced-search_50.entry.js +169 -96
- package/dist/esm/ag-grid-base_5.entry.js +5 -5
- package/dist/esm/api-method-instance-grid.entry.js +1 -1
- package/dist/esm/check-box.entry.js +2 -2
- package/dist/esm/chip-section.entry.js +2 -2
- package/dist/esm/client-side-grid_2.entry.js +3 -3
- package/dist/esm/color-preview.entry.js +1 -1
- package/dist/esm/date-time-renderer_6.entry.js +8 -8
- package/dist/esm/entity-maintenance-grid.entry.js +1 -1
- package/dist/esm/feature-details-card_2.entry.js +5 -5
- package/dist/esm/image-upload_7.entry.js +6 -6
- package/dist/esm/index-n-1ZSeAs.js +4 -0
- package/dist/esm/inputs-example.entry.js +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/map-component_2.entry.js +2 -2
- package/dist/esm/numeric-field_5.entry.js +15 -15
- package/dist/esm/page-renderer.entry.js +1 -1
- package/dist/esm/question-configs-renderer_5.entry.js +14 -14
- package/dist/esm/resource-timeline-calendar.entry.js +1 -1
- package/dist/esm/search-method-grid.entry.js +1 -1
- package/dist/esm/server-side-grid.entry.js +1 -1
- package/dist/esm/simple-card.entry.js +1 -1
- package/dist/esm/stencil-library.js +1 -1
- package/dist/esm/udp-chip_3.entry.js +1 -1
- package/dist/esm/udp-container-query-grid-item.entry.js +1 -1
- package/dist/esm/udp-container-query-grid.entry.js +1 -1
- package/dist/esm/udp-container-query.entry.js +2 -2
- package/dist/esm/udp-container.entry.js +2 -2
- package/dist/esm/udp-date-range-selector.entry.js +1 -1
- package/dist/esm/udp-dynamic-form.entry.js +1 -1
- package/dist/esm/udp-forms-follow-up-list-card.entry.js +2 -2
- package/dist/esm/udp-forms-list-card.entry.js +5 -5
- package/dist/esm/udp-forms-list.entry.js +1 -1
- package/dist/esm/udp-forms-renderer.entry.js +1 -1
- package/dist/esm/udp-list-renderer.udp-pagination.udp-side-sheet.entry.js.map +1 -1
- package/dist/esm/udp-list-renderer_3.entry.js +194 -5
- package/dist/esm/udp-map.entry.js +3 -3
- package/dist/esm/udp-page.entry.js +1 -1
- package/dist/esm/udp-split-screen.entry.js +1 -1
- package/dist/esm/udp-stepper-demo.entry.js +1 -1
- package/dist/esm/udp-tab-panel.entry.js +20 -0
- package/dist/esm/udp-tab-panel.entry.js.map +1 -0
- package/dist/esm/udp-vertical-spacer.entry.js +1 -1
- package/dist/stencil-library/add-map-feature-popup_4.entry.js +1 -1
- package/dist/stencil-library/advanced-search_50.entry.js +1 -1
- package/dist/stencil-library/advanced-search_50.entry.js.map +1 -1
- package/dist/stencil-library/ag-grid-base_5.entry.js +1 -1
- package/dist/stencil-library/api-method-instance-grid.entry.js +1 -1
- package/dist/stencil-library/check-box.entry.js +1 -1
- package/dist/stencil-library/chip-section.entry.js +1 -1
- package/dist/stencil-library/client-side-grid_2.entry.js +1 -1
- package/dist/stencil-library/color-preview.entry.js +1 -1
- package/dist/stencil-library/date-time-renderer_6.entry.js +1 -1
- package/dist/stencil-library/entity-maintenance-grid.entry.js +1 -1
- package/dist/stencil-library/feature-details-card_2.entry.js +1 -1
- package/dist/stencil-library/image-upload_7.entry.js +1 -1
- package/dist/stencil-library/inputs-example.entry.js +1 -1
- package/dist/stencil-library/map-component_2.entry.js +1 -1
- package/dist/stencil-library/numeric-field_5.entry.js +1 -1
- package/dist/stencil-library/page-renderer.entry.js +1 -1
- package/dist/stencil-library/question-configs-renderer_5.entry.js +1 -1
- package/dist/stencil-library/resource-timeline-calendar.entry.js +1 -1
- package/dist/stencil-library/search-method-grid.entry.js +1 -1
- package/dist/stencil-library/server-side-grid.entry.js +1 -1
- package/dist/stencil-library/simple-card.entry.js +1 -1
- package/dist/stencil-library/simple-card.entry.js.map +1 -1
- package/dist/stencil-library/stencil-library.esm.js +1 -1
- package/dist/stencil-library/udp-chip_3.entry.js +1 -1
- package/dist/stencil-library/udp-container-query-grid-item.entry.js +1 -1
- package/dist/stencil-library/udp-container-query-grid.entry.js +1 -1
- package/dist/stencil-library/udp-container-query.entry.js +1 -1
- package/dist/stencil-library/udp-container.entry.js +1 -1
- package/dist/stencil-library/udp-date-range-selector.entry.js +1 -1
- package/dist/stencil-library/udp-dynamic-form.entry.js +1 -1
- package/dist/stencil-library/udp-forms-follow-up-list-card.entry.js +1 -1
- package/dist/stencil-library/udp-forms-list-card.entry.js +1 -1
- package/dist/stencil-library/udp-forms-list.entry.js +1 -1
- package/dist/stencil-library/udp-forms-renderer.entry.js +1 -1
- package/dist/stencil-library/udp-list-renderer.udp-pagination.udp-side-sheet.entry.esm.js.map +1 -1
- package/dist/stencil-library/udp-list-renderer_3.entry.js +1 -1
- package/dist/stencil-library/udp-list-renderer_3.entry.js.map +1 -1
- package/dist/stencil-library/udp-map.entry.js +1 -1
- package/dist/stencil-library/udp-page.entry.js +1 -1
- package/dist/stencil-library/udp-split-screen.entry.js +1 -1
- package/dist/stencil-library/udp-stepper-demo.entry.js +1 -1
- package/dist/stencil-library/udp-tab-panel.entry.esm.js.map +1 -0
- package/dist/stencil-library/udp-tab-panel.entry.js +2 -0
- package/dist/stencil-library/udp-tab-panel.entry.js.map +1 -0
- package/dist/stencil-library/udp-vertical-spacer.entry.js +1 -1
- package/dist/types/components/my-component/UI/drawers/udp-side-sheet/types.d.ts +7 -0
- package/dist/types/components/my-component/UI/drawers/udp-side-sheet/udp-side-sheet.d.ts +114 -0
- package/dist/types/components/my-component/UI/tabs/tab/tabs/udp-tabs.d.ts +47 -4
- package/dist/types/components/my-component/UI/tabs/tab/udp-tab.d.ts +1 -1
- package/dist/types/components/my-component/UI/tabs/udp-tab-panel/udp-tab-panel.d.ts +11 -0
- package/dist/types/components.d.ts +151 -2
- package/package.json +1 -1
|
@@ -607,7 +607,7 @@ const AgTable = class {
|
|
|
607
607
|
this.height = 'calc(100vh - 200px)';
|
|
608
608
|
}
|
|
609
609
|
render() {
|
|
610
|
-
return (h("div", { key: '
|
|
610
|
+
return (h("div", { key: '08764e8cfc9a52ac728c67018a849be7f3409408', id: "myGrid", style: { height: this.height, width: '100%' }, class: "ag-theme-material" }));
|
|
611
611
|
}
|
|
612
612
|
get el() { return getElement(this); }
|
|
613
613
|
};
|
|
@@ -619,7 +619,7 @@ const AmbientDemoContainer = class {
|
|
|
619
619
|
registerInstance(this, hostRef);
|
|
620
620
|
}
|
|
621
621
|
render() {
|
|
622
|
-
return (h("div", { key: '
|
|
622
|
+
return (h("div", { key: '75dd493b0eed427f414786dcc666948afb7b40db', class: "container" }, h("div", { key: 'debe96ae62cfd10154da7432ef470e21d1ab879b', class: "title-container" }, " ", h("unity-typography", { key: '64cfc0fcbb5b745004e914fe5819d5a608b83fc4', variant: "button" }, " ", this.title, " "), " "), h("slot", { key: 'c75ba7fa50059017da74ac203c9251ab79973645' })));
|
|
623
623
|
}
|
|
624
624
|
};
|
|
625
625
|
AmbientDemoContainer.style = ambientDemoContainerCss;
|
|
@@ -4391,29 +4391,29 @@ const AmbientTemplateGrid = class {
|
|
|
4391
4391
|
this.gridHeight = 'calc(100vh - 200px)';
|
|
4392
4392
|
}
|
|
4393
4393
|
const actionMenuItems = this.getOverflowActionList(this.overflowActionMenuItems, this.selectedRowParams);
|
|
4394
|
-
return (h("div", { key: '
|
|
4394
|
+
return (h("div", { key: '018efb3b133e06c9e5b5de09529dfa0365a4af7d' }, this.openActionPopoverMenu && (h("udp-pop-over", { key: 'ef796986b195bfcdbf71dcb59e547e3b5f1ffa90', isOpen: this.openActionPopoverMenu, anchorElement: this.actionMenuAnchorElement, popoverWidth: "170px", popoverMaxHeight: "250px", handleOnClose: event => {
|
|
4395
4395
|
this.handleOnCloseActionPopover(event);
|
|
4396
|
-
} }, h("div", { key: '
|
|
4396
|
+
} }, h("div", { key: '03ad81c34aa492d68e9843b54a8d82677c211212', class: "overflowActionButtons" }, actionMenuItems))), h("div", { key: '9911c50d42f477d5adedb50649e68490853d870f' }, this.showNotification && (h("udp-notification", { key: 'd70cfe54578898de460d39f2bc36ef94ba9b834c', active: this.showNotification, message: this.notificationMessage, status: this.notificationStatus, userCancel: true, style: { zIndex: '999991', transform: 'translateY(20px)' } }))), h("style", { key: '9d9394d0326a80b942f7971ed15861746a7ad993' }, `:host ::slotted(.ag-side-bar) {
|
|
4397
4397
|
width: ${filterPanelWidth} !important;
|
|
4398
|
-
}`), h("grid-primary-bar", { key: '
|
|
4398
|
+
}`), h("grid-primary-bar", { key: 'b6348ced4a2ae59536945cd756cac11258eacc63', title: this.gridBarTitle, customSaveViewClick: () => this.showViewSave(), customShowViewClick: () => this.showViews(), customShowHotlistClick: () => this.showHotlist(), customShowCustomSearchClick: () => this.showCustomSearch(), customClearClick: () => this.clearFilters(), customRefreshClick: () => this.refreshGrid(), customExpandClick: () => this.expandColumns(), customExportClick: this.exportFunction ? () => this.exportFunction(this.entityName, this.filterRenderList[0]) : () => this.exportToCsv(), customInsightsClick: e => {
|
|
4399
4399
|
this.insightsActionOnClick(e);
|
|
4400
4400
|
}, showInsightsAction: this.showInsightsAction, hiddenActionButtons: this.hiddenActionButtons, primaryActionLabel: this.primaryActionLabel, primaryActionClick: e => {
|
|
4401
4401
|
this.primaryActionOnClick(e);
|
|
4402
|
-
}, primaryActionIcon: this.primaryActionIcon, customColumnViewClick: () => this.togglePanel('columns'), customFitColumnClick: () => this.fitColumns(), customFilterViewClick: () => this.togglePanel('filters'), customToggleServerClientClick: () => this.toggleServerSide(), customAdvancedSearchClick: () => this.showAdvancedSearch(), customShowGridOptionsClick: () => this.showGridOptions(), showAdvancedSearchFeature: this.showAdvancedSearchFeature, showFilterColumnFeature: this.showFilterColumnFeature, showHotlistButton: this.showHotlistButton && !(((_e = this.restrictedGridFeatures) === null || _e === void 0 ? void 0 : _e.Hotlist) && !this.userPermissions.some(permission => permission.name === this.restrictedGridFeatures.Hotlist)), hideExport: ((_f = this.restrictedGridFeatures) === null || _f === void 0 ? void 0 : _f.Export) && !this.userPermissions.some(permission => permission.name === this.restrictedGridFeatures.Export), enableAdvancedSearch: this.enableAdvancedSearch }), h("udp-pop-over-grid-action-header", { key: '
|
|
4402
|
+
}, primaryActionIcon: this.primaryActionIcon, customColumnViewClick: () => this.togglePanel('columns'), customFitColumnClick: () => this.fitColumns(), customFilterViewClick: () => this.togglePanel('filters'), customToggleServerClientClick: () => this.toggleServerSide(), customAdvancedSearchClick: () => this.showAdvancedSearch(), customShowGridOptionsClick: () => this.showGridOptions(), showAdvancedSearchFeature: this.showAdvancedSearchFeature, showFilterColumnFeature: this.showFilterColumnFeature, showHotlistButton: this.showHotlistButton && !(((_e = this.restrictedGridFeatures) === null || _e === void 0 ? void 0 : _e.Hotlist) && !this.userPermissions.some(permission => permission.name === this.restrictedGridFeatures.Hotlist)), hideExport: ((_f = this.restrictedGridFeatures) === null || _f === void 0 ? void 0 : _f.Export) && !this.userPermissions.some(permission => permission.name === this.restrictedGridFeatures.Export), enableAdvancedSearch: this.enableAdvancedSearch }), h("udp-pop-over-grid-action-header", { key: '480dd7b03bd9678410c1bf9d7acb88924d7e2194', isOpen: this.gridOptionsDrawerOpen, anchorElement: document.querySelector('grid-primary-bar') }, h("stencil-icon-button-grid-action-header", { key: '0777429c0bf2145f87a7f41ad475e7d6cbfe2770', onClick: () => {
|
|
4403
4403
|
this.togglePanel('columns');
|
|
4404
4404
|
this.showGridOptions();
|
|
4405
|
-
}, tooltip: "Show/Hide Columns" }, h("unity-typography", { key: '
|
|
4405
|
+
}, tooltip: "Show/Hide Columns" }, h("unity-typography", { key: '87c25bcb7cefacb6b9b65b8645c91665bf9939f1', variant: "button" }, "Show/Hide Columns")), h("udp-divider", { key: 'ed1a2ae18f7564b077247af285e6c0bb3bdad00c', size: "100%" }), h("stencil-icon-button-grid-action-header", { key: 'd3ff65af2ac6d8b728933f48c992c8332125e742', onClick: () => {
|
|
4406
4406
|
this.fitColumns();
|
|
4407
4407
|
this.showGridOptions();
|
|
4408
|
-
}, tooltip: "Fit to Column" }, h("unity-typography", { key: '
|
|
4408
|
+
}, tooltip: "Fit to Column" }, h("unity-typography", { key: '9070ae7f71efcae2f173be939fa255bf711ebad6', variant: "button" }, "Fit to Column")), h("udp-divider", { key: 'a59c8cdcd675478bd34c0e3db9bad66de08e888f', size: "0px" }), h("stencil-icon-button-grid-action-header", { key: '27d303bc18c56e77b00f28b648544da35257cce0', onClick: () => {
|
|
4409
4409
|
this.expandColumns();
|
|
4410
4410
|
this.showGridOptions();
|
|
4411
|
-
}, tooltip: "Expand Grid" }, h("unity-typography", { key: '
|
|
4411
|
+
}, tooltip: "Expand Grid" }, h("unity-typography", { key: '0f9862404272ad54b2ed8e7ee617c4145542def8', variant: "button" }, "Expand Grid")), h("udp-divider", { key: '19e25f0468d88e4693da59e2d7b512c8bbf772e5', size: "0px" }), !this.disableSearchSwitch && (h("stencil-icon-button-grid-action-header", { key: 'e6cce37025fd7400b9f3307a195c46e3cae02f8f', onClick: () => {
|
|
4412
4412
|
this.handleSearchModeToggle();
|
|
4413
4413
|
this.showGridOptions();
|
|
4414
|
-
}, tooltip: this.enableAdvancedSearch ? 'Standard Search' : 'Advanced Search' }, h("unity-typography", { key: '
|
|
4414
|
+
}, tooltip: this.enableAdvancedSearch ? 'Standard Search' : 'Advanced Search' }, h("unity-typography", { key: '558125a22a8e1d5d714b22be4081a06b7af06d43', variant: "button" }, this.enableAdvancedSearch ? 'Standard Search' : 'Advanced Search')))), h("div", { key: 'a9a0ae547a462373a757c05cf375534f65708cee', class: "second-row", style: { display: shouldHideSecondRow ? 'none' : '' } }, !this.hideBulkActions && this.rowsSelected && (h("div", { key: 'd42c01a2b8dfdce5e70b98e6dcb3be79cf2e5dc1', class: "bulk-select" }, h("udp-badge", { key: '9ca967b40720a497161874a5013040b4a0b113f2', content: this.selectedRowCount }, h("udp-selector", { key: '642e579e0e1bc1fe868611bd66f5be75e16599fb', options: this.bulkActions.length > 0 ? this.formattedBulkActions : [], onChange: (e) => this.handleSelectedBulkOption(e) })))), ((_g = this.loadedViewTitle) === null || _g === void 0 ? void 0 : _g.length) !== 0 && (h("div", { key: 'b10ffb19b6f7394c3ce554b19a9dedb0ac234db6', class: "chip-wrapper" }, h("stencil-chip", { key: 'efa8c1b100d739c6dcb3977ea5323a08f51edd56', text: this.loadedViewTitle,
|
|
4415
4415
|
// onOnDelete={this.handleDelete as any}
|
|
4416
|
-
onOnDelete: this.handleViewChipDelete, color: "secondary", defaultToggled: true, leftIcon: Star16, showLeftIcon: this.selectedViewIsDefault }), h("udp-divider", { key: '
|
|
4416
|
+
onOnDelete: this.handleViewChipDelete, color: "secondary", defaultToggled: true, leftIcon: Star16, showLeftIcon: this.selectedViewIsDefault }), h("udp-divider", { key: '05498eabbf0adad82794afa1aeade6f815701c48', variant: "vertical", size: "30px" }))), this.hotListActive && (h("div", { key: '2d918d4824be31993449e993cd88fe7c9ac4123c', class: "chip-wrapper" }, h("stencil-chip", { key: 'd3708cebd821070ff7cf1c4936f337c7951c9b2b', text: this.hotListActive, color: "secondary", onOnDelete: this.handleRemoveHotlist, defaultToggled: true, leftIcon: List16 }), h("udp-divider", { key: '64a23fcededff62d6df0f0fe18d8609c6486bbab', variant: "vertical", size: "30px" }))), h("div", { key: '736a3067ddec75228fdd84114e5ccc8de92f6d00', class: "chip-section" }, this.filterChips.length > 0 && (h("udp-dynamic-container-with-menu", { key: '31255d0eae05434a2576292f8af259f31ba19696', id: "filterChipsContainer", externalToggle: this.externalToggle, onUdpChipClicked: (event) => this.setFilterFromChips(event.detail), menuItems: this.filterChips }))), h("div", { key: 'dc613f41cb2b48b92df7d2f6c9beaa855a260b84', class: "kpi" }, h("kpi-list", { key: 'd605a061e7ede80827de7c8f2b6a090335077424', kpiValues: this.kpiValues }))), this.gridError && (h("div", { key: 'a60877c818046db8008c5900febfc31624132e0b' }, h("upd-alert-banner", { key: 'f15e52c48f370bc943069ec16ab80bcb57d88a2a', type: "error", message: `An error occurred with loading the grid with data.` }))), h("div", { key: '768014761eefb68887a55e7e61a2bece3f189f65', style: { height: '4px', backgroundColor: shouldHideSecondRow ? 'var(--accent-color)' : 'rgb(247, 245, 243)', overflow: 'hidden' } }, this.linearLoading && h("udp-linear-loader", { key: '3cdd4e20a668fe3b0324a7111b0ada9d864ea4d6' })), this.noResults && (h("div", { key: '49730d8dfd4f5f8505c0cd84f806466693dfed1f' }, h("upd-alert-banner", { key: '3c9e6505c0da47d0510f640aa05eb5b457af901d', onClick: () => this.refreshOnNoResults(), type: "info", message: "Sorry, no records meet your search criteria" }))), h("div", { key: '7c3c42e031146156d957654d3552c72e43586412' }, h("ag-table", { key: '712c5ba8633fc5dbc60affca5880b84cb902cfd2', gridOptions: this.gridOptions, licensekey: LicenseKey, height: this.gridHeight })), h("side-sheet", { key: '2dc25aa71fcb16dcbb3d0a7189159912269ceb6a', sideSheetButtonLabel: "Search", handleSideSheetButton: () => this.updateServerSideDatasource('', 'advanced search sheet'), title: "Advanced Search", open: this.advancedDrawerOpen, toggleDrawer: () => this.primaryActionClick('advancedSearch'), position: "right" }, h("div", { key: '937144f2713fbec3e782af2813094e2cef995347', style: { width: '1200px' } }, h("advanced-search", { key: 'ab9f37535a829ac4856bfb82e2ca559e6ee1424d', handleDelete: filter => this.removeFilterItem(filter), filterRenderList: this.filterRenderList, filterList: this.extendedSearchFilterList, handleItemClick: headerName => this.setFilterSelections(headerName), onAdvancedSearchItemChange: (event) => this.updateSearchObject(event.detail), handleValueChanged: this.changeOperator, fetchFilters: () => this.getExtendedAdvancedSearchFilterList(), getHeaderFieldLabel: this.getHeaderFieldLabel }))), h("side-sheet", { key: '5157413c3ab29f67d6ce656a3fb61c9a4a20441f', widthOption: "short", title: "Views", open: this.viewDrawerOpen, toggleDrawer: () => this.primaryActionClick('views'), position: "right" }, h("div", { key: '595b28b34054504ad12644faa4a39b2a3f56edc3' }, h("div", { key: 'af7d9c6ecf200514ad52d630b4fe0e5b6182842b', style: { width: '450px', marginBottom: '8px' } }, h("hint-panel", { key: 'dd6f7bb07bfd2e0437217b7c53b86bde3ce3d441', hint: "Quickly access and manage your pre-configured table/grid views. These views are designed to help you focus on specific sets of data and streamline your workflow.", hideHintText: "Hide Hint" })), h("div", { key: '0bd2a10799a18110ef62fdf974131493d4b72412', style: { width: '446px' } }, this.viewListRowData &&
|
|
4417
4417
|
this.viewListRowData.map(item => {
|
|
4418
4418
|
if (item.gridViewVisibilityTypeId === 2 || item.userId.toLowerCase() === this.userId.toLocaleLowerCase()) {
|
|
4419
4419
|
return (h("tree-list-item", {
|
|
@@ -4424,9 +4424,9 @@ const AmbientTemplateGrid = class {
|
|
|
4424
4424
|
}, editHandler: () => this.openViewEdit(item.gridViewId, item.name, item.isDefault, item.gridViewVisibilityTypeId), deleteHandler: () => this.openDeleteViewConfirmation(item.gridViewId), showUpdateDefaultOption: true, updateDefaultHandler: () => this.updateDefaultView(item), isDefault: item.isDefault, gridViewVisibilityTypeId: item.gridViewVisibilityTypeId, showAdd: false, showViewOption: false
|
|
4425
4425
|
}));
|
|
4426
4426
|
}
|
|
4427
|
-
})))), h("side-sheet", { key: '
|
|
4427
|
+
})))), h("side-sheet", { key: 'af57c5be0640aa7d295d3b30a70f7257e6a78359', title: "Search", sideSheetButtonLabel: "Search", handleSideSheetButton: this.handleSideSheetButtonClick, open: this.customSearchDrawerOpen, toggleDrawer: () => this.primaryActionClick('customSearch'), position: "right", buttonTransform: this.buttonTransform }, h("advanced-search-grouped", { key: '64fd15b182ccf7fab80d5318a803cfb66bc7f6b0', getLogicalOperatorValue: this.getLogicalOperatorValue, getLogicalOperatorCode: this.getLogicalOperatorCode, handleAddNewFilter: this.handleAddNewFilter, handleAddNewGroup: this.handleAddNewGroup, handleDelete: filter => this.removeFilterItem(filter), filterRenderList: this.filterRenderList, filterList: this.extendedSearchFilterList, handleItemClick: headerName => this.setGroupedFilterSelections(headerName), onAdvancedSearchItemChange: (event) => this.updateSearchObject(event.detail), handleValueChanged: this.changeOperator, filterObjectsWithGroups: this.filterObjectsWithGroups, fetchFilters: () => this.getExtendedAdvancedSearchFilterList(),
|
|
4428
4428
|
// onSearchItemChanged={() => this.handleSearchItemChange()}
|
|
4429
|
-
updateLogicalOperator: (_h = this.updateLogicalOperator) === null || _h === void 0 ? void 0 : _h.bind(this), handleGroupDelete: groupId => this.handleGroupDelete(groupId), recentSearchesOptions: this.recentSearchesOptions, selectRecentSearch: this.selectRecentSearch, fullClearSearch: this.fullClearSearch, findGroupById: this.findGroupById, getHeaderFieldLabel: this.getHeaderFieldLabel })), h("side-sheet", { key: '
|
|
4429
|
+
updateLogicalOperator: (_h = this.updateLogicalOperator) === null || _h === void 0 ? void 0 : _h.bind(this), handleGroupDelete: groupId => this.handleGroupDelete(groupId), recentSearchesOptions: this.recentSearchesOptions, selectRecentSearch: this.selectRecentSearch, fullClearSearch: this.fullClearSearch, findGroupById: this.findGroupById, getHeaderFieldLabel: this.getHeaderFieldLabel })), h("side-sheet", { key: 'e5c45d38b79f462d1e287bd70c77bd881e64eea6', disabled: this.showHotlistForm, widthOption: "short", sideSheetButtonLabel: "Create New Hotlist", handleSideSheetButton: () => this.toggleHotlistForm(), title: "Hot Lists", open: this.hotlistDrawerOpen, toggleDrawer: () => this.primaryActionClick('hotlists'), position: "right" }, h("div", { key: '36af0612c30f5163efbce8201b7d2262090623e9' }, this.showHotlistForm && h("udp-hotlist-form", { key: 'f159a17afc358e33ff894e9c3637a40c9f94601e', handleFormSubmit: this.handleSaveHotlist, handleCancelClick: () => this.toggleHotlistForm() }), h("div", { key: 'bccb6cbf2f3c15ab493b27fd27b5583a5fbaa321', style: { width: '446px' } }, this.allHotlists &&
|
|
4430
4430
|
this.allHotlists.map(item => {
|
|
4431
4431
|
if (item.domain === this.entityName) {
|
|
4432
4432
|
return (h("tree-list-item", { label: item.name, fieldName: item.name, showViewOption: true, showAdd: this.businessObjectKey ? true : false, showDeleteOption: true, viewHandler: () => this.handleRequestHotlist(item.hotListId), deleteHandler: () => this.confirmRequestDelete(item.hotListId), onClick: () => this.handleSetSingleHotlistItem(item.hotListId), statusValue: item.isPrivate, statusClasses: {
|
|
@@ -4434,7 +4434,7 @@ const AmbientTemplateGrid = class {
|
|
|
4434
4434
|
false: 'neutral',
|
|
4435
4435
|
}, statusLabel: item.isPrivate ? 'Private' : 'Shared' }));
|
|
4436
4436
|
}
|
|
4437
|
-
})))), h("save-view-form-dialog", { key: '
|
|
4437
|
+
})))), h("save-view-form-dialog", { key: '238c8e29a69f6e5b9953727b0a329c4e609d4d4f', open: this.saveDialogOpen, title: this.selectedViewName ? 'Current View' : 'New View', closeDialog: () => this.showViewSave(), currentGridViewId: this.selectedGridId, currentName: this.selectedViewName, currentIsPrivate: this.selectedViewGridViewVisibilityTypeId, currentIsDefault: this.selectedViewIsDefault, handleFormSubmit: (name, isPrivate, isDefault) => {
|
|
4438
4438
|
// Assuming this.columnState exists in this component's scope
|
|
4439
4439
|
this.handleViewFormSubmit(name, isPrivate, isDefault, this.gridState);
|
|
4440
4440
|
}, handleViewAndConfigurationSubmit: (name, isPrivate, isDefault) => {
|
|
@@ -4447,11 +4447,11 @@ const AmbientTemplateGrid = class {
|
|
|
4447
4447
|
this.handleViewAndConfigurationsUpdate(this.selectedViewName, this.selectedViewGridViewVisibilityTypeId, this.selectedViewIsDefault, this.gridState);
|
|
4448
4448
|
}
|
|
4449
4449
|
}
|
|
4450
|
-
} }), h("edit-view-form-dialog", { key: '
|
|
4450
|
+
} }), h("edit-view-form-dialog", { key: 'a1b1d637d504b2bda3b696a8db829776e9339b76', open: this.editDialogOpen, title: "Edit View", closeDialog: () => this.closeViewEdit(), currentGridId: this.selectedGridId, currentName: this.selectedViewName, currentGridViewVisibilityTypeId: this.selectedViewGridViewVisibilityTypeId, currentIsDefault: this.selectedViewIsDefault, handleFormSubmit: (gridId, name, isPrivate, isDefault) => {
|
|
4451
4451
|
this.handleViewUpdate(gridId, name, isPrivate, isDefault);
|
|
4452
|
-
} }), h("div", { key: '
|
|
4452
|
+
} }), h("div", { key: '0506d9a6493cdcedd089c634151a3929927964ee' }), h("fluent-dialog", { key: '6f0aca20d4b9834a4d7a2b1e59047143f2621f8f', title: "Delete Hotlist", message: "Are you sure you want to delete this hotlist?", actionOne: () => this.handleRequestDeleteHotlist(), actionTwo: () => this.toggleDeleteDialog('hotlist'), labelOne: "Confirm", labelTwo: "Cancel", open: this.confirmDialog }, h("div", { key: 'bae0df0958ecc33d23436e4250fbf70bd2461de6' }, "This will not delete any of the data but only the records ", h("br", { key: '9fac7c6c2794d7b6a8ddda628099bd06652d0352' }), "from the hotlist and the hotlist itself.", ' ')), h("fluent-dialog", { key: '806917e42de6b9b662af5561ef7861ded3d49187', title: "Delete View", message: "Are you sure you want to delete this view?", actionOne: () => this.handleDeleteView(), actionTwo: () => this.toggleDeleteDialog('View'), labelOne: "Confirm", labelTwo: "Cancel", open: this.confirmDialogDeleteView }, h("div", { key: '034ee23aaadf1d55e49e5ed40221a06b37ff5a04' }, "This will not delete any of the data but only the settings ", h("br", { key: '9db72e1787e85f2530f5fb93a7386a90ce8eee68' }), "saved to display this view.", ' ')), h("fluent-dialog", { key: '99480ac4cdeb2df5d6664a174e7fe63b800880e1', title: "Update View", message: "Are you sure you want to update this view?", actionOne: () => this.handleViewAndConfigurationsUpdate(this.selectedViewName, this.selectedViewGridViewVisibilityTypeId, this.selectedViewIsDefault, this.gridState), actionTwo: () => this.showViewEditConfirmation(false), labelOne: "Confirm", labelTwo: "Cancel", open: this.editViewConfirmationDialogOpen }, h("div", { key: '4018987b86e4e163a5050afa36c8c9c0e6bd16f3' }, "This is a public view. Any changes made to it will be seen by others when they load this view. ")), h("fluent-dialog", { key: '717000bba187ba84ef937da14627616500d17fc6', title: 'Toggle Search Mode to ' + (this.enableAdvancedSearch ? 'Standard' : 'Advanced') + ' Search', message: this.enableAdvancedSearch
|
|
4453
4453
|
? `Are you sure you want to toggle the search mode to standard search?`
|
|
4454
|
-
: `Are you sure you want to toggle the search mode to advanced search?`, actionOne: () => this.confirmSearchModeToggle(), actionTwo: () => this.toggleSearchModeConfirmation(false), labelOne: "Confirm", labelTwo: "Cancel", open: this.toggleSearchModeConfirmationDialogOpen }, h("div", { key: '
|
|
4454
|
+
: `Are you sure you want to toggle the search mode to advanced search?`, actionOne: () => this.confirmSearchModeToggle(), actionTwo: () => this.toggleSearchModeConfirmation(false), labelOne: "Confirm", labelTwo: "Cancel", open: this.toggleSearchModeConfirmationDialogOpen }, h("div", { key: '33b5c68ff42a58c8a2bd5d7dece1b4e772e866ea' }, this.enableAdvancedSearch
|
|
4455
4455
|
? 'The advanced search functionality will be disabled, all advanced search filters will be cleared and the grid will be reset to its default state.'
|
|
4456
4456
|
: 'The standard search functionality will be disabled and any existing standard filters will persist to the advanced search.'))));
|
|
4457
4457
|
}
|
|
@@ -4504,7 +4504,7 @@ const AppBar = class {
|
|
|
4504
4504
|
registerInstance(this, hostRef);
|
|
4505
4505
|
}
|
|
4506
4506
|
render() {
|
|
4507
|
-
return (h("div", { key: '
|
|
4507
|
+
return (h("div", { key: 'cad9b6256dbad649083ef3e26f13bff47e3d427d', class: "header" }, h("stencil-icon-button", { key: '79958d8a6a7993575923b87ac3a61180116fc614', noBackground: true, darkIcon: false, icon: Menu24 }), h("unity-typography", { key: 'ccd072e7ca26b9070ba990289b637608e903d1c0', variant: 'data-display-one' }, " ", h("slot", { key: 'af2e0183590ea54d48be89d36418281633fc6453' }), " "), h("a", { key: '36a8c2006d5d0c25d9f4ef2691f86324d875503f', class: "skip-to-content", href: "#main-content" }, "Skip to main content"), h("div", { key: '2ccd08207f64f0d9a4854f34119765ed5fd48595', class: "header__logo" }), h("div", { key: 'b6cacb7037f36dfb81cb7e66f8cf268b96f84ae9', class: "header__nav", role: "navigation", "aria-label": "Carbon Design System" }), h("div", { key: '9c147941d4b7d762cd9a1d97e7053190f3e6f0fc', class: "header__global" }, h("udp-avatar", { key: '15830daddc4f25488ec07014720762232e5e304a', username: this.username }))));
|
|
4508
4508
|
}
|
|
4509
4509
|
};
|
|
4510
4510
|
AppBar.style = appBarCss;
|
|
@@ -4604,8 +4604,8 @@ const EditViewFormDialog = class {
|
|
|
4604
4604
|
this.fetchedCurrentView = false;
|
|
4605
4605
|
}
|
|
4606
4606
|
render() {
|
|
4607
|
-
return (h("fluent-dialog", { key: '
|
|
4608
|
-
h("div", { key: '
|
|
4607
|
+
return (h("fluent-dialog", { key: '7d9f36f3e3f076bf8e9b9ea76678c3a65431922c', open: this.open, actionOne: () => { this.handleSubmit(); this.closeDialog(); this.resetFetchedCurrentView(); }, actionTwo: () => { this.closeDialog(); this.resetFetchedCurrentView(); }, handleClose: this.handleClose, labelOne: "Save Update", labelTwo: "Cancel", title: this.title, disableOne: !this.name }, h("form", { key: '582cce3a0ea5f9a4670b2c67f7c4096f3cf97884', class: "edit-form" }, h("text-field", { key: 'c8b700f8db69b68666a03c539f893d29fe507d72', label: "View Name", value: this.name, onInput: (event) => this.handleNameChange(event) }), this.fetchedCurrentView &&
|
|
4608
|
+
h("div", { key: '6ebbde8f024c03916bc1100e964d440868749154', class: "toggle-options" }, h("div", { key: 'f699dfeecb0ddf085d9c3d5a8dfc42c3987ae53e' }, h("stencil-toggle", { key: '8c1e54b90e023140879bafa1377388f8a4a18432', label: "Private", checked: this.isPrivate === 1, onToggledChange: this.handlePrivateChange }), " "), h("div", { key: '562103cb25f1fa01d4e0749f8c0a3cd400c809f6' }, h("stencil-toggle", { key: 'aaafe2ead718dae3489df1dd24027fb3c8a8300d', label: "Default", checked: this.isDefault, onToggledChange: this.handleDefaultChange, style: { marginTop: '10px' } }))))));
|
|
4609
4609
|
}
|
|
4610
4610
|
get el() { return getElement(this); }
|
|
4611
4611
|
};
|
|
@@ -4633,9 +4633,9 @@ const FluentDialog = class {
|
|
|
4633
4633
|
this.buttonThreeHidden = true;
|
|
4634
4634
|
}
|
|
4635
4635
|
render() {
|
|
4636
|
-
return (h("div", { key: '
|
|
4636
|
+
return (h("div", { key: 'a67918a009b7850a24efa7fc0e778ed8dccaae6b', class: { 'overlay': true, 'overlay-open': this.open } }, h("div", { key: 'd4475170ef03b690c76b8a21306c50cdf9a146b4', class: { 'dialog-container': true, 'dialog-open': this.open } }, h("div", { key: '17cf58f182a6f04fb1397addbba892b51c512cef', class: "dialog-title", id: this.titleId }, h("unity-typography", { key: '7ed19079acd30bedace74b84a2526dfdc2854daf', variant: "h3" }, this.title)), h("div", { key: 'c17f3edde2e241dd13723f1a0baed138320bf532', class: "dialog-content" }, h("unity-typography", { key: 'f3b39b44284dc013069ad52232b0973fe8588b9b', variant: "h6" }, this.message), h("unity-typography", { key: '2162c0081d1bc1238d76b2acf88483ae4bfc8672', variant: "body" }, h("slot", { key: '39019b9967ba312d50dd3fd64a24089cf2cd65e8' }))), h("div", { key: '9f50fb36d28f9f62cf829328d6786fc9bf0795cb', class: "dialog-actions" }, !this.buttonTwoHidden && (h("custom-button", { key: '1bc3782ee17bd5baa10c3860b22de6bb3747764f', size: "tall", variant: "text", onClick: () => this.actionTwo() }, this.labelTwo)), !this.buttonThreeHidden && (h("custom-button", { key: '3bf6eb9efdc79a9fd154dc45fcdc5fd79f2a450c',
|
|
4637
4637
|
//class="primary-action"
|
|
4638
|
-
onClick: () => this.actionThree(), size: "tall", variant: "text", disabled: this.disableThree }, this.labelThree)), !this.buttonOneHidden && (h("custom-button", { key: '
|
|
4638
|
+
onClick: () => this.actionThree(), size: "tall", variant: "text", disabled: this.disableThree }, this.labelThree)), !this.buttonOneHidden && (h("custom-button", { key: 'b14268f5d3ed523dce91c3e6ab151bf6df782e48', class: "primary-action", variant: "text", onClick: () => this.actionOne(), size: "tall", disabled: this.disableOne }, this.labelOne))), this.progress && h("div", { key: 'd2b065ffacc638e5e3b2a1f4b8bd7b1f4af28a6b', class: "linear-progress" }))));
|
|
4639
4639
|
}
|
|
4640
4640
|
};
|
|
4641
4641
|
FluentDialog.style = fluentDialogCss;
|
|
@@ -4785,7 +4785,7 @@ const GridPrimaryBar = class {
|
|
|
4785
4785
|
this.updateHideBar();
|
|
4786
4786
|
}
|
|
4787
4787
|
render() {
|
|
4788
|
-
return (h("div", { key: '
|
|
4788
|
+
return (h("div", { key: '520856f627fd84e8bdc9c481ff2e475fd7dfb66a', class: "header-bar", style: !this.hideBar ? { background: 'var(--accent-color)' } : undefined }, h("div", { key: '8a7655a50007c944cf6b28c5b8936abc7e3393c0', class: "title-section" }, h("div", { key: 'f0ddcc41fb5b35778a6d2424a4ceb3cd0f618fa4' }, h("unity-typography", { key: '113ef0b8e7ea2f113a263e25541acbaf043b4bee', variant: "h4" }, this.title, " "), ' ')), h("div", { key: '595a3de59f7f639ba9c372fcc8f6f198214fc0e5', class: "button-section" }, h("div", { key: 'e2cbb462d75f84f9aa3a7f9b75f05b1a19ccd326' }, h("slot", { key: '49d2dd8953d70e159fbd404baf168d2b56146c87' })), this.defaultActionButtons.map(btn => {
|
|
4789
4789
|
const clickHandler = (event) => {
|
|
4790
4790
|
if (btn.clickHandler) {
|
|
4791
4791
|
btn.clickHandler(event);
|
|
@@ -4798,7 +4798,7 @@ const GridPrimaryBar = class {
|
|
|
4798
4798
|
return (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 && h("i", { class: btn.icon }), btn.label.toLowerCase() === 'save' || (!this.hiddenLabels.includes(btn.label) && btn.showLabel) ? h("span", null, btn.label) : null));
|
|
4799
4799
|
}
|
|
4800
4800
|
return null;
|
|
4801
|
-
}), this.primaryActionClick && this.primaryActionLabel && (h("custom-button", { key: '
|
|
4801
|
+
}), this.primaryActionClick && this.primaryActionLabel && (h("custom-button", { key: '34a103505b82064aeb9f6ddf6ff8d75c6881538c', label: this.primaryActionLabel, onClick: (event) => this.primaryActionClick(event), size: "tall" }, this.primaryActionIcon && h("udp-icon", { key: '0cefb9ec69d19ad7609338521a4efcd5e8443e1a', iconName: this.primaryActionIcon, darkIcon: false }))))));
|
|
4802
4802
|
}
|
|
4803
4803
|
static get watchers() { return {
|
|
4804
4804
|
"window:resize": ["onResize"],
|
|
@@ -4831,7 +4831,7 @@ const KpiList = class {
|
|
|
4831
4831
|
registerInstance(this, hostRef);
|
|
4832
4832
|
}
|
|
4833
4833
|
render() {
|
|
4834
|
-
return (h("div", { key: '
|
|
4834
|
+
return (h("div", { key: 'a04e6b402e88c914e2c53bf45d587a819544dda6', class: "kpi-container" }, this.kpiValues.map((kpi, index) => (h("div", { class: "kpi-item" }, h("span", { class: "kpi-label", style: {
|
|
4835
4835
|
fontSize: ' 0.875rem',
|
|
4836
4836
|
fontWeight: '300',
|
|
4837
4837
|
lineHeight: '0.25',
|
|
@@ -6327,7 +6327,7 @@ const PrimaryActionHeader = class {
|
|
|
6327
6327
|
// }
|
|
6328
6328
|
render() {
|
|
6329
6329
|
console.log('active tab', this.activeTabIndex);
|
|
6330
|
-
return (h("div", { key: '
|
|
6330
|
+
return (h("div", { key: 'a747d9aeac8c5d98c8781f91c0306e20279886df', class: "header-bar" }, h("div", { key: '167eafc92eec5750035e6cfba200893b7cc5e10b', class: "title-section" }, h("unity-typography", { key: '2aa18ffa1d295e3ba51cea9fd2c842f7bbb35004', variant: "h4" }, this.title)), this.tabs && (h("div", { key: 'd5b3255eadb6ba4961e1c312861ac814ea8c8743', class: "tabs" }, h("udp-tabs", { key: 'c1c5d42e23ec1b25963127a2b081d86abeb9e3b6' }, h("button", { key: '79659833299583267aa6589a5e36142256681dc3', class: this.activeTabIndex === 0 ? 'active' : '', slot: "tab-title", onClick: () => this.selectTab(0) }, "Demo Grid"), h("button", { key: '0635c5ef0354b88c2a0e1793a5249dd04fc70015', class: this.activeTabIndex === 1 ? 'active' : '', slot: "tab-title", onClick: () => this.selectTab(1) }, "Other Content")))), h("div", { key: 'a7da9e4e8385692aa04b1196e49d4b0d973b35d2', class: "button-section" }, this.defaultActionButtons.map(btn => {
|
|
6331
6331
|
// Determine the actual icon to use
|
|
6332
6332
|
const ActualIcon = this.getIconComponent(btn.icon, btn.customIcon);
|
|
6333
6333
|
const clickHandler = (event) => {
|
|
@@ -6342,7 +6342,7 @@ const PrimaryActionHeader = class {
|
|
|
6342
6342
|
return (h("stencil-icon-button", { secondary: btn.secondary, onClick: clickHandler, tooltip: btn.tooltip }, this.renderIcon(ActualIcon), !this.hiddenLabels.includes(btn.label) && btn.showLabel && h("span", null, btn.label)));
|
|
6343
6343
|
}
|
|
6344
6344
|
return null;
|
|
6345
|
-
}), !this.actionButtonLabel && h("div", { key: '
|
|
6345
|
+
}), !this.actionButtonLabel && h("div", { key: '20aa08ddc0f999d58f401594bfe42802d100afac', class: "right-margin" }), this.actionButtonLabel && (h("udp-button", { key: 'd63ae8c88041c2b07d61e2ae94cb28df17c58d4e', variant: "contained", color: "secondary", onClick: event => this.primaryActionClick(event) }, this.actionButtonLabel)))));
|
|
6346
6346
|
}
|
|
6347
6347
|
};
|
|
6348
6348
|
PrimaryActionHeader.style = primaryActionHeaderCss;
|
|
@@ -6393,11 +6393,11 @@ const SaveViewFormDialog = class {
|
|
|
6393
6393
|
}
|
|
6394
6394
|
}
|
|
6395
6395
|
render() {
|
|
6396
|
-
return (h("fluent-dialog", { key: '
|
|
6396
|
+
return (h("fluent-dialog", { key: 'c2926169d24d5964ba0a202199e3a5f46186075b', open: this.open, actionOne: () => {
|
|
6397
6397
|
this.handleSubmit();
|
|
6398
6398
|
}, actionTwo: this.closeDialog, actionThree: () => {
|
|
6399
6399
|
this.handleViewUpdate();
|
|
6400
|
-
}, handleClose: this.handleClose, labelOne: "Save as Copy", labelTwo: "Cancel", labelThree: "Save View", title: this.title, disableOne: !this.name, buttonThreeHidden: !this.gridViewId }, h("form", { key: '
|
|
6400
|
+
}, handleClose: this.handleClose, labelOne: "Save as Copy", labelTwo: "Cancel", labelThree: "Save View", title: this.title, disableOne: !this.name, buttonThreeHidden: !this.gridViewId }, h("form", { key: 'c4157e2d148ef0566bcaa19e07d4c1699df65868', class: "save-form" }, h("text-field", { key: '8415b9b28f1d8405325d1066158c2b7279dd394b', label: "View Name", placeholder: "Create a name for your view", value: this.name, onInput: (event) => this.handleNameChange(event) }), h("div", { key: '13b731a0dacf1acdc0829ee3d1589ce93b57362f', class: "toggle-options" }, h("div", { key: '63c23d978e2b05c7eaebaa1128592c4776a18db7' }, h("stencil-toggle", { key: 'aa2edb2c9e399ab133e48789fa4428b234456e18', label: "Private", checked: this.isPrivate === 1, onToggledChange: this.handlePrivateChange }), ' '), h("div", { key: '530df15c84ff4cf6748ecc43d9b99a1897601548' }, h("stencil-toggle", { key: 'fe4e4b97c11e6a3d3ff536660c8a59fc58296286', label: "Default", checked: this.isDefault, onToggledChange: this.handleDefaultChange, style: { marginTop: '10px' } }))))));
|
|
6401
6401
|
}
|
|
6402
6402
|
get el() { return getElement(this); }
|
|
6403
6403
|
static get watchers() { return {
|
|
@@ -6501,7 +6501,7 @@ const SearchListItem = class {
|
|
|
6501
6501
|
});
|
|
6502
6502
|
}
|
|
6503
6503
|
render() {
|
|
6504
|
-
return (h("div", { key: '
|
|
6504
|
+
return (h("div", { key: '9fb346269c6a44b051c4a20cc39bfbc623ed9511', class: "list-item" }, h("div", { key: '46a6a66eb5f52df6e8bec384bbf297dbcf0d4e2c', class: "list-body" }, h("div", { key: '7d9f84c9bd1fba13c9c9bcca525e1c785975de24', class: "name" }, h("unity-typography", { key: '9f5addc8ff5141cd43a823245ae1562f0276e772', variant: "button" }, this.label)), h("div", { key: '934360ca2bd4d9f2bc27b984105a08b99a7e1430', style: { width: '200px' } }, h("udp-selector", { key: this.searchOperator, initialValue: this.searchOperator, options: this.selectorOptions, disabled: this.isInitialSearchItem || this.isDefault, onChange: (event) => this.handleOperatorSelected(event) })), h("div", { key: '797210e0f73d37629b38daee87679d6c6ed22957', class: "input" }, h("text-field", { key: '4a66cf9f3a2600ef5bc690b74050866abb8c8bc6', value: this.name, disabled: this.isInitialSearchItem, onBlur: this.handleInputBlur }))), (!this.isInitialSearchItem || !this.isDefault) && h("stencil-icon-button", { key: '24001c57bab2a78885fe3853571893f1fcb8e8fd', icon: Close24, onClick: this.handleDelete })));
|
|
6505
6505
|
}
|
|
6506
6506
|
get el() { return getElement(this); }
|
|
6507
6507
|
static get watchers() { return {
|
|
@@ -6875,16 +6875,16 @@ const StencilToggle = class {
|
|
|
6875
6875
|
const buttonId = `${baseId}-button`;
|
|
6876
6876
|
const labelId = `${baseId}-label`;
|
|
6877
6877
|
const isError = !!this.errorMessage;
|
|
6878
|
-
const labelElement = this.label && (h("label", { key: '
|
|
6879
|
-
const toggleElement = (h("div", { key: '
|
|
6880
|
-
return (h(Host, { key: '
|
|
6878
|
+
const labelElement = this.label && (h("label", { key: 'd70c0b30b934987f5867dea6af373d5c9b46064f', id: labelId, class: `toggle-label label-${this.labelPosition}`, htmlFor: !this.disabled ? buttonId : undefined }, h("unity-typography", { key: 'dcabb099ba822136e0540dfa9d1799f8cd73c06e', variant: "caption-text" }, this.label)));
|
|
6879
|
+
const toggleElement = (h("div", { key: '8209c9d3215fb2cbc1cb6d495c35c56cf91cd758', class: `toggle-container ${this.toggled ? 'toggled' : ''}` }, h("button", { key: 'b6c27babc037c4df1614b653ad56e50a9c51a4e8', id: buttonId, onClick: () => this.toggleButton(), disabled: this.disabled, "aria-checked": this.toggled.toString(), "aria-labelledby": labelId, role: "switch" }, h("span", { key: '77133f23b5ebfa3a22667abdafbef32885f2d23a', class: "toggle-knob" }))));
|
|
6880
|
+
return (h(Host, { key: '0795d6d5455dab4c66e715181f31a76457dbf154', class: {
|
|
6881
6881
|
'udp-input': true,
|
|
6882
6882
|
'udp-input--error': isError,
|
|
6883
6883
|
'udp-input--disabled': this.disabled,
|
|
6884
6884
|
'udp-input--checked': this.toggled,
|
|
6885
6885
|
[`udp-input--margin-${this.margin}`]: true,
|
|
6886
6886
|
[`udp-input--size-${this.size}`]: true,
|
|
6887
|
-
}, "aria-invalid": isError ? 'true' : 'false' }, h("div", { key: '
|
|
6887
|
+
}, "aria-invalid": isError ? 'true' : 'false' }, h("div", { key: '08ea551f5a08c30d6516b43f1e2706de3629bfb5', class: `toggle-wrapper position-${this.labelPosition}` }, this.labelPosition === 'left' && labelElement, toggleElement, this.labelPosition === 'right' && labelElement, this.labelPosition === 'bottom' && labelElement, this.errorMessage && h("div", { key: '0ae44ccd60c71290f862db4de185fd6902687ab8', class: "error-message" }, this.errorMessage))));
|
|
6888
6888
|
}
|
|
6889
6889
|
get el() { return getElement(this); }
|
|
6890
6890
|
static get watchers() { return {
|
|
@@ -7066,7 +7066,7 @@ const TextField = class {
|
|
|
7066
7066
|
'bx--text-input:user-invalid': isError,
|
|
7067
7067
|
'text-field--disabled': this.disabled,
|
|
7068
7068
|
};
|
|
7069
|
-
return (h(Host, { key: '
|
|
7069
|
+
return (h(Host, { key: '8a904b91424ef0f338b577d495b16cab865500ea', class: {
|
|
7070
7070
|
'udp-input': true,
|
|
7071
7071
|
'udp-input--error': isError,
|
|
7072
7072
|
'udp-input--disabled': this.disabled,
|
|
@@ -7074,9 +7074,9 @@ const TextField = class {
|
|
|
7074
7074
|
'udp-input--required': this.required,
|
|
7075
7075
|
[`udp-input--size-${this.size}`]: true,
|
|
7076
7076
|
[`udp-input--margin-${this.margin}`]: true,
|
|
7077
|
-
}, "aria-invalid": isError ? 'true' : 'false', "aria-required": this.required ? 'true' : 'false' }, h("div", { key: '
|
|
7077
|
+
}, "aria-invalid": isError ? 'true' : 'false', "aria-required": this.required ? 'true' : 'false' }, h("div", { key: '2a807fc813c3e3d774de4d9557921021db0836de', class: "bx--form-item" }, h("unity-typography", { key: '27a02c53a522b8339c5a0d8be4e8134e078438e0', variant: "caption-text" }, h("label", { key: '9e44649e7369b0c48a9394a3cafe37c92d8dccc4', htmlFor: this.id, class: "bx--label" }, this.label, this.required ? '*' : '')), this.hidden ? (h("input", { id: this.id, type: "hidden", value: this.internalValue })) : (h("input", { id: this.id, type: "text", class: Object.assign({}, inputClass), placeholder: this.placeholder, value: this.internalValue, required: this.required, disabled: this.disabled, readonly: this.readonly, maxLength: this.maxCharacter, inputMode: this.inputMode, onInput: this.onInput, onChange: this.onChange,
|
|
7078
7078
|
//@ts-ignore
|
|
7079
|
-
udprecordid: 'udpRecord-text-field-' + this.id })), isError && (h("div", { key: '
|
|
7079
|
+
udprecordid: 'udpRecord-text-field-' + this.id })), isError && (h("div", { key: 'f16c206feb4536ffef669187d2535b123f43d6c1', class: "error-message" }, h("unity-typography", { key: 'cd7b71a7179fd524053835a60cd3affd26b70ff1', variant: "caption-text", color: "error" }, this.errorMessage))))));
|
|
7080
7080
|
}
|
|
7081
7081
|
get el() { return getElement(this); }
|
|
7082
7082
|
static get watchers() { return {
|
|
@@ -7283,9 +7283,9 @@ const UdpAmbientToolTip = class {
|
|
|
7283
7283
|
render() {
|
|
7284
7284
|
// Check if content is provided before rendering the tooltip content.
|
|
7285
7285
|
const shouldDisplayTooltip = !!this.isVisible && !!this.content && this.content.trim() !== '';
|
|
7286
|
-
return (h("div", { key: '
|
|
7286
|
+
return (h("div", { key: '55804784ff463b9aa4350063c7184183bc00cd2f', class: "tooltip-wrapper", ref: el => (this.wrapperEl = el), onMouseOver: this.showTooltip, onMouseOut: this.hideTooltip }, h("slot", { key: '53baf44478409db05bca1a7470e53083493876c2' }), shouldDisplayTooltip && (
|
|
7287
7287
|
// STEP 4: Use the global class name we defined in our style string.
|
|
7288
|
-
h("div", { key: '
|
|
7288
|
+
h("div", { key: '72b5a2ebda076e46f07c1e338b0981ddd12df1da', class: "udp-tooltip-portal", role: "tooltip", ref: el => (this.tooltipContentEl = el) }, h("unity-typography", { key: '76b55c15271a02a07f3d0747e922566d118b8188', variant: "caption-text" }, this.content)))));
|
|
7289
7289
|
}
|
|
7290
7290
|
};
|
|
7291
7291
|
UdpAmbientToolTip.style = udpAmbientToolTipCss;
|
|
@@ -7336,7 +7336,7 @@ const UdpAvatar = class {
|
|
|
7336
7336
|
else {
|
|
7337
7337
|
style['background-color'] = this.getColorForUsername();
|
|
7338
7338
|
}
|
|
7339
|
-
return (h("div", { key: '
|
|
7339
|
+
return (h("div", { key: '171f5b8188fe7648880844ecb0e92e9f93e734e8', class: classes.join(' '), style: style }, this.iconName ? h("udp-icon", { iconName: this.iconName, darkIcon: false }) : h("unity-typography", { variant: "data-display-two" }, " ", this.getInitial())));
|
|
7340
7340
|
}
|
|
7341
7341
|
};
|
|
7342
7342
|
UdpAvatar.style = udpAvatarCss;
|
|
@@ -7610,7 +7610,7 @@ const DynamicContainerWithMenu = class {
|
|
|
7610
7610
|
this.udpChipClicked.emit(chipText);
|
|
7611
7611
|
}
|
|
7612
7612
|
render() {
|
|
7613
|
-
return (h("div", { key: '
|
|
7613
|
+
return (h("div", { key: 'e39cb91451a2879c50e94d06ad7d04ea48e6924c', class: "container" }, h("div", { key: '68340fbe6565fcb4065634c23bbde57509aaa377', class: "chips" }, console.log('Received data for chips via executeQwith', this.visibleChildren), this.visibleChildren && this.visibleChildren.map((child, index) => (h("stencil-chip", { color: "secondary", key: index, text: child.description, "show-delete": "false", externalToggleString: this.externalToggle })))), h("div", { key: 'fd984302e13b2d30c4e0724735b92e91150694af', class: "overflow" }, h("udp-pop-over", { key: '296ae16800bd847a6f2d45c65c9971e2fa9642c0', isOpen: this.popoverOpen, anchorElement: document.getElementById('anchorElement') }, h("div", { key: '8edb5977027465a416e5440104c0b97da7df23a7', class: "menu" }, this.menuChildren && this.menuChildren.map((child, index) => (h("stencil-chip", { key: index, text: child.label, "show-delete": "false" }, " "))))))));
|
|
7614
7614
|
}
|
|
7615
7615
|
get el() { return getElement(this); }
|
|
7616
7616
|
static get watchers() { return {
|
|
@@ -7688,10 +7688,10 @@ const UdpGridLoader = class {
|
|
|
7688
7688
|
}
|
|
7689
7689
|
render() {
|
|
7690
7690
|
// Header bar (fatter, divided into columns)
|
|
7691
|
-
const headerBar = (h("div", { key: '
|
|
7691
|
+
const headerBar = (h("div", { key: '45f44170dff0e08a68d1d53f32a3961d86712b58', class: "grid-row" }, Array.from({ length: this.numColumns }).map(() => (h("udp-skeleton-loading", { width: "100%", height: "55px" })))));
|
|
7692
7692
|
// Row bars (each divided into columns)
|
|
7693
7693
|
const rowBars = Array.from({ length: this.numRows }).map(() => (h("div", { class: "grid-row" }, Array.from({ length: this.numColumns }).map(() => (h("udp-skeleton-loading", { width: "100%", height: "30px" }))))));
|
|
7694
|
-
return (h("div", { key: '
|
|
7694
|
+
return (h("div", { key: '9c9be92fa74d1a27aba15e811c863b07ba672c05', style: { width: this.width } }, headerBar, rowBars));
|
|
7695
7695
|
}
|
|
7696
7696
|
};
|
|
7697
7697
|
UdpGridLoader.style = udpGridLoaderCss;
|
|
@@ -7727,7 +7727,7 @@ const UdpHotlistForm = class {
|
|
|
7727
7727
|
// console.log('Cancel button clicked');
|
|
7728
7728
|
// }
|
|
7729
7729
|
render() {
|
|
7730
|
-
return (h("div", { key: '
|
|
7730
|
+
return (h("div", { key: 'fed1159fa6172e2ef425fda713135e3cdac5b998', class: "wrapper" }, h("form", { key: '4bcf1830addf2e62a4b80bb689760997d53412de', class: "save-form", onSubmit: this.handleSubmit }, h("text-field", { key: '55b95fbe7649a5ff8a3d0a275ad55a2c0a2bcc11', label: "Hotlist Name", placeholder: "Create a name for your Hotlist", value: this.name, onChange: (event) => this.handleNameChange(event) }), h("stencil-toggle", { key: '1ff5aa5b5ff37e5870abeb5f15f4254586c2124e', label: "Private", checked: this.isPrivate, onToggledChange: this.handlePrivateChange }), h("div", { key: '101fd16f08d5aaf1d054dd91f0bd9a0451ac299c', class: "submit-button" }, h("custom-button", { key: '2af466a976f5f9cdebf9cd1054e7bb7bddbb9b32', variant: 'outline', type: "submit", onCustomClick: this.handleCancelClick }, "Cancel"), h("custom-button", { key: '58b86c74365d86ce22131e6462e83fe5036a15ba', disabled: !this.name, type: "submit", onCustomClick: this.onCustomButtonClick }, "Create List")))));
|
|
7731
7731
|
}
|
|
7732
7732
|
get el() { return getElement(this); }
|
|
7733
7733
|
};
|
|
@@ -7747,6 +7747,9 @@ const UdpIcon = class {
|
|
|
7747
7747
|
render() {
|
|
7748
7748
|
var _a, _b;
|
|
7749
7749
|
const iconData = getIconFromName(this.iconName, this.iconType);
|
|
7750
|
+
if (!iconData) {
|
|
7751
|
+
return null;
|
|
7752
|
+
}
|
|
7750
7753
|
let iconColor;
|
|
7751
7754
|
if (this.color) {
|
|
7752
7755
|
switch (this.color) {
|
|
@@ -7775,7 +7778,7 @@ const UdpIcon = class {
|
|
|
7775
7778
|
else {
|
|
7776
7779
|
iconColor = this.darkIcon ? 'black' : 'white';
|
|
7777
7780
|
}
|
|
7778
|
-
return (h("div", {
|
|
7781
|
+
return (h("div", { class: "icon-container" }, h("svg", Object.assign({}, ((_a = iconData === null || iconData === void 0 ? void 0 : iconData.attrs) !== null && _a !== void 0 ? _a : {}), { fill: iconColor }), (_b = iconData === null || iconData === void 0 ? void 0 : iconData.content) === null || _b === void 0 ? void 0 : _b.map((item, index) => {
|
|
7779
7782
|
var _a, _b;
|
|
7780
7783
|
if ((item === null || item === void 0 ? void 0 : item.elem) === 'path') {
|
|
7781
7784
|
return h("path", Object.assign({}, ((_a = item === null || item === void 0 ? void 0 : item.attrs) !== null && _a !== void 0 ? _a : {}), { key: index }));
|
|
@@ -7804,7 +7807,7 @@ const UdpLinearLoader = class {
|
|
|
7804
7807
|
loader: true,
|
|
7805
7808
|
[`loader--color-${this.color}`]: true,
|
|
7806
7809
|
};
|
|
7807
|
-
return (h(Host, { key: '
|
|
7810
|
+
return (h(Host, { key: 'e87886877c3dd11c47b1cc2a04f24fac06a6834c' }, h("div", { key: '13fd6426afe4ab10b8f69cf577674a80086388e4', class: loaderClasses }, h("div", { key: '230bb05b4fa3082299aed007ff77588deb4a46d2', class: "indeterminate" }))));
|
|
7808
7811
|
}
|
|
7809
7812
|
};
|
|
7810
7813
|
UdpLinearLoader.style = udpLinearLoaderCss;
|
|
@@ -7825,7 +7828,7 @@ const UdpMenuItem = class {
|
|
|
7825
7828
|
};
|
|
7826
7829
|
}
|
|
7827
7830
|
render() {
|
|
7828
|
-
return (h("button", { key: '
|
|
7831
|
+
return (h("button", { key: 'fb7827a4ddd3ec09634dde5e392b82ee2bc2aa56', class: "menu-item-root", onClick: this.handleItemClick, disabled: this.disabled, role: "menuitem" }, this.iconName && h("udp-icon", { key: '7cb749410ab0d3db5ed37a80014a2db733b7611f', iconName: this.iconName, class: "menu-icon" }), h("span", { key: 'd123d5a3d5bce228283bd829e25a0c187d791274', class: "menu-item-label" }, h("unity-typography", { key: '1c139bca8c0b84d41246bbf17e793301a9c79235', variant: 'body1' }, this.label))));
|
|
7829
7832
|
}
|
|
7830
7833
|
};
|
|
7831
7834
|
UdpMenuItem.style = udpMenuItemCss;
|
|
@@ -7846,11 +7849,11 @@ const UdpNotification = class {
|
|
|
7846
7849
|
}
|
|
7847
7850
|
render() {
|
|
7848
7851
|
const statusClass = `status-${this.status}`;
|
|
7849
|
-
return (h("div", { key: '
|
|
7852
|
+
return (h("div", { key: '555f2f94b04009382fac53a32d74f8f84f14a733', class: {
|
|
7850
7853
|
'udp-notification': true,
|
|
7851
7854
|
'visible': this.active,
|
|
7852
7855
|
[statusClass]: true // This will apply the correct class based on the status
|
|
7853
|
-
} }, this.userCancel && (h("button", { key: '
|
|
7856
|
+
} }, this.userCancel && (h("button", { key: 'a9e6b1a2faa49b97d3d39da732a0b3e35045228d', class: "close-button", onClick: () => this.active = false }, "\u00D7")), h("span", { key: 'ed21c8f3e5e3fa53d2a1d4a54835e0f4b63210c4', class: "message" }, " ", h("unity-typography", { key: '9283d1e980b03cd92e5721d7a41209ee0c109cdf', variant: 'body' }, " ", this.message, " "))));
|
|
7854
7857
|
}
|
|
7855
7858
|
static get watchers() { return {
|
|
7856
7859
|
"active": ["activeChanged"]
|
|
@@ -7992,7 +7995,7 @@ const UdpPopOver$1 = class UdpPopOver {
|
|
|
7992
7995
|
maxHeight: this.popoverMaxHeight,
|
|
7993
7996
|
overflow: this.overflow
|
|
7994
7997
|
};
|
|
7995
|
-
return (h(Host, { key: '
|
|
7998
|
+
return (h(Host, { key: 'a064210032eb7db2bba02fee5c9a857fffc4cbcf' }, h("div", { key: '1cd02d254250afed442607f0925613dafb0ef63f', class: "popover", style: style }, h("slot", { key: '085cca6f9a387c33b56fd18d41b54fbfd4b59b90' }))));
|
|
7996
7999
|
}
|
|
7997
8000
|
get hostEl() { return getElement(this); }
|
|
7998
8001
|
static get watchers() { return {
|
|
@@ -8040,7 +8043,7 @@ const UdpPopOver = class {
|
|
|
8040
8043
|
style['top'] = `${rect.bottom}px`;
|
|
8041
8044
|
style['left'] = `${rect.left}px`;
|
|
8042
8045
|
}
|
|
8043
|
-
return (h("div", { key: '
|
|
8046
|
+
return (h("div", { key: '8db3050c709cd4652f36b7f7fccdf5474fef6786', class: "popover", style: style }, h("unity-typography", { key: '1d45adc91c79e9c417161bedd9c347884738b612', variant: "caption-text" }, h("slot", { key: '4782e7ff5fef34f131e21b3c6e85c6162543aa11' }))));
|
|
8044
8047
|
}
|
|
8045
8048
|
get el() { return getElement(this); }
|
|
8046
8049
|
static get watchers() { return {
|
|
@@ -8385,7 +8388,7 @@ const UdpSelector = class {
|
|
|
8385
8388
|
'focused': this.isOpen,
|
|
8386
8389
|
};
|
|
8387
8390
|
const hasSelection = this.multiSelect ? this.selectedOptions.length > 0 : !!this.selectedOption;
|
|
8388
|
-
return (h(Host, { key: '
|
|
8391
|
+
return (h(Host, { key: 'ff3d430a821267669e8ba41d4d814be594042f0c', class: {
|
|
8389
8392
|
'udp-input': true,
|
|
8390
8393
|
'udp-selector': true,
|
|
8391
8394
|
'udp-input--error': isError,
|
|
@@ -8395,9 +8398,9 @@ const UdpSelector = class {
|
|
|
8395
8398
|
'udp-input--large': this.large,
|
|
8396
8399
|
[`udp-input--size-${this.size}`]: true,
|
|
8397
8400
|
[`udp-input--margin-${this.margin}`]: true,
|
|
8398
|
-
}, "aria-invalid": isError ? 'true' : 'false', "aria-required": this.required ? 'true' : 'false' }, h("div", { key: '
|
|
8401
|
+
}, "aria-invalid": isError ? 'true' : 'false', "aria-required": this.required ? 'true' : 'false' }, h("div", { key: 'b81f9ba1806adfade81fb55b0f9ecc1fba2ce305', class: "bx--form-item" }, this.label && (h("unity-typography", { key: 'b207e16041dda5996f21e58c7d305a19ae9a5810', variant: "caption-text" }, h("label", { key: 'babd3165a21c7ff38199494a6276ee2c814632c5', htmlFor: this.id, class: "bx--label" }, this.label, this.required ? '*' : ''))), h("div", { key: '08bd70119c4f353d8ad318e298da088e2812fd99', class: "udp-selector__container" }, h("div", { key: 'b4aff7c12f9199ce974bb9591812ff9ddd94ef46', class: selectedOptionClasses, onClick: () => this.toggleDropdown(), tabindex: this.disabled || this.readonly ? '-1' : '0', role: "combobox", "aria-haspopup": "listbox", "aria-expanded": this.isOpen.toString(), id: 'udpRecord-udp-selector-' + this.id,
|
|
8399
8402
|
// @ts-ignore
|
|
8400
|
-
udprecordid: 'udpRecord-udp-selector-' + this.id }, h("div", { key: '
|
|
8403
|
+
udprecordid: 'udpRecord-udp-selector-' + this.id }, h("div", { key: 'fdc3d8248a8de967b0136f9cb8a259fcf0f309f2', class: {
|
|
8401
8404
|
'selected-option-label': true,
|
|
8402
8405
|
'placeholder': !hasSelection,
|
|
8403
8406
|
} }, this.multiSelect
|
|
@@ -8406,7 +8409,7 @@ const UdpSelector = class {
|
|
|
8406
8409
|
: 'Select option(s)'
|
|
8407
8410
|
: this.selectedOption
|
|
8408
8411
|
? this.selectedOption.label
|
|
8409
|
-
: 'Select an option'), this.multiSelect && this.selectedOptions.length > 0 && h("span", { key: '
|
|
8412
|
+
: 'Select an option'), this.multiSelect && this.selectedOptions.length > 0 && h("span", { key: '7bf13954e3374093da80d54c53f43d110f6575a5', class: "checkmark" }), h("div", { key: 'd3fe7ba8c3ab16fdc1073a8c9b494fbe324f23d0', class: "arrow" })), this.isOpen && (h("ul", { key: '0be46a38647b29310324b446993121d404e7bd77', class: "options-list" }, this.options.map(option => (h("unity-typography", { variant: "button" }, h("li", { class: this.isOptionSelected(option) ? 'selected' : '', onClick: () => this.selectOption(option), onMouseDown: this.handleOptionMouseDown }, option.label, this.isOptionSelected(option) && h("span", { class: "checkmark" })))))))), this.errorMessage && (h("div", { key: '6fdfcb547313774dc09085af93e07c75379097cc', class: "error-message" }, h("unity-typography", { key: '93ff63ec2f2c8e318bcdd51bbbf88ad7047a8dbc', variant: "caption-text", color: "error" }, this.errorMessage))))));
|
|
8410
8413
|
}
|
|
8411
8414
|
/**
|
|
8412
8415
|
* Checks if a given option is currently selected.
|
|
@@ -8444,12 +8447,12 @@ const UdpSkeletonLoading = class {
|
|
|
8444
8447
|
this.borderRadius = '4px';
|
|
8445
8448
|
}
|
|
8446
8449
|
render() {
|
|
8447
|
-
return (h("div", { key: '
|
|
8450
|
+
return (h("div", { key: '8af6143940732dff91329dbd3acd7f0f9b9f2f97', class: "skeleton-loader", style: { width: this.width, height: this.height, borderRadius: this.borderRadius } }));
|
|
8448
8451
|
}
|
|
8449
8452
|
};
|
|
8450
8453
|
UdpSkeletonLoading.style = udpSkeletonLoadingCss;
|
|
8451
8454
|
|
|
8452
|
-
const udpTabCss = ".tab-panel{display:none
|
|
8455
|
+
const udpTabCss = ".tab-panel{display:none}.tab-panel.active{display:block}";
|
|
8453
8456
|
|
|
8454
8457
|
const UdpTab = class {
|
|
8455
8458
|
constructor(hostRef) {
|
|
@@ -8476,16 +8479,17 @@ const UdpTab = class {
|
|
|
8476
8479
|
this.disabled = false;
|
|
8477
8480
|
}
|
|
8478
8481
|
render() {
|
|
8479
|
-
return (h("div", { key: '
|
|
8482
|
+
return (h("div", { key: '20ba03ac77abb9cde63aa864aac67db7c57bf66a', class: { 'tab-panel': true, 'active': this.active }, role: "tabpanel" }, h("slot", { key: 'd4b0450e94770421adae0e47c0b868d00cdf772d' })));
|
|
8480
8483
|
}
|
|
8481
8484
|
};
|
|
8482
8485
|
UdpTab.style = udpTabCss;
|
|
8483
8486
|
|
|
8484
|
-
const udpTabsCss = ".tab-container{display:flex;flex-direction:column}.tab-header{background-color:#ffffff;position:relative;display:flex;align-items:center}.tab-scroll-container{display:flex;position:relative;overflow-x:auto;overflow-y:hidden;flex:1;min-width:0}.tab-scroll-container::-webkit-scrollbar{height:4px}.tab-scroll-container::-webkit-scrollbar-track{background:transparent}.tab-scroll-container::-webkit-scrollbar-thumb{background-color:rgba(0, 0, 0, 0.2);border-radius:4px}.tab-scroll-container::-webkit-scrollbar-thumb:hover{background-color:rgba(0, 0, 0, 0.3)}.tab-header::after{content:'';position:absolute;bottom:0;left:0;width:100%;height:1px;background-color:var(--divider-color, #e0e0e0)}.tab-header button{padding:16px;font-size:14px;text-align:center;border:none;background:none;cursor:pointer;outline:none;transition:all 0.22s ease;color:#555555;font-weight:600;opacity:0.9;white-space:nowrap;display:flex;align-items:center;justify-content:center;gap:8px}.tab-header.fill .tab-scroll-container{width:100%}.tab-header.fill .tab-scroll-container button{flex-grow:1}.tab-header button.active{color:var(--secondary-color, #344861);opacity:1.0}.tab-header button.scroll-arrow{position:absolute;top:0;bottom:0;display:flex;align-items:center;justify-content:center;width:40px;padding:0;background:#ffffff;cursor:pointer;font-size:16px;font-weight:bold;color:#757575;z-index:2;transition:color 0.2s ease;flex-shrink:0;opacity:1;gap:0}.tab-header button.scroll-arrow:hover{color:#000}.tab-header button.scroll-arrow.left{left:0}.tab-header button.scroll-arrow.right{right:0}.scroll-fade{position:absolute;top:0;bottom:0;width:30px;z-index:1;pointer-events:none}.scroll-fade.left{left:40px;background:linear-gradient(\n to right,\n #ffffff,\n rgba(255, 255, 255, 0)\n )}.scroll-fade.right{right:40px;background:linear-gradient(\n to left,\n #ffffff,\n rgba(255, 255, 255, 0)\n )}.tab-header button udp-icon{font-size:1.2em;line-height:1}.tab-header button.icon-start{flex-direction:row}.tab-header button.icon-end{flex-direction:row-reverse}.tab-header button.icon-top{flex-direction:column;gap:4px}.tab-header button.icon-bottom{flex-direction:column-reverse;gap:4px}.
|
|
8487
|
+
const udpTabsCss = ".tab-container{display:flex;flex-direction:column}.tab-header{background-color:#ffffff;position:relative;display:flex;align-items:center}.tab-scroll-container{display:flex;position:relative;overflow-x:auto;overflow-y:hidden;flex:1;min-width:0}.tab-scroll-container::-webkit-scrollbar{height:4px}.tab-scroll-container::-webkit-scrollbar-track{background:transparent}.tab-scroll-container::-webkit-scrollbar-thumb{background-color:rgba(0, 0, 0, 0.2);border-radius:4px}.tab-scroll-container::-webkit-scrollbar-thumb:hover{background-color:rgba(0, 0, 0, 0.3)}.tab-header::after{content:'';position:absolute;bottom:0;left:0;width:100%;height:1px;background-color:var(--divider-color, #e0e0e0)}.tab-header button{padding:16px;font-size:14px;text-align:center;border:none;background:none;cursor:pointer;outline:none;transition:all 0.22s ease;color:#555555;font-weight:600;opacity:0.9;white-space:nowrap;display:flex;align-items:center;justify-content:center;gap:8px}.tab-header.fill .tab-scroll-container{width:100%}.tab-header.fill .tab-scroll-container button{flex-grow:1}.tab-header button.active{color:var(--secondary-color, #344861);opacity:1.0}.tab-header button.scroll-arrow{position:absolute;top:0;bottom:0;display:flex;align-items:center;justify-content:center;width:40px;padding:0;background:#ffffff;cursor:pointer;font-size:16px;font-weight:bold;color:#757575;z-index:2;transition:color 0.2s ease;flex-shrink:0;opacity:1;gap:0}.tab-header button.scroll-arrow:hover{color:#000}.tab-header button.scroll-arrow.left{left:0}.tab-header button.scroll-arrow.right{right:0}.scroll-fade{position:absolute;top:0;bottom:0;width:30px;z-index:1;pointer-events:none}.scroll-fade.left{left:40px;background:linear-gradient(\n to right,\n #ffffff,\n rgba(255, 255, 255, 0)\n )}.scroll-fade.right{right:40px;background:linear-gradient(\n to left,\n #ffffff,\n rgba(255, 255, 255, 0)\n )}.tab-header button udp-icon{font-size:1.2em;line-height:1}.tab-header button.icon-start{flex-direction:row}.tab-header button.icon-end{flex-direction:row-reverse}.tab-header button.icon-top{flex-direction:column;gap:4px}.tab-header button.icon-bottom{flex-direction:column-reverse;gap:4px}.slider{position:absolute;bottom:0;left:0;height:2px;background-color:var(--secondary-color, #344861);transition:transform 0.22s cubic-bezier(0.4, 0, 0.2, 1),\n width 0.22s cubic-bezier(0.4, 0, 0.2, 1);z-index:1}.tab-header button.disabled{opacity:0.5;cursor:not-allowed}.tab-header button.disabled.active{color:#757575;opacity:0.5}";
|
|
8485
8488
|
|
|
8486
8489
|
const UdpTabs = class {
|
|
8487
8490
|
constructor(hostRef) {
|
|
8488
8491
|
registerInstance(this, hostRef);
|
|
8492
|
+
this.udpTabChange = createEvent(this, "udpTabChange");
|
|
8489
8493
|
/**
|
|
8490
8494
|
* Specifies the layout variant of the tab header.
|
|
8491
8495
|
*
|
|
@@ -8493,18 +8497,46 @@ const UdpTabs = class {
|
|
|
8493
8497
|
* - `'fill'`: Tabs will stretch to fill the available horizontal space.
|
|
8494
8498
|
*/
|
|
8495
8499
|
this.variant = 'fill';
|
|
8496
|
-
|
|
8497
|
-
|
|
8500
|
+
/**
|
|
8501
|
+
* (Optional) An array of tab configuration objects.
|
|
8502
|
+
* If provided, this will be used to render tabs instead of slotted `<udp-tab>` components.
|
|
8503
|
+
* This mode is typically used with controlled tabs.
|
|
8504
|
+
*/
|
|
8505
|
+
this.tabs = [];
|
|
8506
|
+
this.internalActiveTab = 0; // For uncontrolled mode
|
|
8507
|
+
this.tabDetails = []; // Unified details from prop or slot
|
|
8498
8508
|
this.sliderStyle = {
|
|
8499
8509
|
width: '0',
|
|
8500
8510
|
transform: 'translateX(0)',
|
|
8501
8511
|
};
|
|
8502
8512
|
this.showScrollLeft = false;
|
|
8503
8513
|
this.showScrollRight = false;
|
|
8504
|
-
this.
|
|
8514
|
+
this.slottedTabs = []; // Renamed from `tabs`
|
|
8505
8515
|
this.buttonRefs = [];
|
|
8506
8516
|
}
|
|
8517
|
+
/**
|
|
8518
|
+
* Returns true if the component is in controlled mode.
|
|
8519
|
+
*/
|
|
8520
|
+
get isControlled() {
|
|
8521
|
+
return this.value != null;
|
|
8522
|
+
}
|
|
8523
|
+
/**
|
|
8524
|
+
* Returns true if tabs are being provided by the `tabs` prop.
|
|
8525
|
+
*/
|
|
8526
|
+
get useTabsProp() {
|
|
8527
|
+
return this.tabs && this.tabs.length > 0;
|
|
8528
|
+
}
|
|
8529
|
+
/**
|
|
8530
|
+
* Returns the currently active tab index,
|
|
8531
|
+
* respecting controlled or uncontrolled mode.
|
|
8532
|
+
*/
|
|
8533
|
+
get activeTab() {
|
|
8534
|
+
return this.isControlled ? this.value : this.internalActiveTab;
|
|
8535
|
+
}
|
|
8507
8536
|
handleSlotChange() {
|
|
8537
|
+
// If we're using the tabs prop, slot changes are irrelevant
|
|
8538
|
+
if (this.useTabsProp)
|
|
8539
|
+
return;
|
|
8508
8540
|
this.initializeTabs();
|
|
8509
8541
|
}
|
|
8510
8542
|
handleResize() {
|
|
@@ -8516,9 +8548,27 @@ const UdpTabs = class {
|
|
|
8516
8548
|
componentDidLoad() {
|
|
8517
8549
|
this.initializeTabs();
|
|
8518
8550
|
}
|
|
8519
|
-
|
|
8551
|
+
/**
|
|
8552
|
+
* Watcher for uncontrolled state changes.
|
|
8553
|
+
*/
|
|
8554
|
+
onActiveTabChange(newValue) {
|
|
8555
|
+
this.updateActiveTabs();
|
|
8556
|
+
this.updateSliderPosition();
|
|
8557
|
+
this.scrollTabIntoView(newValue);
|
|
8558
|
+
}
|
|
8559
|
+
/**
|
|
8560
|
+
* Watcher for controlled state changes.
|
|
8561
|
+
*/
|
|
8562
|
+
onValueChange(newValue) {
|
|
8520
8563
|
this.updateActiveTabs();
|
|
8521
8564
|
this.updateSliderPosition();
|
|
8565
|
+
this.scrollTabIntoView(newValue);
|
|
8566
|
+
}
|
|
8567
|
+
/**
|
|
8568
|
+
* Watcher for tabs prop changes.
|
|
8569
|
+
*/
|
|
8570
|
+
onTabsPropChange() {
|
|
8571
|
+
this.initializeTabs();
|
|
8522
8572
|
}
|
|
8523
8573
|
onVariantChange() {
|
|
8524
8574
|
requestAnimationFrame(() => {
|
|
@@ -8529,21 +8579,29 @@ const UdpTabs = class {
|
|
|
8529
8579
|
initializeTabs() {
|
|
8530
8580
|
var _a, _b;
|
|
8531
8581
|
this.buttonRefs = [];
|
|
8532
|
-
|
|
8533
|
-
|
|
8534
|
-
|
|
8535
|
-
|
|
8536
|
-
|
|
8537
|
-
|
|
8538
|
-
|
|
8539
|
-
|
|
8540
|
-
|
|
8541
|
-
|
|
8542
|
-
|
|
8543
|
-
|
|
8544
|
-
|
|
8545
|
-
|
|
8546
|
-
|
|
8582
|
+
if (this.useTabsProp) {
|
|
8583
|
+
// --- Prop-based ---
|
|
8584
|
+
this.tabDetails = this.tabs.map(t => (Object.assign({}, t))); // Use data from prop
|
|
8585
|
+
this.slottedTabs = []; // Ensure we're not tracking slotted tabs
|
|
8586
|
+
}
|
|
8587
|
+
else {
|
|
8588
|
+
// --- Slot-based ---
|
|
8589
|
+
this.slottedTabs = Array.from(this.el.children).filter((child) => child.tagName.toLowerCase() === 'udp-tab');
|
|
8590
|
+
this.tabDetails = this.slottedTabs.map(tab => ({
|
|
8591
|
+
label: tab.label,
|
|
8592
|
+
icon: tab.icon,
|
|
8593
|
+
iconPlacement: tab.iconPlacement,
|
|
8594
|
+
hidden: tab.hidden,
|
|
8595
|
+
disabled: tab.disabled,
|
|
8596
|
+
}));
|
|
8597
|
+
}
|
|
8598
|
+
// --- Common Logic ---
|
|
8599
|
+
// In uncontrolled mode, check if the default active tab is invalid.
|
|
8600
|
+
if (!this.isControlled) {
|
|
8601
|
+
if (((_a = this.tabDetails[this.internalActiveTab]) === null || _a === void 0 ? void 0 : _a.hidden) || ((_b = this.tabDetails[this.internalActiveTab]) === null || _b === void 0 ? void 0 : _b.disabled)) {
|
|
8602
|
+
const firstValidIndex = this.tabDetails.findIndex(tab => !tab.hidden && !tab.disabled);
|
|
8603
|
+
this.internalActiveTab = firstValidIndex > -1 ? firstValidIndex : 0;
|
|
8604
|
+
}
|
|
8547
8605
|
}
|
|
8548
8606
|
this.updateActiveTabs();
|
|
8549
8607
|
requestAnimationFrame(() => {
|
|
@@ -8552,12 +8610,17 @@ const UdpTabs = class {
|
|
|
8552
8610
|
});
|
|
8553
8611
|
}
|
|
8554
8612
|
updateActiveTabs() {
|
|
8555
|
-
|
|
8556
|
-
|
|
8557
|
-
|
|
8613
|
+
// Only update slotted tabs if we're in slot mode
|
|
8614
|
+
if (!this.useTabsProp) {
|
|
8615
|
+
const currentActiveTab = this.activeTab;
|
|
8616
|
+
this.slottedTabs.forEach((tab, index) => {
|
|
8617
|
+
tab.active = index === currentActiveTab;
|
|
8618
|
+
});
|
|
8619
|
+
}
|
|
8620
|
+
// If in prop mode, the <button> 'active' class is handled by render()
|
|
8558
8621
|
}
|
|
8559
8622
|
updateSliderPosition() {
|
|
8560
|
-
const activeButton = this.buttonRefs[this.activeTab];
|
|
8623
|
+
const activeButton = this.buttonRefs[this.activeTab]; // Use getter
|
|
8561
8624
|
if (!activeButton) {
|
|
8562
8625
|
this.sliderStyle = { width: '0px', transform: 'translateX(0px)' };
|
|
8563
8626
|
return;
|
|
@@ -8580,7 +8643,18 @@ const UdpTabs = class {
|
|
|
8580
8643
|
if ((_a = this.tabDetails[tabIndex]) === null || _a === void 0 ? void 0 : _a.disabled) {
|
|
8581
8644
|
return;
|
|
8582
8645
|
}
|
|
8583
|
-
this.
|
|
8646
|
+
if (this.isControlled) {
|
|
8647
|
+
// In controlled mode, emit the event for the parent to handle.
|
|
8648
|
+
// The `onValueChange` watcher will handle UI updates when the prop changes.
|
|
8649
|
+
this.udpTabChange.emit(tabIndex);
|
|
8650
|
+
}
|
|
8651
|
+
else {
|
|
8652
|
+
// In uncontrolled mode, update state directly.
|
|
8653
|
+
// The `onActiveTabChange` watcher will handle UI updates.
|
|
8654
|
+
this.internalActiveTab = tabIndex;
|
|
8655
|
+
}
|
|
8656
|
+
}
|
|
8657
|
+
scrollTabIntoView(tabIndex) {
|
|
8584
8658
|
const tabButton = this.buttonRefs[tabIndex];
|
|
8585
8659
|
const container = this.scrollContainerRef;
|
|
8586
8660
|
if (!tabButton || !container)
|
|
@@ -8591,20 +8665,16 @@ const UdpTabs = class {
|
|
|
8591
8665
|
const safeZonePadding = 70;
|
|
8592
8666
|
const safeZoneLeft = scrollLeft + safeZonePadding;
|
|
8593
8667
|
const safeZoneRight = scrollLeft + clientWidth - safeZonePadding;
|
|
8594
|
-
// Check if the tab's left edge is hidden by the left fade
|
|
8595
8668
|
if (tabLeft < safeZoneLeft) {
|
|
8596
|
-
// Scroll to position the tab's left edge at the start of the safe zone
|
|
8597
8669
|
container.scrollTo({
|
|
8598
8670
|
left: tabLeft - safeZonePadding,
|
|
8599
|
-
behavior: 'smooth'
|
|
8671
|
+
behavior: 'smooth',
|
|
8600
8672
|
});
|
|
8601
8673
|
}
|
|
8602
|
-
// Check if the tab's right edge is hidden by the right fade
|
|
8603
8674
|
else if (tabRight > safeZoneRight) {
|
|
8604
|
-
// Scroll to position the tab's right edge at the end of the safe zone
|
|
8605
8675
|
container.scrollTo({
|
|
8606
8676
|
left: tabRight - clientWidth + safeZonePadding,
|
|
8607
|
-
behavior: 'smooth'
|
|
8677
|
+
behavior: 'smooth',
|
|
8608
8678
|
});
|
|
8609
8679
|
}
|
|
8610
8680
|
}
|
|
@@ -8622,25 +8692,28 @@ const UdpTabs = class {
|
|
|
8622
8692
|
container.scrollTo({ left: maxScrollLeft, behavior: 'smooth' });
|
|
8623
8693
|
}
|
|
8624
8694
|
render() {
|
|
8625
|
-
|
|
8695
|
+
const currentActiveTab = this.activeTab; // Use getter
|
|
8696
|
+
return (h("div", { key: '7446df2caa768cb8161b59992cdbbf5bbae2146f', class: "tab-container" }, h("div", { key: '78eb57f157f69543baaf8eab9b5282cdba37bbb9', class: `tab-header ${this.variant}` }, this.showScrollLeft && (h("button", { key: 'eb45ebcbfd365a68412c9fa098669085925b5ab9', class: "scroll-arrow left", onClick: () => this.scrollToStart(), "aria-label": "Scroll to first tab" }, h("udp-icon", { key: '0066a09a8942b0624b3a6260a0934ce372e51473', iconName: "chevronLeft16", color: "inherit" }))), this.showScrollLeft && h("div", { key: 'd356a1ebae93318b97e7e9ada3d21fd44e9b1f37', class: "scroll-fade left" }), h("div", { key: '0040b9a6ff0dc8c8881a17b8c4d3f435cf2c67b3', class: "tab-scroll-container", ref: el => (this.scrollContainerRef = el), onScroll: () => this.checkScroll() }, this.tabDetails.map((tab, index) => {
|
|
8626
8697
|
if (tab.hidden) {
|
|
8627
8698
|
return null;
|
|
8628
8699
|
}
|
|
8629
8700
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
8630
8701
|
const iconEl = tab.icon ? h("udp-icon", { iconName: tab.icon, color: 'inherit' }) : null;
|
|
8631
8702
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
8632
|
-
const
|
|
8703
|
+
const labelEl = h("span", null, tab.label);
|
|
8633
8704
|
return (h("button", { class: {
|
|
8634
|
-
'active': index ===
|
|
8705
|
+
'active': index === currentActiveTab,
|
|
8635
8706
|
'has-icon': !!tab.icon,
|
|
8636
8707
|
[`icon-${tab.iconPlacement}`]: !!tab.icon,
|
|
8637
8708
|
'disabled': tab.disabled,
|
|
8638
|
-
}, disabled: tab.disabled, onClick: () => this.tabClicked(index), role: "tab", "aria-selected": index ===
|
|
8639
|
-
}), h("div", { key: '
|
|
8709
|
+
}, disabled: tab.disabled, onClick: () => this.tabClicked(index), role: "tab", "aria-selected": index === currentActiveTab ? 'true' : 'false', "aria-disabled": tab.disabled ? 'true' : 'false', ref: el => (this.buttonRefs[index] = el) }, iconEl, labelEl));
|
|
8710
|
+
}), h("div", { key: '7470bff947872896ee283c35cf37a45fb2a64631', class: "slider", style: this.sliderStyle })), this.showScrollRight && h("div", { key: '820c57b5782c5c85f220fd7b7909351f4a76fcec', class: "scroll-fade right" }), this.showScrollRight && (h("button", { key: 'f8db99b5f8a7401449c3a55eb170b341eaf26df1', class: "scroll-arrow right", onClick: () => this.scrollToEnd(), "aria-label": "Scroll to last tab" }, h("udp-icon", { key: 'b14c8c86928352c683d1140c2b3ba2dd92ebee7f', iconName: "chevronRight16", color: "inherit" })))), !this.isControlled && !this.useTabsProp && (h("div", { key: '95a11117862494527b06f1d5a8c92234a24e89d0' }, h("slot", { key: '4621baa5801a228fc9beb38e3b9b30dc7260e41a' })))));
|
|
8640
8711
|
}
|
|
8641
8712
|
get el() { return getElement(this); }
|
|
8642
8713
|
static get watchers() { return {
|
|
8643
|
-
"
|
|
8714
|
+
"internalActiveTab": ["onActiveTabChange"],
|
|
8715
|
+
"value": ["onValueChange"],
|
|
8716
|
+
"tabs": ["onTabsPropChange"],
|
|
8644
8717
|
"variant": ["onVariantChange"]
|
|
8645
8718
|
}; }
|
|
8646
8719
|
};
|
|
@@ -8713,7 +8786,7 @@ const UpdAlertBanner = class {
|
|
|
8713
8786
|
this.message = '';
|
|
8714
8787
|
}
|
|
8715
8788
|
render() {
|
|
8716
|
-
return (h("div", { key: '
|
|
8789
|
+
return (h("div", { key: '4551695bcaba3fde5445c7a34f1d67d0444af855', class: `alert-banner ${this.type}` }, h("unity-typography", { key: 'd763dea98c2b14a12753f54d5b99c89be23aaf49', variant: "data-display-three" }, " ", this.message, " ")));
|
|
8717
8790
|
}
|
|
8718
8791
|
};
|
|
8719
8792
|
UpdAlertBanner.style = updAlertBannerCss;
|