@vendure/dashboard 3.5.2-master-202512040233 → 3.5.2-master-202512180239
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 +2 -2
- package/dist/plugin/dashboard.plugin.js +1 -1
- package/dist/vite/constants.js +1 -0
- package/lingui.config.js +1 -0
- package/package.json +7 -7
- package/src/app/routeTree.gen.ts +1221 -0
- 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/_customers/components/customer-history/index.ts +0 -1
- package/src/app/routes/_authenticated/_global-settings/global-settings.tsx +1 -1
- package/src/app/routes/_authenticated/_orders/components/add-surcharge-form.tsx +139 -0
- package/src/app/routes/_authenticated/_orders/components/edit-order-table.tsx +3 -0
- package/src/app/routes/_authenticated/_orders/components/order-address.tsx +3 -3
- package/src/app/routes/_authenticated/_orders/components/order-modification-summary.tsx +49 -11
- package/src/app/routes/_authenticated/_orders/orders_.$id_.modify.tsx +9 -0
- package/src/app/routes/_authenticated/_orders/utils/use-modify-order.ts +23 -0
- package/src/app/routes/_authenticated/_product-variants/components/add-currency-dropdown.tsx +3 -3
- package/src/app/routes/_authenticated/_product-variants/components/add-stock-location-dropdown.tsx +2 -2
- package/src/app/routes/_authenticated/_products/products.graphql.ts +1 -0
- package/src/app/routes/_authenticated/_tax-rates/tax-rates_.$id.tsx +2 -9
- package/src/i18n/locales/bg.po +3436 -0
- package/src/lib/components/data-input/datetime-input.tsx +1 -1
- package/src/lib/components/data-input/number-input.tsx +24 -5
- package/src/lib/components/data-input/relation-selector.tsx +1 -1
- package/src/lib/components/data-input/struct-form-input.tsx +175 -174
- package/src/lib/components/data-table/data-table-utils.ts +241 -1
- package/src/lib/components/data-table/data-table.tsx +190 -60
- package/src/lib/components/layout/manage-languages-dialog.tsx +2 -25
- package/src/lib/components/shared/custom-fields-form.tsx +13 -8
- 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/carousel.tsx +2 -2
- package/src/lib/components/ui/chart.tsx +1 -1
- package/src/lib/components/ui/context-menu.tsx +1 -1
- package/src/lib/components/ui/drawer.tsx +1 -1
- package/src/lib/components/ui/grid-layout.tsx +1 -1
- package/src/lib/components/ui/input-group.tsx +1 -0
- package/src/lib/components/ui/input-otp.tsx +1 -1
- package/src/lib/components/ui/menubar.tsx +1 -1
- package/src/lib/components/ui/navigation-menu.tsx +1 -1
- package/src/lib/components/ui/progress.tsx +1 -1
- package/src/lib/components/ui/radio-group.tsx +1 -1
- package/src/lib/components/ui/resizable.tsx +1 -1
- package/src/lib/components/ui/select.tsx +1 -1
- package/src/lib/components/ui/slider.tsx +1 -1
- package/src/lib/components/ui/toggle-group.tsx +2 -2
- package/src/lib/components/ui/toggle.tsx +1 -1
- package/src/lib/framework/component-registry/component-registry.tsx +2 -6
- package/src/lib/framework/extension-api/display-component-extensions.tsx +4 -3
- package/src/lib/framework/extension-api/logic/detail-forms.ts +0 -13
- package/src/lib/framework/extension-api/types/data-table.ts +4 -2
- package/src/lib/framework/extension-api/types/navigation.ts +2 -2
- package/src/lib/framework/form-engine/use-generated-form.tsx +7 -1
- package/src/lib/framework/layout-engine/page-layout.tsx +1 -1
- package/src/lib/framework/nav-menu/nav-menu-extensions.ts +1 -1
- package/src/lib/framework/page/detail-page-route-loader.tsx +1 -1
- package/src/lib/framework/page/list-page.tsx +62 -38
- package/src/lib/framework/page/page-api.ts +1 -1
- package/src/lib/framework/page/use-detail-page.ts +4 -2
- package/src/lib/framework/page/use-extended-router.tsx +20 -16
- package/src/lib/framework/registry/registry-types.ts +2 -1
- package/src/lib/graphql/graphql-env.d.ts +8 -12
- package/src/lib/hooks/use-drag-and-drop.ts +86 -0
- package/src/lib/providers/channel-provider.tsx +11 -7
- package/LICENSE.md +0 -42
- package/src/app/routes/_authenticated/_facets/components/edit-facet-value.tsx +0 -129
- /package/src/{app/routes/_authenticated/_global-settings → lib}/utils/global-languages.ts +0 -0
package/dist/plugin/constants.js
CHANGED
|
@@ -7,6 +7,6 @@ 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 = ['en', 'de', 'es', 'cs', 'zh_Hans', 'pt_BR', 'pt_PT', 'zh_Hant'];
|
|
11
|
-
exports.defaultAvailableLocales = ['en-US', 'de-DE', 'es-ES', 'zh-CN', 'zh-TW', 'pt-BR', 'pt-PT'];
|
|
10
|
+
exports.defaultAvailableLanguages = ['en', 'de', 'es', 'cs', 'zh_Hans', 'pt_BR', 'pt_PT', 'zh_Hant', 'bg'];
|
|
11
|
+
exports.defaultAvailableLocales = ['en-US', 'de-DE', 'es-ES', 'zh-CN', 'zh-TW', 'pt-BR', 'pt-PT', 'bg_BG'];
|
|
12
12
|
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/dist/vite/constants.js
CHANGED
package/lingui.config.js
CHANGED
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-202512180239",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -14,10 +14,11 @@
|
|
|
14
14
|
},
|
|
15
15
|
"scripts": {
|
|
16
16
|
"dev": "vite",
|
|
17
|
+
"check-types": "tsc --project tsconfig.check.json --noEmit",
|
|
17
18
|
"build:standalone": "vite build",
|
|
18
19
|
"build:vite": "tsc --project tsconfig.vite.json",
|
|
19
20
|
"build:plugin": "tsc --project tsconfig.plugin.json && node scripts/build-plugin.js",
|
|
20
|
-
"build": "npm run build:vite && npm run build:plugin",
|
|
21
|
+
"build": "npm run check-types && npm run build:vite && npm run build:plugin",
|
|
21
22
|
"watch": "tsc --project tsconfig.vite.json --watch",
|
|
22
23
|
"test": "vitest run",
|
|
23
24
|
"lint": "eslint .",
|
|
@@ -63,7 +64,7 @@
|
|
|
63
64
|
"@lingui/cli": "^5.5.0",
|
|
64
65
|
"@lingui/core": "^5.5.0",
|
|
65
66
|
"@lingui/react": "^5.5.0",
|
|
66
|
-
"@lingui/swc-plugin": "
|
|
67
|
+
"@lingui/swc-plugin": "5.6.1",
|
|
67
68
|
"@lingui/vite-plugin": "^5.5.0",
|
|
68
69
|
"@radix-ui/react-accordion": "^1.2.11",
|
|
69
70
|
"@radix-ui/react-alert-dialog": "^1.1.14",
|
|
@@ -155,8 +156,8 @@
|
|
|
155
156
|
"@storybook/addon-vitest": "^10.0.0-beta.9",
|
|
156
157
|
"@storybook/react-vite": "^10.0.0-beta.9",
|
|
157
158
|
"@types/node": "^22.13.4",
|
|
158
|
-
"@vendure/common": "^3.5.2-master-
|
|
159
|
-
"@vendure/core": "^3.5.2-master-
|
|
159
|
+
"@vendure/common": "^3.5.2-master-202512180239",
|
|
160
|
+
"@vendure/core": "^3.5.2-master-202512180239",
|
|
160
161
|
"@vitest/browser": "^3.2.4",
|
|
161
162
|
"@vitest/coverage-v8": "^3.2.4",
|
|
162
163
|
"eslint": "^9.19.0",
|
|
@@ -172,6 +173,5 @@
|
|
|
172
173
|
"optionalDependencies": {
|
|
173
174
|
"lightningcss-linux-arm64-musl": "^1.29.3",
|
|
174
175
|
"lightningcss-linux-x64-musl": "^1.29.1"
|
|
175
|
-
}
|
|
176
|
-
"gitHead": "f890b1f162b11976653db5ca492427bd9d8af78c"
|
|
176
|
+
}
|
|
177
177
|
}
|