sprof 0.0.70 → 0.0.72
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/dist/core/components/organisms/PTabs/PTabs.stories.d.ts +12 -12
- package/dist/core/components/organisms/PTabs/PTabs.vue.d.ts +5 -5
- package/dist/core/helpers/TabsStore.d.ts +10 -0
- package/dist/core/helpers/index.d.ts +2 -0
- package/dist/sprof.js +1908 -1892
- package/dist/sprof.umd.cjs +12 -12
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -3,8 +3,8 @@ declare const _default: {
|
|
|
3
3
|
title: string;
|
|
4
4
|
component: {
|
|
5
5
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
|
|
6
|
-
|
|
7
|
-
type: globalThis.PropType<import('
|
|
6
|
+
store: {
|
|
7
|
+
type: globalThis.PropType<import('../../../helpers/TabsStore').default>;
|
|
8
8
|
required: true;
|
|
9
9
|
};
|
|
10
10
|
tabHeight: {
|
|
@@ -50,8 +50,8 @@ declare const _default: {
|
|
|
50
50
|
M: {};
|
|
51
51
|
Defaults: {};
|
|
52
52
|
}, Readonly<globalThis.ExtractPropTypes<{
|
|
53
|
-
|
|
54
|
-
type: globalThis.PropType<import('
|
|
53
|
+
store: {
|
|
54
|
+
type: globalThis.PropType<import('../../../helpers/TabsStore').default>;
|
|
55
55
|
required: true;
|
|
56
56
|
};
|
|
57
57
|
tabHeight: {
|
|
@@ -92,8 +92,8 @@ declare const _default: {
|
|
|
92
92
|
__isTeleport?: undefined;
|
|
93
93
|
__isSuspense?: undefined;
|
|
94
94
|
} & import('vue').ComponentOptionsBase<Readonly<globalThis.ExtractPropTypes<{
|
|
95
|
-
|
|
96
|
-
type: globalThis.PropType<import('
|
|
95
|
+
store: {
|
|
96
|
+
type: globalThis.PropType<import('../../../helpers/TabsStore').default>;
|
|
97
97
|
required: true;
|
|
98
98
|
};
|
|
99
99
|
tabHeight: {
|
|
@@ -178,8 +178,8 @@ declare const _default: {
|
|
|
178
178
|
export default _default;
|
|
179
179
|
export declare const Default: StoryFn<{
|
|
180
180
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
|
|
181
|
-
|
|
182
|
-
type: globalThis.PropType<import('
|
|
181
|
+
store: {
|
|
182
|
+
type: globalThis.PropType<import('../../../helpers/TabsStore').default>;
|
|
183
183
|
required: true;
|
|
184
184
|
};
|
|
185
185
|
tabHeight: {
|
|
@@ -225,8 +225,8 @@ export declare const Default: StoryFn<{
|
|
|
225
225
|
M: {};
|
|
226
226
|
Defaults: {};
|
|
227
227
|
}, Readonly<globalThis.ExtractPropTypes<{
|
|
228
|
-
|
|
229
|
-
type: globalThis.PropType<import('
|
|
228
|
+
store: {
|
|
229
|
+
type: globalThis.PropType<import('../../../helpers/TabsStore').default>;
|
|
230
230
|
required: true;
|
|
231
231
|
};
|
|
232
232
|
tabHeight: {
|
|
@@ -267,8 +267,8 @@ export declare const Default: StoryFn<{
|
|
|
267
267
|
__isTeleport?: undefined;
|
|
268
268
|
__isSuspense?: undefined;
|
|
269
269
|
} & import('vue').ComponentOptionsBase<Readonly<globalThis.ExtractPropTypes<{
|
|
270
|
-
|
|
271
|
-
type: globalThis.PropType<import('
|
|
270
|
+
store: {
|
|
271
|
+
type: globalThis.PropType<import('../../../helpers/TabsStore').default>;
|
|
272
272
|
required: true;
|
|
273
273
|
};
|
|
274
274
|
tabHeight: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { default as
|
|
1
|
+
import { default as TabsStore } from '../../../helpers/TabsStore';
|
|
2
2
|
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
3
|
-
|
|
4
|
-
type: globalThis.PropType<
|
|
3
|
+
store: {
|
|
4
|
+
type: globalThis.PropType<TabsStore>;
|
|
5
5
|
required: true;
|
|
6
6
|
};
|
|
7
7
|
tabHeight: {
|
|
@@ -32,8 +32,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<gl
|
|
|
32
32
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
33
33
|
select: (...args: any[]) => void;
|
|
34
34
|
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
35
|
-
|
|
36
|
-
type: globalThis.PropType<
|
|
35
|
+
store: {
|
|
36
|
+
type: globalThis.PropType<TabsStore>;
|
|
37
37
|
required: true;
|
|
38
38
|
};
|
|
39
39
|
tabHeight: {
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { default as ITab } from '../components/organisms/PTabs/ITab';
|
|
2
|
+
export default class TabsStore {
|
|
3
|
+
tabs: ITab[];
|
|
4
|
+
activeTab?: ITab;
|
|
5
|
+
activeIdx: number;
|
|
6
|
+
key: string;
|
|
7
|
+
preSelectTab(): void;
|
|
8
|
+
static Create(key: string, tabs: ITab[]): TabsStore;
|
|
9
|
+
select(tab: ITab, i: number): void;
|
|
10
|
+
}
|
|
@@ -28,6 +28,7 @@ import { default as Scroll } from './Scroll';
|
|
|
28
28
|
import { default as Sorter } from './Sorter';
|
|
29
29
|
import { default as Static } from './Static';
|
|
30
30
|
import { default as Strings } from './Strings';
|
|
31
|
+
import { default as TabsStore } from './TabsStore';
|
|
31
32
|
import { default as Time } from './Time';
|
|
32
33
|
import { default as Timer } from './Timer';
|
|
33
34
|
import { default as validate } from './validate';
|
|
@@ -87,6 +88,7 @@ export default abstract class H {
|
|
|
87
88
|
getUser: () => any;
|
|
88
89
|
updateHuman: (human: import('../classes').Human) => void;
|
|
89
90
|
};
|
|
91
|
+
static TabsStore: typeof TabsStore;
|
|
90
92
|
static validate: typeof validate;
|
|
91
93
|
static WaitElement: (selector: string) => Promise<unknown>;
|
|
92
94
|
static WebSocketClient: typeof WebSocketClient;
|