@foxeltech/angular-ui 0.0.2 → 0.0.4

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/index.d.ts CHANGED
@@ -196,10 +196,10 @@ declare class BaseDialogComponent<T = any> extends BaseComponent implements Afte
196
196
  constructor(ref: MatDialogRef<any>, bindings: any, toastr: FxToastrService, api: HttpWrapper, dialog: MatDialog);
197
197
  ngAfterViewInit(): void;
198
198
  ngOnInit(): void;
199
- accept(form: NgForm, params?: null): void;
200
- create(params?: any): void;
201
- update(params?: any): void;
202
- updateInfo(params?: any): void;
199
+ accept(form: NgForm, params?: null): Promise<void>;
200
+ create(params?: any): Promise<void>;
201
+ update(params?: any): Promise<void>;
202
+ updateInfo(params?: any): Promise<void>;
203
203
  cancel(): void;
204
204
  validate(): boolean;
205
205
  static ɵfac: i0.ɵɵFactoryDeclaration<BaseDialogComponent<any>, never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@foxeltech/angular-ui",
3
- "version": "0.0.2",
3
+ "version": "0.0.4",
4
4
  "license": "MIT",
5
5
  "main": "bundles/ui.umd.js",
6
6
  "module": "fesm2022/foxeltech-angular-ui.mjs",
@@ -12,7 +12,13 @@
12
12
  class="relative z-10 flex flex-col items-center gap-4 p-6 rounded-2xl shadow-xl bg-bg-primary/70 border border-border-strong backdrop-bg-primary/70"
13
13
  style="min-width: 220px; max-width: 90%"
14
14
  >
15
- <svg fill="rgb(var(--primary))" width="50" height="50" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
15
+ <svg fill="url(#spinner-gradient)" width="50" height="50" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
16
+ <defs>
17
+ <linearGradient id="spinner-gradient" x1="0%" y1="0%" x2="100%" y2="0%">
18
+ <stop offset="0%" style="stop-color: rgb(var(--gradient-primary-start)); stop-opacity: 1" />
19
+ <stop offset="100%" style="stop-color: rgb(var(--gradient-primary-end)); stop-opacity: 1" />
20
+ </linearGradient>
21
+ </defs>
16
22
  <circle cx="4" cy="12" r="0">
17
23
  <animate begin="0;spinner_z0Or.end" attributeName="r" calcMode="spline" dur="0.5s" keySplines=".36,.6,.31,1" values="0;3" fill="freeze"/>
18
24
  <animate begin="spinner_OLMs.end" attributeName="cx" calcMode="spline" dur="0.5s" keySplines=".36,.6,.31,1" values="4;12" fill="freeze"/>