@sapphire-ion/framework 0.30.17 → 1.0.1
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/classes/inputs/table-field.mjs +8 -2
- package/esm2022/lib/components/default/default-list/list.mjs +1 -1
- package/esm2022/lib/components/default/default-table/default-table.component.mjs +18 -6
- package/esm2022/lib/components/default/default-table/th-filter/th-filter.component.mjs +12 -11
- package/esm2022/lib/components/default/default-view/default-view.component.mjs +10 -10
- package/esm2022/lib/components/default/default.module.mjs +12 -4
- package/esm2022/lib/components/filter/filter.component.mjs +2 -2
- package/esm2022/lib/components/inputs/custom-input.mjs +57 -49
- package/esm2022/lib/components/inputs/input-bool/input-bool.component.mjs +31 -34
- package/esm2022/lib/components/inputs/input-bool/input-bool.configuration.mjs +4 -4
- package/esm2022/lib/components/inputs/input-cpf-cnpj/input-cpf-cnpj.component.mjs +33 -46
- package/esm2022/lib/components/inputs/input-cpf-cnpj/input-cpf-cnpj.configuration.mjs +2 -2
- package/esm2022/lib/components/inputs/input-date/input-date.component.mjs +86 -97
- package/esm2022/lib/components/inputs/input-decimal/input-decimal.component.mjs +158 -190
- package/esm2022/lib/components/inputs/input-decimal/input-decimal.configuration.mjs +6 -1
- package/esm2022/lib/components/inputs/input-file/download-button/download-button.component.mjs +12 -10
- package/esm2022/lib/components/inputs/input-file/input-file.component.mjs +60 -98
- package/esm2022/lib/components/inputs/input-file/input-file.configuration.mjs +18 -5
- package/esm2022/lib/components/inputs/input-provider-factory.mjs +4 -7
- package/esm2022/lib/components/inputs/input-select/directives/sion-label-template.directive.mjs +16 -0
- package/esm2022/lib/components/inputs/input-select/directives/sion-option-template.directive.mjs +18 -0
- package/esm2022/lib/components/inputs/input-select/directives/sion-placeholder-template.directive.mjs +16 -0
- package/esm2022/lib/components/inputs/input-select/input-select.component.mjs +233 -264
- package/esm2022/lib/components/inputs/input-select/input.select.configuration.mjs +45 -29
- package/esm2022/lib/components/inputs/input-string/input-string.component.mjs +27 -42
- package/esm2022/lib/components/inputs/input-string/input-string.configuration.mjs +1 -1
- package/esm2022/lib/components/inputs/input-textarea/input-textarea.component.mjs +26 -38
- package/esm2022/lib/components/inputs/input-textarea/input-textarea.configuration.mjs +7 -0
- package/esm2022/lib/components/inputs/inputs.module.mjs +72 -81
- package/esm2022/lib/components/login/login-admin/login-admin.component.mjs +1 -1
- package/esm2022/lib/components/popover/sion-popover/sion-popover.component.mjs +132 -0
- package/esm2022/lib/components/popover/sion-popover.module.mjs +23 -0
- package/esm2022/lib/components/popover/sion-popover.service.mjs +33 -0
- package/esm2022/lib/components/stepper/step/step.component.mjs +3 -3
- package/esm2022/lib/components/stepper/stepper.component.mjs +13 -13
- package/esm2022/lib/guards/error.interceptor.mjs +2 -2
- package/esm2022/lib/index.mjs +10 -6
- package/esm2022/lib/services/utils.service.mjs +3 -3
- package/esm2022/lib/services/web/api-url-provider.service.mjs +2 -2
- package/esm2022/lib/services/web/http.ativo.service.mjs +2 -2
- package/fesm2022/sapphire-ion-framework.mjs +1200 -1737
- package/fesm2022/sapphire-ion-framework.mjs.map +1 -1
- package/lib/classes/inputs/table-field.d.ts +1 -0
- package/lib/components/default/default.module.d.ts +3 -1
- package/lib/components/inputs/custom-input.d.ts +26 -22
- package/lib/components/inputs/input-bool/input-bool.component.d.ts +13 -16
- package/lib/components/inputs/input-bool/input-bool.configuration.d.ts +2 -2
- package/lib/components/inputs/input-cpf-cnpj/input-cpf-cnpj.component.d.ts +13 -18
- package/lib/components/inputs/input-cpf-cnpj/input-cpf-cnpj.configuration.d.ts +1 -1
- package/lib/components/inputs/input-date/input-date.component.d.ts +21 -24
- package/lib/components/inputs/input-decimal/input-decimal.component.d.ts +21 -36
- package/lib/components/inputs/input-decimal/input-decimal.configuration.d.ts +3 -0
- package/lib/components/inputs/input-file/download-button/download-button.component.d.ts +2 -1
- package/lib/components/inputs/input-file/input-file.component.d.ts +20 -32
- package/lib/components/inputs/input-file/input-file.configuration.d.ts +2 -5
- package/lib/components/inputs/input-provider-factory.d.ts +1 -1
- package/lib/components/inputs/input-select/directives/sion-label-template.directive.d.ts +12 -0
- package/lib/components/inputs/input-select/directives/sion-option-template.directive.d.ts +11 -0
- package/lib/components/inputs/input-select/directives/sion-placeholder-template.directive.d.ts +12 -0
- package/lib/components/inputs/input-select/input-select.component.d.ts +60 -58
- package/lib/components/inputs/input-select/input.select.configuration.d.ts +11 -9
- package/lib/components/inputs/input-string/input-string.component.d.ts +11 -16
- package/lib/components/inputs/input-textarea/input-textarea.component.d.ts +11 -15
- package/lib/components/inputs/input-textarea/input-textarea.configuration.d.ts +4 -0
- package/lib/components/inputs/inputs.module.d.ts +18 -21
- package/lib/components/popover/sion-popover/sion-popover.component.d.ts +30 -0
- package/lib/components/popover/sion-popover.module.d.ts +8 -0
- package/lib/components/popover/sion-popover.service.d.ts +12 -0
- package/lib/components/stepper/step/step.component.d.ts +1 -1
- package/lib/components/stepper/stepper.component.d.ts +3 -6
- package/lib/index.d.ts +5 -4
- package/lib/services/utils.service.d.ts +1 -1
- package/package.json +2 -1
- package/themes/compiled-styles.scss +157 -4
- package/themes/components/default/default-table/default-table.component.scss +0 -13
- package/themes/components/default/default-table/th-filter/th-filter.component.scss +0 -3
- package/themes/components/inputs/input-bool/input-bool.component.scss +2 -13
- package/themes/components/inputs/input-date/input-date.component.scss +33 -34
- package/themes/components/inputs/input-decimal/input-decimal.component.scss +8 -42
- package/themes/components/inputs/input-file/input-file.component.scss +16 -2
- package/themes/components/inputs/input-select/input-select.component.scss +47 -24
- package/themes/components/inputs/input-textarea/input-textarea.component.scss +7 -0
- package/themes/components/inputs/inputs.scss +103 -49
- package/themes/components/inputs_old/inputs.scss +67 -0
- package/themes/components/popover/sion-popover/sion-popover.component.scss +48 -0
- package/themes/styles/components.scss +34 -0
- package/themes/styles/ionic/ion-datetime.scss +3 -2
- package/esm2022/lib/components/inputs/custom-signal-input.mjs +0 -74
- package/esm2022/lib/components/inputs/input-color/input-color.component.mjs +0 -487
- package/esm2022/lib/components/inputs/input-loading/input-loading.component.mjs +0 -16
- package/esm2022/lib/components/inputs/input-select/ISelect.mjs +0 -11
- package/esm2022/lib/components/inputs/input-select/input-select-internal-option/input-select-internal-option.component.mjs +0 -42
- package/esm2022/lib/components/inputs/input-select/input-select-option/input-select-option.component.mjs +0 -46
- package/esm2022/lib/components/inputs/input-select/input-select-template.directive.mjs +0 -16
- package/lib/components/inputs/custom-signal-input.d.ts +0 -38
- package/lib/components/inputs/input-color/input-color.component.d.ts +0 -80
- package/lib/components/inputs/input-loading/input-loading.component.d.ts +0 -7
- package/lib/components/inputs/input-select/ISelect.d.ts +0 -21
- package/lib/components/inputs/input-select/input-select-internal-option/input-select-internal-option.component.d.ts +0 -18
- package/lib/components/inputs/input-select/input-select-option/input-select-option.component.d.ts +0 -24
- package/lib/components/inputs/input-select/input-select-template.directive.d.ts +0 -8
- package/themes/components/inputs/input-loading/input-loading.component.scss +0 -0
- package/themes/components/inputs/input-select/input-select-internal-option/input-select-internal-option.component.scss +0 -0
- package/themes/components/inputs/input-select/input-select-option/input-select-option.component.scss +0 -0
- /package/themes/components/{inputs → inputs_old}/input-color/input-color.component.scss +0 -0
|
@@ -2,8 +2,9 @@ import { Observable } from "rxjs";
|
|
|
2
2
|
import { HttpService, ViewRetorno } from "../../../services/web/http.service";
|
|
3
3
|
import { HttpServiceAtivo } from "../../../services/web/http.ativo.service";
|
|
4
4
|
import { ViewFiltros } from "../../../classes/filters/view-filtros";
|
|
5
|
-
import { ISelect } from "./ISelect";
|
|
6
5
|
import { Comparison } from "../../../classes/comparison/comparison";
|
|
6
|
+
import { NewInputSelectComponent } from "./input-select.component";
|
|
7
|
+
import { Placement } from "@floating-ui/dom";
|
|
7
8
|
export type DefaultModelOptions = {
|
|
8
9
|
value: string;
|
|
9
10
|
label: string;
|
|
@@ -19,11 +20,10 @@ export declare class InputSelectConfiguration {
|
|
|
19
20
|
searcheable: boolean;
|
|
20
21
|
/**
|
|
21
22
|
* Se LoadFrom instanceof HttpService -> Os dados serão carregados do List()
|
|
22
|
-
* Se LoadFrom instanceof HttpServiceAtivo -> Os dados serão carregados do ListAtivo()
|
|
23
23
|
* Se LoadFrom instanceof Observable -> Os dados serão carregados da função indicada
|
|
24
24
|
* Se LoadFrom instanceof Array -> Os dados serão o array
|
|
25
25
|
*/
|
|
26
|
-
loadFrom?: HttpService |
|
|
26
|
+
loadFrom?: HttpService | Observable<ViewRetorno> | any[];
|
|
27
27
|
/** Se = true Os valores no form control seráo um array dos items selecionados */
|
|
28
28
|
multiple: boolean;
|
|
29
29
|
/** Desativa os items que estão de acordo com a função */
|
|
@@ -34,6 +34,10 @@ export declare class InputSelectConfiguration {
|
|
|
34
34
|
loadFromArray: any[];
|
|
35
35
|
loadFromService: HttpService | HttpServiceAtivo;
|
|
36
36
|
loadFromFunction: Observable<any>;
|
|
37
|
+
popoverConfiguration: {
|
|
38
|
+
flip: boolean;
|
|
39
|
+
placement: Placement;
|
|
40
|
+
};
|
|
37
41
|
vFiltros: ViewFiltros | null;
|
|
38
42
|
constructor(
|
|
39
43
|
/** Valor que será setado no formControl */
|
|
@@ -46,11 +50,10 @@ export declare class InputSelectConfiguration {
|
|
|
46
50
|
searcheable?: boolean,
|
|
47
51
|
/**
|
|
48
52
|
* Se LoadFrom instanceof HttpService -> Os dados serão carregados do List()
|
|
49
|
-
* Se LoadFrom instanceof HttpServiceAtivo -> Os dados serão carregados do ListAtivo()
|
|
50
53
|
* Se LoadFrom instanceof Observable -> Os dados serão carregados da função indicada
|
|
51
54
|
* Se LoadFrom instanceof Array -> Os dados serão o array
|
|
52
55
|
*/
|
|
53
|
-
loadFrom?: HttpService |
|
|
56
|
+
loadFrom?: HttpService | Observable<ViewRetorno> | any[],
|
|
54
57
|
/** Se = true Os valores no form control seráo um array dos items selecionados */
|
|
55
58
|
multiple?: boolean,
|
|
56
59
|
/** Aplica os filtros na pesquisa */
|
|
@@ -68,18 +71,17 @@ export declare class InputSelectConfiguration {
|
|
|
68
71
|
disableConditional?: ((obj: any) => boolean) | null);
|
|
69
72
|
}
|
|
70
73
|
export declare class InputSelectDataLoader {
|
|
71
|
-
lstComponents
|
|
72
|
-
configuration
|
|
74
|
+
private lstComponents;
|
|
75
|
+
private configuration;
|
|
73
76
|
/** Valor que será setado no formControl */
|
|
74
77
|
bindValue: ((obj: any) => any) | null;
|
|
75
78
|
/** Valor que será exibido */
|
|
76
79
|
bindLabel: ((obj: any) => string) | null;
|
|
77
80
|
constructor(configuration: InputSelectConfiguration);
|
|
81
|
+
AddComponent(component: NewInputSelectComponent): void;
|
|
78
82
|
GetLabel(value: any): string;
|
|
79
|
-
AddComponent(component: ISelect): void;
|
|
80
83
|
private _isLoaded;
|
|
81
84
|
Refresh(items?: any[]): Promise<void>;
|
|
82
|
-
private SetLstComponentsThisItens;
|
|
83
85
|
items: any[];
|
|
84
86
|
Load(): Promise<void>;
|
|
85
87
|
}
|
|
@@ -1,19 +1,14 @@
|
|
|
1
|
-
import { ElementRef,
|
|
2
|
-
import { ControlContainer } from '@angular/forms';
|
|
3
|
-
import { InputStringConfiguration } from './input-string.configuration';
|
|
1
|
+
import { ElementRef, InputSignal } from '@angular/core';
|
|
4
2
|
import { CustomInput } from '../custom-input';
|
|
3
|
+
import { InputStringConfiguration } from './input-string.configuration';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
constructor(
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
set model(value: string);
|
|
16
|
-
setModel(value: any): void;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InputStringComponent, [{ optional: true; host: true; skipSelf: true; }, null]>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InputStringComponent, "input-string", never, { "configuration": { "alias": "configuration"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, {}, never, never, false, never>;
|
|
5
|
+
export declare class NewInputStringComponent extends CustomInput<string> {
|
|
6
|
+
configuration: InputSignal<InputStringConfiguration>;
|
|
7
|
+
input: ElementRef<HTMLInputElement>;
|
|
8
|
+
inputContainer: ElementRef<HTMLDivElement>;
|
|
9
|
+
focus(event: MouseEvent): void;
|
|
10
|
+
constructor();
|
|
11
|
+
writeValue(obj: string): void | Promise<void>;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NewInputStringComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NewInputStringComponent, "input-string", never, { "configuration": { "alias": "configuration"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
19
14
|
}
|
|
@@ -1,18 +1,14 @@
|
|
|
1
|
-
import { ElementRef,
|
|
2
|
-
import {
|
|
3
|
-
import { InputStringConfiguration } from '../input-string/input-string.configuration';
|
|
1
|
+
import { ElementRef, InputSignal } from '@angular/core';
|
|
2
|
+
import { InputTextAreaConfiguration } from './input-textarea.configuration';
|
|
4
3
|
import { CustomInput } from '../custom-input';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
writeValue(
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
setModel(value: any): void;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InputTextareaComponent, [{ optional: true; host: true; skipSelf: true; }, null]>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InputTextareaComponent, "input-textarea", never, { "configuration": { "alias": "configuration"; "required": false; }; }, {}, never, never, false, never>;
|
|
5
|
+
export declare class NewInputTextareaComponent extends CustomInput<string> {
|
|
6
|
+
configuration: InputSignal<InputTextAreaConfiguration>;
|
|
7
|
+
input: ElementRef<HTMLTextAreaElement>;
|
|
8
|
+
inputContainer: ElementRef<HTMLDivElement>;
|
|
9
|
+
focus(event: MouseEvent): void;
|
|
10
|
+
constructor();
|
|
11
|
+
writeValue(obj: string): void | Promise<void>;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NewInputTextareaComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NewInputTextareaComponent, "input-textarea", never, { "configuration": { "alias": "configuration"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
18
14
|
}
|
|
@@ -1,29 +1,26 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./input-bool/input-bool.component";
|
|
3
|
-
import * as i2 from "./input-
|
|
4
|
-
import * as i3 from "./input-
|
|
5
|
-
import * as i4 from "./input-
|
|
6
|
-
import * as i5 from "./input-file/
|
|
3
|
+
import * as i2 from "./input-cpf-cnpj/input-cpf-cnpj.component";
|
|
4
|
+
import * as i3 from "./input-date/input-date.component";
|
|
5
|
+
import * as i4 from "./input-decimal/input-decimal.component";
|
|
6
|
+
import * as i5 from "./input-file/input-file.component";
|
|
7
7
|
import * as i6 from "./input-select/input-select.component";
|
|
8
|
-
import * as i7 from "./input-select/
|
|
9
|
-
import * as i8 from "./input-select/
|
|
10
|
-
import * as i9 from "./input-
|
|
11
|
-
import * as i10 from "./input-
|
|
12
|
-
import * as i11 from "./input-
|
|
13
|
-
import * as i12 from "./input-
|
|
14
|
-
import * as i13 from "
|
|
15
|
-
import * as i14 from "
|
|
16
|
-
import * as i15 from "@angular/
|
|
17
|
-
import * as i16 from "
|
|
18
|
-
import * as i17 from "@angular
|
|
19
|
-
import * as i18 from "
|
|
8
|
+
import * as i7 from "./input-select/directives/sion-label-template.directive";
|
|
9
|
+
import * as i8 from "./input-select/directives/sion-option-template.directive";
|
|
10
|
+
import * as i9 from "./input-select/directives/sion-placeholder-template.directive";
|
|
11
|
+
import * as i10 from "./input-string/input-string.component";
|
|
12
|
+
import * as i11 from "./input-textarea/input-textarea.component";
|
|
13
|
+
import * as i12 from "./input-file/download-button/download-button.component";
|
|
14
|
+
import * as i13 from "@ionic/angular";
|
|
15
|
+
import * as i14 from "@angular/common";
|
|
16
|
+
import * as i15 from "@angular/forms";
|
|
17
|
+
import * as i16 from "../image/image.component";
|
|
18
|
+
import * as i17 from "@maskito/angular";
|
|
19
|
+
import * as i18 from "../popover/sion-popover.module";
|
|
20
20
|
import * as i19 from "../loading/loading.component";
|
|
21
|
-
import * as i20 from "
|
|
22
|
-
import * as i21 from "@angular/cdk/scrolling";
|
|
23
|
-
import * as i22 from "../text-tooltip/text-tooltip.component";
|
|
24
|
-
import * as i23 from "../image/image.component";
|
|
21
|
+
import * as i20 from "../../directives/ng-var.directive";
|
|
25
22
|
export declare class InputsModule {
|
|
26
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputsModule, never>;
|
|
27
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<InputsModule, [typeof i1.
|
|
24
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<InputsModule, [typeof i1.NewInputBoolComponent, typeof i2.NewInputCpfCnpjComponent, typeof i3.NewInputDateComponent, typeof i4.NewInputDecimalComponent, typeof i5.NewInputFileComponent, typeof i6.NewInputSelectComponent, typeof i7.SIonLabelTemplateDirective, typeof i8.SIonOptionTemplateDirective, typeof i9.SIonPlaceholderTemplateDirective, typeof i10.NewInputStringComponent, typeof i11.NewInputTextareaComponent, typeof i12.DownloadButtonComponent], [typeof i13.IonicModule, typeof i14.CommonModule, typeof i15.ReactiveFormsModule, typeof i15.FormsModule, typeof i16.ImageComponent, typeof i17.MaskitoDirective, typeof i18.SIonPopoverModule, typeof i19.LoadingComponent, typeof i20.NgVarDirective], [typeof i1.NewInputBoolComponent, typeof i2.NewInputCpfCnpjComponent, typeof i3.NewInputDateComponent, typeof i4.NewInputDecimalComponent, typeof i5.NewInputFileComponent, typeof i6.NewInputSelectComponent, typeof i7.SIonLabelTemplateDirective, typeof i8.SIonOptionTemplateDirective, typeof i9.SIonPlaceholderTemplateDirective, typeof i10.NewInputStringComponent, typeof i11.NewInputTextareaComponent, typeof i12.DownloadButtonComponent]>;
|
|
28
25
|
static ɵinj: i0.ɵɵInjectorDeclaration<InputsModule>;
|
|
29
26
|
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter } from '@angular/core';
|
|
2
|
+
import { Placement } from '@floating-ui/dom';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
type Fill = 'solid' | 'outline' | 'blur' | 'clear';
|
|
5
|
+
export declare class SIonPopoverComponent {
|
|
6
|
+
private elementRef;
|
|
7
|
+
fill: Fill;
|
|
8
|
+
arrow: boolean;
|
|
9
|
+
flip: boolean;
|
|
10
|
+
placement: Placement;
|
|
11
|
+
height: string;
|
|
12
|
+
width: string;
|
|
13
|
+
onWillPresent: EventEmitter<void>;
|
|
14
|
+
onDidPresent: EventEmitter<void>;
|
|
15
|
+
onWillDismiss: EventEmitter<void>;
|
|
16
|
+
onDidDismiss: EventEmitter<void>;
|
|
17
|
+
anchor: HTMLElement | undefined;
|
|
18
|
+
constructor(elementRef: ElementRef);
|
|
19
|
+
wrapperElement: ElementRef<HTMLDivElement>;
|
|
20
|
+
arrowElement: ElementRef<HTMLElement>;
|
|
21
|
+
visible: boolean;
|
|
22
|
+
visibleChange: EventEmitter<boolean>;
|
|
23
|
+
clearPopperInstance: () => void | undefined;
|
|
24
|
+
present(event?: Event): Promise<void>;
|
|
25
|
+
HandleClicks(event: MouseEvent): void;
|
|
26
|
+
dismiss(): Promise<void>;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SIonPopoverComponent, never>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SIonPopoverComponent, "sion-popover", never, { "fill": { "alias": "fill"; "required": false; }; "arrow": { "alias": "arrow"; "required": false; }; "flip": { "alias": "flip"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "height": { "alias": "height"; "required": false; }; "width": { "alias": "width"; "required": false; }; "anchor": { "alias": "anchor"; "required": false; }; }, { "onWillPresent": "onWillPresent"; "onDidPresent": "onDidPresent"; "onWillDismiss": "onWillDismiss"; "onDidDismiss": "onDidDismiss"; "visibleChange": "visibleChange"; }, never, ["*"], false, never>;
|
|
29
|
+
}
|
|
30
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./sion-popover/sion-popover.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
export declare class SIonPopoverModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SIonPopoverModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SIonPopoverModule, [typeof i1.SIonPopoverComponent], [typeof i2.CommonModule], [typeof i1.SIonPopoverComponent]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SIonPopoverModule>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { SIonPopoverComponent } from './sion-popover/sion-popover.component';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SionPopoverService {
|
|
4
|
+
lstPopovers: SIonPopoverComponent[];
|
|
5
|
+
constructor();
|
|
6
|
+
Register(popoverComponent: SIonPopoverComponent): void;
|
|
7
|
+
Unregister(popoverComponent: SIonPopoverComponent): void;
|
|
8
|
+
HandlePresent(popoverComponent: SIonPopoverComponent): void;
|
|
9
|
+
HandleDismiss(popoverComponent: SIonPopoverComponent): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SionPopoverService, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SionPopoverService>;
|
|
12
|
+
}
|
|
@@ -9,7 +9,7 @@ export declare class StepComponent implements OnInit {
|
|
|
9
9
|
get index(): number;
|
|
10
10
|
get fill(): boolean;
|
|
11
11
|
get selected(): boolean;
|
|
12
|
-
get _fill():
|
|
12
|
+
get _fill(): 1 | 0;
|
|
13
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<StepComponent, never>;
|
|
14
14
|
static ɵcmp: i0.ɵɵComponentDeclaration<StepComponent, "step", never, { "label": { "alias": "label"; "required": false; }; }, {}, never, ["ion-icon, ion-text"], false, never>;
|
|
15
15
|
}
|
|
@@ -3,15 +3,12 @@ import { StepComponent } from './step/step.component';
|
|
|
3
3
|
import { CustomInput } from '../inputs/custom-input';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class StepperComponent extends CustomInput<any> implements AfterContentInit {
|
|
6
|
+
focus(event: MouseEvent): void;
|
|
6
7
|
constructor();
|
|
7
8
|
ngAfterContentInit(): void;
|
|
8
|
-
ngOnInit(): Promise<void>;
|
|
9
9
|
lstSteps: QueryList<StepComponent>;
|
|
10
|
-
writeValue(
|
|
11
|
-
|
|
12
|
-
set model(value: any);
|
|
13
|
-
_model: number;
|
|
14
|
-
setModel(value: any): void;
|
|
10
|
+
writeValue(obj: string): void | Promise<void>;
|
|
11
|
+
SetValue(obj: any): void;
|
|
15
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<StepperComponent, never>;
|
|
16
13
|
static ɵcmp: i0.ɵɵComponentDeclaration<StepperComponent, "stepper", never, {}, {}, ["lstSteps"], ["*"], false, never>;
|
|
17
14
|
}
|
package/lib/index.d.ts
CHANGED
|
@@ -54,7 +54,6 @@ export * from '../lib/components/image/image.component';
|
|
|
54
54
|
export * from '../lib/components/info-popover/info-popover.component';
|
|
55
55
|
export * from '../lib/components/inputs/input-bool/input-bool.component';
|
|
56
56
|
export * from '../lib/components/inputs/input-bool/input-bool.configuration';
|
|
57
|
-
export * from '../lib/components/inputs/input-color/input-color.component';
|
|
58
57
|
export * from '../lib/components/inputs/input-cpf-cnpj/input-cpf-cnpj.component';
|
|
59
58
|
export * from '../lib/components/inputs/input-cpf-cnpj/input-cpf-cnpj.configuration';
|
|
60
59
|
export * from '../lib/components/inputs/input-date/input-date.component';
|
|
@@ -64,9 +63,9 @@ export * from '../lib/components/inputs/input-decimal/input-decimal.configuratio
|
|
|
64
63
|
export * from '../lib/components/inputs/input-file/download-button/download-button.component';
|
|
65
64
|
export * from '../lib/components/inputs/input-file/input-file.component';
|
|
66
65
|
export * from '../lib/components/inputs/input-file/input-file.configuration';
|
|
67
|
-
export * from '../lib/components/inputs/input-
|
|
68
|
-
export * from '../lib/components/inputs/input-select/
|
|
69
|
-
export * from '../lib/components/inputs/input-select/
|
|
66
|
+
export * from '../lib/components/inputs/input-select/directives/sion-label-template.directive';
|
|
67
|
+
export * from '../lib/components/inputs/input-select/directives/sion-option-template.directive';
|
|
68
|
+
export * from '../lib/components/inputs/input-select/directives/sion-placeholder-template.directive';
|
|
70
69
|
export * from '../lib/components/inputs/input-select/input-select.component';
|
|
71
70
|
export * from '../lib/components/inputs/input-select/input.select.configuration';
|
|
72
71
|
export * from '../lib/components/inputs/input-string/input-string.component';
|
|
@@ -82,6 +81,8 @@ export * from '../lib/components/loading/loading.component';
|
|
|
82
81
|
export * from '../lib/components/login/login-admin/login-admin.component';
|
|
83
82
|
export * from '../lib/components/login/login.component';
|
|
84
83
|
export * from '../lib/components/main-content/main-content.component';
|
|
84
|
+
export * from '../lib/components/popover/sion-popover/sion-popover.component';
|
|
85
|
+
export * from '../lib/components/popover/sion-popover.module';
|
|
85
86
|
export * from '../lib/components/stepper/step/step.component';
|
|
86
87
|
export * from '../lib/components/stepper/stepper.component';
|
|
87
88
|
export * from '../lib/components/stepper/stepper.module';
|
|
@@ -5,7 +5,7 @@ export declare class UtilsService {
|
|
|
5
5
|
private actionSheetController;
|
|
6
6
|
constructor(actionSheetController: ActionSheetController);
|
|
7
7
|
/** Retorna um array de arquivos de acordo com o tipo de configutação */
|
|
8
|
-
SelectFile(configuration: InputFileConfiguration): Promise<File
|
|
8
|
+
SelectFile(configuration: InputFileConfiguration): Promise<File>;
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<UtilsService, never>;
|
|
10
10
|
static ɵprov: i0.ɵɵInjectableDeclaration<UtilsService>;
|
|
11
11
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sapphire-ion/framework",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": "^18.2.8",
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
"@capacitor/preferences": "^7.0.0",
|
|
17
17
|
"@capacitor/clipboard": "^7.0.0",
|
|
18
18
|
"@capacitor/camera": "^7.0.0",
|
|
19
|
+
"@floating-ui/dom": "^1.6.13",
|
|
19
20
|
"@types/node": "^20.11.2",
|
|
20
21
|
"ts-node": "^8.3.0",
|
|
21
22
|
"moment": "^2.30.1",
|