@cqa-lib/cqa-ui 1.0.116 → 1.0.118

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.
@@ -746,10 +746,10 @@ class FullTableLoaderComponent {
746
746
  }
747
747
  }
748
748
  FullTableLoaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FullTableLoaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
749
- FullTableLoaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: FullTableLoaderComponent, selector: "cqa-full-table-loader", inputs: { label: "label" }, host: { classAttribute: "cqa-ui-root" }, ngImport: i0, template: "<div\n class=\"table-loading-overlay cqa-absolute cqa-top-0 cqa-bottom-0 cqa-left-0 cqa-right-0 cqa-w-full cqa-h-full cqa-flex cqa-items-center cqa-justify-center cqa-z-[1000]\">\n <div\n class=\"blur-backdrop cqa-absolute cqa-top-0 cqa-bottom-0 cqa-left-0 cqa-right-0 cqa-bg-white/70 cqa-backdrop-blur-[4px] cqa-z-[1]\">\n </div>\n <div\n class=\"loading-spinner cqa-flex cqa-flex-row cqa-items-center cqa-justify-center cqa-gap-3 cqa-text-center cqa-relative cqa-z-20 cqa-bg-white cqa-py-4 cqa-px-6 cqa-rounded-xl cqa-shadow-lg\">\n <svg class=\"cqa-animate-spin cqa-text-primary\" width=\"32\" height=\"32\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\"\n viewBox=\"0 0 24 24\">\n <circle class=\"cqa-opacity-25\" cx=\"12\" cy=\"12\" r=\"10\" stroke=\"currentColor\" stroke-width=\"4\"></circle>\n <path class=\"cqa-opacity-75\" fill=\"currentColor\"\n d=\"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z\">\n </path>\n </svg>\n <span class=\"cqa-text-primary\">{{ label }}</span>\n </div>\n</div>\n\n\n" });
749
+ FullTableLoaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: FullTableLoaderComponent, selector: "cqa-full-table-loader", inputs: { label: "label" }, host: { classAttribute: "cqa-ui-root cqa-full-table-loader" }, ngImport: i0, template: "<div\n class=\"table-loading-overlay cqa-absolute cqa-top-0 cqa-bottom-0 cqa-left-0 cqa-right-0 cqa-w-full cqa-h-full cqa-flex cqa-items-center cqa-justify-center cqa-z-[1000]\">\n <div\n class=\"blur-backdrop cqa-absolute cqa-top-0 cqa-bottom-0 cqa-left-0 cqa-right-0 cqa-bg-white/70 cqa-backdrop-blur-[4px] cqa-z-[1]\">\n </div>\n <div\n class=\"loading-spinner cqa-flex cqa-flex-row cqa-items-center cqa-justify-center cqa-gap-3 cqa-text-center cqa-relative cqa-z-20 cqa-bg-white cqa-py-4 cqa-px-6 cqa-rounded-xl cqa-shadow-lg\">\n <svg class=\"cqa-animate-spin cqa-text-primary\" width=\"32\" height=\"32\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\"\n viewBox=\"0 0 24 24\">\n <circle class=\"cqa-opacity-25\" cx=\"12\" cy=\"12\" r=\"10\" stroke=\"currentColor\" stroke-width=\"4\"></circle>\n <path class=\"cqa-opacity-75\" fill=\"currentColor\"\n d=\"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z\">\n </path>\n </svg>\n <span class=\"cqa-text-primary\">{{ label }}</span>\n </div>\n</div>\n\n\n" });
750
750
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FullTableLoaderComponent, decorators: [{
751
751
  type: Component,
752
- args: [{ selector: 'cqa-full-table-loader', host: { class: 'cqa-ui-root' }, template: "<div\n class=\"table-loading-overlay cqa-absolute cqa-top-0 cqa-bottom-0 cqa-left-0 cqa-right-0 cqa-w-full cqa-h-full cqa-flex cqa-items-center cqa-justify-center cqa-z-[1000]\">\n <div\n class=\"blur-backdrop cqa-absolute cqa-top-0 cqa-bottom-0 cqa-left-0 cqa-right-0 cqa-bg-white/70 cqa-backdrop-blur-[4px] cqa-z-[1]\">\n </div>\n <div\n class=\"loading-spinner cqa-flex cqa-flex-row cqa-items-center cqa-justify-center cqa-gap-3 cqa-text-center cqa-relative cqa-z-20 cqa-bg-white cqa-py-4 cqa-px-6 cqa-rounded-xl cqa-shadow-lg\">\n <svg class=\"cqa-animate-spin cqa-text-primary\" width=\"32\" height=\"32\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\"\n viewBox=\"0 0 24 24\">\n <circle class=\"cqa-opacity-25\" cx=\"12\" cy=\"12\" r=\"10\" stroke=\"currentColor\" stroke-width=\"4\"></circle>\n <path class=\"cqa-opacity-75\" fill=\"currentColor\"\n d=\"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z\">\n </path>\n </svg>\n <span class=\"cqa-text-primary\">{{ label }}</span>\n </div>\n</div>\n\n\n", styles: [] }]
752
+ args: [{ selector: 'cqa-full-table-loader', host: { class: 'cqa-ui-root cqa-full-table-loader' }, template: "<div\n class=\"table-loading-overlay cqa-absolute cqa-top-0 cqa-bottom-0 cqa-left-0 cqa-right-0 cqa-w-full cqa-h-full cqa-flex cqa-items-center cqa-justify-center cqa-z-[1000]\">\n <div\n class=\"blur-backdrop cqa-absolute cqa-top-0 cqa-bottom-0 cqa-left-0 cqa-right-0 cqa-bg-white/70 cqa-backdrop-blur-[4px] cqa-z-[1]\">\n </div>\n <div\n class=\"loading-spinner cqa-flex cqa-flex-row cqa-items-center cqa-justify-center cqa-gap-3 cqa-text-center cqa-relative cqa-z-20 cqa-bg-white cqa-py-4 cqa-px-6 cqa-rounded-xl cqa-shadow-lg\">\n <svg class=\"cqa-animate-spin cqa-text-primary\" width=\"32\" height=\"32\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\"\n viewBox=\"0 0 24 24\">\n <circle class=\"cqa-opacity-25\" cx=\"12\" cy=\"12\" r=\"10\" stroke=\"currentColor\" stroke-width=\"4\"></circle>\n <path class=\"cqa-opacity-75\" fill=\"currentColor\"\n d=\"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z\">\n </path>\n </svg>\n <span class=\"cqa-text-primary\">{{ label }}</span>\n </div>\n</div>\n\n\n", styles: [] }]
753
753
  }], propDecorators: { label: [{
754
754
  type: Input
755
755
  }] } });
@@ -2864,11 +2864,6 @@ class DynamicFilterComponent {
2864
2864
  start.setDate(start.getDate() - 89);
2865
2865
  return { start, end: today };
2866
2866
  }
2867
- case 'last3months': {
2868
- // Start from the first day of the month two months ago (covers current + previous 2 months).
2869
- const start = new Date(today.getFullYear(), today.getMonth() - 2, 1);
2870
- return { start, end: today };
2871
- }
2872
2867
  case 'thismonth': {
2873
2868
  const start = new Date(today.getFullYear(), today.getMonth(), 1);
2874
2869
  return { start, end: today };
@@ -2892,7 +2887,6 @@ class DynamicFilterComponent {
2892
2887
  last30Start.setDate(last30Start.getDate() - 29);
2893
2888
  const last90Start = new Date();
2894
2889
  last90Start.setDate(last90Start.getDate() - 89);
2895
- const last3MonthsStart = this.startOfMonth(today.getFullYear(), today.getMonth() - 2);
2896
2890
  const thisMonthStart = this.startOfMonth(today.getFullYear(), today.getMonth());
2897
2891
  const lastMonthStart = this.startOfMonth(today.getFullYear(), today.getMonth() - 1);
2898
2892
  const lastMonthEnd = this.endOfMonth(today.getFullYear(), today.getMonth() - 1);
@@ -2901,7 +2895,6 @@ class DynamicFilterComponent {
2901
2895
  'Last 7 Days': [this.startOfDay(last7Start), this.endOfDay(today)],
2902
2896
  'Last 30 Days': [this.startOfDay(last30Start), this.endOfDay(today)],
2903
2897
  'Last 90 Days': [this.startOfDay(last90Start), this.endOfDay(today)],
2904
- 'Last 3 Months': [this.startOfDay(last3MonthsStart), this.endOfDay(today)],
2905
2898
  'This Month': [this.startOfDay(thisMonthStart), this.endOfDay(today)],
2906
2899
  'Last Month': [this.startOfDay(lastMonthStart), this.endOfDay(lastMonthEnd)],
2907
2900
  };
@@ -2933,7 +2926,6 @@ class DynamicFilterComponent {
2933
2926
  const last7Preset = this.getPresetDates('last7days');
2934
2927
  const last30Preset = this.getPresetDates('last30days');
2935
2928
  const last90Preset = this.getPresetDates('last90days');
2936
- const last3MonthsPreset = this.getPresetDates('last3months');
2937
2929
  const thisMonthPreset = this.getPresetDates('thismonth');
2938
2930
  const lastMonthPreset = this.getPresetDates('lastmonth');
2939
2931
  return {
@@ -2941,7 +2933,6 @@ class DynamicFilterComponent {
2941
2933
  'Last 7 Days': [last7Preset.start, this.endOfDay(last7Preset.end)],
2942
2934
  'Last 30 Days': [last30Preset.start, this.endOfDay(last30Preset.end)],
2943
2935
  'Last 90 Days': [last90Preset.start, this.endOfDay(last90Preset.end)],
2944
- 'Last 3 Months': [last3MonthsPreset.start, this.endOfDay(last3MonthsPreset.end)],
2945
2936
  'This Month': [thisMonthPreset.start, this.endOfDay(thisMonthPreset.end)],
2946
2937
  'Last Month': [lastMonthPreset.start, this.endOfDay(lastMonthPreset.end)]
2947
2938
  };