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
|
@@ -650,7 +650,7 @@ const AgTable = class {
|
|
|
650
650
|
this.height = 'calc(100vh - 200px)';
|
|
651
651
|
}
|
|
652
652
|
render() {
|
|
653
|
-
return (index.h("div", { key: '
|
|
653
|
+
return (index.h("div", { key: '08764e8cfc9a52ac728c67018a849be7f3409408', id: "myGrid", style: { height: this.height, width: '100%' }, class: "ag-theme-material" }));
|
|
654
654
|
}
|
|
655
655
|
get el() { return index.getElement(this); }
|
|
656
656
|
};
|
|
@@ -662,7 +662,7 @@ const AmbientDemoContainer = class {
|
|
|
662
662
|
index.registerInstance(this, hostRef);
|
|
663
663
|
}
|
|
664
664
|
render() {
|
|
665
|
-
return (index.h("div", { key: '
|
|
665
|
+
return (index.h("div", { key: '75dd493b0eed427f414786dcc666948afb7b40db', class: "container" }, index.h("div", { key: 'debe96ae62cfd10154da7432ef470e21d1ab879b', class: "title-container" }, " ", index.h("unity-typography", { key: '64cfc0fcbb5b745004e914fe5819d5a608b83fc4', variant: "button" }, " ", this.title, " "), " "), index.h("slot", { key: 'c75ba7fa50059017da74ac203c9251ab79973645' })));
|
|
666
666
|
}
|
|
667
667
|
};
|
|
668
668
|
AmbientDemoContainer.style = ambientDemoContainerCss;
|
|
@@ -4434,29 +4434,29 @@ const AmbientTemplateGrid = class {
|
|
|
4434
4434
|
this.gridHeight = 'calc(100vh - 200px)';
|
|
4435
4435
|
}
|
|
4436
4436
|
const actionMenuItems = this.getOverflowActionList(this.overflowActionMenuItems, this.selectedRowParams);
|
|
4437
|
-
return (index.h("div", { key: '
|
|
4437
|
+
return (index.h("div", { key: '018efb3b133e06c9e5b5de09529dfa0365a4af7d' }, this.openActionPopoverMenu && (index.h("udp-pop-over", { key: 'ef796986b195bfcdbf71dcb59e547e3b5f1ffa90', isOpen: this.openActionPopoverMenu, anchorElement: this.actionMenuAnchorElement, popoverWidth: "170px", popoverMaxHeight: "250px", handleOnClose: event => {
|
|
4438
4438
|
this.handleOnCloseActionPopover(event);
|
|
4439
|
-
} }, index.h("div", { key: '
|
|
4439
|
+
} }, index.h("div", { key: '03ad81c34aa492d68e9843b54a8d82677c211212', class: "overflowActionButtons" }, actionMenuItems))), index.h("div", { key: '9911c50d42f477d5adedb50649e68490853d870f' }, this.showNotification && (index.h("udp-notification", { key: 'd70cfe54578898de460d39f2bc36ef94ba9b834c', active: this.showNotification, message: this.notificationMessage, status: this.notificationStatus, userCancel: true, style: { zIndex: '999991', transform: 'translateY(20px)' } }))), index.h("style", { key: '9d9394d0326a80b942f7971ed15861746a7ad993' }, `:host ::slotted(.ag-side-bar) {
|
|
4440
4440
|
width: ${filterPanelWidth} !important;
|
|
4441
|
-
}`), index.h("grid-primary-bar", { key: '
|
|
4441
|
+
}`), index.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 => {
|
|
4442
4442
|
this.insightsActionOnClick(e);
|
|
4443
4443
|
}, showInsightsAction: this.showInsightsAction, hiddenActionButtons: this.hiddenActionButtons, primaryActionLabel: this.primaryActionLabel, primaryActionClick: e => {
|
|
4444
4444
|
this.primaryActionOnClick(e);
|
|
4445
|
-
}, 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 }), index.h("udp-pop-over-grid-action-header", { key: '
|
|
4445
|
+
}, 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 }), index.h("udp-pop-over-grid-action-header", { key: '480dd7b03bd9678410c1bf9d7acb88924d7e2194', isOpen: this.gridOptionsDrawerOpen, anchorElement: document.querySelector('grid-primary-bar') }, index.h("stencil-icon-button-grid-action-header", { key: '0777429c0bf2145f87a7f41ad475e7d6cbfe2770', onClick: () => {
|
|
4446
4446
|
this.togglePanel('columns');
|
|
4447
4447
|
this.showGridOptions();
|
|
4448
|
-
}, tooltip: "Show/Hide Columns" }, index.h("unity-typography", { key: '
|
|
4448
|
+
}, tooltip: "Show/Hide Columns" }, index.h("unity-typography", { key: '87c25bcb7cefacb6b9b65b8645c91665bf9939f1', variant: "button" }, "Show/Hide Columns")), index.h("udp-divider", { key: 'ed1a2ae18f7564b077247af285e6c0bb3bdad00c', size: "100%" }), index.h("stencil-icon-button-grid-action-header", { key: 'd3ff65af2ac6d8b728933f48c992c8332125e742', onClick: () => {
|
|
4449
4449
|
this.fitColumns();
|
|
4450
4450
|
this.showGridOptions();
|
|
4451
|
-
}, tooltip: "Fit to Column" }, index.h("unity-typography", { key: '
|
|
4451
|
+
}, tooltip: "Fit to Column" }, index.h("unity-typography", { key: '9070ae7f71efcae2f173be939fa255bf711ebad6', variant: "button" }, "Fit to Column")), index.h("udp-divider", { key: 'a59c8cdcd675478bd34c0e3db9bad66de08e888f', size: "0px" }), index.h("stencil-icon-button-grid-action-header", { key: '27d303bc18c56e77b00f28b648544da35257cce0', onClick: () => {
|
|
4452
4452
|
this.expandColumns();
|
|
4453
4453
|
this.showGridOptions();
|
|
4454
|
-
}, tooltip: "Expand Grid" }, index.h("unity-typography", { key: '
|
|
4454
|
+
}, tooltip: "Expand Grid" }, index.h("unity-typography", { key: '0f9862404272ad54b2ed8e7ee617c4145542def8', variant: "button" }, "Expand Grid")), index.h("udp-divider", { key: '19e25f0468d88e4693da59e2d7b512c8bbf772e5', size: "0px" }), !this.disableSearchSwitch && (index.h("stencil-icon-button-grid-action-header", { key: 'e6cce37025fd7400b9f3307a195c46e3cae02f8f', onClick: () => {
|
|
4455
4455
|
this.handleSearchModeToggle();
|
|
4456
4456
|
this.showGridOptions();
|
|
4457
|
-
}, tooltip: this.enableAdvancedSearch ? 'Standard Search' : 'Advanced Search' }, index.h("unity-typography", { key: '
|
|
4457
|
+
}, tooltip: this.enableAdvancedSearch ? 'Standard Search' : 'Advanced Search' }, index.h("unity-typography", { key: '558125a22a8e1d5d714b22be4081a06b7af06d43', variant: "button" }, this.enableAdvancedSearch ? 'Standard Search' : 'Advanced Search')))), index.h("div", { key: 'a9a0ae547a462373a757c05cf375534f65708cee', class: "second-row", style: { display: shouldHideSecondRow ? 'none' : '' } }, !this.hideBulkActions && this.rowsSelected && (index.h("div", { key: 'd42c01a2b8dfdce5e70b98e6dcb3be79cf2e5dc1', class: "bulk-select" }, index.h("udp-badge", { key: '9ca967b40720a497161874a5013040b4a0b113f2', content: this.selectedRowCount }, index.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 && (index.h("div", { key: 'b10ffb19b6f7394c3ce554b19a9dedb0ac234db6', class: "chip-wrapper" }, index.h("stencil-chip", { key: 'efa8c1b100d739c6dcb3977ea5323a08f51edd56', text: this.loadedViewTitle,
|
|
4458
4458
|
// onOnDelete={this.handleDelete as any}
|
|
4459
|
-
onOnDelete: this.handleViewChipDelete, color: "secondary", defaultToggled: true, leftIcon: Star16__default.default, showLeftIcon: this.selectedViewIsDefault }), index.h("udp-divider", { key: '
|
|
4459
|
+
onOnDelete: this.handleViewChipDelete, color: "secondary", defaultToggled: true, leftIcon: Star16__default.default, showLeftIcon: this.selectedViewIsDefault }), index.h("udp-divider", { key: '05498eabbf0adad82794afa1aeade6f815701c48', variant: "vertical", size: "30px" }))), this.hotListActive && (index.h("div", { key: '2d918d4824be31993449e993cd88fe7c9ac4123c', class: "chip-wrapper" }, index.h("stencil-chip", { key: 'd3708cebd821070ff7cf1c4936f337c7951c9b2b', text: this.hotListActive, color: "secondary", onOnDelete: this.handleRemoveHotlist, defaultToggled: true, leftIcon: List16__default.default }), index.h("udp-divider", { key: '64a23fcededff62d6df0f0fe18d8609c6486bbab', variant: "vertical", size: "30px" }))), index.h("div", { key: '736a3067ddec75228fdd84114e5ccc8de92f6d00', class: "chip-section" }, this.filterChips.length > 0 && (index.h("udp-dynamic-container-with-menu", { key: '31255d0eae05434a2576292f8af259f31ba19696', id: "filterChipsContainer", externalToggle: this.externalToggle, onUdpChipClicked: (event) => this.setFilterFromChips(event.detail), menuItems: this.filterChips }))), index.h("div", { key: 'dc613f41cb2b48b92df7d2f6c9beaa855a260b84', class: "kpi" }, index.h("kpi-list", { key: 'd605a061e7ede80827de7c8f2b6a090335077424', kpiValues: this.kpiValues }))), this.gridError && (index.h("div", { key: 'a60877c818046db8008c5900febfc31624132e0b' }, index.h("upd-alert-banner", { key: 'f15e52c48f370bc943069ec16ab80bcb57d88a2a', type: "error", message: `An error occurred with loading the grid with data.` }))), index.h("div", { key: '768014761eefb68887a55e7e61a2bece3f189f65', style: { height: '4px', backgroundColor: shouldHideSecondRow ? 'var(--accent-color)' : 'rgb(247, 245, 243)', overflow: 'hidden' } }, this.linearLoading && index.h("udp-linear-loader", { key: '3cdd4e20a668fe3b0324a7111b0ada9d864ea4d6' })), this.noResults && (index.h("div", { key: '49730d8dfd4f5f8505c0cd84f806466693dfed1f' }, index.h("upd-alert-banner", { key: '3c9e6505c0da47d0510f640aa05eb5b457af901d', onClick: () => this.refreshOnNoResults(), type: "info", message: "Sorry, no records meet your search criteria" }))), index.h("div", { key: '7c3c42e031146156d957654d3552c72e43586412' }, index.h("ag-table", { key: '712c5ba8633fc5dbc60affca5880b84cb902cfd2', gridOptions: this.gridOptions, licensekey: LicenseKey, height: this.gridHeight })), index.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" }, index.h("div", { key: '937144f2713fbec3e782af2813094e2cef995347', style: { width: '1200px' } }, index.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 }))), index.h("side-sheet", { key: '5157413c3ab29f67d6ce656a3fb61c9a4a20441f', widthOption: "short", title: "Views", open: this.viewDrawerOpen, toggleDrawer: () => this.primaryActionClick('views'), position: "right" }, index.h("div", { key: '595b28b34054504ad12644faa4a39b2a3f56edc3' }, index.h("div", { key: 'af7d9c6ecf200514ad52d630b4fe0e5b6182842b', style: { width: '450px', marginBottom: '8px' } }, index.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" })), index.h("div", { key: '0bd2a10799a18110ef62fdf974131493d4b72412', style: { width: '446px' } }, this.viewListRowData &&
|
|
4460
4460
|
this.viewListRowData.map(item => {
|
|
4461
4461
|
if (item.gridViewVisibilityTypeId === 2 || item.userId.toLowerCase() === this.userId.toLocaleLowerCase()) {
|
|
4462
4462
|
return (index.h("tree-list-item", {
|
|
@@ -4467,9 +4467,9 @@ const AmbientTemplateGrid = class {
|
|
|
4467
4467
|
}, 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
|
|
4468
4468
|
}));
|
|
4469
4469
|
}
|
|
4470
|
-
})))), index.h("side-sheet", { key: '
|
|
4470
|
+
})))), index.h("side-sheet", { key: 'af57c5be0640aa7d295d3b30a70f7257e6a78359', title: "Search", sideSheetButtonLabel: "Search", handleSideSheetButton: this.handleSideSheetButtonClick, open: this.customSearchDrawerOpen, toggleDrawer: () => this.primaryActionClick('customSearch'), position: "right", buttonTransform: this.buttonTransform }, index.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(),
|
|
4471
4471
|
// onSearchItemChanged={() => this.handleSearchItemChange()}
|
|
4472
|
-
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 })), index.h("side-sheet", { key: '
|
|
4472
|
+
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 })), index.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" }, index.h("div", { key: '36af0612c30f5163efbce8201b7d2262090623e9' }, this.showHotlistForm && index.h("udp-hotlist-form", { key: 'f159a17afc358e33ff894e9c3637a40c9f94601e', handleFormSubmit: this.handleSaveHotlist, handleCancelClick: () => this.toggleHotlistForm() }), index.h("div", { key: 'bccb6cbf2f3c15ab493b27fd27b5583a5fbaa321', style: { width: '446px' } }, this.allHotlists &&
|
|
4473
4473
|
this.allHotlists.map(item => {
|
|
4474
4474
|
if (item.domain === this.entityName) {
|
|
4475
4475
|
return (index.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: {
|
|
@@ -4477,7 +4477,7 @@ const AmbientTemplateGrid = class {
|
|
|
4477
4477
|
false: 'neutral',
|
|
4478
4478
|
}, statusLabel: item.isPrivate ? 'Private' : 'Shared' }));
|
|
4479
4479
|
}
|
|
4480
|
-
})))), index.h("save-view-form-dialog", { key: '
|
|
4480
|
+
})))), index.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) => {
|
|
4481
4481
|
// Assuming this.columnState exists in this component's scope
|
|
4482
4482
|
this.handleViewFormSubmit(name, isPrivate, isDefault, this.gridState);
|
|
4483
4483
|
}, handleViewAndConfigurationSubmit: (name, isPrivate, isDefault) => {
|
|
@@ -4490,11 +4490,11 @@ const AmbientTemplateGrid = class {
|
|
|
4490
4490
|
this.handleViewAndConfigurationsUpdate(this.selectedViewName, this.selectedViewGridViewVisibilityTypeId, this.selectedViewIsDefault, this.gridState);
|
|
4491
4491
|
}
|
|
4492
4492
|
}
|
|
4493
|
-
} }), index.h("edit-view-form-dialog", { key: '
|
|
4493
|
+
} }), index.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) => {
|
|
4494
4494
|
this.handleViewUpdate(gridId, name, isPrivate, isDefault);
|
|
4495
|
-
} }), index.h("div", { key: '
|
|
4495
|
+
} }), index.h("div", { key: '0506d9a6493cdcedd089c634151a3929927964ee' }), index.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 }, index.h("div", { key: 'bae0df0958ecc33d23436e4250fbf70bd2461de6' }, "This will not delete any of the data but only the records ", index.h("br", { key: '9fac7c6c2794d7b6a8ddda628099bd06652d0352' }), "from the hotlist and the hotlist itself.", ' ')), index.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 }, index.h("div", { key: '034ee23aaadf1d55e49e5ed40221a06b37ff5a04' }, "This will not delete any of the data but only the settings ", index.h("br", { key: '9db72e1787e85f2530f5fb93a7386a90ce8eee68' }), "saved to display this view.", ' ')), index.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 }, index.h("div", { key: '4018987b86e4e163a5050afa36c8c9c0e6bd16f3' }, "This is a public view. Any changes made to it will be seen by others when they load this view. ")), index.h("fluent-dialog", { key: '717000bba187ba84ef937da14627616500d17fc6', title: 'Toggle Search Mode to ' + (this.enableAdvancedSearch ? 'Standard' : 'Advanced') + ' Search', message: this.enableAdvancedSearch
|
|
4496
4496
|
? `Are you sure you want to toggle the search mode to standard search?`
|
|
4497
|
-
: `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 }, index.h("div", { key: '
|
|
4497
|
+
: `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 }, index.h("div", { key: '33b5c68ff42a58c8a2bd5d7dece1b4e772e866ea' }, this.enableAdvancedSearch
|
|
4498
4498
|
? 'The advanced search functionality will be disabled, all advanced search filters will be cleared and the grid will be reset to its default state.'
|
|
4499
4499
|
: 'The standard search functionality will be disabled and any existing standard filters will persist to the advanced search.'))));
|
|
4500
4500
|
}
|
|
@@ -4547,7 +4547,7 @@ const AppBar = class {
|
|
|
4547
4547
|
index.registerInstance(this, hostRef);
|
|
4548
4548
|
}
|
|
4549
4549
|
render() {
|
|
4550
|
-
return (index.h("div", { key: '
|
|
4550
|
+
return (index.h("div", { key: 'cad9b6256dbad649083ef3e26f13bff47e3d427d', class: "header" }, index.h("stencil-icon-button", { key: '79958d8a6a7993575923b87ac3a61180116fc614', noBackground: true, darkIcon: false, icon: Menu24__default.default }), index.h("unity-typography", { key: 'ccd072e7ca26b9070ba990289b637608e903d1c0', variant: 'data-display-one' }, " ", index.h("slot", { key: 'af2e0183590ea54d48be89d36418281633fc6453' }), " "), index.h("a", { key: '36a8c2006d5d0c25d9f4ef2691f86324d875503f', class: "skip-to-content", href: "#main-content" }, "Skip to main content"), index.h("div", { key: '2ccd08207f64f0d9a4854f34119765ed5fd48595', class: "header__logo" }), index.h("div", { key: 'b6cacb7037f36dfb81cb7e66f8cf268b96f84ae9', class: "header__nav", role: "navigation", "aria-label": "Carbon Design System" }), index.h("div", { key: '9c147941d4b7d762cd9a1d97e7053190f3e6f0fc', class: "header__global" }, index.h("udp-avatar", { key: '15830daddc4f25488ec07014720762232e5e304a', username: this.username }))));
|
|
4551
4551
|
}
|
|
4552
4552
|
};
|
|
4553
4553
|
AppBar.style = appBarCss;
|
|
@@ -4647,8 +4647,8 @@ const EditViewFormDialog = class {
|
|
|
4647
4647
|
this.fetchedCurrentView = false;
|
|
4648
4648
|
}
|
|
4649
4649
|
render() {
|
|
4650
|
-
return (index.h("fluent-dialog", { key: '
|
|
4651
|
-
index.h("div", { key: '
|
|
4650
|
+
return (index.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 }, index.h("form", { key: '582cce3a0ea5f9a4670b2c67f7c4096f3cf97884', class: "edit-form" }, index.h("text-field", { key: 'c8b700f8db69b68666a03c539f893d29fe507d72', label: "View Name", value: this.name, onInput: (event) => this.handleNameChange(event) }), this.fetchedCurrentView &&
|
|
4651
|
+
index.h("div", { key: '6ebbde8f024c03916bc1100e964d440868749154', class: "toggle-options" }, index.h("div", { key: 'f699dfeecb0ddf085d9c3d5a8dfc42c3987ae53e' }, index.h("stencil-toggle", { key: '8c1e54b90e023140879bafa1377388f8a4a18432', label: "Private", checked: this.isPrivate === 1, onToggledChange: this.handlePrivateChange }), " "), index.h("div", { key: '562103cb25f1fa01d4e0749f8c0a3cd400c809f6' }, index.h("stencil-toggle", { key: 'aaafe2ead718dae3489df1dd24027fb3c8a8300d', label: "Default", checked: this.isDefault, onToggledChange: this.handleDefaultChange, style: { marginTop: '10px' } }))))));
|
|
4652
4652
|
}
|
|
4653
4653
|
get el() { return index.getElement(this); }
|
|
4654
4654
|
};
|
|
@@ -4676,9 +4676,9 @@ const FluentDialog = class {
|
|
|
4676
4676
|
this.buttonThreeHidden = true;
|
|
4677
4677
|
}
|
|
4678
4678
|
render() {
|
|
4679
|
-
return (index.h("div", { key: '
|
|
4679
|
+
return (index.h("div", { key: 'a67918a009b7850a24efa7fc0e778ed8dccaae6b', class: { 'overlay': true, 'overlay-open': this.open } }, index.h("div", { key: 'd4475170ef03b690c76b8a21306c50cdf9a146b4', class: { 'dialog-container': true, 'dialog-open': this.open } }, index.h("div", { key: '17cf58f182a6f04fb1397addbba892b51c512cef', class: "dialog-title", id: this.titleId }, index.h("unity-typography", { key: '7ed19079acd30bedace74b84a2526dfdc2854daf', variant: "h3" }, this.title)), index.h("div", { key: 'c17f3edde2e241dd13723f1a0baed138320bf532', class: "dialog-content" }, index.h("unity-typography", { key: 'f3b39b44284dc013069ad52232b0973fe8588b9b', variant: "h6" }, this.message), index.h("unity-typography", { key: '2162c0081d1bc1238d76b2acf88483ae4bfc8672', variant: "body" }, index.h("slot", { key: '39019b9967ba312d50dd3fd64a24089cf2cd65e8' }))), index.h("div", { key: '9f50fb36d28f9f62cf829328d6786fc9bf0795cb', class: "dialog-actions" }, !this.buttonTwoHidden && (index.h("custom-button", { key: '1bc3782ee17bd5baa10c3860b22de6bb3747764f', size: "tall", variant: "text", onClick: () => this.actionTwo() }, this.labelTwo)), !this.buttonThreeHidden && (index.h("custom-button", { key: '3bf6eb9efdc79a9fd154dc45fcdc5fd79f2a450c',
|
|
4680
4680
|
//class="primary-action"
|
|
4681
|
-
onClick: () => this.actionThree(), size: "tall", variant: "text", disabled: this.disableThree }, this.labelThree)), !this.buttonOneHidden && (index.h("custom-button", { key: '
|
|
4681
|
+
onClick: () => this.actionThree(), size: "tall", variant: "text", disabled: this.disableThree }, this.labelThree)), !this.buttonOneHidden && (index.h("custom-button", { key: 'b14268f5d3ed523dce91c3e6ab151bf6df782e48', class: "primary-action", variant: "text", onClick: () => this.actionOne(), size: "tall", disabled: this.disableOne }, this.labelOne))), this.progress && index.h("div", { key: 'd2b065ffacc638e5e3b2a1f4b8bd7b1f4af28a6b', class: "linear-progress" }))));
|
|
4682
4682
|
}
|
|
4683
4683
|
};
|
|
4684
4684
|
FluentDialog.style = fluentDialogCss;
|
|
@@ -4828,7 +4828,7 @@ const GridPrimaryBar = class {
|
|
|
4828
4828
|
this.updateHideBar();
|
|
4829
4829
|
}
|
|
4830
4830
|
render() {
|
|
4831
|
-
return (index.h("div", { key: '
|
|
4831
|
+
return (index.h("div", { key: '520856f627fd84e8bdc9c481ff2e475fd7dfb66a', class: "header-bar", style: !this.hideBar ? { background: 'var(--accent-color)' } : undefined }, index.h("div", { key: '8a7655a50007c944cf6b28c5b8936abc7e3393c0', class: "title-section" }, index.h("div", { key: 'f0ddcc41fb5b35778a6d2424a4ceb3cd0f618fa4' }, index.h("unity-typography", { key: '113ef0b8e7ea2f113a263e25541acbaf043b4bee', variant: "h4" }, this.title, " "), ' ')), index.h("div", { key: '595a3de59f7f639ba9c372fcc8f6f198214fc0e5', class: "button-section" }, index.h("div", { key: 'e2cbb462d75f84f9aa3a7f9b75f05b1a19ccd326' }, index.h("slot", { key: '49d2dd8953d70e159fbd404baf168d2b56146c87' })), this.defaultActionButtons.map(btn => {
|
|
4832
4832
|
const clickHandler = (event) => {
|
|
4833
4833
|
if (btn.clickHandler) {
|
|
4834
4834
|
btn.clickHandler(event);
|
|
@@ -4841,7 +4841,7 @@ const GridPrimaryBar = class {
|
|
|
4841
4841
|
return (index.h("stencil-icon-button-grid-action-header", { showLabel: this.showLabels, secondary: btn.secondary, icon: btn.icon, onClick: clickHandler, tooltip: btn.tooltip, iconClassName: btn.iconClassName }, btn.icon && index.h("i", { class: btn.icon }), btn.label.toLowerCase() === 'save' || (!this.hiddenLabels.includes(btn.label) && btn.showLabel) ? index.h("span", null, btn.label) : null));
|
|
4842
4842
|
}
|
|
4843
4843
|
return null;
|
|
4844
|
-
}), this.primaryActionClick && this.primaryActionLabel && (index.h("custom-button", { key: '
|
|
4844
|
+
}), this.primaryActionClick && this.primaryActionLabel && (index.h("custom-button", { key: '34a103505b82064aeb9f6ddf6ff8d75c6881538c', label: this.primaryActionLabel, onClick: (event) => this.primaryActionClick(event), size: "tall" }, this.primaryActionIcon && index.h("udp-icon", { key: '0cefb9ec69d19ad7609338521a4efcd5e8443e1a', iconName: this.primaryActionIcon, darkIcon: false }))))));
|
|
4845
4845
|
}
|
|
4846
4846
|
static get watchers() { return {
|
|
4847
4847
|
"window:resize": ["onResize"],
|
|
@@ -4874,7 +4874,7 @@ const KpiList = class {
|
|
|
4874
4874
|
index.registerInstance(this, hostRef);
|
|
4875
4875
|
}
|
|
4876
4876
|
render() {
|
|
4877
|
-
return (index.h("div", { key: '
|
|
4877
|
+
return (index.h("div", { key: 'a04e6b402e88c914e2c53bf45d587a819544dda6', class: "kpi-container" }, this.kpiValues.map((kpi, index$1) => (index.h("div", { class: "kpi-item" }, index.h("span", { class: "kpi-label", style: {
|
|
4878
4878
|
fontSize: ' 0.875rem',
|
|
4879
4879
|
fontWeight: '300',
|
|
4880
4880
|
lineHeight: '0.25',
|
|
@@ -6370,7 +6370,7 @@ const PrimaryActionHeader = class {
|
|
|
6370
6370
|
// }
|
|
6371
6371
|
render() {
|
|
6372
6372
|
console.log('active tab', this.activeTabIndex);
|
|
6373
|
-
return (index.h("div", { key: '
|
|
6373
|
+
return (index.h("div", { key: 'a747d9aeac8c5d98c8781f91c0306e20279886df', class: "header-bar" }, index.h("div", { key: '167eafc92eec5750035e6cfba200893b7cc5e10b', class: "title-section" }, index.h("unity-typography", { key: '2aa18ffa1d295e3ba51cea9fd2c842f7bbb35004', variant: "h4" }, this.title)), this.tabs && (index.h("div", { key: 'd5b3255eadb6ba4961e1c312861ac814ea8c8743', class: "tabs" }, index.h("udp-tabs", { key: 'c1c5d42e23ec1b25963127a2b081d86abeb9e3b6' }, index.h("button", { key: '79659833299583267aa6589a5e36142256681dc3', class: this.activeTabIndex === 0 ? 'active' : '', slot: "tab-title", onClick: () => this.selectTab(0) }, "Demo Grid"), index.h("button", { key: '0635c5ef0354b88c2a0e1793a5249dd04fc70015', class: this.activeTabIndex === 1 ? 'active' : '', slot: "tab-title", onClick: () => this.selectTab(1) }, "Other Content")))), index.h("div", { key: 'a7da9e4e8385692aa04b1196e49d4b0d973b35d2', class: "button-section" }, this.defaultActionButtons.map(btn => {
|
|
6374
6374
|
// Determine the actual icon to use
|
|
6375
6375
|
const ActualIcon = this.getIconComponent(btn.icon, btn.customIcon);
|
|
6376
6376
|
const clickHandler = (event) => {
|
|
@@ -6385,7 +6385,7 @@ const PrimaryActionHeader = class {
|
|
|
6385
6385
|
return (index.h("stencil-icon-button", { secondary: btn.secondary, onClick: clickHandler, tooltip: btn.tooltip }, this.renderIcon(ActualIcon), !this.hiddenLabels.includes(btn.label) && btn.showLabel && index.h("span", null, btn.label)));
|
|
6386
6386
|
}
|
|
6387
6387
|
return null;
|
|
6388
|
-
}), !this.actionButtonLabel && index.h("div", { key: '
|
|
6388
|
+
}), !this.actionButtonLabel && index.h("div", { key: '20aa08ddc0f999d58f401594bfe42802d100afac', class: "right-margin" }), this.actionButtonLabel && (index.h("udp-button", { key: 'd63ae8c88041c2b07d61e2ae94cb28df17c58d4e', variant: "contained", color: "secondary", onClick: event => this.primaryActionClick(event) }, this.actionButtonLabel)))));
|
|
6389
6389
|
}
|
|
6390
6390
|
};
|
|
6391
6391
|
PrimaryActionHeader.style = primaryActionHeaderCss;
|
|
@@ -6436,11 +6436,11 @@ const SaveViewFormDialog = class {
|
|
|
6436
6436
|
}
|
|
6437
6437
|
}
|
|
6438
6438
|
render() {
|
|
6439
|
-
return (index.h("fluent-dialog", { key: '
|
|
6439
|
+
return (index.h("fluent-dialog", { key: 'c2926169d24d5964ba0a202199e3a5f46186075b', open: this.open, actionOne: () => {
|
|
6440
6440
|
this.handleSubmit();
|
|
6441
6441
|
}, actionTwo: this.closeDialog, actionThree: () => {
|
|
6442
6442
|
this.handleViewUpdate();
|
|
6443
|
-
}, handleClose: this.handleClose, labelOne: "Save as Copy", labelTwo: "Cancel", labelThree: "Save View", title: this.title, disableOne: !this.name, buttonThreeHidden: !this.gridViewId }, index.h("form", { key: '
|
|
6443
|
+
}, handleClose: this.handleClose, labelOne: "Save as Copy", labelTwo: "Cancel", labelThree: "Save View", title: this.title, disableOne: !this.name, buttonThreeHidden: !this.gridViewId }, index.h("form", { key: 'c4157e2d148ef0566bcaa19e07d4c1699df65868', class: "save-form" }, index.h("text-field", { key: '8415b9b28f1d8405325d1066158c2b7279dd394b', label: "View Name", placeholder: "Create a name for your view", value: this.name, onInput: (event) => this.handleNameChange(event) }), index.h("div", { key: '13b731a0dacf1acdc0829ee3d1589ce93b57362f', class: "toggle-options" }, index.h("div", { key: '63c23d978e2b05c7eaebaa1128592c4776a18db7' }, index.h("stencil-toggle", { key: 'aa2edb2c9e399ab133e48789fa4428b234456e18', label: "Private", checked: this.isPrivate === 1, onToggledChange: this.handlePrivateChange }), ' '), index.h("div", { key: '530df15c84ff4cf6748ecc43d9b99a1897601548' }, index.h("stencil-toggle", { key: 'fe4e4b97c11e6a3d3ff536660c8a59fc58296286', label: "Default", checked: this.isDefault, onToggledChange: this.handleDefaultChange, style: { marginTop: '10px' } }))))));
|
|
6444
6444
|
}
|
|
6445
6445
|
get el() { return index.getElement(this); }
|
|
6446
6446
|
static get watchers() { return {
|
|
@@ -6544,7 +6544,7 @@ const SearchListItem = class {
|
|
|
6544
6544
|
});
|
|
6545
6545
|
}
|
|
6546
6546
|
render() {
|
|
6547
|
-
return (index.h("div", { key: '
|
|
6547
|
+
return (index.h("div", { key: '9fb346269c6a44b051c4a20cc39bfbc623ed9511', class: "list-item" }, index.h("div", { key: '46a6a66eb5f52df6e8bec384bbf297dbcf0d4e2c', class: "list-body" }, index.h("div", { key: '7d9f84c9bd1fba13c9c9bcca525e1c785975de24', class: "name" }, index.h("unity-typography", { key: '9f5addc8ff5141cd43a823245ae1562f0276e772', variant: "button" }, this.label)), index.h("div", { key: '934360ca2bd4d9f2bc27b984105a08b99a7e1430', style: { width: '200px' } }, index.h("udp-selector", { key: this.searchOperator, initialValue: this.searchOperator, options: this.selectorOptions, disabled: this.isInitialSearchItem || this.isDefault, onChange: (event) => this.handleOperatorSelected(event) })), index.h("div", { key: '797210e0f73d37629b38daee87679d6c6ed22957', class: "input" }, index.h("text-field", { key: '4a66cf9f3a2600ef5bc690b74050866abb8c8bc6', value: this.name, disabled: this.isInitialSearchItem, onBlur: this.handleInputBlur }))), (!this.isInitialSearchItem || !this.isDefault) && index.h("stencil-icon-button", { key: '24001c57bab2a78885fe3853571893f1fcb8e8fd', icon: Close24__default.default, onClick: this.handleDelete })));
|
|
6548
6548
|
}
|
|
6549
6549
|
get el() { return index.getElement(this); }
|
|
6550
6550
|
static get watchers() { return {
|
|
@@ -6918,16 +6918,16 @@ const StencilToggle = class {
|
|
|
6918
6918
|
const buttonId = `${baseId}-button`;
|
|
6919
6919
|
const labelId = `${baseId}-label`;
|
|
6920
6920
|
const isError = !!this.errorMessage;
|
|
6921
|
-
const labelElement = this.label && (index.h("label", { key: '
|
|
6922
|
-
const toggleElement = (index.h("div", { key: '
|
|
6923
|
-
return (index.h(index.Host, { key: '
|
|
6921
|
+
const labelElement = this.label && (index.h("label", { key: 'd70c0b30b934987f5867dea6af373d5c9b46064f', id: labelId, class: `toggle-label label-${this.labelPosition}`, htmlFor: !this.disabled ? buttonId : undefined }, index.h("unity-typography", { key: 'dcabb099ba822136e0540dfa9d1799f8cd73c06e', variant: "caption-text" }, this.label)));
|
|
6922
|
+
const toggleElement = (index.h("div", { key: '8209c9d3215fb2cbc1cb6d495c35c56cf91cd758', class: `toggle-container ${this.toggled ? 'toggled' : ''}` }, index.h("button", { key: 'b6c27babc037c4df1614b653ad56e50a9c51a4e8', id: buttonId, onClick: () => this.toggleButton(), disabled: this.disabled, "aria-checked": this.toggled.toString(), "aria-labelledby": labelId, role: "switch" }, index.h("span", { key: '77133f23b5ebfa3a22667abdafbef32885f2d23a', class: "toggle-knob" }))));
|
|
6923
|
+
return (index.h(index.Host, { key: '0795d6d5455dab4c66e715181f31a76457dbf154', class: {
|
|
6924
6924
|
'udp-input': true,
|
|
6925
6925
|
'udp-input--error': isError,
|
|
6926
6926
|
'udp-input--disabled': this.disabled,
|
|
6927
6927
|
'udp-input--checked': this.toggled,
|
|
6928
6928
|
[`udp-input--margin-${this.margin}`]: true,
|
|
6929
6929
|
[`udp-input--size-${this.size}`]: true,
|
|
6930
|
-
}, "aria-invalid": isError ? 'true' : 'false' }, index.h("div", { key: '
|
|
6930
|
+
}, "aria-invalid": isError ? 'true' : 'false' }, index.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 && index.h("div", { key: '0ae44ccd60c71290f862db4de185fd6902687ab8', class: "error-message" }, this.errorMessage))));
|
|
6931
6931
|
}
|
|
6932
6932
|
get el() { return index.getElement(this); }
|
|
6933
6933
|
static get watchers() { return {
|
|
@@ -7109,7 +7109,7 @@ const TextField = class {
|
|
|
7109
7109
|
'bx--text-input:user-invalid': isError,
|
|
7110
7110
|
'text-field--disabled': this.disabled,
|
|
7111
7111
|
};
|
|
7112
|
-
return (index.h(index.Host, { key: '
|
|
7112
|
+
return (index.h(index.Host, { key: '8a904b91424ef0f338b577d495b16cab865500ea', class: {
|
|
7113
7113
|
'udp-input': true,
|
|
7114
7114
|
'udp-input--error': isError,
|
|
7115
7115
|
'udp-input--disabled': this.disabled,
|
|
@@ -7117,9 +7117,9 @@ const TextField = class {
|
|
|
7117
7117
|
'udp-input--required': this.required,
|
|
7118
7118
|
[`udp-input--size-${this.size}`]: true,
|
|
7119
7119
|
[`udp-input--margin-${this.margin}`]: true,
|
|
7120
|
-
}, "aria-invalid": isError ? 'true' : 'false', "aria-required": this.required ? 'true' : 'false' }, index.h("div", { key: '
|
|
7120
|
+
}, "aria-invalid": isError ? 'true' : 'false', "aria-required": this.required ? 'true' : 'false' }, index.h("div", { key: '2a807fc813c3e3d774de4d9557921021db0836de', class: "bx--form-item" }, index.h("unity-typography", { key: '27a02c53a522b8339c5a0d8be4e8134e078438e0', variant: "caption-text" }, index.h("label", { key: '9e44649e7369b0c48a9394a3cafe37c92d8dccc4', htmlFor: this.id, class: "bx--label" }, this.label, this.required ? '*' : '')), this.hidden ? (index.h("input", { id: this.id, type: "hidden", value: this.internalValue })) : (index.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,
|
|
7121
7121
|
//@ts-ignore
|
|
7122
|
-
udprecordid: 'udpRecord-text-field-' + this.id })), isError && (index.h("div", { key: '
|
|
7122
|
+
udprecordid: 'udpRecord-text-field-' + this.id })), isError && (index.h("div", { key: 'f16c206feb4536ffef669187d2535b123f43d6c1', class: "error-message" }, index.h("unity-typography", { key: 'cd7b71a7179fd524053835a60cd3affd26b70ff1', variant: "caption-text", color: "error" }, this.errorMessage))))));
|
|
7123
7123
|
}
|
|
7124
7124
|
get el() { return index.getElement(this); }
|
|
7125
7125
|
static get watchers() { return {
|
|
@@ -7326,9 +7326,9 @@ const UdpAmbientToolTip = class {
|
|
|
7326
7326
|
render() {
|
|
7327
7327
|
// Check if content is provided before rendering the tooltip content.
|
|
7328
7328
|
const shouldDisplayTooltip = !!this.isVisible && !!this.content && this.content.trim() !== '';
|
|
7329
|
-
return (index.h("div", { key: '
|
|
7329
|
+
return (index.h("div", { key: '55804784ff463b9aa4350063c7184183bc00cd2f', class: "tooltip-wrapper", ref: el => (this.wrapperEl = el), onMouseOver: this.showTooltip, onMouseOut: this.hideTooltip }, index.h("slot", { key: '53baf44478409db05bca1a7470e53083493876c2' }), shouldDisplayTooltip && (
|
|
7330
7330
|
// STEP 4: Use the global class name we defined in our style string.
|
|
7331
|
-
index.h("div", { key: '
|
|
7331
|
+
index.h("div", { key: '72b5a2ebda076e46f07c1e338b0981ddd12df1da', class: "udp-tooltip-portal", role: "tooltip", ref: el => (this.tooltipContentEl = el) }, index.h("unity-typography", { key: '76b55c15271a02a07f3d0747e922566d118b8188', variant: "caption-text" }, this.content)))));
|
|
7332
7332
|
}
|
|
7333
7333
|
};
|
|
7334
7334
|
UdpAmbientToolTip.style = udpAmbientToolTipCss;
|
|
@@ -7379,7 +7379,7 @@ const UdpAvatar = class {
|
|
|
7379
7379
|
else {
|
|
7380
7380
|
style['background-color'] = this.getColorForUsername();
|
|
7381
7381
|
}
|
|
7382
|
-
return (index.h("div", { key: '
|
|
7382
|
+
return (index.h("div", { key: '171f5b8188fe7648880844ecb0e92e9f93e734e8', class: classes.join(' '), style: style }, this.iconName ? index.h("udp-icon", { iconName: this.iconName, darkIcon: false }) : index.h("unity-typography", { variant: "data-display-two" }, " ", this.getInitial())));
|
|
7383
7383
|
}
|
|
7384
7384
|
};
|
|
7385
7385
|
UdpAvatar.style = udpAvatarCss;
|
|
@@ -7653,7 +7653,7 @@ const DynamicContainerWithMenu = class {
|
|
|
7653
7653
|
this.udpChipClicked.emit(chipText);
|
|
7654
7654
|
}
|
|
7655
7655
|
render() {
|
|
7656
|
-
return (index.h("div", { key: '
|
|
7656
|
+
return (index.h("div", { key: 'e39cb91451a2879c50e94d06ad7d04ea48e6924c', class: "container" }, index.h("div", { key: '68340fbe6565fcb4065634c23bbde57509aaa377', class: "chips" }, console.log('Received data for chips via executeQwith', this.visibleChildren), this.visibleChildren && this.visibleChildren.map((child, index$1) => (index.h("stencil-chip", { color: "secondary", key: index$1, text: child.description, "show-delete": "false", externalToggleString: this.externalToggle })))), index.h("div", { key: 'fd984302e13b2d30c4e0724735b92e91150694af', class: "overflow" }, index.h("udp-pop-over", { key: '296ae16800bd847a6f2d45c65c9971e2fa9642c0', isOpen: this.popoverOpen, anchorElement: document.getElementById('anchorElement') }, index.h("div", { key: '8edb5977027465a416e5440104c0b97da7df23a7', class: "menu" }, this.menuChildren && this.menuChildren.map((child, index$1) => (index.h("stencil-chip", { key: index$1, text: child.label, "show-delete": "false" }, " "))))))));
|
|
7657
7657
|
}
|
|
7658
7658
|
get el() { return index.getElement(this); }
|
|
7659
7659
|
static get watchers() { return {
|
|
@@ -7731,10 +7731,10 @@ const UdpGridLoader = class {
|
|
|
7731
7731
|
}
|
|
7732
7732
|
render() {
|
|
7733
7733
|
// Header bar (fatter, divided into columns)
|
|
7734
|
-
const headerBar = (index.h("div", { key: '
|
|
7734
|
+
const headerBar = (index.h("div", { key: '45f44170dff0e08a68d1d53f32a3961d86712b58', class: "grid-row" }, Array.from({ length: this.numColumns }).map(() => (index.h("udp-skeleton-loading", { width: "100%", height: "55px" })))));
|
|
7735
7735
|
// Row bars (each divided into columns)
|
|
7736
7736
|
const rowBars = Array.from({ length: this.numRows }).map(() => (index.h("div", { class: "grid-row" }, Array.from({ length: this.numColumns }).map(() => (index.h("udp-skeleton-loading", { width: "100%", height: "30px" }))))));
|
|
7737
|
-
return (index.h("div", { key: '
|
|
7737
|
+
return (index.h("div", { key: '9c9be92fa74d1a27aba15e811c863b07ba672c05', style: { width: this.width } }, headerBar, rowBars));
|
|
7738
7738
|
}
|
|
7739
7739
|
};
|
|
7740
7740
|
UdpGridLoader.style = udpGridLoaderCss;
|
|
@@ -7770,7 +7770,7 @@ const UdpHotlistForm = class {
|
|
|
7770
7770
|
// console.log('Cancel button clicked');
|
|
7771
7771
|
// }
|
|
7772
7772
|
render() {
|
|
7773
|
-
return (index.h("div", { key: '
|
|
7773
|
+
return (index.h("div", { key: 'fed1159fa6172e2ef425fda713135e3cdac5b998', class: "wrapper" }, index.h("form", { key: '4bcf1830addf2e62a4b80bb689760997d53412de', class: "save-form", onSubmit: this.handleSubmit }, index.h("text-field", { key: '55b95fbe7649a5ff8a3d0a275ad55a2c0a2bcc11', label: "Hotlist Name", placeholder: "Create a name for your Hotlist", value: this.name, onChange: (event) => this.handleNameChange(event) }), index.h("stencil-toggle", { key: '1ff5aa5b5ff37e5870abeb5f15f4254586c2124e', label: "Private", checked: this.isPrivate, onToggledChange: this.handlePrivateChange }), index.h("div", { key: '101fd16f08d5aaf1d054dd91f0bd9a0451ac299c', class: "submit-button" }, index.h("custom-button", { key: '2af466a976f5f9cdebf9cd1054e7bb7bddbb9b32', variant: 'outline', type: "submit", onCustomClick: this.handleCancelClick }, "Cancel"), index.h("custom-button", { key: '58b86c74365d86ce22131e6462e83fe5036a15ba', disabled: !this.name, type: "submit", onCustomClick: this.onCustomButtonClick }, "Create List")))));
|
|
7774
7774
|
}
|
|
7775
7775
|
get el() { return index.getElement(this); }
|
|
7776
7776
|
};
|
|
@@ -7790,6 +7790,9 @@ const UdpIcon = class {
|
|
|
7790
7790
|
render() {
|
|
7791
7791
|
var _a, _b;
|
|
7792
7792
|
const iconData = iconUtils.getIconFromName(this.iconName, this.iconType);
|
|
7793
|
+
if (!iconData) {
|
|
7794
|
+
return null;
|
|
7795
|
+
}
|
|
7793
7796
|
let iconColor;
|
|
7794
7797
|
if (this.color) {
|
|
7795
7798
|
switch (this.color) {
|
|
@@ -7818,7 +7821,7 @@ const UdpIcon = class {
|
|
|
7818
7821
|
else {
|
|
7819
7822
|
iconColor = this.darkIcon ? 'black' : 'white';
|
|
7820
7823
|
}
|
|
7821
|
-
return (index.h("div", {
|
|
7824
|
+
return (index.h("div", { class: "icon-container" }, index.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$1) => {
|
|
7822
7825
|
var _a, _b;
|
|
7823
7826
|
if ((item === null || item === void 0 ? void 0 : item.elem) === 'path') {
|
|
7824
7827
|
return index.h("path", Object.assign({}, ((_a = item === null || item === void 0 ? void 0 : item.attrs) !== null && _a !== void 0 ? _a : {}), { key: index$1 }));
|
|
@@ -7847,7 +7850,7 @@ const UdpLinearLoader = class {
|
|
|
7847
7850
|
loader: true,
|
|
7848
7851
|
[`loader--color-${this.color}`]: true,
|
|
7849
7852
|
};
|
|
7850
|
-
return (index.h(index.Host, { key: '
|
|
7853
|
+
return (index.h(index.Host, { key: 'e87886877c3dd11c47b1cc2a04f24fac06a6834c' }, index.h("div", { key: '13fd6426afe4ab10b8f69cf577674a80086388e4', class: loaderClasses }, index.h("div", { key: '230bb05b4fa3082299aed007ff77588deb4a46d2', class: "indeterminate" }))));
|
|
7851
7854
|
}
|
|
7852
7855
|
};
|
|
7853
7856
|
UdpLinearLoader.style = udpLinearLoaderCss;
|
|
@@ -7868,7 +7871,7 @@ const UdpMenuItem = class {
|
|
|
7868
7871
|
};
|
|
7869
7872
|
}
|
|
7870
7873
|
render() {
|
|
7871
|
-
return (index.h("button", { key: '
|
|
7874
|
+
return (index.h("button", { key: 'fb7827a4ddd3ec09634dde5e392b82ee2bc2aa56', class: "menu-item-root", onClick: this.handleItemClick, disabled: this.disabled, role: "menuitem" }, this.iconName && index.h("udp-icon", { key: '7cb749410ab0d3db5ed37a80014a2db733b7611f', iconName: this.iconName, class: "menu-icon" }), index.h("span", { key: 'd123d5a3d5bce228283bd829e25a0c187d791274', class: "menu-item-label" }, index.h("unity-typography", { key: '1c139bca8c0b84d41246bbf17e793301a9c79235', variant: 'body1' }, this.label))));
|
|
7872
7875
|
}
|
|
7873
7876
|
};
|
|
7874
7877
|
UdpMenuItem.style = udpMenuItemCss;
|
|
@@ -7889,11 +7892,11 @@ const UdpNotification = class {
|
|
|
7889
7892
|
}
|
|
7890
7893
|
render() {
|
|
7891
7894
|
const statusClass = `status-${this.status}`;
|
|
7892
|
-
return (index.h("div", { key: '
|
|
7895
|
+
return (index.h("div", { key: '555f2f94b04009382fac53a32d74f8f84f14a733', class: {
|
|
7893
7896
|
'udp-notification': true,
|
|
7894
7897
|
'visible': this.active,
|
|
7895
7898
|
[statusClass]: true // This will apply the correct class based on the status
|
|
7896
|
-
} }, this.userCancel && (index.h("button", { key: '
|
|
7899
|
+
} }, this.userCancel && (index.h("button", { key: 'a9e6b1a2faa49b97d3d39da732a0b3e35045228d', class: "close-button", onClick: () => this.active = false }, "\u00D7")), index.h("span", { key: 'ed21c8f3e5e3fa53d2a1d4a54835e0f4b63210c4', class: "message" }, " ", index.h("unity-typography", { key: '9283d1e980b03cd92e5721d7a41209ee0c109cdf', variant: 'body' }, " ", this.message, " "))));
|
|
7897
7900
|
}
|
|
7898
7901
|
static get watchers() { return {
|
|
7899
7902
|
"active": ["activeChanged"]
|
|
@@ -8035,7 +8038,7 @@ const UdpPopOver$1 = class UdpPopOver {
|
|
|
8035
8038
|
maxHeight: this.popoverMaxHeight,
|
|
8036
8039
|
overflow: this.overflow
|
|
8037
8040
|
};
|
|
8038
|
-
return (index.h(index.Host, { key: '
|
|
8041
|
+
return (index.h(index.Host, { key: 'a064210032eb7db2bba02fee5c9a857fffc4cbcf' }, index.h("div", { key: '1cd02d254250afed442607f0925613dafb0ef63f', class: "popover", style: style }, index.h("slot", { key: '085cca6f9a387c33b56fd18d41b54fbfd4b59b90' }))));
|
|
8039
8042
|
}
|
|
8040
8043
|
get hostEl() { return index.getElement(this); }
|
|
8041
8044
|
static get watchers() { return {
|
|
@@ -8083,7 +8086,7 @@ const UdpPopOver = class {
|
|
|
8083
8086
|
style['top'] = `${rect.bottom}px`;
|
|
8084
8087
|
style['left'] = `${rect.left}px`;
|
|
8085
8088
|
}
|
|
8086
|
-
return (index.h("div", { key: '
|
|
8089
|
+
return (index.h("div", { key: '8db3050c709cd4652f36b7f7fccdf5474fef6786', class: "popover", style: style }, index.h("unity-typography", { key: '1d45adc91c79e9c417161bedd9c347884738b612', variant: "caption-text" }, index.h("slot", { key: '4782e7ff5fef34f131e21b3c6e85c6162543aa11' }))));
|
|
8087
8090
|
}
|
|
8088
8091
|
get el() { return index.getElement(this); }
|
|
8089
8092
|
static get watchers() { return {
|
|
@@ -8428,7 +8431,7 @@ const UdpSelector = class {
|
|
|
8428
8431
|
'focused': this.isOpen,
|
|
8429
8432
|
};
|
|
8430
8433
|
const hasSelection = this.multiSelect ? this.selectedOptions.length > 0 : !!this.selectedOption;
|
|
8431
|
-
return (index.h(index.Host, { key: '
|
|
8434
|
+
return (index.h(index.Host, { key: 'ff3d430a821267669e8ba41d4d814be594042f0c', class: {
|
|
8432
8435
|
'udp-input': true,
|
|
8433
8436
|
'udp-selector': true,
|
|
8434
8437
|
'udp-input--error': isError,
|
|
@@ -8438,9 +8441,9 @@ const UdpSelector = class {
|
|
|
8438
8441
|
'udp-input--large': this.large,
|
|
8439
8442
|
[`udp-input--size-${this.size}`]: true,
|
|
8440
8443
|
[`udp-input--margin-${this.margin}`]: true,
|
|
8441
|
-
}, "aria-invalid": isError ? 'true' : 'false', "aria-required": this.required ? 'true' : 'false' }, index.h("div", { key: '
|
|
8444
|
+
}, "aria-invalid": isError ? 'true' : 'false', "aria-required": this.required ? 'true' : 'false' }, index.h("div", { key: 'b81f9ba1806adfade81fb55b0f9ecc1fba2ce305', class: "bx--form-item" }, this.label && (index.h("unity-typography", { key: 'b207e16041dda5996f21e58c7d305a19ae9a5810', variant: "caption-text" }, index.h("label", { key: 'babd3165a21c7ff38199494a6276ee2c814632c5', htmlFor: this.id, class: "bx--label" }, this.label, this.required ? '*' : ''))), index.h("div", { key: '08bd70119c4f353d8ad318e298da088e2812fd99', class: "udp-selector__container" }, index.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,
|
|
8442
8445
|
// @ts-ignore
|
|
8443
|
-
udprecordid: 'udpRecord-udp-selector-' + this.id }, index.h("div", { key: '
|
|
8446
|
+
udprecordid: 'udpRecord-udp-selector-' + this.id }, index.h("div", { key: 'fdc3d8248a8de967b0136f9cb8a259fcf0f309f2', class: {
|
|
8444
8447
|
'selected-option-label': true,
|
|
8445
8448
|
'placeholder': !hasSelection,
|
|
8446
8449
|
} }, this.multiSelect
|
|
@@ -8449,7 +8452,7 @@ const UdpSelector = class {
|
|
|
8449
8452
|
: 'Select option(s)'
|
|
8450
8453
|
: this.selectedOption
|
|
8451
8454
|
? this.selectedOption.label
|
|
8452
|
-
: 'Select an option'), this.multiSelect && this.selectedOptions.length > 0 && index.h("span", { key: '
|
|
8455
|
+
: 'Select an option'), this.multiSelect && this.selectedOptions.length > 0 && index.h("span", { key: '7bf13954e3374093da80d54c53f43d110f6575a5', class: "checkmark" }), index.h("div", { key: 'd3fe7ba8c3ab16fdc1073a8c9b494fbe324f23d0', class: "arrow" })), this.isOpen && (index.h("ul", { key: '0be46a38647b29310324b446993121d404e7bd77', class: "options-list" }, this.options.map(option => (index.h("unity-typography", { variant: "button" }, index.h("li", { class: this.isOptionSelected(option) ? 'selected' : '', onClick: () => this.selectOption(option), onMouseDown: this.handleOptionMouseDown }, option.label, this.isOptionSelected(option) && index.h("span", { class: "checkmark" })))))))), this.errorMessage && (index.h("div", { key: '6fdfcb547313774dc09085af93e07c75379097cc', class: "error-message" }, index.h("unity-typography", { key: '93ff63ec2f2c8e318bcdd51bbbf88ad7047a8dbc', variant: "caption-text", color: "error" }, this.errorMessage))))));
|
|
8453
8456
|
}
|
|
8454
8457
|
/**
|
|
8455
8458
|
* Checks if a given option is currently selected.
|
|
@@ -8487,12 +8490,12 @@ const UdpSkeletonLoading = class {
|
|
|
8487
8490
|
this.borderRadius = '4px';
|
|
8488
8491
|
}
|
|
8489
8492
|
render() {
|
|
8490
|
-
return (index.h("div", { key: '
|
|
8493
|
+
return (index.h("div", { key: '8af6143940732dff91329dbd3acd7f0f9b9f2f97', class: "skeleton-loader", style: { width: this.width, height: this.height, borderRadius: this.borderRadius } }));
|
|
8491
8494
|
}
|
|
8492
8495
|
};
|
|
8493
8496
|
UdpSkeletonLoading.style = udpSkeletonLoadingCss;
|
|
8494
8497
|
|
|
8495
|
-
const udpTabCss = ".tab-panel{display:none
|
|
8498
|
+
const udpTabCss = ".tab-panel{display:none}.tab-panel.active{display:block}";
|
|
8496
8499
|
|
|
8497
8500
|
const UdpTab = class {
|
|
8498
8501
|
constructor(hostRef) {
|
|
@@ -8519,16 +8522,17 @@ const UdpTab = class {
|
|
|
8519
8522
|
this.disabled = false;
|
|
8520
8523
|
}
|
|
8521
8524
|
render() {
|
|
8522
|
-
return (index.h("div", { key: '
|
|
8525
|
+
return (index.h("div", { key: '20ba03ac77abb9cde63aa864aac67db7c57bf66a', class: { 'tab-panel': true, 'active': this.active }, role: "tabpanel" }, index.h("slot", { key: 'd4b0450e94770421adae0e47c0b868d00cdf772d' })));
|
|
8523
8526
|
}
|
|
8524
8527
|
};
|
|
8525
8528
|
UdpTab.style = udpTabCss;
|
|
8526
8529
|
|
|
8527
|
-
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}.
|
|
8530
|
+
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}";
|
|
8528
8531
|
|
|
8529
8532
|
const UdpTabs = class {
|
|
8530
8533
|
constructor(hostRef) {
|
|
8531
8534
|
index.registerInstance(this, hostRef);
|
|
8535
|
+
this.udpTabChange = index.createEvent(this, "udpTabChange");
|
|
8532
8536
|
/**
|
|
8533
8537
|
* Specifies the layout variant of the tab header.
|
|
8534
8538
|
*
|
|
@@ -8536,18 +8540,46 @@ const UdpTabs = class {
|
|
|
8536
8540
|
* - `'fill'`: Tabs will stretch to fill the available horizontal space.
|
|
8537
8541
|
*/
|
|
8538
8542
|
this.variant = 'fill';
|
|
8539
|
-
|
|
8540
|
-
|
|
8543
|
+
/**
|
|
8544
|
+
* (Optional) An array of tab configuration objects.
|
|
8545
|
+
* If provided, this will be used to render tabs instead of slotted `<udp-tab>` components.
|
|
8546
|
+
* This mode is typically used with controlled tabs.
|
|
8547
|
+
*/
|
|
8548
|
+
this.tabs = [];
|
|
8549
|
+
this.internalActiveTab = 0; // For uncontrolled mode
|
|
8550
|
+
this.tabDetails = []; // Unified details from prop or slot
|
|
8541
8551
|
this.sliderStyle = {
|
|
8542
8552
|
width: '0',
|
|
8543
8553
|
transform: 'translateX(0)',
|
|
8544
8554
|
};
|
|
8545
8555
|
this.showScrollLeft = false;
|
|
8546
8556
|
this.showScrollRight = false;
|
|
8547
|
-
this.
|
|
8557
|
+
this.slottedTabs = []; // Renamed from `tabs`
|
|
8548
8558
|
this.buttonRefs = [];
|
|
8549
8559
|
}
|
|
8560
|
+
/**
|
|
8561
|
+
* Returns true if the component is in controlled mode.
|
|
8562
|
+
*/
|
|
8563
|
+
get isControlled() {
|
|
8564
|
+
return this.value != null;
|
|
8565
|
+
}
|
|
8566
|
+
/**
|
|
8567
|
+
* Returns true if tabs are being provided by the `tabs` prop.
|
|
8568
|
+
*/
|
|
8569
|
+
get useTabsProp() {
|
|
8570
|
+
return this.tabs && this.tabs.length > 0;
|
|
8571
|
+
}
|
|
8572
|
+
/**
|
|
8573
|
+
* Returns the currently active tab index,
|
|
8574
|
+
* respecting controlled or uncontrolled mode.
|
|
8575
|
+
*/
|
|
8576
|
+
get activeTab() {
|
|
8577
|
+
return this.isControlled ? this.value : this.internalActiveTab;
|
|
8578
|
+
}
|
|
8550
8579
|
handleSlotChange() {
|
|
8580
|
+
// If we're using the tabs prop, slot changes are irrelevant
|
|
8581
|
+
if (this.useTabsProp)
|
|
8582
|
+
return;
|
|
8551
8583
|
this.initializeTabs();
|
|
8552
8584
|
}
|
|
8553
8585
|
handleResize() {
|
|
@@ -8559,9 +8591,27 @@ const UdpTabs = class {
|
|
|
8559
8591
|
componentDidLoad() {
|
|
8560
8592
|
this.initializeTabs();
|
|
8561
8593
|
}
|
|
8562
|
-
|
|
8594
|
+
/**
|
|
8595
|
+
* Watcher for uncontrolled state changes.
|
|
8596
|
+
*/
|
|
8597
|
+
onActiveTabChange(newValue) {
|
|
8598
|
+
this.updateActiveTabs();
|
|
8599
|
+
this.updateSliderPosition();
|
|
8600
|
+
this.scrollTabIntoView(newValue);
|
|
8601
|
+
}
|
|
8602
|
+
/**
|
|
8603
|
+
* Watcher for controlled state changes.
|
|
8604
|
+
*/
|
|
8605
|
+
onValueChange(newValue) {
|
|
8563
8606
|
this.updateActiveTabs();
|
|
8564
8607
|
this.updateSliderPosition();
|
|
8608
|
+
this.scrollTabIntoView(newValue);
|
|
8609
|
+
}
|
|
8610
|
+
/**
|
|
8611
|
+
* Watcher for tabs prop changes.
|
|
8612
|
+
*/
|
|
8613
|
+
onTabsPropChange() {
|
|
8614
|
+
this.initializeTabs();
|
|
8565
8615
|
}
|
|
8566
8616
|
onVariantChange() {
|
|
8567
8617
|
requestAnimationFrame(() => {
|
|
@@ -8572,21 +8622,29 @@ const UdpTabs = class {
|
|
|
8572
8622
|
initializeTabs() {
|
|
8573
8623
|
var _a, _b;
|
|
8574
8624
|
this.buttonRefs = [];
|
|
8575
|
-
|
|
8576
|
-
|
|
8577
|
-
|
|
8578
|
-
|
|
8579
|
-
|
|
8580
|
-
|
|
8581
|
-
|
|
8582
|
-
|
|
8583
|
-
|
|
8584
|
-
|
|
8585
|
-
|
|
8586
|
-
|
|
8587
|
-
|
|
8588
|
-
|
|
8589
|
-
|
|
8625
|
+
if (this.useTabsProp) {
|
|
8626
|
+
// --- Prop-based ---
|
|
8627
|
+
this.tabDetails = this.tabs.map(t => (Object.assign({}, t))); // Use data from prop
|
|
8628
|
+
this.slottedTabs = []; // Ensure we're not tracking slotted tabs
|
|
8629
|
+
}
|
|
8630
|
+
else {
|
|
8631
|
+
// --- Slot-based ---
|
|
8632
|
+
this.slottedTabs = Array.from(this.el.children).filter((child) => child.tagName.toLowerCase() === 'udp-tab');
|
|
8633
|
+
this.tabDetails = this.slottedTabs.map(tab => ({
|
|
8634
|
+
label: tab.label,
|
|
8635
|
+
icon: tab.icon,
|
|
8636
|
+
iconPlacement: tab.iconPlacement,
|
|
8637
|
+
hidden: tab.hidden,
|
|
8638
|
+
disabled: tab.disabled,
|
|
8639
|
+
}));
|
|
8640
|
+
}
|
|
8641
|
+
// --- Common Logic ---
|
|
8642
|
+
// In uncontrolled mode, check if the default active tab is invalid.
|
|
8643
|
+
if (!this.isControlled) {
|
|
8644
|
+
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)) {
|
|
8645
|
+
const firstValidIndex = this.tabDetails.findIndex(tab => !tab.hidden && !tab.disabled);
|
|
8646
|
+
this.internalActiveTab = firstValidIndex > -1 ? firstValidIndex : 0;
|
|
8647
|
+
}
|
|
8590
8648
|
}
|
|
8591
8649
|
this.updateActiveTabs();
|
|
8592
8650
|
requestAnimationFrame(() => {
|
|
@@ -8595,12 +8653,17 @@ const UdpTabs = class {
|
|
|
8595
8653
|
});
|
|
8596
8654
|
}
|
|
8597
8655
|
updateActiveTabs() {
|
|
8598
|
-
|
|
8599
|
-
|
|
8600
|
-
|
|
8656
|
+
// Only update slotted tabs if we're in slot mode
|
|
8657
|
+
if (!this.useTabsProp) {
|
|
8658
|
+
const currentActiveTab = this.activeTab;
|
|
8659
|
+
this.slottedTabs.forEach((tab, index) => {
|
|
8660
|
+
tab.active = index === currentActiveTab;
|
|
8661
|
+
});
|
|
8662
|
+
}
|
|
8663
|
+
// If in prop mode, the <button> 'active' class is handled by render()
|
|
8601
8664
|
}
|
|
8602
8665
|
updateSliderPosition() {
|
|
8603
|
-
const activeButton = this.buttonRefs[this.activeTab];
|
|
8666
|
+
const activeButton = this.buttonRefs[this.activeTab]; // Use getter
|
|
8604
8667
|
if (!activeButton) {
|
|
8605
8668
|
this.sliderStyle = { width: '0px', transform: 'translateX(0px)' };
|
|
8606
8669
|
return;
|
|
@@ -8623,7 +8686,18 @@ const UdpTabs = class {
|
|
|
8623
8686
|
if ((_a = this.tabDetails[tabIndex]) === null || _a === void 0 ? void 0 : _a.disabled) {
|
|
8624
8687
|
return;
|
|
8625
8688
|
}
|
|
8626
|
-
this.
|
|
8689
|
+
if (this.isControlled) {
|
|
8690
|
+
// In controlled mode, emit the event for the parent to handle.
|
|
8691
|
+
// The `onValueChange` watcher will handle UI updates when the prop changes.
|
|
8692
|
+
this.udpTabChange.emit(tabIndex);
|
|
8693
|
+
}
|
|
8694
|
+
else {
|
|
8695
|
+
// In uncontrolled mode, update state directly.
|
|
8696
|
+
// The `onActiveTabChange` watcher will handle UI updates.
|
|
8697
|
+
this.internalActiveTab = tabIndex;
|
|
8698
|
+
}
|
|
8699
|
+
}
|
|
8700
|
+
scrollTabIntoView(tabIndex) {
|
|
8627
8701
|
const tabButton = this.buttonRefs[tabIndex];
|
|
8628
8702
|
const container = this.scrollContainerRef;
|
|
8629
8703
|
if (!tabButton || !container)
|
|
@@ -8634,20 +8708,16 @@ const UdpTabs = class {
|
|
|
8634
8708
|
const safeZonePadding = 70;
|
|
8635
8709
|
const safeZoneLeft = scrollLeft + safeZonePadding;
|
|
8636
8710
|
const safeZoneRight = scrollLeft + clientWidth - safeZonePadding;
|
|
8637
|
-
// Check if the tab's left edge is hidden by the left fade
|
|
8638
8711
|
if (tabLeft < safeZoneLeft) {
|
|
8639
|
-
// Scroll to position the tab's left edge at the start of the safe zone
|
|
8640
8712
|
container.scrollTo({
|
|
8641
8713
|
left: tabLeft - safeZonePadding,
|
|
8642
|
-
behavior: 'smooth'
|
|
8714
|
+
behavior: 'smooth',
|
|
8643
8715
|
});
|
|
8644
8716
|
}
|
|
8645
|
-
// Check if the tab's right edge is hidden by the right fade
|
|
8646
8717
|
else if (tabRight > safeZoneRight) {
|
|
8647
|
-
// Scroll to position the tab's right edge at the end of the safe zone
|
|
8648
8718
|
container.scrollTo({
|
|
8649
8719
|
left: tabRight - clientWidth + safeZonePadding,
|
|
8650
|
-
behavior: 'smooth'
|
|
8720
|
+
behavior: 'smooth',
|
|
8651
8721
|
});
|
|
8652
8722
|
}
|
|
8653
8723
|
}
|
|
@@ -8665,25 +8735,28 @@ const UdpTabs = class {
|
|
|
8665
8735
|
container.scrollTo({ left: maxScrollLeft, behavior: 'smooth' });
|
|
8666
8736
|
}
|
|
8667
8737
|
render() {
|
|
8668
|
-
|
|
8738
|
+
const currentActiveTab = this.activeTab; // Use getter
|
|
8739
|
+
return (index.h("div", { key: '7446df2caa768cb8161b59992cdbbf5bbae2146f', class: "tab-container" }, index.h("div", { key: '78eb57f157f69543baaf8eab9b5282cdba37bbb9', class: `tab-header ${this.variant}` }, this.showScrollLeft && (index.h("button", { key: 'eb45ebcbfd365a68412c9fa098669085925b5ab9', class: "scroll-arrow left", onClick: () => this.scrollToStart(), "aria-label": "Scroll to first tab" }, index.h("udp-icon", { key: '0066a09a8942b0624b3a6260a0934ce372e51473', iconName: "chevronLeft16", color: "inherit" }))), this.showScrollLeft && index.h("div", { key: 'd356a1ebae93318b97e7e9ada3d21fd44e9b1f37', class: "scroll-fade left" }), index.h("div", { key: '0040b9a6ff0dc8c8881a17b8c4d3f435cf2c67b3', class: "tab-scroll-container", ref: el => (this.scrollContainerRef = el), onScroll: () => this.checkScroll() }, this.tabDetails.map((tab, index$1) => {
|
|
8669
8740
|
if (tab.hidden) {
|
|
8670
8741
|
return null;
|
|
8671
8742
|
}
|
|
8672
8743
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
8673
8744
|
const iconEl = tab.icon ? index.h("udp-icon", { iconName: tab.icon, color: 'inherit' }) : null;
|
|
8674
8745
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
8675
|
-
const
|
|
8746
|
+
const labelEl = index.h("span", null, tab.label);
|
|
8676
8747
|
return (index.h("button", { class: {
|
|
8677
|
-
'active': index$1 ===
|
|
8748
|
+
'active': index$1 === currentActiveTab,
|
|
8678
8749
|
'has-icon': !!tab.icon,
|
|
8679
8750
|
[`icon-${tab.iconPlacement}`]: !!tab.icon,
|
|
8680
8751
|
'disabled': tab.disabled,
|
|
8681
|
-
}, disabled: tab.disabled, onClick: () => this.tabClicked(index$1), role: "tab", "aria-selected": index$1 ===
|
|
8682
|
-
}), index.h("div", { key: '
|
|
8752
|
+
}, disabled: tab.disabled, onClick: () => this.tabClicked(index$1), role: "tab", "aria-selected": index$1 === currentActiveTab ? 'true' : 'false', "aria-disabled": tab.disabled ? 'true' : 'false', ref: el => (this.buttonRefs[index$1] = el) }, iconEl, labelEl));
|
|
8753
|
+
}), index.h("div", { key: '7470bff947872896ee283c35cf37a45fb2a64631', class: "slider", style: this.sliderStyle })), this.showScrollRight && index.h("div", { key: '820c57b5782c5c85f220fd7b7909351f4a76fcec', class: "scroll-fade right" }), this.showScrollRight && (index.h("button", { key: 'f8db99b5f8a7401449c3a55eb170b341eaf26df1', class: "scroll-arrow right", onClick: () => this.scrollToEnd(), "aria-label": "Scroll to last tab" }, index.h("udp-icon", { key: 'b14c8c86928352c683d1140c2b3ba2dd92ebee7f', iconName: "chevronRight16", color: "inherit" })))), !this.isControlled && !this.useTabsProp && (index.h("div", { key: '95a11117862494527b06f1d5a8c92234a24e89d0' }, index.h("slot", { key: '4621baa5801a228fc9beb38e3b9b30dc7260e41a' })))));
|
|
8683
8754
|
}
|
|
8684
8755
|
get el() { return index.getElement(this); }
|
|
8685
8756
|
static get watchers() { return {
|
|
8686
|
-
"
|
|
8757
|
+
"internalActiveTab": ["onActiveTabChange"],
|
|
8758
|
+
"value": ["onValueChange"],
|
|
8759
|
+
"tabs": ["onTabsPropChange"],
|
|
8687
8760
|
"variant": ["onVariantChange"]
|
|
8688
8761
|
}; }
|
|
8689
8762
|
};
|
|
@@ -8756,7 +8829,7 @@ const UpdAlertBanner = class {
|
|
|
8756
8829
|
this.message = '';
|
|
8757
8830
|
}
|
|
8758
8831
|
render() {
|
|
8759
|
-
return (index.h("div", { key: '
|
|
8832
|
+
return (index.h("div", { key: '4551695bcaba3fde5445c7a34f1d67d0444af855', class: `alert-banner ${this.type}` }, index.h("unity-typography", { key: 'd763dea98c2b14a12753f54d5b99c89be23aaf49', variant: "data-display-three" }, " ", this.message, " ")));
|
|
8760
8833
|
}
|
|
8761
8834
|
};
|
|
8762
8835
|
UpdAlertBanner.style = updAlertBannerCss;
|