@veloceapps/sdk 4.0.2 → 4.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/veloce-sdk.umd.js +68 -67
- package/bundles/veloce-sdk.umd.js.map +1 -1
- package/cms/vendor-map.d.ts +116 -124
- package/esm2015/src/components/header/cart-overlay/cart-preview.component.js +1 -1
- package/esm2015/src/components/header/header.component.js +3 -2
- package/fesm2015/veloce-sdk.js +22 -21
- package/fesm2015/veloce-sdk.js.map +1 -1
- package/package.json +1 -1
package/cms/vendor-map.d.ts
CHANGED
@@ -263,8 +263,8 @@ export declare const vendorMap: {
|
|
263
263
|
forEachRight<TString_1 extends string | null | undefined>(collection: TString_1, iteratee?: lodash.StringIterator<any> | undefined): TString_1;
|
264
264
|
forEachRight<T_95, TList_2 extends lodash.List<T_95> | null | undefined>(collection: TList_2 & (lodash.List<T_95> | null | undefined), iteratee?: lodash.ListIterator<T_95, any> | undefined): TList_2;
|
265
265
|
forEachRight<T_96 extends object>(collection: T_96 | null | undefined, iteratee?: lodash.ObjectIterator<T_96, any> | undefined): T_96 | null | undefined;
|
266
|
-
groupBy<T_120>(collection: lodash.List<T_120> | null | undefined, iteratee?: lodash.ValueIteratee<T_120> | undefined): lodash.Dictionary<T_120[]>;
|
267
|
-
groupBy<T_121 extends object>(collection: T_121 | null | undefined, iteratee?: lodash.ValueIteratee<T_121[keyof T_121]> | undefined): lodash.Dictionary<T_121[keyof T_121][]>;
|
266
|
+
groupBy<T_120>(collection: lodash.List<T_120> | null | undefined, iteratee?: lodash.ValueIteratee<T_120> | undefined): lodash.Dictionary<[T_120, ...T_120[]]>;
|
267
|
+
groupBy<T_121 extends object>(collection: T_121 | null | undefined, iteratee?: lodash.ValueIteratee<T_121[keyof T_121]> | undefined): lodash.Dictionary<[T_121[keyof T_121], ...T_121[keyof T_121][]]>;
|
268
268
|
includes<T_122>(collection: lodash.Dictionary<T_122> | lodash.NumericDictionary<T_122> | null | undefined, target: T_122, fromIndex?: number | undefined): boolean;
|
269
269
|
invokeMap(collection: object | null | undefined, methodName: string, ...args: any[]): any[];
|
270
270
|
invokeMap<TResult_13>(collection: object | null | undefined, method: (...args: any[]) => TResult_13, ...args: any[]): TResult_13[];
|
@@ -318,52 +318,51 @@ export declare const vendorMap: {
|
|
318
318
|
bindKey: lodash.FunctionBindKey;
|
319
319
|
curry: lodash.Curry;
|
320
320
|
curryRight: lodash.CurryRight;
|
321
|
-
debounce<T_163 extends (...args: any) => any>(func: T_163, wait
|
322
|
-
debounce<T_164 extends (...args: any) => any>(func: T_164, wait?: number | undefined, options?: lodash.DebounceSettings | undefined): lodash.DebouncedFunc<T_164>;
|
321
|
+
debounce<T_163 extends (...args: any) => any>(func: T_163, wait?: number | undefined, options?: lodash.DebounceSettings | undefined): lodash.DebouncedFunc<T_163>;
|
323
322
|
defer(func: (...args: any[]) => any, ...args: any[]): number;
|
324
323
|
delay(func: (...args: any[]) => any, wait: number, ...args: any[]): number;
|
325
|
-
flip<
|
324
|
+
flip<T_164 extends (...args: any) => any>(func: T_164): T_164;
|
326
325
|
memoize: {
|
327
|
-
<
|
326
|
+
<T_165 extends (...args: any) => any>(func: T_165, resolver?: ((...args: Parameters<T_165>) => any) | undefined): T_165 & lodash.MemoizedFunction;
|
328
327
|
Cache: lodash.MapCacheConstructor;
|
329
328
|
};
|
330
|
-
negate<
|
331
|
-
once<
|
329
|
+
negate<T_166 extends any[]>(predicate: (...args: T_166) => boolean): (...args: T_166) => boolean;
|
330
|
+
once<T_167 extends (...args: any) => any>(func: T_167): T_167;
|
332
331
|
overArgs(func: (...args: any[]) => any, ...transforms: lodash.Many<(...args: any[]) => any>[]): (...args: any[]) => any;
|
333
332
|
partial: lodash.Partial;
|
334
333
|
partialRight: lodash.PartialRight;
|
335
334
|
rearg(func: (...args: any[]) => any, ...indexes: lodash.Many<number>[]): (...args: any[]) => any;
|
336
335
|
rest(func: (...args: any[]) => any, start?: number | undefined): (...args: any[]) => any;
|
337
336
|
spread<TResult_23>(func: (...args: any[]) => TResult_23, start?: number | undefined): (...args: any[]) => TResult_23;
|
338
|
-
throttle<
|
339
|
-
unary<
|
340
|
-
wrap<
|
341
|
-
castArray<
|
342
|
-
clone<
|
343
|
-
cloneDeep<
|
344
|
-
cloneDeepWith<
|
345
|
-
cloneDeepWith<
|
346
|
-
cloneWith<
|
347
|
-
cloneWith<
|
348
|
-
cloneWith<
|
349
|
-
conformsTo<
|
337
|
+
throttle<T_168 extends (...args: any) => any>(func: T_168, wait?: number | undefined, options?: lodash.ThrottleSettings | undefined): lodash.DebouncedFunc<T_168>;
|
338
|
+
unary<T_169, TResult_24>(func: (arg1: T_169, ...args: any[]) => TResult_24): (arg1: T_169) => TResult_24;
|
339
|
+
wrap<T_170, TArgs, TResult_25>(value: T_170, wrapper: (value: T_170, ...args: TArgs[]) => TResult_25): (...args: TArgs[]) => TResult_25;
|
340
|
+
castArray<T_171>(value?: lodash.Many<T_171> | undefined): T_171[];
|
341
|
+
clone<T_172>(value: T_172): T_172;
|
342
|
+
cloneDeep<T_173>(value: T_173): T_173;
|
343
|
+
cloneDeepWith<T_174>(value: T_174, customizer: lodash.CloneDeepWithCustomizer<T_174>): any;
|
344
|
+
cloneDeepWith<T_175>(value: T_175): T_175;
|
345
|
+
cloneWith<T_176, TResult_26 extends string | number | boolean | object | null>(value: T_176, customizer: lodash.CloneWithCustomizer<T_176, TResult_26>): TResult_26;
|
346
|
+
cloneWith<T_177, TResult_27>(value: T_177, customizer: lodash.CloneWithCustomizer<T_177, TResult_27 | undefined>): T_177 | TResult_27;
|
347
|
+
cloneWith<T_178>(value: T_178): T_178;
|
348
|
+
conformsTo<T_179>(object: T_179, source: lodash.ConformsPredicateObject<T_179>): boolean;
|
350
349
|
eq(value: any, other: any): boolean;
|
351
350
|
gt(value: any, other: any): boolean;
|
352
351
|
gte(value: any, other: any): boolean;
|
353
352
|
isArguments(value?: any): value is IArguments;
|
354
353
|
isArray(value?: any): value is any[];
|
355
|
-
isArray<
|
354
|
+
isArray<T_180>(value?: any): value is any[];
|
356
355
|
isArrayBuffer(value?: any): value is ArrayBuffer;
|
357
|
-
isArrayLike<
|
356
|
+
isArrayLike<T_181 extends {
|
358
357
|
__lodashAnyHack: any;
|
359
|
-
}>(t:
|
358
|
+
}>(t: T_181): boolean;
|
360
359
|
isArrayLike(value: ((...args: any[]) => any) | null | undefined): value is never;
|
361
360
|
isArrayLike(value: any): value is {
|
362
361
|
length: number;
|
363
362
|
};
|
364
|
-
isArrayLikeObject<
|
363
|
+
isArrayLikeObject<T_182 extends {
|
365
364
|
__lodashAnyHack: any;
|
366
|
-
}>(value:
|
365
|
+
}>(value: T_182): boolean;
|
367
366
|
isArrayLikeObject(value: string | number | boolean | Function | ((...args: any[]) => any) | null | undefined): value is never;
|
368
367
|
isArrayLikeObject(value: any): value is object & {
|
369
368
|
length: number;
|
@@ -372,12 +371,6 @@ export declare const vendorMap: {
|
|
372
371
|
isBuffer(value?: any): boolean;
|
373
372
|
isDate(value?: any): value is Date;
|
374
373
|
isElement(value?: any): boolean;
|
375
|
-
isEmpty<T_184 extends {
|
376
|
-
__trapAny: any;
|
377
|
-
}>(value?: T_184 | undefined): boolean;
|
378
|
-
isEmpty(value: string): value is "";
|
379
|
-
isEmpty(value: lodash.List<any> | Map<any, any> | Set<any> | null | undefined): boolean;
|
380
|
-
isEmpty<T_185 extends object>(value: T_185 | null | undefined): value is lodash.EmptyObjectOf<T_185> | null | undefined;
|
381
374
|
isEmpty(value?: any): boolean;
|
382
375
|
isEqual(value: any, other: any): boolean;
|
383
376
|
isEqualWith(value: any, other: any, customizer?: lodash.IsEqualCustomizer | undefined): boolean;
|
@@ -408,8 +401,8 @@ export declare const vendorMap: {
|
|
408
401
|
isWeakSet(value?: any): value is WeakSet<object>;
|
409
402
|
lt(value: any, other: any): boolean;
|
410
403
|
lte(value: any, other: any): boolean;
|
411
|
-
toArray<
|
412
|
-
toArray<
|
404
|
+
toArray<T_183>(value: lodash.Dictionary<T_183> | lodash.NumericDictionary<T_183> | null | undefined): T_183[];
|
405
|
+
toArray<T_184>(value: T_184): T_184[keyof T_184][];
|
413
406
|
toArray(): any[];
|
414
407
|
toFinite(value: any): number;
|
415
408
|
toInteger(value: any): number;
|
@@ -422,17 +415,17 @@ export declare const vendorMap: {
|
|
422
415
|
ceil(n: number, precision?: number | undefined): number;
|
423
416
|
divide(dividend: number, divisor: number): number;
|
424
417
|
floor(n: number, precision?: number | undefined): number;
|
425
|
-
max<
|
426
|
-
maxBy<
|
418
|
+
max<T_185>(collection: lodash.List<T_185> | null | undefined): T_185 | undefined;
|
419
|
+
maxBy<T_186>(collection: lodash.List<T_186> | null | undefined, iteratee?: lodash.ValueIteratee<T_186> | undefined): T_186 | undefined;
|
427
420
|
mean(collection: lodash.List<any> | null | undefined): number;
|
428
|
-
meanBy<
|
429
|
-
min<
|
430
|
-
minBy<
|
421
|
+
meanBy<T_187>(collection: lodash.List<T_187> | null | undefined, iteratee?: lodash.ValueIteratee<T_187> | undefined): number;
|
422
|
+
min<T_188>(collection: lodash.List<T_188> | null | undefined): T_188 | undefined;
|
423
|
+
minBy<T_189>(collection: lodash.List<T_189> | null | undefined, iteratee?: lodash.ValueIteratee<T_189> | undefined): T_189 | undefined;
|
431
424
|
multiply(multiplier: number, multiplicand: number): number;
|
432
425
|
round(n: number, precision?: number | undefined): number;
|
433
426
|
subtract(minuend: number, subtrahend: number): number;
|
434
427
|
sum(collection: lodash.List<any> | null | undefined): number;
|
435
|
-
sumBy<
|
428
|
+
sumBy<T_190>(collection: lodash.List<T_190> | null | undefined, iteratee?: string | ((value: T_190) => number) | undefined): number;
|
436
429
|
clamp(number: number, lower: number, upper: number): number;
|
437
430
|
clamp(number: number, upper: number): number;
|
438
431
|
inRange(n: number, start: number, end?: number | undefined): boolean;
|
@@ -464,9 +457,9 @@ export declare const vendorMap: {
|
|
464
457
|
assignWith<TObject_18, TSource1_11, TSource2_11, TSource3_7, TSource4_3>(object: TObject_18, source1: TSource1_11, source2: TSource2_11, source3: TSource3_7, source4: TSource4_3, customizer: lodash.AssignCustomizer): TObject_18 & TSource1_11 & TSource2_11 & TSource3_7 & TSource4_3;
|
465
458
|
assignWith<TObject_19>(object: TObject_19): TObject_19;
|
466
459
|
assignWith<TResult_30>(object: any, ...otherArgs: any[]): TResult_30;
|
467
|
-
at<
|
468
|
-
at<
|
469
|
-
create<
|
460
|
+
at<T_191>(object: lodash.Dictionary<T_191> | lodash.NumericDictionary<T_191> | null | undefined, ...props: lodash.PropertyPath[]): T_191[];
|
461
|
+
at<T_192 extends object>(object: T_192 | null | undefined, ...props: lodash.Many<keyof T_192>[]): T_192[keyof T_192][];
|
462
|
+
create<T_193 extends object, U_3 extends object>(prototype: T_193, properties?: U_3 | undefined): T_193 & U_3;
|
470
463
|
defaults<TObject_20, TSource_4>(object: TObject_20, source: TSource_4): NonNullable<TSource_4 & TObject_20>;
|
471
464
|
defaults<TObject_21, TSource1_12, TSource2_12>(object: TObject_21, source1: TSource1_12, source2: TSource2_12): NonNullable<TSource2_12 & TSource1_12 & TObject_21>;
|
472
465
|
defaults<TObject_22, TSource1_13, TSource2_13, TSource3_8>(object: TObject_22, source1: TSource1_13, source2: TSource2_13, source3: TSource3_8): NonNullable<TSource3_8 & TSource2_13 & TSource1_13 & TObject_22>;
|
@@ -474,9 +467,9 @@ export declare const vendorMap: {
|
|
474
467
|
defaults<TObject_24>(object: TObject_24): NonNullable<TObject_24>;
|
475
468
|
defaults(object: any, ...sources: any[]): any;
|
476
469
|
defaultsDeep(object: any, ...sources: any[]): any;
|
477
|
-
entries<
|
470
|
+
entries<T_194>(object?: lodash.Dictionary<T_194> | lodash.NumericDictionary<T_194> | undefined): [string, T_194][];
|
478
471
|
entries(object?: object | undefined): [string, any][];
|
479
|
-
entriesIn<
|
472
|
+
entriesIn<T_195>(object?: lodash.Dictionary<T_195> | lodash.NumericDictionary<T_195> | undefined): [string, T_195][];
|
480
473
|
entriesIn(object?: object | undefined): [string, any][];
|
481
474
|
extend<TObject_25, TSource_5>(object: TObject_25, source: TSource_5): TObject_25 & TSource_5;
|
482
475
|
extend<TObject_26, TSource1_15, TSource2_15>(object: TObject_26, source1: TSource1_15, source2: TSource2_15): TObject_26 & TSource1_15 & TSource2_15;
|
@@ -490,18 +483,18 @@ export declare const vendorMap: {
|
|
490
483
|
extendWith<TObject_33, TSource1_20, TSource2_20, TSource3_13, TSource4_6>(object: TObject_33, source1: TSource1_20, source2: TSource2_20, source3: TSource3_13, source4: TSource4_6, customizer: lodash.AssignCustomizer): TObject_33 & TSource1_20 & TSource2_20 & TSource3_13 & TSource4_6;
|
491
484
|
extendWith<TObject_34>(object: TObject_34): TObject_34;
|
492
485
|
extendWith<TResult_32>(object: any, ...otherArgs: any[]): TResult_32;
|
493
|
-
findKey<
|
494
|
-
findLastKey<
|
495
|
-
forIn<
|
496
|
-
forIn<
|
497
|
-
forInRight<
|
498
|
-
forInRight<
|
499
|
-
forOwn<
|
500
|
-
forOwn<
|
501
|
-
forOwnRight<
|
502
|
-
forOwnRight<
|
486
|
+
findKey<T_196>(object: T_196 | null | undefined, predicate?: lodash.ObjectIteratee<T_196> | undefined): string | undefined;
|
487
|
+
findLastKey<T_197>(object: T_197 | null | undefined, predicate?: lodash.ObjectIteratee<T_197> | undefined): string | undefined;
|
488
|
+
forIn<T_198>(object: T_198, iteratee?: lodash.ObjectIterator<T_198, any> | undefined): T_198;
|
489
|
+
forIn<T_199>(object: T_199 | null | undefined, iteratee?: lodash.ObjectIterator<T_199, any> | undefined): T_199 | null | undefined;
|
490
|
+
forInRight<T_200>(object: T_200, iteratee?: lodash.ObjectIterator<T_200, any> | undefined): T_200;
|
491
|
+
forInRight<T_201>(object: T_201 | null | undefined, iteratee?: lodash.ObjectIterator<T_201, any> | undefined): T_201 | null | undefined;
|
492
|
+
forOwn<T_202>(object: T_202, iteratee?: lodash.ObjectIterator<T_202, any> | undefined): T_202;
|
493
|
+
forOwn<T_203>(object: T_203 | null | undefined, iteratee?: lodash.ObjectIterator<T_203, any> | undefined): T_203 | null | undefined;
|
494
|
+
forOwnRight<T_204>(object: T_204, iteratee?: lodash.ObjectIterator<T_204, any> | undefined): T_204;
|
495
|
+
forOwnRight<T_205>(object: T_205 | null | undefined, iteratee?: lodash.ObjectIterator<T_205, any> | undefined): T_205 | null | undefined;
|
503
496
|
functions(object: any): string[];
|
504
|
-
functionsIn<
|
497
|
+
functionsIn<T_206 extends {}>(object: any): string[];
|
505
498
|
get<TObject_35 extends object, TKey extends keyof TObject_35>(object: TObject_35, path: TKey | [TKey]): TObject_35[TKey];
|
506
499
|
get<TObject_36 extends object, TKey_1 extends keyof TObject_36>(object: TObject_36 | null | undefined, path: TKey_1 | [TKey_1]): TObject_36[TKey_1] | undefined;
|
507
500
|
get<TObject_37 extends object, TKey_2 extends keyof TObject_37, TDefault>(object: TObject_37 | null | undefined, path: TKey_2 | [TKey_2], defaultValue: TDefault): TDefault | Exclude<TObject_37[TKey_2], undefined>;
|
@@ -514,33 +507,33 @@ export declare const vendorMap: {
|
|
514
507
|
get<TObject_44 extends object, TKey1_6 extends keyof TObject_44, TKey2_6 extends keyof TObject_44[TKey1_6], TKey3_3 extends keyof TObject_44[TKey1_6][TKey2_6], TKey4 extends keyof TObject_44[TKey1_6][TKey2_6][TKey3_3]>(object: TObject_44, path: [TKey1_6, TKey2_6, TKey3_3, TKey4]): TObject_44[TKey1_6][TKey2_6][TKey3_3][TKey4];
|
515
508
|
get<TObject_45 extends object, TKey1_7 extends keyof TObject_45, TKey2_7 extends keyof TObject_45[TKey1_7], TKey3_4 extends keyof TObject_45[TKey1_7][TKey2_7], TKey4_1 extends keyof TObject_45[TKey1_7][TKey2_7][TKey3_4]>(object: TObject_45 | null | undefined, path: [TKey1_7, TKey2_7, TKey3_4, TKey4_1]): TObject_45[TKey1_7][TKey2_7][TKey3_4][TKey4_1] | undefined;
|
516
509
|
get<TObject_46 extends object, TKey1_8 extends keyof TObject_46, TKey2_8 extends keyof TObject_46[TKey1_8], TKey3_5 extends keyof TObject_46[TKey1_8][TKey2_8], TKey4_2 extends keyof TObject_46[TKey1_8][TKey2_8][TKey3_5], TDefault_3>(object: TObject_46 | null | undefined, path: [TKey1_8, TKey2_8, TKey3_5, TKey4_2], defaultValue: TDefault_3): TDefault_3 | Exclude<TObject_46[TKey1_8][TKey2_8][TKey3_5][TKey4_2], undefined>;
|
517
|
-
get<
|
518
|
-
get<
|
519
|
-
get<
|
510
|
+
get<T_207>(object: lodash.NumericDictionary<T_207>, path: number): T_207;
|
511
|
+
get<T_208>(object: lodash.NumericDictionary<T_208> | null | undefined, path: number): T_208 | undefined;
|
512
|
+
get<T_209, TDefault_4>(object: lodash.NumericDictionary<T_209> | null | undefined, path: number, defaultValue: TDefault_4): T_209 | TDefault_4;
|
520
513
|
get<TDefault_5>(object: null | undefined, path: lodash.PropertyPath, defaultValue: TDefault_5): TDefault_5;
|
521
514
|
get(object: null | undefined, path: lodash.PropertyPath): undefined;
|
522
515
|
get(object: any, path: lodash.PropertyPath, defaultValue?: any): any;
|
523
|
-
has<
|
524
|
-
hasIn<
|
516
|
+
has<T_210>(object: T_210, path: lodash.PropertyPath): boolean;
|
517
|
+
hasIn<T_211>(object: T_211, path: lodash.PropertyPath): boolean;
|
525
518
|
invert(object: object): lodash.Dictionary<string>;
|
526
|
-
invertBy<
|
527
|
-
invertBy<
|
519
|
+
invertBy<T_212>(object: lodash.Dictionary<T_212> | lodash.NumericDictionary<T_212> | null | undefined, interatee?: lodash.ValueIteratee<T_212> | undefined): lodash.Dictionary<string[]>;
|
520
|
+
invertBy<T_213 extends object>(object: T_213 | null | undefined, interatee?: lodash.ValueIteratee<T_213[keyof T_213]> | undefined): lodash.Dictionary<string[]>;
|
528
521
|
invoke(object: any, path: lodash.PropertyPath, ...args: any[]): any;
|
529
522
|
keys(object?: any): string[];
|
530
523
|
keysIn(object?: any): string[];
|
531
|
-
mapKeys<
|
532
|
-
mapKeys<
|
524
|
+
mapKeys<T_214>(object: lodash.List<T_214> | null | undefined, iteratee?: lodash.ListIteratee<T_214> | undefined): lodash.Dictionary<T_214>;
|
525
|
+
mapKeys<T_215 extends object>(object: T_215 | null | undefined, iteratee?: lodash.ObjectIteratee<T_215> | undefined): lodash.Dictionary<T_215[keyof T_215]>;
|
533
526
|
mapValues<TResult_33>(obj: string | null | undefined, callback: lodash.StringIterator<TResult_33>): lodash.NumericDictionary<TResult_33>;
|
534
|
-
mapValues<
|
535
|
-
mapValues<
|
536
|
-
mapValues<
|
537
|
-
mapValues<
|
538
|
-
mapValues<
|
539
|
-
mapValues<
|
527
|
+
mapValues<T_216 extends object, TResult_34>(obj: T_216 | null | undefined, callback: lodash.ObjectIterator<T_216, TResult_34>): { [P in keyof T_216]: TResult_34; };
|
528
|
+
mapValues<T_217>(obj: lodash.Dictionary<T_217> | lodash.NumericDictionary<T_217> | null | undefined, iteratee: object): lodash.Dictionary<boolean>;
|
529
|
+
mapValues<T_218 extends object>(obj: T_218 | null | undefined, iteratee: object): { [P_1 in keyof T_218]: boolean; };
|
530
|
+
mapValues<T_219, TKey_3 extends keyof T_219>(obj: lodash.Dictionary<T_219> | lodash.NumericDictionary<T_219> | null | undefined, iteratee: TKey_3): lodash.Dictionary<T_219[TKey_3]>;
|
531
|
+
mapValues<T_220>(obj: lodash.Dictionary<T_220> | lodash.NumericDictionary<T_220> | null | undefined, iteratee: string): lodash.Dictionary<any>;
|
532
|
+
mapValues<T_221 extends object>(obj: T_221 | null | undefined, iteratee: string): { [P_2 in keyof T_221]: any; };
|
540
533
|
mapValues(obj: string | null | undefined): lodash.NumericDictionary<string>;
|
541
|
-
mapValues<
|
542
|
-
mapValues<
|
543
|
-
mapValues<
|
534
|
+
mapValues<T_222>(obj: lodash.Dictionary<T_222> | lodash.NumericDictionary<T_222> | null | undefined): lodash.Dictionary<T_222>;
|
535
|
+
mapValues<T_223 extends object>(obj: T_223): T_223;
|
536
|
+
mapValues<T_224 extends object>(obj: T_224 | null | undefined): Partial<T_224>;
|
544
537
|
merge<TObject_47, TSource_7>(object: TObject_47, source: TSource_7): TObject_47 & TSource_7;
|
545
538
|
merge<TObject_48, TSource1_21, TSource2_21>(object: TObject_48, source1: TSource1_21, source2: TSource2_21): TObject_48 & TSource1_21 & TSource2_21;
|
546
539
|
merge<TObject_49, TSource1_22, TSource2_22, TSource3_14>(object: TObject_49, source1: TSource1_22, source2: TSource2_22, source3: TSource3_14): TObject_49 & TSource1_22 & TSource2_22 & TSource3_14;
|
@@ -551,54 +544,54 @@ export declare const vendorMap: {
|
|
551
544
|
mergeWith<TObject_53, TSource1_25, TSource2_25, TSource3_16>(object: TObject_53, source1: TSource1_25, source2: TSource2_25, source3: TSource3_16, customizer: (value: any, srcValue: any, key: string, object: any, source: any) => any): TObject_53 & TSource1_25 & TSource2_25 & TSource3_16;
|
552
545
|
mergeWith<TObject_54, TSource1_26, TSource2_26, TSource3_17, TSource4_8>(object: TObject_54, source1: TSource1_26, source2: TSource2_26, source3: TSource3_17, source4: TSource4_8, customizer: (value: any, srcValue: any, key: string, object: any, source: any) => any): TObject_54 & TSource1_26 & TSource2_26 & TSource3_17 & TSource4_8;
|
553
546
|
mergeWith(object: any, ...otherArgs: any[]): any;
|
554
|
-
omit<
|
555
|
-
omit<
|
556
|
-
omit<
|
557
|
-
omitBy<
|
558
|
-
omitBy<
|
559
|
-
omitBy<
|
560
|
-
pick<
|
561
|
-
pick<
|
562
|
-
pickBy<
|
563
|
-
pickBy<
|
564
|
-
pickBy<
|
565
|
-
pickBy<
|
566
|
-
pickBy<
|
547
|
+
omit<T_225 extends object, K_1 extends lodash.PropertyName[]>(object: T_225 | null | undefined, ...paths: K_1): Pick<T_225, Exclude<keyof T_225, K_1[number]>>;
|
548
|
+
omit<T_226 extends object, K_2 extends keyof T_226>(object: T_226 | null | undefined, ...paths: lodash.Many<K_2>[]): lodash.Omit<T_226, K_2>;
|
549
|
+
omit<T_227 extends object>(object: T_227 | null | undefined, ...paths: lodash.Many<lodash.PropertyName>[]): Partial<T_227>;
|
550
|
+
omitBy<T_228>(object: lodash.Dictionary<T_228> | null | undefined, predicate?: lodash.ValueKeyIteratee<T_228> | undefined): lodash.Dictionary<T_228>;
|
551
|
+
omitBy<T_229>(object: lodash.NumericDictionary<T_229> | null | undefined, predicate?: lodash.ValueKeyIteratee<T_229> | undefined): lodash.NumericDictionary<T_229>;
|
552
|
+
omitBy<T_230 extends object>(object: T_230 | null | undefined, predicate: lodash.ValueKeyIteratee<T_230[keyof T_230]>): Partial<T_230>;
|
553
|
+
pick<T_231 extends object, U_4 extends keyof T_231>(object: T_231, ...props: lodash.Many<U_4>[]): Pick<T_231, U_4>;
|
554
|
+
pick<T_232>(object: T_232 | null | undefined, ...props: lodash.PropertyPath[]): Partial<T_232>;
|
555
|
+
pickBy<T_233, S_6 extends T_233>(object: lodash.Dictionary<T_233> | null | undefined, predicate: lodash.ValueKeyIterateeTypeGuard<T_233, S_6>): lodash.Dictionary<S_6>;
|
556
|
+
pickBy<T_234, S_7 extends T_234>(object: lodash.NumericDictionary<T_234> | null | undefined, predicate: lodash.ValueKeyIterateeTypeGuard<T_234, S_7>): lodash.NumericDictionary<S_7>;
|
557
|
+
pickBy<T_235>(object: lodash.Dictionary<T_235> | null | undefined, predicate?: lodash.ValueKeyIteratee<T_235> | undefined): lodash.Dictionary<T_235>;
|
558
|
+
pickBy<T_236>(object: lodash.NumericDictionary<T_236> | null | undefined, predicate?: lodash.ValueKeyIteratee<T_236> | undefined): lodash.NumericDictionary<T_236>;
|
559
|
+
pickBy<T_237 extends object>(object: T_237 | null | undefined, predicate?: lodash.ValueKeyIteratee<T_237[keyof T_237]> | undefined): Partial<T_237>;
|
567
560
|
result<TResult_35>(object: any, path: lodash.PropertyPath, defaultValue?: TResult_35 | ((...args: any[]) => TResult_35) | undefined): TResult_35;
|
568
|
-
set<
|
561
|
+
set<T_238 extends object>(object: T_238, path: lodash.PropertyPath, value: any): T_238;
|
569
562
|
set<TResult_36>(object: object, path: lodash.PropertyPath, value: any): TResult_36;
|
570
|
-
setWith<
|
571
|
-
setWith<
|
572
|
-
toPairs<
|
563
|
+
setWith<T_239 extends object>(object: T_239, path: lodash.PropertyPath, value: any, customizer?: lodash.SetWithCustomizer<T_239> | undefined): T_239;
|
564
|
+
setWith<T_240 extends object, TResult_37>(object: T_240, path: lodash.PropertyPath, value: any, customizer?: lodash.SetWithCustomizer<T_240> | undefined): TResult_37;
|
565
|
+
toPairs<T_241>(object?: lodash.Dictionary<T_241> | lodash.NumericDictionary<T_241> | undefined): [string, T_241][];
|
573
566
|
toPairs(object?: object | undefined): [string, any][];
|
574
|
-
toPairsIn<
|
567
|
+
toPairsIn<T_242>(object?: lodash.Dictionary<T_242> | lodash.NumericDictionary<T_242> | undefined): [string, T_242][];
|
575
568
|
toPairsIn(object?: object | undefined): [string, any][];
|
576
|
-
transform<
|
577
|
-
transform<
|
578
|
-
transform<
|
569
|
+
transform<T_243, TResult_38>(object: readonly T_243[], iteratee: lodash.MemoVoidArrayIterator<T_243, TResult_38>, accumulator?: TResult_38 | undefined): TResult_38;
|
570
|
+
transform<T_244, TResult_39>(object: lodash.Dictionary<T_244>, iteratee: lodash.MemoVoidDictionaryIterator<T_244, string, TResult_39>, accumulator?: TResult_39 | undefined): TResult_39;
|
571
|
+
transform<T_245 extends object, TResult_40>(object: T_245, iteratee: lodash.MemoVoidDictionaryIterator<T_245[keyof T_245], keyof T_245, TResult_40>, accumulator?: TResult_40 | undefined): TResult_40;
|
579
572
|
transform(object: any[]): any[];
|
580
573
|
transform(object: object): lodash.Dictionary<any>;
|
581
574
|
unset(object: any, path: lodash.PropertyPath): boolean;
|
582
575
|
update(object: object, path: lodash.PropertyPath, updater: (value: any) => any): any;
|
583
|
-
updateWith<
|
584
|
-
updateWith<
|
585
|
-
values<
|
586
|
-
values<
|
576
|
+
updateWith<T_246 extends object>(object: T_246, path: lodash.PropertyPath, updater: (oldValue: any) => any, customizer?: lodash.SetWithCustomizer<T_246> | undefined): T_246;
|
577
|
+
updateWith<T_247 extends object, TResult_41>(object: T_247, path: lodash.PropertyPath, updater: (oldValue: any) => any, customizer?: lodash.SetWithCustomizer<T_247> | undefined): TResult_41;
|
578
|
+
values<T_248>(object: lodash.Dictionary<T_248> | lodash.NumericDictionary<T_248> | lodash.List<T_248> | null | undefined): T_248[];
|
579
|
+
values<T_249 extends object>(object: T_249 | null | undefined): T_249[keyof T_249][];
|
587
580
|
values(object: any): any[];
|
588
|
-
valuesIn<
|
589
|
-
valuesIn<
|
581
|
+
valuesIn<T_250>(object: lodash.Dictionary<T_250> | lodash.NumericDictionary<T_250> | lodash.List<T_250> | null | undefined): T_250[];
|
582
|
+
valuesIn<T_251 extends object>(object: T_251 | null | undefined): T_251[keyof T_251][];
|
590
583
|
chain<TrapAny extends {
|
591
584
|
__lodashAnyHack: any;
|
592
585
|
}>(value: TrapAny): lodash.CollectionChain<any> & lodash.FunctionChain<any> & lodash.ObjectChain<any> & lodash.PrimitiveChain<any> & lodash.StringChain;
|
593
|
-
chain<
|
586
|
+
chain<T_252 extends null | undefined>(value: T_252): lodash.PrimitiveChain<T_252>;
|
594
587
|
chain(value: string): lodash.StringChain;
|
595
588
|
chain(value: string | null | undefined): lodash.StringNullableChain;
|
596
|
-
chain<
|
597
|
-
chain<
|
598
|
-
chain<
|
599
|
-
chain<
|
600
|
-
tap<
|
601
|
-
thru<
|
589
|
+
chain<T_253 extends (...args: any[]) => any>(value: T_253): lodash.FunctionChain<T_253>;
|
590
|
+
chain<T_254 = any>(value: lodash.List<T_254> | null | undefined): lodash.CollectionChain<T_254>;
|
591
|
+
chain<T_255 extends object>(value: T_255 | null | undefined): lodash.ObjectChain<T_255>;
|
592
|
+
chain<T_256>(value: T_256): lodash.PrimitiveChain<T_256>;
|
593
|
+
tap<T_257>(value: T_257, interceptor: (value: T_257) => void): T_257;
|
594
|
+
thru<T_258, TResult_42>(value: T_258, interceptor: (value: T_258) => TResult_42): TResult_42;
|
602
595
|
camelCase(string?: string | undefined): string;
|
603
596
|
capitalize(string?: string | undefined): string;
|
604
597
|
deburr(string?: string | undefined): string;
|
@@ -636,13 +629,12 @@ export declare const vendorMap: {
|
|
636
629
|
words(string?: string | undefined, pattern?: string | RegExp | undefined): string[];
|
637
630
|
words(string: string, index: string | number, guard: object): string[];
|
638
631
|
attempt<TResult_43>(func: (...args: any[]) => TResult_43, ...args: any[]): Error | TResult_43;
|
639
|
-
bindAll<
|
640
|
-
cond<R>(pairs: lodash.
|
641
|
-
|
642
|
-
|
643
|
-
|
644
|
-
defaultTo<
|
645
|
-
defaultTo<T_267, TDefault_6>(value: T_267 | null | undefined, defaultValue: TDefault_6): T_267 | TDefault_6;
|
632
|
+
bindAll<T_259>(object: T_259, ...methodNames: lodash.Many<string>[]): T_259;
|
633
|
+
cond<T_260, R>(pairs: lodash.CondPair<T_260, R>[]): (Target: T_260) => R;
|
634
|
+
conforms<T_261>(source: lodash.ConformsPredicateObject<T_261>): (value: T_261) => boolean;
|
635
|
+
constant<T_262>(value: T_262): () => T_262;
|
636
|
+
defaultTo<T_263>(value: T_263 | null | undefined, defaultValue: T_263): T_263;
|
637
|
+
defaultTo<T_264, TDefault_6>(value: T_264 | null | undefined, defaultValue: TDefault_6): T_264 | TDefault_6;
|
646
638
|
flow<A extends any[], R1, R2, R3, R4, R5, R6, R7>(f1: (...args: A) => R1, f2: (a: R1) => R2, f3: (a: R2) => R3, f4: (a: R3) => R4, f5: (a: R4) => R5, f6: (a: R5) => R6, f7: (a: R6) => R7): (...args: A) => R7;
|
647
639
|
flow<A_1 extends any[], R1_1, R2_1, R3_1, R4_1, R5_1, R6_1, R7_1>(f1: (...args: A_1) => R1_1, f2: (a: R1_1) => R2_1, f3: (a: R2_1) => R3_1, f4: (a: R3_1) => R4_1, f5: (a: R4_1) => R5_1, f6: (a: R5_1) => R6_1, f7: (a: R6_1) => R7_1, ...func: lodash.Many<(a: any) => any>[]): (...args: A_1) => any;
|
648
640
|
flow<A_2 extends any[], R1_2, R2_2, R3_2, R4_2, R5_2, R6_2>(f1: (...args: A_2) => R1_2, f2: (a: R1_2) => R2_2, f3: (a: R2_2) => R3_2, f4: (a: R3_2) => R4_2, f5: (a: R4_2) => R5_2, f6: (a: R5_2) => R6_2): (...args: A_2) => R6_2;
|
@@ -658,14 +650,14 @@ export declare const vendorMap: {
|
|
658
650
|
flowRight<A_11 extends any[], R1_11, R2_11, R3_10>(f3: (a: R2_11) => R3_10, f2: (a: R1_11) => R2_11, f1: (...args: A_11) => R1_11): (...args: A_11) => R3_10;
|
659
651
|
flowRight<A_12 extends any[], R1_12, R2_12>(f2: (a: R1_12) => R2_12, f1: (...args: A_12) => R1_12): (...args: A_12) => R2_12;
|
660
652
|
flowRight(...func: lodash.Many<(...args: any[]) => any>[]): (...args: any[]) => any;
|
661
|
-
identity<
|
653
|
+
identity<T_265>(value: T_265): T_265;
|
662
654
|
identity(): undefined;
|
663
655
|
iteratee<TFunction extends (...args: any[]) => any>(func: TFunction): TFunction;
|
664
656
|
iteratee(func: string | number | symbol | object): (...args: any[]) => any;
|
665
|
-
matches<
|
666
|
-
matches<
|
667
|
-
matchesProperty<
|
668
|
-
matchesProperty<
|
657
|
+
matches<T_266>(source: T_266): (value: any) => boolean;
|
658
|
+
matches<T_267, V>(source: T_267): (value: V) => boolean;
|
659
|
+
matchesProperty<T_268>(path: lodash.PropertyPath, srcValue: T_268): (value: any) => boolean;
|
660
|
+
matchesProperty<T_269, V_1>(path: lodash.PropertyPath, srcValue: T_269): (value: V_1) => boolean;
|
669
661
|
method(path: lodash.PropertyPath, ...args: any[]): (object: any) => any;
|
670
662
|
methodOf(object: object, ...args: any[]): (path: lodash.PropertyPath) => any;
|
671
663
|
mixin<TObject_55>(object: TObject_55, source: lodash.Dictionary<(...args: any[]) => any>, options?: lodash.MixinOptions | undefined): TObject_55;
|
@@ -674,12 +666,12 @@ export declare const vendorMap: {
|
|
674
666
|
noop(...args: any[]): void;
|
675
667
|
nthArg(n?: number | undefined): (...args: any[]) => any;
|
676
668
|
over<TResult_45>(...iteratees: lodash.Many<(...args: any[]) => TResult_45>[]): (...args: any[]) => TResult_45[];
|
677
|
-
overEvery<
|
678
|
-
overEvery<
|
679
|
-
overSome<
|
680
|
-
overSome<
|
669
|
+
overEvery<T_270, Result1 extends T_270, Result2 extends T_270>(predicates_0: (arg: T_270) => arg is Result1, predicates_1: (arg: T_270) => arg is Result2): (arg: T_270) => arg is Result1 & Result2;
|
670
|
+
overEvery<T_271>(...predicates: lodash.Many<(...args: T_271[]) => boolean>[]): (...args: T_271[]) => boolean;
|
671
|
+
overSome<T_272, Result1_1 extends T_272, Result2_1 extends T_272>(predicates_0: (arg: T_272) => arg is Result1_1, predicates_1: (arg: T_272) => arg is Result2_1): (arg: T_272) => arg is Result1_1 | Result2_1;
|
672
|
+
overSome<T_273>(...predicates: lodash.Many<(...args: T_273[]) => boolean>[]): (...args: T_273[]) => boolean;
|
681
673
|
property<TObj, TResult_46>(path: lodash.PropertyPath): (obj: TObj) => TResult_46;
|
682
|
-
propertyOf<
|
674
|
+
propertyOf<T_274 extends {}>(object: T_274): (path: lodash.PropertyPath) => any;
|
683
675
|
range(start: number, end?: number | undefined, step?: number | undefined): number[];
|
684
676
|
range(end: number, index: string | number, guard: object): number[];
|
685
677
|
rangeRight(start: number, end?: number | undefined, step?: number | undefined): number[];
|
@@ -100,7 +100,7 @@ export class CartPreviewComponent {
|
|
100
100
|
}
|
101
101
|
}
|
102
102
|
CartPreviewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: CartPreviewComponent, deps: [{ token: i1.FlowConfigurationService }, { token: i2.FlowRouterService }, { token: i1.ProductImagesService }, { token: i1.QuoteDraftService }], target: i0.ɵɵFactoryTarget.Component });
|
103
|
-
CartPreviewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.15", type: CartPreviewComponent, selector: "vl-cart-preview", inputs: { products: "products" }, viewQueries: [{ propertyName: "overlayPanel", first: true, predicate: OverlayPanel, descendants: true }], usesOnChanges: true, ngImport: i0, template: "<p-overlayPanel\n styleClass=\"navigation-settings-overlay flow-header-overlay center\"\n showTransitionOptions=\"0ms\"\n hideTransitionOptions=\"0ms\"\n>\n <ng-template pTemplate>\n <div class=\"flow-header-overlay__wrapper\" *vlLet=\"readonlyProductId$ | async as readonlyProductId\">\n <ng-container *vlLet=\"isEditMode$ | async as isEditMode\">\n <ng-container *ngIf=\"products.length > 0; else empty\">\n <h2 class=\"flow-header-overlay__title\">\n <span>Products ({{ products.length }})</span>\n <i class=\"vl-icon vl-icon-close close-icon\" (click)=\"overlayPanel.hide()\"></i>\n </h2>\n\n <div class=\"product header\">\n <span>Product</span>\n <span class=\"text-right\">Qty</span>\n <span class=\"text-right\">MRR</span>\n <span class=\"text-right\">NRR</span>\n </div>\n\n <div class=\"scrollable-wrapper\">\n <div class=\"product\" *ngFor=\"let product of products\">\n <div\n class=\"product__info\"\n *vlLet=\"!isEditMode || product.deleted || readonlyProductId === product.productId as readonlyProduct\"\n >\n <div class=\"product__image-wrapper\">\n <div\n *ngIf=\"getImageUrl(product.productId) | async as imageUrl; else noImage\"\n class=\"product__image\"\n [ngStyle]=\"{ 'background-image': 'url(' + imageUrl + ')' }\"\n ></div>\n </div>\n <div class=\"flex flex-column justify-content-center\">\n <div class=\"word-break\">{{ product.name }}</div>\n <div>\n <p-button\n label=\"Configure\"\n [disabled]=\"readonlyProduct || !product.configurable\"\n styleClass=\"p-button-link p-button-sm pl-0\"\n (onClick)=\"navigateToProductConfiguration(product.productId, product.id)\"\n ></p-button>\n <p-button\n label=\"Delete\"\n [disabled]=\"readonlyProduct\"\n styleClass=\"p-button-link p-button-sm p-button-danger pl-0 pr-0\"\n (onClick)=\"deleteHandler(product)\"\n ></p-button>\n </div>\n </div>\n </div>\n\n <span>\n <p-inputNumber\n *ngIf=\"form.controls[product.id] as control\"\n class=\"qty-control\"\n [formControl]=\"$any(control)\"\n [min]=\"1\"\n [required]=\"true\"\n (onBlur)=\"controlBlurHandler(product)\"\n ></p-inputNumber>\n </span>\n <span class=\"text-right pt-3\">${{ product.mrr }}</span>\n <span class=\"text-right pt-3\">${{ product.nrr }}</span>\n </div>\n\n <ng-template #noImage>\n <i class=\"vl-icon vl-icon-no-image no-image-icon\"></i>\n </ng-template>\n </div>\n\n <div class=\"flex justify-content-end mt-3\">\n <p-button\n label=\"Clear cart\"\n styleClass=\"p-button-link p-button-sm p-button-danger pl-0 pr-0\"\n [disabled]=\"!isEditMode || readonlyProductId\"\n (onClick)=\"deleteAllHandler()\"\n ></p-button>\n </div>\n </ng-container>\n </ng-container>\n\n <ng-template #empty>\n <h2 class=\"flow-header-overlay__title\">\n <span>Empty Cart</span>\n <i class=\"vl-icon vl-icon-close close-icon\" (click)=\"overlayPanel.hide()\"></i>\n </h2>\n\n <span class=\"empty-state\">There are no products added to the Shopping Cart yet.</span>\n </ng-template>\n </div>\n </ng-template>\n</p-overlayPanel>\n", styles: [".flow-header-overlay__wrapper{display:flex;flex-direction:column;width:460px;max-height:600px}.flow-header-overlay__wrapper .close-icon{cursor:pointer}.flow-header-overlay__title{display:flex;justify-content:space-between;align-items:center;margin:0 0 16px}.empty-state{color:var(--vl-text-color-deep-accent)}.scrollable-wrapper{overflow:auto}.product{display:grid;grid-template-columns:auto 60px 80px 80px;padding:16px 0}.product:not(.header){border-bottom:1px solid var(--vl-border-color)}.product.header{color:var(--vl-text-color-deep-accent);padding-bottom:0}.product__info{display:flex;grid-gap:16px;gap:16px}.product__image-wrapper{flex-shrink:0;height:64px;width:64px;display:flex;justify-content:center;align-items:center;background:var(--vl-primary-nav-overlay-bg);border-radius:4px}.product__image{background-size:contain;background-repeat:no-repeat;background-position:center;height:calc(100% - 12px);width:calc(100% - 12px)}.product .qty-control ::ng-deep .p-inputnumber-input{align-self:flex-start;text-align:right;width:100%}.word-break{word-break:break-word}.no-image-icon{color:#b4d1ef;height:18px;width:18px}\n"], components: [{ type: i3.OverlayPanel, selector: "p-overlayPanel", inputs: ["dismissable", "showCloseIcon", "style", "styleClass", "appendTo", "autoZIndex", "ariaCloseLabel", "baseZIndex", "focusOnShow", "showTransitionOptions", "hideTransitionOptions"], outputs: ["onShow", "onHide"] }, { type: i4.Button, selector: "p-button", inputs: ["type", "iconPos", "icon", "badge", "label", "disabled", "loading", "loadingIcon", "style", "styleClass", "badgeClass"], outputs: ["onClick", "onFocus", "onBlur"] }, { type: i5.InputNumber, selector: "p-inputNumber", inputs: ["showButtons", "format", "buttonLayout", "inputId", "styleClass", "style", "placeholder", "size", "maxlength", "tabindex", "title", "ariaLabel", "ariaRequired", "name", "required", "autocomplete", "min", "max", "incrementButtonClass", "decrementButtonClass", "incrementButtonIcon", "decrementButtonIcon", "readonly", "step", "allowEmpty", "locale", "localeMatcher", "mode", "currency", "currencyDisplay", "useGrouping", "minFractionDigits", "maxFractionDigits", "prefix", "suffix", "inputStyle", "inputStyleClass", "disabled"], outputs: ["onInput", "onFocus", "onBlur", "onKeyDown"] }], directives: [{ type: i6.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { type: i7.LetDirective, selector: "[vlLet]", inputs: ["vlLet"] }, { type: i8.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i8.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i8.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i9.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i9.FormControlDirective, selector: "[formControl]", inputs: ["disabled", "formControl", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i9.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }], pipes: { "async": i8.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
103
|
+
CartPreviewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.15", type: CartPreviewComponent, selector: "vl-cart-preview", inputs: { products: "products" }, viewQueries: [{ propertyName: "overlayPanel", first: true, predicate: OverlayPanel, descendants: true }], usesOnChanges: true, ngImport: i0, template: "<p-overlayPanel\n styleClass=\"navigation-settings-overlay flow-header-overlay center\"\n showTransitionOptions=\"0ms\"\n hideTransitionOptions=\"0ms\"\n>\n <ng-template pTemplate>\n <div class=\"flow-header-overlay__wrapper\" *vlLet=\"readonlyProductId$ | async as readonlyProductId\">\n <ng-container *vlLet=\"isEditMode$ | async as isEditMode\">\n <ng-container *ngIf=\"products.length > 0; else empty\">\n <h2 class=\"flow-header-overlay__title\">\n <span>Products ({{ products.length }})</span>\n <i class=\"vl-icon vl-icon-close close-icon\" (click)=\"overlayPanel.hide()\"></i>\n </h2>\n\n <div class=\"product header\">\n <span>Product</span>\n <span class=\"text-right\">Qty</span>\n <span class=\"text-right\">MRR</span>\n <span class=\"text-right\">NRR</span>\n </div>\n\n <div class=\"scrollable-wrapper\">\n <div class=\"product\" *ngFor=\"let product of products\">\n <div\n class=\"product__info\"\n *vlLet=\"!isEditMode || product.deleted || readonlyProductId === product.productId as readonlyProduct\"\n >\n <div class=\"product__image-wrapper\">\n <div\n *ngIf=\"getImageUrl(product.productId) | async as imageUrl; else noImage\"\n class=\"product__image\"\n [ngStyle]=\"{ 'background-image': 'url(' + imageUrl + ')' }\"\n ></div>\n </div>\n <div class=\"flex flex-column justify-content-center\">\n <div class=\"word-break\">{{ product.name }}</div>\n <div>\n <p-button\n label=\"Configure\"\n [disabled]=\"readonlyProduct || !product.configurable\"\n styleClass=\"p-button-link p-button-sm pl-0\"\n (onClick)=\"navigateToProductConfiguration(product.productId, product.id)\"\n ></p-button>\n <p-button\n label=\"Delete\"\n [disabled]=\"readonlyProduct\"\n styleClass=\"p-button-link p-button-sm p-button-danger pl-0 pr-0\"\n (onClick)=\"deleteHandler(product)\"\n ></p-button>\n </div>\n </div>\n </div>\n\n <span>\n <p-inputNumber\n *ngIf=\"form.controls[product.id] as control\"\n class=\"qty-control\"\n [formControl]=\"$any(control)\"\n [min]=\"1\"\n [required]=\"true\"\n (onBlur)=\"controlBlurHandler(product)\"\n ></p-inputNumber>\n </span>\n <span class=\"text-right pt-3\">${{ product.mrr }}</span>\n <span class=\"text-right pt-3\">${{ product.nrr }}</span>\n </div>\n\n <ng-template #noImage>\n <i class=\"vl-icon vl-icon-no-image no-image-icon\"></i>\n </ng-template>\n </div>\n\n <div class=\"flex justify-content-end mt-3\">\n <p-button\n label=\"Clear cart\"\n styleClass=\"p-button-link p-button-sm p-button-danger pl-0 pr-0\"\n [disabled]=\"!isEditMode || readonlyProductId\"\n (onClick)=\"deleteAllHandler()\"\n ></p-button>\n </div>\n </ng-container>\n </ng-container>\n\n <ng-template #empty>\n <h2 class=\"flow-header-overlay__title\">\n <span>Empty Cart</span>\n <i class=\"vl-icon vl-icon-close close-icon\" (click)=\"overlayPanel.hide()\"></i>\n </h2>\n\n <span class=\"empty-state\">There are no products added to the Shopping Cart yet.</span>\n </ng-template>\n </div>\n </ng-template>\n</p-overlayPanel>\n", styles: [".flow-header-overlay__wrapper{display:flex;flex-direction:column;width:460px;max-height:600px}.flow-header-overlay__wrapper .close-icon{cursor:pointer}.flow-header-overlay__title{display:flex;justify-content:space-between;align-items:center;margin:0 0 16px}.empty-state{color:var(--vl-text-color-deep-accent)}.scrollable-wrapper{overflow:auto}.product{display:grid;grid-template-columns:auto 60px 80px 80px;padding:16px 0}.product:not(.header){border-bottom:1px solid var(--vl-border-color)}.product.header{color:var(--vl-text-color-deep-accent);padding-bottom:0}.product__info{display:flex;grid-gap:16px;gap:16px}.product__image-wrapper{flex-shrink:0;height:64px;width:64px;display:flex;justify-content:center;align-items:center;background:var(--vl-primary-nav-overlay-bg);border-radius:4px}.product__image{background-size:contain;background-repeat:no-repeat;background-position:center;height:calc(100% - 12px);width:calc(100% - 12px)}.product .qty-control ::ng-deep .p-inputnumber-input{align-self:flex-start;text-align:right;width:100%}.word-break{word-break:break-word}.no-image-icon{color:#b4d1ef;height:18px;width:18px}:host ::ng-deep .p-overlaypanel.navigation-settings-overlay{margin-top:20px}\n"], components: [{ type: i3.OverlayPanel, selector: "p-overlayPanel", inputs: ["dismissable", "showCloseIcon", "style", "styleClass", "appendTo", "autoZIndex", "ariaCloseLabel", "baseZIndex", "focusOnShow", "showTransitionOptions", "hideTransitionOptions"], outputs: ["onShow", "onHide"] }, { type: i4.Button, selector: "p-button", inputs: ["type", "iconPos", "icon", "badge", "label", "disabled", "loading", "loadingIcon", "style", "styleClass", "badgeClass"], outputs: ["onClick", "onFocus", "onBlur"] }, { type: i5.InputNumber, selector: "p-inputNumber", inputs: ["showButtons", "format", "buttonLayout", "inputId", "styleClass", "style", "placeholder", "size", "maxlength", "tabindex", "title", "ariaLabel", "ariaRequired", "name", "required", "autocomplete", "min", "max", "incrementButtonClass", "decrementButtonClass", "incrementButtonIcon", "decrementButtonIcon", "readonly", "step", "allowEmpty", "locale", "localeMatcher", "mode", "currency", "currencyDisplay", "useGrouping", "minFractionDigits", "maxFractionDigits", "prefix", "suffix", "inputStyle", "inputStyleClass", "disabled"], outputs: ["onInput", "onFocus", "onBlur", "onKeyDown"] }], directives: [{ type: i6.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { type: i7.LetDirective, selector: "[vlLet]", inputs: ["vlLet"] }, { type: i8.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i8.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i8.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i9.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i9.FormControlDirective, selector: "[formControl]", inputs: ["disabled", "formControl", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i9.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }], pipes: { "async": i8.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
104
104
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0, type: CartPreviewComponent, decorators: [{
|
105
105
|
type: Component,
|
106
106
|
args: [{
|