@anzusystems/common-admin 0.0.33 → 0.0.34

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.
@@ -12,7 +12,6 @@ import type { DefineComponent } from 'vue';
12
12
  import type { ExtractPropTypes } from 'vue';
13
13
  import type { I18n } from 'vue-i18n';
14
14
  import type { InjectionKey } from 'vue';
15
- import type { JSXComponent } from 'vue';
16
15
  import type { Method } from 'axios';
17
16
  import type { PropType } from 'vue';
18
17
  import type { Ref } from 'vue/dist/vue';
@@ -3235,6 +3234,8 @@ declare type LazyLoaderType = () => {
3235
3234
  [key: string]: any;
3236
3235
  };
3237
3236
 
3237
+ export declare function loadCommonFonts(): Promise<void>;
3238
+
3238
3239
  export declare interface Log {
3239
3240
  id: string;
3240
3241
  message: string;
@@ -4223,15 +4224,15 @@ export declare const useCommonVuetifyConfig: () => {
4223
4224
  position?: "fixed" | "static" | "absolute" | "relative" | "sticky" | undefined;
4224
4225
  value?: any;
4225
4226
  loading?: string | boolean | undefined;
4226
- icon?: boolean | (string | JSXComponent<any>) | undefined;
4227
+ icon?: any;
4227
4228
  href?: string | undefined;
4228
4229
  elevation?: string | number | undefined;
4229
4230
  to?: RouteLocationRaw | undefined;
4230
4231
  theme?: string | undefined;
4231
4232
  rounded?: string | number | boolean | undefined;
4232
4233
  selectedClass?: string | undefined;
4233
- prependIcon?: (string | JSXComponent<any>) | undefined;
4234
- appendIcon?: (string | JSXComponent<any>) | undefined;
4234
+ prependIcon?: any;
4235
+ appendIcon?: any;
4235
4236
  } & {
4236
4237
  $children?: {} | VNodeChild | {
4237
4238
  default?: (() => VNodeChild) | undefined;
@@ -4287,15 +4288,15 @@ export declare const useCommonVuetifyConfig: () => {
4287
4288
  position?: "fixed" | "static" | "absolute" | "relative" | "sticky" | undefined;
4288
4289
  value?: any;
4289
4290
  loading?: string | boolean | undefined;
4290
- icon?: boolean | (string | JSXComponent<any>) | undefined;
4291
+ icon?: any;
4291
4292
  href?: string | undefined;
4292
4293
  elevation?: string | number | undefined;
4293
4294
  to?: RouteLocationRaw | undefined;
4294
4295
  theme?: string | undefined;
4295
4296
  rounded?: string | number | boolean | undefined;
4296
4297
  selectedClass?: string | undefined;
4297
- prependIcon?: (string | JSXComponent<any>) | undefined;
4298
- appendIcon?: (string | JSXComponent<any>) | undefined;
4298
+ prependIcon?: any;
4299
+ appendIcon?: any;
4299
4300
  } & {
4300
4301
  $children?: {} | VNodeChild | {
4301
4302
  default?: (() => VNodeChild) | undefined;
@@ -4367,15 +4368,15 @@ export declare const useCommonVuetifyConfig: () => {
4367
4368
  position?: "fixed" | "static" | "absolute" | "relative" | "sticky" | undefined;
4368
4369
  value?: any;
4369
4370
  loading?: string | boolean | undefined;
4370
- icon?: boolean | (string | JSXComponent<any>) | undefined;
4371
+ icon?: any;
4371
4372
  href?: string | undefined;
4372
4373
  elevation?: string | number | undefined;
4373
4374
  to?: RouteLocationRaw | undefined;
4374
4375
  theme?: string | undefined;
4375
4376
  rounded?: string | number | boolean | undefined;
4376
4377
  selectedClass?: string | undefined;
4377
- prependIcon?: (string | JSXComponent<any>) | undefined;
4378
- appendIcon?: (string | JSXComponent<any>) | undefined;
4378
+ prependIcon?: any;
4379
+ appendIcon?: any;
4379
4380
  } & {
4380
4381
  $children?: {} | VNodeChild | {
4381
4382
  default?: (() => VNodeChild) | undefined;
@@ -4431,15 +4432,15 @@ export declare const useCommonVuetifyConfig: () => {
4431
4432
  position?: "fixed" | "static" | "absolute" | "relative" | "sticky" | undefined;
4432
4433
  value?: any;
4433
4434
  loading?: string | boolean | undefined;
4434
- icon?: boolean | (string | JSXComponent<any>) | undefined;
4435
+ icon?: any;
4435
4436
  href?: string | undefined;
4436
4437
  elevation?: string | number | undefined;
4437
4438
  to?: RouteLocationRaw | undefined;
4438
4439
  theme?: string | undefined;
4439
4440
  rounded?: string | number | boolean | undefined;
4440
4441
  selectedClass?: string | undefined;
4441
- prependIcon?: (string | JSXComponent<any>) | undefined;
4442
- appendIcon?: (string | JSXComponent<any>) | undefined;
4442
+ prependIcon?: any;
4443
+ appendIcon?: any;
4443
4444
  } & {
4444
4445
  $children?: {} | VNodeChild | {
4445
4446
  default?: (() => VNodeChild) | undefined;
@@ -4511,15 +4512,15 @@ export declare const useCommonVuetifyConfig: () => {
4511
4512
  position?: "fixed" | "static" | "absolute" | "relative" | "sticky" | undefined;
4512
4513
  value?: any;
4513
4514
  loading?: string | boolean | undefined;
4514
- icon?: boolean | (string | JSXComponent<any>) | undefined;
4515
+ icon?: any;
4515
4516
  href?: string | undefined;
4516
4517
  elevation?: string | number | undefined;
4517
4518
  to?: RouteLocationRaw | undefined;
4518
4519
  theme?: string | undefined;
4519
4520
  rounded?: string | number | boolean | undefined;
4520
4521
  selectedClass?: string | undefined;
4521
- prependIcon?: (string | JSXComponent<any>) | undefined;
4522
- appendIcon?: (string | JSXComponent<any>) | undefined;
4522
+ prependIcon?: any;
4523
+ appendIcon?: any;
4523
4524
  } & {
4524
4525
  $children?: {} | VNodeChild | {
4525
4526
  default?: (() => VNodeChild) | undefined;
@@ -4575,15 +4576,15 @@ export declare const useCommonVuetifyConfig: () => {
4575
4576
  position?: "fixed" | "static" | "absolute" | "relative" | "sticky" | undefined;
4576
4577
  value?: any;
4577
4578
  loading?: string | boolean | undefined;
4578
- icon?: boolean | (string | JSXComponent<any>) | undefined;
4579
+ icon?: any;
4579
4580
  href?: string | undefined;
4580
4581
  elevation?: string | number | undefined;
4581
4582
  to?: RouteLocationRaw | undefined;
4582
4583
  theme?: string | undefined;
4583
4584
  rounded?: string | number | boolean | undefined;
4584
4585
  selectedClass?: string | undefined;
4585
- prependIcon?: (string | JSXComponent<any>) | undefined;
4586
- appendIcon?: (string | JSXComponent<any>) | undefined;
4586
+ prependIcon?: any;
4587
+ appendIcon?: any;
4587
4588
  } & {
4588
4589
  $children?: {} | VNodeChild | {
4589
4590
  default?: (() => VNodeChild) | undefined;
@@ -4655,15 +4656,15 @@ export declare const useCommonVuetifyConfig: () => {
4655
4656
  position?: "fixed" | "static" | "absolute" | "relative" | "sticky" | undefined;
4656
4657
  value?: any;
4657
4658
  loading?: string | boolean | undefined;
4658
- icon?: boolean | (string | JSXComponent<any>) | undefined;
4659
+ icon?: any;
4659
4660
  href?: string | undefined;
4660
4661
  elevation?: string | number | undefined;
4661
4662
  to?: RouteLocationRaw | undefined;
4662
4663
  theme?: string | undefined;
4663
4664
  rounded?: string | number | boolean | undefined;
4664
4665
  selectedClass?: string | undefined;
4665
- prependIcon?: (string | JSXComponent<any>) | undefined;
4666
- appendIcon?: (string | JSXComponent<any>) | undefined;
4666
+ prependIcon?: any;
4667
+ appendIcon?: any;
4667
4668
  } & {
4668
4669
  $children?: {} | VNodeChild | {
4669
4670
  default?: (() => VNodeChild) | undefined;
@@ -4719,15 +4720,15 @@ export declare const useCommonVuetifyConfig: () => {
4719
4720
  position?: "fixed" | "static" | "absolute" | "relative" | "sticky" | undefined;
4720
4721
  value?: any;
4721
4722
  loading?: string | boolean | undefined;
4722
- icon?: boolean | (string | JSXComponent<any>) | undefined;
4723
+ icon?: any;
4723
4724
  href?: string | undefined;
4724
4725
  elevation?: string | number | undefined;
4725
4726
  to?: RouteLocationRaw | undefined;
4726
4727
  theme?: string | undefined;
4727
4728
  rounded?: string | number | boolean | undefined;
4728
4729
  selectedClass?: string | undefined;
4729
- prependIcon?: (string | JSXComponent<any>) | undefined;
4730
- appendIcon?: (string | JSXComponent<any>) | undefined;
4730
+ prependIcon?: any;
4731
+ appendIcon?: any;
4731
4732
  } & {
4732
4733
  $children?: {} | VNodeChild | {
4733
4734
  default?: (() => VNodeChild) | undefined;
@@ -4786,7 +4787,7 @@ export declare const useCommonVuetifyConfig: () => {
4786
4787
  modelValue: boolean;
4787
4788
  ripple: boolean;
4788
4789
  closable: boolean;
4789
- closeIcon: string | JSXComponent<any>;
4790
+ closeIcon: any;
4790
4791
  closeLabel: string;
4791
4792
  pill: boolean;
4792
4793
  filterIcon: string;
@@ -4804,8 +4805,8 @@ export declare const useCommonVuetifyConfig: () => {
4804
4805
  theme?: string | undefined;
4805
4806
  rounded?: string | number | boolean | undefined;
4806
4807
  selectedClass?: string | undefined;
4807
- prependIcon?: (string | JSXComponent<any>) | undefined;
4808
- appendIcon?: (string | JSXComponent<any>) | undefined;
4808
+ prependIcon?: any;
4809
+ appendIcon?: any;
4809
4810
  activeClass?: string | undefined;
4810
4811
  appendAvatar?: string | undefined;
4811
4812
  prependAvatar?: string | undefined;
@@ -4854,7 +4855,7 @@ export declare const useCommonVuetifyConfig: () => {
4854
4855
  modelValue: boolean;
4855
4856
  ripple: boolean;
4856
4857
  closable: boolean;
4857
- closeIcon: string | JSXComponent<any>;
4858
+ closeIcon: any;
4858
4859
  closeLabel: string;
4859
4860
  pill: boolean;
4860
4861
  filterIcon: string;
@@ -4872,8 +4873,8 @@ export declare const useCommonVuetifyConfig: () => {
4872
4873
  theme?: string | undefined;
4873
4874
  rounded?: string | number | boolean | undefined;
4874
4875
  selectedClass?: string | undefined;
4875
- prependIcon?: (string | JSXComponent<any>) | undefined;
4876
- appendIcon?: (string | JSXComponent<any>) | undefined;
4876
+ prependIcon?: any;
4877
+ appendIcon?: any;
4877
4878
  activeClass?: string | undefined;
4878
4879
  appendAvatar?: string | undefined;
4879
4880
  prependAvatar?: string | undefined;
@@ -4924,7 +4925,7 @@ export declare const useCommonVuetifyConfig: () => {
4924
4925
  modelValue: boolean;
4925
4926
  ripple: boolean;
4926
4927
  closable: boolean;
4927
- closeIcon: string | JSXComponent<any>;
4928
+ closeIcon: any;
4928
4929
  closeLabel: string;
4929
4930
  pill: boolean;
4930
4931
  filterIcon: string;
@@ -5147,27 +5148,38 @@ export declare function useTheme(): {
5147
5148
  };
5148
5149
 
5149
5150
  export declare function useValidate(): {
5150
- required: typeof useValidateRequired;
5151
- requiredIf: typeof useValidateRequiredIf;
5152
- minLength: typeof useValidateMinLength;
5153
- maxLength: typeof useValidateMaxLength;
5154
- minValue: typeof useValidateMinValue;
5155
- maxValue: typeof useValidateMaxValue;
5156
- between: typeof useValidateBetween;
5157
- email: typeof useValidateEmail;
5158
- numeric: typeof useValidateNumeric;
5159
- slug: typeof useValidateSlug;
5160
- url: typeof useValidateUrl;
5161
- stringArrayItemLength: typeof useValidateStringArrayItemLength;
5151
+ required: ValidationRuleWithoutParams<any>;
5152
+ requiredIf: (prop: string | boolean | Ref_2<boolean> | (() => boolean | Promise<boolean>)) => ValidationRuleWithoutParams<any>;
5153
+ minLength: (min: number | Ref_2<number>) => ValidationRuleWithParams<{
5154
+ min: number;
5155
+ }, any>;
5156
+ maxLength: (max: number | Ref_2<number>) => ValidationRuleWithParams<{
5157
+ max: number;
5158
+ }, any>;
5159
+ minValue: (min: string | number | Ref_2<string> | Ref_2<number>) => ValidationRuleWithParams<{
5160
+ min: number;
5161
+ }, any>;
5162
+ maxValue: (max: string | number | Ref_2<string> | Ref_2<number>) => ValidationRuleWithParams<{
5163
+ max: number;
5164
+ }, any>;
5165
+ between: (min: number | Ref_2<number>, max: number | Ref_2<number>) => ValidationRuleWithParams<{
5166
+ min: number;
5167
+ max: number;
5168
+ }, any>;
5169
+ email: ValidationRuleWithoutParams<any>;
5170
+ numeric: ValidationRuleWithoutParams<any>;
5171
+ slug: any;
5172
+ url: ValidationRuleWithoutParams<any>;
5173
+ stringArrayItemLength: (min: number, max: number) => {
5174
+ $validator: (value: string[]) => boolean;
5175
+ $params: {
5176
+ min: number;
5177
+ max: number;
5178
+ type: string;
5179
+ };
5180
+ };
5162
5181
  };
5163
5182
 
5164
- declare function useValidateBetween(): (min: number | Ref_2<number>, max: number | Ref_2<number>) => ValidationRuleWithParams<{
5165
- min: number;
5166
- max: number;
5167
- }, any>;
5168
-
5169
- declare function useValidateEmail(): ValidationRuleWithoutParams<any>;
5170
-
5171
5183
  export declare function useValidateLatitude(): any;
5172
5184
 
5173
5185
  export declare function useValidateLatitudeNotZeroAsLongitude(): (value: string, siblings: {
@@ -5184,43 +5196,8 @@ export declare function useValidateLongitudeNotZeroAsLatitude(): (value: string,
5184
5196
  required: boolean;
5185
5197
  }) => boolean;
5186
5198
 
5187
- declare function useValidateMaxLength(): (max: number | Ref_2<number>) => ValidationRuleWithParams<{
5188
- max: number;
5189
- }, any>;
5190
-
5191
- declare function useValidateMaxValue(): (max: string | number | Ref_2<string> | Ref_2<number>) => ValidationRuleWithParams<{
5192
- max: number;
5193
- }, any>;
5194
-
5195
- declare function useValidateMinLength(): (min: number | Ref_2<number>) => ValidationRuleWithParams<{
5196
- min: number;
5197
- }, any>;
5198
-
5199
- declare function useValidateMinValue(): (min: string | number | Ref_2<string> | Ref_2<number>) => ValidationRuleWithParams<{
5200
- min: number;
5201
- }, any>;
5202
-
5203
- declare function useValidateNumeric(): ValidationRuleWithoutParams<any>;
5204
-
5205
- declare function useValidateRequired(): ValidationRuleWithoutParams<any>;
5206
-
5207
- declare function useValidateRequiredIf(): (prop: string | boolean | Ref_2<boolean> | (() => boolean | Promise<boolean>)) => ValidationRuleWithoutParams<any>;
5208
-
5209
5199
  export declare function useValidateSlovakPhoneNumber(): any;
5210
5200
 
5211
- declare function useValidateSlug(): any;
5212
-
5213
- declare function useValidateStringArrayItemLength(): (min: number, max: number) => {
5214
- $validator: (value: string[]) => boolean;
5215
- $params: {
5216
- min: number;
5217
- max: number;
5218
- type: string;
5219
- };
5220
- };
5221
-
5222
- declare function useValidateUrl(): ValidationRuleWithoutParams<any>;
5223
-
5224
5201
  declare interface ValidationError {
5225
5202
  field: string;
5226
5203
  errors: string[];