ca-components 0.0.81 → 0.0.83

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 (26) hide show
  1. package/esm2022/lib/components/ca-filters/components/ca-dispatcher-filter/ca-dispatcher-filter.component.mjs +2 -2
  2. package/esm2022/lib/components/ca-filters/components/ca-user-filter/ca-user-filter.component.mjs +2 -2
  3. package/esm2022/lib/components/ca-input/ca-input.component.mjs +10 -4
  4. package/esm2022/lib/components/ca-input/directives/index.mjs +2 -0
  5. package/esm2022/lib/components/ca-input/directives/min-max-value.directive.mjs +49 -0
  6. package/esm2022/lib/components/ca-input/services/ca-input-state.service.mjs +2 -3
  7. package/esm2022/lib/components/ca-input-dropdown/components/ca-input-dropdown-load-dispatcher/ca-input-dropdown-load-dispatcher.component.mjs +1 -1
  8. package/esm2022/lib/components/ca-input-dropdown/components/ca-input-dropdown-load-dispatches-ttd/ca-input-dropdown-load-dispatches-ttd.component.mjs +1 -1
  9. package/esm2022/lib/components/ca-input-dropdown/components/ca-input-dropdown-svgtext-dispatch-template/ca-input-dropdown-svgtext-dispatch-template.component.mjs +1 -1
  10. package/esm2022/lib/components/ca-input-dropdown/components/ca-input-dropdown-svgtext-template/ca-input-dropdown-svgtext-template.component.mjs +2 -2
  11. package/esm2022/lib/components/ca-main-table/ca-main-table.component.mjs +6 -3
  12. package/esm2022/lib/components/ca-period-content/ca-period-content.component.mjs +3 -3
  13. package/esm2022/lib/components/ca-period-content/components/ca-period-content-payment/ca-period-content-payment.component.mjs +2 -2
  14. package/esm2022/lib/components/ca-period-content/components/ca-period-content-user-info/ca-period-content-user-info.component.mjs +3 -3
  15. package/esm2022/lib/components/ca-profile-image/ca-profile-image.component.mjs +6 -3
  16. package/esm2022/lib/components/ca-rating-review/components/ca-rating-review-user/ca-rating-review-user.component.mjs +1 -1
  17. package/esm2022/lib/components/ca-todo/components/ca-todo-card.component.mjs +2 -2
  18. package/fesm2022/ca-components.mjs +79 -23
  19. package/fesm2022/ca-components.mjs.map +1 -1
  20. package/lib/components/ca-input/directives/index.d.ts +1 -0
  21. package/lib/components/ca-input/directives/min-max-value.directive.d.ts +12 -0
  22. package/lib/components/ca-main-table/ca-main-table.component.d.ts +2 -1
  23. package/lib/components/ca-profile-image/ca-profile-image.component.d.ts +2 -1
  24. package/package.json +1 -1
  25. package/src/assets/ca-components/svg/common/ic_billing.svg +7 -0
  26. package/src/assets/ca-components/svg/common/ic_dollar-additional-load.svg +6 -0
@@ -0,0 +1 @@
1
+ export * from './min-max-value.directive';
@@ -0,0 +1,12 @@
1
+ import { ElementRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class MinMaxValueDirective {
4
+ private el;
5
+ minValue: number;
6
+ maxValue: number;
7
+ constructor(el: ElementRef);
8
+ onKeyPress(event: KeyboardEvent): void;
9
+ onPaste(event: ClipboardEvent): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<MinMaxValueDirective, never>;
11
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MinMaxValueDirective, "[appMinMaxValue]", never, { "minValue": { "alias": "minValue"; "required": false; }; "maxValue": { "alias": "maxValue"; "required": false; }; }, {}, never, never, true, never>;
12
+ }
@@ -15,6 +15,7 @@ export declare class CaMainTableComponent implements OnInit {
15
15
  sortPredicate: (index: number, item: CdkDrag<number>) => boolean;
16
16
  hideFieldsToHide: boolean;
17
17
  reorderItems: boolean;
18
+ disableReorderRow: boolean;
18
19
  columns: ColumnConfig[];
19
20
  data$: Observable<any[]>;
20
21
  constructor(injector: Injector, cdRef: ChangeDetectorRef);
@@ -29,5 +30,5 @@ export declare class CaMainTableComponent implements OnInit {
29
30
  dropHeader(event: CdkDragDrop<string[]>): void;
30
31
  drop(event: CdkDragDrop<any[] | null, any, any>): void;
31
32
  static ɵfac: i0.ɵɵFactoryDeclaration<CaMainTableComponent, never>;
32
- static ɵcmp: i0.ɵɵComponentDeclaration<CaMainTableComponent, "app-ca-main-table", never, { "reorderTemplate": { "alias": "reorderTemplate"; "required": false; }; "reorderTemplatePreview": { "alias": "reorderTemplatePreview"; "required": false; }; "transparentTable": { "alias": "transparentTable"; "required": false; }; "sortPredicate": { "alias": "sortPredicate"; "required": false; }; "hideFieldsToHide": { "alias": "hideFieldsToHide"; "required": false; }; "reorderItems": { "alias": "reorderItems"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "data$": { "alias": "data$"; "required": false; }; }, { "onPressEvent": "onPressEvent"; "onReorder": "onReorder"; }, never, never, true, never>;
33
+ static ɵcmp: i0.ɵɵComponentDeclaration<CaMainTableComponent, "app-ca-main-table", never, { "reorderTemplate": { "alias": "reorderTemplate"; "required": false; }; "reorderTemplatePreview": { "alias": "reorderTemplatePreview"; "required": false; }; "transparentTable": { "alias": "transparentTable"; "required": false; }; "sortPredicate": { "alias": "sortPredicate"; "required": false; }; "hideFieldsToHide": { "alias": "hideFieldsToHide"; "required": false; }; "reorderItems": { "alias": "reorderItems"; "required": false; }; "disableReorderRow": { "alias": "disableReorderRow"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "data$": { "alias": "data$"; "required": false; }; }, { "onPressEvent": "onPressEvent"; "onReorder": "onReorder"; }, never, never, true, never>;
33
34
  }
@@ -13,11 +13,12 @@ export declare class CaProfileImageComponent implements OnChanges {
13
13
  name: string | number;
14
14
  isRound: boolean;
15
15
  size: string | number;
16
+ height: string | number;
16
17
  fontSize: string | number;
17
18
  isHoverEffect: boolean;
18
19
  constructor();
19
20
  ngOnChanges(changes: SimpleChanges): void;
20
21
  getProfileImageColors(): void;
21
22
  static ɵfac: i0.ɵɵFactoryDeclaration<CaProfileImageComponent, never>;
22
- static ɵcmp: i0.ɵɵComponentDeclaration<CaProfileImageComponent, "app-ca-profile-image", never, { "indx": { "alias": "indx"; "required": false; }; "avatarImg": { "alias": "avatarImg"; "required": false; }; "avatarColor": { "alias": "avatarColor"; "required": false; }; "textShortName": { "alias": "textShortName"; "required": false; }; "name": { "alias": "name"; "required": false; }; "isRound": { "alias": "isRound"; "required": false; }; "size": { "alias": "size"; "required": false; }; "fontSize": { "alias": "fontSize"; "required": false; }; "isHoverEffect": { "alias": "isHoverEffect"; "required": false; }; }, {}, never, never, true, never>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<CaProfileImageComponent, "app-ca-profile-image", never, { "indx": { "alias": "indx"; "required": false; }; "avatarImg": { "alias": "avatarImg"; "required": false; }; "avatarColor": { "alias": "avatarColor"; "required": false; }; "textShortName": { "alias": "textShortName"; "required": false; }; "name": { "alias": "name"; "required": false; }; "isRound": { "alias": "isRound"; "required": false; }; "size": { "alias": "size"; "required": false; }; "height": { "alias": "height"; "required": false; }; "fontSize": { "alias": "fontSize"; "required": false; }; "isHoverEffect": { "alias": "isHoverEffect"; "required": false; }; }, {}, never, never, true, never>;
23
24
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ca-components",
3
- "version": "0.0.81",
3
+ "version": "0.0.83",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^16.2.0",
6
6
  "@angular/core": "^16.2.0",
@@ -0,0 +1,7 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="15" height="18" viewBox="0 0 15 18">
2
+ <g id="invoice" transform="translate(-532.667 -951.641)">
3
+ <g id="Group_43542" data-name="Group 43542">
4
+ <path id="Path_26347" data-name="Path 26347" d="M547.078,951.641H533.253a.586.586,0,0,0-.586.586h0v15.1a.586.586,0,0,0,.171.415l1.728,1.729a.587.587,0,0,0,.83,0h0l1.313-1.314,1.313,1.314a.587.587,0,0,0,.83,0h0l1.314-1.314,1.313,1.314a.586.586,0,0,0,.829,0h0l1.313-1.314,1.314,1.314a.586.586,0,0,0,.829,0h0l1.728-1.729a.587.587,0,0,0,.172-.415v-15.1a.586.586,0,0,0-.587-.586Zm-7.5,3.948v-.678a.587.587,0,1,1,1.174,0v.667h.668a.587.587,0,0,1,0,1.174h-1.674a.668.668,0,1,0,0,1.336h.838a1.844,1.844,0,0,1,.168,3.68v.679a.587.587,0,0,1-1.174,0v-.667h-.668a.588.588,0,0,1,0-1.175h1.676a.667.667,0,1,0,0-1.335h-.839a1.844,1.844,0,0,1-.168-3.681Zm3.73,10.6h-6.287a.587.587,0,0,1,0-1.174H543.3a.587.587,0,1,1,0,1.174h0Z" fill="#b7b7b7"/>
5
+ </g>
6
+ </g>
7
+ </svg>
@@ -0,0 +1,6 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="18" height="19.001" viewBox="0 0 18 19.001">
2
+ <g id="Money" transform="translate(-229 -666.499)">
3
+ <rect id="Rectangle_62469" data-name="Rectangle 62469" width="18" height="18" transform="translate(229 667)" fill="#6f9ee0" opacity="0"/>
4
+ <path id="Union_1424" data-name="Union 1424" d="M9617.887,6780a.589.589,0,0,1-.61-.562v-1.688a5.725,5.725,0,0,1-3.3-1.053.58.58,0,0,1-.249-.435.53.53,0,0,1,.181-.428l1.329-1.2a.65.65,0,0,1,.425-.159.609.609,0,0,1,.321.089,2.489,2.489,0,0,0,1.307.37h2.532a1.085,1.085,0,0,0,1.128-1.037,1.062,1.062,0,0,0-.812-1l-3.913-1.056a4.15,4.15,0,0,1-3.2-3.394,3.634,3.634,0,0,1,.952-2.819,4.33,4.33,0,0,1,3.213-1.387h.095v-1.686a.589.589,0,0,1,.61-.563h1.223a.447.447,0,0,1,.058,0,4.512,4.512,0,0,0-1.389,5.059h-.6a1.088,1.088,0,0,0-1.128,1.039,1.056,1.056,0,0,0,.812,1l4.126,1.109a4.106,4.106,0,0,1,2.611,2.065,3.551,3.551,0,0,1,.157,2.916,4.312,4.312,0,0,1-4.037,2.556v1.7a.589.589,0,0,1-.613.563Zm.614-14.5a3.5,3.5,0,1,1,3.5,3.5A3.5,3.5,0,0,1,9618.5,6765.5Zm1.372-.152v.3a.3.3,0,0,0,.3.3h1.367v1.37a.3.3,0,0,0,.3.3h.3a.3.3,0,0,0,.3-.3v-1.37h1.367a.3.3,0,0,0,.3-.3v-.3a.3.3,0,0,0-.3-.3h-1.367v-1.365a.3.3,0,0,0-.3-.3h-.3a.3.3,0,0,0-.3.3v1.365h-1.367A.306.306,0,0,0,9619.873,6765.347Z" transform="translate(-9380.5 -6095)" fill="#6f9ee0" stroke="rgba(0,0,0,0)" stroke-width="1"/>
5
+ </g>
6
+ </svg>