sprof 0.0.253 → 0.0.255

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.
@@ -81,8 +81,8 @@ declare const _default: {
81
81
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
82
82
  }>, {
83
83
  size: string;
84
- label: string;
85
84
  value: string | boolean;
85
+ label: string;
86
86
  margin: string;
87
87
  padding: string;
88
88
  width: string;
@@ -213,8 +213,8 @@ export declare const Default: StoryFn<import('vue').DefineComponent<globalThis.E
213
213
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
214
214
  }>, {
215
215
  size: string;
216
- label: string;
217
216
  value: string | boolean;
217
+ label: string;
218
218
  margin: string;
219
219
  padding: string;
220
220
  width: string;
@@ -78,8 +78,8 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
78
78
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
79
79
  }>, {
80
80
  size: string;
81
- label: string;
82
81
  value: string | boolean;
82
+ label: string;
83
83
  margin: string;
84
84
  padding: string;
85
85
  width: string;
@@ -89,9 +89,9 @@ declare const _default: {
89
89
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
90
90
  }>, {
91
91
  size: string;
92
+ value: string | boolean;
92
93
  label: string;
93
94
  name: string;
94
- value: string | boolean;
95
95
  margin: string;
96
96
  padding: string;
97
97
  width: string;
@@ -226,9 +226,9 @@ export declare const DefaultRadio: StoryFn<import('vue').DefineComponent<globalT
226
226
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
227
227
  }>, {
228
228
  size: string;
229
+ value: string | boolean;
229
230
  label: string;
230
231
  name: string;
231
- value: string | boolean;
232
232
  margin: string;
233
233
  padding: string;
234
234
  width: string;
@@ -86,9 +86,9 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
86
86
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
87
87
  }>, {
88
88
  size: string;
89
+ value: string | boolean;
89
90
  label: string;
90
91
  name: string;
91
- value: string | boolean;
92
92
  margin: string;
93
93
  padding: string;
94
94
  width: string;
@@ -75,9 +75,9 @@ declare const _default: {
75
75
  change: (...args: any[]) => void;
76
76
  "update:modelValue": (value: unknown) => void;
77
77
  }, import('vue').PublicProps, {
78
+ value: string;
78
79
  label: string;
79
80
  readonly: boolean;
80
- value: string;
81
81
  margin: string;
82
82
  padding: string;
83
83
  width: string;
@@ -163,9 +163,9 @@ declare const _default: {
163
163
  onChange?: ((...args: any[]) => any) | undefined;
164
164
  "onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
165
165
  }>, {}, {}, {}, {}, {
166
+ value: string;
166
167
  label: string;
167
168
  readonly: boolean;
168
- value: string;
169
169
  margin: string;
170
170
  padding: string;
171
171
  width: string;
@@ -252,9 +252,9 @@ declare const _default: {
252
252
  change: (...args: any[]) => void;
253
253
  "update:modelValue": (value: unknown) => void;
254
254
  }, string, {
255
+ value: string;
255
256
  label: string;
256
257
  readonly: boolean;
257
- value: string;
258
258
  margin: string;
259
259
  padding: string;
260
260
  width: string;
@@ -385,9 +385,9 @@ export declare const Default: StoryFn<{
385
385
  change: (...args: any[]) => void;
386
386
  "update:modelValue": (value: unknown) => void;
387
387
  }, import('vue').PublicProps, {
388
+ value: string;
388
389
  label: string;
389
390
  readonly: boolean;
390
- value: string;
391
391
  margin: string;
392
392
  padding: string;
393
393
  width: string;
@@ -473,9 +473,9 @@ export declare const Default: StoryFn<{
473
473
  onChange?: ((...args: any[]) => any) | undefined;
474
474
  "onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
475
475
  }>, {}, {}, {}, {}, {
476
+ value: string;
476
477
  label: string;
477
478
  readonly: boolean;
478
- value: string;
479
479
  margin: string;
480
480
  padding: string;
481
481
  width: string;
@@ -562,9 +562,9 @@ export declare const Default: StoryFn<{
562
562
  change: (...args: any[]) => void;
563
563
  "update:modelValue": (value: unknown) => void;
564
564
  }, string, {
565
+ value: string;
565
566
  label: string;
566
567
  readonly: boolean;
567
- value: string;
568
568
  margin: string;
569
569
  padding: string;
570
570
  width: string;
@@ -135,9 +135,9 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<gl
135
135
  onChange?: ((...args: any[]) => any) | undefined;
136
136
  "onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
137
137
  }>, {
138
+ value: string;
138
139
  label: string;
139
140
  readonly: boolean;
140
- value: string;
141
141
  margin: string;
142
142
  padding: string;
143
143
  width: string;
@@ -14,7 +14,7 @@ declare const _default: {
14
14
  required: false;
15
15
  };
16
16
  typeStyle: {
17
- type: globalThis.PropType<"primary" | "success" | "warning" | "neutral" | "danger">;
17
+ type: globalThis.PropType<"primary" | "success" | "warning" | "danger" | "neutral">;
18
18
  default: string;
19
19
  required: false;
20
20
  };
@@ -37,7 +37,7 @@ declare const _default: {
37
37
  timeout: number;
38
38
  height: string;
39
39
  tooltipText: string;
40
- typeStyle: "primary" | "success" | "warning" | "neutral" | "danger";
40
+ typeStyle: "primary" | "success" | "warning" | "danger" | "neutral";
41
41
  relPosition: "left" | "right";
42
42
  level: "top" | "bottom";
43
43
  }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
@@ -59,7 +59,7 @@ declare const _default: {
59
59
  required: false;
60
60
  };
61
61
  typeStyle: {
62
- type: globalThis.PropType<"primary" | "success" | "warning" | "neutral" | "danger">;
62
+ type: globalThis.PropType<"primary" | "success" | "warning" | "danger" | "neutral">;
63
63
  default: string;
64
64
  required: false;
65
65
  };
@@ -82,7 +82,7 @@ declare const _default: {
82
82
  timeout: number;
83
83
  height: string;
84
84
  tooltipText: string;
85
- typeStyle: "primary" | "success" | "warning" | "neutral" | "danger";
85
+ typeStyle: "primary" | "success" | "warning" | "danger" | "neutral";
86
86
  relPosition: "left" | "right";
87
87
  level: "top" | "bottom";
88
88
  }>;
@@ -101,7 +101,7 @@ declare const _default: {
101
101
  required: false;
102
102
  };
103
103
  typeStyle: {
104
- type: globalThis.PropType<"primary" | "success" | "warning" | "neutral" | "danger">;
104
+ type: globalThis.PropType<"primary" | "success" | "warning" | "danger" | "neutral">;
105
105
  default: string;
106
106
  required: false;
107
107
  };
@@ -124,7 +124,7 @@ declare const _default: {
124
124
  timeout: number;
125
125
  height: string;
126
126
  tooltipText: string;
127
- typeStyle: "primary" | "success" | "warning" | "neutral" | "danger";
127
+ typeStyle: "primary" | "success" | "warning" | "danger" | "neutral";
128
128
  relPosition: "left" | "right";
129
129
  level: "top" | "bottom";
130
130
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
@@ -181,7 +181,7 @@ export declare const DefaultRadio: StoryFn<{
181
181
  required: false;
182
182
  };
183
183
  typeStyle: {
184
- type: globalThis.PropType<"primary" | "success" | "warning" | "neutral" | "danger">;
184
+ type: globalThis.PropType<"primary" | "success" | "warning" | "danger" | "neutral">;
185
185
  default: string;
186
186
  required: false;
187
187
  };
@@ -204,7 +204,7 @@ export declare const DefaultRadio: StoryFn<{
204
204
  timeout: number;
205
205
  height: string;
206
206
  tooltipText: string;
207
- typeStyle: "primary" | "success" | "warning" | "neutral" | "danger";
207
+ typeStyle: "primary" | "success" | "warning" | "danger" | "neutral";
208
208
  relPosition: "left" | "right";
209
209
  level: "top" | "bottom";
210
210
  }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
@@ -226,7 +226,7 @@ export declare const DefaultRadio: StoryFn<{
226
226
  required: false;
227
227
  };
228
228
  typeStyle: {
229
- type: globalThis.PropType<"primary" | "success" | "warning" | "neutral" | "danger">;
229
+ type: globalThis.PropType<"primary" | "success" | "warning" | "danger" | "neutral">;
230
230
  default: string;
231
231
  required: false;
232
232
  };
@@ -249,7 +249,7 @@ export declare const DefaultRadio: StoryFn<{
249
249
  timeout: number;
250
250
  height: string;
251
251
  tooltipText: string;
252
- typeStyle: "primary" | "success" | "warning" | "neutral" | "danger";
252
+ typeStyle: "primary" | "success" | "warning" | "danger" | "neutral";
253
253
  relPosition: "left" | "right";
254
254
  level: "top" | "bottom";
255
255
  }>;
@@ -268,7 +268,7 @@ export declare const DefaultRadio: StoryFn<{
268
268
  required: false;
269
269
  };
270
270
  typeStyle: {
271
- type: globalThis.PropType<"primary" | "success" | "warning" | "neutral" | "danger">;
271
+ type: globalThis.PropType<"primary" | "success" | "warning" | "danger" | "neutral">;
272
272
  default: string;
273
273
  required: false;
274
274
  };
@@ -291,7 +291,7 @@ export declare const DefaultRadio: StoryFn<{
291
291
  timeout: number;
292
292
  height: string;
293
293
  tooltipText: string;
294
- typeStyle: "primary" | "success" | "warning" | "neutral" | "danger";
294
+ typeStyle: "primary" | "success" | "warning" | "danger" | "neutral";
295
295
  relPosition: "left" | "right";
296
296
  level: "top" | "bottom";
297
297
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
@@ -16,7 +16,8 @@ import { default as PString } from './PString/PString.vue';
16
16
  import { default as PTable } from './PTable/PTable.vue';
17
17
  import { default as PTextarea } from './PTextarea/PTextarea.vue';
18
18
  import { default as PTopSlider } from './PTopSlider/PTopSlider.vue';
19
+ import { default as PTooltip } from './PTooltip/PTooltip.vue';
19
20
  export default function install(app: {
20
21
  component: (a: string, b: unknown) => void;
21
22
  }): void;
22
- export { PButton, PCheckBox, PDatePicker, PFlex, PInput, PInputDate, PInputNumber, PLeftSlider, PList, PListItem, PRadio, PRightSlider, PSelect, PSticky, PString, PTable, PTextarea, PTopSlider, };
23
+ export { PButton, PCheckBox, PDatePicker, PFlex, PInput, PInputDate, PInputNumber, PLeftSlider, PList, PListItem, PRadio, PRightSlider, PSelect, PSticky, PString, PTable, PTextarea, PTopSlider, PTooltip, };
@@ -1,3 +1,4 @@
1
+ import { default as FilterModelV2 } from './f/FilterModelV2';
1
2
  import { default as FilterModel } from './FilterModel';
2
3
  import { default as Pagination } from './Pagination';
3
4
  import { default as SortModel } from './SortModel';
@@ -6,6 +7,7 @@ export default class FTSP {
6
7
  private static instance;
7
8
  id?: string;
8
9
  f: FilterModel[];
10
+ f2: FilterModelV2[];
9
11
  s: SortModel[];
10
12
  p: Pagination;
11
13
  t: TreeModel;
@@ -19,6 +21,7 @@ export default class FTSP {
19
21
  setSortModel(sortModel?: SortModel): void;
20
22
  setS(sortModel: SortModel): void;
21
23
  setF(model: FilterModel): void;
24
+ setF2(model: FilterModelV2): void;
22
25
  replaceF(curF?: FilterModel, prevF?: FilterModel): void;
23
26
  removeF(model?: FilterModel): void;
24
27
  reset(): void;
@@ -0,0 +1,18 @@
1
+ import { Ref } from 'vue';
2
+ import { ClassNameGetter } from '../../interfaces/Class';
3
+ import { default as Operators } from '../../types/Operators';
4
+ import { default as Join } from './Join';
5
+ import { default as Where } from './Where';
6
+ export default class FilterModel {
7
+ id?: string;
8
+ model: string;
9
+ wheres: Where[];
10
+ joins: Join[];
11
+ constructor(i?: FilterModel);
12
+ static Create(model: ClassNameGetter): FilterModel;
13
+ addWhere(field: string, op: Operators): Where;
14
+ addJoin(model: ClassNameGetter): Join;
15
+ findJoin(join: Join): Join | undefined;
16
+ findWhere(where: Where): Where | undefined;
17
+ toRef(): Ref<FilterModel>;
18
+ }
@@ -0,0 +1,16 @@
1
+ import { ClassNameGetter } from '../../interfaces/Class';
2
+ import { default as Operators } from '../../types/Operators';
3
+ import { default as Where } from './Where';
4
+ type ValueType = string | number | Date | boolean | string[] | number[];
5
+ export default class Join {
6
+ model: string;
7
+ field: string;
8
+ value: ValueType;
9
+ wheres: Where[];
10
+ constructor(i?: Join);
11
+ static Create(model: ClassNameGetter): Join;
12
+ eq(model: Join): boolean;
13
+ addWhere(field: string, op: Operators): Where;
14
+ findWhere(where: Where): Where | undefined;
15
+ }
16
+ export {};
@@ -0,0 +1,14 @@
1
+ import { default as Operators } from '../../types/Operators';
2
+ type ValueType = string | number | Date | boolean | string[] | number[];
3
+ export default class FilterModelCondition {
4
+ field: string;
5
+ operator: Operators;
6
+ value: ValueType;
7
+ constructor(i?: FilterModelCondition);
8
+ static Create(field: string, op: Operators): FilterModelCondition;
9
+ eq(f: FilterModelCondition): boolean;
10
+ isUnary(): boolean;
11
+ isBetween(): boolean;
12
+ isSet(): boolean;
13
+ }
14
+ export {};
@@ -1,8 +1,10 @@
1
+ import { default as FilterModelV2 } from './f/FilterModelV2';
1
2
  import { default as FilterModel } from './FilterModel';
2
3
  import { default as FTSP } from './FTSP';
3
4
  import { default as SortModel } from './SortModel';
4
5
  export default abstract class F {
5
6
  static SortModel: typeof SortModel;
6
7
  static FilterModel: typeof FilterModel;
8
+ static FilterModelV2: typeof FilterModelV2;
7
9
  static FTSP: typeof FTSP;
8
10
  }
@@ -4,6 +4,8 @@ declare enum DataTypes {
4
4
  Boolean = "boolean",
5
5
  Number = "number",
6
6
  Set = "set",
7
- Join = "join"
7
+ Join = "join",
8
+ ArrayString = "arrayString",
9
+ ArrayNumber = "arrayNumber"
8
10
  }
9
11
  export default DataTypes;