@posiwise/shared-components 0.0.164 → 0.0.165
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/package.json
CHANGED
|
@@ -18,25 +18,25 @@ import * as i30 from '@angular/router';
|
|
|
18
18
|
import { Router } from '@angular/router';
|
|
19
19
|
import { AppState } from '@posiwise/app-store';
|
|
20
20
|
import { Store } from '@ngrx/store';
|
|
21
|
-
import * as
|
|
21
|
+
import * as i6 from '@angular/forms';
|
|
22
22
|
import { UntypedFormGroup, UntypedFormBuilder, AbstractControl, ControlContainer } from '@angular/forms';
|
|
23
|
-
import * as
|
|
24
|
-
import * as
|
|
25
|
-
import * as
|
|
23
|
+
import * as i7 from '@posiwise/app-loader';
|
|
24
|
+
import * as i9 from '@posiwise/directives';
|
|
25
|
+
import * as i8 from '@posiwise/core-transloco';
|
|
26
26
|
import * as i32 from 'primeng/table';
|
|
27
27
|
import * as i33 from 'primeng/tabs';
|
|
28
|
-
import * as
|
|
28
|
+
import * as i10 from 'primeng/button';
|
|
29
29
|
import * as i35 from 'primeng/select';
|
|
30
30
|
import * as i36 from 'primeng/multiselect';
|
|
31
|
-
import * as
|
|
32
|
-
import * as
|
|
31
|
+
import * as i13 from 'primeng/progressspinner';
|
|
32
|
+
import * as i14 from 'primeng/autocomplete';
|
|
33
33
|
import * as i39 from 'ngx-image-cropper';
|
|
34
34
|
import * as i40 from 'ngx-ui-switch';
|
|
35
35
|
import * as i42 from '@posiwise/pipes';
|
|
36
36
|
import * as i43 from '@angular/common';
|
|
37
|
-
import * as
|
|
38
|
-
import * as
|
|
39
|
-
import * as
|
|
37
|
+
import * as i16 from '@posiwise/utils';
|
|
38
|
+
import * as i12 from 'primeng/tooltip';
|
|
39
|
+
import * as i15 from '@angular/cdk/drag-drop';
|
|
40
40
|
|
|
41
41
|
interface SharedModalContext {
|
|
42
42
|
modal: {
|
|
@@ -359,7 +359,7 @@ declare class CollapsibleSidebarComponent implements OnInit, AfterViewInit, OnDe
|
|
|
359
359
|
ngOnInit(): void;
|
|
360
360
|
ngAfterViewInit(): void;
|
|
361
361
|
ngOnDestroy(): void;
|
|
362
|
-
/** Register (idempotently) the
|
|
362
|
+
/** Register (idempotently) the Assistant panel under the given brand. */
|
|
363
363
|
private registerBrainPanel;
|
|
364
364
|
/**
|
|
365
365
|
* Load and render dynamic component based on sidebar content
|
|
@@ -913,9 +913,30 @@ declare class CompletionBarComponent {
|
|
|
913
913
|
static ɵcmp: i0.ɵɵComponentDeclaration<CompletionBarComponent, "pw-completion-bar", never, { "segments": { "alias": "segments"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "label": { "alias": "label"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "lowThreshold": { "alias": "lowThreshold"; "required": false; }; "highThreshold": { "alias": "highThreshold"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, never, false, never>;
|
|
914
914
|
}
|
|
915
915
|
|
|
916
|
+
/**
|
|
917
|
+
* Shared table-footer "Showing X of Y items" summary.
|
|
918
|
+
*
|
|
919
|
+
* Replaces the hand-rolled `<span class="total-records-count">{{ 'Label.RecordsSummary' | transloco: {…} }}</span>`
|
|
920
|
+
* that was previously copy-pasted into every list across main-frontend and the
|
|
921
|
+
* spinout frontends. The `total-records-count` class is owned globally by
|
|
922
|
+
* `@posiwise/core-styles`, so it is applied to the host here and renders
|
|
923
|
+
* identically wherever core-styles is loaded.
|
|
924
|
+
*
|
|
925
|
+
* Usage:
|
|
926
|
+
* <pw-records-summary [showing]="dt?.value?.length ?? 0" [total]="totalRecords" />
|
|
927
|
+
*/
|
|
928
|
+
declare class RecordsSummaryComponent {
|
|
929
|
+
/** Number of rows currently rendered (e.g. `dt?.value?.length`). */
|
|
930
|
+
showing: number | null;
|
|
931
|
+
/** Total number of records across all pages. */
|
|
932
|
+
total: number | null;
|
|
933
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RecordsSummaryComponent, never>;
|
|
934
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RecordsSummaryComponent, "pw-records-summary", never, { "showing": { "alias": "showing"; "required": false; }; "total": { "alias": "total"; "required": false; }; }, {}, never, never, false, never>;
|
|
935
|
+
}
|
|
936
|
+
|
|
916
937
|
declare class ResourceSharedComponentsModule {
|
|
917
938
|
static ɵfac: i0.ɵɵFactoryDeclaration<ResourceSharedComponentsModule, never>;
|
|
918
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ResourceSharedComponentsModule, [typeof NoDataComponent, typeof InputContainerComponent, typeof CompletionBarComponent], [typeof i43.CommonModule, typeof
|
|
939
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ResourceSharedComponentsModule, [typeof NoDataComponent, typeof InputContainerComponent, typeof CompletionBarComponent, typeof RecordsSummaryComponent], [typeof i43.CommonModule, typeof i6.FormsModule, typeof i6.ReactiveFormsModule, typeof i7.AppLoaderModule, typeof i8.CoreTranslocoModule, typeof i9.DirectivesModule, typeof i10.ButtonModule, typeof i31.NgbTooltipModule, typeof i12.TooltipModule, typeof i13.ProgressSpinnerModule, typeof i14.AutoCompleteModule, typeof i15.DragDropModule, typeof i16.FieldErrorDisplayModule, typeof i16.ProfileImageCropperModule, typeof i16.ResourceHeaderModule], [typeof i16.ProfileImageCropperModule, typeof i16.ResourceHeaderModule, typeof InputContainerComponent, typeof NoDataComponent, typeof CompletionBarComponent, typeof RecordsSummaryComponent, typeof i10.ButtonModule, typeof i15.DragDropModule, typeof i13.ProgressSpinnerModule, typeof i14.AutoCompleteModule, typeof i12.TooltipModule, typeof i16.FieldErrorDisplayModule]>;
|
|
919
940
|
static ɵinj: i0.ɵɵInjectorDeclaration<ResourceSharedComponentsModule>;
|
|
920
941
|
}
|
|
921
942
|
|
|
@@ -953,7 +974,7 @@ declare class CollapsibleSidebarTriggerDirective {
|
|
|
953
974
|
|
|
954
975
|
declare class SharedComponentsModule {
|
|
955
976
|
static ɵfac: i0.ɵɵFactoryDeclaration<SharedComponentsModule, never>;
|
|
956
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedComponentsModule, [typeof PasswordValidationComponent, typeof PwTabsComponent, typeof DateRangePickerComponent, typeof PermissionTreeComponent, typeof PrivacyAndTosComponent, typeof PrivacyPolicyComponent, typeof TermsConditionsComponent, typeof SplashComponent, typeof AuthenticatorComponent, typeof ClearBitIconComponent, typeof ComingSoonComponent, typeof CollapsibleSidebarComponent, typeof PwBrainChatComponent, typeof EntityGroupComponent, typeof GroupsComponent, typeof GroupDefinitionComponent, typeof NumberPickerComponent, typeof HeaderComponent, typeof LandingPageFooterBComponent, typeof PwDynamicPageComponent, typeof SectionHeadingBlockComponent, typeof DividerBlockComponent, typeof StatCardBlockComponent, typeof DataTableBlockComponent, typeof ChartBlockComponent], [typeof
|
|
977
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedComponentsModule, [typeof PasswordValidationComponent, typeof PwTabsComponent, typeof DateRangePickerComponent, typeof PermissionTreeComponent, typeof PrivacyAndTosComponent, typeof PrivacyPolicyComponent, typeof TermsConditionsComponent, typeof SplashComponent, typeof AuthenticatorComponent, typeof ClearBitIconComponent, typeof ComingSoonComponent, typeof CollapsibleSidebarComponent, typeof PwBrainChatComponent, typeof EntityGroupComponent, typeof GroupsComponent, typeof GroupDefinitionComponent, typeof NumberPickerComponent, typeof HeaderComponent, typeof LandingPageFooterBComponent, typeof PwDynamicPageComponent, typeof SectionHeadingBlockComponent, typeof DividerBlockComponent, typeof StatCardBlockComponent, typeof DataTableBlockComponent, typeof ChartBlockComponent], [typeof i6.FormsModule, typeof i7.AppLoaderModule, typeof i6.ReactiveFormsModule, typeof i9.DirectivesModule, typeof i8.CoreTranslocoModule, typeof i30.RouterModule, typeof i31.NgbTooltipModule, typeof i31.NgbNavModule, typeof i31.NgbModalModule, typeof i32.TableModule, typeof i33.TabsModule, typeof i10.ButtonModule, typeof i35.SelectModule, typeof i36.MultiSelectModule, typeof i13.ProgressSpinnerModule, typeof i14.AutoCompleteModule, typeof i39.ImageCropperModule, typeof i40.UiSwitchModule, typeof i41.NgxDaterangepickerMd, typeof i42.PipesModule, typeof i43.CommonModule, typeof i43.NgIf, typeof i16.FieldErrorDisplayModule, typeof ResourceSharedComponentsModule, typeof CollapsibleSidebarTriggerDirective], [typeof PasswordValidationComponent, typeof PwTabsComponent, typeof DateRangePickerComponent, typeof i31.NgbTooltipModule, typeof i31.NgbNavModule, typeof i31.NgbModalModule, typeof i32.TableModule, typeof i33.TabsModule, typeof i10.ButtonModule, typeof i35.SelectModule, typeof i36.MultiSelectModule, typeof i13.ProgressSpinnerModule, typeof i14.AutoCompleteModule, typeof i39.ImageCropperModule, typeof i40.UiSwitchModule, typeof i41.NgxDaterangepickerMd, typeof PermissionTreeComponent, typeof PrivacyAndTosComponent, typeof PrivacyPolicyComponent, typeof TermsConditionsComponent, typeof SplashComponent, typeof AuthenticatorComponent, typeof ClearBitIconComponent, typeof ComingSoonComponent, typeof CollapsibleSidebarComponent, typeof CollapsibleSidebarTriggerDirective, typeof PwBrainChatComponent, typeof EntityGroupComponent, typeof GroupsComponent, typeof GroupDefinitionComponent, typeof NumberPickerComponent, typeof HeaderComponent, typeof LandingPageFooterBComponent, typeof PwDynamicPageComponent, typeof i16.FieldErrorDisplayModule, typeof ResourceSharedComponentsModule]>;
|
|
957
978
|
static ɵinj: i0.ɵɵInjectorDeclaration<SharedComponentsModule>;
|
|
958
979
|
}
|
|
959
980
|
|
|
@@ -1008,5 +1029,5 @@ declare const COMPONENT_REGISTRY: Readonly<Record<string, Type<unknown>>>;
|
|
|
1008
1029
|
declare function registeredType(type: string): Type<unknown> | null;
|
|
1009
1030
|
declare function registeredTypeNames(): string[];
|
|
1010
1031
|
|
|
1011
|
-
export { AuthenticatorComponent, COMPONENT_REGISTRY, ClearBitIconComponent, CollapsibleSidebarComponent, CollapsibleSidebarService, CollapsibleSidebarSuperAdminGuard, CollapsibleSidebarTriggerDirective, ComingSoonComponent, CompletionBarComponent, DateRangePickerComponent, DynamicPageContextService, EntityGroupComponent, GroupDefinitionComponent, GroupsComponent, HeaderComponent, InputContainerComponent, LandingPageFooterBComponent, NoDataComponent, NumberPickerComponent, PasswordValidationComponent, PermissionTreeComponent, PrivacyAndTosComponent, PrivacyPolicyComponent, PwBrainChatComponent, PwDynamicPageComponent, PwTabsComponent, ResourceSharedComponentsModule, SharedComponentsModule, SplashComponent, TermsConditionsComponent, UI_BUILDER_FLAG, UiLayoutService, registeredType, registeredTypeNames };
|
|
1032
|
+
export { AuthenticatorComponent, COMPONENT_REGISTRY, ClearBitIconComponent, CollapsibleSidebarComponent, CollapsibleSidebarService, CollapsibleSidebarSuperAdminGuard, CollapsibleSidebarTriggerDirective, ComingSoonComponent, CompletionBarComponent, DateRangePickerComponent, DynamicPageContextService, EntityGroupComponent, GroupDefinitionComponent, GroupsComponent, HeaderComponent, InputContainerComponent, LandingPageFooterBComponent, NoDataComponent, NumberPickerComponent, PasswordValidationComponent, PermissionTreeComponent, PrivacyAndTosComponent, PrivacyPolicyComponent, PwBrainChatComponent, PwDynamicPageComponent, PwTabsComponent, RecordsSummaryComponent, ResourceSharedComponentsModule, SharedComponentsModule, SplashComponent, TermsConditionsComponent, UI_BUILDER_FLAG, UiLayoutService, registeredType, registeredTypeNames };
|
|
1012
1033
|
export type { ChatMessage, ChatMessageRole, CompletionTier, DynamicPageContext, PendingConfirmation, ResolvedBinding, SidebarContent, UiBinding, UiBlock, UiGrid, UiLayoutConfig, UiLayoutResponse };
|