@vendure/dashboard 3.5.2-master-202512170238 → 3.5.2-master-202512190240
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/plugin/constants.js +21 -2
- package/dist/plugin/dashboard.plugin.js +1 -1
- package/package.json +3 -3
- package/src/app/routeTree.gen.ts +1135 -1072
- package/src/app/routes/_authenticated/_collections/collections.graphql.ts +1 -0
- package/src/app/routes/_authenticated/_collections/collections.tsx +249 -167
- package/src/app/routes/_authenticated/_collections/components/collection-bulk-actions.tsx +8 -0
- package/src/app/routes/_authenticated/_collections/components/move-collections-dialog.tsx +4 -0
- package/src/app/routes/_authenticated/_facets/components/facet-values-sheet.tsx +4 -1
- package/src/app/routes/_authenticated/_facets/components/facet-values-table.tsx +1 -1
- package/src/app/routes/_authenticated/_facets/facets.tsx +22 -38
- package/src/app/routes/_authenticated/_orders/components/order-table-totals.tsx +16 -1
- package/src/app/routes/_authenticated/_product-variants/product-variants.graphql.ts +0 -1
- package/src/app/routes/_authenticated/_product-variants/product-variants_.$id.tsx +2 -2
- package/src/app/routes/_authenticated/_products/products.graphql.ts +5 -0
- package/src/app/routes/_authenticated/_products/products_.$id.tsx +24 -1
- package/src/app/routes/_authenticated/_system/components/payload-dialog.tsx +9 -2
- package/src/app/routes/_authenticated/_system/job-queue.tsx +11 -2
- package/src/app/routes/_authenticated/_tax-rates/tax-rates_.$id.tsx +2 -9
- package/src/app/routes/_authenticated/_zones/zones.tsx +1 -0
- package/src/i18n/locales/ar.po +177 -141
- package/src/i18n/locales/cs.po +177 -141
- package/src/i18n/locales/de.po +177 -141
- package/src/i18n/locales/en.po +177 -141
- package/src/i18n/locales/es.po +177 -141
- package/src/i18n/locales/fa.po +177 -141
- package/src/i18n/locales/fr.po +177 -141
- package/src/i18n/locales/he.po +177 -141
- package/src/i18n/locales/hr.po +177 -141
- package/src/i18n/locales/it.po +177 -141
- package/src/i18n/locales/ja.po +177 -141
- package/src/i18n/locales/nb.po +177 -141
- package/src/i18n/locales/ne.po +177 -141
- package/src/i18n/locales/pl.po +177 -141
- package/src/i18n/locales/pt_BR.po +177 -141
- package/src/i18n/locales/pt_PT.po +177 -141
- package/src/i18n/locales/ru.po +177 -141
- package/src/i18n/locales/sv.po +177 -141
- package/src/i18n/locales/tr.po +177 -141
- package/src/i18n/locales/uk.po +177 -141
- package/src/i18n/locales/zh_Hans.po +177 -141
- package/src/i18n/locales/zh_Hant.po +177 -141
- package/src/lib/components/data-input/number-input.tsx +24 -5
- package/src/lib/components/data-table/data-table-context.tsx +18 -3
- package/src/lib/components/data-table/data-table-utils.ts +241 -1
- package/src/lib/components/data-table/data-table.tsx +189 -60
- package/src/lib/components/data-table/global-views-bar.tsx +1 -1
- package/src/lib/components/data-table/save-view-dialog.tsx +21 -0
- package/src/lib/components/data-table/use-generated-columns.tsx +56 -24
- package/src/lib/components/data-table/views-sheet.tsx +1 -1
- package/src/lib/components/layout/channel-switcher.tsx +7 -5
- package/src/lib/components/layout/nav-main.tsx +2 -2
- package/src/lib/components/shared/alerts.tsx +3 -1
- package/src/lib/components/shared/assign-to-channel-bulk-action.tsx +10 -10
- package/src/lib/components/shared/assign-to-channel-dialog.tsx +1 -1
- package/src/lib/components/shared/assigned-channels.tsx +108 -0
- package/src/lib/components/shared/assigned-facet-values.tsx +5 -7
- package/src/lib/components/shared/channel-chip.tsx +43 -0
- package/src/lib/components/shared/paginated-list-data-table.tsx +19 -0
- package/src/lib/components/ui/alert.tsx +1 -1
- package/src/lib/components/ui/dropdown-menu.tsx +4 -1
- package/src/lib/components/ui/sidebar.tsx +2 -1
- package/src/lib/framework/page/list-page.tsx +62 -38
- package/src/lib/hooks/use-drag-and-drop.ts +86 -0
- package/src/lib/hooks/use-saved-views.ts +1 -0
- package/src/lib/providers/channel-provider.tsx +7 -1
- package/src/lib/types/saved-views.ts +3 -0
package/dist/plugin/constants.js
CHANGED
|
@@ -7,6 +7,25 @@ exports.DEFAULT_APP_PATH = (0, path_1.join)(__dirname, 'dist');
|
|
|
7
7
|
exports.loggerCtx = 'DashboardPlugin';
|
|
8
8
|
exports.defaultLanguage = 'en';
|
|
9
9
|
exports.defaultLocale = undefined;
|
|
10
|
-
exports.defaultAvailableLanguages = [
|
|
11
|
-
|
|
10
|
+
exports.defaultAvailableLanguages = [
|
|
11
|
+
'en',
|
|
12
|
+
'de',
|
|
13
|
+
'es',
|
|
14
|
+
'cs',
|
|
15
|
+
'zh_Hans',
|
|
16
|
+
'pt_BR',
|
|
17
|
+
'pt_PT',
|
|
18
|
+
'zh_Hant',
|
|
19
|
+
'bg',
|
|
20
|
+
];
|
|
21
|
+
exports.defaultAvailableLocales = [
|
|
22
|
+
'en-US',
|
|
23
|
+
'de-DE',
|
|
24
|
+
'es-ES',
|
|
25
|
+
'zh-CN',
|
|
26
|
+
'zh-TW',
|
|
27
|
+
'pt-BR',
|
|
28
|
+
'pt-PT',
|
|
29
|
+
'bg_BG',
|
|
30
|
+
];
|
|
12
31
|
exports.manageDashboardGlobalViews = new core_1.RwPermissionDefinition('DashboardGlobalViews');
|
|
@@ -151,7 +151,7 @@ let DashboardPlugin = DashboardPlugin_1 = class DashboardPlugin {
|
|
|
151
151
|
createStaticServer(dashboardPath) {
|
|
152
152
|
const limiter = (0, express_rate_limit_1.rateLimit)({
|
|
153
153
|
windowMs: 60 * 1000,
|
|
154
|
-
limit: process.env.NODE_ENV === 'production' ? 500 :
|
|
154
|
+
limit: process.env.NODE_ENV === 'production' ? 500 : 1000000,
|
|
155
155
|
standardHeaders: true,
|
|
156
156
|
legacyHeaders: false,
|
|
157
157
|
});
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vendure/dashboard",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "3.5.2-master-
|
|
4
|
+
"version": "3.5.2-master-202512190240",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -156,8 +156,8 @@
|
|
|
156
156
|
"@storybook/addon-vitest": "^10.0.0-beta.9",
|
|
157
157
|
"@storybook/react-vite": "^10.0.0-beta.9",
|
|
158
158
|
"@types/node": "^22.13.4",
|
|
159
|
-
"@vendure/common": "^3.5.2-master-
|
|
160
|
-
"@vendure/core": "^3.5.2-master-
|
|
159
|
+
"@vendure/common": "^3.5.2-master-202512190240",
|
|
160
|
+
"@vendure/core": "^3.5.2-master-202512190240",
|
|
161
161
|
"@vitest/browser": "^3.2.4",
|
|
162
162
|
"@vitest/coverage-v8": "^3.2.4",
|
|
163
163
|
"eslint": "^9.19.0",
|