@sapphire-ion/framework 1.0.46 → 1.2.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.
@@ -17,16 +17,16 @@ export declare class DefaultPage implements OnInit {
17
17
  title: string;
18
18
  loading: boolean;
19
19
  lstMenu: Menu[];
20
- configuration: DefaultPageConfiguration | null;
20
+ lstImage: DefaultPageImage[];
21
21
  ngOnInit(): Promise<void>;
22
22
  SetTitle(item: Menu): void;
23
23
  static ɵfac: i0.ɵɵFactoryDeclaration<DefaultPage, never>;
24
24
  static ɵcmp: i0.ɵɵComponentDeclaration<DefaultPage, "app-default", never, {}, {}, never, never, true, never>;
25
25
  }
26
26
  export declare class DefaultPageConfiguration {
27
- image: DefaultPageImage | null;
27
+ image: DefaultPageImage | DefaultPageImage[] | null;
28
28
  useTranslation: boolean;
29
- constructor(image?: DefaultPageImage | null, useTranslation?: boolean);
29
+ constructor(image?: DefaultPageImage | DefaultPageImage[] | null, useTranslation?: boolean);
30
30
  }
31
31
  export declare class DefaultPageImage {
32
32
  src: string | null;
@@ -1,4 +1,4 @@
1
- import { AfterViewInit, ElementRef, InputSignal, ModelSignal, Signal, TemplateRef, WritableSignal } from '@angular/core';
1
+ import { AfterViewInit, ChangeDetectorRef, ElementRef, InputSignal, ModelSignal, Signal, TemplateRef, WritableSignal } from '@angular/core';
2
2
  import { FormControl } from '@angular/forms';
3
3
  import { ActionSheetButton, AlertButton, AlertInput, InfiniteScrollCustomEvent, IonActionSheet, IonAlert, IonContent, IonModal } from '@ionic/angular';
4
4
  import { InputSelectConfiguration, SelectInterfaces } from './input.select.configuration';
@@ -9,6 +9,7 @@ import { OptionTemplateContext } from './directives/sion-option-template.directi
9
9
  import { LabelTemplateContext } from './directives/sion-label-template.directive';
10
10
  import * as i0 from "@angular/core";
11
11
  export declare class InputSelectComponent<T = any> extends CustomInput<T | T[]> implements AfterViewInit {
12
+ private cdr;
12
13
  SelectInterfaces: typeof SelectInterfaces;
13
14
  /** Items disponíveis no select */
14
15
  items: ModelSignal<any[]>;
@@ -19,6 +20,10 @@ export declare class InputSelectComponent<T = any> extends CustomInput<T | T[]>
19
20
  currentItems: any | ItemValue<any>[] | undefined;
20
21
  SetCurrentItemLabel(): void;
21
22
  lstOptionsItemValue: Signal<ItemValue<any>[]>;
23
+ windowSize: WritableSignal<number>;
24
+ onResize(event: any): void;
25
+ SetInterface(): void;
26
+ interface: WritableSignal<SelectInterfaces>;
22
27
  lstOptions: ItemValue<any>[];
23
28
  lstOptionsAlert: AlertInput[];
24
29
  lstButtonsAlert: AlertButton[];
@@ -33,7 +38,7 @@ export declare class InputSelectComponent<T = any> extends CustomInput<T | T[]>
33
38
  inputContainer: ElementRef<HTMLDivElement>;
34
39
  inputSelectLabel: ElementRef<HTMLDivElement>;
35
40
  setFocus(event: MouseEvent | null): void;
36
- constructor();
41
+ constructor(cdr: ChangeDetectorRef);
37
42
  ngOnInit(): Promise<void>;
38
43
  isServiceAtivo: Signal<boolean>;
39
44
  somenteAtivos: WritableSignal<boolean>;
@@ -58,6 +63,7 @@ export declare class InputSelectComponent<T = any> extends CustomInput<T | T[]>
58
63
  alert: IonAlert;
59
64
  actionSheet: IonActionSheet;
60
65
  floatingVisible: boolean;
66
+ renderInterface: boolean;
61
67
  ionContent: IonContent;
62
68
  Present(event: Event): Promise<void>;
63
69
  Dismiss(): Promise<void>;
@@ -21,7 +21,7 @@ export declare class SIonPopoverComponent implements AfterViewInit, OnDestroy {
21
21
  documentClickListener: (event: MouseEvent) => void;
22
22
  viewRef?: ViewRef;
23
23
  private _embeddedView?;
24
- private _instance?;
24
+ private get _instance();
25
25
  get arrowEl(): HTMLElement | undefined;
26
26
  private cleanupAutoUpdate?;
27
27
  state: POPOVER_STATE;
@@ -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(): 0 | 1;
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
  }
@@ -1,4 +1,4 @@
1
- import { HttpClient } from '@angular/common/http';
1
+ import { HttpClient, HttpEvent } from '@angular/common/http';
2
2
  import { Observable } from 'rxjs';
3
3
  import { ApiUrlProviderService } from './api-url-provider.service';
4
4
  import { GenericService } from '../generic.service';
@@ -13,7 +13,7 @@ export declare class StorageService {
13
13
  StartDownload(file: string, params?: any, post?: boolean): Download;
14
14
  private HandleDownload;
15
15
  static SanitizeFileName(v: any): string;
16
- GetFile(fileUrl: string, params?: any, post?: boolean): Observable<any>;
16
+ GetFile(fileUrl: string, params?: any, post?: boolean): Observable<HttpEvent<Blob>>;
17
17
  static ɵfac: i0.ɵɵFactoryDeclaration<StorageService, never>;
18
18
  static ɵprov: i0.ɵɵInjectableDeclaration<StorageService>;
19
19
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapphire-ion/framework",
3
- "version": "1.0.46",
3
+ "version": "1.2.1",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^18.2.8",
@@ -1964,6 +1964,10 @@ video {
1964
1964
  padding: 0.5rem !important;
1965
1965
  }
1966
1966
 
1967
+ .\!p-6 {
1968
+ padding: 1.5rem !important;
1969
+ }
1970
+
1967
1971
  .\!p-8 {
1968
1972
  padding: 2rem !important;
1969
1973
  }
@@ -83,4 +83,9 @@ input-string,
83
83
  input-textarea {
84
84
  @apply box-border;
85
85
  display: block;
86
+ }
87
+
88
+ sion-card{
89
+ @apply box-border;
90
+ display: block;
86
91
  }