@acorex/components 16.18.6 → 16.18.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (176) hide show
  1. package/esm2022/lib/accordion/accordion.component.mjs +3 -3
  2. package/esm2022/lib/accordion/accordion.module.mjs +4 -4
  3. package/esm2022/lib/base/base-page.class.mjs +6 -6
  4. package/esm2022/lib/base/components.class.mjs +6 -6
  5. package/esm2022/lib/base/element.class.mjs +15 -15
  6. package/esm2022/lib/button/button.component.mjs +3 -3
  7. package/esm2022/lib/button/button.module.mjs +4 -4
  8. package/esm2022/lib/calendar/calendar-box/calendar-box.component.mjs +77 -34
  9. package/esm2022/lib/calendar/calendar-box/calendar-box.module.mjs +4 -4
  10. package/esm2022/lib/calendar/scheduler/scheduler-views.property.mjs +6 -6
  11. package/esm2022/lib/calendar/scheduler/scheduler.component.mjs +3 -3
  12. package/esm2022/lib/calendar/scheduler/scheduler.module.mjs +4 -4
  13. package/esm2022/lib/calendar/scheduler/toolbars/scheduler-toolbar-navigator.mjs +3 -3
  14. package/esm2022/lib/calendar/scheduler/toolbars/scheduler-toolbar-views.mjs +3 -3
  15. package/esm2022/lib/calendar/scheduler/views/agenda/scheduler-agenda-view.component.mjs +3 -3
  16. package/esm2022/lib/calendar/scheduler/views/daytime/scheduler-daytime-view.component.mjs +3 -3
  17. package/esm2022/lib/calendar/scheduler/views/month/scheduler-month-view.component.mjs +3 -3
  18. package/esm2022/lib/calendar/scheduler/views/scheduler-view.component.mjs +3 -3
  19. package/esm2022/lib/calendar/scheduler/views/timeline/scheduler-timeline-view.component.mjs +3 -3
  20. package/esm2022/lib/checkbox/checkbox.component.mjs +3 -3
  21. package/esm2022/lib/checkbox/checkbox.module.mjs +4 -4
  22. package/esm2022/lib/color-picker/color-box/color-box.component.mjs +3 -3
  23. package/esm2022/lib/color-picker/color-picker.component.mjs +3 -3
  24. package/esm2022/lib/color-picker/color-picker.module.mjs +4 -4
  25. package/esm2022/lib/context-menu/context-menu.component.mjs +3 -3
  26. package/esm2022/lib/context-menu/context-menu.directive.mjs +3 -3
  27. package/esm2022/lib/context-menu/context-menu.module.mjs +4 -4
  28. package/esm2022/lib/data-filter/columns/filter-column-date.component.mjs +3 -3
  29. package/esm2022/lib/data-filter/columns/filter-column-number.component.mjs +3 -3
  30. package/esm2022/lib/data-filter/columns/filter-column-selection.component.mjs +3 -3
  31. package/esm2022/lib/data-filter/columns/filter-column-string.component.mjs +3 -3
  32. package/esm2022/lib/data-filter/filter-panel/filter-panel.component.mjs +3 -3
  33. package/esm2022/lib/data-filter/filter.class.mjs +3 -3
  34. package/esm2022/lib/data-filter/filter.module.mjs +4 -4
  35. package/esm2022/lib/data-filter/toolbar/filter-toolbar.component.mjs +3 -3
  36. package/esm2022/lib/data-list/core/data-list.component.mjs +3 -3
  37. package/esm2022/lib/data-list/list/list.component.mjs +3 -3
  38. package/esm2022/lib/data-list/list/list.module.mjs +4 -4
  39. package/esm2022/lib/data-list/list/toolbar-list-view.component.mjs +3 -3
  40. package/esm2022/lib/data-source/datasource.component.mjs +3 -3
  41. package/esm2022/lib/data-source/datasource.module.mjs +4 -4
  42. package/esm2022/lib/date-picker/date-picker.component.mjs +3 -3
  43. package/esm2022/lib/date-picker/date-picker.module.mjs +4 -4
  44. package/esm2022/lib/dialog/dialog.component.mjs +3 -3
  45. package/esm2022/lib/dialog/dialog.module.mjs +4 -4
  46. package/esm2022/lib/dialog/dialog.service.mjs +3 -3
  47. package/esm2022/lib/drawer/content.component.mjs +3 -3
  48. package/esm2022/lib/drawer/drawer-container.component.mjs +3 -3
  49. package/esm2022/lib/drawer/drawer.component.mjs +3 -3
  50. package/esm2022/lib/drawer/drawer.module.mjs +4 -4
  51. package/esm2022/lib/dropdown/dropdown.component.mjs +3 -3
  52. package/esm2022/lib/dropdown/dropdown.module.mjs +4 -4
  53. package/esm2022/lib/fieldset/fieldset.component.mjs +3 -3
  54. package/esm2022/lib/fieldset/fieldset.module.mjs +4 -4
  55. package/esm2022/lib/form-group/form-group.component.mjs +3 -3
  56. package/esm2022/lib/form-group/form-group.module.mjs +4 -4
  57. package/esm2022/lib/label/label.component.mjs +3 -3
  58. package/esm2022/lib/label/label.module.mjs +4 -4
  59. package/esm2022/lib/loading/loading-indicator.component.mjs +3 -3
  60. package/esm2022/lib/loading/loading-panel.component.mjs +3 -3
  61. package/esm2022/lib/loading/loading.module.mjs +4 -4
  62. package/esm2022/lib/loading/loading.service.mjs +3 -3
  63. package/esm2022/lib/menu/menu-item.component.mjs +3 -3
  64. package/esm2022/lib/menu/menu.component.mjs +3 -3
  65. package/esm2022/lib/menu/menu.module.mjs +4 -4
  66. package/esm2022/lib/menu/menu2.component.mjs +3 -3
  67. package/esm2022/lib/number-box/number-box.component.mjs +3 -3
  68. package/esm2022/lib/number-box/number-box.module.mjs +4 -4
  69. package/esm2022/lib/page/content.component.mjs +3 -3
  70. package/esm2022/lib/page/footer.component.mjs +3 -3
  71. package/esm2022/lib/page/page.component.mjs +3 -3
  72. package/esm2022/lib/page/page.module.mjs +4 -4
  73. package/esm2022/lib/panel-box/panel-box.component.mjs +3 -3
  74. package/esm2022/lib/panel-box/panel-box.module.mjs +4 -4
  75. package/esm2022/lib/password-box/password-box.component.mjs +3 -3
  76. package/esm2022/lib/password-box/password-box.module.mjs +4 -4
  77. package/esm2022/lib/popover/custom-cdk-overlay.service.mjs +6 -6
  78. package/esm2022/lib/popover/overlay.service.mjs +3 -3
  79. package/esm2022/lib/popover/popover.component.mjs +3 -3
  80. package/esm2022/lib/popover/popover.module.mjs +4 -4
  81. package/esm2022/lib/popup/popup.component.mjs +3 -3
  82. package/esm2022/lib/popup/popup.module.mjs +4 -4
  83. package/esm2022/lib/popup/popup.service.mjs +3 -3
  84. package/esm2022/lib/progress-bar/progress-bar.component.mjs +3 -3
  85. package/esm2022/lib/progress-bar/progress-bar.module.mjs +4 -4
  86. package/esm2022/lib/property-editor/editors/check-editor/check-editor.mjs +3 -3
  87. package/esm2022/lib/property-editor/editors/check-editor/check.module.mjs +4 -4
  88. package/esm2022/lib/property-editor/editors/color-editor/color.editor.mjs +3 -3
  89. package/esm2022/lib/property-editor/editors/color-editor/color.module.mjs +4 -4
  90. package/esm2022/lib/property-editor/editors/column-editor/column.editor.mjs +3 -3
  91. package/esm2022/lib/property-editor/editors/column-editor/column.module.mjs +4 -4
  92. package/esm2022/lib/property-editor/editors/conditional-color-editor/conditional-color.editor.mjs +3 -3
  93. package/esm2022/lib/property-editor/editors/conditional-color-editor/conditional-color.module.mjs +4 -4
  94. package/esm2022/lib/property-editor/editors/date-editor/date.editor.mjs +3 -3
  95. package/esm2022/lib/property-editor/editors/date-editor/date.module.mjs +4 -4
  96. package/esm2022/lib/property-editor/editors/number-editor/number.editor.mjs +3 -3
  97. package/esm2022/lib/property-editor/editors/number-editor/number.module.mjs +4 -4
  98. package/esm2022/lib/property-editor/editors/range-editor/range.editor.mjs +3 -3
  99. package/esm2022/lib/property-editor/editors/range-editor/range.module.mjs +4 -4
  100. package/esm2022/lib/property-editor/editors/searchbar-selectbox-editor/searchbar-selectbox-editor.mjs +3 -3
  101. package/esm2022/lib/property-editor/editors/selectbox-editor/selectbox.editor.mjs +7 -7
  102. package/esm2022/lib/property-editor/editors/selectbox-editor/selectbox.module.mjs +4 -4
  103. package/esm2022/lib/property-editor/editors/selection-editor/selection-editor.mjs +3 -3
  104. package/esm2022/lib/property-editor/editors/selection-editor/selection.module.mjs +4 -4
  105. package/esm2022/lib/property-editor/editors/switch-editor/number.editor.mjs +3 -3
  106. package/esm2022/lib/property-editor/editors/switch-editor/number.module.mjs +4 -4
  107. package/esm2022/lib/property-editor/editors/text-editor/text.editor.mjs +3 -3
  108. package/esm2022/lib/property-editor/editors/text-editor/text.module.mjs +4 -4
  109. package/esm2022/lib/property-editor/editors/textarea-editor/textarea.editor.mjs +3 -3
  110. package/esm2022/lib/property-editor/editors/textarea-editor/textarea.module.mjs +4 -4
  111. package/esm2022/lib/property-editor/editors/time-editor/time.editor.mjs +3 -3
  112. package/esm2022/lib/property-editor/editors/time-editor/time.module.mjs +4 -4
  113. package/esm2022/lib/property-editor/property-editor-renderer.directive.mjs +3 -3
  114. package/esm2022/lib/property-editor/property-editor.class.mjs +3 -3
  115. package/esm2022/lib/property-editor/property-editor.module.mjs +4 -4
  116. package/esm2022/lib/query-builder/query-builder-group.component.mjs +3 -3
  117. package/esm2022/lib/query-builder/query-builder-popup/query-builder-popup.component.mjs +3 -3
  118. package/esm2022/lib/query-builder/query-builder-rule.component.mjs +3 -3
  119. package/esm2022/lib/query-builder/query-builder.component.mjs +3 -3
  120. package/esm2022/lib/query-builder/query-builder.module.mjs +4 -4
  121. package/esm2022/lib/query-builder/query-builder.service.mjs +3 -3
  122. package/esm2022/lib/search-bar/search-bar.component.mjs +3 -3
  123. package/esm2022/lib/search-bar/search-bar.module.mjs +4 -4
  124. package/esm2022/lib/searchbox/searchbox.component.mjs +3 -3
  125. package/esm2022/lib/searchbox/searchbox.module.mjs +4 -4
  126. package/esm2022/lib/selectbox/selectbox.component.mjs +3 -3
  127. package/esm2022/lib/selectbox/selectbox.module.mjs +4 -4
  128. package/esm2022/lib/selectbox/selectbox2.component.mjs +3 -3
  129. package/esm2022/lib/selection-list/selection-list.component.mjs +14 -9
  130. package/esm2022/lib/selection-list/selection-list.module.mjs +4 -4
  131. package/esm2022/lib/switch/switch.component.mjs +3 -3
  132. package/esm2022/lib/switch/switch.module.mjs +4 -4
  133. package/esm2022/lib/tab-page/tab-page-Renderer.component.mjs +3 -3
  134. package/esm2022/lib/tab-page/tab-page-host.component.mjs +3 -3
  135. package/esm2022/lib/tab-page/tab-page.module.mjs +4 -4
  136. package/esm2022/lib/tab-page/tab-page.service.mjs +3 -3
  137. package/esm2022/lib/tab-strip/tab-strip.component.mjs +3 -3
  138. package/esm2022/lib/tab-strip/tab-strip.module.mjs +4 -4
  139. package/esm2022/lib/tab-view/dynamic-tabs.directive.mjs +3 -3
  140. package/esm2022/lib/tab-view/tab-view.component.mjs +3 -3
  141. package/esm2022/lib/tab-view/tab-view.module.mjs +4 -4
  142. package/esm2022/lib/tab-view/tab.component.mjs +3 -3
  143. package/esm2022/lib/textarea/textarea.component.mjs +3 -3
  144. package/esm2022/lib/textarea/textarea.module.mjs +4 -4
  145. package/esm2022/lib/textbox/textbox.component.mjs +3 -3
  146. package/esm2022/lib/textbox/textbox.module.mjs +4 -4
  147. package/esm2022/lib/time-picker/time-picker.component.mjs +3 -3
  148. package/esm2022/lib/time-picker/time-picker.module.mjs +4 -4
  149. package/esm2022/lib/toast/toast-message/toast-message.component.mjs +3 -3
  150. package/esm2022/lib/toast/toast-wrapper/toast-wrapper.component.mjs +3 -3
  151. package/esm2022/lib/toast/toast.module.mjs +4 -4
  152. package/esm2022/lib/toast/toast.service.mjs +3 -3
  153. package/esm2022/lib/toolbar/group-button/toolbar-group-button.component.mjs +3 -3
  154. package/esm2022/lib/toolbar/menu/toolbar-menu.component.mjs +3 -3
  155. package/esm2022/lib/toolbar/search/toolbar-search.component.mjs +3 -3
  156. package/esm2022/lib/toolbar/title/toolbar-title.component.mjs +3 -3
  157. package/esm2022/lib/toolbar/toolbar.component.mjs +3 -3
  158. package/esm2022/lib/toolbar/toolbar.module.mjs +4 -4
  159. package/esm2022/lib/tooltip/tooltip.directive.mjs +3 -3
  160. package/esm2022/lib/tooltip/tooltip.module.mjs +4 -4
  161. package/esm2022/lib/tree-side-menu/tree-side-menu.component.mjs +3 -3
  162. package/esm2022/lib/tree-side-menu/tree-side-menu.module.mjs +4 -4
  163. package/esm2022/lib/tree-view/tree-view.component.mjs +3 -3
  164. package/esm2022/lib/tree-view/tree-view.module.mjs +4 -4
  165. package/esm2022/lib/upload-file/upload-file.component.mjs +12 -8
  166. package/esm2022/lib/upload-file/upload-file.module.mjs +4 -4
  167. package/esm2022/lib/validation/validation-form.component.mjs +3 -3
  168. package/esm2022/lib/validation/validation-rule.widget.mjs +24 -19
  169. package/esm2022/lib/validation/validation.component.mjs +6 -6
  170. package/esm2022/lib/validation/validation.module.mjs +4 -4
  171. package/fesm2022/acorex-components.mjs +706 -648
  172. package/fesm2022/acorex-components.mjs.map +1 -1
  173. package/lib/calendar/calendar-box/calendar-box.component.d.ts +8 -4
  174. package/lib/property-editor/editors/selectbox-editor/selectbox.editor.d.ts +2 -2
  175. package/lib/validation/validation-rule.widget.d.ts +2 -1
  176. package/package.json +2 -2
@@ -26,6 +26,7 @@ export class AXValidationRuleComponent {
26
26
  message;
27
27
  value;
28
28
  enabled = true;
29
+ operation = 'eq';
29
30
  constructor(ref) {
30
31
  this.ref = ref;
31
32
  if (ref)
@@ -45,29 +46,28 @@ export class AXValidationRuleComponent {
45
46
  }
46
47
  internalValidate(type, value, message, ruleValue) {
47
48
  return new Promise((resolve) => {
49
+ let result;
48
50
  switch (type) {
49
51
  case 'required':
50
52
  if (typeof value === 'string') {
51
- resolve({
52
- message: message || AXTranslator.get('validation.messages.required'),
53
- result: value.trim() != '',
54
- });
53
+ result = value.trim() != '';
55
54
  }
56
55
  else {
57
- resolve({
58
- message: message || AXTranslator.get('validation.messages.required'),
59
- result: value != null &&
60
- value != '' &&
61
- (!Array.isArray(value) ||
62
- (Array.isArray(value) && value.length > 0)),
63
- });
56
+ result = value != null &&
57
+ value != '' &&
58
+ (!Array.isArray(value) || (Array.isArray(value) && value.length > 0));
64
59
  }
60
+ resolve({
61
+ message: message || AXTranslator.get('validation.messages.required'),
62
+ result: this.operation === 'not' ? !result : result
63
+ });
65
64
  break;
66
65
  case 'regex':
67
66
  const ex = new RegExp(ruleValue);
67
+ result = ex.test(value);
68
68
  resolve({
69
69
  message: message || AXTranslator.get('validation.messages.regex'),
70
- result: ex.test(value),
70
+ result: this.operation === 'not' ? !result : result
71
71
  });
72
72
  break;
73
73
  case 'custom':
@@ -79,10 +79,10 @@ export class AXValidationRuleComponent {
79
79
  if (val instanceof Promise) {
80
80
  val
81
81
  .then((c) => {
82
- res.result = c;
82
+ res.result = this.operation === 'not' ? !c : c;
83
83
  })
84
84
  .catch((c) => {
85
- res.result = false;
85
+ res.result = this.operation === 'not' ? !false : false;
86
86
  })
87
87
  .finally(() => {
88
88
  resolve(res);
@@ -90,7 +90,10 @@ export class AXValidationRuleComponent {
90
90
  }
91
91
  else {
92
92
  res.result = val;
93
- resolve(res);
93
+ resolve({
94
+ message: message,
95
+ result: this.operation === 'not' ? !res.result : res.result
96
+ });
94
97
  }
95
98
  }
96
99
  else {
@@ -102,10 +105,10 @@ export class AXValidationRuleComponent {
102
105
  }
103
106
  });
104
107
  }
105
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: AXValidationRuleComponent, deps: [{ token: ElementRef, optional: true }], target: i0.ɵɵFactoryTarget.Component });
106
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.6", type: AXValidationRuleComponent, selector: "ax-validation-rule", inputs: { type: "type", message: "message", value: "value", enabled: "enabled" }, ngImport: i0, template: '', isInline: true });
108
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXValidationRuleComponent, deps: [{ token: ElementRef, optional: true }], target: i0.ɵɵFactoryTarget.Component });
109
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.7", type: AXValidationRuleComponent, selector: "ax-validation-rule", inputs: { type: "type", message: "message", value: "value", enabled: "enabled", operation: "operation" }, ngImport: i0, template: '', isInline: true });
107
110
  }
108
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: AXValidationRuleComponent, decorators: [{
111
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXValidationRuleComponent, decorators: [{
109
112
  type: Component,
110
113
  args: [{
111
114
  selector: 'ax-validation-rule',
@@ -124,5 +127,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImpor
124
127
  type: Input
125
128
  }], enabled: [{
126
129
  type: Input
130
+ }], operation: [{
131
+ type: Input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gICAgICAgIHJlc29sdmUoe1xuICAgICAgICAgICAgICBtZXNzYWdlOlxuICAgICAgICAgICAgICAgIG1lc3NhZ2UgfHwgQVhUcmFuc2xhdG9yLmdldCgndmFsaWRhdGlvbi5tZXNzYWdlcy5yZXF1aXJlZCcpLFxuICAgICAgICAgICAgICByZXN1bHQ6IHZhbHVlLnRyaW0oKSAhPSAnJyxcbiAgICAgICAgICAgIH0pO1xuICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICByZXNvbHZlKHtcbiAgICAgICAgICAgICAgbWVzc2FnZTpcbiAgICAgICAgICAgICAgICBtZXNzYWdlIHx8IEFYVHJhbnNsYXRvci5nZXQoJ3ZhbGlkYXRpb24ubWVzc2FnZXMucmVxdWlyZWQnKSxcbiAgICAgICAgICAgICAgcmVzdWx0OlxuICAgICAgICAgICAgICAgIHZhbHVlICE9IG51bGwgJiZcbiAgICAgICAgICAgICAgICB2YWx1ZSAhPSAnJyAmJlxuICAgICAgICAgICAgICAgICghQXJyYXkuaXNBcnJheSh2YWx1ZSkgfHxcbiAgICAgICAgICAgICAgICAgIChBcnJheS5pc0FycmF5KHZhbHVlKSAmJiB2YWx1ZS5sZW5ndGggPiAwKSksXG4gICAgICAgICAgICB9KTtcbiAgICAgICAgICB9XG5cbiAgICAgICAgICBicmVhaztcbiAgICAgICAgY2FzZSAncmVnZXgnOlxuICAgICAgICAgIGNvbnN0IGV4ID0gbmV3IFJlZ0V4cChydWxlVmFsdWUpO1xuICAgICAgICAgIHJlc29sdmUoe1xuICAgICAgICAgICAgbWVzc2FnZTogbWVzc2FnZSB8fCBBWFRyYW5zbGF0b3IuZ2V0KCd2YWxpZGF0aW9uLm1lc3NhZ2VzLnJlZ2V4JyksXG4gICAgICAgICAgICByZXN1bHQ6IGV4LnRlc3QodmFsdWUpLFxuICAgICAgICAgIH0pO1xuICAgICAgICAgIGJyZWFrO1xuICAgICAgICBjYXNlICdjdXN0b20nOlxuICAgICAgICBjYXNlICdjYWxsYmFjayc6XG4gICAgICAgICAgaWYgKHR5cGVvZiBydWxlVmFsdWUgPT09ICdmdW5jdGlvbicpIHtcbiAgICAgICAgICAgIGNvbnN0IHJlczogYW55ID0ge307XG4gICAgICAgICAgICByZXMubWVzc2FnZSA9IG1lc3NhZ2U7XG4gICAgICAgICAgICBjb25zdCB2YWwgPSBydWxlVmFsdWUoeyB2YWx1ZSwgbWVzc2FnZSB9KTtcbiAgICAgICAgICAgIGlmICh2YWwgaW5zdGFuY2VvZiBQcm9taXNlKSB7XG4gICAgICAgICAgICAgIHZhbFxuICAgICAgICAgICAgICAgIC50aGVuKChjKSA9PiB7XG4gICAgICAgICAgICAgICAgICByZXMucmVzdWx0ID0gYztcbiAgICAgICAgICAgICAgICB9KVxuICAgICAgICAgICAgICAgIC5jYXRjaCgoYykgPT4ge1xuICAgICAgICAgICAgICAgICAgcmVzLnJlc3VsdCA9IGZhbHNlO1xuICAgICAgICAgICAgICAgIH0pXG4gICAgICAgICAgICAgICAgLmZpbmFsbHkoKCkgPT4ge1xuICAgICAgICAgICAgICAgICAgcmVzb2x2ZShyZXMpO1xuICAgICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgcmVzLnJlc3VsdCA9IHZhbDtcbiAgICAgICAgICAgICAgcmVzb2x2ZShyZXMpO1xuICAgICAgICAgICAgfVxuICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICByZXNvbHZlKHsgcmVzdWx0OiB0cnVlIH0pO1xuICAgICAgICAgIH1cbiAgICAgICAgICBicmVhaztcbiAgICAgICAgZGVmYXVsdDpcbiAgICAgICAgICByZXNvbHZlKHsgcmVzdWx0OiB0cnVlIH0pO1xuICAgICAgfVxuICAgIH0pO1xuICB9XG59XG4iXX0=
133
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmFsaWRhdGlvbi1ydWxlLndpZGdldC5qcyIsInNvdXJjZVJvb3QiOiIiL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biA9PT0gJ25vdCcgPyAhcmVzdWx0IDogcmVzdWx0XG4gICAgICAgICAgfSk7XG4gICAgICAgICAgYnJlYWs7XG5cbiAgICAgICAgY2FzZSAncmVnZXgnOlxuICAgICAgICAgIGNvbnN0IGV4ID0gbmV3IFJlZ0V4cChydWxlVmFsdWUpO1xuICAgICAgICAgIHJlc3VsdCA9IGV4LnRlc3QodmFsdWUpO1xuICAgICAgICAgIHJlc29sdmUoe1xuICAgICAgICAgICAgbWVzc2FnZTogbWVzc2FnZSB8fCBBWFRyYW5zbGF0b3IuZ2V0KCd2YWxpZGF0aW9uLm1lc3NhZ2VzLnJlZ2V4JyksXG4gICAgICAgICAgICByZXN1bHQ6IHRoaXMub3BlcmF0aW9uID09PSAnbm90JyA/ICFyZXN1bHQgOiByZXN1bHRcbiAgICAgICAgICB9KTtcbiAgICAgICAgICBicmVhaztcblxuICAgICAgICBjYXNlICdjdXN0b20nOlxuICAgICAgICBjYXNlICdjYWxsYmFjayc6XG4gICAgICAgICAgaWYgKHR5cGVvZiBydWxlVmFsdWUgPT09ICdmdW5jdGlvbicpIHtcbiAgICAgICAgICAgIGNvbnN0IHJlczogYW55ID0ge307XG4gICAgICAgICAgICByZXMubWVzc2FnZSA9IG1lc3NhZ2U7XG4gICAgICAgICAgICBjb25zdCB2YWwgPSBydWxlVmFsdWUoeyB2YWx1ZSwgbWVzc2FnZSB9KTtcbiAgICAgICAgICAgIGlmICh2YWwgaW5zdGFuY2VvZiBQcm9taXNlKSB7XG4gICAgICAgICAgICAgIHZhbFxuICAgICAgICAgICAgICAgIC50aGVuKChjKSA9PiB7XG4gICAgICAgICAgICAgICAgICByZXMucmVzdWx0ID0gdGhpcy5vcGVyYXRpb24gPT09ICdub3QnID8gIWMgOiBjO1xuICAgICAgICAgICAgICAgIH0pXG4gICAgICAgICAgICAgICAgLmNhdGNoKChjKSA9PiB7XG4gICAgICAgICAgICAgICAgICByZXMucmVzdWx0ID0gdGhpcy5vcGVyYXRpb24gPT09ICdub3QnID8gIWZhbHNlIDogZmFsc2U7XG4gICAgICAgICAgICAgICAgfSlcbiAgICAgICAgICAgICAgICAuZmluYWxseSgoKSA9PiB7XG4gICAgICAgICAgICAgICAgICByZXNvbHZlKHJlcyk7XG4gICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICByZXMucmVzdWx0ID0gdmFsO1xuICAgICAgICAgICAgICByZXNvbHZlKHtcbiAgICAgICAgICAgICAgICBtZXNzYWdlOiBtZXNzYWdlLFxuICAgICAgICAgICAgICAgIHJlc3VsdDogdGhpcy5vcGVyYXRpb24gPT09ICdub3QnID8gIXJlcy5yZXN1bHQgOiByZXMucmVzdWx0XG4gICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgfVxuICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICByZXNvbHZlKHsgcmVzdWx0OiB0cnVlIH0pO1xuICAgICAgICAgIH1cbiAgICAgICAgICBicmVhaztcblxuICAgICAgICBkZWZhdWx0OlxuICAgICAgICAgIHJlc29sdmUoeyByZXN1bHQ6IHRydWUgfSk7XG4gICAgICB9XG4gICAgfSk7XG4gIH1cbn1cbiJdfQ==
@@ -29,10 +29,10 @@ export class AXValidation {
29
29
  });
30
30
  });
31
31
  }
32
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: AXValidation, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
33
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: AXValidation });
32
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXValidation, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
33
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXValidation });
34
34
  }
35
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: AXValidation, decorators: [{
35
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXValidation, decorators: [{
36
36
  type: Injectable
37
37
  }] });
38
38
  export class AXValidationComponent extends AXValidation {
@@ -62,10 +62,10 @@ export class AXValidationComponent extends AXValidation {
62
62
  this.rules.push(...this._getComponenets());
63
63
  }
64
64
  }
65
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: AXValidationComponent, deps: [{ token: ElementRef, optional: true }], target: i0.ɵɵFactoryTarget.Component });
66
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.6", type: AXValidationComponent, selector: "ax-validation", inputs: { rules: "rules", validateOn: "validateOn" }, outputs: { rulesChange: "rulesChange", showMessage: "showMessage" }, providers: [{ provide: AXValidation, useExisting: AXValidationComponent }], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true });
65
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXValidationComponent, deps: [{ token: ElementRef, optional: true }], target: i0.ɵɵFactoryTarget.Component });
66
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.7", type: AXValidationComponent, selector: "ax-validation", inputs: { rules: "rules", validateOn: "validateOn" }, outputs: { rulesChange: "rulesChange", showMessage: "showMessage" }, providers: [{ provide: AXValidation, useExisting: AXValidationComponent }], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true });
67
67
  }
68
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: AXValidationComponent, decorators: [{
68
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXValidationComponent, decorators: [{
69
69
  type: Component,
70
70
  args: [{
71
71
  selector: 'ax-validation',
@@ -18,11 +18,11 @@ export class AXValidationModule {
18
18
  value: /^[+]*[(]{0,1}[0-9]{1,4}[)]{0,1}[-\s\./0-9]*$/
19
19
  });
20
20
  }
21
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: AXValidationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
22
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.6", ngImport: i0, type: AXValidationModule, declarations: [AXValidationFormComponent, AXValidationComponent, AXValidationRuleComponent], imports: [CommonModule], exports: [AXValidationFormComponent, AXValidationComponent, AXValidationRuleComponent] });
23
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: AXValidationModule, imports: [CommonModule] });
21
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXValidationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
22
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.7", ngImport: i0, type: AXValidationModule, declarations: [AXValidationFormComponent, AXValidationComponent, AXValidationRuleComponent], imports: [CommonModule], exports: [AXValidationFormComponent, AXValidationComponent, AXValidationRuleComponent] });
23
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXValidationModule, imports: [CommonModule] });
24
24
  }
25
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: AXValidationModule, decorators: [{
25
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.7", ngImport: i0, type: AXValidationModule, decorators: [{
26
26
  type: NgModule,
27
27
  args: [{
28
28
  declarations: [AXValidationFormComponent, AXValidationComponent, AXValidationRuleComponent],