@vendure/admin-ui 3.2.0 → 3.2.1
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.md +42 -42
- package/core/common/version.d.ts +1 -1
- package/fesm2022/vendure-admin-ui-catalog.mjs +257 -257
- package/fesm2022/vendure-admin-ui-catalog.mjs.map +1 -1
- package/fesm2022/vendure-admin-ui-core.mjs +4140 -4140
- package/fesm2022/vendure-admin-ui-core.mjs.map +1 -1
- package/fesm2022/vendure-admin-ui-customer.mjs +119 -119
- package/fesm2022/vendure-admin-ui-customer.mjs.map +1 -1
- package/fesm2022/vendure-admin-ui-dashboard.mjs +58 -58
- package/fesm2022/vendure-admin-ui-dashboard.mjs.map +1 -1
- package/fesm2022/vendure-admin-ui-login.mjs +2 -2
- package/fesm2022/vendure-admin-ui-login.mjs.map +1 -1
- package/fesm2022/vendure-admin-ui-marketing.mjs +35 -35
- package/fesm2022/vendure-admin-ui-marketing.mjs.map +1 -1
- package/fesm2022/vendure-admin-ui-order.mjs +186 -186
- package/fesm2022/vendure-admin-ui-order.mjs.map +1 -1
- package/fesm2022/vendure-admin-ui-react.mjs +8 -8
- package/fesm2022/vendure-admin-ui-react.mjs.map +1 -1
- package/fesm2022/vendure-admin-ui-settings.mjs +441 -441
- package/fesm2022/vendure-admin-ui-settings.mjs.map +1 -1
- package/fesm2022/vendure-admin-ui-system.mjs +6 -6
- package/fesm2022/vendure-admin-ui-system.mjs.map +1 -1
- package/fesm2022/vendure-admin-ui.mjs.map +1 -1
- package/package.json +13 -9
- package/static/fonts/fonts.scss +253 -253
- package/static/i18n-messages/ar.json +813 -813
- package/static/i18n-messages/cs.json +813 -813
- package/static/i18n-messages/de.json +813 -813
- package/static/i18n-messages/en.json +817 -817
- package/static/i18n-messages/es.json +813 -813
- package/static/i18n-messages/fa.json +813 -813
- package/static/i18n-messages/fr.json +813 -813
- package/static/i18n-messages/he.json +813 -813
- package/static/i18n-messages/hr.json +813 -813
- package/static/i18n-messages/it.json +813 -813
- package/static/i18n-messages/ja.json +818 -818
- package/static/i18n-messages/nb.json +811 -811
- package/static/i18n-messages/ne.json +813 -813
- package/static/i18n-messages/pl.json +813 -813
- package/static/i18n-messages/pt_BR.json +813 -813
- package/static/i18n-messages/pt_PT.json +814 -814
- package/static/i18n-messages/ru.json +813 -813
- package/static/i18n-messages/sv.json +806 -806
- package/static/i18n-messages/tr.json +814 -814
- package/static/i18n-messages/uk.json +813 -813
- package/static/i18n-messages/zh_Hans.json +813 -813
- package/static/i18n-messages/zh_Hant.json +813 -813
- package/static/index.html +14 -14
- package/static/polyfills.ts +66 -66
- package/static/styles/_mixins.scss +60 -60
- package/static/styles/_variables.scss +11 -11
- package/static/styles/component/prosemirror.scss +513 -513
- package/static/styles/global/_buttons.scss +147 -147
- package/static/styles/global/_clarity.scss +140 -140
- package/static/styles/global/_forms.scss +187 -187
- package/static/styles/global/_global.scss +41 -41
- package/static/styles/global/_overrides.scss +165 -165
- package/static/styles/global/_sass-overrides.scss +7 -7
- package/static/styles/global/_utilities.scss +155 -155
- package/static/styles/rtl.scss +143 -143
- package/static/styles/styles.scss +19 -19
- package/static/styles/theme/dark.scss +591 -591
- package/static/styles/theme/default.scss +254 -254
- package/static/styles/ui-extension-theme.scss +13 -13
- package/static/vendure-ui-config.json +289 -289
package/static/index.html
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="utf-8" />
|
|
5
|
-
<title></title>
|
|
6
|
-
<base href="/" />
|
|
7
|
-
|
|
8
|
-
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
9
|
-
<link rel="icon" type="image/x-icon" href="favicon.ico" />
|
|
10
|
-
</head>
|
|
11
|
-
<body>
|
|
12
|
-
<vdr-root></vdr-root>
|
|
13
|
-
</body>
|
|
14
|
-
</html>
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8" />
|
|
5
|
+
<title></title>
|
|
6
|
+
<base href="/" />
|
|
7
|
+
|
|
8
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
9
|
+
<link rel="icon" type="image/x-icon" href="favicon.ico" />
|
|
10
|
+
</head>
|
|
11
|
+
<body>
|
|
12
|
+
<vdr-root></vdr-root>
|
|
13
|
+
</body>
|
|
14
|
+
</html>
|
package/static/polyfills.ts
CHANGED
|
@@ -1,66 +1,66 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file includes polyfills needed by Angular and is loaded before the app.
|
|
3
|
-
* You can add your own extra polyfills to this file.
|
|
4
|
-
*
|
|
5
|
-
* This file is divided into 2 sections:
|
|
6
|
-
* 1. Browser polyfills. These are applied before loading ZoneJS and are sorted by browsers.
|
|
7
|
-
* 2. Application imports. Files imported after ZoneJS that should be loaded before your main
|
|
8
|
-
* file.
|
|
9
|
-
*
|
|
10
|
-
* The current setup is for so-called "evergreen" browsers; the last versions of browsers that
|
|
11
|
-
* automatically update themselves. This includes Safari >= 10, Chrome >= 55 (including Opera),
|
|
12
|
-
* Edge >= 13 on the desktop, and iOS 10 and Chrome on mobile.
|
|
13
|
-
*
|
|
14
|
-
* Learn more in https://angular.io/docs/ts/latest/guide/browser-support.html
|
|
15
|
-
*/
|
|
16
|
-
/* eslint-disable import/order */
|
|
17
|
-
/***************************************************************************************************
|
|
18
|
-
* BROWSER POLYFILLS
|
|
19
|
-
*/
|
|
20
|
-
|
|
21
|
-
/** IE9, IE10 and IE11 requires all of the following polyfills. **/
|
|
22
|
-
// import 'core-js/es6/symbol';
|
|
23
|
-
// import 'core-js/es6/object';
|
|
24
|
-
// import 'core-js/es6/function';
|
|
25
|
-
// import 'core-js/es6/parse-int';
|
|
26
|
-
// import 'core-js/es6/parse-float';
|
|
27
|
-
// import 'core-js/es6/number';
|
|
28
|
-
// import 'core-js/es6/math';
|
|
29
|
-
// import 'core-js/es6/string';
|
|
30
|
-
// import 'core-js/es6/date';
|
|
31
|
-
// import 'core-js/es6/array';
|
|
32
|
-
// import 'core-js/es6/regexp';
|
|
33
|
-
// import 'core-js/es6/map';
|
|
34
|
-
// import 'core-js/es6/weak-map';
|
|
35
|
-
// import 'core-js/es6/set';
|
|
36
|
-
|
|
37
|
-
/** IE10 and IE11 requires the following for the Reflect API. */
|
|
38
|
-
// import 'core-js/es6/reflect';
|
|
39
|
-
|
|
40
|
-
/** Evergreen browsers require these. **/
|
|
41
|
-
// Used for reflect-metadata in JIT. If you use AOT (and only Angular decorators), you can remove.
|
|
42
|
-
// import 'core-js/es/reflect';
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* By default, zone.js will patch all possible macroTask and DomEvents
|
|
46
|
-
* user can disable parts of macroTask/DomEvents patch by setting following flags
|
|
47
|
-
*/
|
|
48
|
-
|
|
49
|
-
// (window as any).__Zone_disable_requestAnimationFrame = true; // disable patch requestAnimationFrame
|
|
50
|
-
// (window as any).__Zone_disable_on_property = true; // disable patch onProperty such as onclick
|
|
51
|
-
// (window as any).__zone_symbol__BLACK_LISTED_EVENTS = ['scroll', 'mousemove']; // disable patch specified eventNames
|
|
52
|
-
|
|
53
|
-
/*
|
|
54
|
-
* in IE/Edge developer tools, the addEventListener will also be wrapped by zone.js
|
|
55
|
-
* with the following flag, it will bypass `zone.js` patch for IE/Edge
|
|
56
|
-
*/
|
|
57
|
-
// (window as any).__Zone_enable_cross_context_check = true;
|
|
58
|
-
|
|
59
|
-
/***************************************************************************************************
|
|
60
|
-
* Zone JS is required by default for Angular itself.
|
|
61
|
-
*/
|
|
62
|
-
import 'zone.js'; // Included with Angular CLI.
|
|
63
|
-
|
|
64
|
-
/***************************************************************************************************
|
|
65
|
-
* APPLICATION IMPORTS
|
|
66
|
-
*/
|
|
1
|
+
/**
|
|
2
|
+
* This file includes polyfills needed by Angular and is loaded before the app.
|
|
3
|
+
* You can add your own extra polyfills to this file.
|
|
4
|
+
*
|
|
5
|
+
* This file is divided into 2 sections:
|
|
6
|
+
* 1. Browser polyfills. These are applied before loading ZoneJS and are sorted by browsers.
|
|
7
|
+
* 2. Application imports. Files imported after ZoneJS that should be loaded before your main
|
|
8
|
+
* file.
|
|
9
|
+
*
|
|
10
|
+
* The current setup is for so-called "evergreen" browsers; the last versions of browsers that
|
|
11
|
+
* automatically update themselves. This includes Safari >= 10, Chrome >= 55 (including Opera),
|
|
12
|
+
* Edge >= 13 on the desktop, and iOS 10 and Chrome on mobile.
|
|
13
|
+
*
|
|
14
|
+
* Learn more in https://angular.io/docs/ts/latest/guide/browser-support.html
|
|
15
|
+
*/
|
|
16
|
+
/* eslint-disable import/order */
|
|
17
|
+
/***************************************************************************************************
|
|
18
|
+
* BROWSER POLYFILLS
|
|
19
|
+
*/
|
|
20
|
+
|
|
21
|
+
/** IE9, IE10 and IE11 requires all of the following polyfills. **/
|
|
22
|
+
// import 'core-js/es6/symbol';
|
|
23
|
+
// import 'core-js/es6/object';
|
|
24
|
+
// import 'core-js/es6/function';
|
|
25
|
+
// import 'core-js/es6/parse-int';
|
|
26
|
+
// import 'core-js/es6/parse-float';
|
|
27
|
+
// import 'core-js/es6/number';
|
|
28
|
+
// import 'core-js/es6/math';
|
|
29
|
+
// import 'core-js/es6/string';
|
|
30
|
+
// import 'core-js/es6/date';
|
|
31
|
+
// import 'core-js/es6/array';
|
|
32
|
+
// import 'core-js/es6/regexp';
|
|
33
|
+
// import 'core-js/es6/map';
|
|
34
|
+
// import 'core-js/es6/weak-map';
|
|
35
|
+
// import 'core-js/es6/set';
|
|
36
|
+
|
|
37
|
+
/** IE10 and IE11 requires the following for the Reflect API. */
|
|
38
|
+
// import 'core-js/es6/reflect';
|
|
39
|
+
|
|
40
|
+
/** Evergreen browsers require these. **/
|
|
41
|
+
// Used for reflect-metadata in JIT. If you use AOT (and only Angular decorators), you can remove.
|
|
42
|
+
// import 'core-js/es/reflect';
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* By default, zone.js will patch all possible macroTask and DomEvents
|
|
46
|
+
* user can disable parts of macroTask/DomEvents patch by setting following flags
|
|
47
|
+
*/
|
|
48
|
+
|
|
49
|
+
// (window as any).__Zone_disable_requestAnimationFrame = true; // disable patch requestAnimationFrame
|
|
50
|
+
// (window as any).__Zone_disable_on_property = true; // disable patch onProperty such as onclick
|
|
51
|
+
// (window as any).__zone_symbol__BLACK_LISTED_EVENTS = ['scroll', 'mousemove']; // disable patch specified eventNames
|
|
52
|
+
|
|
53
|
+
/*
|
|
54
|
+
* in IE/Edge developer tools, the addEventListener will also be wrapped by zone.js
|
|
55
|
+
* with the following flag, it will bypass `zone.js` patch for IE/Edge
|
|
56
|
+
*/
|
|
57
|
+
// (window as any).__Zone_enable_cross_context_check = true;
|
|
58
|
+
|
|
59
|
+
/***************************************************************************************************
|
|
60
|
+
* Zone JS is required by default for Angular itself.
|
|
61
|
+
*/
|
|
62
|
+
import 'zone.js'; // Included with Angular CLI.
|
|
63
|
+
|
|
64
|
+
/***************************************************************************************************
|
|
65
|
+
* APPLICATION IMPORTS
|
|
66
|
+
*/
|
|
@@ -1,60 +1,60 @@
|
|
|
1
|
-
@import "variables";
|
|
2
|
-
|
|
3
|
-
@mixin no-select {
|
|
4
|
-
-webkit-touch-callout: none;
|
|
5
|
-
-webkit-user-select: none;
|
|
6
|
-
-khtml-user-select: none;
|
|
7
|
-
-moz-user-select: none;
|
|
8
|
-
-ms-user-select: none;
|
|
9
|
-
user-select: none;
|
|
10
|
-
}
|
|
11
|
-
@mixin ng-select-facet-values {
|
|
12
|
-
|
|
13
|
-
}
|
|
14
|
-
@mixin table-base-styles {
|
|
15
|
-
th {
|
|
16
|
-
border-bottom: 1px solid var(--color-table-header-border);
|
|
17
|
-
color: var(--color-weight-700);
|
|
18
|
-
font-size: var(--font-size-xs);
|
|
19
|
-
font-weight: 600;
|
|
20
|
-
text-transform: uppercase;
|
|
21
|
-
position: relative;
|
|
22
|
-
white-space: nowrap;
|
|
23
|
-
background-color: transparent;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
th,
|
|
27
|
-
td {
|
|
28
|
-
padding: calc(var(--space-unit) * 1.5) calc(var(--space-unit) * 1);
|
|
29
|
-
color: var(--color-text-100);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
tr td:first-of-type,
|
|
33
|
-
tr th:first-of-type {
|
|
34
|
-
text-align: center;
|
|
35
|
-
@media screen and (min-width: $breakpoint-medium) {
|
|
36
|
-
padding-inline-start: var(--surface-margin-left);
|
|
37
|
-
text-align: start;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
th:last-of-type,
|
|
42
|
-
td:last-of-type {
|
|
43
|
-
border-inline-end: 1px solid var(--color-table-header-border);
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
tr:first-of-type th:last-of-type {
|
|
47
|
-
border-image: linear-gradient(0deg, var(--color-table-header-border), transparent) 1;
|
|
48
|
-
}
|
|
49
|
-
tr:last-of-type td:last-of-type {
|
|
50
|
-
border-image: linear-gradient(180deg, var(--color-table-header-border), transparent) 1;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
tbody td {
|
|
54
|
-
border-bottom: 1px solid var(--color-table-row-separator);
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
tbody tr:hover {
|
|
58
|
-
background-color: var(--color-table-row-hover-bg);
|
|
59
|
-
}
|
|
60
|
-
}
|
|
1
|
+
@import "variables";
|
|
2
|
+
|
|
3
|
+
@mixin no-select {
|
|
4
|
+
-webkit-touch-callout: none;
|
|
5
|
+
-webkit-user-select: none;
|
|
6
|
+
-khtml-user-select: none;
|
|
7
|
+
-moz-user-select: none;
|
|
8
|
+
-ms-user-select: none;
|
|
9
|
+
user-select: none;
|
|
10
|
+
}
|
|
11
|
+
@mixin ng-select-facet-values {
|
|
12
|
+
|
|
13
|
+
}
|
|
14
|
+
@mixin table-base-styles {
|
|
15
|
+
th {
|
|
16
|
+
border-bottom: 1px solid var(--color-table-header-border);
|
|
17
|
+
color: var(--color-weight-700);
|
|
18
|
+
font-size: var(--font-size-xs);
|
|
19
|
+
font-weight: 600;
|
|
20
|
+
text-transform: uppercase;
|
|
21
|
+
position: relative;
|
|
22
|
+
white-space: nowrap;
|
|
23
|
+
background-color: transparent;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
th,
|
|
27
|
+
td {
|
|
28
|
+
padding: calc(var(--space-unit) * 1.5) calc(var(--space-unit) * 1);
|
|
29
|
+
color: var(--color-text-100);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
tr td:first-of-type,
|
|
33
|
+
tr th:first-of-type {
|
|
34
|
+
text-align: center;
|
|
35
|
+
@media screen and (min-width: $breakpoint-medium) {
|
|
36
|
+
padding-inline-start: var(--surface-margin-left);
|
|
37
|
+
text-align: start;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
th:last-of-type,
|
|
42
|
+
td:last-of-type {
|
|
43
|
+
border-inline-end: 1px solid var(--color-table-header-border);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
tr:first-of-type th:last-of-type {
|
|
47
|
+
border-image: linear-gradient(0deg, var(--color-table-header-border), transparent) 1;
|
|
48
|
+
}
|
|
49
|
+
tr:last-of-type td:last-of-type {
|
|
50
|
+
border-image: linear-gradient(180deg, var(--color-table-header-border), transparent) 1;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
tbody td {
|
|
54
|
+
border-bottom: 1px solid var(--color-table-row-separator);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
tbody tr:hover {
|
|
58
|
+
background-color: var(--color-table-row-hover-bg);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
@import "./global/sass-overrides";
|
|
2
|
-
@import "@clr/ui/src/utils/_mixins";
|
|
3
|
-
@import "@clr/ui/src/utils/_variables.clarity.scss";
|
|
4
|
-
|
|
5
|
-
// breakpoints
|
|
6
|
-
// Breakpoints are defined in SCSS because CSS does not
|
|
7
|
-
// support custom properties in media queries.
|
|
8
|
-
// See https://stackoverflow.com/a/40723269/772859
|
|
9
|
-
$breakpoint-small: 768px;
|
|
10
|
-
$breakpoint-medium: 992px;
|
|
11
|
-
$breakpoint-large: 1280px;
|
|
1
|
+
@import "./global/sass-overrides";
|
|
2
|
+
@import "@clr/ui/src/utils/_mixins";
|
|
3
|
+
@import "@clr/ui/src/utils/_variables.clarity.scss";
|
|
4
|
+
|
|
5
|
+
// breakpoints
|
|
6
|
+
// Breakpoints are defined in SCSS because CSS does not
|
|
7
|
+
// support custom properties in media queries.
|
|
8
|
+
// See https://stackoverflow.com/a/40723269/772859
|
|
9
|
+
$breakpoint-small: 768px;
|
|
10
|
+
$breakpoint-medium: 992px;
|
|
11
|
+
$breakpoint-large: 1280px;
|