@shefing/quickfilter 1.0.13 → 1.0.17
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/LICENSE +201 -0
- package/README.md +53 -421
- package/dist/QuickFilter.d.ts.map +1 -1
- package/dist/QuickFilter.js +8 -1
- package/dist/QuickFilter.js.map +1 -1
- package/dist/filters/constants/date-filter-options.d.ts +2 -2
- package/dist/filters/constants/date-filter-options.d.ts.map +1 -1
- package/dist/filters/constants/date-filter-options.js +6 -2
- package/dist/filters/constants/date-filter-options.js.map +1 -1
- package/dist/filters/utils/date-helpers.d.ts.map +1 -1
- package/dist/filters/utils/date-helpers.js +30 -2
- package/dist/filters/utils/date-helpers.js.map +1 -1
- package/dist/labels.d.ts +72 -24
- package/dist/labels.d.ts.map +1 -1
- package/dist/labels.js +36 -12
- package/dist/labels.js.map +1 -1
- package/package.json +42 -35
package/dist/labels.js
CHANGED
|
@@ -30,10 +30,14 @@ export const PLUGIN_LABELS = {
|
|
|
30
30
|
yesterday: 'Yesterday',
|
|
31
31
|
lastWeek: 'Last Week',
|
|
32
32
|
lastMonth: 'Last Month',
|
|
33
|
+
last7Days: 'Last 7 Days',
|
|
34
|
+
last30Days: 'Last 30 Days',
|
|
33
35
|
allPast: 'All Past',
|
|
34
36
|
today: 'Today',
|
|
35
|
-
|
|
36
|
-
|
|
37
|
+
thisWeek: 'This Week',
|
|
38
|
+
thisMonth: 'This Month',
|
|
39
|
+
next7Days: 'Next 7 Days',
|
|
40
|
+
next30Days: 'Next 30 Days',
|
|
37
41
|
allFuture: 'All Future'
|
|
38
42
|
},
|
|
39
43
|
ar: {
|
|
@@ -57,10 +61,14 @@ export const PLUGIN_LABELS = {
|
|
|
57
61
|
yesterday: 'أمس',
|
|
58
62
|
lastWeek: 'الأسبوع الماضي',
|
|
59
63
|
lastMonth: 'الشهر الماضي',
|
|
64
|
+
last7Days: 'آخر 7 أيام',
|
|
65
|
+
last30Days: 'آخر 30 يومًا',
|
|
60
66
|
allPast: 'كل الماضي',
|
|
61
67
|
today: 'اليوم',
|
|
62
|
-
|
|
63
|
-
|
|
68
|
+
thisWeek: 'هذا الأسبوع',
|
|
69
|
+
thisMonth: 'هذا الشهر',
|
|
70
|
+
next7Days: 'الـ 7 أيام القادمة',
|
|
71
|
+
next30Days: 'الـ 30 يومًا القادمة',
|
|
64
72
|
allFuture: 'كل المستقبل'
|
|
65
73
|
},
|
|
66
74
|
fr: {
|
|
@@ -84,10 +92,14 @@ export const PLUGIN_LABELS = {
|
|
|
84
92
|
yesterday: 'Hier',
|
|
85
93
|
lastWeek: 'Semaine dernière',
|
|
86
94
|
lastMonth: 'Mois dernier',
|
|
95
|
+
last7Days: '7 derniers jours',
|
|
96
|
+
last30Days: '30 derniers jours',
|
|
87
97
|
allPast: 'Tout le passé',
|
|
88
98
|
today: 'Aujourd’hui',
|
|
89
|
-
|
|
90
|
-
|
|
99
|
+
thisWeek: 'Cette semaine',
|
|
100
|
+
thisMonth: 'Ce mois',
|
|
101
|
+
next7Days: '7 prochains jours',
|
|
102
|
+
next30Days: '30 prochains jours',
|
|
91
103
|
allFuture: 'Tout le futur'
|
|
92
104
|
},
|
|
93
105
|
es: {
|
|
@@ -111,10 +123,14 @@ export const PLUGIN_LABELS = {
|
|
|
111
123
|
yesterday: 'Ayer',
|
|
112
124
|
lastWeek: 'Semana pasada',
|
|
113
125
|
lastMonth: 'Mes pasado',
|
|
126
|
+
last7Days: 'Últimos 7 días',
|
|
127
|
+
last30Days: 'Últimos 30 días',
|
|
114
128
|
allPast: 'Todo el pasado',
|
|
115
129
|
today: 'Hoy',
|
|
116
|
-
|
|
117
|
-
|
|
130
|
+
thisWeek: 'Esta semana',
|
|
131
|
+
thisMonth: 'Este mes',
|
|
132
|
+
next7Days: 'Próximos 7 días',
|
|
133
|
+
next30Days: 'Próximos 30 días',
|
|
118
134
|
allFuture: 'Todo el futuro'
|
|
119
135
|
},
|
|
120
136
|
zh: {
|
|
@@ -138,10 +154,14 @@ export const PLUGIN_LABELS = {
|
|
|
138
154
|
yesterday: '昨天',
|
|
139
155
|
lastWeek: '上周',
|
|
140
156
|
lastMonth: '上个月',
|
|
157
|
+
last7Days: '过去7天',
|
|
158
|
+
last30Days: '过去30天',
|
|
141
159
|
allPast: '所有过去',
|
|
142
160
|
today: '今天',
|
|
143
|
-
|
|
144
|
-
|
|
161
|
+
thisWeek: '本周',
|
|
162
|
+
thisMonth: '本月',
|
|
163
|
+
next7Days: '未来7天',
|
|
164
|
+
next30Days: '未来30天',
|
|
145
165
|
allFuture: '所有未来'
|
|
146
166
|
},
|
|
147
167
|
he: {
|
|
@@ -165,10 +185,14 @@ export const PLUGIN_LABELS = {
|
|
|
165
185
|
yesterday: 'אתמול',
|
|
166
186
|
lastWeek: 'שבוע שעבר',
|
|
167
187
|
lastMonth: 'חודש שעבר',
|
|
188
|
+
last7Days: '7 ימים אחרונים',
|
|
189
|
+
last30Days: '30 ימים אחרונים',
|
|
168
190
|
allPast: 'בעבר',
|
|
169
191
|
today: 'היום',
|
|
170
|
-
|
|
171
|
-
|
|
192
|
+
thisWeek: 'השבוע',
|
|
193
|
+
thisMonth: 'החודש',
|
|
194
|
+
next7Days: '7 ימים הבאים',
|
|
195
|
+
next30Days: '30 ימים הבאים',
|
|
172
196
|
allFuture: 'בעתיד'
|
|
173
197
|
}
|
|
174
198
|
};
|
package/dist/labels.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/labels.ts"],"sourcesContent":["// Centralized labels for the quickfilter plugin\n\n// List of all accepted languages in the system - only those defined in PLUGIN_LABELS\nexport const acceptedLanguages = ['ar', 'en', 'es', 'fr', 'he', 'zh'];\n\nexport const PLUGIN_LABELS = {\n en: {\n quickFilters: 'Quick Filters',\n clearFilters: 'Clear Filters',\n activeFilterSingular: 'Active filter on column',\n activeFilterPlural: 'Active filters on columns',\n custom: 'Custom',\n all: 'All',\n yes: 'Yes',\n no: 'No',\n selectOption: 'Select Option',\n from: 'From',\n to: 'To',\n selectDate: 'Select Date',\n past: 'Past',\n future: 'Future',\n customRange: 'Custom Range',\n apply: 'Apply',\n cancel: 'Cancel',\n yesterday: 'Yesterday',\n lastWeek: 'Last Week',\n lastMonth: 'Last Month',\n allPast: 'All Past',\n today: 'Today',\n
|
|
1
|
+
{"version":3,"sources":["../src/labels.ts"],"sourcesContent":["// Centralized labels for the quickfilter plugin\n\n// List of all accepted languages in the system - only those defined in PLUGIN_LABELS\nexport const acceptedLanguages = ['ar', 'en', 'es', 'fr', 'he', 'zh'];\n\nexport const PLUGIN_LABELS = {\n en: {\n quickFilters: 'Quick Filters',\n clearFilters: 'Clear Filters',\n activeFilterSingular: 'Active filter on column',\n activeFilterPlural: 'Active filters on columns',\n custom: 'Custom',\n all: 'All',\n yes: 'Yes',\n no: 'No',\n selectOption: 'Select Option',\n from: 'From',\n to: 'To',\n selectDate: 'Select Date',\n past: 'Past',\n future: 'Future',\n customRange: 'Custom Range',\n apply: 'Apply',\n cancel: 'Cancel',\n yesterday: 'Yesterday',\n lastWeek: 'Last Week',\n lastMonth: 'Last Month',\n last7Days: 'Last 7 Days',\n last30Days: 'Last 30 Days',\n allPast: 'All Past',\n today: 'Today',\n thisWeek: 'This Week',\n thisMonth: 'This Month',\n next7Days: 'Next 7 Days',\n next30Days: 'Next 30 Days',\n allFuture: 'All Future',\n },\n ar: {\n quickFilters: 'فلاتر سريعة',\n clearFilters: 'مسح الفلاتر',\n activeFilterSingular: 'فلتر نشط على العمود',\n activeFilterPlural: 'فلاتر نشطة على الأعمدة',\n custom: 'مخصص',\n all: 'الكل',\n yes: 'نعم',\n no: 'لا',\n selectOption: 'اختر خيارًا',\n from: 'من',\n to: 'إلى',\n selectDate: 'اختر التاريخ',\n past: 'الماضي',\n future: 'المستقبل',\n customRange: 'نطاق مخصص',\n apply: 'تطبيق',\n cancel: 'إلغاء',\n yesterday: 'أمس',\n lastWeek: 'الأسبوع الماضي',\n lastMonth: 'الشهر الماضي',\n last7Days: 'آخر 7 أيام',\n last30Days: 'آخر 30 يومًا',\n allPast: 'كل الماضي',\n today: 'اليوم',\n thisWeek: 'هذا الأسبوع',\n thisMonth: 'هذا الشهر',\n next7Days: 'الـ 7 أيام القادمة',\n next30Days: 'الـ 30 يومًا القادمة',\n allFuture: 'كل المستقبل',\n },\n fr: {\n quickFilters: 'Filtres rapides',\n clearFilters: 'Effacer les filtres',\n activeFilterSingular: 'Filtre actif sur la colonne',\n activeFilterPlural: 'Filtres actifs sur les colonnes',\n custom: 'Personnalisé',\n all: 'Tous',\n yes: 'Oui',\n no: 'Non',\n selectOption: 'Sélectionner une option',\n from: 'De',\n to: 'À',\n selectDate: 'Sélectionner une date',\n past: 'Passé',\n future: 'Futur',\n customRange: 'Plage personnalisée',\n apply: 'Appliquer',\n cancel: 'Annuler',\n yesterday: 'Hier',\n lastWeek: 'Semaine dernière',\n lastMonth: 'Mois dernier',\n last7Days: '7 derniers jours',\n last30Days: '30 derniers jours',\n allPast: 'Tout le passé',\n today: 'Aujourd’hui',\n thisWeek: 'Cette semaine',\n thisMonth: 'Ce mois',\n next7Days: '7 prochains jours',\n next30Days: '30 prochains jours',\n allFuture: 'Tout le futur',\n },\n es: {\n quickFilters: 'Filtros rápidos',\n clearFilters: 'Borrar filtros',\n activeFilterSingular: 'Filtro activo en la columna',\n activeFilterPlural: 'Filtros activos en las columnas',\n custom: 'Personalizado',\n all: 'Todos',\n yes: 'Sí',\n no: 'No',\n selectOption: 'Seleccionar opción',\n from: 'Desde',\n to: 'Hasta',\n selectDate: 'Seleccionar fecha',\n past: 'Pasado',\n future: 'Futuro',\n customRange: 'Rango personalizado',\n apply: 'Aplicar',\n cancel: 'Cancelar',\n yesterday: 'Ayer',\n lastWeek: 'Semana pasada',\n lastMonth: 'Mes pasado',\n last7Days: 'Últimos 7 días',\n last30Days: 'Últimos 30 días',\n allPast: 'Todo el pasado',\n today: 'Hoy',\n thisWeek: 'Esta semana',\n thisMonth: 'Este mes',\n next7Days: 'Próximos 7 días',\n next30Days: 'Próximos 30 días',\n allFuture: 'Todo el futuro',\n },\n zh: {\n quickFilters: '快速筛选',\n clearFilters: '清除筛选',\n activeFilterSingular: '列上激活的筛选',\n activeFilterPlural: '多列上激活的筛选',\n custom: '自定义',\n all: '全部',\n yes: '是',\n no: '否',\n selectOption: '选择选项',\n from: '从',\n to: '到',\n selectDate: '选择日期',\n past: '过去',\n future: '未来',\n customRange: '自定义范围',\n apply: '应用',\n cancel: '取消',\n yesterday: '昨天',\n lastWeek: '上周',\n lastMonth: '上个月',\n last7Days: '过去7天',\n last30Days: '过去30天',\n allPast: '所有过去',\n today: '今天',\n thisWeek: '本周',\n thisMonth: '本月',\n next7Days: '未来7天',\n next30Days: '未来30天',\n allFuture: '所有未来',\n },\n he: {\n quickFilters: 'סינון מהיר',\n clearFilters: 'נקה סינון',\n activeFilterSingular: 'סינון פעיל בעמודה',\n activeFilterPlural: 'סינון פעיל בעמודות',\n custom: 'מותאם אישית',\n all: 'הכל',\n yes: 'כן',\n no: 'לא',\n selectOption: 'בחר אפשרות',\n from: 'מתאריך',\n to: 'עד תאריך',\n selectDate: 'בחר תאריך',\n past: 'עבר',\n future: 'עתיד',\n customRange: 'טווח מותאם אישית',\n apply: 'החל',\n cancel: 'ביטול',\n yesterday: 'אתמול',\n lastWeek: 'שבוע שעבר',\n lastMonth: 'חודש שעבר',\n last7Days: '7 ימים אחרונים',\n last30Days: '30 ימים אחרונים',\n allPast: 'בעבר',\n today: 'היום',\n thisWeek: 'השבוע',\n thisMonth: 'החודש',\n next7Days: '7 ימים הבאים',\n next30Days: '30 ימים הבאים',\n allFuture: 'בעתיד',\n },\n // Placeholder for other languages (az, bg, bn-BD, etc.)\n // These can be structured similarly with proper translations\n} as const;\nexport type SupportedLocale = keyof typeof PLUGIN_LABELS;\nexport type LabelKey = keyof typeof PLUGIN_LABELS.en;\n\n// Helper function to get labels for a specific locale\nexport const getLabels = (locale: SupportedLocale = 'en') => {\n return PLUGIN_LABELS[locale] || PLUGIN_LABELS.en;\n};\n\n// Helper function to get a specific label\nexport const getLabel = (key: LabelKey, locale: SupportedLocale = 'en'): string => {\n const labels = getLabels(locale);\n const value = labels[key as keyof typeof labels];\n\n if (typeof value === 'string') {\n return value;\n }\n\n // Fallback to English if not found\n const fallbackLabels = getLabels('en');\n const fallbackValue = fallbackLabels[key];\n\n return typeof fallbackValue === 'string' ? fallbackValue : String(key);\n};\n"],"names":["acceptedLanguages","PLUGIN_LABELS","en","quickFilters","clearFilters","activeFilterSingular","activeFilterPlural","custom","all","yes","no","selectOption","from","to","selectDate","past","future","customRange","apply","cancel","yesterday","lastWeek","lastMonth","last7Days","last30Days","allPast","today","thisWeek","thisMonth","next7Days","next30Days","allFuture","ar","fr","es","zh","he","getLabels","locale","getLabel","key","labels","value","fallbackLabels","fallbackValue","String"],"mappings":"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"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shefing/quickfilter",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.17",
|
|
4
4
|
"private": false,
|
|
5
5
|
"bugs": "https://github.com/shefing/payload-tools/issues",
|
|
6
6
|
"repository": "https://github.com/shefing/payload-tools",
|
|
@@ -23,56 +23,63 @@
|
|
|
23
23
|
"require": "./dist/QuickFilter.js"
|
|
24
24
|
}
|
|
25
25
|
},
|
|
26
|
-
"scripts": {
|
|
27
|
-
"build": "pnpm copyfiles && pnpm build:swc && pnpm build:types",
|
|
28
|
-
"build:swc": "swc ./src -d ./dist --config-file .swcrc",
|
|
29
|
-
"build:types": "tsc --emitDeclarationOnly --outDir dist",
|
|
30
|
-
"clean": "rimraf dist && rimraf tsconfig.tsbuildinfo",
|
|
31
|
-
"copyfiles": "copyfiles -u 1 \"src/**/*.{html,css,scss,ttf,woff,woff2,eot,svg,jpg,png,json}\" dist/",
|
|
32
|
-
"lint": "eslint src",
|
|
33
|
-
"lint:fix": "eslint --fix --ext .ts,.tsx src",
|
|
34
|
-
"prepublishOnly": "pnpm clean && pnpm build",
|
|
35
|
-
"reinstall": "rm -rf node_modules .next && rm -rf .next && rm pnpm-lock.yaml && pnpm install"
|
|
36
|
-
},
|
|
37
26
|
"devDependencies": {
|
|
38
|
-
"payload": "^3.47.0",
|
|
39
|
-
"typescript": "5.7.3",
|
|
40
|
-
"lucide-react": "^0.475.0",
|
|
41
27
|
"@radix-ui/react-slot": "^1.2.3",
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"tailwindcss": "3.4.17",
|
|
45
|
-
"next": "15.3.3",
|
|
46
|
-
"react": "19.0.0",
|
|
28
|
+
"@swc/cli": "^0.1.65",
|
|
29
|
+
"@swc/core": "^1.6.3",
|
|
47
30
|
"@types/react": "19.0.7",
|
|
48
31
|
"@types/react-dom": "19.0.3",
|
|
49
|
-
"postcss": "^8.5.2"
|
|
50
|
-
},
|
|
51
|
-
"dependencies": {
|
|
52
|
-
"payload": "^3.47.0",
|
|
53
|
-
"typescript": "5.7.3",
|
|
54
|
-
"lucide-react": "^0.475.0",
|
|
55
|
-
"@radix-ui/react-slot": "^1.2.3",
|
|
56
32
|
"class-variance-authority": "^0.7.1",
|
|
57
|
-
"
|
|
33
|
+
"copyfiles": "^2.4.1",
|
|
34
|
+
"lucide-react": "^0.475.0",
|
|
58
35
|
"next": "15.3.3",
|
|
36
|
+
"payload": "^3.47.0",
|
|
37
|
+
"postcss": "^8.5.2",
|
|
59
38
|
"react": "19.0.0",
|
|
60
|
-
"
|
|
61
|
-
"
|
|
39
|
+
"rimraf": "^5.0.5",
|
|
40
|
+
"tailwind-merge": "^3.0.1",
|
|
41
|
+
"tailwindcss": "3.4.17",
|
|
42
|
+
"typescript": "5.7.3"
|
|
43
|
+
},
|
|
44
|
+
"dependencies": {
|
|
62
45
|
"@payloadcms/translations": "^3.47.0",
|
|
63
46
|
"@payloadcms/ui": "^3.47.0",
|
|
47
|
+
"@radix-ui/react-checkbox": "^1.1.4",
|
|
48
|
+
"@radix-ui/react-dialog": "^1.1.6",
|
|
64
49
|
"@radix-ui/react-label": "^2.1.2",
|
|
65
|
-
"react-day-picker": "^9.8.0",
|
|
66
50
|
"@radix-ui/react-popover": "^1.1.6",
|
|
67
51
|
"@radix-ui/react-separator": "^1.1.2",
|
|
52
|
+
"@radix-ui/react-slot": "^1.2.3",
|
|
53
|
+
"@types/lodash": "^4.14.202",
|
|
54
|
+
"@types/react": "19.0.7",
|
|
55
|
+
"@types/react-dom": "19.0.3",
|
|
56
|
+
"class-variance-authority": "^0.7.1",
|
|
57
|
+
"clsx": "^2.1.0",
|
|
68
58
|
"cmdk": "^1.0.4",
|
|
69
|
-
"
|
|
70
|
-
"
|
|
59
|
+
"date-fns": "^3.6.0",
|
|
60
|
+
"lodash": "^4.17.21",
|
|
61
|
+
"lucide-react": "^0.475.0",
|
|
62
|
+
"next": "15.3.3",
|
|
63
|
+
"payload": "^3.47.0",
|
|
64
|
+
"react": "19.0.0",
|
|
65
|
+
"react-day-picker": "^9.8.0",
|
|
66
|
+
"tailwind-merge": "^3.0.1",
|
|
67
|
+
"tailwindcss": "3.4.17",
|
|
71
68
|
"tailwindcss-animate": "^1.0.7",
|
|
72
69
|
"tailwindcss-scoped-preflight": "^3.4.10",
|
|
73
|
-
"
|
|
70
|
+
"typescript": "5.7.3"
|
|
74
71
|
},
|
|
75
72
|
"publishConfig": {
|
|
76
73
|
"access": "public"
|
|
74
|
+
},
|
|
75
|
+
"scripts": {
|
|
76
|
+
"build": "pnpm copyfiles && pnpm build:swc && pnpm build:types",
|
|
77
|
+
"build:swc": "swc ./src -d ./dist --config-file .swcrc",
|
|
78
|
+
"build:types": "tsc --emitDeclarationOnly --outDir dist",
|
|
79
|
+
"clean": "rimraf dist && rimraf tsconfig.tsbuildinfo",
|
|
80
|
+
"copyfiles": "copyfiles -u 1 \"src/**/*.{html,css,scss,ttf,woff,woff2,eot,svg,jpg,png,json}\" dist/",
|
|
81
|
+
"lint": "eslint src",
|
|
82
|
+
"lint:fix": "eslint --fix --ext .ts,.tsx src",
|
|
83
|
+
"reinstall": "rm -rf node_modules .next && rm -rf .next && rm pnpm-lock.yaml && pnpm install"
|
|
77
84
|
}
|
|
78
|
-
}
|
|
85
|
+
}
|