startup-ui 0.9.0 → 0.9.2

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.
@@ -3,19 +3,14 @@ type __VLS_Props = {
3
3
  color?: Color;
4
4
  icon: String;
5
5
  };
6
- declare function __VLS_template(): {
7
- attrs: Partial<{}>;
8
- slots: {
9
- default?(_: {}): any;
10
- };
11
- refs: {};
12
- rootEl: HTMLDivElement;
6
+ declare var __VLS_5: {};
7
+ type __VLS_Slots = {} & {
8
+ default?: (props: typeof __VLS_5) => any;
13
9
  };
14
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
15
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
16
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
10
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
17
12
  export default _default;
18
- type __VLS_WithTemplateSlots<T, S> = T & {
13
+ type __VLS_WithSlots<T, S> = T & {
19
14
  new (): {
20
15
  $slots: S;
21
16
  };
@@ -1 +1 @@
1
- {"version":3,"file":"SStatus.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SStatus.vue"],"names":[],"mappings":"AAMA;AAuFA,KAAK,KAAK,GAAG,MAAM,GAAG,SAAS,GAAG,cAAc,GAAG,iBAAiB,GAAG,eAAe,GAAG,kBAAkB,GAAG,KAAK,GAAG,UAA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,eAAe,kSAMnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAQ1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -2,19 +2,14 @@ type Color = 'gray' | 'primary' | 'primary-dark' | 'primary-darkest' | 'primary-
2
2
  type __VLS_Props = {
3
3
  color?: Color;
4
4
  };
5
- declare function __VLS_template(): {
6
- attrs: Partial<{}>;
7
- slots: {
8
- default?(_: {}): any;
9
- };
10
- refs: {};
11
- rootEl: HTMLDivElement;
5
+ declare var __VLS_1: {};
6
+ type __VLS_Slots = {} & {
7
+ default?: (props: typeof __VLS_1) => any;
12
8
  };
13
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
15
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
9
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
16
11
  export default _default;
17
- type __VLS_WithTemplateSlots<T, S> = T & {
12
+ type __VLS_WithSlots<T, S> = T & {
18
13
  new (): {
19
14
  $slots: S;
20
15
  };
@@ -1 +1 @@
1
- {"version":3,"file":"STag.vue.d.ts","sourceRoot":"","sources":["../../../src/components/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AAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAmB/C,QAAA,MAAM,eAAe,kSAMnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAQ1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,15 +1,11 @@
1
1
  import { PropType } from 'vue';
2
- declare function __VLS_template(): {
3
- attrs: Partial<{}>;
4
- slots: {
5
- title?(_: {}): any;
6
- default?(_: {}): any;
7
- };
8
- refs: {};
9
- rootEl: HTMLDivElement;
2
+ declare var __VLS_1: {}, __VLS_7: {};
3
+ type __VLS_Slots = {} & {
4
+ title?: (props: typeof __VLS_1) => any;
5
+ } & {
6
+ default?: (props: typeof __VLS_7) => any;
10
7
  };
11
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
- declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
8
+ declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
13
9
  title: StringConstructor;
14
10
  opened: {
15
11
  type: BooleanConstructor;
@@ -19,7 +15,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
19
15
  type: PropType<"primary" | "red" | "green">;
20
16
  default: string;
21
17
  };
22
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
18
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
23
19
  title: StringConstructor;
24
20
  opened: {
25
21
  type: BooleanConstructor;
@@ -32,10 +28,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
32
28
  }>> & Readonly<{}>, {
33
29
  opened: boolean;
34
30
  color: "primary" | "red" | "green";
35
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
36
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
31
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
32
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
37
33
  export default _default;
38
- type __VLS_WithTemplateSlots<T, S> = T & {
34
+ type __VLS_WithSlots<T, S> = T & {
39
35
  new (): {
40
36
  $slots: S;
41
37
  };
@@ -1 +1 @@
1
- {"version":3,"file":"SToggle.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SToggle.vue"],"names":[],"mappings":"AAYA;AAoHA,OAAO,EAAqD,QAAQ,EAAQ,MAAM,KAAK,CAAA;AAkDvF,iBAAS,cAAc;WA+CT,OAAO,IAA6B;;uBAXvB,GAAG;yBACD,GAAG;;;;EAe/B;AAqBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;cAYG,QAAQ,CAAC,SAAS,GAAG,KAAK,GAAG,OAAO,CAAC;;;;;;;;;;cAArC,QAAQ,CAAC,SAAS,GAAG,KAAK,GAAG,OAAO,CAAC;;;;;;uFAK3D,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAEpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"SToggle.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SToggle.vue"],"names":[],"mappings":"AAoHA,OAAO,EAAqD,QAAQ,EAAQ,MAAM,KAAK,CAAA;AAuFvF,QAAA,IAAI,OAAO,IAAU,EAAE,OAAO,IAAW,CAAE;AAC3C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC1C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAgC/C,QAAA,MAAM,eAAe;;;;;;;cAYG,QAAQ,CAAC,SAAS,GAAG,KAAK,GAAG,OAAO,CAAC;;;;;;;;;;cAArC,QAAQ,CAAC,SAAS,GAAG,KAAK,GAAG,OAAO,CAAC;;;;;;4EAI3D,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAE1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -6,19 +6,21 @@ type __VLS_WithSlots<T, S> = T & (new () => {
6
6
  declare const __VLS_component: import("vue").DefineComponent<{}, {
7
7
  $emit: (event: "change" | "dragstart" | "drop", ...args: any[]) => void;
8
8
  data: unknown[];
9
+ bordered: boolean;
9
10
  expandedKeys: unknown[];
10
11
  draggable: boolean;
11
12
  selectable: boolean;
12
13
  checkboxes: boolean;
13
- independentCheckboxes: boolean;
14
+ selectWithChildren: boolean;
14
15
  storeExpandedKeysTo?: string | undefined;
15
16
  $props: {
16
17
  readonly data?: unknown[] | undefined;
18
+ readonly bordered?: boolean | undefined;
17
19
  readonly expandedKeys?: unknown[] | undefined;
18
20
  readonly draggable?: boolean | undefined;
19
21
  readonly selectable?: boolean | undefined;
20
22
  readonly checkboxes?: boolean | undefined;
21
- readonly independentCheckboxes?: boolean | undefined;
23
+ readonly selectWithChildren?: boolean | undefined;
22
24
  readonly storeExpandedKeysTo?: string | undefined;
23
25
  };
24
26
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1 +1 @@
1
- {"version":3,"file":"STree.vue.d.ts","sourceRoot":"","sources":["../../../src/components/STree.vue"],"names":[],"mappings":"wBA+wBqB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;;qBAEpD,CAAC,EAAE,CAAC;;;AAXzB;;;;;;;;;;;;;;;;;;2OAQG"}
1
+ {"version":3,"file":"STree.vue.d.ts","sourceRoot":"","sources":["../../../src/components/STree.vue"],"names":[],"mappings":"wBAuzBqB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;;qBAEpD,CAAC,EAAE,CAAC;;;AAXzB;;;;;;;;;;;;;;;;;;;;2OAQG"}
@@ -1,4 +1,5 @@
1
- import { default as plugin } from './plugin';
1
+ import plugin from './plugin';
2
+ import './style.scss';
2
3
  export * from './components/SAlert';
3
4
  export * from './components/SConfirm';
4
5
  export default plugin;
@@ -1,4 +1,5 @@
1
- import { App } from 'vue';
1
+ import type { App } from 'vue';
2
+ import './style.scss';
2
3
  declare const _default: {
3
4
  install(app: App): void;
4
5
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "startup-ui",
3
- "version": "0.9.0",
3
+ "version": "0.9.2",
4
4
  "description": "Vue3 UI components for IT startups. Best served with Laravel + InertiaJS",
5
5
  "type": "module",
6
6
  "main": "dist/startup-ui.cjs.js",