@acorex/components 18.12.21 → 18.12.22

Sign up to get free protection for your applications and to get access to all the features.
Files changed (125) hide show
  1. package/conversation/lib/conversation-messages/conversation-message-audio/conversation-message-audio.component.d.ts +11 -32
  2. package/data-table/lib/columns/row-command-column.component.d.ts +3 -3
  3. package/esm2022/comment/lib/comment-item/comment-item.component.mjs +3 -3
  4. package/esm2022/conversation/lib/conversation-messages/conversation-message-audio/conversation-message-audio.component.mjs +30 -58
  5. package/esm2022/conversation/lib/services/conversation.service.mjs +1 -1
  6. package/esm2022/data-table/lib/columns/row-command-column.component.mjs +20 -10
  7. package/esm2022/datetime-box/lib/datetime-box.component.mjs +3 -3
  8. package/esm2022/image-editor/lib/image-editor-tools/image-editor-color-picker/image-editor-color-picker.component.mjs +6 -16
  9. package/esm2022/image-editor/lib/image-editor-tools/image-editor-crop/image-editor-crop.component.mjs +4 -3
  10. package/esm2022/image-editor/lib/image-editor-tools/image-editor-pen-mode-changer/image-editor-pen-mode-changer.component.mjs +4 -3
  11. package/esm2022/image-editor/lib/image-editor.module.mjs +8 -5
  12. package/esm2022/json-viewer/acorex-components-json-viewer.mjs +5 -0
  13. package/esm2022/json-viewer/index.mjs +3 -0
  14. package/esm2022/json-viewer/lib/json-viewer/json-viewer.component.mjs +36 -0
  15. package/esm2022/json-viewer/lib/json-viewer.module.mjs +23 -0
  16. package/esm2022/media-viewer/lib/media-viewer-thumbnail/media-viewer-thumbnail.component.mjs +5 -4
  17. package/esm2022/menu/lib/menu.module.mjs +2 -2
  18. package/esm2022/paint/lib/paint/paint-tools/paint-color-picker/paint-color-picker.component.mjs +5 -15
  19. package/esm2022/paint/lib/paint/paint-tools/paint-pen-mode-changer/paint-pen-mode-changer.component.mjs +4 -3
  20. package/esm2022/paint/lib/paint.module.mjs +8 -5
  21. package/esm2022/phone-box/lib/phone-box.component.mjs +26 -22
  22. package/esm2022/range-slider/lib/range-slider.component.mjs +7 -7
  23. package/esm2022/step-wizard/lib/step-wizard-item/step-wizard-item.component.mjs +2 -2
  24. package/esm2022/text-box/lib/text-box.component.mjs +5 -4
  25. package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
  26. package/fesm2022/acorex-components-alert.mjs.map +1 -1
  27. package/fesm2022/acorex-components-audio-wave.mjs.map +1 -1
  28. package/fesm2022/acorex-components-avatar.mjs.map +1 -1
  29. package/fesm2022/acorex-components-badge.mjs.map +1 -1
  30. package/fesm2022/acorex-components-bottom-navigation.mjs.map +1 -1
  31. package/fesm2022/acorex-components-breadcrumbs.mjs.map +1 -1
  32. package/fesm2022/acorex-components-button-group.mjs.map +1 -1
  33. package/fesm2022/acorex-components-button.mjs.map +1 -1
  34. package/fesm2022/acorex-components-calendar.mjs.map +1 -1
  35. package/fesm2022/acorex-components-check-box.mjs.map +1 -1
  36. package/fesm2022/acorex-components-chips.mjs.map +1 -1
  37. package/fesm2022/acorex-components-circular-progress.mjs.map +1 -1
  38. package/fesm2022/acorex-components-collapse.mjs.map +1 -1
  39. package/fesm2022/acorex-components-color-box.mjs.map +1 -1
  40. package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
  41. package/fesm2022/acorex-components-comment.mjs +2 -2
  42. package/fesm2022/acorex-components-comment.mjs.map +1 -1
  43. package/fesm2022/acorex-components-common.mjs.map +1 -1
  44. package/fesm2022/acorex-components-conversation.mjs +29 -57
  45. package/fesm2022/acorex-components-conversation.mjs.map +1 -1
  46. package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
  47. package/fesm2022/acorex-components-data-table.mjs +19 -9
  48. package/fesm2022/acorex-components-data-table.mjs.map +1 -1
  49. package/fesm2022/acorex-components-datetime-box.mjs +2 -2
  50. package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
  51. package/fesm2022/acorex-components-datetime-input.mjs.map +1 -1
  52. package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
  53. package/fesm2022/acorex-components-decorators.mjs.map +1 -1
  54. package/fesm2022/acorex-components-dialog.mjs.map +1 -1
  55. package/fesm2022/acorex-components-drawer.mjs.map +1 -1
  56. package/fesm2022/acorex-components-dropdown-button.mjs.map +1 -1
  57. package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
  58. package/fesm2022/acorex-components-form.mjs.map +1 -1
  59. package/fesm2022/acorex-components-image-editor.mjs +19 -23
  60. package/fesm2022/acorex-components-image-editor.mjs.map +1 -1
  61. package/fesm2022/acorex-components-image.mjs.map +1 -1
  62. package/fesm2022/acorex-components-json-viewer.mjs +63 -0
  63. package/fesm2022/acorex-components-json-viewer.mjs.map +1 -0
  64. package/fesm2022/acorex-components-label.mjs.map +1 -1
  65. package/fesm2022/acorex-components-list.mjs.map +1 -1
  66. package/fesm2022/acorex-components-loading-dialog.mjs.map +1 -1
  67. package/fesm2022/acorex-components-loading.mjs.map +1 -1
  68. package/fesm2022/acorex-components-map.mjs.map +1 -1
  69. package/fesm2022/acorex-components-media-viewer.mjs +4 -3
  70. package/fesm2022/acorex-components-media-viewer.mjs.map +1 -1
  71. package/fesm2022/acorex-components-menu.mjs.map +1 -1
  72. package/fesm2022/acorex-components-nav.mjs.map +1 -1
  73. package/fesm2022/acorex-components-navbar.mjs.map +1 -1
  74. package/fesm2022/acorex-components-notification.mjs.map +1 -1
  75. package/fesm2022/acorex-components-number-box.mjs.map +1 -1
  76. package/fesm2022/acorex-components-otp.mjs.map +1 -1
  77. package/fesm2022/acorex-components-page.mjs.map +1 -1
  78. package/fesm2022/acorex-components-paint.mjs +14 -18
  79. package/fesm2022/acorex-components-paint.mjs.map +1 -1
  80. package/fesm2022/acorex-components-password-box.mjs.map +1 -1
  81. package/fesm2022/acorex-components-phone-box.mjs +26 -22
  82. package/fesm2022/acorex-components-phone-box.mjs.map +1 -1
  83. package/fesm2022/acorex-components-picker.mjs.map +1 -1
  84. package/fesm2022/acorex-components-popover.mjs.map +1 -1
  85. package/fesm2022/acorex-components-popup.mjs.map +1 -1
  86. package/fesm2022/acorex-components-progress-bar.mjs.map +1 -1
  87. package/fesm2022/acorex-components-qrcode.mjs.map +1 -1
  88. package/fesm2022/acorex-components-radio.mjs.map +1 -1
  89. package/fesm2022/acorex-components-range-slider.mjs +6 -6
  90. package/fesm2022/acorex-components-range-slider.mjs.map +1 -1
  91. package/fesm2022/acorex-components-rate-picker.mjs.map +1 -1
  92. package/fesm2022/acorex-components-result.mjs.map +1 -1
  93. package/fesm2022/acorex-components-routing-progress.mjs.map +1 -1
  94. package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
  95. package/fesm2022/acorex-components-scss.mjs.map +1 -1
  96. package/fesm2022/acorex-components-search-box.mjs.map +1 -1
  97. package/fesm2022/acorex-components-select-box.mjs.map +1 -1
  98. package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
  99. package/fesm2022/acorex-components-side-menu.mjs.map +1 -1
  100. package/fesm2022/acorex-components-skeleton.mjs.map +1 -1
  101. package/fesm2022/acorex-components-slider.mjs.map +1 -1
  102. package/fesm2022/acorex-components-step-wizard.mjs +2 -2
  103. package/fesm2022/acorex-components-step-wizard.mjs.map +1 -1
  104. package/fesm2022/acorex-components-switch.mjs.map +1 -1
  105. package/fesm2022/acorex-components-tabs.mjs.map +1 -1
  106. package/fesm2022/acorex-components-tag.mjs.map +1 -1
  107. package/fesm2022/acorex-components-text-area.mjs.map +1 -1
  108. package/fesm2022/acorex-components-text-box.mjs +4 -3
  109. package/fesm2022/acorex-components-text-box.mjs.map +1 -1
  110. package/fesm2022/acorex-components-time-line.mjs.map +1 -1
  111. package/fesm2022/acorex-components-toast.mjs.map +1 -1
  112. package/fesm2022/acorex-components-tooltip.mjs.map +1 -1
  113. package/fesm2022/acorex-components-uploader.mjs.map +1 -1
  114. package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
  115. package/image-editor/lib/image-editor-tools/image-editor-color-picker/image-editor-color-picker.component.d.ts +0 -10
  116. package/image-editor/lib/image-editor.module.d.ts +3 -2
  117. package/json-viewer/README.md +3 -0
  118. package/json-viewer/index.d.ts +2 -0
  119. package/json-viewer/lib/json-viewer/json-viewer.component.d.ts +11 -0
  120. package/json-viewer/lib/json-viewer.module.d.ts +10 -0
  121. package/media-viewer/lib/media-viewer-thumbnail/media-viewer-thumbnail.component.d.ts +1 -1
  122. package/package.json +57 -51
  123. package/paint/lib/paint/paint-tools/paint-color-picker/paint-color-picker.component.d.ts +0 -10
  124. package/paint/lib/paint.module.d.ts +3 -2
  125. package/phone-box/lib/phone-box.component.d.ts +24 -22
@@ -1,5 +1,4 @@
1
1
  import { AXDataSource, AXValueChangedEvent, MXInputBaseValueComponent, MXLookComponent } from '@acorex/components/common';
2
- import { WritableSignal } from '@angular/core';
3
2
  import { AXTextBoxComponent } from '@acorex/components/text-box';
4
3
  import { CountryItem } from '@acorex/core/common';
5
4
  import * as i0 from "@angular/core";
@@ -13,31 +12,34 @@ declare const AXPhoneBoxComponent_base: import("polytype").Polytype.ClusteredCon
13
12
  * A component that handles phone number input with various configurations.
14
13
  */
15
14
  export declare class AXPhoneBoxComponent extends AXPhoneBoxComponent_base {
16
- phone: any;
17
15
  /** @ignore */
18
16
  protected _updateOn: 'change' | 'blur' | 'submit';
19
17
  /** @ignore */
20
18
  textbox: AXTextBoxComponent;
21
19
  /**
22
- * CSS classes to apply to the component.
23
- */
20
+ * CSS classes to apply to the component.
21
+ */
24
22
  classNames: string;
25
23
  /**
26
- * The default country value for the component.
27
- */
24
+ * static precode.
25
+ */
26
+ precode: import("@angular/core").InputSignal<unknown>;
27
+ /**
28
+ * The default country value for the component.
29
+ */
28
30
  country: import("@angular/core").InputSignal<string>;
29
31
  /**
30
- * List of included values for the component.
31
- */
32
+ * List of included values for the component.
33
+ */
32
34
  included: import("@angular/core").InputSignal<string[]>;
33
35
  /**
34
- * List of excluded values for the component.
35
- */
36
+ * List of excluded values for the component.
37
+ */
36
38
  excluded: import("@angular/core").InputSignal<string[]>;
37
39
  /** @ignore */
38
- protected countries: WritableSignal<CountryItem[]>;
40
+ protected countries: import("@angular/core").WritableSignal<CountryItem[]>;
39
41
  /** @ignore */
40
- protected selectedCountry: WritableSignal<CountryItem>;
42
+ protected selectedCountry: import("@angular/core").WritableSignal<CountryItem>;
41
43
  /** @ignore */
42
44
  protected _handleModelChange(value: string | null): void;
43
45
  /** @ignore */
@@ -47,25 +49,25 @@ export declare class AXPhoneBoxComponent extends AXPhoneBoxComponent_base {
47
49
  /** @ignore */
48
50
  constructor();
49
51
  /**
50
- * Determines if the keyboard event is a valid action based on allowed keys and key codes.
51
- */
52
+ * Determines if the keyboard event is a valid action based on allowed keys and key codes.
53
+ */
52
54
  isValidKeyboardAction: (event: KeyboardEvent) => boolean;
53
55
  /**
54
- * Updates the list of countries based on included or excluded codes.
55
- */
56
+ * Updates the list of countries based on included or excluded codes.
57
+ */
56
58
  setCountries(): void;
57
59
  /**
58
- * Sets the default selected country based on the provided country code or the first country in the list.
59
- */
60
+ * Sets the default selected country based on the provided country code or the first country in the list.
61
+ */
60
62
  setDefaultValue(): void;
61
63
  /**
62
- * Handles key down events, emitting an event if the key action is valid, otherwise prevents default behavior and stops propagation.
63
- * @param e
64
- */
64
+ * Handles key down events, emitting an event if the key action is valid, otherwise prevents default behavior and stops propagation.
65
+ * @param e
66
+ */
65
67
  handleKeyDown(e: KeyboardEvent): void;
66
68
  /** @ignore */
67
69
  _handleCountryValueChanged(event: AXValueChangedEvent): void;
68
70
  static ɵfac: i0.ɵɵFactoryDeclaration<AXPhoneBoxComponent, never>;
69
- static ɵcmp: i0.ɵɵComponentDeclaration<AXPhoneBoxComponent, "ax-phone-box", never, { "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "value": { "alias": "value"; "required": false; }; "state": { "alias": "state"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "allowNull": { "alias": "allowNull"; "required": false; }; "type": { "alias": "type"; "required": false; }; "autoComplete": { "alias": "autoComplete"; "required": false; }; "look": { "alias": "look"; "required": false; }; "classNames": { "alias": "class"; "required": false; }; "country": { "alias": "country"; "required": false; "isSignal": true; }; "included": { "alias": "included"; "required": false; "isSignal": true; }; "excluded": { "alias": "excluded"; "required": false; "isSignal": true; }; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "stateChange": "stateChange"; "onValueChanged": "onValueChanged"; "readonlyChange": "readonlyChange"; "disabledChange": "disabledChange"; "onKeyDown": "onKeyDown"; "onKeyUp": "onKeyUp"; "onKeyPress": "onKeyPress"; }, never, ["ax-clear-button ", "ax-validation-rule"], false, never>;
71
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXPhoneBoxComponent, "ax-phone-box", never, { "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "value": { "alias": "value"; "required": false; }; "state": { "alias": "state"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "allowNull": { "alias": "allowNull"; "required": false; }; "type": { "alias": "type"; "required": false; }; "autoComplete": { "alias": "autoComplete"; "required": false; }; "look": { "alias": "look"; "required": false; }; "classNames": { "alias": "class"; "required": false; }; "precode": { "alias": "precode"; "required": false; "isSignal": true; }; "country": { "alias": "country"; "required": false; "isSignal": true; }; "included": { "alias": "included"; "required": false; "isSignal": true; }; "excluded": { "alias": "excluded"; "required": false; "isSignal": true; }; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "stateChange": "stateChange"; "onValueChanged": "onValueChanged"; "readonlyChange": "readonlyChange"; "disabledChange": "disabledChange"; "onKeyDown": "onKeyDown"; "onKeyUp": "onKeyUp"; "onKeyPress": "onKeyPress"; }, never, ["ax-clear-button ", "ax-validation-rule"], false, never>;
70
72
  }
71
73
  export {};