catchup-library-web 1.12.16 → 1.12.18
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/dist/index.d.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +30 -10
- package/dist/index.mjs +30 -10
- package/package.json +1 -1
- package/src/utilization/DateUtilization.ts +20 -0
package/dist/index.d.mts
CHANGED
|
@@ -594,7 +594,9 @@ declare const constructMonthName: (date: Date) => string;
|
|
|
594
594
|
declare const constructWeekName: (beginDate: Date, endDate: Date, untilSunday: boolean) => string;
|
|
595
595
|
declare const retrieveTimeFilterOptionList: () => {
|
|
596
596
|
text: string;
|
|
597
|
+
title: string;
|
|
597
598
|
value: string;
|
|
599
|
+
id: string;
|
|
598
600
|
}[];
|
|
599
601
|
|
|
600
602
|
declare const calculateLevenshteinDistance: (s: any, t: any) => any;
|
package/dist/index.d.ts
CHANGED
|
@@ -594,7 +594,9 @@ declare const constructMonthName: (date: Date) => string;
|
|
|
594
594
|
declare const constructWeekName: (beginDate: Date, endDate: Date, untilSunday: boolean) => string;
|
|
595
595
|
declare const retrieveTimeFilterOptionList: () => {
|
|
596
596
|
text: string;
|
|
597
|
+
title: string;
|
|
597
598
|
value: string;
|
|
599
|
+
id: string;
|
|
598
600
|
}[];
|
|
599
601
|
|
|
600
602
|
declare const calculateLevenshteinDistance: (s: any, t: any) => any;
|
package/dist/index.js
CHANGED
|
@@ -9042,43 +9042,63 @@ var retrieveTimeFilterOptionList = () => {
|
|
|
9042
9042
|
return [
|
|
9043
9043
|
{
|
|
9044
9044
|
text: i18n_default.t("all_time"),
|
|
9045
|
-
|
|
9045
|
+
title: i18n_default.t("all_time"),
|
|
9046
|
+
value: "all",
|
|
9047
|
+
id: "all"
|
|
9046
9048
|
},
|
|
9047
9049
|
{
|
|
9048
9050
|
text: i18n_default.t("today"),
|
|
9049
|
-
|
|
9051
|
+
title: i18n_default.t("today"),
|
|
9052
|
+
value: "today",
|
|
9053
|
+
id: "today"
|
|
9050
9054
|
},
|
|
9051
9055
|
{
|
|
9052
9056
|
text: i18n_default.t("yesterday"),
|
|
9053
|
-
|
|
9057
|
+
title: i18n_default.t("yesterday"),
|
|
9058
|
+
value: "yesterday",
|
|
9059
|
+
id: "yesterday"
|
|
9054
9060
|
},
|
|
9055
9061
|
{
|
|
9056
9062
|
text: i18n_default.t("this_week"),
|
|
9057
|
-
|
|
9063
|
+
title: i18n_default.t("this_week"),
|
|
9064
|
+
value: "this_week",
|
|
9065
|
+
id: "this_week"
|
|
9058
9066
|
},
|
|
9059
9067
|
{
|
|
9060
9068
|
text: i18n_default.t("last_week"),
|
|
9061
|
-
|
|
9069
|
+
title: i18n_default.t("last_week"),
|
|
9070
|
+
value: "last_week",
|
|
9071
|
+
id: "last_week"
|
|
9062
9072
|
},
|
|
9063
9073
|
{
|
|
9064
9074
|
text: i18n_default.t("this_month"),
|
|
9065
|
-
|
|
9075
|
+
title: i18n_default.t("this_month"),
|
|
9076
|
+
value: "this_month",
|
|
9077
|
+
id: "this_month"
|
|
9066
9078
|
},
|
|
9067
9079
|
{
|
|
9068
9080
|
text: i18n_default.t("last_month"),
|
|
9069
|
-
|
|
9081
|
+
title: i18n_default.t("last_month"),
|
|
9082
|
+
value: "last_month",
|
|
9083
|
+
id: "last_month"
|
|
9070
9084
|
},
|
|
9071
9085
|
{
|
|
9072
9086
|
text: i18n_default.t("last_7_days"),
|
|
9073
|
-
|
|
9087
|
+
title: i18n_default.t("last_7_days"),
|
|
9088
|
+
value: "last_7_days",
|
|
9089
|
+
id: "last_7_days"
|
|
9074
9090
|
},
|
|
9075
9091
|
{
|
|
9076
9092
|
text: i18n_default.t("last_30_days"),
|
|
9077
|
-
|
|
9093
|
+
title: i18n_default.t("last_30_days"),
|
|
9094
|
+
value: "last_30_days",
|
|
9095
|
+
id: "last_30_days"
|
|
9078
9096
|
},
|
|
9079
9097
|
{
|
|
9080
9098
|
text: i18n_default.t("last_90_days"),
|
|
9081
|
-
|
|
9099
|
+
title: i18n_default.t("last_90_days"),
|
|
9100
|
+
value: "last_90_days",
|
|
9101
|
+
id: "last_90_days"
|
|
9082
9102
|
}
|
|
9083
9103
|
];
|
|
9084
9104
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -8835,43 +8835,63 @@ var retrieveTimeFilterOptionList = () => {
|
|
|
8835
8835
|
return [
|
|
8836
8836
|
{
|
|
8837
8837
|
text: i18n_default.t("all_time"),
|
|
8838
|
-
|
|
8838
|
+
title: i18n_default.t("all_time"),
|
|
8839
|
+
value: "all",
|
|
8840
|
+
id: "all"
|
|
8839
8841
|
},
|
|
8840
8842
|
{
|
|
8841
8843
|
text: i18n_default.t("today"),
|
|
8842
|
-
|
|
8844
|
+
title: i18n_default.t("today"),
|
|
8845
|
+
value: "today",
|
|
8846
|
+
id: "today"
|
|
8843
8847
|
},
|
|
8844
8848
|
{
|
|
8845
8849
|
text: i18n_default.t("yesterday"),
|
|
8846
|
-
|
|
8850
|
+
title: i18n_default.t("yesterday"),
|
|
8851
|
+
value: "yesterday",
|
|
8852
|
+
id: "yesterday"
|
|
8847
8853
|
},
|
|
8848
8854
|
{
|
|
8849
8855
|
text: i18n_default.t("this_week"),
|
|
8850
|
-
|
|
8856
|
+
title: i18n_default.t("this_week"),
|
|
8857
|
+
value: "this_week",
|
|
8858
|
+
id: "this_week"
|
|
8851
8859
|
},
|
|
8852
8860
|
{
|
|
8853
8861
|
text: i18n_default.t("last_week"),
|
|
8854
|
-
|
|
8862
|
+
title: i18n_default.t("last_week"),
|
|
8863
|
+
value: "last_week",
|
|
8864
|
+
id: "last_week"
|
|
8855
8865
|
},
|
|
8856
8866
|
{
|
|
8857
8867
|
text: i18n_default.t("this_month"),
|
|
8858
|
-
|
|
8868
|
+
title: i18n_default.t("this_month"),
|
|
8869
|
+
value: "this_month",
|
|
8870
|
+
id: "this_month"
|
|
8859
8871
|
},
|
|
8860
8872
|
{
|
|
8861
8873
|
text: i18n_default.t("last_month"),
|
|
8862
|
-
|
|
8874
|
+
title: i18n_default.t("last_month"),
|
|
8875
|
+
value: "last_month",
|
|
8876
|
+
id: "last_month"
|
|
8863
8877
|
},
|
|
8864
8878
|
{
|
|
8865
8879
|
text: i18n_default.t("last_7_days"),
|
|
8866
|
-
|
|
8880
|
+
title: i18n_default.t("last_7_days"),
|
|
8881
|
+
value: "last_7_days",
|
|
8882
|
+
id: "last_7_days"
|
|
8867
8883
|
},
|
|
8868
8884
|
{
|
|
8869
8885
|
text: i18n_default.t("last_30_days"),
|
|
8870
|
-
|
|
8886
|
+
title: i18n_default.t("last_30_days"),
|
|
8887
|
+
value: "last_30_days",
|
|
8888
|
+
id: "last_30_days"
|
|
8871
8889
|
},
|
|
8872
8890
|
{
|
|
8873
8891
|
text: i18n_default.t("last_90_days"),
|
|
8874
|
-
|
|
8892
|
+
title: i18n_default.t("last_90_days"),
|
|
8893
|
+
value: "last_90_days",
|
|
8894
|
+
id: "last_90_days"
|
|
8875
8895
|
}
|
|
8876
8896
|
];
|
|
8877
8897
|
};
|
package/package.json
CHANGED
|
@@ -128,43 +128,63 @@ export const retrieveTimeFilterOptionList = () => {
|
|
|
128
128
|
return [
|
|
129
129
|
{
|
|
130
130
|
text: i18n.t("all_time"),
|
|
131
|
+
title: i18n.t("all_time"),
|
|
131
132
|
value: "all",
|
|
133
|
+
id: "all",
|
|
132
134
|
},
|
|
133
135
|
{
|
|
134
136
|
text: i18n.t("today"),
|
|
137
|
+
title: i18n.t("today"),
|
|
135
138
|
value: "today",
|
|
139
|
+
id: "today",
|
|
136
140
|
},
|
|
137
141
|
{
|
|
138
142
|
text: i18n.t("yesterday"),
|
|
143
|
+
title: i18n.t("yesterday"),
|
|
139
144
|
value: "yesterday",
|
|
145
|
+
id: "yesterday",
|
|
140
146
|
},
|
|
141
147
|
{
|
|
142
148
|
text: i18n.t("this_week"),
|
|
149
|
+
title: i18n.t("this_week"),
|
|
143
150
|
value: "this_week",
|
|
151
|
+
id: "this_week",
|
|
144
152
|
},
|
|
145
153
|
{
|
|
146
154
|
text: i18n.t("last_week"),
|
|
155
|
+
title: i18n.t("last_week"),
|
|
147
156
|
value: "last_week",
|
|
157
|
+
id: "last_week",
|
|
148
158
|
},
|
|
149
159
|
{
|
|
150
160
|
text: i18n.t("this_month"),
|
|
161
|
+
title: i18n.t("this_month"),
|
|
151
162
|
value: "this_month",
|
|
163
|
+
id: "this_month",
|
|
152
164
|
},
|
|
153
165
|
{
|
|
154
166
|
text: i18n.t("last_month"),
|
|
167
|
+
title: i18n.t("last_month"),
|
|
155
168
|
value: "last_month",
|
|
169
|
+
id: "last_month",
|
|
156
170
|
},
|
|
157
171
|
{
|
|
158
172
|
text: i18n.t("last_7_days"),
|
|
173
|
+
title: i18n.t("last_7_days"),
|
|
159
174
|
value: "last_7_days",
|
|
175
|
+
id: "last_7_days",
|
|
160
176
|
},
|
|
161
177
|
{
|
|
162
178
|
text: i18n.t("last_30_days"),
|
|
179
|
+
title: i18n.t("last_30_days"),
|
|
163
180
|
value: "last_30_days",
|
|
181
|
+
id: "last_30_days",
|
|
164
182
|
},
|
|
165
183
|
{
|
|
166
184
|
text: i18n.t("last_90_days"),
|
|
185
|
+
title: i18n.t("last_90_days"),
|
|
167
186
|
value: "last_90_days",
|
|
187
|
+
id: "last_90_days",
|
|
168
188
|
},
|
|
169
189
|
];
|
|
170
190
|
};
|