@apipass/inputs 1.0.166 → 1.0.169

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.
Files changed (54) hide show
  1. package/README.md +33 -33
  2. package/ace-editor-input/ace-editor-input.component.d.ts +45 -0
  3. package/assets/css/inputs.scss +298 -298
  4. package/esm2022/ace-editor/component.mjs +1 -1
  5. package/esm2022/ace-editor/directive.mjs +1 -1
  6. package/esm2022/ace-editor-input/ace-editor-input.component.mjs +162 -0
  7. package/esm2022/custom-select/custom-select-item.mjs +1 -1
  8. package/esm2022/custom-select/custom-select.component.mjs +3 -3
  9. package/esm2022/debounce-model-directive/debouceInput.directive.mjs +1 -1
  10. package/esm2022/field/field.component.mjs +27 -27
  11. package/esm2022/input-avatar/input-avatar.component.mjs +3 -3
  12. package/esm2022/input-boolean/input-boolean.component.mjs +3 -3
  13. package/esm2022/input-date-time-interval/builder/default-intervals.builder.mjs +1 -1
  14. package/esm2022/input-date-time-interval/builder/time-interval-value.builder.mjs +1 -1
  15. package/esm2022/input-date-time-interval/builder/time-intervals.builder.mjs +1 -1
  16. package/esm2022/input-date-time-interval/default-interval/current-month-interval.mjs +1 -1
  17. package/esm2022/input-date-time-interval/default-interval/last-five-minutes-interval.mjs +1 -1
  18. package/esm2022/input-date-time-interval/default-interval/last-hour-interval.mjs +1 -1
  19. package/esm2022/input-date-time-interval/default-interval/last-minute-interval.mjs +1 -1
  20. package/esm2022/input-date-time-interval/default-interval/last-month-interval.mjs +1 -1
  21. package/esm2022/input-date-time-interval/default-interval/last-one-week-interval.mjs +1 -1
  22. package/esm2022/input-date-time-interval/default-interval/last-quarter-interval.mjs +1 -1
  23. package/esm2022/input-date-time-interval/default-interval/last-ten-minutes-interval.mjs +1 -1
  24. package/esm2022/input-date-time-interval/default-interval/last-thirty-minutes-interval.mjs +1 -1
  25. package/esm2022/input-date-time-interval/default-interval/last-three-hours-interval.mjs +1 -1
  26. package/esm2022/input-date-time-interval/default-interval/last-twenty-four-hours-interval.mjs +1 -1
  27. package/esm2022/input-date-time-interval/default-interval/last-two-hours-interval.mjs +1 -1
  28. package/esm2022/input-date-time-interval/default-interval/last-year-interval.mjs +1 -1
  29. package/esm2022/input-date-time-interval/default-interval/this-quarter-interval.mjs +1 -1
  30. package/esm2022/input-date-time-interval/default-interval/this-week-interval.mjs +1 -1
  31. package/esm2022/input-date-time-interval/default-interval/this-year-interval.mjs +1 -1
  32. package/esm2022/input-date-time-interval/default-interval/time-interval.mjs +1 -1
  33. package/esm2022/input-date-time-interval/default-interval/today-interval.mjs +1 -1
  34. package/esm2022/input-date-time-interval/default-interval/yesterday-interval.mjs +1 -1
  35. package/esm2022/input-date-time-interval/input-date-time-interval.component.mjs +3 -3
  36. package/esm2022/input-date-time-interval/model/date-time-internal.model.mjs +1 -1
  37. package/esm2022/input-date-time-interval/public-api.mjs +1 -1
  38. package/esm2022/input-file/input-file.component.mjs +3 -3
  39. package/esm2022/input-image/input-image.component.mjs +3 -3
  40. package/esm2022/input-key-value/key-value-input.component.mjs +3 -3
  41. package/esm2022/input-number/input-number.component.mjs +3 -3
  42. package/esm2022/input-text/input-text.component.mjs +3 -3
  43. package/esm2022/inputs.module.mjs +10 -5
  44. package/esm2022/public-api.mjs +2 -1
  45. package/esm2022/select-box/mat-select-infinite-scroll.directive.mjs +1 -1
  46. package/esm2022/select-box/select-box.component.mjs +3 -3
  47. package/esm2022/select-enum/select-enum.component.mjs +3 -3
  48. package/esm2022/select-interpolation/select-interpolation.component.mjs +3 -3
  49. package/esm2022/value-acessor-base.mjs +1 -1
  50. package/fesm2022/apipass-inputs.mjs +211 -55
  51. package/fesm2022/apipass-inputs.mjs.map +1 -1
  52. package/inputs.module.d.ts +22 -21
  53. package/package.json +3 -2
  54. package/public-api.d.ts +1 -0
package/README.md CHANGED
@@ -1,33 +1,33 @@
1
- # @apipass/inputs
2
-
3
- This package is a angular component for buttons
4
-
5
- ## Installation
6
-
7
-
8
- ```bash
9
- npm install @apipass/inputs
10
- ```
11
-
12
- ## Usage
13
-
14
- ```typescript
15
- [...]
16
- import {InputsModule} from "@apipass/inputs";
17
-
18
- @NgModule({
19
- imports: [
20
- [...]
21
- InputsModule
22
- ],
23
- [...]
24
- ```
25
-
26
-
27
- ...
28
- ```html
29
-
30
- ```
31
-
32
- ## License
33
- [MIT](https://choosealicense.com/licenses/mit/)
1
+ # @apipass/inputs
2
+
3
+ This package is a angular component for buttons
4
+
5
+ ## Installation
6
+
7
+
8
+ ```bash
9
+ npm install @apipass/inputs
10
+ ```
11
+
12
+ ## Usage
13
+
14
+ ```typescript
15
+ [...]
16
+ import {InputsModule} from "@apipass/inputs";
17
+
18
+ @NgModule({
19
+ imports: [
20
+ [...]
21
+ InputsModule
22
+ ],
23
+ [...]
24
+ ```
25
+
26
+
27
+ ...
28
+ ```html
29
+
30
+ ```
31
+
32
+ ## License
33
+ [MIT](https://choosealicense.com/licenses/mit/)
@@ -0,0 +1,45 @@
1
+ import { AfterContentInit } from '@angular/core';
2
+ import { DndDropEvent } from 'ngx-drag-drop';
3
+ import { AceEditorComponent } from '../ace-editor/component';
4
+ import { ValueAccessorBase } from '../value-acessor-base';
5
+ import * as i0 from "@angular/core";
6
+ export declare class AceEditorInputComponent extends ValueAccessorBase<string> implements AfterContentInit {
7
+ editor: AceEditorComponent;
8
+ title: string | undefined;
9
+ description: string | undefined;
10
+ previousStepsOutputAttributes: Record<string, {
11
+ type: string;
12
+ attributes: Record<string, any>;
13
+ }>;
14
+ mode: 'json' | 'html' | 'sql' | 'xml' | 'text';
15
+ ngAfterContentInit(): void;
16
+ private createAceEditorCustomCompletions;
17
+ beautify(): void;
18
+ setEditorCustomCompletions(editor: any, includeBrackets: boolean): void;
19
+ protected getOutputAttributesCodeCompletions(props: {
20
+ prefixIdentifier: string;
21
+ outputAttributes: Record<string, {
22
+ type: string;
23
+ attributes: Record<string, any>;
24
+ }>;
25
+ includeArrayMethods?: boolean;
26
+ includeBrackets?: boolean;
27
+ }): Array<{
28
+ caption: string;
29
+ value: string;
30
+ meta: string;
31
+ score: number;
32
+ }>;
33
+ private createCompletion;
34
+ parseItem(props: {
35
+ currentPath: string;
36
+ attributes: any;
37
+ includeArrayMethods?: boolean;
38
+ includeBrackets?: boolean;
39
+ }): string[];
40
+ private parseArrayItem;
41
+ private getArrayMethodsCodeCompletions;
42
+ onDropOnEditor(editor: AceEditorComponent, $event: DndDropEvent, addBrackets?: boolean): void;
43
+ static ɵfac: i0.ɵɵFactoryDeclaration<AceEditorInputComponent, never>;
44
+ static ɵcmp: i0.ɵɵComponentDeclaration<AceEditorInputComponent, "ace-editor-input", never, { "title": { "alias": "title"; "required": false; }; "description": { "alias": "description"; "required": false; }; "previousStepsOutputAttributes": { "alias": "previousStepsOutputAttributes"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; }, {}, never, never, false, never>;
45
+ }