@pallasoft/ps-internal-components 1.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/ps-alert-description.js +41 -5
- package/dist/components/ps-alert-dialog-action.js +43 -7
- package/dist/components/ps-alert-dialog-cancel.js +43 -7
- package/dist/components/ps-alert-dialog-content.js +44 -8
- package/dist/components/ps-alert-dialog-description.js +42 -6
- package/dist/components/ps-alert-dialog-footer.js +8 -4
- package/dist/components/ps-alert-dialog-header.js +8 -4
- package/dist/components/ps-alert-dialog-overlay.js +42 -6
- package/dist/components/ps-alert-dialog-portal.js +38 -2
- package/dist/components/ps-alert-dialog-title.js +42 -6
- package/dist/components/ps-alert-dialog-trigger.js +38 -2
- package/dist/components/ps-alert-dialog.js +38 -2
- package/dist/components/ps-alert-title.js +41 -5
- package/dist/components/ps-alert.js +42 -6
- package/dist/components/ps-app-header.js +56 -19
- package/dist/components/ps-app-switcher-section.js +7 -3
- package/dist/components/ps-app-switcher-tile.js +44 -7
- package/dist/components/ps-app-switcher.js +52 -15
- package/dist/components/ps-avatar-fallback.js +42 -6
- package/dist/components/ps-avatar-image.js +42 -6
- package/dist/components/ps-avatar.js +43 -7
- package/dist/components/ps-badge.js +11 -7
- package/dist/components/ps-breadcrumb-ellipsis.js +9 -5
- package/dist/components/ps-breadcrumb-item.js +41 -5
- package/dist/components/ps-breadcrumb-link.js +44 -8
- package/dist/components/ps-breadcrumb-list.js +41 -5
- package/dist/components/ps-breadcrumb-page.js +41 -5
- package/dist/components/ps-breadcrumb-separator.js +9 -5
- package/dist/components/ps-breadcrumb.js +40 -4
- package/dist/components/ps-button.js +45 -9
- package/dist/components/ps-calendar.js +16 -12
- package/dist/components/ps-card-content.js +41 -5
- package/dist/components/ps-card-description.js +41 -5
- package/dist/components/ps-card-footer.js +41 -5
- package/dist/components/ps-card-header.js +41 -5
- package/dist/components/ps-card-title.js +41 -5
- package/dist/components/ps-card.js +42 -6
- package/dist/components/ps-chart-container.js +47 -10
- package/dist/components/ps-chart-legend-content.js +15 -11
- package/dist/components/ps-chart-legend.js +38 -2
- package/dist/components/ps-chart-primitives.js +50 -14
- package/dist/components/ps-chart-style.js +9 -5
- package/dist/components/ps-chart-tooltip-content.js +55 -18
- package/dist/components/ps-chart-tooltip.js +38 -2
- package/dist/components/ps-checkbox.js +43 -7
- package/dist/components/ps-combobox.js +55 -18
- package/dist/components/ps-command-dialog.js +10 -6
- package/dist/components/ps-command-empty.js +41 -5
- package/dist/components/ps-command-group.js +42 -6
- package/dist/components/ps-command-input.js +43 -7
- package/dist/components/ps-command-item.js +42 -6
- package/dist/components/ps-command-list.js +42 -6
- package/dist/components/ps-command-separator.js +42 -6
- package/dist/components/ps-command-shortcut.js +9 -5
- package/dist/components/ps-command.js +42 -6
- package/dist/components/ps-date-picker.js +54 -17
- package/dist/components/ps-dialog-close.js +38 -2
- package/dist/components/ps-dialog-content.js +45 -9
- package/dist/components/ps-dialog-description.js +42 -6
- package/dist/components/ps-dialog-footer.js +8 -4
- package/dist/components/ps-dialog-header.js +8 -4
- package/dist/components/ps-dialog-overlay.js +42 -6
- package/dist/components/ps-dialog-portal.js +38 -2
- package/dist/components/ps-dialog-title.js +42 -6
- package/dist/components/ps-dialog-trigger.js +38 -2
- package/dist/components/ps-dialog.js +38 -2
- package/dist/components/ps-dropdown-menu-checkbox-item.js +43 -7
- package/dist/components/ps-dropdown-menu-content.js +42 -6
- package/dist/components/ps-dropdown-menu-group.js +38 -2
- package/dist/components/ps-dropdown-menu-item.js +42 -6
- package/dist/components/ps-dropdown-menu-label.js +42 -6
- package/dist/components/ps-dropdown-menu-portal.js +38 -2
- package/dist/components/ps-dropdown-menu-radio-group.js +38 -2
- package/dist/components/ps-dropdown-menu-radio-item.js +43 -7
- package/dist/components/ps-dropdown-menu-separator.js +42 -6
- package/dist/components/ps-dropdown-menu-shortcut.js +9 -5
- package/dist/components/ps-dropdown-menu-sub-content.js +42 -6
- package/dist/components/ps-dropdown-menu-sub-trigger.js +43 -7
- package/dist/components/ps-dropdown-menu-sub.js +38 -2
- package/dist/components/ps-dropdown-menu-trigger.js +38 -2
- package/dist/components/ps-dropdown-menu.js +38 -2
- package/dist/components/ps-email-input.js +46 -10
- package/dist/components/ps-empty-content.js +41 -5
- package/dist/components/ps-empty-description.js +41 -5
- package/dist/components/ps-empty-media.js +41 -5
- package/dist/components/ps-empty-panel.js +41 -5
- package/dist/components/ps-empty-title.js +41 -5
- package/dist/components/ps-empty.js +41 -5
- package/dist/components/ps-field-content.js +41 -5
- package/dist/components/ps-field-description.js +41 -5
- package/dist/components/ps-field-error.js +41 -5
- package/dist/components/ps-field-group.js +41 -5
- package/dist/components/ps-field-label.js +42 -6
- package/dist/components/ps-field.js +42 -6
- package/dist/components/ps-file-picker.js +48 -11
- package/dist/components/ps-input-group.js +7 -3
- package/dist/components/ps-input.js +44 -8
- package/dist/components/ps-kbd.js +41 -5
- package/dist/components/ps-label.js +43 -7
- package/dist/components/ps-money-input.js +48 -12
- package/dist/components/ps-navigation-progress.js +53 -16
- package/dist/components/ps-not-found.js +8 -4
- package/dist/components/ps-option-select.js +14 -10
- package/dist/components/ps-password-input.js +47 -11
- package/dist/components/ps-percent-input.js +46 -10
- package/dist/components/ps-phone-input.js +64 -27
- package/dist/components/ps-popover-anchor.js +38 -2
- package/dist/components/ps-popover-content.js +42 -6
- package/dist/components/ps-popover-trigger.js +38 -2
- package/dist/components/ps-popover.js +38 -2
- package/dist/components/ps-progress.js +42 -6
- package/dist/components/ps-radio-group-item.js +44 -8
- package/dist/components/ps-radio-group.js +43 -7
- package/dist/components/ps-root-error.js +8 -4
- package/dist/components/ps-scroll-area.js +43 -7
- package/dist/components/ps-scroll-bar.js +42 -6
- package/dist/components/ps-select-content.js +46 -10
- package/dist/components/ps-select-group.js +38 -2
- package/dist/components/ps-select-item.js +43 -7
- package/dist/components/ps-select-label.js +42 -6
- package/dist/components/ps-select-scroll-down-button.js +43 -7
- package/dist/components/ps-select-scroll-up-button.js +43 -7
- package/dist/components/ps-select-separator.js +42 -6
- package/dist/components/ps-select-trigger.js +44 -8
- package/dist/components/ps-select-value.js +38 -2
- package/dist/components/ps-select.js +38 -2
- package/dist/components/ps-separator.js +42 -6
- package/dist/components/ps-sheet-close.js +38 -2
- package/dist/components/ps-sheet-content.js +46 -10
- package/dist/components/ps-sheet-description.js +42 -6
- package/dist/components/ps-sheet-footer.js +8 -4
- package/dist/components/ps-sheet-header.js +8 -4
- package/dist/components/ps-sheet-overlay.js +42 -6
- package/dist/components/ps-sheet-portal.js +38 -2
- package/dist/components/ps-sheet-title.js +42 -6
- package/dist/components/ps-sheet-trigger.js +38 -2
- package/dist/components/ps-sheet.js +38 -2
- package/dist/components/ps-skeleton-card-grid.d.ts +2 -0
- package/dist/components/ps-skeleton-card-grid.js +10 -0
- package/dist/components/ps-skeleton-list-card.d.ts +2 -0
- package/dist/components/ps-skeleton-list-card.js +10 -0
- package/dist/components/ps-skeleton-page-header.d.ts +2 -0
- package/dist/components/ps-skeleton-page-header.js +7 -0
- package/dist/components/ps-skeleton-stat-grid.d.ts +2 -0
- package/dist/components/ps-skeleton-stat-grid.js +10 -0
- package/dist/components/ps-skeleton-table.d.ts +2 -0
- package/dist/components/ps-skeleton-table.js +15 -0
- package/dist/components/ps-skeleton.js +8 -4
- package/dist/components/ps-spinner.js +42 -6
- package/dist/components/ps-status-panel.js +41 -5
- package/dist/components/ps-switch.js +42 -6
- package/dist/components/ps-table-body.js +41 -5
- package/dist/components/ps-table-caption.js +41 -5
- package/dist/components/ps-table-cell.js +41 -5
- package/dist/components/ps-table-footer.js +41 -5
- package/dist/components/ps-table-head.js +41 -5
- package/dist/components/ps-table-header.js +41 -5
- package/dist/components/ps-table-row.js +41 -5
- package/dist/components/ps-table.js +41 -5
- package/dist/components/ps-tabs-content.js +42 -6
- package/dist/components/ps-tabs-list.js +42 -6
- package/dist/components/ps-tabs-trigger.js +42 -6
- package/dist/components/ps-tabs.js +38 -2
- package/dist/components/ps-textarea.js +42 -6
- package/dist/components/ps-toggle-group-item.js +46 -10
- package/dist/components/ps-toggle-group.js +43 -7
- package/dist/components/ps-toggle.js +43 -7
- package/dist/components/ps-tooltip-content.js +42 -6
- package/dist/components/ps-tooltip-provider.js +38 -2
- package/dist/components/ps-tooltip-trigger.js +38 -2
- package/dist/components/ps-tooltip.js +38 -2
- package/dist/components/ps-url-input.js +48 -12
- package/dist/components/ps-workspace-badge.js +9 -5
- package/dist/components/ps-workspace-switcher.js +18 -14
- package/dist/constants/pallasoft-font-size.js +4 -1
- package/dist/constants/pallasoft-motion.js +4 -1
- package/dist/constants/pallasoft-screens.js +4 -1
- package/dist/constants/pallasoft-shared-scale.js +4 -1
- package/dist/constants/ps-alert-variants.d.ts +1 -1
- package/dist/constants/ps-alert-variants.js +5 -2
- package/dist/constants/ps-app-category-labels.js +10 -7
- package/dist/constants/ps-app-category.js +5 -2
- package/dist/constants/ps-app-key.js +5 -2
- package/dist/constants/ps-app-switcher-config.js +7 -4
- package/dist/constants/ps-badge-variants.d.ts +1 -1
- package/dist/constants/ps-badge-variants.js +5 -2
- package/dist/constants/ps-button-variants.d.ts +1 -1
- package/dist/constants/ps-button-variants.js +5 -2
- package/dist/constants/ps-chart-defaults.js +4 -1
- package/dist/constants/ps-chart-themes.js +4 -1
- package/dist/constants/ps-date-picker-config.js +4 -1
- package/dist/constants/ps-external-apps.js +23 -20
- package/dist/constants/ps-field-input-config.js +4 -1
- package/dist/constants/ps-field-orientation.js +5 -2
- package/dist/constants/ps-file-picker-config.js +4 -1
- package/dist/constants/ps-label-variants.d.ts +1 -1
- package/dist/constants/ps-label-variants.js +5 -2
- package/dist/constants/ps-navigation-progress-config.js +4 -1
- package/dist/constants/ps-navigation-state.js +5 -2
- package/dist/constants/ps-option-select-config.js +4 -1
- package/dist/constants/ps-pallasoft-app-url-field.js +5 -2
- package/dist/constants/ps-pallasoft-apps.js +19 -16
- package/dist/constants/ps-password-input-config.js +4 -1
- package/dist/constants/ps-phone-input-config.js +4 -1
- package/dist/constants/ps-root-status-messages.js +4 -1
- package/dist/constants/ps-sheet-variants.d.ts +1 -1
- package/dist/constants/ps-sheet-variants.js +5 -2
- package/dist/constants/ps-toggle-variants.d.ts +1 -1
- package/dist/constants/ps-toggle-variants.js +5 -2
- package/dist/contexts/ps-chart-context.js +38 -2
- package/dist/contexts/ps-toggle-group-context.js +38 -2
- package/dist/esm/components/ps-alert-description.js +5 -0
- package/dist/esm/components/ps-alert-dialog-action.js +8 -0
- package/dist/esm/components/ps-alert-dialog-cancel.js +8 -0
- package/dist/esm/components/ps-alert-dialog-content.js +9 -0
- package/dist/esm/components/ps-alert-dialog-description.js +7 -0
- package/dist/esm/components/ps-alert-dialog-footer.js +5 -0
- package/dist/esm/components/ps-alert-dialog-header.js +5 -0
- package/dist/esm/components/ps-alert-dialog-overlay.js +7 -0
- package/dist/esm/components/ps-alert-dialog-portal.js +3 -0
- package/dist/esm/components/ps-alert-dialog-title.js +7 -0
- package/dist/esm/components/ps-alert-dialog-trigger.js +3 -0
- package/dist/esm/components/ps-alert-dialog.js +3 -0
- package/dist/esm/components/ps-alert-title.js +5 -0
- package/dist/esm/components/ps-alert.js +6 -0
- package/dist/esm/components/ps-app-header.js +22 -0
- package/dist/esm/components/ps-app-switcher-section.js +3 -0
- package/dist/esm/components/ps-app-switcher-tile.js +11 -0
- package/dist/esm/components/ps-app-switcher.js +16 -0
- package/dist/esm/components/ps-avatar-fallback.js +6 -0
- package/dist/esm/components/ps-avatar-image.js +6 -0
- package/dist/esm/components/ps-avatar.js +7 -0
- package/dist/esm/components/ps-badge.js +9 -0
- package/dist/esm/components/ps-breadcrumb-ellipsis.js +5 -0
- package/dist/esm/components/ps-breadcrumb-item.js +5 -0
- package/dist/esm/components/ps-breadcrumb-link.js +9 -0
- package/dist/esm/components/ps-breadcrumb-list.js +5 -0
- package/dist/esm/components/ps-breadcrumb-page.js +5 -0
- package/dist/esm/components/ps-breadcrumb-separator.js +5 -0
- package/dist/esm/components/ps-breadcrumb.js +4 -0
- package/dist/esm/components/ps-button.js +10 -0
- package/dist/esm/components/ps-calendar.js +39 -0
- package/dist/esm/components/ps-card-content.js +5 -0
- package/dist/esm/components/ps-card-description.js +5 -0
- package/dist/esm/components/ps-card-footer.js +5 -0
- package/dist/esm/components/ps-card-header.js +5 -0
- package/dist/esm/components/ps-card-title.js +5 -0
- package/dist/esm/components/ps-card.js +6 -0
- package/dist/esm/components/ps-chart-container.js +13 -0
- package/dist/esm/components/ps-chart-legend-content.js +15 -0
- package/dist/esm/components/ps-chart-legend.js +2 -0
- package/dist/esm/components/ps-chart-primitives.js +14 -0
- package/dist/esm/components/ps-chart-style.js +8 -0
- package/dist/esm/components/ps-chart-tooltip-content.js +45 -0
- package/dist/esm/components/ps-chart-tooltip.js +2 -0
- package/dist/esm/components/ps-checkbox.js +7 -0
- package/dist/esm/components/ps-combobox.js +23 -0
- package/dist/esm/components/ps-command-dialog.js +8 -0
- package/dist/esm/components/ps-command-empty.js +6 -0
- package/dist/esm/components/ps-command-group.js +7 -0
- package/dist/esm/components/ps-command-input.js +8 -0
- package/dist/esm/components/ps-command-item.js +7 -0
- package/dist/esm/components/ps-command-list.js +7 -0
- package/dist/esm/components/ps-command-separator.js +7 -0
- package/dist/esm/components/ps-command-shortcut.js +7 -0
- package/dist/esm/components/ps-command.js +7 -0
- package/dist/esm/components/ps-date-picker.js +24 -0
- package/dist/esm/components/ps-dialog-close.js +3 -0
- package/dist/esm/components/ps-dialog-content.js +10 -0
- package/dist/esm/components/ps-dialog-description.js +7 -0
- package/dist/esm/components/ps-dialog-footer.js +5 -0
- package/dist/esm/components/ps-dialog-header.js +5 -0
- package/dist/esm/components/ps-dialog-overlay.js +7 -0
- package/dist/esm/components/ps-dialog-portal.js +3 -0
- package/dist/esm/components/ps-dialog-title.js +7 -0
- package/dist/esm/components/ps-dialog-trigger.js +3 -0
- package/dist/esm/components/ps-dialog.js +3 -0
- package/dist/esm/components/ps-dropdown-menu-checkbox-item.js +7 -0
- package/dist/esm/components/ps-dropdown-menu-content.js +6 -0
- package/dist/esm/components/ps-dropdown-menu-group.js +2 -0
- package/dist/esm/components/ps-dropdown-menu-item.js +6 -0
- package/dist/esm/components/ps-dropdown-menu-label.js +6 -0
- package/dist/esm/components/ps-dropdown-menu-portal.js +2 -0
- package/dist/esm/components/ps-dropdown-menu-radio-group.js +2 -0
- package/dist/esm/components/ps-dropdown-menu-radio-item.js +7 -0
- package/dist/esm/components/ps-dropdown-menu-separator.js +6 -0
- package/dist/esm/components/ps-dropdown-menu-shortcut.js +6 -0
- package/dist/esm/components/ps-dropdown-menu-sub-content.js +6 -0
- package/dist/esm/components/ps-dropdown-menu-sub-trigger.js +7 -0
- package/dist/esm/components/ps-dropdown-menu-sub.js +2 -0
- package/dist/esm/components/ps-dropdown-menu-trigger.js +2 -0
- package/dist/esm/components/ps-dropdown-menu.js +2 -0
- package/dist/esm/components/ps-email-input.js +12 -0
- package/dist/esm/components/ps-empty-content.js +5 -0
- package/dist/esm/components/ps-empty-description.js +5 -0
- package/dist/esm/components/ps-empty-media.js +5 -0
- package/dist/esm/components/ps-empty-panel.js +5 -0
- package/dist/esm/components/ps-empty-title.js +5 -0
- package/dist/esm/components/ps-empty.js +5 -0
- package/dist/esm/components/ps-field-content.js +5 -0
- package/dist/esm/components/ps-field-description.js +5 -0
- package/dist/esm/components/ps-field-error.js +5 -0
- package/dist/esm/components/ps-field-group.js +5 -0
- package/dist/esm/components/ps-field-label.js +6 -0
- package/dist/esm/components/ps-field.js +8 -0
- package/dist/esm/components/ps-file-picker.js +32 -0
- package/dist/esm/components/ps-input-group.js +3 -0
- package/dist/esm/components/ps-input.js +10 -0
- package/dist/esm/components/ps-kbd.js +5 -0
- package/dist/esm/components/ps-label.js +7 -0
- package/dist/esm/components/ps-money-input.js +27 -0
- package/dist/esm/components/ps-navigation-progress.js +28 -0
- package/dist/esm/components/ps-not-found.js +4 -0
- package/dist/esm/components/ps-option-select.js +12 -0
- package/dist/esm/components/ps-password-input.js +14 -0
- package/dist/esm/components/ps-percent-input.js +12 -0
- package/dist/esm/components/ps-phone-input.js +40 -0
- package/dist/esm/components/ps-popover-anchor.js +3 -0
- package/dist/esm/components/ps-popover-content.js +7 -0
- package/dist/esm/components/ps-popover-trigger.js +3 -0
- package/dist/esm/components/ps-popover.js +3 -0
- package/dist/esm/components/ps-progress.js +6 -0
- package/dist/esm/components/ps-radio-group-item.js +10 -0
- package/dist/esm/components/ps-radio-group.js +9 -0
- package/dist/esm/components/ps-root-error.js +4 -0
- package/dist/esm/components/ps-scroll-area.js +7 -0
- package/dist/esm/components/ps-scroll-bar.js +6 -0
- package/dist/esm/components/ps-select-content.js +10 -0
- package/dist/esm/components/ps-select-group.js +2 -0
- package/dist/esm/components/ps-select-item.js +7 -0
- package/dist/esm/components/ps-select-label.js +6 -0
- package/dist/esm/components/ps-select-scroll-down-button.js +7 -0
- package/dist/esm/components/ps-select-scroll-up-button.js +7 -0
- package/dist/esm/components/ps-select-separator.js +6 -0
- package/dist/esm/components/ps-select-trigger.js +8 -0
- package/dist/esm/components/ps-select-value.js +2 -0
- package/dist/esm/components/ps-select.js +2 -0
- package/dist/esm/components/ps-separator.js +7 -0
- package/dist/esm/components/ps-sheet-close.js +2 -0
- package/dist/esm/components/ps-sheet-content.js +10 -0
- package/dist/esm/components/ps-sheet-description.js +6 -0
- package/dist/esm/components/ps-sheet-footer.js +4 -0
- package/dist/esm/components/ps-sheet-header.js +4 -0
- package/dist/esm/components/ps-sheet-overlay.js +6 -0
- package/dist/esm/components/ps-sheet-portal.js +2 -0
- package/dist/esm/components/ps-sheet-title.js +6 -0
- package/dist/esm/components/ps-sheet-trigger.js +2 -0
- package/dist/esm/components/ps-sheet.js +2 -0
- package/dist/esm/components/ps-skeleton-card-grid.js +6 -0
- package/dist/esm/components/ps-skeleton-list-card.js +6 -0
- package/dist/esm/components/ps-skeleton-page-header.js +3 -0
- package/dist/esm/components/ps-skeleton-stat-grid.js +6 -0
- package/dist/esm/components/ps-skeleton-table.js +11 -0
- package/dist/esm/components/ps-skeleton.js +5 -0
- package/dist/esm/components/ps-spinner.js +6 -0
- package/dist/esm/components/ps-status-panel.js +5 -0
- package/dist/esm/components/ps-switch.js +6 -0
- package/dist/esm/components/ps-table-body.js +5 -0
- package/dist/esm/components/ps-table-caption.js +5 -0
- package/dist/esm/components/ps-table-cell.js +5 -0
- package/dist/esm/components/ps-table-footer.js +5 -0
- package/dist/esm/components/ps-table-head.js +5 -0
- package/dist/esm/components/ps-table-header.js +5 -0
- package/dist/esm/components/ps-table-row.js +5 -0
- package/dist/esm/components/ps-table.js +5 -0
- package/dist/esm/components/ps-tabs-content.js +6 -0
- package/dist/esm/components/ps-tabs-list.js +6 -0
- package/dist/esm/components/ps-tabs-trigger.js +6 -0
- package/dist/esm/components/ps-tabs.js +2 -0
- package/dist/esm/components/ps-textarea.js +7 -0
- package/dist/esm/components/ps-toggle-group-item.js +15 -0
- package/dist/esm/components/ps-toggle-group.js +8 -0
- package/dist/esm/components/ps-toggle.js +7 -0
- package/dist/esm/components/ps-tooltip-content.js +6 -0
- package/dist/esm/components/ps-tooltip-provider.js +2 -0
- package/dist/esm/components/ps-tooltip-trigger.js +2 -0
- package/dist/esm/components/ps-tooltip.js +2 -0
- package/dist/esm/components/ps-url-input.js +22 -0
- package/dist/esm/components/ps-workspace-badge.js +8 -0
- package/dist/esm/components/ps-workspace-switcher.js +18 -0
- package/dist/esm/constants/pallasoft-font-size.js +16 -0
- package/dist/esm/constants/pallasoft-motion.js +62 -0
- package/dist/esm/constants/pallasoft-screens.js +8 -0
- package/dist/esm/constants/pallasoft-shared-scale.js +9 -0
- package/dist/esm/constants/ps-alert-variants.js +14 -0
- package/dist/esm/constants/ps-app-category-labels.js +8 -0
- package/dist/esm/constants/ps-app-category.js +8 -0
- package/dist/esm/constants/ps-app-key.js +16 -0
- package/dist/esm/constants/ps-app-switcher-config.js +11 -0
- package/dist/esm/constants/ps-badge-variants.js +16 -0
- package/dist/esm/constants/ps-button-variants.js +23 -0
- package/dist/esm/constants/ps-chart-defaults.js +7 -0
- package/dist/esm/constants/ps-chart-themes.js +4 -0
- package/dist/esm/constants/ps-date-picker-config.js +6 -0
- package/dist/esm/constants/ps-external-apps.js +60 -0
- package/dist/esm/constants/ps-field-input-config.js +6 -0
- package/dist/esm/constants/ps-field-orientation.js +5 -0
- package/dist/esm/constants/ps-file-picker-config.js +5 -0
- package/dist/esm/constants/ps-label-variants.js +2 -0
- package/dist/esm/constants/ps-navigation-progress-config.js +8 -0
- package/dist/esm/constants/ps-navigation-state.js +6 -0
- package/dist/esm/constants/ps-option-select-config.js +5 -0
- package/dist/esm/constants/ps-pallasoft-app-url-field.js +8 -0
- package/dist/esm/constants/ps-pallasoft-apps.js +37 -0
- package/dist/esm/constants/ps-password-input-config.js +4 -0
- package/dist/esm/constants/ps-phone-input-config.js +6 -0
- package/dist/esm/constants/ps-root-status-messages.js +11 -0
- package/dist/esm/constants/ps-sheet-variants.js +14 -0
- package/dist/esm/constants/ps-toggle-variants.js +18 -0
- package/dist/esm/contexts/ps-chart-context.js +2 -0
- package/dist/esm/contexts/ps-toggle-group-context.js +5 -0
- package/dist/esm/hooks/use-ps-chart.js +9 -0
- package/dist/esm/index.js +358 -0
- package/dist/esm/models/ps-alert-description-props.js +1 -0
- package/dist/esm/models/ps-alert-dialog-action-props.js +1 -0
- package/dist/esm/models/ps-alert-dialog-cancel-props.js +1 -0
- package/dist/esm/models/ps-alert-dialog-content-props.js +1 -0
- package/dist/esm/models/ps-alert-dialog-description-props.js +1 -0
- package/dist/esm/models/ps-alert-dialog-footer-props.js +1 -0
- package/dist/esm/models/ps-alert-dialog-header-props.js +1 -0
- package/dist/esm/models/ps-alert-dialog-overlay-props.js +1 -0
- package/dist/esm/models/ps-alert-dialog-title-props.js +1 -0
- package/dist/esm/models/ps-alert-props.js +1 -0
- package/dist/esm/models/ps-alert-title-props.js +1 -0
- package/dist/esm/models/ps-app-header-link-data.js +1 -0
- package/dist/esm/models/ps-app-header-nav-item-data.js +1 -0
- package/dist/esm/models/ps-app-header-props.js +1 -0
- package/dist/esm/models/ps-app-header-user-data.js +1 -0
- package/dist/esm/models/ps-app-switcher-link-data.js +1 -0
- package/dist/esm/models/ps-app-switcher-props.js +1 -0
- package/dist/esm/models/ps-app-switcher-section-data.js +1 -0
- package/dist/esm/models/ps-app-switcher-section-props.js +1 -0
- package/dist/esm/models/ps-app-switcher-tile-props.js +1 -0
- package/dist/esm/models/ps-avatar-fallback-props.js +1 -0
- package/dist/esm/models/ps-avatar-image-props.js +1 -0
- package/dist/esm/models/ps-avatar-props.js +1 -0
- package/dist/esm/models/ps-badge-props.js +1 -0
- package/dist/esm/models/ps-breadcrumb-ellipsis-props.js +1 -0
- package/dist/esm/models/ps-breadcrumb-item-props.js +1 -0
- package/dist/esm/models/ps-breadcrumb-link-props.js +1 -0
- package/dist/esm/models/ps-breadcrumb-list-props.js +1 -0
- package/dist/esm/models/ps-breadcrumb-page-props.js +1 -0
- package/dist/esm/models/ps-breadcrumb-props.js +1 -0
- package/dist/esm/models/ps-breadcrumb-separator-props.js +1 -0
- package/dist/esm/models/ps-button-props.js +1 -0
- package/dist/esm/models/ps-card-content-props.js +1 -0
- package/dist/esm/models/ps-card-description-props.js +1 -0
- package/dist/esm/models/ps-card-footer-props.js +1 -0
- package/dist/esm/models/ps-card-header-props.js +1 -0
- package/dist/esm/models/ps-card-props.js +1 -0
- package/dist/esm/models/ps-card-title-props.js +1 -0
- package/dist/esm/models/ps-chart-config-item.js +1 -0
- package/dist/esm/models/ps-chart-config.js +1 -0
- package/dist/esm/models/ps-chart-container-props.js +1 -0
- package/dist/esm/models/ps-chart-context-data.js +1 -0
- package/dist/esm/models/ps-chart-legend-content-props.js +1 -0
- package/dist/esm/models/ps-chart-style-props.js +1 -0
- package/dist/esm/models/ps-chart-tooltip-content-props.js +1 -0
- package/dist/esm/models/ps-checkbox-props.js +1 -0
- package/dist/esm/models/ps-combobox-props.js +1 -0
- package/dist/esm/models/ps-command-dialog-props.js +1 -0
- package/dist/esm/models/ps-command-empty-props.js +1 -0
- package/dist/esm/models/ps-command-group-props.js +1 -0
- package/dist/esm/models/ps-command-input-props.js +1 -0
- package/dist/esm/models/ps-command-item-props.js +1 -0
- package/dist/esm/models/ps-command-list-props.js +1 -0
- package/dist/esm/models/ps-command-props.js +1 -0
- package/dist/esm/models/ps-command-separator-props.js +1 -0
- package/dist/esm/models/ps-command-shortcut-props.js +1 -0
- package/dist/esm/models/ps-date-picker-props.js +1 -0
- package/dist/esm/models/ps-dialog-content-props.js +1 -0
- package/dist/esm/models/ps-dialog-description-props.js +1 -0
- package/dist/esm/models/ps-dialog-footer-props.js +1 -0
- package/dist/esm/models/ps-dialog-header-props.js +1 -0
- package/dist/esm/models/ps-dialog-overlay-props.js +1 -0
- package/dist/esm/models/ps-dialog-title-props.js +1 -0
- package/dist/esm/models/ps-dropdown-menu-checkbox-item-props.js +1 -0
- package/dist/esm/models/ps-dropdown-menu-content-props.js +1 -0
- package/dist/esm/models/ps-dropdown-menu-item-props.js +1 -0
- package/dist/esm/models/ps-dropdown-menu-label-props.js +1 -0
- package/dist/esm/models/ps-dropdown-menu-radio-item-props.js +1 -0
- package/dist/esm/models/ps-dropdown-menu-separator-props.js +1 -0
- package/dist/esm/models/ps-dropdown-menu-shortcut-props.js +1 -0
- package/dist/esm/models/ps-dropdown-menu-sub-content-props.js +1 -0
- package/dist/esm/models/ps-dropdown-menu-sub-trigger-props.js +1 -0
- package/dist/esm/models/ps-empty-content-props.js +1 -0
- package/dist/esm/models/ps-empty-description-props.js +1 -0
- package/dist/esm/models/ps-empty-media-props.js +1 -0
- package/dist/esm/models/ps-empty-panel-props.js +1 -0
- package/dist/esm/models/ps-empty-props.js +1 -0
- package/dist/esm/models/ps-empty-title-props.js +1 -0
- package/dist/esm/models/ps-external-app-data.js +1 -0
- package/dist/esm/models/ps-field-content-props.js +1 -0
- package/dist/esm/models/ps-field-description-props.js +1 -0
- package/dist/esm/models/ps-field-error-props.js +1 -0
- package/dist/esm/models/ps-field-group-props.js +1 -0
- package/dist/esm/models/ps-field-input-props.js +1 -0
- package/dist/esm/models/ps-field-label-props.js +1 -0
- package/dist/esm/models/ps-field-props.js +1 -0
- package/dist/esm/models/ps-file-picker-props.js +1 -0
- package/dist/esm/models/ps-input-group-props.js +1 -0
- package/dist/esm/models/ps-input-props.js +1 -0
- package/dist/esm/models/ps-kbd-props.js +1 -0
- package/dist/esm/models/ps-label-props.js +1 -0
- package/dist/esm/models/ps-money-input-props.js +1 -0
- package/dist/esm/models/ps-navigation-progress-props.js +1 -0
- package/dist/esm/models/ps-not-found-props.js +1 -0
- package/dist/esm/models/ps-option-data.js +1 -0
- package/dist/esm/models/ps-option-select-props.js +1 -0
- package/dist/esm/models/ps-pallasoft-app-data.js +1 -0
- package/dist/esm/models/ps-pallasoft-app-urls-data.js +1 -0
- package/dist/esm/models/ps-phone-input-props.js +1 -0
- package/dist/esm/models/ps-popover-content-props.js +1 -0
- package/dist/esm/models/ps-progress-props.js +1 -0
- package/dist/esm/models/ps-radio-group-item-props.js +1 -0
- package/dist/esm/models/ps-radio-group-props.js +1 -0
- package/dist/esm/models/ps-root-error-props.js +1 -0
- package/dist/esm/models/ps-scroll-area-props.js +1 -0
- package/dist/esm/models/ps-scroll-bar-props.js +1 -0
- package/dist/esm/models/ps-select-content-props.js +1 -0
- package/dist/esm/models/ps-select-item-props.js +1 -0
- package/dist/esm/models/ps-select-label-props.js +1 -0
- package/dist/esm/models/ps-select-scroll-down-button-props.js +1 -0
- package/dist/esm/models/ps-select-scroll-up-button-props.js +1 -0
- package/dist/esm/models/ps-select-separator-props.js +1 -0
- package/dist/esm/models/ps-select-trigger-props.js +1 -0
- package/dist/esm/models/ps-separator-props.js +1 -0
- package/dist/esm/models/ps-sheet-content-props.js +1 -0
- package/dist/esm/models/ps-sheet-description-props.js +1 -0
- package/dist/esm/models/ps-sheet-footer-props.js +1 -0
- package/dist/esm/models/ps-sheet-header-props.js +1 -0
- package/dist/esm/models/ps-sheet-overlay-props.js +1 -0
- package/dist/esm/models/ps-sheet-title-props.js +1 -0
- package/dist/esm/models/ps-skeleton-card-grid-props.js +1 -0
- package/dist/esm/models/ps-skeleton-list-card-props.js +1 -0
- package/dist/esm/models/ps-skeleton-page-header-props.js +1 -0
- package/dist/esm/models/ps-skeleton-props.js +1 -0
- package/dist/esm/models/ps-skeleton-stat-grid-props.js +1 -0
- package/dist/esm/models/ps-skeleton-table-props.js +1 -0
- package/dist/esm/models/ps-spinner-props.js +1 -0
- package/dist/esm/models/ps-status-panel-props.js +1 -0
- package/dist/esm/models/ps-switch-props.js +1 -0
- package/dist/esm/models/ps-table-body-props.js +1 -0
- package/dist/esm/models/ps-table-caption-props.js +1 -0
- package/dist/esm/models/ps-table-cell-props.js +1 -0
- package/dist/esm/models/ps-table-footer-props.js +1 -0
- package/dist/esm/models/ps-table-head-props.js +1 -0
- package/dist/esm/models/ps-table-header-props.js +1 -0
- package/dist/esm/models/ps-table-props.js +1 -0
- package/dist/esm/models/ps-table-row-props.js +1 -0
- package/dist/esm/models/ps-tabs-content-props.js +1 -0
- package/dist/esm/models/ps-tabs-list-props.js +1 -0
- package/dist/esm/models/ps-tabs-trigger-props.js +1 -0
- package/dist/esm/models/ps-textarea-props.js +1 -0
- package/dist/esm/models/ps-toggle-group-context-data.js +1 -0
- package/dist/esm/models/ps-toggle-group-item-props.js +1 -0
- package/dist/esm/models/ps-toggle-group-multiple-props.js +1 -0
- package/dist/esm/models/ps-toggle-group-single-props.js +1 -0
- package/dist/esm/models/ps-toggle-props.js +1 -0
- package/dist/esm/models/ps-tooltip-content-props.js +1 -0
- package/dist/esm/models/ps-workspace-badge-props.js +1 -0
- package/dist/esm/models/ps-workspace-item-data.js +1 -0
- package/dist/esm/models/ps-workspace-switcher-data.js +1 -0
- package/dist/esm/models/ps-workspace-switcher-props.js +1 -0
- package/dist/esm/pallasoft-internal-tailwind-preset.js +90 -0
- package/dist/esm/services/ps-app-switcher-service.js +56 -0
- package/dist/esm/services/ps-chart-service.js +42 -0
- package/dist/esm/services/ps-class-name-service.js +7 -0
- package/dist/esm/services/ps-field-format-service.js +31 -0
- package/dist/esm/services/ps-file-size-service.js +6 -0
- package/dist/hooks/use-ps-chart.js +43 -6
- package/dist/index.d.ts +10 -0
- package/dist/index.js +374 -348
- package/dist/models/ps-alert-description-props.js +2 -1
- package/dist/models/ps-alert-dialog-action-props.js +2 -1
- package/dist/models/ps-alert-dialog-cancel-props.js +2 -1
- package/dist/models/ps-alert-dialog-content-props.js +2 -1
- package/dist/models/ps-alert-dialog-description-props.js +2 -1
- package/dist/models/ps-alert-dialog-footer-props.js +2 -1
- package/dist/models/ps-alert-dialog-header-props.js +2 -1
- package/dist/models/ps-alert-dialog-overlay-props.js +2 -1
- package/dist/models/ps-alert-dialog-title-props.js +2 -1
- package/dist/models/ps-alert-props.js +2 -1
- package/dist/models/ps-alert-title-props.js +2 -1
- package/dist/models/ps-app-header-link-data.js +2 -1
- package/dist/models/ps-app-header-nav-item-data.js +2 -1
- package/dist/models/ps-app-header-props.js +2 -1
- package/dist/models/ps-app-header-user-data.js +2 -1
- package/dist/models/ps-app-switcher-link-data.js +2 -1
- package/dist/models/ps-app-switcher-props.js +2 -1
- package/dist/models/ps-app-switcher-section-data.js +2 -1
- package/dist/models/ps-app-switcher-section-props.js +2 -1
- package/dist/models/ps-app-switcher-tile-props.js +2 -1
- package/dist/models/ps-avatar-fallback-props.js +2 -1
- package/dist/models/ps-avatar-image-props.js +2 -1
- package/dist/models/ps-avatar-props.js +2 -1
- package/dist/models/ps-badge-props.js +2 -1
- package/dist/models/ps-breadcrumb-ellipsis-props.js +2 -1
- package/dist/models/ps-breadcrumb-item-props.js +2 -1
- package/dist/models/ps-breadcrumb-link-props.js +2 -1
- package/dist/models/ps-breadcrumb-list-props.js +2 -1
- package/dist/models/ps-breadcrumb-page-props.js +2 -1
- package/dist/models/ps-breadcrumb-props.js +2 -1
- package/dist/models/ps-breadcrumb-separator-props.js +2 -1
- package/dist/models/ps-button-props.js +2 -1
- package/dist/models/ps-card-content-props.js +2 -1
- package/dist/models/ps-card-description-props.js +2 -1
- package/dist/models/ps-card-footer-props.js +2 -1
- package/dist/models/ps-card-header-props.js +2 -1
- package/dist/models/ps-card-props.js +2 -1
- package/dist/models/ps-card-title-props.js +2 -1
- package/dist/models/ps-chart-config-item.js +2 -1
- package/dist/models/ps-chart-config.js +2 -1
- package/dist/models/ps-chart-container-props.js +2 -1
- package/dist/models/ps-chart-context-data.js +2 -1
- package/dist/models/ps-chart-legend-content-props.js +2 -1
- package/dist/models/ps-chart-style-props.js +2 -1
- package/dist/models/ps-chart-tooltip-content-props.js +2 -1
- package/dist/models/ps-checkbox-props.js +2 -1
- package/dist/models/ps-combobox-props.js +2 -1
- package/dist/models/ps-command-dialog-props.js +2 -1
- package/dist/models/ps-command-empty-props.js +2 -1
- package/dist/models/ps-command-group-props.js +2 -1
- package/dist/models/ps-command-input-props.js +2 -1
- package/dist/models/ps-command-item-props.js +2 -1
- package/dist/models/ps-command-list-props.js +2 -1
- package/dist/models/ps-command-props.js +2 -1
- package/dist/models/ps-command-separator-props.js +2 -1
- package/dist/models/ps-command-shortcut-props.js +2 -1
- package/dist/models/ps-date-picker-props.js +2 -1
- package/dist/models/ps-dialog-content-props.js +2 -1
- package/dist/models/ps-dialog-description-props.js +2 -1
- package/dist/models/ps-dialog-footer-props.js +2 -1
- package/dist/models/ps-dialog-header-props.js +2 -1
- package/dist/models/ps-dialog-overlay-props.js +2 -1
- package/dist/models/ps-dialog-title-props.js +2 -1
- package/dist/models/ps-dropdown-menu-checkbox-item-props.js +2 -1
- package/dist/models/ps-dropdown-menu-content-props.js +2 -1
- package/dist/models/ps-dropdown-menu-item-props.js +2 -1
- package/dist/models/ps-dropdown-menu-label-props.js +2 -1
- package/dist/models/ps-dropdown-menu-radio-item-props.js +2 -1
- package/dist/models/ps-dropdown-menu-separator-props.js +2 -1
- package/dist/models/ps-dropdown-menu-shortcut-props.js +2 -1
- package/dist/models/ps-dropdown-menu-sub-content-props.js +2 -1
- package/dist/models/ps-dropdown-menu-sub-trigger-props.js +2 -1
- package/dist/models/ps-empty-content-props.js +2 -1
- package/dist/models/ps-empty-description-props.js +2 -1
- package/dist/models/ps-empty-media-props.js +2 -1
- package/dist/models/ps-empty-panel-props.js +2 -1
- package/dist/models/ps-empty-props.js +2 -1
- package/dist/models/ps-empty-title-props.js +2 -1
- package/dist/models/ps-external-app-data.js +2 -1
- package/dist/models/ps-field-content-props.js +2 -1
- package/dist/models/ps-field-description-props.js +2 -1
- package/dist/models/ps-field-error-props.js +2 -1
- package/dist/models/ps-field-group-props.js +2 -1
- package/dist/models/ps-field-input-props.js +2 -1
- package/dist/models/ps-field-label-props.js +2 -1
- package/dist/models/ps-field-props.js +2 -1
- package/dist/models/ps-file-picker-props.js +2 -1
- package/dist/models/ps-input-group-props.js +2 -1
- package/dist/models/ps-input-props.js +2 -1
- package/dist/models/ps-kbd-props.js +2 -1
- package/dist/models/ps-label-props.js +2 -1
- package/dist/models/ps-money-input-props.js +2 -1
- package/dist/models/ps-navigation-progress-props.js +2 -1
- package/dist/models/ps-not-found-props.js +2 -1
- package/dist/models/ps-option-data.js +2 -1
- package/dist/models/ps-option-select-props.js +2 -1
- package/dist/models/ps-pallasoft-app-data.js +2 -1
- package/dist/models/ps-pallasoft-app-urls-data.js +2 -1
- package/dist/models/ps-phone-input-props.js +2 -1
- package/dist/models/ps-popover-content-props.js +2 -1
- package/dist/models/ps-progress-props.js +2 -1
- package/dist/models/ps-radio-group-item-props.js +2 -1
- package/dist/models/ps-radio-group-props.js +2 -1
- package/dist/models/ps-root-error-props.js +2 -1
- package/dist/models/ps-scroll-area-props.js +2 -1
- package/dist/models/ps-scroll-bar-props.js +2 -1
- package/dist/models/ps-select-content-props.js +2 -1
- package/dist/models/ps-select-item-props.js +2 -1
- package/dist/models/ps-select-label-props.js +2 -1
- package/dist/models/ps-select-scroll-down-button-props.js +2 -1
- package/dist/models/ps-select-scroll-up-button-props.js +2 -1
- package/dist/models/ps-select-separator-props.js +2 -1
- package/dist/models/ps-select-trigger-props.js +2 -1
- package/dist/models/ps-separator-props.js +2 -1
- package/dist/models/ps-sheet-content-props.js +2 -1
- package/dist/models/ps-sheet-description-props.js +2 -1
- package/dist/models/ps-sheet-footer-props.js +2 -1
- package/dist/models/ps-sheet-header-props.js +2 -1
- package/dist/models/ps-sheet-overlay-props.js +2 -1
- package/dist/models/ps-sheet-title-props.js +2 -1
- package/dist/models/ps-skeleton-card-grid-props.d.ts +5 -0
- package/dist/models/ps-skeleton-card-grid-props.js +2 -0
- package/dist/models/ps-skeleton-list-card-props.d.ts +5 -0
- package/dist/models/ps-skeleton-list-card-props.js +2 -0
- package/dist/models/ps-skeleton-page-header-props.d.ts +4 -0
- package/dist/models/ps-skeleton-page-header-props.js +2 -0
- package/dist/models/ps-skeleton-props.js +2 -1
- package/dist/models/ps-skeleton-stat-grid-props.d.ts +4 -0
- package/dist/models/ps-skeleton-stat-grid-props.js +2 -0
- package/dist/models/ps-skeleton-table-props.d.ts +7 -0
- package/dist/models/ps-skeleton-table-props.js +2 -0
- package/dist/models/ps-spinner-props.js +2 -1
- package/dist/models/ps-status-panel-props.js +2 -1
- package/dist/models/ps-switch-props.js +2 -1
- package/dist/models/ps-table-body-props.js +2 -1
- package/dist/models/ps-table-caption-props.js +2 -1
- package/dist/models/ps-table-cell-props.js +2 -1
- package/dist/models/ps-table-footer-props.js +2 -1
- package/dist/models/ps-table-head-props.js +2 -1
- package/dist/models/ps-table-header-props.js +2 -1
- package/dist/models/ps-table-props.js +2 -1
- package/dist/models/ps-table-row-props.js +2 -1
- package/dist/models/ps-tabs-content-props.js +2 -1
- package/dist/models/ps-tabs-list-props.js +2 -1
- package/dist/models/ps-tabs-trigger-props.js +2 -1
- package/dist/models/ps-textarea-props.js +2 -1
- package/dist/models/ps-toggle-group-context-data.js +2 -1
- package/dist/models/ps-toggle-group-item-props.js +2 -1
- package/dist/models/ps-toggle-group-multiple-props.js +2 -1
- package/dist/models/ps-toggle-group-single-props.js +2 -1
- package/dist/models/ps-toggle-props.js +2 -1
- package/dist/models/ps-tooltip-content-props.js +2 -1
- package/dist/models/ps-workspace-badge-props.js +2 -1
- package/dist/models/ps-workspace-item-data.js +2 -1
- package/dist/models/ps-workspace-switcher-data.js +2 -1
- package/dist/models/ps-workspace-switcher-props.js +2 -1
- package/dist/pallasoft-internal-tailwind-preset.js +17 -11
- package/dist/services/ps-app-switcher-service.js +16 -12
- package/dist/services/ps-chart-service.js +10 -6
- package/dist/services/ps-class-name-service.js +8 -4
- package/dist/services/ps-field-format-service.js +12 -8
- package/dist/services/ps-file-size-service.js +7 -3
- package/package.json +12 -7
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,11 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.PallasoftInternalTailwindPreset = void 0;
|
|
7
|
+
const tailwindcss_animate_1 = __importDefault(require("tailwindcss-animate"));
|
|
8
|
+
const pallasoft_font_size_js_1 = require("./constants/pallasoft-font-size.js");
|
|
9
|
+
const pallasoft_motion_js_1 = require("./constants/pallasoft-motion.js");
|
|
10
|
+
const pallasoft_screens_js_1 = require("./constants/pallasoft-screens.js");
|
|
11
|
+
const pallasoft_shared_scale_js_1 = require("./constants/pallasoft-shared-scale.js");
|
|
12
|
+
exports.PallasoftInternalTailwindPreset = {
|
|
7
13
|
theme: {
|
|
8
|
-
screens: PallasoftScreens,
|
|
14
|
+
screens: pallasoft_screens_js_1.PallasoftScreens,
|
|
9
15
|
extend: {
|
|
10
16
|
colors: {
|
|
11
17
|
border: 'var(--border)',
|
|
@@ -81,10 +87,10 @@ export const PallasoftInternalTailwindPreset = {
|
|
|
81
87
|
fontFamily: {
|
|
82
88
|
sans: ['Geist Variable', 'ui-sans-serif', 'system-ui', 'sans-serif'],
|
|
83
89
|
},
|
|
84
|
-
...PallasoftSharedScale,
|
|
85
|
-
fontSize: PallasoftFontSize,
|
|
86
|
-
...PallasoftMotion,
|
|
90
|
+
...pallasoft_shared_scale_js_1.PallasoftSharedScale,
|
|
91
|
+
fontSize: pallasoft_font_size_js_1.PallasoftFontSize,
|
|
92
|
+
...pallasoft_motion_js_1.PallasoftMotion,
|
|
87
93
|
},
|
|
88
94
|
},
|
|
89
|
-
plugins: [
|
|
95
|
+
plugins: [tailwindcss_animate_1.default],
|
|
90
96
|
};
|
|
@@ -1,15 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PsAppSwitcherService = void 0;
|
|
4
|
+
const ps_app_category_labels_js_1 = require("../constants/ps-app-category-labels.js");
|
|
5
|
+
const ps_app_switcher_config_js_1 = require("../constants/ps-app-switcher-config.js");
|
|
6
|
+
const ps_external_apps_js_1 = require("../constants/ps-external-apps.js");
|
|
7
|
+
const ps_pallasoft_apps_js_1 = require("../constants/ps-pallasoft-apps.js");
|
|
8
|
+
class PsAppSwitcherService {
|
|
6
9
|
static sections(appUrls, currentAppKey) {
|
|
7
|
-
const ownSections = PsAppSwitcherConfig.categoryOrder.map((category) => this.section(category, this.links(category, appUrls, currentAppKey)));
|
|
8
|
-
const externalSections = PsAppSwitcherConfig.externalCategoryOrder.map((category) => this.section(category, PsExternalApps.filter((app) => app.category === category).map((app) => this.externalLink(app))));
|
|
10
|
+
const ownSections = ps_app_switcher_config_js_1.PsAppSwitcherConfig.categoryOrder.map((category) => this.section(category, this.links(category, appUrls, currentAppKey)));
|
|
11
|
+
const externalSections = ps_app_switcher_config_js_1.PsAppSwitcherConfig.externalCategoryOrder.map((category) => this.section(category, ps_external_apps_js_1.PsExternalApps.filter((app) => app.category === category).map((app) => this.externalLink(app))));
|
|
9
12
|
return [...ownSections, ...externalSections].filter((section) => section.links.length > 0);
|
|
10
13
|
}
|
|
11
14
|
static links(category, appUrls, currentAppKey) {
|
|
12
|
-
return PsPallasoftApps.filter((app) => app.category === category && Boolean(appUrls[app.urlField])).map((app) => ({
|
|
15
|
+
return ps_pallasoft_apps_js_1.PsPallasoftApps.filter((app) => app.category === category && Boolean(appUrls[app.urlField])).map((app) => ({
|
|
13
16
|
key: app.key,
|
|
14
17
|
name: app.name,
|
|
15
18
|
url: appUrls[app.urlField],
|
|
@@ -22,7 +25,7 @@ export class PsAppSwitcherService {
|
|
|
22
25
|
}
|
|
23
26
|
static siteFaviconUrl(url) {
|
|
24
27
|
try {
|
|
25
|
-
return new URL(PsAppSwitcherConfig.siteFaviconPath, url).toString();
|
|
28
|
+
return new URL(ps_app_switcher_config_js_1.PsAppSwitcherConfig.siteFaviconPath, url).toString();
|
|
26
29
|
}
|
|
27
30
|
catch (error) {
|
|
28
31
|
console.error(error);
|
|
@@ -31,7 +34,7 @@ export class PsAppSwitcherService {
|
|
|
31
34
|
}
|
|
32
35
|
static iconUrlFromUrl(url) {
|
|
33
36
|
try {
|
|
34
|
-
return PsAppSwitcherConfig.faviconUrl(new URL(url).hostname);
|
|
37
|
+
return ps_app_switcher_config_js_1.PsAppSwitcherConfig.faviconUrl(new URL(url).hostname);
|
|
35
38
|
}
|
|
36
39
|
catch (error) {
|
|
37
40
|
console.error(error);
|
|
@@ -39,14 +42,14 @@ export class PsAppSwitcherService {
|
|
|
39
42
|
}
|
|
40
43
|
}
|
|
41
44
|
static section(category, links) {
|
|
42
|
-
return { category, label: PsAppCategoryLabels[category], links };
|
|
45
|
+
return { category, label: ps_app_category_labels_js_1.PsAppCategoryLabels[category], links };
|
|
43
46
|
}
|
|
44
47
|
static externalLink(app) {
|
|
45
48
|
return {
|
|
46
49
|
key: app.key,
|
|
47
50
|
name: app.name,
|
|
48
51
|
url: app.url,
|
|
49
|
-
iconUrl: PsAppSwitcherConfig.faviconUrl(app.domain),
|
|
52
|
+
iconUrl: ps_app_switcher_config_js_1.PsAppSwitcherConfig.faviconUrl(app.domain),
|
|
50
53
|
fallbackIconUrl: null,
|
|
51
54
|
initials: app.name.slice(0, 1),
|
|
52
55
|
external: true,
|
|
@@ -54,3 +57,4 @@ export class PsAppSwitcherService {
|
|
|
54
57
|
};
|
|
55
58
|
}
|
|
56
59
|
}
|
|
60
|
+
exports.PsAppSwitcherService = PsAppSwitcherService;
|
|
@@ -1,14 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PsChartService = void 0;
|
|
4
|
+
const ps_chart_defaults_js_1 = require("../constants/ps-chart-defaults.js");
|
|
5
|
+
const ps_chart_themes_js_1 = require("../constants/ps-chart-themes.js");
|
|
6
|
+
class PsChartService {
|
|
4
7
|
static chartId(id, generated) {
|
|
5
|
-
return `${PsChartDefaults.idPrefix}${id !== undefined ? id : generated.replace(PsChartDefaults.idSeparators, '')}`;
|
|
8
|
+
return `${ps_chart_defaults_js_1.PsChartDefaults.idPrefix}${id !== undefined ? id : generated.replace(ps_chart_defaults_js_1.PsChartDefaults.idSeparators, '')}`;
|
|
6
9
|
}
|
|
7
10
|
static css(id, config) {
|
|
8
11
|
const colored = Object.entries(config).filter(([, item]) => item.theme !== undefined || item.color !== undefined);
|
|
9
12
|
if (colored.length === 0)
|
|
10
13
|
return '';
|
|
11
|
-
return Object.entries(PsChartThemes)
|
|
14
|
+
return Object.entries(ps_chart_themes_js_1.PsChartThemes)
|
|
12
15
|
.map(([theme, prefix]) => {
|
|
13
16
|
const variables = colored
|
|
14
17
|
.map(([key, item]) => {
|
|
@@ -25,7 +28,7 @@ export class PsChartService {
|
|
|
25
28
|
if (typeof payload !== 'object' || payload === null)
|
|
26
29
|
return undefined;
|
|
27
30
|
const record = payload;
|
|
28
|
-
const inner = record[PsChartDefaults.payloadKey];
|
|
31
|
+
const inner = record[ps_chart_defaults_js_1.PsChartDefaults.payloadKey];
|
|
29
32
|
const innerRecord = typeof inner === 'object' && inner !== null ? inner : null;
|
|
30
33
|
let configKey = key;
|
|
31
34
|
if (typeof record[key] === 'string')
|
|
@@ -40,3 +43,4 @@ export class PsChartService {
|
|
|
40
43
|
return item.color;
|
|
41
44
|
}
|
|
42
45
|
}
|
|
46
|
+
exports.PsChartService = PsChartService;
|
|
@@ -1,7 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PsClassNameService = void 0;
|
|
4
|
+
const clsx_1 = require("clsx");
|
|
5
|
+
const tailwind_merge_1 = require("tailwind-merge");
|
|
6
|
+
class PsClassNameService {
|
|
4
7
|
static merge(...classNames) {
|
|
5
|
-
return twMerge(clsx(classNames));
|
|
8
|
+
return (0, tailwind_merge_1.twMerge)((0, clsx_1.clsx)(classNames));
|
|
6
9
|
}
|
|
7
10
|
}
|
|
11
|
+
exports.PsClassNameService = PsClassNameService;
|
|
@@ -1,20 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PsFieldFormatService = void 0;
|
|
4
|
+
const ps_utilities_1 = require("@pallasoft/ps-utilities");
|
|
5
|
+
const ps_field_input_config_js_1 = require("../constants/ps-field-input-config.js");
|
|
6
|
+
class PsFieldFormatService {
|
|
4
7
|
static url(value) {
|
|
5
|
-
return Common.ValidationService.withProtocol(value);
|
|
8
|
+
return ps_utilities_1.Common.ValidationService.withProtocol(value);
|
|
6
9
|
}
|
|
7
10
|
static moneyValue(text) {
|
|
8
|
-
if (!Common.AmountService.isAmount(text))
|
|
11
|
+
if (!ps_utilities_1.Common.AmountService.isAmount(text))
|
|
9
12
|
return '';
|
|
10
|
-
return Common.AmountService.toNumber(text).toFixed(PsFieldInputConfig.moneyFractionDigits);
|
|
13
|
+
return ps_utilities_1.Common.AmountService.toNumber(text).toFixed(ps_field_input_config_js_1.PsFieldInputConfig.moneyFractionDigits);
|
|
11
14
|
}
|
|
12
15
|
static moneyText(value, locale) {
|
|
13
16
|
if (value === '')
|
|
14
17
|
return '';
|
|
15
18
|
return new Intl.NumberFormat(locale, {
|
|
16
|
-
minimumFractionDigits: PsFieldInputConfig.moneyFractionDigits,
|
|
17
|
-
maximumFractionDigits: PsFieldInputConfig.moneyFractionDigits,
|
|
19
|
+
minimumFractionDigits: ps_field_input_config_js_1.PsFieldInputConfig.moneyFractionDigits,
|
|
20
|
+
maximumFractionDigits: ps_field_input_config_js_1.PsFieldInputConfig.moneyFractionDigits,
|
|
18
21
|
}).format(Number(value));
|
|
19
22
|
}
|
|
20
23
|
static currencySymbol(currency, locale) {
|
|
@@ -29,3 +32,4 @@ export class PsFieldFormatService {
|
|
|
29
32
|
}
|
|
30
33
|
}
|
|
31
34
|
}
|
|
35
|
+
exports.PsFieldFormatService = PsFieldFormatService;
|
|
@@ -1,6 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PsFileSizeService = void 0;
|
|
4
|
+
const ps_utilities_1 = require("@pallasoft/ps-utilities");
|
|
5
|
+
class PsFileSizeService {
|
|
3
6
|
static label(bytes) {
|
|
4
|
-
return Common.FileSizeService.format(bytes);
|
|
7
|
+
return ps_utilities_1.Common.FileSizeService.format(bytes);
|
|
5
8
|
}
|
|
6
9
|
}
|
|
10
|
+
exports.PsFileSizeService = PsFileSizeService;
|
package/package.json
CHANGED
|
@@ -1,20 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pallasoft/ps-internal-components",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"private": false,
|
|
5
|
-
"
|
|
5
|
+
"description": "Shared Pallasoft internal UI: app header, app switcher and shadcn primitives for staff tools",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
8
|
+
"module": "./dist/esm/index.js",
|
|
9
|
+
"sideEffects": [
|
|
10
|
+
"*.css"
|
|
11
|
+
],
|
|
8
12
|
"exports": {
|
|
9
13
|
".": {
|
|
10
14
|
"types": "./dist/index.d.ts",
|
|
11
|
-
"
|
|
15
|
+
"module": "./dist/esm/index.js",
|
|
16
|
+
"require": "./dist/index.js",
|
|
12
17
|
"default": "./dist/index.js"
|
|
13
18
|
},
|
|
14
19
|
"./theme.css": "./src/styles/theme.css",
|
|
15
20
|
"./tailwind-preset": {
|
|
16
21
|
"types": "./dist/pallasoft-internal-tailwind-preset.d.ts",
|
|
17
|
-
"
|
|
22
|
+
"module": "./dist/esm/pallasoft-internal-tailwind-preset.js",
|
|
23
|
+
"require": "./dist/pallasoft-internal-tailwind-preset.js",
|
|
18
24
|
"default": "./dist/pallasoft-internal-tailwind-preset.js"
|
|
19
25
|
}
|
|
20
26
|
},
|
|
@@ -24,7 +30,7 @@
|
|
|
24
30
|
],
|
|
25
31
|
"scripts": {
|
|
26
32
|
"husky:prepare": "npx husky",
|
|
27
|
-
"build": "tsc",
|
|
33
|
+
"build": "tsc && tsc -p tsconfig.esm.json",
|
|
28
34
|
"setup:graphify": "sh scripts/graphify-setup.sh",
|
|
29
35
|
"update:graphify": "sh scripts/graphify-update.sh",
|
|
30
36
|
"lint": "npm run lint:eslint",
|
|
@@ -104,6 +110,5 @@
|
|
|
104
110
|
"publishConfig": {
|
|
105
111
|
"access": "public",
|
|
106
112
|
"registry": "https://registry.npmjs.org/"
|
|
107
|
-
}
|
|
108
|
-
"description": "Shared Pallasoft internal UI: app header, app switcher and shadcn primitives for staff tools"
|
|
113
|
+
}
|
|
109
114
|
}
|