@jblehm/super-list 1.0.5

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,118 @@
1
+ import { type PropType } from 'vue';
2
+ import { type EnumType, type ListRequest } from './DropDownLibrary';
3
+ declare function initializeOptions(): Promise<void>;
4
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
5
+ selected: {
6
+ type: PropType<string | number | object | null | undefined>;
7
+ };
8
+ options: {
9
+ type: PropType<ListRequest | Array<string | number | object>>;
10
+ required: true;
11
+ };
12
+ maxListOptions: {
13
+ type: PropType<number>;
14
+ default: number;
15
+ };
16
+ maxListHeightPX: {
17
+ type: PropType<number>;
18
+ default: number;
19
+ };
20
+ tooltip: {
21
+ type: StringConstructor;
22
+ required: false;
23
+ };
24
+ objectLabelKeyName: {
25
+ type: PropType<string | null>;
26
+ default: string;
27
+ };
28
+ enumKeyToLabelObjectArray: {
29
+ type: PropType<EnumType[]>;
30
+ default: undefined;
31
+ };
32
+ listAnimationDurationMs: {
33
+ type: PropType<number>;
34
+ default: number;
35
+ };
36
+ customIcon: {
37
+ default: null;
38
+ type: PropType<object | Function | null>;
39
+ };
40
+ forceTextFilterVisibilityTo: {
41
+ type: PropType<boolean>;
42
+ default: undefined;
43
+ };
44
+ customPlaceHolderFunction: {
45
+ type: PropType<Function | null>;
46
+ default: null;
47
+ };
48
+ colour: {
49
+ type: PropType<string>;
50
+ default: string;
51
+ };
52
+ }>, {
53
+ initializeOptions: typeof initializeOptions;
54
+ getLabel: (value?: string | number | object | null, format?: boolean) => string;
55
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
56
+ "update:selected": (...args: any[]) => void;
57
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
58
+ selected: {
59
+ type: PropType<string | number | object | null | undefined>;
60
+ };
61
+ options: {
62
+ type: PropType<ListRequest | Array<string | number | object>>;
63
+ required: true;
64
+ };
65
+ maxListOptions: {
66
+ type: PropType<number>;
67
+ default: number;
68
+ };
69
+ maxListHeightPX: {
70
+ type: PropType<number>;
71
+ default: number;
72
+ };
73
+ tooltip: {
74
+ type: StringConstructor;
75
+ required: false;
76
+ };
77
+ objectLabelKeyName: {
78
+ type: PropType<string | null>;
79
+ default: string;
80
+ };
81
+ enumKeyToLabelObjectArray: {
82
+ type: PropType<EnumType[]>;
83
+ default: undefined;
84
+ };
85
+ listAnimationDurationMs: {
86
+ type: PropType<number>;
87
+ default: number;
88
+ };
89
+ customIcon: {
90
+ default: null;
91
+ type: PropType<object | Function | null>;
92
+ };
93
+ forceTextFilterVisibilityTo: {
94
+ type: PropType<boolean>;
95
+ default: undefined;
96
+ };
97
+ customPlaceHolderFunction: {
98
+ type: PropType<Function | null>;
99
+ default: null;
100
+ };
101
+ colour: {
102
+ type: PropType<string>;
103
+ default: string;
104
+ };
105
+ }>> & Readonly<{
106
+ "onUpdate:selected"?: ((...args: any[]) => any) | undefined;
107
+ }>, {
108
+ maxListHeightPX: number;
109
+ listAnimationDurationMs: number;
110
+ customIcon: object | Function | null;
111
+ maxListOptions: number;
112
+ objectLabelKeyName: string | null;
113
+ enumKeyToLabelObjectArray: EnumType[];
114
+ forceTextFilterVisibilityTo: boolean;
115
+ customPlaceHolderFunction: Function | null;
116
+ colour: string;
117
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
118
+ export default _default;
package/package.json ADDED
@@ -0,0 +1,62 @@
1
+ {
2
+ "name": "@jblehm/super-list",
3
+ "version": "1.0.5",
4
+ "type": "module",
5
+ "files": [
6
+ "dist/ListInputComponents",
7
+ "dist/DropDownLibrary.d.ts",
8
+ "dist/index.css",
9
+ "dist/index.d.ts",
10
+ "dist/main.d.ts",
11
+ "dist/super-list.js",
12
+ "dist/super-list.umd.js",
13
+ "dist/super-list.vue.d.ts"
14
+ ],
15
+ "main": "./dist/super-list.umd.cjs",
16
+ "module": "./dist/super-list.js",
17
+ "exports": {
18
+ ".": {
19
+ "import": "./dist/super-list.js",
20
+ "require": "./dist/super-list.umd.js"
21
+ },
22
+ "./dist/style.css": "./dist/style.css"
23
+ },
24
+ "types": "./dist/index.d.ts",
25
+ "scripts": {
26
+ "dev": "vite",
27
+ "build": "vite build && vue-tsc --emitDeclarationOnly",
28
+ "types": "vue-tsc",
29
+ "preview": "vite preview",
30
+ "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
31
+ "format": "prettier --write src/"
32
+ },
33
+ "dependencies": {
34
+ "vue": "^3.5.10"
35
+ },
36
+ "devDependencies": {
37
+ "@types/node": "^22.7.6",
38
+ "@vitejs/plugin-vue": "^5.1.4",
39
+ "@vitejs/plugin-vue-jsx": "^4.0.1",
40
+ "@vue/eslint-config-prettier": "^9.0.0",
41
+ "@vue/eslint-config-typescript": "^13.0.0",
42
+ "eslint": "^8.57.1",
43
+ "eslint-plugin-vue": "^9.28.0",
44
+ "postcss": "^8.4.47",
45
+ "prettier": "^3.3.3",
46
+ "typescript": "~5.6.2",
47
+ "vite": "^5.4.8",
48
+ "vite-plugin-lib-inject-css": "^2.1.1",
49
+ "vue-tsc": "^2.1.6"
50
+ },
51
+ "sideEffects": [
52
+ "*.css"
53
+ ],
54
+ "description": "A Vue Combobox",
55
+ "keywords": [
56
+ "vue"
57
+ ],
58
+ "author": "Joshua Blehm",
59
+ "license": "ISC",
60
+ "bugs": { "url": "https://github.com/jblehm/superlist/issues" },
61
+ "homepage": "https://github.com/jblehm/superlist#readme"
62
+ }