@messaia/cdk 18.1.0-rc19 → 18.1.0-rc21
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/esm2022/lib/common/common.module.mjs +9 -4
- package/esm2022/lib/common/directives/autofocus.directive.mjs +48 -0
- package/esm2022/lib/common/pipes/enum.pipe.mjs +24 -6
- package/esm2022/lib/common/pipes/order.pipe.mjs +127 -41
- package/fesm2022/messaia-cdk.mjs +203 -50
- package/fesm2022/messaia-cdk.mjs.map +1 -1
- package/lib/common/common.module.d.ts +4 -1
- package/lib/common/directives/autofocus.directive.d.ts +25 -0
- package/lib/common/pipes/enum.pipe.d.ts +13 -4
- package/lib/common/pipes/order.pipe.d.ts +77 -38
- package/package.json +1 -1
package/fesm2022/messaia-cdk.mjs
CHANGED
|
@@ -87,6 +87,52 @@ import * as i3$3 from '@angular/cdk/platform';
|
|
|
87
87
|
import * as i4$2 from '@angular/cdk/text-field';
|
|
88
88
|
import * as i5$6 from '@tinymce/tinymce-angular';
|
|
89
89
|
|
|
90
|
+
class AutofocusDirective {
|
|
91
|
+
elementRef;
|
|
92
|
+
/**
|
|
93
|
+
* Optional input to customize the delay
|
|
94
|
+
*/
|
|
95
|
+
focusDelay = 300;
|
|
96
|
+
/**
|
|
97
|
+
* Determines whether the text should be selected on focus
|
|
98
|
+
*/
|
|
99
|
+
selectText = false;
|
|
100
|
+
/**
|
|
101
|
+
* Constructor that injects the ElementRef, giving direct access
|
|
102
|
+
* to the host DOM element where the directive is applied.
|
|
103
|
+
* @param elementRef - The reference to the element on which the directive is set
|
|
104
|
+
*/
|
|
105
|
+
constructor(elementRef) {
|
|
106
|
+
this.elementRef = elementRef;
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* Set focus on the element after content initialization
|
|
110
|
+
*/
|
|
111
|
+
ngAfterContentInit() {
|
|
112
|
+
setTimeout(() => {
|
|
113
|
+
if (this.elementRef.nativeElement) {
|
|
114
|
+
this.elementRef.nativeElement.focus();
|
|
115
|
+
/* Select the text if selectText is true */
|
|
116
|
+
if (this.selectText) {
|
|
117
|
+
this.elementRef.nativeElement.select();
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}, this.focusDelay);
|
|
121
|
+
}
|
|
122
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: AutofocusDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
123
|
+
/** @nocollapse */ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.7", type: AutofocusDirective, selector: "[autoFocus]", inputs: { focusDelay: "focusDelay", selectText: "selectText" }, ngImport: i0 });
|
|
124
|
+
}
|
|
125
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: AutofocusDirective, decorators: [{
|
|
126
|
+
type: Directive,
|
|
127
|
+
args: [{
|
|
128
|
+
selector: "[autoFocus]"
|
|
129
|
+
}]
|
|
130
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { focusDelay: [{
|
|
131
|
+
type: Input
|
|
132
|
+
}], selectText: [{
|
|
133
|
+
type: Input
|
|
134
|
+
}] } });
|
|
135
|
+
|
|
90
136
|
class DisableControlDirective {
|
|
91
137
|
ngControl;
|
|
92
138
|
/**
|
|
@@ -132,12 +178,30 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImpor
|
|
|
132
178
|
|
|
133
179
|
class EnumPipe {
|
|
134
180
|
/**
|
|
135
|
-
* Converts enum value to string
|
|
136
|
-
*
|
|
137
|
-
* @param
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
181
|
+
* Converts an enum value to its corresponding string representation.
|
|
182
|
+
*
|
|
183
|
+
* @param value - The numeric value of the enum to convert.
|
|
184
|
+
* @param enumType - The enum type (as an object) that defines the mapping of values to their string representations.
|
|
185
|
+
* @param prefixOrMetadata - Either a prefix string to prepend to the resulting string,
|
|
186
|
+
* or an object containing EnumMetadata for additional display information.
|
|
187
|
+
* @param suffix - An optional string to append to the resulting string (default is an empty string).
|
|
188
|
+
* @returns The formatted string representation of the enum value, including any specified prefixes or suffixes,
|
|
189
|
+
* or undefined if the value is not recognized in the provided enum type.
|
|
190
|
+
*/
|
|
191
|
+
transform(value, enumType, prefixOrMetadata, suffix = '') {
|
|
192
|
+
/* Determine if prefixOrMetadata is an object containing EnumMetadata for the given value */
|
|
193
|
+
if (prefixOrMetadata && typeof prefixOrMetadata === 'object' && value in prefixOrMetadata) {
|
|
194
|
+
const metadata = prefixOrMetadata[value];
|
|
195
|
+
/* Return the display string from the metadata along with the suffix */
|
|
196
|
+
return `${metadata.display}${suffix}`;
|
|
197
|
+
}
|
|
198
|
+
/* Check if enumType is an object and contains the specified value */
|
|
199
|
+
if (enumType && typeof enumType === 'object' && value in enumType) {
|
|
200
|
+
/* Return the corresponding string value from the enum, prepending the prefix if provided */
|
|
201
|
+
return `${prefixOrMetadata ?? ''}${enumType[value]}${suffix}`;
|
|
202
|
+
}
|
|
203
|
+
/* If the value is not recognized in the enumType, return undefined as a fallback */
|
|
204
|
+
return undefined;
|
|
141
205
|
}
|
|
142
206
|
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: EnumPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
143
207
|
/** @nocollapse */ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.7", ngImport: i0, type: EnumPipe, name: "enum", pure: false });
|
|
@@ -501,111 +565,176 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImpor
|
|
|
501
565
|
//@dynamic
|
|
502
566
|
class OrderPipe {
|
|
503
567
|
/**
|
|
504
|
-
*
|
|
568
|
+
* Checks if a value is a string.
|
|
505
569
|
*
|
|
506
|
-
* @param value
|
|
570
|
+
* @param value - The value to check.
|
|
571
|
+
* @returns True if the value is a string; otherwise, false.
|
|
507
572
|
*/
|
|
508
573
|
static isString(value) {
|
|
509
574
|
return typeof value === 'string' || value instanceof String;
|
|
510
575
|
}
|
|
511
576
|
/**
|
|
512
|
-
* Sorts values
|
|
577
|
+
* Sorts two values in a case-insensitive manner.
|
|
513
578
|
*
|
|
514
|
-
* @param a
|
|
515
|
-
* @param b
|
|
579
|
+
* @param a - The first value to compare.
|
|
580
|
+
* @param b - The second value to compare.
|
|
581
|
+
* @returns A negative number if a < b, a positive number if a > b, and 0 if they are equal.
|
|
516
582
|
*/
|
|
517
583
|
static caseInsensitiveSort(a, b) {
|
|
584
|
+
/* If both values are strings, compare them using localeCompare for case-insensitive sorting. */
|
|
518
585
|
if (OrderPipe.isString(a) && OrderPipe.isString(b)) {
|
|
519
586
|
return a.localeCompare(b);
|
|
520
587
|
}
|
|
588
|
+
/* Otherwise, fall back to the default comparison. */
|
|
521
589
|
return OrderPipe.defaultCompare(a, b);
|
|
522
590
|
}
|
|
523
591
|
/**
|
|
524
|
-
* Default
|
|
592
|
+
* Default comparison method for sorting values.
|
|
525
593
|
*
|
|
526
|
-
* @param a
|
|
527
|
-
* @param b
|
|
594
|
+
* @param a - The first value to compare.
|
|
595
|
+
* @param b - The second value to compare.
|
|
596
|
+
* @returns A negative number if a < b, a positive number if a > b, and 0 if they are equal.
|
|
528
597
|
*/
|
|
529
598
|
static defaultCompare(a, b) {
|
|
599
|
+
/* If both values are equal, return 0. */
|
|
530
600
|
if (a === b) {
|
|
531
601
|
return 0;
|
|
532
602
|
}
|
|
603
|
+
/* If 'a' is null, it is considered greater than 'b'. */
|
|
533
604
|
if (a == null) {
|
|
534
605
|
return 1;
|
|
535
606
|
}
|
|
607
|
+
/* If 'b' is null, it is considered greater than 'a'. */
|
|
536
608
|
if (b == null) {
|
|
537
609
|
return -1;
|
|
538
610
|
}
|
|
611
|
+
/* Compare the two values. */
|
|
539
612
|
return a > b ? 1 : -1;
|
|
540
613
|
}
|
|
541
614
|
/**
|
|
542
|
-
*
|
|
543
|
-
*
|
|
615
|
+
* Parses a dot-separated expression string into an array of strings.
|
|
616
|
+
*
|
|
617
|
+
* @param expression - The expression string to parse.
|
|
618
|
+
* @returns An array of strings representing the parsed expression.
|
|
544
619
|
*/
|
|
545
620
|
static parseExpression(expression) {
|
|
621
|
+
/* Replace bracket notation with dot notation and remove leading dot. */
|
|
546
622
|
expression = expression.replace(/\[(\w+)\]/g, '.$1');
|
|
547
623
|
expression = expression.replace(/^\./, '');
|
|
548
624
|
return expression.split('.');
|
|
549
625
|
}
|
|
550
626
|
/**
|
|
551
|
-
*
|
|
627
|
+
* Retrieves a value from an object based on a parsed expression.
|
|
552
628
|
*
|
|
553
|
-
* @param object
|
|
554
|
-
* @param expression
|
|
629
|
+
* @param object - The object to retrieve the value from.
|
|
630
|
+
* @param expression - The parsed expression as an array of strings.
|
|
631
|
+
* @returns The retrieved value or undefined if not found.
|
|
555
632
|
*/
|
|
556
633
|
static getValue(object, expression) {
|
|
557
634
|
for (let i = 0, n = expression.length; i < n; ++i) {
|
|
558
635
|
const k = expression[i];
|
|
636
|
+
/* If the key does not exist in the object, return undefined. */
|
|
559
637
|
if (!(k in object)) {
|
|
560
638
|
return;
|
|
561
639
|
}
|
|
640
|
+
/* Move to the next level in the object. */
|
|
562
641
|
object = object[k];
|
|
563
642
|
}
|
|
643
|
+
/* Return the final value. */
|
|
564
644
|
return object;
|
|
565
645
|
}
|
|
566
646
|
/**
|
|
567
|
-
*
|
|
647
|
+
* Sets a value in an object based on a parsed expression.
|
|
568
648
|
*
|
|
569
|
-
* @param object
|
|
570
|
-
* @param value
|
|
571
|
-
* @param expression
|
|
649
|
+
* @param object - The object to modify.
|
|
650
|
+
* @param value - The value to set.
|
|
651
|
+
* @param expression - The parsed expression as an array of strings.
|
|
572
652
|
*/
|
|
573
653
|
static setValue(object, value, expression) {
|
|
574
654
|
let i;
|
|
575
655
|
for (i = 0; i < expression.length - 1; i++) {
|
|
656
|
+
/* Traverse the object to the second-to-last property. */
|
|
576
657
|
object = object[expression[i]];
|
|
577
658
|
}
|
|
659
|
+
/* Set the value at the last property. */
|
|
578
660
|
object[expression[i]] = value;
|
|
579
661
|
}
|
|
580
|
-
|
|
662
|
+
/**
|
|
663
|
+
* Transforms the input value by sorting it based on the provided expression and metadata.
|
|
664
|
+
*
|
|
665
|
+
* @param value - The value to transform, which can be an array or a single object.
|
|
666
|
+
* @param expression - The expression to sort by, can be a string or an array of strings.
|
|
667
|
+
* @param metadata - An optional metadata object for sorting.
|
|
668
|
+
* @param reverse - Indicates if the sorting should be in reverse order.
|
|
669
|
+
* @param isCaseInsensitive - Indicates if the sorting should be case insensitive.
|
|
670
|
+
* @param comparator - An optional custom comparator function.
|
|
671
|
+
* @returns The transformed (sorted) value.
|
|
672
|
+
*/
|
|
673
|
+
transform(value, expression, metadata, reverse, isCaseInsensitive = false, comparator) {
|
|
674
|
+
/* If the value is null or undefined, return it as is. */
|
|
581
675
|
if (!value) {
|
|
582
676
|
return value;
|
|
583
677
|
}
|
|
678
|
+
/* Check if we should sort by metadata. */
|
|
679
|
+
if (metadata) {
|
|
680
|
+
return this.sortByMetadata(value, expression, reverse ?? false, metadata);
|
|
681
|
+
}
|
|
682
|
+
/* If expression is an array, handle multiple expressions. */
|
|
584
683
|
if (Array.isArray(expression)) {
|
|
585
684
|
return this.multiExpressionTransform(value, expression, reverse ?? false, isCaseInsensitive, comparator);
|
|
586
685
|
}
|
|
686
|
+
/* If value is an array, sort it using the provided expression. */
|
|
587
687
|
if (Array.isArray(value)) {
|
|
588
688
|
return this.sortArray(value.slice(), expression, reverse, isCaseInsensitive, comparator);
|
|
589
689
|
}
|
|
690
|
+
/* If value is an object, transform it accordingly. */
|
|
590
691
|
if (typeof value === 'object') {
|
|
591
692
|
return this.transformObject(Object.assign({}, value), expression, reverse, isCaseInsensitive, comparator);
|
|
592
693
|
}
|
|
694
|
+
/* If value is not an array or object, return it unchanged. */
|
|
593
695
|
return value;
|
|
594
696
|
}
|
|
595
697
|
/**
|
|
596
|
-
*
|
|
698
|
+
* Sorts an array based on metadata for enum values.
|
|
597
699
|
*
|
|
598
|
-
* @param value
|
|
599
|
-
* @param expression
|
|
600
|
-
* @param reverse
|
|
601
|
-
* @param
|
|
602
|
-
* @
|
|
700
|
+
* @param value - The array to sort.
|
|
701
|
+
* @param expression - The expression to sort by.
|
|
702
|
+
* @param reverse - Indicates if the sorting should be in reverse order.
|
|
703
|
+
* @param metadata - The metadata for enum sorting.
|
|
704
|
+
* @returns The sorted array.
|
|
705
|
+
*/
|
|
706
|
+
sortByMetadata(value, expression, reverse, metadata) {
|
|
707
|
+
/* Comparison function for sorting by metadata order. */
|
|
708
|
+
const compareFn = (a, b) => {
|
|
709
|
+
const valueA = expression ? OrderPipe.getValue(a, OrderPipe.parseExpression(expression)) : a;
|
|
710
|
+
const valueB = expression ? OrderPipe.getValue(b, OrderPipe.parseExpression(expression)) : b;
|
|
711
|
+
/* Retrieve the order values from metadata, defaulting to Infinity if not found. */
|
|
712
|
+
const orderA = metadata[valueA]?.order ?? Infinity;
|
|
713
|
+
const orderB = metadata[valueB]?.order ?? Infinity;
|
|
714
|
+
return orderA - orderB;
|
|
715
|
+
};
|
|
716
|
+
/* Sort the array and handle reverse order. */
|
|
717
|
+
const sortedArray = value.slice().sort(compareFn);
|
|
718
|
+
return reverse ? sortedArray.reverse() : sortedArray;
|
|
719
|
+
}
|
|
720
|
+
/**
|
|
721
|
+
* Sorts an array based on the given expression.
|
|
722
|
+
*
|
|
723
|
+
* @param value - The array to sort.
|
|
724
|
+
* @param expression - The expression to sort by.
|
|
725
|
+
* @param reverse - Indicates if the sorting should be in reverse order.
|
|
726
|
+
* @param isCaseInsensitive - Indicates if the sorting should be case insensitive.
|
|
727
|
+
* @param comparator - An optional custom comparator function.
|
|
728
|
+
* @returns The sorted array.
|
|
603
729
|
*/
|
|
604
730
|
sortArray(value, expression, reverse, isCaseInsensitive, comparator) {
|
|
731
|
+
/* Determine if the expression is a deep link. */
|
|
605
732
|
const isDeepLink = expression && expression.indexOf('.') !== -1;
|
|
733
|
+
/* Parse the expression if it's a deep link. */
|
|
606
734
|
if (isDeepLink) {
|
|
607
735
|
expression = OrderPipe.parseExpression(expression);
|
|
608
736
|
}
|
|
737
|
+
/* Determine the comparison function. */
|
|
609
738
|
let compareFn;
|
|
610
739
|
if (comparator && typeof comparator === 'function') {
|
|
611
740
|
compareFn = comparator;
|
|
@@ -613,60 +742,81 @@ class OrderPipe {
|
|
|
613
742
|
else {
|
|
614
743
|
compareFn = isCaseInsensitive ? OrderPipe.caseInsensitiveSort : OrderPipe.defaultCompare;
|
|
615
744
|
}
|
|
745
|
+
/* Sort the array using the determined comparison function. */
|
|
616
746
|
let array = value.sort((a, b) => {
|
|
617
747
|
if (!expression) {
|
|
618
748
|
return compareFn(a, b);
|
|
619
749
|
}
|
|
620
750
|
if (!isDeepLink) {
|
|
751
|
+
/* If not a deep link, compare the specified properties directly. */
|
|
621
752
|
if (a && b) {
|
|
622
753
|
return compareFn(a[expression], b[expression]);
|
|
623
754
|
}
|
|
755
|
+
/* Fall back to direct comparison. */
|
|
624
756
|
return compareFn(a, b);
|
|
625
757
|
}
|
|
758
|
+
/* For deep links, get the values from the parsed expression. */
|
|
626
759
|
return compareFn(OrderPipe.getValue(a, expression), OrderPipe.getValue(b, expression));
|
|
627
760
|
});
|
|
761
|
+
/* Handle reverse sorting if specified. */
|
|
628
762
|
if (reverse) {
|
|
629
763
|
return array.reverse();
|
|
630
764
|
}
|
|
631
765
|
return array;
|
|
632
766
|
}
|
|
633
767
|
/**
|
|
634
|
-
*
|
|
768
|
+
* Transforms an object based on a specified expression.
|
|
635
769
|
*
|
|
636
|
-
*
|
|
637
|
-
*
|
|
638
|
-
*
|
|
639
|
-
* @param
|
|
640
|
-
* @param
|
|
770
|
+
* This method retrieves a value from the given object according to the parsed expression,
|
|
771
|
+
* applies the transformation to that value, and then sets the transformed value back into the object.
|
|
772
|
+
*
|
|
773
|
+
* @param value The object to transform.
|
|
774
|
+
* @param expression The expression used to identify the property to transform.
|
|
775
|
+
* @param reverse Optional. Indicates whether the transformation should be applied in reverse order.
|
|
776
|
+
* @param isCaseInsensitive Optional. Indicates whether the transformation should ignore case.
|
|
777
|
+
* @param comparator Optional. A custom comparator function to be used for sorting.
|
|
778
|
+
* @returns The transformed object with the updated value.
|
|
641
779
|
*/
|
|
642
780
|
transformObject(value, expression, reverse, isCaseInsensitive, comparator) {
|
|
781
|
+
/* Parse the expression into an array of keys */
|
|
643
782
|
let parsedExpression = OrderPipe.parseExpression(expression);
|
|
783
|
+
/* Retrieve the last predicate from the parsed expression for further processing */
|
|
644
784
|
let lastPredicate = parsedExpression.pop();
|
|
785
|
+
/* Get the current value from the object using the parsed expression */
|
|
645
786
|
let oldValue = OrderPipe.getValue(value, parsedExpression);
|
|
787
|
+
/* If there's a last predicate and the old value is not an array,
|
|
788
|
+
push the predicate back into the parsed expression for future use */
|
|
646
789
|
if (lastPredicate && !Array.isArray(oldValue)) {
|
|
647
790
|
parsedExpression.push(lastPredicate);
|
|
648
791
|
lastPredicate = undefined;
|
|
649
792
|
oldValue = OrderPipe.getValue(value, parsedExpression);
|
|
650
793
|
}
|
|
794
|
+
/* If no old value is found, return the original object */
|
|
651
795
|
if (!oldValue) {
|
|
652
796
|
return value;
|
|
653
797
|
}
|
|
654
|
-
|
|
655
|
-
|
|
798
|
+
/* Set the transformed value back into the original object */
|
|
799
|
+
OrderPipe.setValue(value, this.transform(oldValue, lastPredicate, undefined, reverse, isCaseInsensitive), parsedExpression);
|
|
800
|
+
return value; /* Return the updated object */
|
|
656
801
|
}
|
|
657
802
|
/**
|
|
658
|
-
*
|
|
803
|
+
* Applies multiple expressions in sequence to transform a value.
|
|
659
804
|
*
|
|
660
|
-
*
|
|
661
|
-
*
|
|
662
|
-
*
|
|
663
|
-
* @param
|
|
664
|
-
* @param
|
|
805
|
+
* This method iterates over an array of expressions, applying each one in reverse order
|
|
806
|
+
* to the given value. The result of each transformation is passed as input to the next expression.
|
|
807
|
+
*
|
|
808
|
+
* @param value The initial value to transform.
|
|
809
|
+
* @param expressions An array of expressions to apply in reverse order.
|
|
810
|
+
* @param reverse Optional. Indicates whether the transformations should be applied in reverse order.
|
|
811
|
+
* @param isCaseInsensitive Optional. Indicates whether the transformations should ignore case.
|
|
812
|
+
* @param comparator Optional. A custom comparator function to be used for sorting.
|
|
813
|
+
* @returns The final transformed value after applying all expressions.
|
|
665
814
|
*/
|
|
666
815
|
multiExpressionTransform(value, expressions, reverse, isCaseInsensitive = false, comparator) {
|
|
816
|
+
/* Apply each expression in reverse order, passing the result to the next transformation */
|
|
667
817
|
return expressions.reverse().reduce((result, expression) => {
|
|
668
|
-
return this.transform(result, expression, reverse, isCaseInsensitive, comparator);
|
|
669
|
-
}, value);
|
|
818
|
+
return this.transform(result, expression, undefined, reverse, isCaseInsensitive, comparator);
|
|
819
|
+
}, value); /* Return the final transformed value */
|
|
670
820
|
}
|
|
671
821
|
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: OrderPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
672
822
|
/** @nocollapse */ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.7", ngImport: i0, type: OrderPipe, name: "orderBy", pure: false });
|
|
@@ -4183,7 +4333,8 @@ const COMMON_DECLARATIONS = [
|
|
|
4183
4333
|
JoinPipe,
|
|
4184
4334
|
PropertyJoinPipe,
|
|
4185
4335
|
BindPipe,
|
|
4186
|
-
MapPipe
|
|
4336
|
+
MapPipe,
|
|
4337
|
+
AutofocusDirective
|
|
4187
4338
|
];
|
|
4188
4339
|
class VdCommonModule {
|
|
4189
4340
|
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: VdCommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
@@ -4212,7 +4363,8 @@ class VdCommonModule {
|
|
|
4212
4363
|
JoinPipe,
|
|
4213
4364
|
PropertyJoinPipe,
|
|
4214
4365
|
BindPipe,
|
|
4215
|
-
MapPipe
|
|
4366
|
+
MapPipe,
|
|
4367
|
+
AutofocusDirective], exports: [DataSourcePipe,
|
|
4216
4368
|
DisableControlDirective,
|
|
4217
4369
|
EnumPipe,
|
|
4218
4370
|
FileSizePipe,
|
|
@@ -4237,7 +4389,8 @@ class VdCommonModule {
|
|
|
4237
4389
|
JoinPipe,
|
|
4238
4390
|
PropertyJoinPipe,
|
|
4239
4391
|
BindPipe,
|
|
4240
|
-
MapPipe
|
|
4392
|
+
MapPipe,
|
|
4393
|
+
AutofocusDirective] });
|
|
4241
4394
|
/** @nocollapse */ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: VdCommonModule, providers: [...RUNTIME_COMPILER_PROVIDERS] });
|
|
4242
4395
|
}
|
|
4243
4396
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: VdCommonModule, decorators: [{
|
|
@@ -26119,5 +26272,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImpor
|
|
|
26119
26272
|
* Generated bundle index. Do not edit.
|
|
26120
26273
|
*/
|
|
26121
26274
|
|
|
26122
|
-
export { AbstractMatFormField, ActionItem, Api, ApiResponse, AppEvent, AppEventType, AppSetting, AppStorage, AsyncValidationDirective, AuditEntity, AuditUser, AuthHelper, AuthUser, BaseComponent, BaseDirective, BaseEntity, BaseInterceptor, BaseService, BindPipe, CachingInterceptor, Column, ColumnObject, Common, CommonError, CommonHandlerContext, ContextHelper, DataSourceFilterDirective, DataSourcePipe, DatePickerHeaderComponent, DisableControlDirective, Display, DisplayNameNumberProjection, DisplayNameProjection, DynamicBuilder, DynamicComponentCompiler, EmptyStringResetDirective, EnumMetadata, EnumPipe, EnumService, EqualValidator, ErrorMessageBindingStrategy, EventQueueService, Facet, FacetValue, FieldFuncPipe, FileControlDirective, FileService, FileSizePipe, FilterClearComponent, FilterDateComponent, FilterGlue, FilterInputComponent, FilterOperator, FilterPipe, FilterSelectComponent, FirstLetterPipe, Form, FormArrayPipe, FormBuilderConfiguration, FormControlPipe, FormDefinition, FormField, FormFieldDefinition, FormFieldGroup, FormFieldGroupDefinition, FormFieldType, FormGroupPipe, FuncPipe, GenericFormBaseComponent, GenericFormComponent, GenericListComponent, GenericReactiveFormComponent, GenericService, GlobalRoles, Grid, GroupFilterPipe, HtmlControlTemplateDirective, IAbstractControl, Icon, ImageFileControlDirective, IpVersion, JoinPipe, KeyValue, KeysPipe, LoadingScreenInterceptor, LoadingScreenService, MapPipe, MatFormFieldEditorDirective, MatFormFieldReadonlyDirective, MaterialModule, Menu, MenuClient, MenuDepartment, MenuFormIncludesResolve, MenuItem, MenuItemClient, MenuItemDepartment, MenuItemFormIncludesResolve, MenuItemService, MenuListProjectionResolve, MenuResolve, MenuScope, MenuService, MenuSettings, MenuSettingsResolve, MessageType, MonthNamePipe, NameNumberProjection, NameProjection, NativeElementInjectorDirective, NumericValueType, OnlyNumberDirective, OrderPipe, Pagination, PlaceholderPipe, PrintService, PropertyJoinPipe, PropertyPipe, RUNTIME_COMPILER_PROVIDERS, ReactiveFormConfig, ReactiveTypedFormsModule, ResetFormType, RxFormArray, RxFormBuilder, RxFormControl, RxFormControlDirective, RxFormGroup, RxReactiveFormsModule, RxwebFormDirective, RxwebValidators, SafeHtmlPipe, Salutation, SaveAction, ServiceLocator, SplitPipe, SubMenuResolve, SuffixButton, Table, TableColumn, TableColumnConfig, TableColumnType, TableConfig, TableDataSource, TableDefinition, TableQueryConfig, TableStaticDataSource, TaskDialogData, Templates, TimePipe, TitleCase, TitleProjection, TruncatePipe, TypedForm, TypedFormBuilder, UniqueValidatorDirective, UrlValidationType, Utils, ValidationAlphabetLocale, ValueAccessorBase, ValuesPipe, VdAlertDialogComponent, VdAutocompleteOptionDirective, VdBaseModule, VdChipDirective, VdChipsComponent, VdChipsModule, VdCodeDirective, VdCommonModule, VdConfirmDialogComponent, VdCustomDirective, VdDelayedHoverDirective, VdDialogActionsDirective, VdDialogComponent, VdDialogContentDirective, VdDialogService, VdDialogTitleDirective, VdDialogsModule, VdDynamicMenuComponent, VdDynamicTableComponent, VdDynamicTableConfigDialogComponent, VdEditorDirective, VdFileDirective, VdFileInputComponent, VdFileModule, VdFilterOptionDirective, VdFormsModule, VdGenericFormComponent, VdGenericFormCustomFieldDirective, VdHttpModule, VdLayoutCardOverComponent, VdLayoutCloseDirective, VdLayoutCompactComponent, VdLayoutComponent, VdLayoutFooterComponent, VdLayoutManageListCloseDirective, VdLayoutManageListComponent, VdLayoutManageListOpenDirective, VdLayoutManageListToggleDirective, VdLayoutModule, VdLayoutNavComponent, VdLayoutNavListCloseDirective, VdLayoutNavListComponent, VdLayoutNavListOpenDirective, VdLayoutNavListToggleDirective, VdLayoutOpenDirective, VdLayoutToggleDirective, VdListComponent, VdListModule, VdListOptionDirective, VdListToolbarComponent, VdMediaModule, VdMediaService, VdMediaToggleDirective, VdMenuComponent, VdMenuModule, VdNavigationDrawerComponent, VdNavigationDrawerMenuDirective, VdNavigationDrawerToolbarDirective, VdPromptDialogComponent, VdSearchModule, VdSelectComponent, VdSelectModule, VdSelectOptionDirective, VdSelectTriggerDirective, VdTableFieldDirective, VdTableModule, VdTaskDialogComponent, allOf, allOfAsync, alpha, alphaAsync, alphaNumeric, alphaNumericAsync, and, ascii, async, blacklist, choice, choiceAsync, compare, compose, contains, containsAsync, createCompiler, creditCard, creditCardAsync, cusip, custom, customAsync, dataUri, date, dateAsync, different, digit, disable, elementClass, email, endpointMetadataKey, endsWith, endsWithAsync, error, escape, even, extension, extensionAsync, factor, factorAsync, file, fileAsync, fileSize, fileSizeAsync, formFieldGroupsMetadataKey, formFieldsMetadataKey, getEndpoint, getFormGroups, getTableDefinition, greaterThan, greaterThanAsync, greaterThanEqualTo, greaterThanEqualToAsync, grid, headerMetadataKey, hexColor, image, imageAsync, json, latLong, latitude, leapYear, lessThan, lessThanAsync, lessThanEqualTo, lessThanEqualToAsync, longitude, lowerCase, ltrim, mac, mask, maxDate, maxDateAsync, maxLength, maxLengthAsync, maxNumber, maxNumberAsync, maxTime, maxTimeAsync, minDate, minDateAsync, minLength, minLengthAsync, minNumber, minNumberAsync, minTime, minTimeAsync, mixinControlValueAccessor, mixinDisabled, model, noneOf, noneOfAsync, not, notEmpty, numeric, numericAsync, odd, oneOf, oneOfAsync, or, password, passwordAsync, pattern, patternAsync, port, prefix, primeNumber, prop, propArray, propObject, range, rangeAsync, required, requiredTrue, rtrim, rule, sanitize, startsWith, startsWithAsync, stripLow, suffix, tableColumnsMetadataKey, tableDefinitionMetadataKey, time, timeAsync, toBoolean, toDate, toDouble, toFloat, toInt, toString, trim, unique, updateOn, upperCase, url, urlAsync, whitelist };
|
|
26275
|
+
export { AbstractMatFormField, ActionItem, Api, ApiResponse, AppEvent, AppEventType, AppSetting, AppStorage, AsyncValidationDirective, AuditEntity, AuditUser, AuthHelper, AuthUser, AutofocusDirective, BaseComponent, BaseDirective, BaseEntity, BaseInterceptor, BaseService, BindPipe, CachingInterceptor, Column, ColumnObject, Common, CommonError, CommonHandlerContext, ContextHelper, DataSourceFilterDirective, DataSourcePipe, DatePickerHeaderComponent, DisableControlDirective, Display, DisplayNameNumberProjection, DisplayNameProjection, DynamicBuilder, DynamicComponentCompiler, EmptyStringResetDirective, EnumMetadata, EnumPipe, EnumService, EqualValidator, ErrorMessageBindingStrategy, EventQueueService, Facet, FacetValue, FieldFuncPipe, FileControlDirective, FileService, FileSizePipe, FilterClearComponent, FilterDateComponent, FilterGlue, FilterInputComponent, FilterOperator, FilterPipe, FilterSelectComponent, FirstLetterPipe, Form, FormArrayPipe, FormBuilderConfiguration, FormControlPipe, FormDefinition, FormField, FormFieldDefinition, FormFieldGroup, FormFieldGroupDefinition, FormFieldType, FormGroupPipe, FuncPipe, GenericFormBaseComponent, GenericFormComponent, GenericListComponent, GenericReactiveFormComponent, GenericService, GlobalRoles, Grid, GroupFilterPipe, HtmlControlTemplateDirective, IAbstractControl, Icon, ImageFileControlDirective, IpVersion, JoinPipe, KeyValue, KeysPipe, LoadingScreenInterceptor, LoadingScreenService, MapPipe, MatFormFieldEditorDirective, MatFormFieldReadonlyDirective, MaterialModule, Menu, MenuClient, MenuDepartment, MenuFormIncludesResolve, MenuItem, MenuItemClient, MenuItemDepartment, MenuItemFormIncludesResolve, MenuItemService, MenuListProjectionResolve, MenuResolve, MenuScope, MenuService, MenuSettings, MenuSettingsResolve, MessageType, MonthNamePipe, NameNumberProjection, NameProjection, NativeElementInjectorDirective, NumericValueType, OnlyNumberDirective, OrderPipe, Pagination, PlaceholderPipe, PrintService, PropertyJoinPipe, PropertyPipe, RUNTIME_COMPILER_PROVIDERS, ReactiveFormConfig, ReactiveTypedFormsModule, ResetFormType, RxFormArray, RxFormBuilder, RxFormControl, RxFormControlDirective, RxFormGroup, RxReactiveFormsModule, RxwebFormDirective, RxwebValidators, SafeHtmlPipe, Salutation, SaveAction, ServiceLocator, SplitPipe, SubMenuResolve, SuffixButton, Table, TableColumn, TableColumnConfig, TableColumnType, TableConfig, TableDataSource, TableDefinition, TableQueryConfig, TableStaticDataSource, TaskDialogData, Templates, TimePipe, TitleCase, TitleProjection, TruncatePipe, TypedForm, TypedFormBuilder, UniqueValidatorDirective, UrlValidationType, Utils, ValidationAlphabetLocale, ValueAccessorBase, ValuesPipe, VdAlertDialogComponent, VdAutocompleteOptionDirective, VdBaseModule, VdChipDirective, VdChipsComponent, VdChipsModule, VdCodeDirective, VdCommonModule, VdConfirmDialogComponent, VdCustomDirective, VdDelayedHoverDirective, VdDialogActionsDirective, VdDialogComponent, VdDialogContentDirective, VdDialogService, VdDialogTitleDirective, VdDialogsModule, VdDynamicMenuComponent, VdDynamicTableComponent, VdDynamicTableConfigDialogComponent, VdEditorDirective, VdFileDirective, VdFileInputComponent, VdFileModule, VdFilterOptionDirective, VdFormsModule, VdGenericFormComponent, VdGenericFormCustomFieldDirective, VdHttpModule, VdLayoutCardOverComponent, VdLayoutCloseDirective, VdLayoutCompactComponent, VdLayoutComponent, VdLayoutFooterComponent, VdLayoutManageListCloseDirective, VdLayoutManageListComponent, VdLayoutManageListOpenDirective, VdLayoutManageListToggleDirective, VdLayoutModule, VdLayoutNavComponent, VdLayoutNavListCloseDirective, VdLayoutNavListComponent, VdLayoutNavListOpenDirective, VdLayoutNavListToggleDirective, VdLayoutOpenDirective, VdLayoutToggleDirective, VdListComponent, VdListModule, VdListOptionDirective, VdListToolbarComponent, VdMediaModule, VdMediaService, VdMediaToggleDirective, VdMenuComponent, VdMenuModule, VdNavigationDrawerComponent, VdNavigationDrawerMenuDirective, VdNavigationDrawerToolbarDirective, VdPromptDialogComponent, VdSearchModule, VdSelectComponent, VdSelectModule, VdSelectOptionDirective, VdSelectTriggerDirective, VdTableFieldDirective, VdTableModule, VdTaskDialogComponent, allOf, allOfAsync, alpha, alphaAsync, alphaNumeric, alphaNumericAsync, and, ascii, async, blacklist, choice, choiceAsync, compare, compose, contains, containsAsync, createCompiler, creditCard, creditCardAsync, cusip, custom, customAsync, dataUri, date, dateAsync, different, digit, disable, elementClass, email, endpointMetadataKey, endsWith, endsWithAsync, error, escape, even, extension, extensionAsync, factor, factorAsync, file, fileAsync, fileSize, fileSizeAsync, formFieldGroupsMetadataKey, formFieldsMetadataKey, getEndpoint, getFormGroups, getTableDefinition, greaterThan, greaterThanAsync, greaterThanEqualTo, greaterThanEqualToAsync, grid, headerMetadataKey, hexColor, image, imageAsync, json, latLong, latitude, leapYear, lessThan, lessThanAsync, lessThanEqualTo, lessThanEqualToAsync, longitude, lowerCase, ltrim, mac, mask, maxDate, maxDateAsync, maxLength, maxLengthAsync, maxNumber, maxNumberAsync, maxTime, maxTimeAsync, minDate, minDateAsync, minLength, minLengthAsync, minNumber, minNumberAsync, minTime, minTimeAsync, mixinControlValueAccessor, mixinDisabled, model, noneOf, noneOfAsync, not, notEmpty, numeric, numericAsync, odd, oneOf, oneOfAsync, or, password, passwordAsync, pattern, patternAsync, port, prefix, primeNumber, prop, propArray, propObject, range, rangeAsync, required, requiredTrue, rtrim, rule, sanitize, startsWith, startsWithAsync, stripLow, suffix, tableColumnsMetadataKey, tableDefinitionMetadataKey, time, timeAsync, toBoolean, toDate, toDouble, toFloat, toInt, toString, trim, unique, updateOn, upperCase, url, urlAsync, whitelist };
|
|
26123
26276
|
//# sourceMappingURL=messaia-cdk.mjs.map
|