jabroni-outfit 1.4.2 → 1.4.3

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.
@@ -0,0 +1,62 @@
1
+ import { Reactive } from 'vue';
2
+
3
+ export declare const DefaultScheme: Scheme;
4
+
5
+ export declare const defaultSchemeWithPrivateFilter: {};
6
+
7
+ export declare const defaultStateInclExclMiscPagination: StateOptions;
8
+
9
+ export declare const defaultStateWithDuration: StateOptions;
10
+
11
+ export declare const defaultStateWithDurationAndPrivacy: StateOptions;
12
+
13
+ export declare const extendDefaultScheme: (newScheme: Scheme) => {};
14
+
15
+ export declare class JabroniOutfitStore {
16
+ private callbacks;
17
+ state: Reactive<RecordV> | undefined;
18
+ stateLocale: Reactive<RecordV> | undefined;
19
+ constructor(options?: StateOptions);
20
+ subscribe(callback: NotifyApply): void;
21
+ notify(subject: RecordV): void;
22
+ parseState: (st: StateOptions) => void;
23
+ }
24
+
25
+ export declare class JabroniOutfitUI {
26
+ constructor({ state, stateLocale }: JabroniOutfitStore, scheme?: Scheme);
27
+ }
28
+
29
+ declare type NotifyApply = (input: RecordV) => void;
30
+
31
+ declare type RecordV = Record<string, string | number | boolean>;
32
+
33
+ declare interface Scheme {
34
+ [key: string]: SchemeRow;
35
+ }
36
+
37
+ declare type SchemeRow = SchemeRowEl[];
38
+
39
+ declare interface SchemeRowEl {
40
+ type: 'checkbox' | 'text' | 'number' | 'span' | 'button';
41
+ model?: string;
42
+ label?: string;
43
+ labelBefore?: string;
44
+ innerText?: string;
45
+ max?: string;
46
+ min?: string;
47
+ step?: string;
48
+ "v-if"?: string;
49
+ placeholder?: string;
50
+ callback?: () => void;
51
+ }
52
+
53
+ declare interface StateOption {
54
+ value: string | number | boolean;
55
+ persistent: boolean;
56
+ watch: boolean | string;
57
+ type: string;
58
+ }
59
+
60
+ declare type StateOptions = Record<string, StateOption>;
61
+
62
+ export { }
@@ -4467,3 +4467,4 @@ export {
4467
4467
  Zc as defaultStateWithDurationAndPrivacy,
4468
4468
  Tc as extendDefaultScheme
4469
4469
  };
4470
+ //# sourceMappingURL=jabroni-outfit.es.js.map