@vendure/admin-ui 3.5.4-master-202602050302 → 3.5.4-master-202602100307
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/core/common/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const ADMIN_UI_VERSION = "3.5.4-master-
|
|
1
|
+
export declare const ADMIN_UI_VERSION = "3.5.4-master-202602100307";
|
|
@@ -11,8 +11,7 @@ import { FormInputComponent } from '../common/component-registry-types';
|
|
|
11
11
|
* import { registerFormInputComponent } from '\@vendure/admin-ui/core';
|
|
12
12
|
*
|
|
13
13
|
* export default [
|
|
14
|
-
* // highlight
|
|
15
|
-
* registerFormInputComponent('my-custom-input', MyCustomFieldControl),
|
|
14
|
+
* registerFormInputComponent('my-custom-input', MyCustomFieldControl), // [!code highlight]
|
|
16
15
|
* ];
|
|
17
16
|
* ```
|
|
18
17
|
*
|
|
@@ -29,8 +28,7 @@ import { FormInputComponent } from '../common/component-registry-types';
|
|
|
29
28
|
* {
|
|
30
29
|
* name: 'rrp',
|
|
31
30
|
* type: 'int',
|
|
32
|
-
* // highlight
|
|
33
|
-
* ui: { component: 'my-custom-input' },
|
|
31
|
+
* ui: { component: 'my-custom-input' }, // [!code highlight]
|
|
34
32
|
* },
|
|
35
33
|
* ]
|
|
36
34
|
* }
|
|
@@ -119,15 +119,13 @@ export interface ActionBarContext {
|
|
|
119
119
|
* label: 'Print Invoice',
|
|
120
120
|
* icon: 'printer',
|
|
121
121
|
* buttonState: context => {
|
|
122
|
-
* // highlight
|
|
123
|
-
*
|
|
124
|
-
*
|
|
125
|
-
*
|
|
126
|
-
*
|
|
127
|
-
*
|
|
128
|
-
*
|
|
129
|
-
* );
|
|
130
|
-
* // highlight-end
|
|
122
|
+
* return context.entity$.pipe( // [!code highlight]
|
|
123
|
+
* map((order) => { // [!code highlight]
|
|
124
|
+
* return order?.state === 'PaymentSettled' // [!code highlight]
|
|
125
|
+
* ? { disabled: false, visible: true } // [!code highlight]
|
|
126
|
+
* : { disabled: true, visible: true }; // [!code highlight]
|
|
127
|
+
* }), // [!code highlight]
|
|
128
|
+
* ); // [!code highlight]
|
|
131
129
|
* },
|
|
132
130
|
* requiresPermission: ['UpdateOrder'],
|
|
133
131
|
* }),
|
|
@@ -7856,7 +7856,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
7856
7856
|
}], ctorParameters: () => [{ type: AlertsService }] });
|
|
7857
7857
|
|
|
7858
7858
|
// Auto-generated by the set-version.js script.
|
|
7859
|
-
const ADMIN_UI_VERSION = '3.5.4-master-
|
|
7859
|
+
const ADMIN_UI_VERSION = '3.5.4-master-202602100307';
|
|
7860
7860
|
|
|
7861
7861
|
/* eslint-disable @angular-eslint/directive-selector */
|
|
7862
7862
|
class FormFieldControlDirective {
|
|
@@ -10797,8 +10797,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
10797
10797
|
* import { registerFormInputComponent } from '\@vendure/admin-ui/core';
|
|
10798
10798
|
*
|
|
10799
10799
|
* export default [
|
|
10800
|
-
* // highlight
|
|
10801
|
-
* registerFormInputComponent('my-custom-input', MyCustomFieldControl),
|
|
10800
|
+
* registerFormInputComponent('my-custom-input', MyCustomFieldControl), // [!code highlight]
|
|
10802
10801
|
* ];
|
|
10803
10802
|
* ```
|
|
10804
10803
|
*
|
|
@@ -10815,8 +10814,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
10815
10814
|
* {
|
|
10816
10815
|
* name: 'rrp',
|
|
10817
10816
|
* type: 'int',
|
|
10818
|
-
* // highlight
|
|
10819
|
-
* ui: { component: 'my-custom-input' },
|
|
10817
|
+
* ui: { component: 'my-custom-input' }, // [!code highlight]
|
|
10820
10818
|
* },
|
|
10821
10819
|
* ]
|
|
10822
10820
|
* }
|