@vendure/admin-ui 1.6.3 → 1.7.0

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.
Files changed (91) hide show
  1. package/bundles/vendure-admin-ui-catalog.umd.js +196 -20
  2. package/bundles/vendure-admin-ui-catalog.umd.js.map +1 -1
  3. package/bundles/vendure-admin-ui-core.umd.js +309 -327
  4. package/bundles/vendure-admin-ui-core.umd.js.map +1 -1
  5. package/bundles/vendure-admin-ui-customer.umd.js +39 -18
  6. package/bundles/vendure-admin-ui-customer.umd.js.map +1 -1
  7. package/bundles/vendure-admin-ui-order.umd.js +179 -137
  8. package/bundles/vendure-admin-ui-order.umd.js.map +1 -1
  9. package/catalog/components/generate-product-variants/generate-product-variants.component.d.ts +3 -3
  10. package/catalog/components/option-value-input/option-value-input.component.d.ts +20 -8
  11. package/catalog/components/product-variants-editor/product-variants-editor.component.d.ts +10 -3
  12. package/catalog/vendure-admin-ui-catalog.metadata.json +1 -1
  13. package/core/common/generated-types.d.ts +91 -19
  14. package/core/common/utilities/configurable-operation-utils.d.ts +4 -2
  15. package/core/common/version.d.ts +1 -1
  16. package/core/data/definitions/order-definitions.d.ts +2 -0
  17. package/core/data/definitions/product-definitions.d.ts +1 -0
  18. package/core/data/providers/order-data.service.d.ts +1 -0
  19. package/core/data/providers/product-data.service.d.ts +1 -0
  20. package/core/shared/components/custom-field-control/custom-field-control.component.d.ts +6 -2
  21. package/core/shared/components/data-table/data-table.component.d.ts +5 -2
  22. package/core/shared/components/facet-value-selector/facet-value-selector.component.d.ts +2 -1
  23. package/core/shared/dynamic-form-inputs/facet-value-form-input/facet-value-form-input.component.d.ts +2 -0
  24. package/core/shared/dynamic-form-inputs/register-dynamic-input-components.d.ts +2 -1
  25. package/core/shared/dynamic-form-inputs/select-form-input/select-form-input.component.d.ts +10 -2
  26. package/core/shared/pipes/custom-field-label.pipe.d.ts +4 -10
  27. package/core/vendure-admin-ui-core.metadata.json +1 -1
  28. package/customer/components/customer-group-list/customer-group-list.component.d.ts +6 -4
  29. package/customer/vendure-admin-ui-customer.metadata.json +1 -1
  30. package/esm2015/catalog/components/generate-product-variants/generate-product-variants.component.js +12 -5
  31. package/esm2015/catalog/components/option-value-input/option-value-input.component.js +62 -12
  32. package/esm2015/catalog/components/product-variants-editor/product-variants-editor.component.js +109 -11
  33. package/esm2015/core/common/generated-types.js +2 -1
  34. package/esm2015/core/common/introspection-result.js +191 -255
  35. package/esm2015/core/common/utilities/configurable-operation-utils.js +13 -10
  36. package/esm2015/core/common/version.js +2 -2
  37. package/esm2015/core/components/app-shell/app-shell.component.js +1 -1
  38. package/esm2015/core/components/main-nav/main-nav.component.js +1 -1
  39. package/esm2015/core/data/definitions/order-definitions.js +445 -431
  40. package/esm2015/core/data/definitions/product-definitions.js +9 -1
  41. package/esm2015/core/data/providers/order-data.service.js +7 -2
  42. package/esm2015/core/data/providers/product-data.service.js +5 -2
  43. package/esm2015/core/shared/components/custom-field-control/custom-field-control.component.js +9 -3
  44. package/esm2015/core/shared/components/data-table/data-table.component.js +9 -2
  45. package/esm2015/core/shared/components/facet-value-selector/facet-value-selector.component.js +5 -2
  46. package/esm2015/core/shared/dynamic-form-inputs/facet-value-form-input/facet-value-form-input.component.js +11 -2
  47. package/esm2015/core/shared/dynamic-form-inputs/select-form-input/select-form-input.component.js +15 -2
  48. package/esm2015/core/shared/pipes/custom-field-label.pipe.js +4 -19
  49. package/esm2015/customer/components/customer-group-list/customer-group-list.component.js +25 -12
  50. package/esm2015/order/components/fulfill-order-dialog/fulfill-order-dialog.component.js +3 -2
  51. package/esm2015/order/components/fulfillment-detail/fulfillment-detail.component.js +9 -18
  52. package/esm2015/order/components/line-fulfillment/line-fulfillment.component.js +10 -21
  53. package/esm2015/order/components/order-custom-fields-card/order-custom-fields-card.component.js +30 -4
  54. package/esm2015/order/components/order-detail/order-detail.component.js +79 -38
  55. package/esm2015/order/components/order-list/order-list.component.js +22 -15
  56. package/esm2015/order/components/order-payment-card/order-payment-card.component.js +2 -2
  57. package/esm2015/order/components/order-table/order-table.component.js +10 -2
  58. package/fesm2015/vendure-admin-ui-catalog.js +177 -22
  59. package/fesm2015/vendure-admin-ui-catalog.js.map +1 -1
  60. package/fesm2015/vendure-admin-ui-core.js +725 -733
  61. package/fesm2015/vendure-admin-ui-core.js.map +1 -1
  62. package/fesm2015/vendure-admin-ui-customer.js +23 -11
  63. package/fesm2015/vendure-admin-ui-customer.js.map +1 -1
  64. package/fesm2015/vendure-admin-ui-order.js +155 -94
  65. package/fesm2015/vendure-admin-ui-order.js.map +1 -1
  66. package/order/components/line-fulfillment/line-fulfillment.component.d.ts +2 -2
  67. package/order/components/modification-detail/modification-detail.component.d.ts +1 -1
  68. package/order/components/order-custom-fields-card/order-custom-fields-card.component.d.ts +4 -2
  69. package/order/components/order-list/order-list.component.d.ts +1 -0
  70. package/order/components/order-table/order-table.component.d.ts +1 -0
  71. package/order/vendure-admin-ui-order.metadata.json +1 -1
  72. package/package.json +2 -2
  73. package/static/i18n-messages/cs.json +6 -2
  74. package/static/i18n-messages/de.json +6 -2
  75. package/static/i18n-messages/en.json +8 -3
  76. package/static/i18n-messages/es.json +6 -2
  77. package/static/i18n-messages/fr.json +6 -2
  78. package/static/i18n-messages/it.json +6 -2
  79. package/static/i18n-messages/pl.json +6 -2
  80. package/static/i18n-messages/pt_BR.json +6 -2
  81. package/static/i18n-messages/pt_PT.json +6 -2
  82. package/static/i18n-messages/ru.json +6 -2
  83. package/static/i18n-messages/uk.json +6 -2
  84. package/static/i18n-messages/zh_Hans.json +6 -2
  85. package/static/i18n-messages/zh_Hant.json +6 -2
  86. package/static/styles/_variables.scss +3 -0
  87. package/static/styles/global/_sass-overrides.scss +3 -0
  88. package/static/styles/global/_utilities.scss +1 -0
  89. package/static/styles/styles.scss +1 -0
  90. package/static/styles/ui-extension-theme.scss +1 -0
  91. package/static/theme.min.css +1 -1
@@ -66,6 +66,7 @@
66
66
  "auto-update-product-variant-name": "",
67
67
  "channel-price-preview": "渠道價格覽",
68
68
  "collection-contents": "系列產品",
69
+ "confirm-cancel": "",
69
70
  "confirm-delete-administrator": "",
70
71
  "confirm-delete-assets": "",
71
72
  "confirm-delete-channel": "確認移除渠道?",
@@ -76,6 +77,7 @@
76
77
  "confirm-delete-facet": "確認移除此特徵?",
77
78
  "confirm-delete-facet-value": "確認移除特徵值?",
78
79
  "confirm-delete-product": "確認移除商品?",
80
+ "confirm-delete-product-option": "",
79
81
  "confirm-delete-product-variant": "確認移除商品規格?",
80
82
  "confirm-delete-promotion": "確認移除優惠券?",
81
83
  "confirm-delete-shipping-method": "確認移除此郵寄方式?",
@@ -209,6 +211,7 @@
209
211
  "guest": "游客",
210
212
  "items-per-page-option": "每页顯示 { count } 條",
211
213
  "items-selected-count": "",
214
+ "keep-editing": "",
212
215
  "language": "語言",
213
216
  "launch-extension": "启動扩展插件",
214
217
  "live-update": "",
@@ -256,6 +259,7 @@
256
259
  "theme": "",
257
260
  "there-are-unsaved-changes": "變更尚未被儲存,離開會失去所有變更",
258
261
  "toggle-all": "",
262
+ "total-items": "{currentStart} - {currentEnd} 的 {totalItems}",
259
263
  "update": "確認修改",
260
264
  "updated-at": "修改時間",
261
265
  "username": "用户名",
@@ -320,6 +324,7 @@
320
324
  "registered": "已注册",
321
325
  "remove-customers-from-group-success": "",
322
326
  "remove-from-group": "",
327
+ "search-by-group-name": "輸入搜索條目",
323
328
  "search-customers-by-email": "輸入要搜索的客户電郵地址",
324
329
  "search-customers-by-email-last-name-postal-code": "",
325
330
  "select-customer": "",
@@ -549,8 +554,7 @@
549
554
  "refund-with-amount": "退款金額{amount}",
550
555
  "refunded-count": "{count}個商品已退款",
551
556
  "removed-items": "",
552
- "search-by-customer-last-name": "",
553
- "search-by-order-code": "輸入要搜索的訂單編號",
557
+ "search-by-order-filters": "輸入要搜索的訂單編號 / 姓 / 交易編號 ",
554
558
  "select-state": "",
555
559
  "set-coupon-codes": "",
556
560
  "set-fulfillment-state": "",
@@ -1,2 +1,5 @@
1
+ @import "~@clr/ui/src/utils/_mixins";
2
+ @import "~@clr/ui/src/utils/_variables.clarity.scss";
3
+
1
4
  // breakpoints
2
5
  $breakpoint-small: 768px;
@@ -0,0 +1,3 @@
1
+ // Note: variables defined in this file should use the default! flag so they can be
2
+ // overridden by custom Admin UI applications
3
+ $clr-sidenav-width: 10.8rem !default;
@@ -16,6 +16,7 @@ $space-5: $space-unit * 4;
16
16
 
17
17
  .flex.center {
18
18
  align-items: center;
19
+ justify-content: center;
19
20
  }
20
21
 
21
22
  .flex.wrap {
@@ -1,3 +1,4 @@
1
+ @import "global/sass-overrides";
1
2
  @import "~@clr/icons/clr-icons.min.css";
2
3
  @import "~@clr/ui/src/utils/components.clarity";
3
4
  @import "~@ng-select/ng-select/themes/default.theme.css";
@@ -1,6 +1,7 @@
1
1
  // This file is used to compile the theme.min.css file which can be used
2
2
  // by ui extensions to get the same styles as the main app.
3
3
 
4
+ @import "global/sass-overrides";
4
5
  // Clarity Component SCSS
5
6
  @import "~@clr/ui/src/main";
6
7
  @import "global/overrides";