primekit 1.0.12 → 1.0.13

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 (50) hide show
  1. package/README.md +25 -25
  2. package/esm2022/lib/lib/atomix-alert/atomix-alert.component.mjs +3 -3
  3. package/esm2022/lib/lib/atomix-autocomplete/atomix-autocomplete.component.mjs +3 -3
  4. package/esm2022/lib/lib/atomix-button/atomix-button.component.mjs +3 -3
  5. package/esm2022/lib/lib/atomix-button/atomix-button.models.mjs +1 -1
  6. package/esm2022/lib/lib/atomix-calendar/atomix-calendar.component.mjs +3 -3
  7. package/esm2022/lib/lib/atomix-card/atomix-card.component.mjs +3 -3
  8. package/esm2022/lib/lib/atomix-confirmation-dialog/atomix-confirmation-dialog.component.mjs +3 -3
  9. package/esm2022/lib/lib/atomix-daterange-calendar/atomix-daterange-calendar.component.mjs +47 -4
  10. package/esm2022/lib/lib/atomix-divider/atomix-divider.component.mjs +3 -3
  11. package/esm2022/lib/lib/atomix-dropdown/atomix-dropdown.component.mjs +3 -3
  12. package/esm2022/lib/lib/atomix-dynamic-dialog/atomix-dynamic-dialog.component.mjs +1 -1
  13. package/esm2022/lib/lib/atomix-dynamic-dialog/atomix-dynamic-dialog.models.mjs +1 -1
  14. package/esm2022/lib/lib/atomix-form/atomix-form-autocomplete/atomix-form-autocomplete.component.mjs +3 -3
  15. package/esm2022/lib/lib/atomix-form/atomix-form-calendar/atomix-form-calendar.component.mjs +3 -3
  16. package/esm2022/lib/lib/atomix-form/atomix-form-checkbox/atomix-form-checkbox.component.mjs +3 -3
  17. package/esm2022/lib/lib/atomix-form/atomix-form-chips/atomix-form-chips.component.mjs +3 -3
  18. package/esm2022/lib/lib/atomix-form/atomix-form-chips/form.chips.models.mjs +1 -1
  19. package/esm2022/lib/lib/atomix-form/atomix-form-dropdown/atomix-form-dropdown.component.mjs +3 -3
  20. package/esm2022/lib/lib/atomix-form/atomix-form-input-component/atomix-form-input-component.component.mjs +3 -3
  21. package/esm2022/lib/lib/atomix-form/atomix-form-inputmask-component/atomix-form-inputmask-component.component.mjs +3 -3
  22. package/esm2022/lib/lib/atomix-form/atomix-form-password-component/atomix-form-password-component.component.mjs +3 -3
  23. package/esm2022/lib/lib/atomix-form/atomix-form-radio-button/atomix-radio-button.component.mjs +3 -3
  24. package/esm2022/lib/lib/atomix-form/atomix-form-textarea/atomix-form-textarea.component.mjs +3 -3
  25. package/esm2022/lib/lib/atomix-input/atomix-input.component.mjs +3 -3
  26. package/esm2022/lib/lib/atomix-input-switch/atomix-input-switch.component.mjs +3 -3
  27. package/esm2022/lib/lib/atomix-loading-overlay/atomix-loading-overlay.component.mjs +3 -3
  28. package/esm2022/lib/lib/atomix-messages/messages.component.mjs +3 -3
  29. package/esm2022/lib/lib/atomix-pagination/atomix-pagination.component.mjs +3 -3
  30. package/esm2022/lib/lib/atomix-radio-button/atomix-radio-button.component.mjs +3 -3
  31. package/esm2022/lib/lib/atomix-search-dropdown/atomix-search-dropdown.component.mjs +3 -3
  32. package/esm2022/lib/lib/atomix-select-button/atomix-select-button-models.mjs +1 -1
  33. package/esm2022/lib/lib/atomix-select-button/atomix-select-button.component.mjs +3 -3
  34. package/esm2022/lib/lib/atomix-snackbar/atomix-snackbar.component.mjs +3 -3
  35. package/esm2022/lib/lib/atomix-spinner/atomix-spinner.component.mjs +3 -3
  36. package/esm2022/lib/lib/atomix-steps/atomix-steps.component.mjs +3 -3
  37. package/esm2022/lib/lib/atomix-tabMenu/atomix-tabMenu.component.mjs +3 -3
  38. package/esm2022/lib/lib/atomix-table/atomix-table.component.mjs +3 -3
  39. package/esm2022/lib/lib/atomix-table/atomix-table.models.mjs +1 -1
  40. package/esm2022/lib/lib/atomix-tag/atomix-tag.component.mjs +3 -3
  41. package/esm2022/lib/lib/utils/prime-icons.util.mjs +1 -1
  42. package/esm2022/lib/primekit.component.mjs +1 -1
  43. package/esm2022/lib/primekit.module.mjs +1 -1
  44. package/esm2022/lib/primekit.service.mjs +1 -1
  45. package/esm2022/public-api.mjs +1 -1
  46. package/fesm2022/primekit.mjs +110 -67
  47. package/fesm2022/primekit.mjs.map +1 -1
  48. package/lib/lib/atomix-daterange-calendar/atomix-daterange-calendar.component.d.ts +8 -1
  49. package/package.json +1 -1
  50. package/src/assets/images/empty-table.svg +25 -25
@@ -16,6 +16,12 @@ export declare class AtomixDaterangeCalendarComponent implements OnChanges, OnIn
16
16
  minDate: Date;
17
17
  defaultPreset: 'today' | 'yesterday' | 'last7days' | 'last30days' | 'last3months' | 'last6months' | 'last1year' | null;
18
18
  preservePreset: boolean;
19
+ customPresets: {
20
+ key: string;
21
+ label: string;
22
+ }[];
23
+ selectedCustomPreset: string | null;
24
+ customPresetClick: EventEmitter<string>;
19
25
  customRangeMode: boolean;
20
26
  selectedPreset: string | null;
21
27
  overlayPanel?: OverlayPanel;
@@ -56,6 +62,7 @@ export declare class AtomixDaterangeCalendarComponent implements OnChanges, OnIn
56
62
  toggleCustomRange(): void;
57
63
  applyCustomRange(): void;
58
64
  getDateRangeLabel(): string;
65
+ onCustomPresetClick(key: string): void;
59
66
  applyPreset(preset: 'today' | 'yesterday' | 'last7days' | 'last30days' | 'last3months' | 'last6months' | 'last1year'): void;
60
67
  onDateRangeChange(dateRange: Date[] | null): void;
61
68
  ngOnDestroy(): void;
@@ -68,5 +75,5 @@ export declare class AtomixDaterangeCalendarComponent implements OnChanges, OnIn
68
75
  private _cancelScheduledUpdate;
69
76
  private _getCalendarElements;
70
77
  static ɵfac: i0.ɵɵFactoryDeclaration<AtomixDaterangeCalendarComponent, never>;
71
- static ɵcmp: i0.ɵɵComponentDeclaration<AtomixDaterangeCalendarComponent, "atomix-daterange-calendar", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "styleClass": { "alias": "styleClass"; "required": false; }; "selectionMode": { "alias": "selectionMode"; "required": false; }; "inputStyleClass": { "alias": "inputStyleClass"; "required": false; }; "inline": { "alias": "inline"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "selectedDate": { "alias": "selectedDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "defaultPreset": { "alias": "defaultPreset"; "required": false; }; "preservePreset": { "alias": "preservePreset"; "required": false; }; }, { "dateRangeChange": "dateRangeChange"; }, never, never, false, never>;
78
+ static ɵcmp: i0.ɵɵComponentDeclaration<AtomixDaterangeCalendarComponent, "atomix-daterange-calendar", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "styleClass": { "alias": "styleClass"; "required": false; }; "selectionMode": { "alias": "selectionMode"; "required": false; }; "inputStyleClass": { "alias": "inputStyleClass"; "required": false; }; "inline": { "alias": "inline"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "selectedDate": { "alias": "selectedDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "defaultPreset": { "alias": "defaultPreset"; "required": false; }; "preservePreset": { "alias": "preservePreset"; "required": false; }; "customPresets": { "alias": "customPresets"; "required": false; }; "selectedCustomPreset": { "alias": "selectedCustomPreset"; "required": false; }; }, { "customPresetClick": "customPresetClick"; "dateRangeChange": "dateRangeChange"; }, never, never, false, never>;
72
79
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "primekit",
3
- "version": "1.0.12",
3
+ "version": "1.0.13",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^18.2.0",
6
6
  "@angular/core": "^18.2.0",
@@ -1,25 +1,25 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <svg width="200px" height="160px" viewBox="0 0 200 160" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
- <title>Empty Table</title>
4
- <defs>
5
- <linearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="linearGradient-1">
6
- <stop stop-color="#E2E8F0" offset="0%"></stop>
7
- <stop stop-color="#CBD5E1" offset="100%"></stop>
8
- </linearGradient>
9
- </defs>
10
- <g id="Empty-Table" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
11
- <rect id="Table-Base" fill="url(#linearGradient-1)" x="20" y="100" width="160" height="20" rx="4"></rect>
12
- <rect id="Table-Top" fill="#F1F5F9" x="30" y="40" width="140" height="60" rx="4"></rect>
13
- <rect id="Table-Shadow" fill="#94A3B8" opacity="0.2" x="20" y="120" width="160" height="6" rx="2"></rect>
14
- <g id="No-Data" transform="translate(50, 55)">
15
- <rect id="Cell-1" fill="#E2E8F0" x="0" y="0" width="100" height="8" rx="2"></rect>
16
- <rect id="Cell-2" fill="#E2E8F0" x="0" y="16" width="100" height="8" rx="2"></rect>
17
- <rect id="Cell-3" fill="#E2E8F0" x="0" y="32" width="60" height="8" rx="2"></rect>
18
- </g>
19
- <g id="Magnifying-Glass" transform="translate(120, 30)">
20
- <circle id="Glass" stroke="#64748B" stroke-width="4" fill="#F8FAFC" cx="15" cy="15" r="15"></circle>
21
- <line x1="26" y1="26" x2="40" y2="40" id="Handle" stroke="#64748B" stroke-width="4" stroke-linecap="round"></line>
22
- <circle id="Reflection" fill="#E2E8F0" cx="10" cy="10" r="4"></circle>
23
- </g>
24
- </g>
25
- </svg>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="200px" height="160px" viewBox="0 0 200 160" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <title>Empty Table</title>
4
+ <defs>
5
+ <linearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="linearGradient-1">
6
+ <stop stop-color="#E2E8F0" offset="0%"></stop>
7
+ <stop stop-color="#CBD5E1" offset="100%"></stop>
8
+ </linearGradient>
9
+ </defs>
10
+ <g id="Empty-Table" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
11
+ <rect id="Table-Base" fill="url(#linearGradient-1)" x="20" y="100" width="160" height="20" rx="4"></rect>
12
+ <rect id="Table-Top" fill="#F1F5F9" x="30" y="40" width="140" height="60" rx="4"></rect>
13
+ <rect id="Table-Shadow" fill="#94A3B8" opacity="0.2" x="20" y="120" width="160" height="6" rx="2"></rect>
14
+ <g id="No-Data" transform="translate(50, 55)">
15
+ <rect id="Cell-1" fill="#E2E8F0" x="0" y="0" width="100" height="8" rx="2"></rect>
16
+ <rect id="Cell-2" fill="#E2E8F0" x="0" y="16" width="100" height="8" rx="2"></rect>
17
+ <rect id="Cell-3" fill="#E2E8F0" x="0" y="32" width="60" height="8" rx="2"></rect>
18
+ </g>
19
+ <g id="Magnifying-Glass" transform="translate(120, 30)">
20
+ <circle id="Glass" stroke="#64748B" stroke-width="4" fill="#F8FAFC" cx="15" cy="15" r="15"></circle>
21
+ <line x1="26" y1="26" x2="40" y2="40" id="Handle" stroke="#64748B" stroke-width="4" stroke-linecap="round"></line>
22
+ <circle id="Reflection" fill="#E2E8F0" cx="10" cy="10" r="4"></circle>
23
+ </g>
24
+ </g>
25
+ </svg>