ca-components 1.0.71 → 1.0.72

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.
Files changed (18) hide show
  1. package/esm2022/lib/components/ca-chart-manager/ca-chart-manager.component.mjs +3 -3
  2. package/esm2022/lib/components/ca-dropdown-menu/ca-dropdown-menu.component.mjs +2 -1
  3. package/esm2022/lib/components/ca-dropdown-menu/models/dropdown-menu-option-emit.model.mjs +2 -0
  4. package/esm2022/lib/components/ca-dropdown-menu/models/index.mjs +2 -2
  5. package/esm2022/lib/components/ca-period-content/components/ca-period-content-payment/ca-period-content-payment.component.mjs +1 -1
  6. package/esm2022/lib/components/ca-pickup-delivery-block/components/ca-load/components/ca-load-single/ca-load-single.component.mjs +1 -1
  7. package/esm2022/lib/utils/helpers/dropdown-menu-content-conditional-items.helper.mjs +1 -1
  8. package/esm2022/lib/utils/helpers/dropdown-menu-content.helper.mjs +3 -1
  9. package/fesm2022/ca-components.mjs +5 -2
  10. package/fesm2022/ca-components.mjs.map +1 -1
  11. package/lib/components/ca-dropdown-menu/ca-dropdown-menu.component.d.ts +2 -2
  12. package/lib/components/ca-dropdown-menu/models/{dropdown-option-emit.model.d.ts → dropdown-menu-option-emit.model.d.ts} +1 -1
  13. package/lib/components/ca-dropdown-menu/models/index.d.ts +1 -1
  14. package/lib/components/ca-filters/ca-filter.component.d.ts +2 -2
  15. package/lib/components/ca-period-content/components/ca-period-content-payment/ca-period-content-payment.component.d.ts +3 -3
  16. package/lib/components/ca-pickup-delivery-block/components/ca-load/components/ca-load-single/ca-load-single.component.d.ts +2 -2
  17. package/package.json +1 -1
  18. package/esm2022/lib/components/ca-dropdown-menu/models/dropdown-option-emit.model.mjs +0 -2
@@ -3,7 +3,7 @@ import { NgbPopover } from '@ng-bootstrap/ng-bootstrap';
3
3
  import { DropdownMenuStringEnum } from './enums';
4
4
  import { DropdownMenuSvgRoutes } from './utils/svg-routes';
5
5
  import { DropdownMenuType } from './types';
6
- import { DropdownMenuItem, DropdownOptionEmit } from './models';
6
+ import { DropdownMenuItem, DropdownMenuOptionEmit } from './models';
7
7
  import * as i0 from "@angular/core";
8
8
  export declare class CaDropdownMenuComponent {
9
9
  type: DropdownMenuType;
@@ -12,7 +12,7 @@ export declare class CaDropdownMenuComponent {
12
12
  isDarkBackground?: boolean;
13
13
  isLeftSideIconPosition?: boolean;
14
14
  isPositionTranslateUnset?: boolean;
15
- dropdownOptionEmitter: EventEmitter<DropdownOptionEmit>;
15
+ dropdownOptionEmitter: EventEmitter<DropdownMenuOptionEmit>;
16
16
  dropdownMenuSvgRoutes: typeof DropdownMenuSvgRoutes;
17
17
  dropdownMenuStringEnum: typeof DropdownMenuStringEnum;
18
18
  dropdownPopover: NgbPopover | null;
@@ -1,4 +1,4 @@
1
- export interface DropdownOptionEmit {
1
+ export interface DropdownMenuOptionEmit {
2
2
  id?: number;
3
3
  type?: string;
4
4
  isActive?: boolean;
@@ -1,2 +1,2 @@
1
1
  export * from './dropdown-menu-item.model';
2
- export * from './dropdown-option-emit.model';
2
+ export * from './dropdown-menu-option-emit.model';
@@ -60,8 +60,8 @@ export declare class CaFilterComponent implements OnDestroy {
60
60
  addressList: AddressList[];
61
61
  usaStates: ArrayStatus[];
62
62
  canadaStates: ArrayStatus[];
63
- setFilter: EventEmitter<filterOutputWithParams | filterOutput>;
64
- clearAll: EventEmitter<filterOutputWithParams | filterOutput>;
63
+ setFilter: EventEmitter<filterOutput | filterOutputWithParams>;
64
+ clearAll: EventEmitter<filterOutput | filterOutputWithParams>;
65
65
  private destroy$;
66
66
  isSearchExpanded: boolean;
67
67
  isFilterActive: boolean;
@@ -3,7 +3,7 @@ import { PeriodContentSvgRoutes } from '../../utils/svg-routes';
3
3
  import { CdkDragDrop } from '@angular/cdk/drag-drop';
4
4
  import { CaDropdownMenuComponent } from '../../../ca-dropdown-menu/ca-dropdown-menu.component';
5
5
  import { PayrollReportTableResponse } from '../../models/payroll-report-tables.type';
6
- import { DropdownMenuItem, DropdownOptionEmit } from '../../../ca-dropdown-menu/models';
6
+ import { DropdownMenuItem, DropdownMenuOptionEmit } from '../../../ca-dropdown-menu/models';
7
7
  import * as i0 from "@angular/core";
8
8
  export declare class CaPeriodContentPaymentComponent implements OnInit {
9
9
  private cdr;
@@ -21,7 +21,7 @@ export declare class CaPeriodContentPaymentComponent implements OnInit {
21
21
  hideTotal: boolean;
22
22
  openAddNewModalEmiter: EventEmitter<string>;
23
23
  openEditEntryItem: EventEmitter<{
24
- $event: DropdownOptionEmit;
24
+ $event: DropdownMenuOptionEmit;
25
25
  data: any;
26
26
  title: string;
27
27
  }>;
@@ -41,7 +41,7 @@ export declare class CaPeriodContentPaymentComponent implements OnInit {
41
41
  identity(index: number): number;
42
42
  openAddNewModal(): void;
43
43
  handleMenuOpen(event: {
44
- $event: DropdownOptionEmit;
44
+ $event: DropdownMenuOptionEmit;
45
45
  data: PayrollReportTableResponse;
46
46
  title: string;
47
47
  }): void;
@@ -1,7 +1,7 @@
1
1
  import { PickupDeliverySvgRoutes } from '../../../../utils/svg-routes';
2
2
  import { FormatCurrencyPipe } from '../../../../../../pipes/format-currency.pipe';
3
3
  import { LoadShortResponse, StatusTypeEnum } from '../../../../models';
4
- import { DropdownMenuItem, DropdownOptionEmit } from '../../../../../ca-dropdown-menu/models';
4
+ import { DropdownMenuItem, DropdownMenuOptionEmit } from '../../../../../ca-dropdown-menu/models';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class ActiveLoadComponent {
7
7
  formatCurrencyPipe: FormatCurrencyPipe;
@@ -12,7 +12,7 @@ export declare class ActiveLoadComponent {
12
12
  ngOnInit(): void;
13
13
  private setDropdownOptions;
14
14
  getSvgPath(propertyName: keyof typeof PickupDeliverySvgRoutes): string;
15
- handleMenuOpen(event: DropdownOptionEmit): void;
15
+ handleMenuOpen(event: DropdownMenuOptionEmit): void;
16
16
  static ɵfac: i0.ɵɵFactoryDeclaration<ActiveLoadComponent, never>;
17
17
  static ɵcmp: i0.ɵɵComponentDeclaration<ActiveLoadComponent, "app-ca-load-single", never, { "activeLoad": { "alias": "activeLoad"; "required": false; }; "status": { "alias": "status"; "required": false; }; }, {}, never, never, true, never>;
18
18
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ca-components",
3
- "version": "1.0.71",
3
+ "version": "1.0.72",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^18.2.13",
6
6
  "@angular/core": "^18.2.13",
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJvcGRvd24tb3B0aW9uLWVtaXQubW9kZWwuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jYS1jb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9jYS1kcm9wZG93bi1tZW51L21vZGVscy9kcm9wZG93bi1vcHRpb24tZW1pdC5tb2RlbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGludGVyZmFjZSBEcm9wZG93bk9wdGlvbkVtaXQge1xuICAgIGlkPzogbnVtYmVyO1xuICAgIHR5cGU/OiBzdHJpbmc7XG4gICAgaXNBY3RpdmU/OiBib29sZWFuO1xufVxuIl19