@foxeltech/angular-ui 0.0.4 → 0.0.5

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
@@ -9,7 +9,7 @@ import { HttpClient, HttpEvent, HttpErrorResponse, HttpInterceptor, HttpRequest,
9
9
  import * as rxjs from 'rxjs';
10
10
  import { Observable, Subject } from 'rxjs';
11
11
  import * as i30 from '@angular/forms';
12
- import { NgForm, NgControl, ControlValueAccessor, ValidationErrors } from '@angular/forms';
12
+ import { NgForm, ValidationErrors, NgControl, ControlValueAccessor } from '@angular/forms';
13
13
  import * as i46 from '@angular/material/dialog';
14
14
  import { MatDialogRef, MatDialog } from '@angular/material/dialog';
15
15
  import { TranslateHttpLoader } from '@ngx-translate/http-loader';
@@ -248,6 +248,63 @@ declare class FxUtils {
248
248
  static formatSizeUnits(bytes: number): string;
249
249
  }
250
250
 
251
+ declare class FxValidators {
252
+ /**
253
+ * Name fields: firstName, lastName, groupName, projectName, displayName
254
+ * Allows: letters (Unicode), spaces, hyphens, apostrophes, periods
255
+ */
256
+ static validateName(value: string): ValidationErrors | null;
257
+ /**
258
+ * Description fields
259
+ * Allows: letters, digits, spaces, basic punctuation
260
+ */
261
+ static validateDescription(value: string): ValidationErrors | null;
262
+ /**
263
+ * Email fields
264
+ */
265
+ static validateEmail(value: string): ValidationErrors | null;
266
+ /**
267
+ * Phone fields
268
+ * Allows: digits, optional leading +, spaces, hyphens, parentheses (7-15 digits)
269
+ */
270
+ static validatePhone(value: string): ValidationErrors | null;
271
+ /**
272
+ * Code/identifier fields: server code, template code, templateId
273
+ * Allows: alphanumeric, hyphens, underscores
274
+ */
275
+ static validateCode(value: string): ValidationErrors | null;
276
+ /**
277
+ * Domain fields
278
+ * Standard domain pattern with optional port
279
+ */
280
+ static validateDomain(value: string): ValidationErrors | null;
281
+ /**
282
+ * Subject fields (email subject)
283
+ * Allows: letters, digits, spaces, common punctuation, template placeholders {{}}
284
+ */
285
+ static validateSubject(value: string): ValidationErrors | null;
286
+ /**
287
+ * Tag fields
288
+ * Allows: alphanumeric, hyphens, underscores, dots, spaces
289
+ */
290
+ static validateTag(value: string): ValidationErrors | null;
291
+ /**
292
+ * URL fields: proxy, masterUrl
293
+ * Standard URL pattern
294
+ */
295
+ static validateUrl(value: string): ValidationErrors | null;
296
+ /**
297
+ * Numeric string fields: timeout, memoryLimit, cpuCores
298
+ * Allows: digits, optional decimal point
299
+ */
300
+ static validateNumeric(value: string): ValidationErrors | null;
301
+ /**
302
+ * Version fields (semver-like)
303
+ * Allows: digits, dots, hyphens, plus, letters
304
+ */
305
+ static validateVersion(value: string): ValidationErrors | null;
306
+ }
307
+
251
308
  declare function HttpLoaderFactory(http: HttpClient): TranslateHttpLoader;
252
309
  declare class TranslationModule {
253
310
  static forRoot(): ModuleWithProviders<TranslationModule>;
@@ -774,6 +831,7 @@ declare class ChartComponent implements OnChanges, AfterViewInit, OnDestroy {
774
831
  private intersectionObserver?;
775
832
  private canInit;
776
833
  private isMobile;
834
+ private containerWidth;
777
835
  constructor(ref: ElementRef<HTMLElement>, cdr: ChangeDetectorRef);
778
836
  ngAfterViewInit(): void;
779
837
  ngOnChanges(): void;
@@ -785,6 +843,7 @@ declare class ChartComponent implements OnChanges, AfterViewInit, OnDestroy {
785
843
  private forceMediaRecalc;
786
844
  private rebuildChart;
787
845
  private registry;
846
+ private calcPieLayout;
788
847
  private detectType;
789
848
  private buildOptions;
790
849
  private resolvePalette;
@@ -1019,5 +1078,5 @@ declare class UiModule {
1019
1078
  static ɵinj: i0.ɵɵInjectorDeclaration<UiModule>;
1020
1079
  }
1021
1080
 
1022
- export { AuthInterceptor, AuthStateService, BaseComponent, BaseDialogComponent, BaseResolver, BaseTableComponent, BreadcrumbService, ButtonComponent, ChartComponent, CheckboxComponent, CircleProgressBar, ConfirmationDialogComponent, DatetimePicker, DndUploadComponent, DrawerComponent, FlowConnection, FxLoadingService, FxStorageService, FxToastrService, FxUtils, HasPermissionDirective, HeroIconComponent, HttpLoaderFactory, HttpWrapper, InputComponent, KanbanBoardComponent, LoadingPanel, MY_MOMENT_FORMATS, NotificationService, PermissionGuard, PermissionService, QuillStyleLoaderService, RadioButtonComponent, RadioButtonToggleComponent, RichTextAreaComponent, SearchBarComponent, SelectComponent, SkeletonTableLoadingComponent, SliderComponent, SwitchComponent, TabComponent, TabGroupComponent, TableCell, TagComponent, ThemeService, ToastComponent, ToastContainerComponent, TranslationModule, TranslationService, TreeDiagram, TrimOnBlurDirective, UiModule };
1081
+ export { AuthInterceptor, AuthStateService, BaseComponent, BaseDialogComponent, BaseResolver, BaseTableComponent, BreadcrumbService, ButtonComponent, ChartComponent, CheckboxComponent, CircleProgressBar, ConfirmationDialogComponent, DatetimePicker, DndUploadComponent, DrawerComponent, FlowConnection, FxLoadingService, FxStorageService, FxToastrService, FxUtils, FxValidators, HasPermissionDirective, HeroIconComponent, HttpLoaderFactory, HttpWrapper, InputComponent, KanbanBoardComponent, LoadingPanel, MY_MOMENT_FORMATS, NotificationService, PermissionGuard, PermissionService, QuillStyleLoaderService, RadioButtonComponent, RadioButtonToggleComponent, RichTextAreaComponent, SearchBarComponent, SelectComponent, SkeletonTableLoadingComponent, SliderComponent, SwitchComponent, TabComponent, TabGroupComponent, TableCell, TagComponent, ThemeService, ToastComponent, ToastContainerComponent, TranslationModule, TranslationService, TreeDiagram, TrimOnBlurDirective, UiModule };
1023
1082
  export type { Breadcrumb, ColumnChangedEvent, IChartType, IRadioButton, KanbanColumn, TableResult, TagType, ToastData, TreeNode, UploadResult };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@foxeltech/angular-ui",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "license": "MIT",
5
5
  "main": "bundles/ui.umd.js",
6
6
  "module": "fesm2022/foxeltech-angular-ui.mjs",