@vendure/admin-ui 2.0.0-next.1 → 2.0.0-next.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/core/common/generated-types.d.ts +60 -2
- package/core/common/version.d.ts +1 -1
- package/core/data/providers/promotion-data.service.d.ts +1 -1
- package/core/public_api.d.ts +1 -0
- package/core/shared/components/object-tree/object-tree.component.d.ts +3 -3
- package/core/shared/dynamic-form-inputs/relation-form-input/generic/relation-generic-input.component.d.ts +18 -0
- package/core/shared/shared.module.d.ts +14 -13
- package/esm2020/catalog/components/collection-detail/collection-detail.component.mjs +1 -1
- package/esm2020/catalog/providers/routing/collection-resolver.mjs +1 -1
- package/esm2020/core/common/generated-types.mjs +4 -1
- package/esm2020/core/common/introspection-result.mjs +7 -1
- package/esm2020/core/common/version.mjs +2 -2
- package/esm2020/core/data/definitions/order-definitions.mjs +430 -429
- package/esm2020/core/data/providers/collection-data.service.mjs +1 -1
- package/esm2020/core/data/providers/promotion-data.service.mjs +3 -2
- package/esm2020/core/public_api.mjs +2 -1
- package/esm2020/core/shared/components/object-tree/object-tree.component.mjs +4 -4
- package/esm2020/core/shared/dynamic-form-inputs/relation-form-input/generic/relation-generic-input.component.mjs +54 -0
- package/esm2020/core/shared/dynamic-form-inputs/relation-form-input/relation-form-input.component.mjs +5 -4
- package/esm2020/core/shared/shared.module.mjs +5 -1
- package/esm2020/order/components/cancel-order-dialog/cancel-order-dialog.component.mjs +8 -4
- package/esm2020/order/components/order-editor/order-editor.component.mjs +26 -10
- package/esm2020/order/components/refund-order-dialog/refund-order-dialog.component.mjs +8 -4
- package/fesm2015/vendure-admin-ui-catalog.mjs.map +1 -1
- package/fesm2015/vendure-admin-ui-core.mjs +554 -498
- package/fesm2015/vendure-admin-ui-core.mjs.map +1 -1
- package/fesm2015/vendure-admin-ui-order.mjs +36 -14
- package/fesm2015/vendure-admin-ui-order.mjs.map +1 -1
- package/fesm2020/vendure-admin-ui-catalog.mjs.map +1 -1
- package/fesm2020/vendure-admin-ui-core.mjs +552 -496
- package/fesm2020/vendure-admin-ui-core.mjs.map +1 -1
- package/fesm2020/vendure-admin-ui-order.mjs +34 -13
- package/fesm2020/vendure-admin-ui-order.mjs.map +1 -1
- package/order/components/order-editor/order-editor.component.d.ts +8 -2
- package/package.json +2 -2
- package/static/i18n-messages/cs.json +2 -0
- package/static/i18n-messages/de.json +2 -0
- package/static/i18n-messages/en.json +3 -1
- package/static/i18n-messages/es.json +2 -0
- package/static/i18n-messages/fr.json +2 -0
- package/static/i18n-messages/it.json +2 -0
- package/static/i18n-messages/pl.json +2 -0
- package/static/i18n-messages/pt_BR.json +2 -0
- package/static/i18n-messages/pt_PT.json +2 -0
- package/static/i18n-messages/ru.json +2 -0
- package/static/i18n-messages/uk.json +2 -0
- package/static/i18n-messages/zh_Hans.json +2 -0
- package/static/i18n-messages/zh_Hant.json +2 -0
- package/static/vendure-ui-config.json +25 -10
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Injectable, Component, isDevMode, Inject, HostListener, ChangeDetectionStrategy, Input, EventEmitter, Output, Directive, Optional, Pipe, ViewChild, APP_INITIALIZER, Injector, NgModule, HostBinding, ContentChild, ChangeDetectorRef, ViewContainerRef, ViewChildren, TemplateRef, forwardRef, ContentChildren,
|
|
2
|
+
import { Injectable, Component, isDevMode, Inject, HostListener, ChangeDetectionStrategy, Input, EventEmitter, Output, Directive, Optional, Pipe, ViewChild, APP_INITIALIZER, Injector, NgModule, HostBinding, ContentChild, ChangeDetectorRef, ViewContainerRef, ViewChildren, TemplateRef, SkipSelf, forwardRef, ContentChildren, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
|
|
3
3
|
import * as i3 from '@angular/common';
|
|
4
4
|
import { DOCUMENT, CommonModule, PlatformLocation } from '@angular/common';
|
|
5
5
|
import { concatMap, bufferCount, map, filter, distinctUntilChanged, skip, takeUntil, tap, take, finalize, switchMap, mergeMap, mapTo, catchError, startWith, shareReplay, throttleTime, scan, debounceTime, delay } from 'rxjs/operators';
|
|
@@ -2036,458 +2036,459 @@ class FacetDataService {
|
|
|
2036
2036
|
}
|
|
2037
2037
|
}
|
|
2038
2038
|
|
|
2039
|
-
const DISCOUNT_FRAGMENT = gql `
|
|
2040
|
-
fragment Discount on Discount {
|
|
2041
|
-
adjustmentSource
|
|
2042
|
-
amount
|
|
2043
|
-
amountWithTax
|
|
2044
|
-
description
|
|
2045
|
-
type
|
|
2046
|
-
}
|
|
2047
|
-
`;
|
|
2048
|
-
const REFUND_FRAGMENT = gql `
|
|
2049
|
-
fragment Refund on Refund {
|
|
2050
|
-
id
|
|
2051
|
-
state
|
|
2052
|
-
items
|
|
2053
|
-
shipping
|
|
2054
|
-
adjustment
|
|
2055
|
-
transactionId
|
|
2056
|
-
paymentId
|
|
2057
|
-
}
|
|
2058
|
-
`;
|
|
2059
|
-
const ORDER_ADDRESS_FRAGMENT = gql `
|
|
2060
|
-
fragment OrderAddress on OrderAddress {
|
|
2061
|
-
fullName
|
|
2062
|
-
company
|
|
2063
|
-
streetLine1
|
|
2064
|
-
streetLine2
|
|
2065
|
-
city
|
|
2066
|
-
province
|
|
2067
|
-
postalCode
|
|
2068
|
-
country
|
|
2069
|
-
countryCode
|
|
2070
|
-
phoneNumber
|
|
2071
|
-
}
|
|
2072
|
-
`;
|
|
2073
|
-
const ORDER_FRAGMENT = gql `
|
|
2074
|
-
fragment Order on Order {
|
|
2075
|
-
id
|
|
2076
|
-
createdAt
|
|
2077
|
-
updatedAt
|
|
2078
|
-
orderPlacedAt
|
|
2079
|
-
code
|
|
2080
|
-
state
|
|
2081
|
-
nextStates
|
|
2082
|
-
total
|
|
2083
|
-
currencyCode
|
|
2084
|
-
customer {
|
|
2085
|
-
id
|
|
2086
|
-
firstName
|
|
2087
|
-
lastName
|
|
2088
|
-
}
|
|
2089
|
-
shippingLines {
|
|
2090
|
-
shippingMethod {
|
|
2091
|
-
name
|
|
2092
|
-
}
|
|
2093
|
-
}
|
|
2094
|
-
}
|
|
2095
|
-
`;
|
|
2096
|
-
const FULFILLMENT_FRAGMENT = gql `
|
|
2097
|
-
fragment Fulfillment on Fulfillment {
|
|
2098
|
-
id
|
|
2099
|
-
state
|
|
2100
|
-
nextStates
|
|
2101
|
-
createdAt
|
|
2102
|
-
updatedAt
|
|
2103
|
-
method
|
|
2104
|
-
orderItems {
|
|
2105
|
-
id
|
|
2106
|
-
}
|
|
2107
|
-
trackingCode
|
|
2108
|
-
}
|
|
2109
|
-
`;
|
|
2110
|
-
const ORDER_LINE_FRAGMENT = gql `
|
|
2111
|
-
fragment OrderLine on OrderLine {
|
|
2112
|
-
id
|
|
2113
|
-
featuredAsset {
|
|
2114
|
-
preview
|
|
2115
|
-
}
|
|
2116
|
-
productVariant {
|
|
2117
|
-
id
|
|
2118
|
-
name
|
|
2119
|
-
sku
|
|
2120
|
-
trackInventory
|
|
2121
|
-
stockOnHand
|
|
2122
|
-
}
|
|
2123
|
-
discounts {
|
|
2124
|
-
...Discount
|
|
2125
|
-
}
|
|
2126
|
-
unitPrice
|
|
2127
|
-
unitPriceWithTax
|
|
2128
|
-
proratedUnitPrice
|
|
2129
|
-
proratedUnitPriceWithTax
|
|
2130
|
-
quantity
|
|
2131
|
-
items {
|
|
2132
|
-
id
|
|
2133
|
-
unitPrice
|
|
2134
|
-
unitPriceWithTax
|
|
2135
|
-
taxRate
|
|
2136
|
-
refundId
|
|
2137
|
-
cancelled
|
|
2138
|
-
fulfillment {
|
|
2139
|
-
...Fulfillment
|
|
2140
|
-
}
|
|
2141
|
-
}
|
|
2142
|
-
linePrice
|
|
2143
|
-
lineTax
|
|
2144
|
-
linePriceWithTax
|
|
2145
|
-
discountedLinePrice
|
|
2146
|
-
discountedLinePriceWithTax
|
|
2147
|
-
}
|
|
2148
|
-
`;
|
|
2149
|
-
const ORDER_DETAIL_FRAGMENT = gql `
|
|
2150
|
-
fragment OrderDetail on Order {
|
|
2151
|
-
id
|
|
2152
|
-
createdAt
|
|
2153
|
-
updatedAt
|
|
2154
|
-
code
|
|
2155
|
-
state
|
|
2156
|
-
nextStates
|
|
2157
|
-
active
|
|
2158
|
-
customer {
|
|
2159
|
-
id
|
|
2160
|
-
firstName
|
|
2161
|
-
lastName
|
|
2162
|
-
}
|
|
2163
|
-
lines {
|
|
2164
|
-
...OrderLine
|
|
2165
|
-
}
|
|
2166
|
-
surcharges {
|
|
2167
|
-
id
|
|
2168
|
-
sku
|
|
2169
|
-
description
|
|
2170
|
-
price
|
|
2171
|
-
priceWithTax
|
|
2172
|
-
taxRate
|
|
2173
|
-
}
|
|
2174
|
-
discounts {
|
|
2175
|
-
...Discount
|
|
2176
|
-
}
|
|
2177
|
-
promotions {
|
|
2178
|
-
id
|
|
2179
|
-
couponCode
|
|
2180
|
-
}
|
|
2181
|
-
subTotal
|
|
2182
|
-
subTotalWithTax
|
|
2183
|
-
total
|
|
2184
|
-
totalWithTax
|
|
2185
|
-
currencyCode
|
|
2186
|
-
shipping
|
|
2187
|
-
shippingWithTax
|
|
2188
|
-
shippingLines {
|
|
2189
|
-
shippingMethod {
|
|
2190
|
-
id
|
|
2191
|
-
code
|
|
2192
|
-
name
|
|
2193
|
-
fulfillmentHandlerCode
|
|
2194
|
-
description
|
|
2195
|
-
}
|
|
2196
|
-
}
|
|
2197
|
-
taxSummary {
|
|
2198
|
-
description
|
|
2199
|
-
taxBase
|
|
2200
|
-
taxRate
|
|
2201
|
-
taxTotal
|
|
2202
|
-
}
|
|
2203
|
-
shippingAddress {
|
|
2204
|
-
...OrderAddress
|
|
2205
|
-
}
|
|
2206
|
-
billingAddress {
|
|
2207
|
-
...OrderAddress
|
|
2208
|
-
}
|
|
2209
|
-
payments {
|
|
2210
|
-
id
|
|
2211
|
-
createdAt
|
|
2212
|
-
transactionId
|
|
2213
|
-
amount
|
|
2214
|
-
method
|
|
2215
|
-
state
|
|
2216
|
-
nextStates
|
|
2217
|
-
errorMessage
|
|
2218
|
-
metadata
|
|
2219
|
-
refunds {
|
|
2220
|
-
id
|
|
2221
|
-
createdAt
|
|
2222
|
-
state
|
|
2223
|
-
items
|
|
2224
|
-
adjustment
|
|
2225
|
-
total
|
|
2226
|
-
paymentId
|
|
2227
|
-
reason
|
|
2228
|
-
transactionId
|
|
2229
|
-
method
|
|
2230
|
-
metadata
|
|
2231
|
-
orderItems {
|
|
2232
|
-
id
|
|
2233
|
-
}
|
|
2234
|
-
}
|
|
2235
|
-
}
|
|
2236
|
-
fulfillments {
|
|
2237
|
-
...Fulfillment
|
|
2238
|
-
}
|
|
2239
|
-
modifications {
|
|
2240
|
-
id
|
|
2241
|
-
createdAt
|
|
2242
|
-
isSettled
|
|
2243
|
-
priceChange
|
|
2244
|
-
note
|
|
2245
|
-
payment {
|
|
2246
|
-
id
|
|
2247
|
-
amount
|
|
2248
|
-
}
|
|
2249
|
-
orderItems {
|
|
2250
|
-
id
|
|
2251
|
-
}
|
|
2252
|
-
refund {
|
|
2253
|
-
id
|
|
2254
|
-
paymentId
|
|
2255
|
-
total
|
|
2256
|
-
}
|
|
2257
|
-
surcharges {
|
|
2258
|
-
id
|
|
2259
|
-
}
|
|
2260
|
-
}
|
|
2261
|
-
}
|
|
2262
|
-
${DISCOUNT_FRAGMENT}
|
|
2263
|
-
${ORDER_ADDRESS_FRAGMENT}
|
|
2264
|
-
${FULFILLMENT_FRAGMENT}
|
|
2265
|
-
${ORDER_LINE_FRAGMENT}
|
|
2266
|
-
`;
|
|
2267
|
-
const GET_ORDERS_LIST = gql `
|
|
2268
|
-
query GetOrderList($options: OrderListOptions) {
|
|
2269
|
-
orders(options: $options) {
|
|
2270
|
-
items {
|
|
2271
|
-
...Order
|
|
2272
|
-
}
|
|
2273
|
-
totalItems
|
|
2274
|
-
}
|
|
2275
|
-
}
|
|
2276
|
-
${ORDER_FRAGMENT}
|
|
2277
|
-
`;
|
|
2278
|
-
const GET_ORDER = gql `
|
|
2279
|
-
query GetOrder($id: ID!) {
|
|
2280
|
-
order(id: $id) {
|
|
2281
|
-
...OrderDetail
|
|
2282
|
-
}
|
|
2283
|
-
}
|
|
2284
|
-
${ORDER_DETAIL_FRAGMENT}
|
|
2285
|
-
`;
|
|
2286
|
-
const SETTLE_PAYMENT = gql `
|
|
2287
|
-
mutation SettlePayment($id: ID!) {
|
|
2288
|
-
settlePayment(id: $id) {
|
|
2289
|
-
... on Payment {
|
|
2290
|
-
id
|
|
2291
|
-
transactionId
|
|
2292
|
-
amount
|
|
2293
|
-
method
|
|
2294
|
-
state
|
|
2295
|
-
metadata
|
|
2296
|
-
}
|
|
2297
|
-
...ErrorResult
|
|
2298
|
-
... on SettlePaymentError {
|
|
2299
|
-
paymentErrorMessage
|
|
2300
|
-
}
|
|
2301
|
-
... on PaymentStateTransitionError {
|
|
2302
|
-
transitionError
|
|
2303
|
-
}
|
|
2304
|
-
... on OrderStateTransitionError {
|
|
2305
|
-
transitionError
|
|
2306
|
-
}
|
|
2307
|
-
}
|
|
2308
|
-
}
|
|
2309
|
-
${ERROR_RESULT_FRAGMENT}
|
|
2310
|
-
`;
|
|
2311
|
-
const TRANSITION_PAYMENT_TO_STATE = gql `
|
|
2312
|
-
mutation TransitionPaymentToState($id: ID!, $state: String!) {
|
|
2313
|
-
transitionPaymentToState(id: $id, state: $state) {
|
|
2314
|
-
... on Payment {
|
|
2315
|
-
id
|
|
2316
|
-
transactionId
|
|
2317
|
-
amount
|
|
2318
|
-
method
|
|
2319
|
-
state
|
|
2320
|
-
metadata
|
|
2321
|
-
}
|
|
2322
|
-
...ErrorResult
|
|
2323
|
-
... on PaymentStateTransitionError {
|
|
2324
|
-
transitionError
|
|
2325
|
-
}
|
|
2326
|
-
}
|
|
2327
|
-
}
|
|
2328
|
-
${ERROR_RESULT_FRAGMENT}
|
|
2329
|
-
`;
|
|
2330
|
-
const CREATE_FULFILLMENT = gql `
|
|
2331
|
-
mutation CreateFulfillment($input: FulfillOrderInput!) {
|
|
2332
|
-
addFulfillmentToOrder(input: $input) {
|
|
2333
|
-
...Fulfillment
|
|
2334
|
-
... on CreateFulfillmentError {
|
|
2335
|
-
errorCode
|
|
2336
|
-
message
|
|
2337
|
-
fulfillmentHandlerError
|
|
2338
|
-
}
|
|
2339
|
-
... on FulfillmentStateTransitionError {
|
|
2340
|
-
errorCode
|
|
2341
|
-
message
|
|
2342
|
-
transitionError
|
|
2343
|
-
}
|
|
2344
|
-
...ErrorResult
|
|
2345
|
-
}
|
|
2346
|
-
}
|
|
2347
|
-
${FULFILLMENT_FRAGMENT}
|
|
2348
|
-
${ERROR_RESULT_FRAGMENT}
|
|
2039
|
+
const DISCOUNT_FRAGMENT = gql `
|
|
2040
|
+
fragment Discount on Discount {
|
|
2041
|
+
adjustmentSource
|
|
2042
|
+
amount
|
|
2043
|
+
amountWithTax
|
|
2044
|
+
description
|
|
2045
|
+
type
|
|
2046
|
+
}
|
|
2349
2047
|
`;
|
|
2350
|
-
const
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
|
|
2048
|
+
const REFUND_FRAGMENT = gql `
|
|
2049
|
+
fragment Refund on Refund {
|
|
2050
|
+
id
|
|
2051
|
+
state
|
|
2052
|
+
items
|
|
2053
|
+
shipping
|
|
2054
|
+
adjustment
|
|
2055
|
+
transactionId
|
|
2056
|
+
paymentId
|
|
2057
|
+
}
|
|
2359
2058
|
`;
|
|
2360
|
-
const
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2059
|
+
const ORDER_ADDRESS_FRAGMENT = gql `
|
|
2060
|
+
fragment OrderAddress on OrderAddress {
|
|
2061
|
+
fullName
|
|
2062
|
+
company
|
|
2063
|
+
streetLine1
|
|
2064
|
+
streetLine2
|
|
2065
|
+
city
|
|
2066
|
+
province
|
|
2067
|
+
postalCode
|
|
2068
|
+
country
|
|
2069
|
+
countryCode
|
|
2070
|
+
phoneNumber
|
|
2071
|
+
}
|
|
2369
2072
|
`;
|
|
2370
|
-
const
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
|
|
2376
|
-
|
|
2377
|
-
|
|
2378
|
-
|
|
2073
|
+
const ORDER_FRAGMENT = gql `
|
|
2074
|
+
fragment Order on Order {
|
|
2075
|
+
id
|
|
2076
|
+
createdAt
|
|
2077
|
+
updatedAt
|
|
2078
|
+
orderPlacedAt
|
|
2079
|
+
code
|
|
2080
|
+
state
|
|
2081
|
+
nextStates
|
|
2082
|
+
total
|
|
2083
|
+
currencyCode
|
|
2084
|
+
customer {
|
|
2085
|
+
id
|
|
2086
|
+
firstName
|
|
2087
|
+
lastName
|
|
2088
|
+
}
|
|
2089
|
+
shippingLines {
|
|
2090
|
+
shippingMethod {
|
|
2091
|
+
name
|
|
2092
|
+
}
|
|
2093
|
+
}
|
|
2094
|
+
}
|
|
2379
2095
|
`;
|
|
2380
|
-
const
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
|
-
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
|
|
2392
|
-
|
|
2393
|
-
firstName
|
|
2394
|
-
lastName
|
|
2395
|
-
}
|
|
2396
|
-
data
|
|
2397
|
-
}
|
|
2398
|
-
}
|
|
2399
|
-
}
|
|
2400
|
-
}
|
|
2096
|
+
const FULFILLMENT_FRAGMENT = gql `
|
|
2097
|
+
fragment Fulfillment on Fulfillment {
|
|
2098
|
+
id
|
|
2099
|
+
state
|
|
2100
|
+
nextStates
|
|
2101
|
+
createdAt
|
|
2102
|
+
updatedAt
|
|
2103
|
+
method
|
|
2104
|
+
orderItems {
|
|
2105
|
+
id
|
|
2106
|
+
}
|
|
2107
|
+
trackingCode
|
|
2108
|
+
}
|
|
2401
2109
|
`;
|
|
2402
|
-
const
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2110
|
+
const ORDER_LINE_FRAGMENT = gql `
|
|
2111
|
+
fragment OrderLine on OrderLine {
|
|
2112
|
+
id
|
|
2113
|
+
featuredAsset {
|
|
2114
|
+
preview
|
|
2115
|
+
}
|
|
2116
|
+
productVariant {
|
|
2117
|
+
id
|
|
2118
|
+
name
|
|
2119
|
+
sku
|
|
2120
|
+
trackInventory
|
|
2121
|
+
stockOnHand
|
|
2122
|
+
}
|
|
2123
|
+
discounts {
|
|
2124
|
+
...Discount
|
|
2125
|
+
}
|
|
2126
|
+
unitPrice
|
|
2127
|
+
unitPriceWithTax
|
|
2128
|
+
proratedUnitPrice
|
|
2129
|
+
proratedUnitPriceWithTax
|
|
2130
|
+
quantity
|
|
2131
|
+
items {
|
|
2132
|
+
id
|
|
2133
|
+
unitPrice
|
|
2134
|
+
unitPriceWithTax
|
|
2135
|
+
taxRate
|
|
2136
|
+
refundId
|
|
2137
|
+
cancelled
|
|
2138
|
+
fulfillment {
|
|
2139
|
+
...Fulfillment
|
|
2140
|
+
}
|
|
2141
|
+
}
|
|
2142
|
+
linePrice
|
|
2143
|
+
lineTax
|
|
2144
|
+
linePriceWithTax
|
|
2145
|
+
discountedLinePrice
|
|
2146
|
+
discountedLinePriceWithTax
|
|
2147
|
+
}
|
|
2408
2148
|
`;
|
|
2409
|
-
const
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
|
|
2149
|
+
const ORDER_DETAIL_FRAGMENT = gql `
|
|
2150
|
+
fragment OrderDetail on Order {
|
|
2151
|
+
id
|
|
2152
|
+
createdAt
|
|
2153
|
+
updatedAt
|
|
2154
|
+
code
|
|
2155
|
+
state
|
|
2156
|
+
nextStates
|
|
2157
|
+
active
|
|
2158
|
+
couponCodes
|
|
2159
|
+
customer {
|
|
2160
|
+
id
|
|
2161
|
+
firstName
|
|
2162
|
+
lastName
|
|
2163
|
+
}
|
|
2164
|
+
lines {
|
|
2165
|
+
...OrderLine
|
|
2166
|
+
}
|
|
2167
|
+
surcharges {
|
|
2168
|
+
id
|
|
2169
|
+
sku
|
|
2170
|
+
description
|
|
2171
|
+
price
|
|
2172
|
+
priceWithTax
|
|
2173
|
+
taxRate
|
|
2174
|
+
}
|
|
2175
|
+
discounts {
|
|
2176
|
+
...Discount
|
|
2177
|
+
}
|
|
2178
|
+
promotions {
|
|
2179
|
+
id
|
|
2180
|
+
couponCode
|
|
2181
|
+
}
|
|
2182
|
+
subTotal
|
|
2183
|
+
subTotalWithTax
|
|
2184
|
+
total
|
|
2185
|
+
totalWithTax
|
|
2186
|
+
currencyCode
|
|
2187
|
+
shipping
|
|
2188
|
+
shippingWithTax
|
|
2189
|
+
shippingLines {
|
|
2190
|
+
shippingMethod {
|
|
2191
|
+
id
|
|
2192
|
+
code
|
|
2193
|
+
name
|
|
2194
|
+
fulfillmentHandlerCode
|
|
2195
|
+
description
|
|
2196
|
+
}
|
|
2197
|
+
}
|
|
2198
|
+
taxSummary {
|
|
2199
|
+
description
|
|
2200
|
+
taxBase
|
|
2201
|
+
taxRate
|
|
2202
|
+
taxTotal
|
|
2203
|
+
}
|
|
2204
|
+
shippingAddress {
|
|
2205
|
+
...OrderAddress
|
|
2206
|
+
}
|
|
2207
|
+
billingAddress {
|
|
2208
|
+
...OrderAddress
|
|
2209
|
+
}
|
|
2210
|
+
payments {
|
|
2211
|
+
id
|
|
2212
|
+
createdAt
|
|
2213
|
+
transactionId
|
|
2214
|
+
amount
|
|
2215
|
+
method
|
|
2216
|
+
state
|
|
2217
|
+
nextStates
|
|
2218
|
+
errorMessage
|
|
2219
|
+
metadata
|
|
2220
|
+
refunds {
|
|
2221
|
+
id
|
|
2222
|
+
createdAt
|
|
2223
|
+
state
|
|
2224
|
+
items
|
|
2225
|
+
adjustment
|
|
2226
|
+
total
|
|
2227
|
+
paymentId
|
|
2228
|
+
reason
|
|
2229
|
+
transactionId
|
|
2230
|
+
method
|
|
2231
|
+
metadata
|
|
2232
|
+
orderItems {
|
|
2233
|
+
id
|
|
2234
|
+
}
|
|
2235
|
+
}
|
|
2236
|
+
}
|
|
2237
|
+
fulfillments {
|
|
2238
|
+
...Fulfillment
|
|
2239
|
+
}
|
|
2240
|
+
modifications {
|
|
2241
|
+
id
|
|
2242
|
+
createdAt
|
|
2243
|
+
isSettled
|
|
2244
|
+
priceChange
|
|
2245
|
+
note
|
|
2246
|
+
payment {
|
|
2247
|
+
id
|
|
2248
|
+
amount
|
|
2249
|
+
}
|
|
2250
|
+
orderItems {
|
|
2251
|
+
id
|
|
2252
|
+
}
|
|
2253
|
+
refund {
|
|
2254
|
+
id
|
|
2255
|
+
paymentId
|
|
2256
|
+
total
|
|
2257
|
+
}
|
|
2258
|
+
surcharges {
|
|
2259
|
+
id
|
|
2260
|
+
}
|
|
2261
|
+
}
|
|
2262
|
+
}
|
|
2263
|
+
${DISCOUNT_FRAGMENT}
|
|
2264
|
+
${ORDER_ADDRESS_FRAGMENT}
|
|
2265
|
+
${FULFILLMENT_FRAGMENT}
|
|
2266
|
+
${ORDER_LINE_FRAGMENT}
|
|
2267
|
+
`;
|
|
2268
|
+
const GET_ORDERS_LIST = gql `
|
|
2269
|
+
query GetOrderList($options: OrderListOptions) {
|
|
2270
|
+
orders(options: $options) {
|
|
2271
|
+
items {
|
|
2272
|
+
...Order
|
|
2273
|
+
}
|
|
2274
|
+
totalItems
|
|
2275
|
+
}
|
|
2276
|
+
}
|
|
2277
|
+
${ORDER_FRAGMENT}
|
|
2417
2278
|
`;
|
|
2418
|
-
const
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
}
|
|
2279
|
+
const GET_ORDER = gql `
|
|
2280
|
+
query GetOrder($id: ID!) {
|
|
2281
|
+
order(id: $id) {
|
|
2282
|
+
...OrderDetail
|
|
2283
|
+
}
|
|
2284
|
+
}
|
|
2285
|
+
${ORDER_DETAIL_FRAGMENT}
|
|
2286
|
+
`;
|
|
2287
|
+
const SETTLE_PAYMENT = gql `
|
|
2288
|
+
mutation SettlePayment($id: ID!) {
|
|
2289
|
+
settlePayment(id: $id) {
|
|
2290
|
+
... on Payment {
|
|
2291
|
+
id
|
|
2292
|
+
transactionId
|
|
2293
|
+
amount
|
|
2294
|
+
method
|
|
2295
|
+
state
|
|
2296
|
+
metadata
|
|
2297
|
+
}
|
|
2298
|
+
...ErrorResult
|
|
2299
|
+
... on SettlePaymentError {
|
|
2300
|
+
paymentErrorMessage
|
|
2301
|
+
}
|
|
2302
|
+
... on PaymentStateTransitionError {
|
|
2303
|
+
transitionError
|
|
2304
|
+
}
|
|
2305
|
+
... on OrderStateTransitionError {
|
|
2306
|
+
transitionError
|
|
2307
|
+
}
|
|
2308
|
+
}
|
|
2309
|
+
}
|
|
2310
|
+
${ERROR_RESULT_FRAGMENT}
|
|
2311
|
+
`;
|
|
2312
|
+
const TRANSITION_PAYMENT_TO_STATE = gql `
|
|
2313
|
+
mutation TransitionPaymentToState($id: ID!, $state: String!) {
|
|
2314
|
+
transitionPaymentToState(id: $id, state: $state) {
|
|
2315
|
+
... on Payment {
|
|
2316
|
+
id
|
|
2317
|
+
transactionId
|
|
2318
|
+
amount
|
|
2319
|
+
method
|
|
2320
|
+
state
|
|
2321
|
+
metadata
|
|
2322
|
+
}
|
|
2323
|
+
...ErrorResult
|
|
2324
|
+
... on PaymentStateTransitionError {
|
|
2325
|
+
transitionError
|
|
2326
|
+
}
|
|
2327
|
+
}
|
|
2328
|
+
}
|
|
2329
|
+
${ERROR_RESULT_FRAGMENT}
|
|
2330
|
+
`;
|
|
2331
|
+
const CREATE_FULFILLMENT = gql `
|
|
2332
|
+
mutation CreateFulfillment($input: FulfillOrderInput!) {
|
|
2333
|
+
addFulfillmentToOrder(input: $input) {
|
|
2334
|
+
...Fulfillment
|
|
2335
|
+
... on CreateFulfillmentError {
|
|
2336
|
+
errorCode
|
|
2337
|
+
message
|
|
2338
|
+
fulfillmentHandlerError
|
|
2339
|
+
}
|
|
2340
|
+
... on FulfillmentStateTransitionError {
|
|
2341
|
+
errorCode
|
|
2342
|
+
message
|
|
2343
|
+
transitionError
|
|
2344
|
+
}
|
|
2345
|
+
...ErrorResult
|
|
2346
|
+
}
|
|
2347
|
+
}
|
|
2348
|
+
${FULFILLMENT_FRAGMENT}
|
|
2349
|
+
${ERROR_RESULT_FRAGMENT}
|
|
2350
|
+
`;
|
|
2351
|
+
const CANCEL_ORDER = gql `
|
|
2352
|
+
mutation CancelOrder($input: CancelOrderInput!) {
|
|
2353
|
+
cancelOrder(input: $input) {
|
|
2354
|
+
...OrderDetail
|
|
2355
|
+
...ErrorResult
|
|
2356
|
+
}
|
|
2357
|
+
}
|
|
2358
|
+
${ORDER_DETAIL_FRAGMENT}
|
|
2359
|
+
${ERROR_RESULT_FRAGMENT}
|
|
2360
|
+
`;
|
|
2361
|
+
const REFUND_ORDER = gql `
|
|
2362
|
+
mutation RefundOrder($input: RefundOrderInput!) {
|
|
2363
|
+
refundOrder(input: $input) {
|
|
2364
|
+
...Refund
|
|
2365
|
+
...ErrorResult
|
|
2366
|
+
}
|
|
2367
|
+
}
|
|
2368
|
+
${REFUND_FRAGMENT}
|
|
2369
|
+
${ERROR_RESULT_FRAGMENT}
|
|
2370
|
+
`;
|
|
2371
|
+
const SETTLE_REFUND = gql `
|
|
2372
|
+
mutation SettleRefund($input: SettleRefundInput!) {
|
|
2373
|
+
settleRefund(input: $input) {
|
|
2374
|
+
...Refund
|
|
2375
|
+
...ErrorResult
|
|
2376
|
+
}
|
|
2377
|
+
}
|
|
2378
|
+
${REFUND_FRAGMENT}
|
|
2379
|
+
${ERROR_RESULT_FRAGMENT}
|
|
2380
|
+
`;
|
|
2381
|
+
const GET_ORDER_HISTORY = gql `
|
|
2382
|
+
query GetOrderHistory($id: ID!, $options: HistoryEntryListOptions) {
|
|
2383
|
+
order(id: $id) {
|
|
2384
|
+
id
|
|
2385
|
+
history(options: $options) {
|
|
2386
|
+
totalItems
|
|
2387
|
+
items {
|
|
2388
|
+
id
|
|
2389
|
+
type
|
|
2390
|
+
createdAt
|
|
2391
|
+
isPublic
|
|
2392
|
+
administrator {
|
|
2393
|
+
id
|
|
2394
|
+
firstName
|
|
2395
|
+
lastName
|
|
2396
|
+
}
|
|
2397
|
+
data
|
|
2398
|
+
}
|
|
2399
|
+
}
|
|
2400
|
+
}
|
|
2401
|
+
}
|
|
2425
2402
|
`;
|
|
2426
|
-
const
|
|
2427
|
-
mutation
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
transitionError
|
|
2433
|
-
}
|
|
2434
|
-
}
|
|
2435
|
-
}
|
|
2436
|
-
${ORDER_FRAGMENT}
|
|
2437
|
-
${ERROR_RESULT_FRAGMENT}
|
|
2403
|
+
const ADD_NOTE_TO_ORDER = gql `
|
|
2404
|
+
mutation AddNoteToOrder($input: AddNoteToOrderInput!) {
|
|
2405
|
+
addNoteToOrder(input: $input) {
|
|
2406
|
+
id
|
|
2407
|
+
}
|
|
2408
|
+
}
|
|
2438
2409
|
`;
|
|
2439
|
-
const
|
|
2440
|
-
mutation
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2410
|
+
const UPDATE_ORDER_NOTE = gql `
|
|
2411
|
+
mutation UpdateOrderNote($input: UpdateOrderNoteInput!) {
|
|
2412
|
+
updateOrderNote(input: $input) {
|
|
2413
|
+
id
|
|
2414
|
+
data
|
|
2415
|
+
isPublic
|
|
2416
|
+
}
|
|
2417
|
+
}
|
|
2446
2418
|
`;
|
|
2447
|
-
const
|
|
2448
|
-
mutation
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
}
|
|
2455
|
-
}
|
|
2456
|
-
}
|
|
2457
|
-
${FULFILLMENT_FRAGMENT}
|
|
2458
|
-
${ERROR_RESULT_FRAGMENT}
|
|
2419
|
+
const DELETE_ORDER_NOTE = gql `
|
|
2420
|
+
mutation DeleteOrderNote($id: ID!) {
|
|
2421
|
+
deleteOrderNote(id: $id) {
|
|
2422
|
+
result
|
|
2423
|
+
message
|
|
2424
|
+
}
|
|
2425
|
+
}
|
|
2459
2426
|
`;
|
|
2460
|
-
const
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
}
|
|
2427
|
+
const TRANSITION_ORDER_TO_STATE = gql `
|
|
2428
|
+
mutation TransitionOrderToState($id: ID!, $state: String!) {
|
|
2429
|
+
transitionOrderToState(id: $id, state: $state) {
|
|
2430
|
+
...Order
|
|
2431
|
+
...ErrorResult
|
|
2432
|
+
... on OrderStateTransitionError {
|
|
2433
|
+
transitionError
|
|
2434
|
+
}
|
|
2435
|
+
}
|
|
2436
|
+
}
|
|
2437
|
+
${ORDER_FRAGMENT}
|
|
2438
|
+
${ERROR_RESULT_FRAGMENT}
|
|
2471
2439
|
`;
|
|
2472
|
-
const
|
|
2473
|
-
mutation
|
|
2474
|
-
|
|
2475
|
-
...
|
|
2476
|
-
|
|
2477
|
-
|
|
2478
|
-
}
|
|
2479
|
-
|
|
2480
|
-
|
|
2440
|
+
const UPDATE_ORDER_CUSTOM_FIELDS = gql `
|
|
2441
|
+
mutation UpdateOrderCustomFields($input: UpdateOrderInput!) {
|
|
2442
|
+
setOrderCustomFields(input: $input) {
|
|
2443
|
+
...Order
|
|
2444
|
+
}
|
|
2445
|
+
}
|
|
2446
|
+
${ORDER_FRAGMENT}
|
|
2447
|
+
`;
|
|
2448
|
+
const TRANSITION_FULFILLMENT_TO_STATE = gql `
|
|
2449
|
+
mutation TransitionFulfillmentToState($id: ID!, $state: String!) {
|
|
2450
|
+
transitionFulfillmentToState(id: $id, state: $state) {
|
|
2451
|
+
...Fulfillment
|
|
2452
|
+
...ErrorResult
|
|
2453
|
+
... on FulfillmentStateTransitionError {
|
|
2454
|
+
transitionError
|
|
2455
|
+
}
|
|
2456
|
+
}
|
|
2457
|
+
}
|
|
2458
|
+
${FULFILLMENT_FRAGMENT}
|
|
2459
|
+
${ERROR_RESULT_FRAGMENT}
|
|
2460
|
+
`;
|
|
2461
|
+
const GET_ORDER_SUMMARY = gql `
|
|
2462
|
+
query GetOrderSummary($start: DateTime!, $end: DateTime!) {
|
|
2463
|
+
orders(options: { filter: { orderPlacedAt: { between: { start: $start, end: $end } } } }) {
|
|
2464
|
+
totalItems
|
|
2465
|
+
items {
|
|
2466
|
+
id
|
|
2467
|
+
total
|
|
2468
|
+
currencyCode
|
|
2469
|
+
}
|
|
2470
|
+
}
|
|
2471
|
+
}
|
|
2481
2472
|
`;
|
|
2482
|
-
const
|
|
2483
|
-
mutation
|
|
2484
|
-
|
|
2485
|
-
...OrderDetail
|
|
2486
|
-
...ErrorResult
|
|
2487
|
-
}
|
|
2488
|
-
}
|
|
2489
|
-
${ORDER_DETAIL_FRAGMENT}
|
|
2490
|
-
${ERROR_RESULT_FRAGMENT}
|
|
2473
|
+
const MODIFY_ORDER = gql `
|
|
2474
|
+
mutation ModifyOrder($input: ModifyOrderInput!) {
|
|
2475
|
+
modifyOrder(input: $input) {
|
|
2476
|
+
...OrderDetail
|
|
2477
|
+
...ErrorResult
|
|
2478
|
+
}
|
|
2479
|
+
}
|
|
2480
|
+
${ORDER_DETAIL_FRAGMENT}
|
|
2481
|
+
${ERROR_RESULT_FRAGMENT}
|
|
2482
|
+
`;
|
|
2483
|
+
const ADD_MANUAL_PAYMENT_TO_ORDER = gql `
|
|
2484
|
+
mutation AddManualPayment($input: ManualPaymentInput!) {
|
|
2485
|
+
addManualPaymentToOrder(input: $input) {
|
|
2486
|
+
...OrderDetail
|
|
2487
|
+
...ErrorResult
|
|
2488
|
+
}
|
|
2489
|
+
}
|
|
2490
|
+
${ORDER_DETAIL_FRAGMENT}
|
|
2491
|
+
${ERROR_RESULT_FRAGMENT}
|
|
2491
2492
|
`;
|
|
2492
2493
|
|
|
2493
2494
|
class OrderDataService {
|
|
@@ -2936,6 +2937,9 @@ var ErrorCode;
|
|
|
2936
2937
|
ErrorCode["ALREADY_REFUNDED_ERROR"] = "ALREADY_REFUNDED_ERROR";
|
|
2937
2938
|
ErrorCode["CANCEL_ACTIVE_ORDER_ERROR"] = "CANCEL_ACTIVE_ORDER_ERROR";
|
|
2938
2939
|
ErrorCode["CHANNEL_DEFAULT_LANGUAGE_ERROR"] = "CHANNEL_DEFAULT_LANGUAGE_ERROR";
|
|
2940
|
+
ErrorCode["COUPON_CODE_EXPIRED_ERROR"] = "COUPON_CODE_EXPIRED_ERROR";
|
|
2941
|
+
ErrorCode["COUPON_CODE_INVALID_ERROR"] = "COUPON_CODE_INVALID_ERROR";
|
|
2942
|
+
ErrorCode["COUPON_CODE_LIMIT_ERROR"] = "COUPON_CODE_LIMIT_ERROR";
|
|
2939
2943
|
ErrorCode["CREATE_FULFILLMENT_ERROR"] = "CREATE_FULFILLMENT_ERROR";
|
|
2940
2944
|
ErrorCode["EMAIL_ADDRESS_CONFLICT_ERROR"] = "EMAIL_ADDRESS_CONFLICT_ERROR";
|
|
2941
2945
|
ErrorCode["EMPTY_ORDER_LINE_SELECTION_ERROR"] = "EMPTY_ORDER_LINE_SELECTION_ERROR";
|
|
@@ -4626,11 +4630,12 @@ class PromotionDataService {
|
|
|
4626
4630
|
constructor(baseDataService) {
|
|
4627
4631
|
this.baseDataService = baseDataService;
|
|
4628
4632
|
}
|
|
4629
|
-
getPromotions(take = 10, skip = 0) {
|
|
4633
|
+
getPromotions(take = 10, skip = 0, filter) {
|
|
4630
4634
|
return this.baseDataService.query(GET_PROMOTION_LIST, {
|
|
4631
4635
|
options: {
|
|
4632
4636
|
take,
|
|
4633
4637
|
skip,
|
|
4638
|
+
filter,
|
|
4634
4639
|
},
|
|
4635
4640
|
});
|
|
4636
4641
|
}
|
|
@@ -8329,6 +8334,9 @@ const result = {
|
|
|
8329
8334
|
'AlreadyRefundedError',
|
|
8330
8335
|
'CancelActiveOrderError',
|
|
8331
8336
|
'ChannelDefaultLanguageError',
|
|
8337
|
+
'CouponCodeExpiredError',
|
|
8338
|
+
'CouponCodeInvalidError',
|
|
8339
|
+
'CouponCodeLimitError',
|
|
8332
8340
|
'CreateFulfillmentError',
|
|
8333
8341
|
'EmailAddressConflictError',
|
|
8334
8342
|
'EmptyOrderLineSelectionError',
|
|
@@ -8361,6 +8369,9 @@ const result = {
|
|
|
8361
8369
|
'SettlePaymentError',
|
|
8362
8370
|
],
|
|
8363
8371
|
ModifyOrderResult: [
|
|
8372
|
+
'CouponCodeExpiredError',
|
|
8373
|
+
'CouponCodeInvalidError',
|
|
8374
|
+
'CouponCodeLimitError',
|
|
8364
8375
|
'InsufficientStockError',
|
|
8365
8376
|
'NegativeQuantityError',
|
|
8366
8377
|
'NoChangesSpecifiedError',
|
|
@@ -12353,6 +12364,99 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImpor
|
|
|
12353
12364
|
args: ['selector']
|
|
12354
12365
|
}] } });
|
|
12355
12366
|
|
|
12367
|
+
/**
|
|
12368
|
+
* @description
|
|
12369
|
+
* This component displays a plain JavaScript object as an expandable tree.
|
|
12370
|
+
*
|
|
12371
|
+
* @example
|
|
12372
|
+
* ```HTML
|
|
12373
|
+
* <vdr-object-tree [value]="payment.metadata"></vdr-object-tree>
|
|
12374
|
+
* ```
|
|
12375
|
+
*
|
|
12376
|
+
* @docsCategory components
|
|
12377
|
+
*/
|
|
12378
|
+
class ObjectTreeComponent {
|
|
12379
|
+
constructor(parent) {
|
|
12380
|
+
this.isArrayItem = false;
|
|
12381
|
+
if (parent) {
|
|
12382
|
+
this.depth = parent.depth + 1;
|
|
12383
|
+
}
|
|
12384
|
+
else {
|
|
12385
|
+
this.depth = 0;
|
|
12386
|
+
}
|
|
12387
|
+
}
|
|
12388
|
+
ngOnChanges() {
|
|
12389
|
+
this.entries = this.getEntries(this.value);
|
|
12390
|
+
this.expanded = this.depth === 0 || this.isArrayItem;
|
|
12391
|
+
this.valueIsArray = Object.keys(this.value).every(v => Number.isInteger(+v));
|
|
12392
|
+
}
|
|
12393
|
+
isObject(value) {
|
|
12394
|
+
return typeof value === 'object' && value !== null;
|
|
12395
|
+
}
|
|
12396
|
+
getEntries(inputValue) {
|
|
12397
|
+
if (!this.isObject(inputValue)) {
|
|
12398
|
+
return [{ key: '', value: inputValue }];
|
|
12399
|
+
}
|
|
12400
|
+
return Object.entries(inputValue).map(([key, value]) => ({ key, value }));
|
|
12401
|
+
}
|
|
12402
|
+
}
|
|
12403
|
+
ObjectTreeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ObjectTreeComponent, deps: [{ token: ObjectTreeComponent, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
12404
|
+
ObjectTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: ObjectTreeComponent, selector: "vdr-object-tree", inputs: { value: "value", isArrayItem: "isArrayItem" }, usesOnChanges: true, ngImport: i0, template: "<button class=\"icon-button\" (click)=\"expanded = !expanded\" *ngIf=\"depth !== 0 && !isArrayItem\">\r\n <clr-icon shape=\"caret\" size=\"12\" [dir]=\"expanded ? 'down' : 'right'\"></clr-icon>\r\n</button>\r\n<ul\r\n class=\"object-tree-node\"\r\n [ngClass]=\"'depth-' + depth\"\r\n [class.array-value]=\"valueIsArray\"\r\n [class.array-item]=\"isArrayItem\"\r\n [class.expanded]=\"expanded\"\r\n>\r\n <li *ngFor=\"let entry of entries\">\r\n <span class=\"key\" *ngIf=\"entry.key\">{{ entry.key }}:</span>\r\n <ng-container *ngIf=\"isObject(entry.value); else primitive\">\r\n <vdr-object-tree [value]=\"entry.value\" [isArrayItem]=\"valueIsArray\"></vdr-object-tree>\r\n </ng-container>\r\n <ng-template #primitive>\r\n {{ entry.value }}\r\n </ng-template>\r\n </li>\r\n</ul>\r\n", styles: [".object-tree-node{list-style-type:none;line-height:16px;font-size:12px;overflow:hidden;max-height:0}.object-tree-node.depth-0{margin-left:0;margin-top:8px}.object-tree-node.depth-1,.object-tree-node.depth-2,.object-tree-node.depth-3,.object-tree-node.depth-4,.object-tree-node.depth-5,.object-tree-node.depth-6{margin-left:6px}.object-tree-node.expanded{max-height:5000px}.object-tree-node.array-item{margin-top:-16px;margin-left:16px}.object-tree-node.array-value.expanded>li+li{margin-top:6px}.key{color:var(--color-text-300)}\n"], components: [{ type: ObjectTreeComponent, selector: "vdr-object-tree", inputs: ["value", "isArrayItem"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$3.ClrIconCustomTag, selector: "clr-icon" }, { type: i9.Dir, selector: "[dir]", inputs: ["dir"], outputs: ["dirChange"], exportAs: ["dir"] }, { type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
12405
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ObjectTreeComponent, decorators: [{
|
|
12406
|
+
type: Component,
|
|
12407
|
+
args: [{ selector: 'vdr-object-tree', changeDetection: ChangeDetectionStrategy.OnPush, template: "<button class=\"icon-button\" (click)=\"expanded = !expanded\" *ngIf=\"depth !== 0 && !isArrayItem\">\r\n <clr-icon shape=\"caret\" size=\"12\" [dir]=\"expanded ? 'down' : 'right'\"></clr-icon>\r\n</button>\r\n<ul\r\n class=\"object-tree-node\"\r\n [ngClass]=\"'depth-' + depth\"\r\n [class.array-value]=\"valueIsArray\"\r\n [class.array-item]=\"isArrayItem\"\r\n [class.expanded]=\"expanded\"\r\n>\r\n <li *ngFor=\"let entry of entries\">\r\n <span class=\"key\" *ngIf=\"entry.key\">{{ entry.key }}:</span>\r\n <ng-container *ngIf=\"isObject(entry.value); else primitive\">\r\n <vdr-object-tree [value]=\"entry.value\" [isArrayItem]=\"valueIsArray\"></vdr-object-tree>\r\n </ng-container>\r\n <ng-template #primitive>\r\n {{ entry.value }}\r\n </ng-template>\r\n </li>\r\n</ul>\r\n", styles: [".object-tree-node{list-style-type:none;line-height:16px;font-size:12px;overflow:hidden;max-height:0}.object-tree-node.depth-0{margin-left:0;margin-top:8px}.object-tree-node.depth-1,.object-tree-node.depth-2,.object-tree-node.depth-3,.object-tree-node.depth-4,.object-tree-node.depth-5,.object-tree-node.depth-6{margin-left:6px}.object-tree-node.expanded{max-height:5000px}.object-tree-node.array-item{margin-top:-16px;margin-left:16px}.object-tree-node.array-value.expanded>li+li{margin-top:6px}.key{color:var(--color-text-300)}\n"] }]
|
|
12408
|
+
}], ctorParameters: function () { return [{ type: ObjectTreeComponent, decorators: [{
|
|
12409
|
+
type: Optional
|
|
12410
|
+
}, {
|
|
12411
|
+
type: SkipSelf
|
|
12412
|
+
}] }]; }, propDecorators: { value: [{
|
|
12413
|
+
type: Input
|
|
12414
|
+
}], isArrayItem: [{
|
|
12415
|
+
type: Input
|
|
12416
|
+
}] } });
|
|
12417
|
+
|
|
12418
|
+
class RelationGenericInputComponent {
|
|
12419
|
+
constructor(modalService) {
|
|
12420
|
+
this.modalService = modalService;
|
|
12421
|
+
}
|
|
12422
|
+
selectRelationId() {
|
|
12423
|
+
this.modalService
|
|
12424
|
+
.fromComponent(RelationSelectorDialogComponent, {
|
|
12425
|
+
size: 'md',
|
|
12426
|
+
closable: true,
|
|
12427
|
+
locals: {
|
|
12428
|
+
title: marker('common.select-relation-id'),
|
|
12429
|
+
selectorTemplate: this.template,
|
|
12430
|
+
},
|
|
12431
|
+
})
|
|
12432
|
+
.subscribe(result => {
|
|
12433
|
+
if (result) {
|
|
12434
|
+
this.parentFormControl.setValue({ id: result });
|
|
12435
|
+
this.parentFormControl.markAsDirty();
|
|
12436
|
+
}
|
|
12437
|
+
});
|
|
12438
|
+
}
|
|
12439
|
+
remove() {
|
|
12440
|
+
this.parentFormControl.setValue(null);
|
|
12441
|
+
this.parentFormControl.markAsDirty();
|
|
12442
|
+
}
|
|
12443
|
+
}
|
|
12444
|
+
RelationGenericInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: RelationGenericInputComponent, deps: [{ token: ModalService }], target: i0.ɵɵFactoryTarget.Component });
|
|
12445
|
+
RelationGenericInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: RelationGenericInputComponent, selector: "vdr-relation-generic-input", inputs: { readonly: "readonly", parentFormControl: "parentFormControl", config: "config" }, viewQueries: [{ propertyName: "template", first: true, predicate: ["selector"], descendants: true }], ngImport: i0, template: "<vdr-relation-card\r\n (select)=\"selectRelationId()\"\r\n (remove)=\"remove()\"\r\n placeholderIcon=\"objects\"\r\n [entity]=\"parentFormControl.value\"\r\n [selectLabel]=\"'common.select-relation-id' | translate\"\r\n [removable]=\"!config.list\"\r\n [readonly]=\"readonly\"\r\n>\r\n {{ parentFormControl.value | json }}\r\n <ng-template vdrRelationCardPreview>\r\n <div class=\"placeholder\">\r\n <clr-icon shape=\"objects\" size=\"50\"></clr-icon>\r\n </div>\r\n </ng-template>\r\n <ng-template vdrRelationCardDetail let-entity=\"entity\">\r\n <div class=\"\">\r\n {{ config.entity }}: <strong>{{ entity.id }}</strong>\r\n </div>\r\n <vdr-object-tree [value]=\"{ properties: parentFormControl.value }\"></vdr-object-tree>\r\n </ng-template>\r\n</vdr-relation-card>\r\n\r\n<ng-template #selector let-select=\"select\">\r\n <div class=\"id-select-wrapper\">\r\n <clr-input-container>\r\n <input [(ngModel)]=\"relationId\" type=\"text\" clrInput [readonly]=\"readonly\" />\r\n </clr-input-container>\r\n <div>\r\n <button class=\"btn btn-primary m0\" (click)=\"select(relationId)\">\r\n {{ 'common.confirm' | translate }}\r\n </button>\r\n </div>\r\n </div>\r\n</ng-template>\r\n", styles: [".id-select-wrapper{display:flex;align-items:flex-end}\n"], components: [{ type: RelationCardComponent, selector: "vdr-relation-card", inputs: ["entity", "placeholderIcon", "selectLabel", "readonly", "removable"], outputs: ["select", "remove"] }, { type: ObjectTreeComponent, selector: "vdr-object-tree", inputs: ["value", "isArrayItem"] }, { type: i1$3.ClrInputContainer, selector: "clr-input-container" }], directives: [{ type: RelationCardPreviewDirective, selector: "[vdrRelationCardPreview]" }, { type: i1$3.ClrIconCustomTag, selector: "clr-icon" }, { type: RelationCardDetailDirective, selector: "[vdrRelationCardDetail]" }, { type: FormFieldControlDirective, selector: "input, textarea, select" }, { type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i1$3.ClrInput, selector: "[clrInput]" }, { type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], pipes: { "translate": i4.TranslatePipe, "json": i3.JsonPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
12446
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: RelationGenericInputComponent, decorators: [{
|
|
12447
|
+
type: Component,
|
|
12448
|
+
args: [{ selector: 'vdr-relation-generic-input', changeDetection: ChangeDetectionStrategy.OnPush, template: "<vdr-relation-card\r\n (select)=\"selectRelationId()\"\r\n (remove)=\"remove()\"\r\n placeholderIcon=\"objects\"\r\n [entity]=\"parentFormControl.value\"\r\n [selectLabel]=\"'common.select-relation-id' | translate\"\r\n [removable]=\"!config.list\"\r\n [readonly]=\"readonly\"\r\n>\r\n {{ parentFormControl.value | json }}\r\n <ng-template vdrRelationCardPreview>\r\n <div class=\"placeholder\">\r\n <clr-icon shape=\"objects\" size=\"50\"></clr-icon>\r\n </div>\r\n </ng-template>\r\n <ng-template vdrRelationCardDetail let-entity=\"entity\">\r\n <div class=\"\">\r\n {{ config.entity }}: <strong>{{ entity.id }}</strong>\r\n </div>\r\n <vdr-object-tree [value]=\"{ properties: parentFormControl.value }\"></vdr-object-tree>\r\n </ng-template>\r\n</vdr-relation-card>\r\n\r\n<ng-template #selector let-select=\"select\">\r\n <div class=\"id-select-wrapper\">\r\n <clr-input-container>\r\n <input [(ngModel)]=\"relationId\" type=\"text\" clrInput [readonly]=\"readonly\" />\r\n </clr-input-container>\r\n <div>\r\n <button class=\"btn btn-primary m0\" (click)=\"select(relationId)\">\r\n {{ 'common.confirm' | translate }}\r\n </button>\r\n </div>\r\n </div>\r\n</ng-template>\r\n", styles: [".id-select-wrapper{display:flex;align-items:flex-end}\n"] }]
|
|
12449
|
+
}], ctorParameters: function () { return [{ type: ModalService }]; }, propDecorators: { readonly: [{
|
|
12450
|
+
type: Input
|
|
12451
|
+
}], parentFormControl: [{
|
|
12452
|
+
type: Input
|
|
12453
|
+
}], config: [{
|
|
12454
|
+
type: Input
|
|
12455
|
+
}], template: [{
|
|
12456
|
+
type: ViewChild,
|
|
12457
|
+
args: ['selector']
|
|
12458
|
+
}] } });
|
|
12459
|
+
|
|
12356
12460
|
/**
|
|
12357
12461
|
* @description
|
|
12358
12462
|
* The default input component for `relation` type custom fields. Allows the selection
|
|
@@ -12366,10 +12470,10 @@ class RelationFormInputComponent {
|
|
|
12366
12470
|
}
|
|
12367
12471
|
RelationFormInputComponent.id = 'relation-form-input';
|
|
12368
12472
|
RelationFormInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: RelationFormInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
12369
|
-
RelationFormInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: RelationFormInputComponent, selector: "vdr-relation-form-input", inputs: { readonly: "readonly" }, ngImport: i0, template: "<div [ngSwitch]=\"config.entity\">\r\n <vdr-relation-asset-input\r\n *ngSwitchCase=\"'Asset'\"\r\n [parentFormControl]=\"formControl\"\r\n [config]=\"config\"\r\n [readonly]=\"readonly\"\r\n ></vdr-relation-asset-input>\r\n <vdr-relation-product-input\r\n *ngSwitchCase=\"'Product'\"\r\n [parentFormControl]=\"formControl\"\r\n [config]=\"config\"\r\n [readonly]=\"readonly\"\r\n ></vdr-relation-product-input>\r\n <vdr-relation-customer-input\r\n *ngSwitchCase=\"'Customer'\"\r\n [parentFormControl]=\"formControl\"\r\n [config]=\"config\"\r\n [readonly]=\"readonly\"\r\n ></vdr-relation-customer-input>\r\n <vdr-relation-product-variant-input\r\n *ngSwitchCase=\"'ProductVariant'\"\r\n [parentFormControl]=\"formControl\"\r\n [config]=\"config\"\r\n [readonly]=\"readonly\"\r\n ></vdr-relation-product-variant-input>\r\n <ng-template ngSwitchDefault>\r\n
|
|
12473
|
+
RelationFormInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: RelationFormInputComponent, selector: "vdr-relation-form-input", inputs: { readonly: "readonly" }, ngImport: i0, template: "<div [ngSwitch]=\"config.entity\">\r\n <vdr-relation-asset-input\r\n *ngSwitchCase=\"'Asset'\"\r\n [parentFormControl]=\"formControl\"\r\n [config]=\"config\"\r\n [readonly]=\"readonly\"\r\n ></vdr-relation-asset-input>\r\n <vdr-relation-product-input\r\n *ngSwitchCase=\"'Product'\"\r\n [parentFormControl]=\"formControl\"\r\n [config]=\"config\"\r\n [readonly]=\"readonly\"\r\n ></vdr-relation-product-input>\r\n <vdr-relation-customer-input\r\n *ngSwitchCase=\"'Customer'\"\r\n [parentFormControl]=\"formControl\"\r\n [config]=\"config\"\r\n [readonly]=\"readonly\"\r\n ></vdr-relation-customer-input>\r\n <vdr-relation-product-variant-input\r\n *ngSwitchCase=\"'ProductVariant'\"\r\n [parentFormControl]=\"formControl\"\r\n [config]=\"config\"\r\n [readonly]=\"readonly\"\r\n ></vdr-relation-product-variant-input>\r\n <ng-template ngSwitchDefault>\r\n <vdr-relation-generic-input\r\n [parentFormControl]=\"formControl\"\r\n [config]=\"config\"\r\n [readonly]=\"readonly\"\r\n ></vdr-relation-generic-input>\r\n </ng-template>\r\n</div>\r\n", styles: [":host{display:block;background-color:var(--color-component-bg-200);padding:3px}\n"], components: [{ type: RelationAssetInputComponent, selector: "vdr-relation-asset-input", inputs: ["readonly", "parentFormControl", "config"] }, { type: RelationProductInputComponent, selector: "vdr-relation-product-input", inputs: ["readonly", "parentFormControl", "config"] }, { type: RelationCustomerInputComponent, selector: "vdr-relation-customer-input", inputs: ["readonly", "parentFormControl", "config"] }, { type: RelationProductVariantInputComponent, selector: "vdr-relation-product-variant-input", inputs: ["readonly", "parentFormControl", "config"] }, { type: RelationGenericInputComponent, selector: "vdr-relation-generic-input", inputs: ["readonly", "parentFormControl", "config"] }], directives: [{ type: i3.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i3.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i3.NgSwitchDefault, selector: "[ngSwitchDefault]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
12370
12474
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: RelationFormInputComponent, decorators: [{
|
|
12371
12475
|
type: Component,
|
|
12372
|
-
args: [{ selector: 'vdr-relation-form-input', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div [ngSwitch]=\"config.entity\">\r\n <vdr-relation-asset-input\r\n *ngSwitchCase=\"'Asset'\"\r\n [parentFormControl]=\"formControl\"\r\n [config]=\"config\"\r\n [readonly]=\"readonly\"\r\n ></vdr-relation-asset-input>\r\n <vdr-relation-product-input\r\n *ngSwitchCase=\"'Product'\"\r\n [parentFormControl]=\"formControl\"\r\n [config]=\"config\"\r\n [readonly]=\"readonly\"\r\n ></vdr-relation-product-input>\r\n <vdr-relation-customer-input\r\n *ngSwitchCase=\"'Customer'\"\r\n [parentFormControl]=\"formControl\"\r\n [config]=\"config\"\r\n [readonly]=\"readonly\"\r\n ></vdr-relation-customer-input>\r\n <vdr-relation-product-variant-input\r\n *ngSwitchCase=\"'ProductVariant'\"\r\n [parentFormControl]=\"formControl\"\r\n [config]=\"config\"\r\n [readonly]=\"readonly\"\r\n ></vdr-relation-product-variant-input>\r\n <ng-template ngSwitchDefault>\r\n
|
|
12476
|
+
args: [{ selector: 'vdr-relation-form-input', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div [ngSwitch]=\"config.entity\">\r\n <vdr-relation-asset-input\r\n *ngSwitchCase=\"'Asset'\"\r\n [parentFormControl]=\"formControl\"\r\n [config]=\"config\"\r\n [readonly]=\"readonly\"\r\n ></vdr-relation-asset-input>\r\n <vdr-relation-product-input\r\n *ngSwitchCase=\"'Product'\"\r\n [parentFormControl]=\"formControl\"\r\n [config]=\"config\"\r\n [readonly]=\"readonly\"\r\n ></vdr-relation-product-input>\r\n <vdr-relation-customer-input\r\n *ngSwitchCase=\"'Customer'\"\r\n [parentFormControl]=\"formControl\"\r\n [config]=\"config\"\r\n [readonly]=\"readonly\"\r\n ></vdr-relation-customer-input>\r\n <vdr-relation-product-variant-input\r\n *ngSwitchCase=\"'ProductVariant'\"\r\n [parentFormControl]=\"formControl\"\r\n [config]=\"config\"\r\n [readonly]=\"readonly\"\r\n ></vdr-relation-product-variant-input>\r\n <ng-template ngSwitchDefault>\r\n <vdr-relation-generic-input\r\n [parentFormControl]=\"formControl\"\r\n [config]=\"config\"\r\n [readonly]=\"readonly\"\r\n ></vdr-relation-generic-input>\r\n </ng-template>\r\n</div>\r\n", styles: [":host{display:block;background-color:var(--color-component-bg-200);padding:3px}\n"] }]
|
|
12373
12477
|
}], propDecorators: { readonly: [{
|
|
12374
12478
|
type: Input
|
|
12375
12479
|
}] } });
|
|
@@ -14416,57 +14520,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImpor
|
|
|
14416
14520
|
type: Output
|
|
14417
14521
|
}] } });
|
|
14418
14522
|
|
|
14419
|
-
/**
|
|
14420
|
-
* @description
|
|
14421
|
-
* This component displays a plain JavaScript object as an expandable tree.
|
|
14422
|
-
*
|
|
14423
|
-
* @example
|
|
14424
|
-
* ```HTML
|
|
14425
|
-
* <vdr-object-tree [value]="payment.metadata"></vdr-object-tree>
|
|
14426
|
-
* ```
|
|
14427
|
-
*
|
|
14428
|
-
* @docsCategory components
|
|
14429
|
-
*/
|
|
14430
|
-
class ObjectTreeComponent {
|
|
14431
|
-
constructor(parent) {
|
|
14432
|
-
this.isArrayItem = false;
|
|
14433
|
-
if (parent) {
|
|
14434
|
-
this.depth = parent.depth + 1;
|
|
14435
|
-
}
|
|
14436
|
-
else {
|
|
14437
|
-
this.depth = 0;
|
|
14438
|
-
}
|
|
14439
|
-
}
|
|
14440
|
-
ngOnInit() {
|
|
14441
|
-
this.entries = this.getEntries(this.value);
|
|
14442
|
-
this.expanded = this.depth === 0 || this.isArrayItem;
|
|
14443
|
-
this.valueIsArray = Object.keys(this.value).every(v => Number.isInteger(+v));
|
|
14444
|
-
}
|
|
14445
|
-
isObject(value) {
|
|
14446
|
-
return typeof value === 'object' && value !== null;
|
|
14447
|
-
}
|
|
14448
|
-
getEntries(inputValue) {
|
|
14449
|
-
if (!this.isObject(inputValue)) {
|
|
14450
|
-
return [{ key: '', value: inputValue }];
|
|
14451
|
-
}
|
|
14452
|
-
return Object.entries(inputValue).map(([key, value]) => ({ key, value }));
|
|
14453
|
-
}
|
|
14454
|
-
}
|
|
14455
|
-
ObjectTreeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ObjectTreeComponent, deps: [{ token: ObjectTreeComponent, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
14456
|
-
ObjectTreeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: ObjectTreeComponent, selector: "vdr-object-tree", inputs: { value: "value", isArrayItem: "isArrayItem" }, ngImport: i0, template: "<button class=\"icon-button\" (click)=\"expanded = !expanded\" *ngIf=\"depth !== 0 && !isArrayItem\">\r\n <clr-icon shape=\"caret\" size=\"12\" [dir]=\"expanded ? 'down' : 'right'\"></clr-icon>\r\n</button>\r\n<ul\r\n class=\"object-tree-node\"\r\n [ngClass]=\"'depth-' + depth\"\r\n [class.array-value]=\"valueIsArray\"\r\n [class.array-item]=\"isArrayItem\"\r\n [class.expanded]=\"expanded\"\r\n>\r\n <li *ngFor=\"let entry of entries\">\r\n <span class=\"key\" *ngIf=\"entry.key\">{{ entry.key }}:</span>\r\n <ng-container *ngIf=\"isObject(entry.value); else primitive\">\r\n <vdr-object-tree [value]=\"entry.value\" [isArrayItem]=\"valueIsArray\"></vdr-object-tree>\r\n </ng-container>\r\n <ng-template #primitive>\r\n {{ entry.value }}\r\n </ng-template>\r\n </li>\r\n</ul>\r\n", styles: [".object-tree-node{list-style-type:none;line-height:16px;font-size:12px;overflow:hidden;max-height:0}.object-tree-node.depth-0{margin-left:0;margin-top:8px}.object-tree-node.depth-1,.object-tree-node.depth-2,.object-tree-node.depth-3,.object-tree-node.depth-4,.object-tree-node.depth-5,.object-tree-node.depth-6{margin-left:6px}.object-tree-node.expanded{max-height:5000px}.object-tree-node.array-item{margin-top:-16px;margin-left:16px}.object-tree-node.array-value.expanded>li+li{margin-top:6px}.key{color:var(--color-text-300)}\n"], components: [{ type: ObjectTreeComponent, selector: "vdr-object-tree", inputs: ["value", "isArrayItem"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$3.ClrIconCustomTag, selector: "clr-icon" }, { type: i9.Dir, selector: "[dir]", inputs: ["dir"], outputs: ["dirChange"], exportAs: ["dir"] }, { type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
14457
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ObjectTreeComponent, decorators: [{
|
|
14458
|
-
type: Component,
|
|
14459
|
-
args: [{ selector: 'vdr-object-tree', changeDetection: ChangeDetectionStrategy.OnPush, template: "<button class=\"icon-button\" (click)=\"expanded = !expanded\" *ngIf=\"depth !== 0 && !isArrayItem\">\r\n <clr-icon shape=\"caret\" size=\"12\" [dir]=\"expanded ? 'down' : 'right'\"></clr-icon>\r\n</button>\r\n<ul\r\n class=\"object-tree-node\"\r\n [ngClass]=\"'depth-' + depth\"\r\n [class.array-value]=\"valueIsArray\"\r\n [class.array-item]=\"isArrayItem\"\r\n [class.expanded]=\"expanded\"\r\n>\r\n <li *ngFor=\"let entry of entries\">\r\n <span class=\"key\" *ngIf=\"entry.key\">{{ entry.key }}:</span>\r\n <ng-container *ngIf=\"isObject(entry.value); else primitive\">\r\n <vdr-object-tree [value]=\"entry.value\" [isArrayItem]=\"valueIsArray\"></vdr-object-tree>\r\n </ng-container>\r\n <ng-template #primitive>\r\n {{ entry.value }}\r\n </ng-template>\r\n </li>\r\n</ul>\r\n", styles: [".object-tree-node{list-style-type:none;line-height:16px;font-size:12px;overflow:hidden;max-height:0}.object-tree-node.depth-0{margin-left:0;margin-top:8px}.object-tree-node.depth-1,.object-tree-node.depth-2,.object-tree-node.depth-3,.object-tree-node.depth-4,.object-tree-node.depth-5,.object-tree-node.depth-6{margin-left:6px}.object-tree-node.expanded{max-height:5000px}.object-tree-node.array-item{margin-top:-16px;margin-left:16px}.object-tree-node.array-value.expanded>li+li{margin-top:6px}.key{color:var(--color-text-300)}\n"] }]
|
|
14460
|
-
}], ctorParameters: function () { return [{ type: ObjectTreeComponent, decorators: [{
|
|
14461
|
-
type: Optional
|
|
14462
|
-
}, {
|
|
14463
|
-
type: SkipSelf
|
|
14464
|
-
}] }]; }, propDecorators: { value: [{
|
|
14465
|
-
type: Input
|
|
14466
|
-
}], isArrayItem: [{
|
|
14467
|
-
type: Input
|
|
14468
|
-
}] } });
|
|
14469
|
-
|
|
14470
14523
|
class StateI18nTokenPipe {
|
|
14471
14524
|
constructor() {
|
|
14472
14525
|
this.stateI18nTokens = {
|
|
@@ -14942,6 +14995,7 @@ const DYNAMIC_FORM_INPUTS = [
|
|
|
14942
14995
|
RelationCardPreviewDirective,
|
|
14943
14996
|
RelationCardDetailDirective,
|
|
14944
14997
|
RelationSelectorDialogComponent,
|
|
14998
|
+
RelationGenericInputComponent,
|
|
14945
14999
|
TextareaFormInputComponent,
|
|
14946
15000
|
RichTextFormInputComponent,
|
|
14947
15001
|
JsonEditorFormInputComponent,
|
|
@@ -15055,6 +15109,7 @@ SharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
|
15055
15109
|
RelationCardPreviewDirective,
|
|
15056
15110
|
RelationCardDetailDirective,
|
|
15057
15111
|
RelationSelectorDialogComponent,
|
|
15112
|
+
RelationGenericInputComponent,
|
|
15058
15113
|
TextareaFormInputComponent,
|
|
15059
15114
|
RichTextFormInputComponent,
|
|
15060
15115
|
JsonEditorFormInputComponent], imports: [ClarityModule,
|
|
@@ -15181,6 +15236,7 @@ SharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
|
15181
15236
|
RelationCardPreviewDirective,
|
|
15182
15237
|
RelationCardDetailDirective,
|
|
15183
15238
|
RelationSelectorDialogComponent,
|
|
15239
|
+
RelationGenericInputComponent,
|
|
15184
15240
|
TextareaFormInputComponent,
|
|
15185
15241
|
RichTextFormInputComponent,
|
|
15186
15242
|
JsonEditorFormInputComponent] });
|
|
@@ -15774,7 +15830,7 @@ function patchObject(obj, patch) {
|
|
|
15774
15830
|
}
|
|
15775
15831
|
|
|
15776
15832
|
// Auto-generated by the set-version.js script.
|
|
15777
|
-
const ADMIN_UI_VERSION = '2.0.0-next.
|
|
15833
|
+
const ADMIN_UI_VERSION = '2.0.0-next.2';
|
|
15778
15834
|
|
|
15779
15835
|
/**
|
|
15780
15836
|
* Responsible for registering dashboard widget components and querying for layouts.
|
|
@@ -15993,5 +16049,5 @@ function unicodePatternValidator(patternRe) {
|
|
|
15993
16049
|
* Generated bundle index. Do not edit.
|
|
15994
16050
|
*/
|
|
15995
16051
|
|
|
15996
|
-
export { ADDRESS_FRAGMENT, ADD_CUSTOMERS_TO_GROUP, ADD_MANUAL_PAYMENT_TO_ORDER, ADD_MEMBERS_TO_ZONE, ADD_NOTE_TO_CUSTOMER, ADD_NOTE_TO_ORDER, ADD_OPTION_GROUP_TO_PRODUCT, ADD_OPTION_TO_GROUP, ADMINISTRATOR_FRAGMENT, ADMIN_UI_VERSION, ALL_CUSTOM_FIELDS_FRAGMENT, ASSET_FRAGMENT, ASSIGN_PRODUCTS_TO_CHANNEL, ASSIGN_ROLE_TO_ADMINISTRATOR, ASSIGN_VARIANTS_TO_CHANNEL, ATTEMPT_LOGIN, AUTH_REDIRECT_PARAM, ActionBarComponent, ActionBarItemsComponent, ActionBarLeftComponent, ActionBarRightComponent, AddressFormComponent, AdjustmentType, AdministratorDataService, AffixedInputComponent, AppComponent, AppComponentModule, AppShellComponent, AssetFileInputComponent, AssetGalleryComponent, AssetPickerDialogComponent, AssetPreviewComponent, AssetPreviewDialogComponent, AssetPreviewLinksComponent, AssetPreviewPipe, AssetSearchInputComponent, AssetType, AuthDataService, AuthGuard, AuthService, BOOLEAN_CUSTOM_FIELD_FRAGMENT, BaseDataService, BaseDetailComponent, BaseEntityResolver, BaseListComponent, BooleanFormInputComponent, BreadcrumbComponent, CANCEL_JOB, CANCEL_ORDER, CHANNEL_FRAGMENT, COLLECTION_FRAGMENT, CONFIGURABLE_OPERATION_DEF_FRAGMENT, CONFIGURABLE_OPERATION_FRAGMENT, COUNTRY_FRAGMENT, CREATE_ADMINISTRATOR, CREATE_ASSETS, CREATE_CHANNEL, CREATE_COLLECTION, CREATE_COUNTRY, CREATE_CUSTOMER, CREATE_CUSTOMER_ADDRESS, CREATE_CUSTOMER_GROUP, CREATE_FACET, CREATE_FACET_VALUES, CREATE_FULFILLMENT, CREATE_PAYMENT_METHOD, CREATE_PRODUCT, CREATE_PRODUCT_OPTION_GROUP, CREATE_PRODUCT_VARIANTS, CREATE_PROMOTION, CREATE_ROLE, CREATE_SHIPPING_METHOD, CREATE_TAG, CREATE_TAX_CATEGORY, CREATE_TAX_RATE, CREATE_ZONE, CURRENT_USER_FRAGMENT, CUSTOMER_FRAGMENT, CUSTOMER_GROUP_FRAGMENT, CUSTOM_FIELD_CONFIG_FRAGMENT, CanDeactivateDetailGuard, ChannelAssignmentControlComponent, ChannelBadgeComponent, ChannelLabelPipe, ChannelSwitcherComponent, CheckJobsLink, ChipComponent, ClientDataService, CollectionDataService, ComponentRegistryService, ConfigurableInputComponent, CoreModule, CurrencyCode, CurrencyFormInputComponent, CurrencyInputComponent, CustomDetailComponentHostComponent, CustomDetailComponentService, CustomFieldComponentService, CustomFieldControlComponent, CustomFieldLabelPipe, CustomHttpTranslationLoader, CustomerDataService, CustomerGroupFormInputComponent, CustomerLabelComponent, DATE_TIME_CUSTOM_FIELD_FRAGMENT, DELETE_ADMINISTRATOR, DELETE_ASSETS, DELETE_CHANNEL, DELETE_COLLECTION, DELETE_COUNTRY, DELETE_CUSTOMER, DELETE_CUSTOMER_ADDRESS, DELETE_CUSTOMER_GROUP, DELETE_CUSTOMER_NOTE, DELETE_FACET, DELETE_FACET_VALUES, DELETE_ORDER_NOTE, DELETE_PAYMENT_METHOD, DELETE_PRODUCT, DELETE_PRODUCT_VARIANT, DELETE_PROMOTION, DELETE_ROLE, DELETE_SHIPPING_METHOD, DELETE_TAG, DELETE_TAX_CATEGORY, DELETE_TAX_RATE, DELETE_ZONE, DISCOUNT_FRAGMENT, DashboardWidgetService, DataModule, DataService, DataTableColumnComponent, DataTableComponent, DateFormInputComponent, DatetimePickerComponent, DatetimePickerService, DefaultInterceptor, DeletionResult, DialogButtonsDirective, DialogComponentOutletComponent, DialogTitleDirective, DisabledDirective, DropdownComponent, DropdownItemDirective, DropdownMenuComponent, DropdownTriggerDirective, DurationPipe, DynamicFormInputComponent, ERROR_RESULT_FRAGMENT, EditNoteDialogComponent, EmptyPlaceholderComponent, EntityInfoComponent, ErrorCode, ExtensionHostComponent, ExtensionHostConfig, ExtensionHostService, ExternalImageDialogComponent, FACET_VALUE_FRAGMENT, FACET_WITH_VALUES_FRAGMENT, FLOAT_CUSTOM_FIELD_FRAGMENT, FULFILLMENT_FRAGMENT, FacetDataService, FacetValueChipComponent, FacetValueFormInputComponent, FacetValueSelectorComponent, FetchAdapter, FileSizePipe, FocalPointControlComponent, FormFieldComponent, FormFieldControlDirective, FormItemComponent, FormattedAddressComponent, GET_ACTIVE_ADMINISTRATOR, GET_ACTIVE_CHANNEL, GET_ADJUSTMENT_OPERATIONS, GET_ADMINISTRATOR, GET_ADMINISTRATORS, GET_ASSET, GET_ASSET_LIST, GET_AVAILABLE_COUNTRIES, GET_CHANNEL, GET_CHANNELS, GET_CLIENT_STATE, GET_COLLECTION, GET_COLLECTION_CONTENTS, GET_COLLECTION_FILTERS, GET_COLLECTION_LIST, GET_COUNTRY, GET_COUNTRY_LIST, GET_CURRENT_USER, GET_CUSTOMER, GET_CUSTOMER_GROUPS, GET_CUSTOMER_GROUP_WITH_CUSTOMERS, GET_CUSTOMER_HISTORY, GET_CUSTOMER_LIST, GET_FACET_LIST, GET_FACET_WITH_VALUES, GET_GLOBAL_SETTINGS, GET_JOBS_BY_ID, GET_JOBS_LIST, GET_JOB_INFO, GET_JOB_QUEUE_LIST, GET_NEWTORK_STATUS, GET_ORDER, GET_ORDERS_LIST, GET_ORDER_HISTORY, GET_ORDER_SUMMARY, GET_PAYMENT_METHOD, GET_PAYMENT_METHOD_LIST, GET_PAYMENT_METHOD_OPERATIONS, GET_PENDING_SEARCH_INDEX_UPDATES, GET_PRODUCT_LIST, GET_PRODUCT_OPTION_GROUP, GET_PRODUCT_OPTION_GROUPS, GET_PRODUCT_SIMPLE, GET_PRODUCT_VARIANT, GET_PRODUCT_VARIANT_LIST, GET_PRODUCT_VARIANT_LIST_SIMPLE, GET_PRODUCT_VARIANT_OPTIONS, GET_PRODUCT_WITH_VARIANTS, GET_PROMOTION, GET_PROMOTION_LIST, GET_ROLE, GET_ROLES, GET_SERVER_CONFIG, GET_SHIPPING_METHOD, GET_SHIPPING_METHOD_LIST, GET_SHIPPING_METHOD_OPERATIONS, GET_TAG, GET_TAG_LIST, GET_TAX_CATEGORIES, GET_TAX_CATEGORY, GET_TAX_RATE, GET_TAX_RATE_LIST, GET_TAX_RATE_LIST_SIMPLE, GET_UI_STATE, GET_USER_STATUS, GET_ZONE, GET_ZONES, GLOBAL_SETTINGS_FRAGMENT, GlobalFlag, HasPermissionPipe, HealthCheckService, HelpTooltipComponent, HistoryEntryDetailComponent, HistoryEntryType, HttpLoaderFactory, I18nService, INT_CUSTOM_FIELD_FRAGMENT, IfDefaultChannelActiveDirective, IfDirectiveBase, IfMultichannelDirective, IfPermissionsDirective, InjectableTranslateMessageFormatCompiler, ItemsPerPageControlsComponent, JOB_INFO_FRAGMENT, JobQueueService, JobState, JsonEditorFormInputComponent, LOCALE_STRING_CUSTOM_FIELD_FRAGMENT, LOG_OUT, LabeledDataComponent, LanguageCode, LanguageSelectorComponent, LinkDialogComponent, LocalStorageService, LocaleBasePipe, LocaleCurrencyNamePipe, LocaleCurrencyPipe, LocaleDatePipe, LocaleLanguageNamePipe, LocaleRegionNamePipe, LogicalOperator, MODIFY_ORDER, MOVE_COLLECTION, MainNavComponent, ManageTagsDialogComponent, ModalDialogComponent, ModalService, NavBuilderService, NotificationComponent, NotificationService, NumberFormInputComponent, ORDER_ADDRESS_FRAGMENT, ORDER_DETAIL_FRAGMENT, ORDER_FRAGMENT, ORDER_LINE_FRAGMENT, ObjectTreeComponent, OmitTypenameLink, OrderDataService, OrderStateLabelComponent, OverlayHostComponent, OverlayHostService, PAYMENT_METHOD_FRAGMENT, PRODUCT_DETAIL_FRAGMENT, PRODUCT_OPTION_FRAGMENT, PRODUCT_OPTION_GROUP_FRAGMENT, PRODUCT_OPTION_GROUP_WITH_OPTIONS_FRAGMENT, PRODUCT_SELECTOR_SEARCH, PRODUCT_VARIANT_FRAGMENT, PROMOTION_FRAGMENT, PaginationControlsComponent, PasswordFormInputComponent, PercentageSuffixInputComponent, Permission, ProductDataService, ProductSelectorFormInputComponent, ProductVariantSelectorComponent, PromotionDataService, ProsemirrorService, QueryResult, REFUND_FRAGMENT, REFUND_ORDER, REINDEX, RELATION_CUSTOM_FIELD_FRAGMENT, REMOVE_CUSTOMERS_FROM_GROUP, REMOVE_MEMBERS_FROM_ZONE, REMOVE_OPTION_GROUP_FROM_PRODUCT, REMOVE_PRODUCTS_FROM_CHANNEL, REMOVE_VARIANTS_FROM_CHANNEL, REQUEST_COMPLETED, REQUEST_STARTED, ROLE_FRAGMENT, RUN_PENDING_SEARCH_INDEX_UPDATES, RelationAssetInputComponent, RelationCardComponent, RelationCardDetailDirective, RelationCardPreviewDirective, RelationCustomerInputComponent, RelationFormInputComponent, RelationProductInputComponent, RelationProductVariantInputComponent, RelationSelectorDialogComponent, RichTextEditorComponent, RichTextFormInputComponent, SEARCH_PRODUCTS, SETTLE_PAYMENT, SETTLE_REFUND, SET_ACTIVE_CHANNEL, SET_AS_LOGGED_IN, SET_AS_LOGGED_OUT, SET_CONTENT_LANGUAGE, SET_DISPLAY_UI_EXTENSION_POINTS, SET_UI_LANGUAGE_AND_LOCALE, SET_UI_LOCALE, SET_UI_THEME, SHIPPING_METHOD_FRAGMENT, STRING_CUSTOM_FIELD_FRAGMENT, SelectFormInputComponent, SelectToggleComponent, SentenceCasePipe, ServerConfigService, SettingsDataService, SharedModule, ShippingMethodDataService, SimpleDialogComponent, SingleSearchSelectionModel, SingleSearchSelectionModelFactory, SortOrder, SortPipe, StateI18nTokenPipe, StatusBadgeComponent, StockMovementType, StringToColorPipe, TAG_FRAGMENT, TAX_CATEGORY_FRAGMENT, TAX_RATE_FRAGMENT, TEST_ELIGIBLE_SHIPPING_METHODS, TEST_SHIPPING_METHOD, TEXT_CUSTOM_FIELD_FRAGMENT, TRANSITION_FULFILLMENT_TO_STATE, TRANSITION_ORDER_TO_STATE, TRANSITION_PAYMENT_TO_STATE, TabbedCustomFieldsComponent, TableRowActionComponent, TagSelectorComponent, TextFormInputComponent, TextareaFormInputComponent, ThemeSwitcherComponent, TimeAgoPipe, TimelineEntryComponent, TitleInputComponent, UPDATE_ACTIVE_ADMINISTRATOR, UPDATE_ADMINISTRATOR, UPDATE_ASSET, UPDATE_CHANNEL, UPDATE_COLLECTION, UPDATE_COUNTRY, UPDATE_CUSTOMER, UPDATE_CUSTOMER_ADDRESS, UPDATE_CUSTOMER_GROUP, UPDATE_CUSTOMER_NOTE, UPDATE_FACET, UPDATE_FACET_VALUES, UPDATE_GLOBAL_SETTINGS, UPDATE_ORDER_CUSTOM_FIELDS, UPDATE_ORDER_NOTE, UPDATE_PAYMENT_METHOD, UPDATE_PRODUCT, UPDATE_PRODUCT_OPTION, UPDATE_PRODUCT_OPTION_GROUP, UPDATE_PRODUCT_VARIANTS, UPDATE_PROMOTION, UPDATE_ROLE, UPDATE_SHIPPING_METHOD, UPDATE_TAG, UPDATE_TAX_CATEGORY, UPDATE_TAX_RATE, UPDATE_USER_CHANNELS, UPDATE_ZONE, USER_STATUS_FRAGMENT, UiExtensionPointComponent, UiLanguageSwitcherDialogComponent, UserMenuComponent, ZONE_FRAGMENT, addActionBarItem, addCustomFields, addNavMenuItem, addNavMenuSection, blockQuoteRule, buildInputRules, buildKeymap, buildMenuItems, bulletListRule, canInsert, clientResolvers, codeBlockRule, configurableDefinitionToInstance, configurableOperationValueIsValid, createApollo, createResolveData, createUpdatedTranslatable, dayOfWeekIndex, defaultFormInputs, detailBreadcrumb, encodeConfigArgValue, findTranslation, flattenFacetValues, getAppConfig, getClientDefaults, getConfigArgValue, getDefaultConfigArgValue, getDefaultUiLanguage, getDefaultUiLocale, getLocales, getMarkRange, getServerLocation, headingRule, hostExternalFrame, initializeServerConfigService, insertImageItem, interpolateDescription, result as introspectionResult, isEntityCreateOrUpdateMutation, jsonValidator, linkItem, linkSelectPlugin, loadAppConfig, markActive, orderedListRule, registerCustomDetailComponent, registerCustomFieldComponent, registerDashboardWidget, registerDefaultFormInputs, registerFormInputComponent, removeReadonlyCustomFields, setDashboardWidgetLayout, stringToColor, toConfigurableOperationInput, transformRelationCustomFieldInputs, unicodePatternValidator, weekDayNames };
|
|
16052
|
+
export { ADDRESS_FRAGMENT, ADD_CUSTOMERS_TO_GROUP, ADD_MANUAL_PAYMENT_TO_ORDER, ADD_MEMBERS_TO_ZONE, ADD_NOTE_TO_CUSTOMER, ADD_NOTE_TO_ORDER, ADD_OPTION_GROUP_TO_PRODUCT, ADD_OPTION_TO_GROUP, ADMINISTRATOR_FRAGMENT, ADMIN_UI_VERSION, ALL_CUSTOM_FIELDS_FRAGMENT, ASSET_FRAGMENT, ASSIGN_PRODUCTS_TO_CHANNEL, ASSIGN_ROLE_TO_ADMINISTRATOR, ASSIGN_VARIANTS_TO_CHANNEL, ATTEMPT_LOGIN, AUTH_REDIRECT_PARAM, ActionBarComponent, ActionBarItemsComponent, ActionBarLeftComponent, ActionBarRightComponent, AddressFormComponent, AdjustmentType, AdministratorDataService, AffixedInputComponent, AppComponent, AppComponentModule, AppShellComponent, AssetFileInputComponent, AssetGalleryComponent, AssetPickerDialogComponent, AssetPreviewComponent, AssetPreviewDialogComponent, AssetPreviewLinksComponent, AssetPreviewPipe, AssetSearchInputComponent, AssetType, AuthDataService, AuthGuard, AuthService, BOOLEAN_CUSTOM_FIELD_FRAGMENT, BaseDataService, BaseDetailComponent, BaseEntityResolver, BaseListComponent, BooleanFormInputComponent, BreadcrumbComponent, CANCEL_JOB, CANCEL_ORDER, CHANNEL_FRAGMENT, COLLECTION_FRAGMENT, CONFIGURABLE_OPERATION_DEF_FRAGMENT, CONFIGURABLE_OPERATION_FRAGMENT, COUNTRY_FRAGMENT, CREATE_ADMINISTRATOR, CREATE_ASSETS, CREATE_CHANNEL, CREATE_COLLECTION, CREATE_COUNTRY, CREATE_CUSTOMER, CREATE_CUSTOMER_ADDRESS, CREATE_CUSTOMER_GROUP, CREATE_FACET, CREATE_FACET_VALUES, CREATE_FULFILLMENT, CREATE_PAYMENT_METHOD, CREATE_PRODUCT, CREATE_PRODUCT_OPTION_GROUP, CREATE_PRODUCT_VARIANTS, CREATE_PROMOTION, CREATE_ROLE, CREATE_SHIPPING_METHOD, CREATE_TAG, CREATE_TAX_CATEGORY, CREATE_TAX_RATE, CREATE_ZONE, CURRENT_USER_FRAGMENT, CUSTOMER_FRAGMENT, CUSTOMER_GROUP_FRAGMENT, CUSTOM_FIELD_CONFIG_FRAGMENT, CanDeactivateDetailGuard, ChannelAssignmentControlComponent, ChannelBadgeComponent, ChannelLabelPipe, ChannelSwitcherComponent, CheckJobsLink, ChipComponent, ClientDataService, CollectionDataService, ComponentRegistryService, ConfigurableInputComponent, CoreModule, CurrencyCode, CurrencyFormInputComponent, CurrencyInputComponent, CustomDetailComponentHostComponent, CustomDetailComponentService, CustomFieldComponentService, CustomFieldControlComponent, CustomFieldLabelPipe, CustomHttpTranslationLoader, CustomerDataService, CustomerGroupFormInputComponent, CustomerLabelComponent, DATE_TIME_CUSTOM_FIELD_FRAGMENT, DELETE_ADMINISTRATOR, DELETE_ASSETS, DELETE_CHANNEL, DELETE_COLLECTION, DELETE_COUNTRY, DELETE_CUSTOMER, DELETE_CUSTOMER_ADDRESS, DELETE_CUSTOMER_GROUP, DELETE_CUSTOMER_NOTE, DELETE_FACET, DELETE_FACET_VALUES, DELETE_ORDER_NOTE, DELETE_PAYMENT_METHOD, DELETE_PRODUCT, DELETE_PRODUCT_VARIANT, DELETE_PROMOTION, DELETE_ROLE, DELETE_SHIPPING_METHOD, DELETE_TAG, DELETE_TAX_CATEGORY, DELETE_TAX_RATE, DELETE_ZONE, DISCOUNT_FRAGMENT, DashboardWidgetService, DataModule, DataService, DataTableColumnComponent, DataTableComponent, DateFormInputComponent, DatetimePickerComponent, DatetimePickerService, DefaultInterceptor, DeletionResult, DialogButtonsDirective, DialogComponentOutletComponent, DialogTitleDirective, DisabledDirective, DropdownComponent, DropdownItemDirective, DropdownMenuComponent, DropdownTriggerDirective, DurationPipe, DynamicFormInputComponent, ERROR_RESULT_FRAGMENT, EditNoteDialogComponent, EmptyPlaceholderComponent, EntityInfoComponent, ErrorCode, ExtensionHostComponent, ExtensionHostConfig, ExtensionHostService, ExternalImageDialogComponent, FACET_VALUE_FRAGMENT, FACET_WITH_VALUES_FRAGMENT, FLOAT_CUSTOM_FIELD_FRAGMENT, FULFILLMENT_FRAGMENT, FacetDataService, FacetValueChipComponent, FacetValueFormInputComponent, FacetValueSelectorComponent, FetchAdapter, FileSizePipe, FocalPointControlComponent, FormFieldComponent, FormFieldControlDirective, FormItemComponent, FormattedAddressComponent, GET_ACTIVE_ADMINISTRATOR, GET_ACTIVE_CHANNEL, GET_ADJUSTMENT_OPERATIONS, GET_ADMINISTRATOR, GET_ADMINISTRATORS, GET_ASSET, GET_ASSET_LIST, GET_AVAILABLE_COUNTRIES, GET_CHANNEL, GET_CHANNELS, GET_CLIENT_STATE, GET_COLLECTION, GET_COLLECTION_CONTENTS, GET_COLLECTION_FILTERS, GET_COLLECTION_LIST, GET_COUNTRY, GET_COUNTRY_LIST, GET_CURRENT_USER, GET_CUSTOMER, GET_CUSTOMER_GROUPS, GET_CUSTOMER_GROUP_WITH_CUSTOMERS, GET_CUSTOMER_HISTORY, GET_CUSTOMER_LIST, GET_FACET_LIST, GET_FACET_WITH_VALUES, GET_GLOBAL_SETTINGS, GET_JOBS_BY_ID, GET_JOBS_LIST, GET_JOB_INFO, GET_JOB_QUEUE_LIST, GET_NEWTORK_STATUS, GET_ORDER, GET_ORDERS_LIST, GET_ORDER_HISTORY, GET_ORDER_SUMMARY, GET_PAYMENT_METHOD, GET_PAYMENT_METHOD_LIST, GET_PAYMENT_METHOD_OPERATIONS, GET_PENDING_SEARCH_INDEX_UPDATES, GET_PRODUCT_LIST, GET_PRODUCT_OPTION_GROUP, GET_PRODUCT_OPTION_GROUPS, GET_PRODUCT_SIMPLE, GET_PRODUCT_VARIANT, GET_PRODUCT_VARIANT_LIST, GET_PRODUCT_VARIANT_LIST_SIMPLE, GET_PRODUCT_VARIANT_OPTIONS, GET_PRODUCT_WITH_VARIANTS, GET_PROMOTION, GET_PROMOTION_LIST, GET_ROLE, GET_ROLES, GET_SERVER_CONFIG, GET_SHIPPING_METHOD, GET_SHIPPING_METHOD_LIST, GET_SHIPPING_METHOD_OPERATIONS, GET_TAG, GET_TAG_LIST, GET_TAX_CATEGORIES, GET_TAX_CATEGORY, GET_TAX_RATE, GET_TAX_RATE_LIST, GET_TAX_RATE_LIST_SIMPLE, GET_UI_STATE, GET_USER_STATUS, GET_ZONE, GET_ZONES, GLOBAL_SETTINGS_FRAGMENT, GlobalFlag, HasPermissionPipe, HealthCheckService, HelpTooltipComponent, HistoryEntryDetailComponent, HistoryEntryType, HttpLoaderFactory, I18nService, INT_CUSTOM_FIELD_FRAGMENT, IfDefaultChannelActiveDirective, IfDirectiveBase, IfMultichannelDirective, IfPermissionsDirective, InjectableTranslateMessageFormatCompiler, ItemsPerPageControlsComponent, JOB_INFO_FRAGMENT, JobQueueService, JobState, JsonEditorFormInputComponent, LOCALE_STRING_CUSTOM_FIELD_FRAGMENT, LOG_OUT, LabeledDataComponent, LanguageCode, LanguageSelectorComponent, LinkDialogComponent, LocalStorageService, LocaleBasePipe, LocaleCurrencyNamePipe, LocaleCurrencyPipe, LocaleDatePipe, LocaleLanguageNamePipe, LocaleRegionNamePipe, LogicalOperator, MODIFY_ORDER, MOVE_COLLECTION, MainNavComponent, ManageTagsDialogComponent, ModalDialogComponent, ModalService, NavBuilderService, NotificationComponent, NotificationService, NumberFormInputComponent, ORDER_ADDRESS_FRAGMENT, ORDER_DETAIL_FRAGMENT, ORDER_FRAGMENT, ORDER_LINE_FRAGMENT, ObjectTreeComponent, OmitTypenameLink, OrderDataService, OrderStateLabelComponent, OverlayHostComponent, OverlayHostService, PAYMENT_METHOD_FRAGMENT, PRODUCT_DETAIL_FRAGMENT, PRODUCT_OPTION_FRAGMENT, PRODUCT_OPTION_GROUP_FRAGMENT, PRODUCT_OPTION_GROUP_WITH_OPTIONS_FRAGMENT, PRODUCT_SELECTOR_SEARCH, PRODUCT_VARIANT_FRAGMENT, PROMOTION_FRAGMENT, PaginationControlsComponent, PasswordFormInputComponent, PercentageSuffixInputComponent, Permission, ProductDataService, ProductSelectorFormInputComponent, ProductVariantSelectorComponent, PromotionDataService, ProsemirrorService, QueryResult, REFUND_FRAGMENT, REFUND_ORDER, REINDEX, RELATION_CUSTOM_FIELD_FRAGMENT, REMOVE_CUSTOMERS_FROM_GROUP, REMOVE_MEMBERS_FROM_ZONE, REMOVE_OPTION_GROUP_FROM_PRODUCT, REMOVE_PRODUCTS_FROM_CHANNEL, REMOVE_VARIANTS_FROM_CHANNEL, REQUEST_COMPLETED, REQUEST_STARTED, ROLE_FRAGMENT, RUN_PENDING_SEARCH_INDEX_UPDATES, RelationAssetInputComponent, RelationCardComponent, RelationCardDetailDirective, RelationCardPreviewDirective, RelationCustomerInputComponent, RelationFormInputComponent, RelationGenericInputComponent, RelationProductInputComponent, RelationProductVariantInputComponent, RelationSelectorDialogComponent, RichTextEditorComponent, RichTextFormInputComponent, SEARCH_PRODUCTS, SETTLE_PAYMENT, SETTLE_REFUND, SET_ACTIVE_CHANNEL, SET_AS_LOGGED_IN, SET_AS_LOGGED_OUT, SET_CONTENT_LANGUAGE, SET_DISPLAY_UI_EXTENSION_POINTS, SET_UI_LANGUAGE_AND_LOCALE, SET_UI_LOCALE, SET_UI_THEME, SHIPPING_METHOD_FRAGMENT, STRING_CUSTOM_FIELD_FRAGMENT, SelectFormInputComponent, SelectToggleComponent, SentenceCasePipe, ServerConfigService, SettingsDataService, SharedModule, ShippingMethodDataService, SimpleDialogComponent, SingleSearchSelectionModel, SingleSearchSelectionModelFactory, SortOrder, SortPipe, StateI18nTokenPipe, StatusBadgeComponent, StockMovementType, StringToColorPipe, TAG_FRAGMENT, TAX_CATEGORY_FRAGMENT, TAX_RATE_FRAGMENT, TEST_ELIGIBLE_SHIPPING_METHODS, TEST_SHIPPING_METHOD, TEXT_CUSTOM_FIELD_FRAGMENT, TRANSITION_FULFILLMENT_TO_STATE, TRANSITION_ORDER_TO_STATE, TRANSITION_PAYMENT_TO_STATE, TabbedCustomFieldsComponent, TableRowActionComponent, TagSelectorComponent, TextFormInputComponent, TextareaFormInputComponent, ThemeSwitcherComponent, TimeAgoPipe, TimelineEntryComponent, TitleInputComponent, UPDATE_ACTIVE_ADMINISTRATOR, UPDATE_ADMINISTRATOR, UPDATE_ASSET, UPDATE_CHANNEL, UPDATE_COLLECTION, UPDATE_COUNTRY, UPDATE_CUSTOMER, UPDATE_CUSTOMER_ADDRESS, UPDATE_CUSTOMER_GROUP, UPDATE_CUSTOMER_NOTE, UPDATE_FACET, UPDATE_FACET_VALUES, UPDATE_GLOBAL_SETTINGS, UPDATE_ORDER_CUSTOM_FIELDS, UPDATE_ORDER_NOTE, UPDATE_PAYMENT_METHOD, UPDATE_PRODUCT, UPDATE_PRODUCT_OPTION, UPDATE_PRODUCT_OPTION_GROUP, UPDATE_PRODUCT_VARIANTS, UPDATE_PROMOTION, UPDATE_ROLE, UPDATE_SHIPPING_METHOD, UPDATE_TAG, UPDATE_TAX_CATEGORY, UPDATE_TAX_RATE, UPDATE_USER_CHANNELS, UPDATE_ZONE, USER_STATUS_FRAGMENT, UiExtensionPointComponent, UiLanguageSwitcherDialogComponent, UserMenuComponent, ZONE_FRAGMENT, addActionBarItem, addCustomFields, addNavMenuItem, addNavMenuSection, blockQuoteRule, buildInputRules, buildKeymap, buildMenuItems, bulletListRule, canInsert, clientResolvers, codeBlockRule, configurableDefinitionToInstance, configurableOperationValueIsValid, createApollo, createResolveData, createUpdatedTranslatable, dayOfWeekIndex, defaultFormInputs, detailBreadcrumb, encodeConfigArgValue, findTranslation, flattenFacetValues, getAppConfig, getClientDefaults, getConfigArgValue, getDefaultConfigArgValue, getDefaultUiLanguage, getDefaultUiLocale, getLocales, getMarkRange, getServerLocation, headingRule, hostExternalFrame, initializeServerConfigService, insertImageItem, interpolateDescription, result as introspectionResult, isEntityCreateOrUpdateMutation, jsonValidator, linkItem, linkSelectPlugin, loadAppConfig, markActive, orderedListRule, registerCustomDetailComponent, registerCustomFieldComponent, registerDashboardWidget, registerDefaultFormInputs, registerFormInputComponent, removeReadonlyCustomFields, setDashboardWidgetLayout, stringToColor, toConfigurableOperationInput, transformRelationCustomFieldInputs, unicodePatternValidator, weekDayNames };
|
|
15997
16053
|
//# sourceMappingURL=vendure-admin-ui-core.mjs.map
|