udp-stencil-component-library 25.18.2-beta.5 → 25.18.2-beta.6
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_12.cjs.entry.js +1 -1
- package/dist/cjs/ag-grid-base.ghost-render.grid-header.hint-panel.udp-dialog.udp-list-item.entry.cjs.js.map +1 -1
- package/dist/cjs/ag-grid-base_6.cjs.entry.js +27 -11
- package/dist/cjs/api-method-instance-grid.cjs.entry.js +1 -1
- package/dist/cjs/app-bar.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/entity-maintenance-grid.cjs.entry.js +1 -1
- package/dist/cjs/feature-details-card_2.cjs.entry.js +5 -5
- package/dist/cjs/filter-conditions_7.cjs.entry.js +2 -2
- package/dist/cjs/form-metadata-display_8.cjs.entry.js +6 -6
- package/dist/cjs/index-CGCOXUJE.js +10 -10
- 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/primary-action-header.udp-tabs.entry.cjs.js.map +1 -0
- package/dist/cjs/{primary-action-header_3.cjs.entry.js → primary-action-header_2.cjs.entry.js} +4 -266
- package/dist/cjs/resource-timeline-calendar.cjs.entry.js +1 -1
- package/dist/cjs/search-method-grid.cjs.entry.js +2 -1
- package/dist/cjs/search-method-grid.entry.cjs.js.map +1 -1
- package/dist/cjs/server-side-grid.cjs.entry.js +1 -1
- package/dist/cjs/side-sheet-container.cjs.entry.js +1 -1
- package/dist/cjs/stencil-library.cjs.js +1 -1
- package/dist/cjs/stencil-toggle.cjs.entry.js +4 -4
- package/dist/cjs/text-field_2.cjs.entry.js +7 -7
- 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 +35 -0
- package/dist/cjs/udp-container.entry.cjs.js.map +1 -0
- package/dist/cjs/udp-date-range-selector.cjs.entry.js +1 -1
- package/dist/cjs/udp-dynamic-container-with-menu.cjs.entry.js +1 -1
- package/dist/cjs/udp-linear-loader.udp-side-sheet.entry.cjs.js.map +1 -0
- package/dist/cjs/udp-linear-loader_2.cjs.entry.js +289 -0
- package/dist/cjs/udp-map.cjs.entry.js +3 -3
- package/dist/cjs/udp-menu-item.udp-pop-over.entry.cjs.js.map +1 -0
- package/dist/cjs/{udp-pop-over.cjs.entry.js → udp-menu-item_2.cjs.entry.js} +23 -1
- package/dist/cjs/udp-page.cjs.entry.js +1 -1
- package/dist/cjs/udp-skeleton-loading.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 +2 -2
- package/dist/cjs/udp-tab.cjs.entry.js +1 -1
- package/dist/cjs/udp-timeline-connector.cjs.entry.js +1 -1
- package/dist/cjs/udp-timeline-dot.cjs.entry.js +1 -1
- package/dist/cjs/udp-timeline-item.cjs.entry.js +2 -2
- package/dist/cjs/udp-timeline-separator.cjs.entry.js +1 -1
- package/dist/cjs/udp-timeline.cjs.entry.js +1 -1
- package/dist/cjs/udp-vertical-spacer.cjs.entry.js +1 -1
- package/dist/collection/components/grid/new-grid/ag-grid-base.js +2 -1
- package/dist/collection/components/grid/new-grid/ag-grid-base.js.map +1 -1
- package/dist/collection/components/grid/new-grid/api-method-instance-grid.js +1 -1
- package/dist/collection/components/grid/new-grid/client-side-grid.js +1 -1
- package/dist/collection/components/grid/new-grid/datasources/searchMethodDatasource.js +1 -0
- package/dist/collection/components/grid/new-grid/datasources/searchMethodDatasource.js.map +1 -1
- package/dist/collection/components/grid/new-grid/entity-maintenance-grid.js +1 -1
- package/dist/collection/components/grid/new-grid/gridFunctions/bulkActions.js +24 -9
- package/dist/collection/components/grid/new-grid/gridFunctions/bulkActions.js.map +1 -1
- package/dist/collection/components/grid/new-grid/interfaces/grid.js.map +1 -1
- package/dist/collection/components/grid/new-grid/search-method-grid.js +1 -1
- package/dist/collection/components/grid/new-grid/server-side-grid.js +1 -1
- package/dist/collection/components/grid/resource-timeline-calendar/resource-timeline-calendar.js +1 -1
- package/dist/collection/components/grid/resource-timeline-calendar/resource-timeline-primary-bar.js +2 -2
- package/dist/collection/components/inputs/checkbox/check-box.js +2 -2
- package/dist/collection/components/inputs/date-range-selector/udp-date-range-selector.js +1 -1
- package/dist/collection/components/inputs/date-selector/udp-date-selector.js +3 -3
- package/dist/collection/components/inputs/date-time-selector/udp-datetime-selector.js +3 -3
- package/dist/collection/components/inputs/form metadata display/form-metadata-display.js +1 -1
- package/dist/collection/components/inputs/image-upload/image-upload.js +1 -1
- package/dist/collection/components/inputs/numeric-field/numeric-field.js +3 -3
- package/dist/collection/components/inputs/signature-input/signature-input.js +2 -2
- package/dist/collection/components/inputs/tally/tally.js +2 -2
- package/dist/collection/components/inputs/text-area/text-area.js +3 -3
- package/dist/collection/components/inputs/text-field/text-field.js +3 -3
- package/dist/collection/components/inputs/time-selector/udp-time-selector.js +3 -3
- package/dist/collection/components/inputs/toggle/stencil-toggle.js +4 -4
- package/dist/collection/components/inputs/udp-selector/udp-selector.js +4 -4
- package/dist/collection/components/layout/udp-container/udp-container.js +2 -2
- package/dist/collection/components/layout/udp-container-query/udp-container-query.js +2 -2
- package/dist/collection/components/layout/udp-container-query-grid/udp-container-query-grid.js +1 -1
- package/dist/collection/components/layout/udp-container-query-grid-item/udp-container-query-grid-item.js +1 -1
- package/dist/collection/components/layout/udp-page/udp-page.js +1 -1
- package/dist/collection/components/layout/udp-split-screen/udp-split-screen.js +1 -1
- package/dist/collection/components/layout/udp-vertical-spacer.js +1 -1
- package/dist/collection/components/loaders/udp-grid-loader/udp-grid-loader.js +2 -2
- package/dist/collection/components/loaders/udp-linear-loader/udp-linear-loader.js +1 -1
- package/dist/collection/components/loaders/udp-skeleton-loading.js +1 -1
- package/dist/collection/components/map/udp-map/map-component.js +1 -1
- package/dist/collection/components/map/udp-map/popups/add-map-feature-popup.js +3 -3
- package/dist/collection/components/map/udp-map/popups/feature-details-card/feature-details-card.js +4 -4
- package/dist/collection/components/map/udp-map/popups/feature-details-popup.js +1 -1
- package/dist/collection/components/map/udp-map/popups/select-layer-popup.js +2 -2
- package/dist/collection/components/map/udp-map/popups/split-line-popup.js +1 -1
- package/dist/collection/components/map/udp-map/toolbar/map-toolbar.js +6 -6
- package/dist/collection/components/map/udp-map/udp-map-toolbar.js +1 -1
- package/dist/collection/components/map/udp-map/udp-map.js +3 -3
- package/dist/collection/components/menu/menu-item/udp-menu-item.js +1 -1
- package/dist/collection/components/menu/udp-menu.js +1 -1
- package/dist/collection/components/stepper/udp-stepper-demo.js +1 -1
- package/dist/collection/components/tabs/tab/tabs/udp-tabs.js +2 -2
- package/dist/collection/components/tabs/tab/udp-tab.js +1 -1
- package/dist/collection/components/tabs/udp-tab-panel/udp-tab-panel.js +2 -2
- package/dist/collection/components/timeline/udp-timeline-connector.js +1 -1
- package/dist/collection/components/timeline/udp-timeline-dot.js +1 -1
- package/dist/collection/components/timeline/udp-timeline-item.js +2 -2
- package/dist/collection/components/timeline/udp-timeline-separator.js +1 -1
- package/dist/collection/components/timeline/udp-timeline.js +1 -1
- package/dist/collection/components/toolbars/app-bar/app-bar.js +1 -1
- package/dist/collection/components/util/ghost-render/ghost-render.js +1 -1
- package/dist/collection/deprecated/components/side-sheet/side-sheet-container.js +1 -1
- package/dist/collection/deprecated/components/side-sheet/side-sheet.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 +78 -38
- package/dist/components/ag-grid-base2.js.map +1 -1
- package/dist/components/api-method-instance-grid.js +59 -35
- package/dist/components/api-method-instance-grid.js.map +1 -1
- package/dist/components/app-bar.js +1 -1
- package/dist/components/check-box.js +2 -2
- package/dist/components/chip-section.js +2 -2
- package/dist/components/client-side-grid2.js +55 -31
- package/dist/components/client-side-grid2.js.map +1 -1
- 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/form-metadata-display2.js +1 -1
- package/dist/components/ghost-render2.js +1 -1
- package/dist/components/image-upload2.js +1 -1
- 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/resource-timeline-calendar.js +59 -35
- package/dist/components/resource-timeline-calendar.js.map +1 -1
- package/dist/components/resource-timeline-primary-bar2.js +2 -2
- package/dist/components/search-method-grid2.js +58 -33
- package/dist/components/search-method-grid2.js.map +1 -1
- package/dist/components/select-layer-popup2.js +2 -2
- package/dist/components/server-side-grid2.js +55 -31
- package/dist/components/server-side-grid2.js.map +1 -1
- package/dist/components/side-sheet-container2.js +1 -1
- package/dist/components/side-sheet2.js +1 -1
- package/dist/components/signature-input2.js +2 -2
- package/dist/components/split-line-popup2.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/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-dynamic-container-with-menu2.js +1 -1
- package/dist/components/udp-grid-loader2.js +2 -2
- 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-page.js +1 -1
- package/dist/components/udp-selector2.js +4 -4
- 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.js +2 -2
- package/dist/components/udp-tab.js +1 -1
- package/dist/components/udp-tabs2.js +2 -2
- package/dist/components/udp-time-selector2.js +3 -3
- package/dist/components/udp-timeline-connector.js +1 -1
- package/dist/components/udp-timeline-dot.js +1 -1
- package/dist/components/udp-timeline-item.js +2 -2
- package/dist/components/udp-timeline-separator.js +1 -1
- package/dist/components/udp-timeline.js +1 -1
- package/dist/components/udp-vertical-spacer.js +1 -1
- package/dist/docs.json +141 -52
- package/dist/esm/add-map-feature-popup_4.entry.js +12 -12
- package/dist/esm/advanced-search_12.entry.js +1 -1
- package/dist/esm/ag-grid-base.ghost-render.grid-header.hint-panel.udp-dialog.udp-list-item.entry.js.map +1 -1
- package/dist/esm/ag-grid-base_6.entry.js +27 -11
- package/dist/esm/api-method-instance-grid.entry.js +1 -1
- package/dist/esm/app-bar.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/entity-maintenance-grid.entry.js +1 -1
- package/dist/esm/feature-details-card_2.entry.js +5 -5
- package/dist/esm/filter-conditions_7.entry.js +2 -2
- package/dist/esm/form-metadata-display_8.entry.js +6 -6
- package/dist/esm/index-CaZq3YdB.js +10 -10
- 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/primary-action-header.udp-tabs.entry.js.map +1 -0
- package/dist/esm/{primary-action-header_3.entry.js → primary-action-header_2.entry.js} +5 -262
- package/dist/esm/resource-timeline-calendar.entry.js +1 -1
- package/dist/esm/search-method-grid.entry.js +2 -1
- package/dist/esm/search-method-grid.entry.js.map +1 -1
- package/dist/esm/server-side-grid.entry.js +1 -1
- package/dist/esm/side-sheet-container.entry.js +1 -1
- package/dist/esm/stencil-library.js +1 -1
- package/dist/esm/stencil-toggle.entry.js +4 -4
- package/dist/esm/text-field_2.entry.js +7 -7
- 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 +33 -0
- package/dist/esm/udp-container.entry.js.map +1 -0
- package/dist/esm/udp-date-range-selector.entry.js +1 -1
- package/dist/esm/udp-dynamic-container-with-menu.entry.js +1 -1
- package/dist/esm/udp-linear-loader.udp-side-sheet.entry.js.map +1 -0
- package/dist/esm/udp-linear-loader_2.entry.js +282 -0
- package/dist/esm/udp-map.entry.js +3 -3
- package/dist/esm/udp-menu-item.udp-pop-over.entry.js.map +1 -0
- package/dist/esm/{udp-pop-over.entry.js → udp-menu-item_2.entry.js} +24 -3
- package/dist/esm/udp-page.entry.js +1 -1
- package/dist/esm/udp-skeleton-loading.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 +2 -2
- package/dist/esm/udp-tab.entry.js +1 -1
- package/dist/esm/udp-timeline-connector.entry.js +1 -1
- package/dist/esm/udp-timeline-dot.entry.js +1 -1
- package/dist/esm/udp-timeline-item.entry.js +2 -2
- package/dist/esm/udp-timeline-separator.entry.js +1 -1
- package/dist/esm/udp-timeline.entry.js +1 -1
- 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_12.entry.js +1 -1
- package/dist/stencil-library/ag-grid-base.ghost-render.grid-header.hint-panel.udp-dialog.udp-list-item.entry.esm.js.map +1 -1
- package/dist/stencil-library/ag-grid-base_6.entry.js +1 -1
- package/dist/stencil-library/ag-grid-base_6.entry.js.map +1 -1
- package/dist/stencil-library/api-method-instance-grid.entry.js +1 -1
- package/dist/stencil-library/app-bar.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/entity-maintenance-grid.entry.js +1 -1
- package/dist/stencil-library/feature-details-card_2.entry.js +1 -1
- package/dist/stencil-library/filter-conditions_7.entry.js +1 -1
- package/dist/stencil-library/form-metadata-display_8.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/primary-action-header.udp-tabs.entry.esm.js.map +1 -0
- package/dist/stencil-library/primary-action-header_2.entry.js +2 -0
- package/dist/stencil-library/primary-action-header_2.entry.js.map +1 -0
- package/dist/stencil-library/resource-timeline-calendar.entry.js +1 -1
- package/dist/stencil-library/search-method-grid.entry.esm.js.map +1 -1
- package/dist/stencil-library/search-method-grid.entry.js +1 -1
- package/dist/stencil-library/search-method-grid.entry.js.map +1 -1
- package/dist/stencil-library/server-side-grid.entry.js +1 -1
- package/dist/stencil-library/side-sheet-container.entry.js +1 -1
- package/dist/stencil-library/stencil-library.esm.js +1 -1
- package/dist/stencil-library/stencil-toggle.entry.js +1 -1
- package/dist/stencil-library/text-field_2.entry.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.esm.js.map +1 -0
- package/dist/stencil-library/udp-container.entry.js +2 -0
- package/dist/stencil-library/udp-container.entry.js.map +1 -0
- package/dist/stencil-library/udp-date-range-selector.entry.js +1 -1
- package/dist/stencil-library/udp-dynamic-container-with-menu.entry.js +1 -1
- package/dist/stencil-library/udp-linear-loader.udp-side-sheet.entry.esm.js.map +1 -0
- package/dist/stencil-library/udp-linear-loader_2.entry.js +2 -0
- package/dist/stencil-library/udp-linear-loader_2.entry.js.map +1 -0
- package/dist/stencil-library/udp-map.entry.js +1 -1
- package/dist/stencil-library/udp-menu-item.udp-pop-over.entry.esm.js.map +1 -0
- package/dist/stencil-library/udp-menu-item_2.entry.js +2 -0
- package/dist/stencil-library/udp-menu-item_2.entry.js.map +1 -0
- package/dist/stencil-library/udp-page.entry.js +1 -1
- package/dist/stencil-library/udp-skeleton-loading.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.js +1 -1
- package/dist/stencil-library/udp-tab.entry.js +1 -1
- package/dist/stencil-library/udp-timeline-connector.entry.js +1 -1
- package/dist/stencil-library/udp-timeline-dot.entry.js +1 -1
- package/dist/stencil-library/udp-timeline-item.entry.js +1 -1
- package/dist/stencil-library/udp-timeline-item.entry.js.map +1 -1
- package/dist/stencil-library/udp-timeline-separator.entry.js +1 -1
- package/dist/stencil-library/udp-timeline.entry.js +1 -1
- package/dist/stencil-library/udp-vertical-spacer.entry.js +1 -1
- package/dist/types/components/grid/new-grid/gridFunctions/bulkActions.d.ts +4 -2
- package/dist/types/components/grid/new-grid/interfaces/grid.d.ts +1 -0
- package/package.json +1 -1
- package/dist/cjs/primary-action-header.udp-side-sheet.udp-tabs.entry.cjs.js.map +0 -1
- package/dist/cjs/udp-container.udp-linear-loader.entry.cjs.js.map +0 -1
- package/dist/cjs/udp-container_2.cjs.entry.js +0 -56
- package/dist/cjs/udp-menu-item.cjs.entry.js +0 -27
- package/dist/cjs/udp-menu-item.entry.cjs.js.map +0 -1
- package/dist/cjs/udp-pop-over.entry.cjs.js.map +0 -1
- package/dist/esm/primary-action-header.udp-side-sheet.udp-tabs.entry.js.map +0 -1
- package/dist/esm/udp-container.udp-linear-loader.entry.js.map +0 -1
- package/dist/esm/udp-container_2.entry.js +0 -53
- package/dist/esm/udp-menu-item.entry.js +0 -25
- package/dist/esm/udp-menu-item.entry.js.map +0 -1
- package/dist/esm/udp-pop-over.entry.js.map +0 -1
- package/dist/stencil-library/primary-action-header.udp-side-sheet.udp-tabs.entry.esm.js.map +0 -1
- package/dist/stencil-library/primary-action-header_3.entry.js +0 -2
- package/dist/stencil-library/primary-action-header_3.entry.js.map +0 -1
- package/dist/stencil-library/udp-container.udp-linear-loader.entry.esm.js.map +0 -1
- package/dist/stencil-library/udp-container_2.entry.js +0 -2
- package/dist/stencil-library/udp-container_2.entry.js.map +0 -1
- package/dist/stencil-library/udp-menu-item.entry.esm.js.map +0 -1
- package/dist/stencil-library/udp-menu-item.entry.js +0 -2
- package/dist/stencil-library/udp-menu-item.entry.js.map +0 -1
- package/dist/stencil-library/udp-pop-over.entry.esm.js.map +0 -1
- package/dist/stencil-library/udp-pop-over.entry.js +0 -2
- package/dist/stencil-library/udp-pop-over.entry.js.map +0 -1
|
@@ -407,22 +407,36 @@ class BulkActions {
|
|
|
407
407
|
this.selectedRowCount = rows.length;
|
|
408
408
|
this.refresh();
|
|
409
409
|
});
|
|
410
|
-
if (!this.fetchedData || ((_a = this.api.getGridOption('context')) === null || _a === void 0 ? void 0 : _a.gridId) !== this.gridId) {
|
|
410
|
+
if (!this.fetchedData || ((_a = this.api.getGridOption('context')) === null || _a === void 0 ? void 0 : _a.gridId) !== this.gridId) {
|
|
411
|
+
//refetch if grid Id has changed since last fetch
|
|
411
412
|
this.fetchBulkActions();
|
|
412
413
|
}
|
|
413
414
|
};
|
|
414
415
|
this.setBulkActions = data => {
|
|
415
|
-
|
|
416
|
-
return {
|
|
416
|
+
const actionProviderActions = data.map(action => {
|
|
417
|
+
return {
|
|
418
|
+
label: action.name,
|
|
419
|
+
onClick: () => this.executeActionProviderAction(action.actionId),
|
|
420
|
+
};
|
|
421
|
+
});
|
|
422
|
+
const parsedLocalFunctions = this.localFunctions.map(func => {
|
|
423
|
+
return { label: func.label, onClick: () => this.executeLocalFunction(func.label) };
|
|
417
424
|
});
|
|
425
|
+
this.bulkActions = [...actionProviderActions, ...parsedLocalFunctions];
|
|
418
426
|
this.fetchedData = true;
|
|
419
427
|
this.refresh();
|
|
420
428
|
};
|
|
421
|
-
this.
|
|
422
|
-
|
|
423
|
-
|
|
429
|
+
this.executeLocalFunction = (functionName) => {
|
|
430
|
+
const selectedFunction = this.localFunctions.find(f => f.label === functionName);
|
|
431
|
+
if (selectedFunction) {
|
|
432
|
+
selectedFunction.callback(this.selectedRows);
|
|
433
|
+
}
|
|
434
|
+
this.refresh();
|
|
435
|
+
};
|
|
436
|
+
this.executeActionProviderAction = (actionId) => {
|
|
437
|
+
if (this.actionProviderCallback) {
|
|
438
|
+
this.actionProviderCallback(actionId, this.selectedRows);
|
|
424
439
|
}
|
|
425
|
-
alert(`Executing action with ID: ${actionId}`);
|
|
426
440
|
this.refresh();
|
|
427
441
|
};
|
|
428
442
|
this.toggleMenu = () => {
|
|
@@ -437,7 +451,8 @@ class BulkActions {
|
|
|
437
451
|
init(api, refresh, params) {
|
|
438
452
|
this.api = api;
|
|
439
453
|
this.refresh = refresh;
|
|
440
|
-
this.
|
|
454
|
+
this.actionProviderCallback = params === null || params === void 0 ? void 0 : params.actionProviderCallback;
|
|
455
|
+
this.localFunctions = params === null || params === void 0 ? void 0 : params.localFunctions;
|
|
441
456
|
const modelType = this.api.getGridOption('rowModelType');
|
|
442
457
|
if (modelType === 'clientSide') {
|
|
443
458
|
this.api.setGridOption('rowSelection', { mode: 'multiRow', enableClickSelection: true });
|
|
@@ -446,7 +461,7 @@ class BulkActions {
|
|
|
446
461
|
this.api.setGridOption('rowSelection', {
|
|
447
462
|
mode: 'multiRow',
|
|
448
463
|
enableClickSelection: true,
|
|
449
|
-
headerCheckbox: false
|
|
464
|
+
headerCheckbox: false,
|
|
450
465
|
});
|
|
451
466
|
}
|
|
452
467
|
this.api.addEventListener('selectionChanged', this.onRowSelectionChanged);
|
|
@@ -912,6 +927,7 @@ const AgGridBase = class {
|
|
|
912
927
|
getSelectedNodes: () => this.gridApi.getSelectedNodes(), //gets all selected row nodes
|
|
913
928
|
getSearchObject: () => { var _a; return (_a = this.gridApi.getGridOption('context')) === null || _a === void 0 ? void 0 : _a.searchObject; }, //gets current full search object
|
|
914
929
|
getEntityName: () => { var _a; return (_a = this.gridApi.getGridOption('context')) === null || _a === void 0 ? void 0 : _a.entityName; }, //gets entity name
|
|
930
|
+
getRowCount: () => { var _a; return (_a = this.gridApi.getGridOption('context')) === null || _a === void 0 ? void 0 : _a.rowCount; }, //gets entity name
|
|
915
931
|
getFilterModel: () => this.gridApi.getFilterModel(),
|
|
916
932
|
setFilterModel: model => this.gridApi.setFilterModel(model),
|
|
917
933
|
onFilterChanged: () => this.gridApi.onFilterChanged(),
|
|
@@ -1000,7 +1016,7 @@ const AgGridBase = class {
|
|
|
1000
1016
|
render() {
|
|
1001
1017
|
var _a;
|
|
1002
1018
|
const variantClass = `variant-${((_a = this.headerConfig) === null || _a === void 0 ? void 0 : _a.variant) || 'light'}`;
|
|
1003
|
-
return (h("div", { key: '
|
|
1019
|
+
return (h("div", { key: '24fa82598a8b3c7cd8908d279dd5d55fa56fb059', class: variantClass, ref: el => (this.gridContainerEl = el) }, h("ghost-render", { key: '5a135714392f7edb7fee6d2146e231971ed0ca93' }, h("div", { key: 'f8a3749c2bff52ca09f110152d2a0c9d61d8458c' }, h("udp-dialog", { key: '7c245a75a383f6acc3df2eae99beb1eca1b0ce3b' }), h("udp-list-item", { key: '00c826a169725fe7950b5f48e6c6018554885eaf' }), h("hint-panel", { key: 'e36c1b28357c275c6d71caa245a5e5dfc0dcf8a8' }), h("udp-side-sheet", { key: '26ce13c227185842de854c0dca352a5bae875038' }))), h("div", { key: '97ec4f0e8a4e464965fddc7d27807797bf9690b1', class: "grid-base-header" }, h("grid-header", { key: '2af72231d327d5ff5c6b6c082ca24c8389b71db6', headerConfig: this.headerConfig, gridFunctions: this.gridFunctions, onHeaderAction: this.onHeaderAction }), h("div", { key: 'b3464f54b3c57d19d2deaa673e7a6b483573fa6c', class: "action-bar", style: { viewTransitionName: `action-bar` } }, this.gridFunctionInstances.map(fn => { var _a; return (_a = fn.render) === null || _a === void 0 ? void 0 : _a.call(fn); }))), h("div", { key: '851c7e4d8f06734ad7a0e5e5119ed61eb8556c57', id: "myNewGrid", ref: el => (this.gridEl = el), style: {
|
|
1004
1020
|
viewTransitionName: `my-new-grid`,
|
|
1005
1021
|
} })));
|
|
1006
1022
|
}
|
|
@@ -1087,7 +1103,7 @@ const GhostRender = class {
|
|
|
1087
1103
|
// The <slot /> is necessary to prevent the Stencil compiler from
|
|
1088
1104
|
// overly optimizing this component's output and aliasing the
|
|
1089
1105
|
// defineCustomElement export, which breaks downstream wrappers.
|
|
1090
|
-
return (h(Host, { key: '
|
|
1106
|
+
return (h(Host, { key: '77d50c2b9c9ccbb58d00b4928fcbed63d13c1010' }, h("slot", { key: '30730a259776f1452fca147be792d928ba2ee996' })));
|
|
1091
1107
|
}
|
|
1092
1108
|
};
|
|
1093
1109
|
GhostRender.style = ":host {\n display: none;\n }";
|
|
@@ -173,7 +173,7 @@ const ApiMethodInstanceGrid = class {
|
|
|
173
173
|
this.getApiMethodInstanceData();
|
|
174
174
|
}
|
|
175
175
|
render() {
|
|
176
|
-
return (h("search-method-grid", { key: '
|
|
176
|
+
return (h("search-method-grid", { key: '33e4a95cef2df0e1bad3284a3ac51a9adc41b07f', onGridReady: e => this.handleGridReady(e), gridFunctions: this.gridFunctions, gridOptions: this.gridOptions, gridHeaderConfig: this.gridHeaderConfig, gridId: this.gridId, entityName: this.entityName, gridHeight: this.gridHeight, searchMethodConfig: this.searchMethodConfig, gridApiCallback: this.gridApiCallback }));
|
|
177
177
|
}
|
|
178
178
|
static get watchers() { return {
|
|
179
179
|
"apiMethodInstanceData": ["createColumnDefs", "updateSearchMethodConfig"],
|
|
@@ -8,7 +8,7 @@ const AppBar = class {
|
|
|
8
8
|
registerInstance(this, hostRef);
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return (h("div", { key: '
|
|
11
|
+
return (h("div", { key: '7b7af9697a475cf142798e9e43feee3985856a6b', class: "header" }, h("stencil-icon-button", { key: 'af3495916584f70dfd7fb5426e00c4f148c29e3a', noBackground: true, darkIcon: false, icon: Menu24 }), h("unity-typography", { key: '92af258f08e7703eddd5feca74c1069ea6e8b271', variant: 'data-display-one' }, " ", h("slot", { key: '48729c3557c59d27ce18edd1beeda424d990579b' }), " "), h("a", { key: 'b16e4c1679c4b7320f89c9ebdd3968af35910695', class: "skip-to-content", href: "#main-content" }, "Skip to main content"), h("div", { key: 'fa773ebfe0743a3ddff6ab87d7e1a1c68b68f4cd', class: "header__logo" }), h("div", { key: 'c954e8afe6edbe14569bdcd7d2ee557c63beda0c', class: "header__nav", role: "navigation", "aria-label": "Carbon Design System" }), h("div", { key: 'e327a7c72a2af8f31980d4963fb4691ccd778425', class: "header__global" }, h("udp-avatar", { key: 'a9320922a27392ae25af4d3ee23cccc5b8787ce5', username: this.username }))));
|
|
12
12
|
}
|
|
13
13
|
};
|
|
14
14
|
AppBar.style = appBarCss;
|
|
@@ -95,13 +95,13 @@ const Checkbox = class {
|
|
|
95
95
|
*/
|
|
96
96
|
render() {
|
|
97
97
|
const isError = !!this.errorMessage;
|
|
98
|
-
return (h(Host, { key: '
|
|
98
|
+
return (h(Host, { key: 'ba1a4db32033c863a1f1afecfcaad608c084aef0', class: {
|
|
99
99
|
'udp-input': true,
|
|
100
100
|
'udp-input--error': isError,
|
|
101
101
|
'udp-input--disabled': this.disabled,
|
|
102
102
|
'udp-input--required': this.required,
|
|
103
103
|
'udp-input--checked': this.internalChecked
|
|
104
|
-
}, "aria-invalid": isError ? 'true' : 'false', "aria-required": this.required ? 'true' : 'false' }, h("div", { key: '
|
|
104
|
+
}, "aria-invalid": isError ? 'true' : 'false', "aria-required": this.required ? 'true' : 'false' }, h("div", { key: '03e51c5abfe932c8b8c91fc4a2290d27ca7b417e', class: "checkbox-container" }, h("input", { key: '1a8402b5ae9bb2ddbd28ffe6081ff31bf80ac0ed', type: "checkbox", checked: this.internalChecked, onChange: this.handleChange, id: this.id, name: this.name, disabled: this.disabled, required: this.required }), this.label && h("label", { key: 'f24f76ce0772bc697153eb73a8ee3c50b971dd25', htmlFor: this.id }, this.label), this.errorMessage && h("div", { key: '9e4f9113b360b8b21e920096b17fa055ae9d8a0d', class: "error-message" }, this.errorMessage))));
|
|
105
105
|
}
|
|
106
106
|
static get watchers() { return {
|
|
107
107
|
"error": ["updateError"],
|
|
@@ -98,13 +98,13 @@ const ChipSection = class {
|
|
|
98
98
|
}
|
|
99
99
|
render() {
|
|
100
100
|
console.log("Rendering ChipSection", this.visibleFilterChips);
|
|
101
|
-
return (h("div", { key: '
|
|
101
|
+
return (h("div", { key: '7d57f632fed9180970cc16bdfe929cdc86efa359', class: "wrapper", id: "chipSectionContainer" }, h("div", { key: 'f609b0423b57e0c270d87b6dae6e4cb22c30b869', class: "chipHolder" }, h("div", { key: '2c64b4b347c29c64dc65ed1b645277725eb60bd7', id: "viewChipsContainer" }, this.viewChips.map((chip, index) => (h("stencil-chip", { onOnDelete: () => this.handleDelete('view', index), text: chip.label, class: "viewChip" })))), h("udp-dynamic-container-with-menu", { key: 'd0b70c1ce9e1444a55621829d8ff3dee45f32b39', id: "filterChipsContainer", menuItems: this.menuItems }, this.selectedFilterChip && (h("stencil-chip", { key: 'ea307f7514c5d7ecccac9ae7e1073f52f0e94e39', onOnDelete: this.handleFilterChipUntoggle, text: this.selectedFilterChip.label, class: "viewChip" })), console.log('filtering here...', this.filterChips), this.filterChips.map((chip) => {
|
|
102
102
|
if (this.selectedFilterChip && chip.id === this.selectedFilterChip.id) {
|
|
103
103
|
console.log('returning null...');
|
|
104
104
|
return null;
|
|
105
105
|
}
|
|
106
106
|
return (h("stencil-chip", { text: `${chip.label} ${chip.value}`, class: "filterChip", onClick: () => this.handleFilterChipToggle(chip) }));
|
|
107
|
-
})), h("div", { key: '
|
|
107
|
+
})), h("div", { key: '43e94f749885352f3812ffb341830bc22ff3f8cd', id: "additionalFilterChipsContainer" }, this.additionalFilterChips.map((chip, index) => (h("stencil-chip", { onOnDelete: () => this.handleDelete('additionalFilter', index), text: chip.label, class: "additionalFilterChip" })))), !this.hideKpiSection && (h("div", { key: '616441fe4812ba9f86db0a14b542fe0a0434daa4', class: "KPI", id: "kpiContainer" }, this.kpiValues.slice(0, this.maxKPIsDisplayed).map((kpi) => (h("div", { class: "kpiItem" }, h("span", { class: "kpiLabel" }, this.abbreviateLabel(kpi.label) || kpi.label), h("span", { class: "kpiValue" }, this.abbrNum(kpi.value, 1))))))))));
|
|
108
108
|
}
|
|
109
109
|
get el() { return getElement(this); }
|
|
110
110
|
static get watchers() { return {
|
|
@@ -115,7 +115,7 @@ const ClientSideGrid = class {
|
|
|
115
115
|
this.clientSideConfig = Object.assign(Object.assign({}, this.gridOptions), { rowModelType: 'clientSide' });
|
|
116
116
|
}
|
|
117
117
|
render() {
|
|
118
|
-
return (h("ag-grid-base", { key: '
|
|
118
|
+
return (h("ag-grid-base", { key: '073068c51c1ba01ba6807b6c400d12564dc03fd1', columnDefs: this.columnDefs, gridOptions: this.clientSideConfig, headerConfig: this.gridHeaderConfig, onGridReady: e => this.handleGridReady(e), gridFunctions: this.gridFunctions, gridId: this.gridId, gridApiCallback: this.gridApiCallback }));
|
|
119
119
|
}
|
|
120
120
|
static get watchers() { return {
|
|
121
121
|
"rowData": ["updateRowData"]
|
|
@@ -135,12 +135,12 @@ const ResourceTimelinePrimaryBar = class {
|
|
|
135
135
|
}
|
|
136
136
|
render() {
|
|
137
137
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
138
|
-
return (h("div", { key: '
|
|
138
|
+
return (h("div", { key: 'ac7403348a464000c865dd3a231a0615f70f2dd7', class: "header-bar" }, h("div", { key: 'b22e2733b81a674be432372db437225aad5a9e12', class: "title-section" }, this.gridBarTitle || this.gridBarTitle === '' ? (h("unity-typography", { variant: "body1", bold: true }, this.gridBarTitle, ' ')) : (h("udp-skeleton-loading", { width: "200px" })), h("div", { key: 'a8c0d28dba1e794b744c8f4d81a780fab0b8a1f9', class: "subtitle" }, this.subTitle || this.subTitle === '' ? (h("unity-typography", { variant: "body1" }, this.subTitle, " ")) : (h("udp-skeleton-loading", { width: "200px" })), h("div", { key: 'e1fdd4a78d2ad6b241334e548d812cd987e3ad0d', class: "subtitle-status" }, this.subtitleStatus && (h("udp-chip", { key: '10936c1c42f01a61018a92388a6eb380708b9250', variant: "outlined", size: "small", label: this.subtitleStatus, color: this.subtitleStatusMappingClasses[this.subtitleStatus] })), this.showLockedIcon && (h("udp-icon-button", { key: 'df8d9deb69359a8a17a84923fd51a01993e8c279', icon: getIconFromName('lock'), variant: "outlined", size: "x-small", disabled: true }))))), h("div", { key: 'f5055b7f6c6fc1edebb636835038addb21f2b712', class: "button-section" }, h("udp-icon-button", { key: '2a94671c9f61d80c55b743a4d104a6d66fbff7f8', class: {
|
|
139
139
|
'settings-button': true,
|
|
140
140
|
'is-open': this.isMenuOpen,
|
|
141
141
|
}, onClick: this.toggleSettingsMenu, ref: (el) => {
|
|
142
142
|
this.menuAnchorEl = el ? el : undefined;
|
|
143
|
-
}, icon: getIconFromName('settings'), variant: 'outlined', size: "small", color: "inherit" }), h("udp-menu", { key: '
|
|
143
|
+
}, icon: getIconFromName('settings'), variant: 'outlined', size: "small", color: "inherit" }), h("udp-menu", { key: '351ecbd4e63042f2e313c9898f9d7c05e305b793', open: this.isMenuOpen, anchor: this.menuAnchorEl, handleClose: () => (this.isMenuOpen = false) }, h("udp-menu-item", { key: 'b88e3a4eb6c2f5846338011deebdfdfa3e73b11c', label: "Expand Groups", onItemClick: this.expandAll }), h("udp-menu-item", { key: 'b249840a4f41d035d762035b741c2b182bf86c1c', label: "Collapse Groups", onItemClick: this.collapseAll })), this.clickBackward && (h("div", { key: '749af8006b4f06996643073f2eae90df97947a6c', class: "date-navigation" }, this.clickBackward && (h("udp-icon-button", { key: 'ce31bad842ade74477653aa1f43c540a420ec36e', tooltip: "Previous period", icon: ChevronLeft16, onClick: this.clickBackward, size: "small", color: "inherit", disabled: this.disableHeaderActions })), this.clickToday && (h("udp-button", { key: '1e653d98cbf31ba1115a9b2a107c5645efc4c20f', onClick: this.clickToday, size: "small", color: "inherit", disabled: this.disableHeaderActions }, "Today")), this.clickForward && (h("udp-icon-button", { key: '1aef32ec648196c81d0ade3615d1ae8dba3a514b', tooltip: "Next period", icon: ChevronRight24, onClick: this.clickForward, size: "small", color: "inherit", disabled: this.disableHeaderActions })))), ((_a = this.secondaryAction) === null || _a === void 0 ? void 0 : _a.onClick) && (h("udp-button", { key: '306b66b6de1851bfc6ddb3fb53186be18c7a8a38', disabled: ((_b = this.secondaryAction) === null || _b === void 0 ? void 0 : _b.disabled) || this.disableHeaderActions, variant: "outlined", color: "secondary", onButtonClick: this.secondaryAction.onClick, startIcon: h("udp-icon", { iconName: (_c = this.secondaryAction) === null || _c === void 0 ? void 0 : _c.iconName, color: 'inherit' }), size: "medium" }, (_d = this.secondaryAction) === null || _d === void 0 ? void 0 : _d.label)), ((_e = this.primaryAction) === null || _e === void 0 ? void 0 : _e.onClick) && (h("udp-button", { key: 'c2579b7e8293b5ed7d4fa71d73378f302771e60f', disabled: ((_f = this.primaryAction) === null || _f === void 0 ? void 0 : _f.disabled) || this.disableHeaderActions, startIcon: h("udp-icon", { iconName: (_g = this.primaryAction) === null || _g === void 0 ? void 0 : _g.iconName, color: 'inherit' }), variant: "contained", onButtonClick: this.primaryAction.onClick, color: "secondary" }, (_h = this.primaryAction) === null || _h === void 0 ? void 0 : _h.label)))));
|
|
144
144
|
}
|
|
145
145
|
};
|
|
146
146
|
ResourceTimelinePrimaryBar.style = resourceTimelinePrimaryBarCss;
|
|
@@ -38,7 +38,7 @@ const EntityMaintenanceGrid = class {
|
|
|
38
38
|
this.getPromotedMethods();
|
|
39
39
|
}
|
|
40
40
|
render() {
|
|
41
|
-
return (h("api-method-grid", { key: '
|
|
41
|
+
return (h("api-method-grid", { key: 'fc83d69ce7476b4494ca6afcce903d4ff236f502', onGridReady: e => this.handleGridReady(e), gridHeaderConfig: this.gridHeaderConfig }));
|
|
42
42
|
}
|
|
43
43
|
};
|
|
44
44
|
|
|
@@ -194,19 +194,19 @@ const FeatureDetailsCard = class {
|
|
|
194
194
|
render() {
|
|
195
195
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
196
196
|
const currentMessageIcon = (_a = this.messageIcon) !== null && _a !== void 0 ? _a : this.getDefaultMessageIcon();
|
|
197
|
-
return (h("div", { key: '
|
|
197
|
+
return (h("div", { key: 'a52abc58b76f689d11ff262e52639585a5cebd13', class: "card-wrapper", style: { width: (_b = this.width) !== null && _b !== void 0 ? _b : '100%' } }, this.showAdornment && this.status && (h("div", { key: 'af8ba7bceed90f48b16f6017705804735dc7746b', class: "adornment" }, h("udp-adornment", { key: 'e74c1c616cdbaddf83e3c774bb1d4c18c34d6abe', status: (_c = this.status) !== null && _c !== void 0 ? _c : 'info' }))), h("div", { key: '02a1dc580dc4aa1c2994250eae97d96a5b1f3b63', class: "content-wrapper" }, h("div", { key: '6481b5cdc429fdf478f9b301ed25801335b526dc', class: "header-wrapper", style: { backgroundColor: this.getHeaderBackgroundColor() } }, h("div", { key: '5c3633a98640688aa4660ddf874917ede9fcf4c7', class: "title-wrapper" }, h("stencil-icon-button", { key: '908fcd2b5fc0c6d575c94a8611397060c9c32112', onClick: this.onClose, icon: Close24, tooltip: "Close", noBackground: true }), h("unity-typography", { key: '060af9c6e9c481a16cd2e0f0b0b9e2b0fa35a756', variant: 'h6' }, this.title)), ((_d = this.moreIconActions) === null || _d === void 0 ? void 0 : _d.length) > 0 && (h("div", { key: '3a50706aba2899956a8a8a6258b8e88813e9bfde' }, h("div", { key: 'e77330f0c74b4bbc563a8ffd448aa73fbbc246d1', id: "moreHeaderIconButton1" }, h("stencil-icon-button", { key: '420c2e5d599157fb1afb9ceb5a338e253e699025', onClick: this.handleOnClickMoreIcon, icon: OverflowMenuVertical24, tooltip: "More", noBackground: true, buttonId: "moreHeaderIconButton" })), this.moreIconAnchor && (h("udp-pop-over", { key: '066a2f2208e045ccf912886a0ca8268c6117fa9b', anchorElement: this.moreIconAnchor, isOpen: this.showMoreHeaderPopover, popoverWidth: '200px', popoverMaxHeight: '300px', handleOnClose: this.handleClosePopover, container: this.popoverContainer }, h("div", { key: '26356987b4fd219ae344c7ce04ec6a5f1c89971a', class: "menu" }, (_e = this.moreIconActions) === null || _e === void 0 ? void 0 : _e.map(action => {
|
|
198
198
|
var _a;
|
|
199
199
|
return (h("udp-menu-item", { label: action === null || action === void 0 ? void 0 : action.name, iconName: action === null || action === void 0 ? void 0 : action.iconName, handleOnClick: () => {
|
|
200
200
|
action.onClick(this.data);
|
|
201
201
|
}, disabled: (action === null || action === void 0 ? void 0 : action.checkDisabled) ? action === null || action === void 0 ? void 0 : action.checkDisabled(this.data) : (_a = action === null || action === void 0 ? void 0 : action.disabled) !== null && _a !== void 0 ? _a : false }));
|
|
202
|
-
}))))))), this.message && (h("div", { key: '
|
|
202
|
+
}))))))), this.message && (h("div", { key: 'e762d272d4d1bee1f2f648122acf2ffebe627da0', class: "message-wrapper", style: { backgroundColor: this.getMessageBackgroundColor() } }, !this.hideMessageIcon && (h("div", { key: 'a6b72af8689f83ee834851e9830d86632df78d7e', class: "icon-message" }, h("udp-icon", { key: '0d36f76f7b977a60fe4a336844eb1cc78f388688', iconName: currentMessageIcon }))), h("div", { key: '612361cc887193d2338612d7fd0ca95e42dd327e', class: "message" }, h("unity-typography", { key: '7b1b35944167c28fa39fc4ed4bf2baa4f2a211d0' }, this.message)))), h("div", { key: 'c5a2db8bf9b125e7037bb3ae93137053d1e78e8a', class: "data-section" }, (_f = this.listData) === null || _f === void 0 ? void 0 : _f.map(({ subject, value }) => (h("div", { class: "data-row" }, h("div", { class: "key" }, h("unity-typography", { variant: 'data-display-three' }, `${subject}: `)), h("div", { class: "value" }, h("unity-typography", { variant: 'data-display-three' }, value)))))), h("div", { key: '29f7d0f07d42c558e211745591510ab9850d012b', class: "options" }, this.enableViewFeature && this.data && (h("div", { key: 'a882406b9fc1f4e63f7ef455380413d8a08af8db', id: "viewFeatureOption" }, h("stencil-icon-button", { key: '42db91a6f471c233ae15e9f937df5d58a3829de3', tooltip: 'View', icon: getIconFromName('view'), buttonId: 'viewFeatureButton', onClick: () => this.handleViewFeature({
|
|
203
203
|
selectedFeature: this.data,
|
|
204
204
|
formattedSelectedFeature: this.listData,
|
|
205
|
-
}) }))), ((_g = this.primaryActions) === null || _g === void 0 ? void 0 : _g.length) > 0 && (h("div", { key: '
|
|
205
|
+
}) }))), ((_g = this.primaryActions) === null || _g === void 0 ? void 0 : _g.length) > 0 && (h("div", { key: 'a27824054d60c8493deb6b0d545be7aa9650cc98' }, h("div", { key: '749004bb62036627beea12f66ac2771734a09ffc', class: "options" }, (_h = this.visiblePrimaryActions) === null || _h === void 0 ? void 0 :
|
|
206
206
|
_h.map((action, index) => {
|
|
207
207
|
var _a, _b;
|
|
208
208
|
return (h("stencil-icon-button", { tooltip: action === null || action === void 0 ? void 0 : action.name, icon: getIconFromName(action === null || action === void 0 ? void 0 : action.iconName), buttonId: (_a = action === null || action === void 0 ? void 0 : action.id) !== null && _a !== void 0 ? _a : `primary-icon-action-${index}`, onClick: () => action.onClick(this.data), disabled: (action === null || action === void 0 ? void 0 : action.checkDisabled) ? action === null || action === void 0 ? void 0 : action.checkDisabled(this.data) : (_b = action === null || action === void 0 ? void 0 : action.disabled) !== null && _b !== void 0 ? _b : false }));
|
|
209
|
-
}), ((_j = this.overflowPrimaryActions) === null || _j === void 0 ? void 0 : _j.length) > 0 && (h("stencil-icon-button", { key: '
|
|
209
|
+
}), ((_j = this.overflowPrimaryActions) === null || _j === void 0 ? void 0 : _j.length) > 0 && (h("stencil-icon-button", { key: '5ac0af611c5d47782f1b4398817bab6462f708d4', onClick: this.handleOnClickPrimaryAction, icon: OverflowMenuVertical24, tooltip: "More", noBackground: true, buttonId: "morePrimaryIconButton" }))), this.primaryActionAnchor && (h("udp-pop-over", { key: '8655f303bfdd798c7a261ff4d535bf0502956f5b', anchorElement: this.primaryActionAnchor, isOpen: this.showPrimaryPopover, popoverWidth: '200px', popoverMaxHeight: '300px', handleOnClose: this.handleClosePopover, container: this.popoverContainer }, h("div", { key: '0491fefcebb62b8b5c1ca0b4f767bcecd14f9ca9', class: "menu" }, (_k = this.overflowPrimaryActions) === null || _k === void 0 ? void 0 : _k.map(action => {
|
|
210
210
|
var _a;
|
|
211
211
|
return (h("udp-menu-item", { label: action === null || action === void 0 ? void 0 : action.name, iconName: action === null || action === void 0 ? void 0 : action.iconName, handleOnClick: () => {
|
|
212
212
|
action.onClick(this.data);
|
|
@@ -263,7 +263,7 @@ const FeatureDetailsPopUp = class {
|
|
|
263
263
|
var _a, _b, _c;
|
|
264
264
|
const message = this.getMessage ? this.getMessage(this.data) : null;
|
|
265
265
|
const messageIcon = this.getMessageIcon ? this.getMessageIcon(this.data) : null;
|
|
266
|
-
return (h("div", { key: '
|
|
266
|
+
return (h("div", { key: 'de1628f2231ed242921bfc08ba878d3dc21262c0' }, this.showPopOver && (h("feature-details-card", { key: '88d11c7ace1ab2817b2c88722baac4b928f2419c', data: this.currentSelectedFeature, title: this.cardTitle, listData: this.listData, status: (_c = (_a = this.data) === null || _a === void 0 ? void 0 : _a[(_b = this.cardConfig) === null || _b === void 0 ? void 0 : _b.statusColor]) === null || _c === void 0 ? void 0 : _c.toLowerCase(), enableViewFeature: this.enableViewFeature, handleViewFeature: this.handleViewFeature, primaryActions: this.isReadOnly ? [] : this.primaryActions, moreIconActions: this.isReadOnly ? [] : this.moreIconActions, message: message, messageIcon: messageIcon, hideMessageIcon: this.hideMessageIcon, onClose: this.additionalOnclosePopover, width: this.popoverWidth, popoverContainer: this.popoverContainer }))));
|
|
267
267
|
}
|
|
268
268
|
static get watchers() { return {
|
|
269
269
|
"cardConfig": ["updateListData", "updateTitle"],
|
|
@@ -253,10 +253,10 @@ const UdpGridLoader = class {
|
|
|
253
253
|
}
|
|
254
254
|
render() {
|
|
255
255
|
// Header bar (fatter, divided into columns)
|
|
256
|
-
const headerBar = (h("div", { key: '
|
|
256
|
+
const headerBar = (h("div", { key: '64cf4530f23ad06fa4731f87278c49bfef25b8fb', class: "grid-row" }, Array.from({ length: this.numColumns }).map(() => (h("udp-skeleton-loading", { width: "100%", height: "55px" })))));
|
|
257
257
|
// Row bars (each divided into columns)
|
|
258
258
|
const rowBars = Array.from({ length: this.numRows }).map(() => (h("div", { class: "grid-row" }, Array.from({ length: this.numColumns }).map(() => (h("udp-skeleton-loading", { width: "100%", height: "30px" }))))));
|
|
259
|
-
return (h("div", { key: '
|
|
259
|
+
return (h("div", { key: '07ab190e4ed741443d650a539455817c5d584f2e', style: { width: this.width } }, headerBar, rowBars));
|
|
260
260
|
}
|
|
261
261
|
};
|
|
262
262
|
UdpGridLoader.style = udpGridLoaderCss;
|
|
@@ -135,7 +135,7 @@ const FormMetadataDisplay = class {
|
|
|
135
135
|
render() {
|
|
136
136
|
return (
|
|
137
137
|
// role/aria-label provide a lightweight accessible grouping for screen readers
|
|
138
|
-
h("div", { key: '
|
|
138
|
+
h("div", { key: 'eec0b6d84cba30720f86b4f4cbd3781b1fa8d76f', class: "container", role: "group", "aria-label": "Form metadata" }, this.displayOwnerFullName && this.userDisplayName && this.renderRow('Name', this.userDisplayName), this.displayOwnerEmail && this.userEmail && this.renderRow('Email', this.userEmail), this.displaySubmissionDate && this.submittedOn && this.renderRow('Submitted on', dateFormatter(this.submittedOn, 'long'))));
|
|
139
139
|
}
|
|
140
140
|
};
|
|
141
141
|
FormMetadataDisplay.style = formMetadataDisplayCss;
|
|
@@ -187,7 +187,7 @@ const ImageUpload = class {
|
|
|
187
187
|
};
|
|
188
188
|
}
|
|
189
189
|
render() {
|
|
190
|
-
return (h(Host, { key: '
|
|
190
|
+
return (h(Host, { key: 'd99ff15d410e2fbc1e4679694ed0615ea72d83de' }, h("file-upload", { key: '8a25e124d89bb9648fde62108253d68ed8107e89', allowMultiple: false, allowedMimeTypes: this.allowedMimeTypes, fullWidth: this.fullWidth, required: this.required, error: this.error, dragAndDropMessage: this.dragAndDropMessage, browseFileMessage: this.browseFileMessage, hideDragAndDrop: this.hideDragAndDrop, hideButton: this.hideButton, id: this.id, name: this.name, label: this.label, disabled: this.disabled, readonly: this.readonly, initialValue: this.initialValue, renderImage: true, onChange: this.handleFileChange })));
|
|
191
191
|
}
|
|
192
192
|
};
|
|
193
193
|
ImageUpload.style = imageUploadCss;
|
|
@@ -491,7 +491,7 @@ const SignatureInput = class {
|
|
|
491
491
|
'readonly': this.readonly,
|
|
492
492
|
'disabled': this.disabled,
|
|
493
493
|
};
|
|
494
|
-
return (h(Host, { key: '
|
|
494
|
+
return (h(Host, { key: 'aff1350eca630e59476dadec14c89809040d0d63', class: {
|
|
495
495
|
'udp-input': true,
|
|
496
496
|
'udp-input--error': isError,
|
|
497
497
|
'udp-input--disabled': this.disabled,
|
|
@@ -499,7 +499,7 @@ const SignatureInput = class {
|
|
|
499
499
|
'udp-input--readonly': this.readonly,
|
|
500
500
|
[`udp-input--size-${this.size}`]: true,
|
|
501
501
|
[`udp-input--margin-${this.margin}`]: true,
|
|
502
|
-
} }, h("div", { key: '
|
|
502
|
+
} }, h("div", { key: 'e713a4c37dd5a9f45366b8cf07ea3d530e0b7b50', class: "bx--form-item" }, this.label && (h("unity-typography", { key: 'a2ffc9d2169334874ae82969c6b3c24582f45587', variant: "caption-text" }, h("label", { key: 'b7fd938f5b2ac2ccf18eb98c7556eca9e767cbad', htmlFor: this.id, class: "bx--label" }, this.label, this.required && '*'))), h("div", { key: 'f895f5b8e62883e9c5fa3e583ba83925223d4da9', class: containerClasses }, h("canvas", { key: '5c586ae127f2b05f36ffe42efb558690f6ccf7bb', ref: el => (this.canvasEl = el), class: { 'signature-canvas': true, 'readonly': this.readonly || this.disabled }, id: this.id }), !this.readonly && !this.disabled && (h("button", { key: '1f258fe54e4f60a1baca2bc3f777ddcdb99dc6dd', type: "button", class: "clear-button", onClick: this.clearSignature, disabled: this.disabled }, "Clear"))), isError && (h("div", { key: '75c443d5ab8c2d77382fb943a909ada0ef799221', class: "error-message" }, h("unity-typography", { key: '2b33a1fa42e7556dd5be3ec1e3dc8c590f5943cc', variant: "caption-text", color: "error" }, this.internalError))))));
|
|
503
503
|
}
|
|
504
504
|
get el() { return getElement(this); }
|
|
505
505
|
static get watchers() { return {
|
|
@@ -793,14 +793,14 @@ const TallyDisplay = class {
|
|
|
793
793
|
const isError = !!this.error;
|
|
794
794
|
const answeredCount = this.yesCount + this.noCount + this.naCount;
|
|
795
795
|
const unansweredCount = this.totalFields - answeredCount;
|
|
796
|
-
return (h(Host, { key: '
|
|
796
|
+
return (h(Host, { key: '99c0201e31ee706bd89b1b72ed5e7b8799c9d870', class: {
|
|
797
797
|
'udp-input': true,
|
|
798
798
|
'udp-input--error': isError,
|
|
799
799
|
'udp-input--disabled': this.disabled,
|
|
800
800
|
'udp-input--readonly': this.readonly,
|
|
801
801
|
[`udp-input--size-${this.size}`]: true,
|
|
802
802
|
[`udp-input--margin-${this.margin}`]: true,
|
|
803
|
-
} }, h("div", { key: '
|
|
803
|
+
} }, h("div", { key: '09016ed6e21cb455ffc99e7595fd815d2388dc20', class: "tally-container" }, this.label && (h("unity-typography", { key: '94421b97279dabf2419964ffcfcb46f070644e0a', variant: "caption-text" }, h("label", { key: '23492badf01e8a3b7cd19d7eeb39356188fdf09e', htmlFor: this.id, class: "tally-label" }, this.label))), h("div", { key: '6efe4476e11856c3f0c6f3db52b05988a9c76d99', class: "tally-content", id: this.id }, h("div", { key: 'b93c8910cda35f7dcaf6b1ccdf85e675fd375fc5', class: "tally-stats" }, h("div", { key: '140c03ec091df58d0d592843968784c87dfe455b', class: "tally-item tally-yes" }, h("unity-typography", { key: '03993713b6dbb200b66e2872cdb3f387d7ad6399', variant: "h4", class: "tally-count" }, this.yesCount), h("unity-typography", { key: 'f259283a9c6904f3e84ee273acccb019762bb278', variant: "caption-text", class: "tally-label" }, "Yes")), h("div", { key: '41bdd7f359f5805ec89f22082f89296642e5b0c3', class: "tally-item tally-no" }, h("unity-typography", { key: 'a580d8afd15ca787d5558907de6ce5b6a26721bb', variant: "h4", class: "tally-count" }, this.noCount), h("unity-typography", { key: '05a9b6ce25b76d2224bdcb745c828fddbd11967a', variant: "caption-text", class: "tally-label" }, "No")), h("div", { key: '5ac39a2987d52fb7d0df0e56827241f3e1079378', class: "tally-item tally-na" }, h("unity-typography", { key: 'c73d716f25601637fbe3aa20a680ed768d367f09', variant: "h4", class: "tally-count" }, this.naCount), h("unity-typography", { key: '75ad0e4b7681431e52f755ed73e770473c6f0545', variant: "caption-text", class: "tally-label" }, "Not Applicable")), unansweredCount > 0 && (h("div", { key: '46b9b8cd21f3dfa993a53ef5ca6ed1cfe91c5e49', class: "tally-item tally-unanswered" }, h("unity-typography", { key: '3b894ff08c4b636a2a13746e530ce03841d6b28d', variant: "h4", class: "tally-count" }, unansweredCount), h("unity-typography", { key: 'bbdf08a9cb4acfd3769b8e1efe1475aeb8fbcab7', variant: "caption-text", class: "tally-label" }, "Unanswered")))), h("div", { key: 'f9bbb5a94beec0c536ac384b8fe3b112f750cfa1', class: "tally-summary" }, h("unity-typography", { key: 'be96bfd28f3dd6077ac54aece439116d93d5b1d2', variant: "caption-text" }, "Total Questions: ", this.totalFields))), isError && (h("div", { key: '984d524255fe657fbeacba147b4823ca54e00ffb', class: "error-message" }, h("unity-typography", { key: '148a1b807fe5386097380df6b99e717c130c188a', variant: "caption-text", color: "error" }, this.error))))));
|
|
804
804
|
}
|
|
805
805
|
};
|
|
806
806
|
TallyDisplay.style = tallyCss;
|
|
@@ -303,10 +303,10 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
303
303
|
return import(
|
|
304
304
|
/* webpackMode: "lazy" */
|
|
305
305
|
'./add-map-feature-popup_4.entry.js').then(processMod, consoleError);
|
|
306
|
-
case 'primary-action-
|
|
306
|
+
case 'primary-action-header_2':
|
|
307
307
|
return import(
|
|
308
308
|
/* webpackMode: "lazy" */
|
|
309
|
-
'./primary-action-
|
|
309
|
+
'./primary-action-header_2.entry.js').then(processMod, consoleError);
|
|
310
310
|
case 'date-time-renderer_7':
|
|
311
311
|
return import(
|
|
312
312
|
/* webpackMode: "lazy" */
|
|
@@ -359,10 +359,10 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
359
359
|
return import(
|
|
360
360
|
/* webpackMode: "lazy" */
|
|
361
361
|
'./udp-card_6.entry.js').then(processMod, consoleError);
|
|
362
|
-
case 'udp-
|
|
362
|
+
case 'udp-container':
|
|
363
363
|
return import(
|
|
364
364
|
/* webpackMode: "lazy" */
|
|
365
|
-
'./udp-
|
|
365
|
+
'./udp-container.entry.js').then(processMod, consoleError);
|
|
366
366
|
case 'udp-xy-chart':
|
|
367
367
|
return import(
|
|
368
368
|
/* webpackMode: "lazy" */
|
|
@@ -395,6 +395,10 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
395
395
|
return import(
|
|
396
396
|
/* webpackMode: "lazy" */
|
|
397
397
|
'./udp-skeleton-loading.entry.js').then(processMod, consoleError);
|
|
398
|
+
case 'udp-linear-loader_2':
|
|
399
|
+
return import(
|
|
400
|
+
/* webpackMode: "lazy" */
|
|
401
|
+
'./udp-linear-loader_2.entry.js').then(processMod, consoleError);
|
|
398
402
|
case 'udp-avatar':
|
|
399
403
|
return import(
|
|
400
404
|
/* webpackMode: "lazy" */
|
|
@@ -407,10 +411,10 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
407
411
|
return import(
|
|
408
412
|
/* webpackMode: "lazy" */
|
|
409
413
|
'./stencil-toggle.entry.js').then(processMod, consoleError);
|
|
410
|
-
case 'udp-
|
|
414
|
+
case 'udp-menu-item_2':
|
|
411
415
|
return import(
|
|
412
416
|
/* webpackMode: "lazy" */
|
|
413
|
-
'./udp-
|
|
417
|
+
'./udp-menu-item_2.entry.js').then(processMod, consoleError);
|
|
414
418
|
case 'text-field_2':
|
|
415
419
|
return import(
|
|
416
420
|
/* webpackMode: "lazy" */
|
|
@@ -419,10 +423,6 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
419
423
|
return import(
|
|
420
424
|
/* webpackMode: "lazy" */
|
|
421
425
|
'./udp-adornment.entry.js').then(processMod, consoleError);
|
|
422
|
-
case 'udp-menu-item':
|
|
423
|
-
return import(
|
|
424
|
-
/* webpackMode: "lazy" */
|
|
425
|
-
'./udp-menu-item.entry.js').then(processMod, consoleError);
|
|
426
426
|
case 'custom-button':
|
|
427
427
|
return import(
|
|
428
428
|
/* webpackMode: "lazy" */
|