@omnitend/dashboard-for-laravel 0.23.0 → 0.24.0
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/components/extended/DXField.vue.d.ts +4 -4
- package/dist/components/extended/DXTable.vue.d.ts +18 -0
- package/dist/dashboard-for-laravel.js +8608 -8549
- package/dist/dashboard-for-laravel.js.map +1 -1
- package/dist/dashboard-for-laravel.umd.cjs +7 -7
- package/dist/dashboard-for-laravel.umd.cjs.map +1 -1
- package/dist/style.css +1 -1
- package/dist/types/index.d.ts +21 -0
- package/docs/public/api-reference.json +2 -2
- package/docs/public/docs-map.md +1 -1
- package/package.json +1 -1
- package/resources/js/components/extended/DXField.vue +31 -0
- package/resources/js/components/extended/DXTable.vue +220 -68
- package/resources/js/types/index.ts +23 -0
|
@@ -112,10 +112,10 @@ declare var __VLS_1: {
|
|
|
112
112
|
model: any;
|
|
113
113
|
value: any;
|
|
114
114
|
update: typeof setValue;
|
|
115
|
-
},
|
|
115
|
+
}, __VLS_198: {
|
|
116
116
|
field: FieldDefinition;
|
|
117
117
|
model: any;
|
|
118
|
-
},
|
|
118
|
+
}, __VLS_203: {
|
|
119
119
|
field: FieldDefinition;
|
|
120
120
|
model: any;
|
|
121
121
|
};
|
|
@@ -160,9 +160,9 @@ type __VLS_Slots = {} & {
|
|
|
160
160
|
} & {
|
|
161
161
|
value?: (props: typeof __VLS_133) => any;
|
|
162
162
|
} & {
|
|
163
|
-
info?: (props: typeof
|
|
163
|
+
info?: (props: typeof __VLS_198) => any;
|
|
164
164
|
} & {
|
|
165
|
-
hint?: (props: typeof
|
|
165
|
+
hint?: (props: typeof __VLS_203) => any;
|
|
166
166
|
};
|
|
167
167
|
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
168
168
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
@@ -6,6 +6,24 @@ export interface FilterOption {
|
|
|
6
6
|
export interface TableField {
|
|
7
7
|
key: string;
|
|
8
8
|
label?: string;
|
|
9
|
+
/**
|
|
10
|
+
* The key this column's filter is sent under, when it differs from the
|
|
11
|
+
* column's own key (default: `key`). Lets a *display* column filter on a
|
|
12
|
+
* different server param — e.g. a "Customer" column rendering a name but
|
|
13
|
+
* filtering on `customer_id` — instead of forcing the column to be named
|
|
14
|
+
* after the server's filter param and the human-facing value into a
|
|
15
|
+
* `#cell` slot.
|
|
16
|
+
*/
|
|
17
|
+
filterKey?: string;
|
|
18
|
+
/**
|
|
19
|
+
* For a `select` filter: adds an option meaning "has no value", e.g.
|
|
20
|
+
* `filterNullText: "Unassigned"` on an assignee column. Selecting it sends
|
|
21
|
+
* `filterNullValue` (default `"null"`) as the filter value; client-side, it
|
|
22
|
+
* matches rows whose value is null, undefined or empty.
|
|
23
|
+
*/
|
|
24
|
+
filterNullText?: string;
|
|
25
|
+
/** The value sent when the `filterNullText` option is chosen. Default `"null"`. */
|
|
26
|
+
filterNullValue?: string;
|
|
9
27
|
sortable?: boolean;
|
|
10
28
|
hint?: string;
|
|
11
29
|
filter?: FilterType;
|