sprof 1.0.1 → 1.0.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.
@@ -127,11 +127,11 @@ declare const _default: {
127
127
  borderColor: string;
128
128
  rules: import('quasar').ValidationRule[];
129
129
  clearable: boolean;
130
- inPadding: string;
131
- emitValue: boolean;
132
- mapOptions: boolean;
133
130
  optionValue: string;
134
131
  optionLabel: string;
132
+ mapOptions: boolean;
133
+ emitValue: boolean;
134
+ inPadding: string;
135
135
  }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
136
136
  selectRef: import('quasar').QSelect | null;
137
137
  }, any, import('vue').ComponentProvideOptions, {
@@ -262,11 +262,11 @@ declare const _default: {
262
262
  borderColor: string;
263
263
  rules: import('quasar').ValidationRule[];
264
264
  clearable: boolean;
265
- inPadding: string;
266
- emitValue: boolean;
267
- mapOptions: boolean;
268
265
  optionValue: string;
269
266
  optionLabel: string;
267
+ mapOptions: boolean;
268
+ emitValue: boolean;
269
+ inPadding: string;
270
270
  }>;
271
271
  __isFragment?: undefined;
272
272
  __isTeleport?: undefined;
@@ -396,11 +396,11 @@ declare const _default: {
396
396
  borderColor: string;
397
397
  rules: import('quasar').ValidationRule[];
398
398
  clearable: boolean;
399
- inPadding: string;
400
- emitValue: boolean;
401
- mapOptions: boolean;
402
399
  optionValue: string;
403
400
  optionLabel: string;
401
+ mapOptions: boolean;
402
+ emitValue: boolean;
403
+ inPadding: string;
404
404
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
405
405
  $slots: {
406
406
  prepend?(_: {}): any;
@@ -589,11 +589,11 @@ export declare const Default: StoryFn<{
589
589
  borderColor: string;
590
590
  rules: import('quasar').ValidationRule[];
591
591
  clearable: boolean;
592
- inPadding: string;
593
- emitValue: boolean;
594
- mapOptions: boolean;
595
592
  optionValue: string;
596
593
  optionLabel: string;
594
+ mapOptions: boolean;
595
+ emitValue: boolean;
596
+ inPadding: string;
597
597
  }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
598
598
  selectRef: import('quasar').QSelect | null;
599
599
  }, any, import('vue').ComponentProvideOptions, {
@@ -724,11 +724,11 @@ export declare const Default: StoryFn<{
724
724
  borderColor: string;
725
725
  rules: import('quasar').ValidationRule[];
726
726
  clearable: boolean;
727
- inPadding: string;
728
- emitValue: boolean;
729
- mapOptions: boolean;
730
727
  optionValue: string;
731
728
  optionLabel: string;
729
+ mapOptions: boolean;
730
+ emitValue: boolean;
731
+ inPadding: string;
732
732
  }>;
733
733
  __isFragment?: undefined;
734
734
  __isTeleport?: undefined;
@@ -858,11 +858,11 @@ export declare const Default: StoryFn<{
858
858
  borderColor: string;
859
859
  rules: import('quasar').ValidationRule[];
860
860
  clearable: boolean;
861
- inPadding: string;
862
- emitValue: boolean;
863
- mapOptions: boolean;
864
861
  optionValue: string;
865
862
  optionLabel: string;
863
+ mapOptions: boolean;
864
+ emitValue: boolean;
865
+ inPadding: string;
866
866
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
867
867
  $slots: {
868
868
  prepend?(_: {}): any;
@@ -228,11 +228,11 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<gl
228
228
  borderColor: string;
229
229
  rules: ValidationRule[];
230
230
  clearable: boolean;
231
- inPadding: string;
232
- emitValue: boolean;
233
- mapOptions: boolean;
234
231
  optionValue: string;
235
232
  optionLabel: string;
233
+ mapOptions: boolean;
234
+ emitValue: boolean;
235
+ inPadding: string;
236
236
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
237
237
  selectRef: QSelect | null;
238
238
  }, any>, {
@@ -55,9 +55,9 @@ declare const _default: {
55
55
  height: string;
56
56
  maxHeight: string;
57
57
  content: string;
58
- noHover: boolean;
59
58
  isMain: boolean;
60
59
  noPointer: boolean;
60
+ noHover: boolean;
61
61
  }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
62
62
  contentRef: HTMLDivElement;
63
63
  }, any, import('vue').ComponentProvideOptions, {
@@ -118,9 +118,9 @@ declare const _default: {
118
118
  height: string;
119
119
  maxHeight: string;
120
120
  content: string;
121
- noHover: boolean;
122
121
  isMain: boolean;
123
122
  noPointer: boolean;
123
+ noHover: boolean;
124
124
  }>;
125
125
  __isFragment?: undefined;
126
126
  __isTeleport?: undefined;
@@ -178,9 +178,9 @@ declare const _default: {
178
178
  height: string;
179
179
  maxHeight: string;
180
180
  content: string;
181
- noHover: boolean;
182
181
  isMain: boolean;
183
182
  noPointer: boolean;
183
+ noHover: boolean;
184
184
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
185
185
  $slots: {
186
186
  icon?(_: {}): any;
@@ -286,9 +286,9 @@ export declare const Default: StoryFn<{
286
286
  height: string;
287
287
  maxHeight: string;
288
288
  content: string;
289
- noHover: boolean;
290
289
  isMain: boolean;
291
290
  noPointer: boolean;
291
+ noHover: boolean;
292
292
  }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
293
293
  contentRef: HTMLDivElement;
294
294
  }, any, import('vue').ComponentProvideOptions, {
@@ -349,9 +349,9 @@ export declare const Default: StoryFn<{
349
349
  height: string;
350
350
  maxHeight: string;
351
351
  content: string;
352
- noHover: boolean;
353
352
  isMain: boolean;
354
353
  noPointer: boolean;
354
+ noHover: boolean;
355
355
  }>;
356
356
  __isFragment?: undefined;
357
357
  __isTeleport?: undefined;
@@ -409,9 +409,9 @@ export declare const Default: StoryFn<{
409
409
  height: string;
410
410
  maxHeight: string;
411
411
  content: string;
412
- noHover: boolean;
413
412
  isMain: boolean;
414
413
  noPointer: boolean;
414
+ noHover: boolean;
415
415
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
416
416
  $slots: {
417
417
  icon?(_: {}): any;
@@ -475,9 +475,9 @@ export declare const WithImage: StoryFn<{
475
475
  height: string;
476
476
  maxHeight: string;
477
477
  content: string;
478
- noHover: boolean;
479
478
  isMain: boolean;
480
479
  noPointer: boolean;
480
+ noHover: boolean;
481
481
  }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
482
482
  contentRef: HTMLDivElement;
483
483
  }, any, import('vue').ComponentProvideOptions, {
@@ -538,9 +538,9 @@ export declare const WithImage: StoryFn<{
538
538
  height: string;
539
539
  maxHeight: string;
540
540
  content: string;
541
- noHover: boolean;
542
541
  isMain: boolean;
543
542
  noPointer: boolean;
543
+ noHover: boolean;
544
544
  }>;
545
545
  __isFragment?: undefined;
546
546
  __isTeleport?: undefined;
@@ -598,9 +598,9 @@ export declare const WithImage: StoryFn<{
598
598
  height: string;
599
599
  maxHeight: string;
600
600
  content: string;
601
- noHover: boolean;
602
601
  isMain: boolean;
603
602
  noPointer: boolean;
603
+ noHover: boolean;
604
604
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
605
605
  $slots: {
606
606
  icon?(_: {}): any;
@@ -664,9 +664,9 @@ export declare const WithFooter: StoryFn<{
664
664
  height: string;
665
665
  maxHeight: string;
666
666
  content: string;
667
- noHover: boolean;
668
667
  isMain: boolean;
669
668
  noPointer: boolean;
669
+ noHover: boolean;
670
670
  }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
671
671
  contentRef: HTMLDivElement;
672
672
  }, any, import('vue').ComponentProvideOptions, {
@@ -727,9 +727,9 @@ export declare const WithFooter: StoryFn<{
727
727
  height: string;
728
728
  maxHeight: string;
729
729
  content: string;
730
- noHover: boolean;
731
730
  isMain: boolean;
732
731
  noPointer: boolean;
732
+ noHover: boolean;
733
733
  }>;
734
734
  __isFragment?: undefined;
735
735
  __isTeleport?: undefined;
@@ -787,9 +787,9 @@ export declare const WithFooter: StoryFn<{
787
787
  height: string;
788
788
  maxHeight: string;
789
789
  content: string;
790
- noHover: boolean;
791
790
  isMain: boolean;
792
791
  noPointer: boolean;
792
+ noHover: boolean;
793
793
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
794
794
  $slots: {
795
795
  icon?(_: {}): any;
@@ -92,9 +92,9 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<gl
92
92
  height: string;
93
93
  maxHeight: string;
94
94
  content: string;
95
- noHover: boolean;
96
95
  isMain: boolean;
97
96
  noPointer: boolean;
97
+ noHover: boolean;
98
98
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
99
99
  contentRef: HTMLDivElement;
100
100
  }, any>, {
@@ -10,6 +10,7 @@ export default class Field {
10
10
  valueTypeId?: string;
11
11
  order: number;
12
12
  ageCompare: boolean;
13
+ required: boolean;
13
14
  answerVariants: AnswerVariant[];
14
15
  answerVariantsForDelete: string[];
15
16
  fieldExamples: FieldExample[];
@@ -0,0 +1,16 @@
1
+ import { default as Field } from '../classes/Field';
2
+ import { default as FieldFill } from '../classes/FieldFill';
3
+ type __VLS_Props = {
4
+ field: Field & {
5
+ required?: boolean;
6
+ };
7
+ };
8
+ type __VLS_PublicProps = {
9
+ 'fill': FieldFill;
10
+ } & __VLS_Props;
11
+ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
12
+ "update:fill": (value: FieldFill) => any;
13
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
14
+ "onUpdate:fill"?: ((value: FieldFill) => any) | undefined;
15
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
16
+ export default _default;
@@ -0,0 +1,23 @@
1
+ import { default as ValueType } from '../../../core/classes/ValueType';
2
+ import { default as Form } from '../classes/Form';
3
+ type __VLS_Props = {
4
+ valueTypes?: ValueType[];
5
+ };
6
+ type __VLS_PublicProps = {
7
+ 'form': Form;
8
+ } & __VLS_Props;
9
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
10
+ save: (form: Form) => any;
11
+ "update:form": (value: Form) => any;
12
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
13
+ onSave?: ((form: Form) => any) | undefined;
14
+ "onUpdate:form"?: ((value: Form) => any) | undefined;
15
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>, {
16
+ actions?(_: {}): any;
17
+ }>;
18
+ export default _default;
19
+ type __VLS_WithTemplateSlots<T, S> = T & {
20
+ new (): {
21
+ $slots: S;
22
+ };
23
+ };
@@ -0,0 +1,32 @@
1
+ import { default as ValueType } from '../../../core/classes/ValueType';
2
+ import { default as Field } from '../classes/Field';
3
+ type __VLS_Props = {
4
+ valueTypes: ValueType[];
5
+ typeLabels?: Record<string, string>;
6
+ };
7
+ type __VLS_PublicProps = {
8
+ 'field': Field & {
9
+ required?: boolean;
10
+ };
11
+ } & __VLS_Props;
12
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
13
+ remove: () => any;
14
+ move: (dir: number) => any;
15
+ "update:field": (value: Field & {
16
+ required?: boolean | undefined;
17
+ }) => any;
18
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
19
+ onRemove?: (() => any) | undefined;
20
+ onMove?: ((dir: number) => any) | undefined;
21
+ "onUpdate:field"?: ((value: Field & {
22
+ required?: boolean | undefined;
23
+ }) => any) | undefined;
24
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>, {
25
+ controls?(_: {}): any;
26
+ }>;
27
+ export default _default;
28
+ type __VLS_WithTemplateSlots<T, S> = T & {
29
+ new (): {
30
+ $slots: S;
31
+ };
32
+ };
@@ -0,0 +1,26 @@
1
+ import { default as FieldFill } from '../classes/FieldFill';
2
+ import { default as Form } from '../classes/Form';
3
+ type __VLS_Props = {
4
+ form: Form;
5
+ title?: string;
6
+ prefill?: Record<string, string>;
7
+ paramBanner?: {
8
+ key: string;
9
+ label: string;
10
+ value: string;
11
+ }[];
12
+ submitLabel?: string;
13
+ };
14
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
15
+ submit: (fills: FieldFill[]) => any;
16
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
17
+ onSubmit?: ((fills: FieldFill[]) => any) | undefined;
18
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>, {
19
+ actions?(_: {}): any;
20
+ }>;
21
+ export default _default;
22
+ type __VLS_WithTemplateSlots<T, S> = T & {
23
+ new (): {
24
+ $slots: S;
25
+ };
26
+ };
@@ -0,0 +1,25 @@
1
+ import { default as ValueType } from '../../../core/classes/ValueType';
2
+ import { default as FormSection } from '../classes/FormSection';
3
+ type __VLS_Props = {
4
+ valueTypes: ValueType[];
5
+ };
6
+ type __VLS_PublicProps = {
7
+ 'section': FormSection;
8
+ } & __VLS_Props;
9
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
10
+ remove: () => any;
11
+ move: (dir: number) => any;
12
+ "update:section": (value: FormSection) => any;
13
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
14
+ onRemove?: (() => any) | undefined;
15
+ onMove?: ((dir: number) => any) | undefined;
16
+ "onUpdate:section"?: ((value: FormSection) => any) | undefined;
17
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
18
+ controls?(_: {}): any;
19
+ }>;
20
+ export default _default;
21
+ type __VLS_WithTemplateSlots<T, S> = T & {
22
+ new (): {
23
+ $slots: S;
24
+ };
25
+ };
@@ -0,0 +1,5 @@
1
+ export { default as PFieldInput } from './PFieldInput.vue';
2
+ export { default as PFormBuilder } from './PFormBuilder.vue';
3
+ export { default as PFormFieldEditor } from './PFormFieldEditor.vue';
4
+ export { default as PFormRenderer } from './PFormRenderer.vue';
5
+ export { default as PFormSectionEditor } from './PFormSectionEditor.vue';
@@ -1,2 +1,11 @@
1
+ import { App } from 'vue';
2
+ import { default as PFieldInput } from './components/PFieldInput.vue';
3
+ import { default as PFormBuilder } from './components/PFormBuilder.vue';
4
+ import { default as PFormFieldEditor } from './components/PFormFieldEditor.vue';
5
+ import { default as PFormRenderer } from './components/PFormRenderer.vue';
6
+ import { default as PFormSectionEditor } from './components/PFormSectionEditor.vue';
1
7
  export * as C from './classes/index';
2
8
  export * as S from './store/index';
9
+ export * as UI from './components/index';
10
+ export { PFieldInput, PFormBuilder, PFormFieldEditor, PFormRenderer, PFormSectionEditor };
11
+ export default function install(app: App): void;