@vendure/admin-ui 1.5.2 → 1.6.2
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/bundles/vendure-admin-ui-catalog.umd.js +212 -173
- package/bundles/vendure-admin-ui-catalog.umd.js.map +1 -1
- package/bundles/vendure-admin-ui-core.umd.js +2337 -1864
- package/bundles/vendure-admin-ui-core.umd.js.map +1 -1
- package/bundles/vendure-admin-ui-dashboard.umd.js +3 -3
- package/bundles/vendure-admin-ui-dashboard.umd.js.map +1 -1
- package/bundles/vendure-admin-ui-login.umd.js +2 -2
- package/bundles/vendure-admin-ui-login.umd.js.map +1 -1
- package/bundles/vendure-admin-ui-marketing.umd.js +1 -1
- package/bundles/vendure-admin-ui-marketing.umd.js.map +1 -1
- package/bundles/vendure-admin-ui-order.umd.js +1 -1
- package/bundles/vendure-admin-ui-order.umd.js.map +1 -1
- package/catalog/components/collection-contents/collection-contents.component.d.ts +7 -2
- package/catalog/components/collection-detail/collection-detail.component.d.ts +12 -4
- package/catalog/components/collection-list/collection-list.component.d.ts +2 -0
- package/catalog/components/collection-tree/array-to-tree.d.ts +1 -1
- package/catalog/components/collection-tree/collection-tree-node.component.d.ts +5 -1
- package/catalog/components/collection-tree/collection-tree.component.d.ts +1 -0
- package/catalog/components/product-variants-editor/product-variants-editor.component.d.ts +13 -10
- package/catalog/providers/product-detail/product-detail.service.d.ts +2 -2
- package/catalog/public_api.d.ts +0 -1
- package/catalog/vendure-admin-ui-catalog.metadata.json +1 -1
- package/core/common/generated-types.d.ts +32 -3
- package/core/common/utilities/selection-manager.d.ts +23 -0
- package/core/common/version.d.ts +1 -1
- package/core/components/app-shell/app-shell.component.d.ts +1 -0
- package/core/data/definitions/collection-definitions.d.ts +1 -0
- package/core/data/providers/collection-data.service.d.ts +6 -2
- package/core/providers/local-storage/local-storage.service.d.ts +1 -0
- package/core/public_api.d.ts +5 -0
- package/core/shared/components/asset-gallery/asset-gallery.component.d.ts +21 -6
- package/core/shared/components/configurable-input/configurable-input.component.d.ts +7 -2
- package/core/shared/components/product-multi-selector-dialog/product-multi-selector-dialog.component.d.ts +35 -0
- package/{catalog → core/shared}/components/product-search-input/product-search-input.component.d.ts +1 -1
- package/core/shared/components/select-toggle/select-toggle.component.d.ts +1 -0
- package/core/shared/dynamic-form-inputs/combination-mode-form-input/combination-mode-form-input.component.d.ts +25 -0
- package/core/shared/dynamic-form-inputs/product-multi-selector-form-input/product-multi-selector-form-input.component.d.ts +20 -0
- package/core/shared/dynamic-form-inputs/register-dynamic-input-components.d.ts +3 -1
- package/core/shared/dynamic-form-inputs/relation-form-input/asset/relation-asset-input.component.d.ts +5 -2
- package/core/vendure-admin-ui-core.metadata.json +1 -1
- package/dashboard/vendure-admin-ui-dashboard.metadata.json +1 -1
- package/esm2015/catalog/catalog.module.js +1 -3
- package/esm2015/catalog/components/assets/assets.component.js +1 -1
- package/esm2015/catalog/components/collection-contents/collection-contents.component.js +51 -14
- package/esm2015/catalog/components/collection-detail/collection-detail.component.js +67 -29
- package/esm2015/catalog/components/collection-list/collection-list.component.js +30 -4
- package/esm2015/catalog/components/collection-tree/array-to-tree.js +3 -3
- package/esm2015/catalog/components/collection-tree/collection-tree-node.component.js +27 -4
- package/esm2015/catalog/components/collection-tree/collection-tree.component.js +4 -2
- package/esm2015/catalog/components/product-detail/product-detail.component.js +1 -1
- package/esm2015/catalog/components/product-list/product-list.component.js +3 -3
- package/esm2015/catalog/components/product-variants-editor/product-variants-editor.component.js +7 -2
- package/esm2015/catalog/components/product-variants-list/product-variants-list.component.js +1 -1
- package/esm2015/catalog/public_api.js +1 -2
- package/esm2015/core/app.component.module.js +1 -1
- package/esm2015/core/common/base-detail.component.js +1 -1
- package/esm2015/core/common/deactivate-aware.js +1 -1
- package/esm2015/core/common/generated-types.js +1 -1
- package/esm2015/core/common/introspection-result.js +255 -189
- package/esm2015/core/common/utilities/configurable-operation-utils.js +2 -2
- package/esm2015/core/common/utilities/selection-manager.js +64 -0
- package/esm2015/core/common/version.js +2 -2
- package/esm2015/core/components/app-shell/app-shell.component.js +4 -3
- package/esm2015/core/components/main-nav/main-nav.component.js +2 -2
- package/esm2015/core/core.module.js +1 -1
- package/esm2015/core/data/definitions/collection-definitions.js +18 -1
- package/esm2015/core/data/definitions/order-definitions.js +431 -430
- package/esm2015/core/data/definitions/shared-definitions.js +29 -28
- package/esm2015/core/data/providers/collection-data.service.js +5 -2
- package/esm2015/core/providers/local-storage/local-storage.service.js +1 -1
- package/esm2015/core/public_api.js +6 -1
- package/esm2015/core/shared/components/address-form/address-form.component.js +2 -2
- package/esm2015/core/shared/components/asset-gallery/asset-gallery.component.js +24 -42
- package/esm2015/core/shared/components/configurable-input/configurable-input.component.js +13 -3
- package/esm2015/core/shared/components/formatted-address/formatted-address.component.js +2 -2
- package/esm2015/core/shared/components/help-tooltip/help-tooltip.component.js +1 -1
- package/esm2015/core/shared/components/product-multi-selector-dialog/product-multi-selector-dialog.component.js +129 -0
- package/esm2015/core/shared/components/product-search-input/product-search-input.component.js +104 -0
- package/esm2015/core/shared/components/rich-text-editor/rich-text-editor.component.js +1 -1
- package/esm2015/core/shared/components/select-toggle/select-toggle.component.js +5 -3
- package/esm2015/core/shared/dynamic-form-inputs/combination-mode-form-input/combination-mode-form-input.component.js +45 -0
- package/esm2015/core/shared/dynamic-form-inputs/product-multi-selector-form-input/product-multi-selector-form-input.component.js +53 -0
- package/esm2015/core/shared/dynamic-form-inputs/register-dynamic-input-components.js +5 -1
- package/esm2015/core/shared/dynamic-form-inputs/relation-form-input/asset/relation-asset-input.component.js +8 -7
- package/esm2015/core/shared/shared.module.js +9 -1
- package/esm2015/dashboard/components/dashboard/dashboard.component.js +1 -1
- package/esm2015/dashboard/components/dashboard-widget/dashboard-widget.component.js +2 -2
- package/esm2015/dashboard/widgets/order-summary-widget/order-summary-widget.component.js +1 -1
- package/esm2015/login/components/login/login.component.js +3 -3
- package/esm2015/marketing/components/promotion-detail/promotion-detail.component.js +2 -2
- package/esm2015/order/components/order-list/order-list.component.js +2 -2
- package/fesm2015/vendure-admin-ui-catalog.js +187 -158
- package/fesm2015/vendure-admin-ui-catalog.js.map +1 -1
- package/fesm2015/vendure-admin-ui-core.js +1824 -1359
- package/fesm2015/vendure-admin-ui-core.js.map +1 -1
- package/fesm2015/vendure-admin-ui-dashboard.js +3 -3
- package/fesm2015/vendure-admin-ui-dashboard.js.map +1 -1
- package/fesm2015/vendure-admin-ui-login.js +2 -2
- package/fesm2015/vendure-admin-ui-login.js.map +1 -1
- package/fesm2015/vendure-admin-ui-marketing.js +1 -1
- package/fesm2015/vendure-admin-ui-marketing.js.map +1 -1
- package/fesm2015/vendure-admin-ui-order.js +1 -1
- package/fesm2015/vendure-admin-ui-order.js.map +1 -1
- package/login/vendure-admin-ui-login.metadata.json +1 -1
- package/marketing/vendure-admin-ui-marketing.metadata.json +1 -1
- package/order/vendure-admin-ui-order.metadata.json +1 -1
- package/package.json +2 -2
- package/static/i18n-messages/cs.json +683 -673
- package/static/i18n-messages/de.json +683 -673
- package/static/i18n-messages/en.json +684 -674
- package/static/i18n-messages/es.json +683 -673
- package/static/i18n-messages/fr.json +683 -673
- package/static/i18n-messages/it.json +683 -673
- package/static/i18n-messages/pl.json +683 -673
- package/static/i18n-messages/pt_BR.json +683 -673
- package/static/i18n-messages/pt_PT.json +683 -673
- package/static/i18n-messages/ru.json +683 -673
- package/static/i18n-messages/uk.json +683 -673
- package/static/i18n-messages/zh_Hans.json +683 -673
- package/static/i18n-messages/zh_Hant.json +683 -673
- package/static/styles/global/_forms.scss +4 -5
- package/static/styles/global/_overrides.scss +5 -1
- package/static/styles/global/_utilities.scss +9 -0
- package/static/styles/theme/default.scss +13 -1
- package/static/theme.min.css +1 -1
- package/esm2015/catalog/components/product-search-input/product-search-input.component.js +0 -104
|
@@ -46,7 +46,7 @@ textarea,
|
|
|
46
46
|
|
|
47
47
|
input,
|
|
48
48
|
select {
|
|
49
|
-
border-radius:
|
|
49
|
+
border-radius: var(--border-radius-input) !important;
|
|
50
50
|
border: 1px solid var(--color-grey-300) !important;
|
|
51
51
|
padding: 5px !important;
|
|
52
52
|
height: initial !important;
|
|
@@ -95,10 +95,6 @@ clr-input-container.expand {
|
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
97
|
|
|
98
|
-
clr-select-container {
|
|
99
|
-
margin-bottom: 18px;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
98
|
.tooltip.tooltip-validation::before {
|
|
103
99
|
top: 10px !important;
|
|
104
100
|
}
|
|
@@ -108,6 +104,9 @@ select {
|
|
|
108
104
|
}
|
|
109
105
|
|
|
110
106
|
.select::after,
|
|
107
|
+
.clr-select-wrapper {
|
|
108
|
+
max-height: inherit;
|
|
109
|
+
}
|
|
111
110
|
.clr-select-wrapper::after {
|
|
112
111
|
z-index: 10;
|
|
113
112
|
top: 13px;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
background-color: var(--clr-global-app-background);
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
-
.content-area img {
|
|
8
|
+
.content-area img, .modal-content img {
|
|
9
9
|
object-fit: cover;
|
|
10
10
|
width: 100%;
|
|
11
11
|
height: 100%;
|
|
@@ -37,6 +37,10 @@ a:focus, button:focus {
|
|
|
37
37
|
td.align-middle {
|
|
38
38
|
vertical-align: middle!important;
|
|
39
39
|
}
|
|
40
|
+
|
|
41
|
+
td.right {
|
|
42
|
+
text-align: right;
|
|
43
|
+
}
|
|
40
44
|
}
|
|
41
45
|
|
|
42
46
|
.full-label, .compact-label {
|
|
@@ -7,6 +7,7 @@ $space-1: math.div($space-unit, 2);
|
|
|
7
7
|
$space-2: $space-unit;
|
|
8
8
|
$space-3: $space-unit * 2;
|
|
9
9
|
$space-4: $space-unit * 3;
|
|
10
|
+
$space-5: $space-unit * 4;
|
|
10
11
|
|
|
11
12
|
/////////////// layout ///////////////
|
|
12
13
|
.flex {
|
|
@@ -66,6 +67,14 @@ $space-4: $space-unit * 3;
|
|
|
66
67
|
.mx4 { margin-left: $space-4; margin-right: $space-4 }
|
|
67
68
|
.my4 { margin-top: $space-4; margin-bottom: $space-4 }
|
|
68
69
|
|
|
70
|
+
.m5 { margin: $space-5 }
|
|
71
|
+
.mt5 { margin-top: $space-5 }
|
|
72
|
+
.mr5 { margin-right: $space-5 }
|
|
73
|
+
.mb5 { margin-bottom: $space-5 }
|
|
74
|
+
.ml5 { margin-left: $space-5 }
|
|
75
|
+
.mx5 { margin-left: $space-5; margin-right: $space-5 }
|
|
76
|
+
.my5 { margin-top: $space-5; margin-bottom: $space-5 }
|
|
77
|
+
|
|
69
78
|
.mxn1 { margin-left: -$space-1; margin-right: -$space-1; }
|
|
70
79
|
.mxn2 { margin-left: -$space-2; margin-right: -$space-2; }
|
|
71
80
|
.mxn3 { margin-left: -$space-3; margin-right: -$space-3; }
|
|
@@ -74,6 +74,7 @@
|
|
|
74
74
|
--color-icon-button: var(--color-grey-600);
|
|
75
75
|
--color-form-input-bg: white;
|
|
76
76
|
--color-timeline-thread: var(--color-primary-100);
|
|
77
|
+
|
|
77
78
|
--color-chip-warning-border: var(--color-warning-200);
|
|
78
79
|
--color-chip-warning-text: var(--color-warning-600);
|
|
79
80
|
--color-chip-warning-bg: var(--color-warning-100);
|
|
@@ -83,6 +84,7 @@
|
|
|
83
84
|
--color-chip-error-border: var(--color-error-200);
|
|
84
85
|
--color-chip-error-text: var(--color-error-600);
|
|
85
86
|
--color-chip-error-bg: var(--color-error-100);
|
|
87
|
+
|
|
86
88
|
--color-json-editor-background-color: var(--color-grey-200);
|
|
87
89
|
--color-json-editor-text: var(--color-grey-600);
|
|
88
90
|
--color-json-editor-string: var(--color-secondary-600);
|
|
@@ -92,7 +94,17 @@
|
|
|
92
94
|
--color-json-editor-key: var(--color-success-500);
|
|
93
95
|
--color-json-editor-error: var(--color-error-500);
|
|
94
96
|
|
|
95
|
-
//
|
|
97
|
+
// Login page
|
|
96
98
|
--login-page-bg: url(data:image/gif;base64,R0lGODlhFAAhAKIAABwcHB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94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4B//79/Pv6+fj39vX08/Lx8O/u7ezr6uno5+bl5OPi4eDf3t3c29rZ2NfW1dTT0tHQz87NzMvKycjHxsXEw8LBwL++vby7urm4t7a1tLOysbCvrq2sq6qpqKempaSjoqGgn56dnJuamZiXlpWUk5KRkI+OjYyLiomIh4aFhIOCgYB/fn18e3p5eHd2dXRzcnFwb25tbGtqaWhnZmVkY2JhYF9eXVxbWllYV1ZVVFNSUVBPTk1MS0pJSEdGRURDQkFAPz49PDs6OTg3NjU0MzIxMC8uLSwrKikoJyYlJCMiISAfHh0cGxoZGBcWFRQTEhEQDw4NDAsKCQgHBgUEAwIBAAAh+QQAAAAAACwAAAAAFAAhAAADfSi23M7igEcZOIfUSvApm1N42RAuQ0cqZ0Ri0xa8nlaltAdSY44RJsfAt3q4iLDGDFlj4Ji6RQ/6GwypqyOtwO12BQKv+EawnRq93dlwLa0NWtZpSYptniRzZfpSP9o0QBVaNHJKUHYoKkh6BnxIaoBMgnBYGAp0lgCLlgQJADs=);
|
|
99
|
+
--color-login-gradient-top: var(--color-primary-800);
|
|
100
|
+
--color-login-gradient-bottom: black;
|
|
101
|
+
|
|
102
|
+
// header
|
|
103
|
+
--color-header-gradient-from: var(--color-primary-800);
|
|
104
|
+
--color-header-gradient-to: var(--color-primary-900);
|
|
105
|
+
|
|
106
|
+
// Other variables
|
|
97
107
|
--breakpoint-small: 768px;
|
|
108
|
+
--border-radius-img: var(--clr-global-borderradius);
|
|
109
|
+
--border-radius-input: var(--clr-global-borderradius);
|
|
98
110
|
}
|