@feedmepos/mf-hrm-portal 0.0.1-alpha.1 → 0.0.1

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.
Files changed (104) hide show
  1. package/package.json +1 -1
  2. package/dist/App.vue.d.ts +0 -2
  3. package/dist/EmployeeList-BU6n0y6w.js +0 -604
  4. package/dist/Entry.vue.d.ts +0 -2
  5. package/dist/PageLayout.vue_vue_type_script_setup_true_lang-HKK4cbW8.js +0 -37
  6. package/dist/RoleList-kE8O8wyy.js +0 -492
  7. package/dist/TeamMemberList-BBl8auxB.js +0 -1447
  8. package/dist/TimesheetList-QmuwWz31.js +0 -395
  9. package/dist/api/employee/index.d.ts +0 -15
  10. package/dist/api/index.d.ts +0 -3
  11. package/dist/api/inventory/index.d.ts +0 -5
  12. package/dist/api/role/index.d.ts +0 -9
  13. package/dist/api/team/index.d.ts +0 -10
  14. package/dist/api/timesheet/index.d.ts +0 -6
  15. package/dist/api/user/index.d.ts +0 -6
  16. package/dist/app-DWSjl6MP.js +0 -1170
  17. package/dist/app-DXlbstZu.js +0 -2282
  18. package/dist/app.d.ts +0 -3
  19. package/dist/app.js +0 -6
  20. package/dist/components/AppForm.vue.d.ts +0 -45
  21. package/dist/components/CheckboxInput.vue.d.ts +0 -155
  22. package/dist/components/Navigator.vue.d.ts +0 -6
  23. package/dist/components/Splash.vue.d.ts +0 -2
  24. package/dist/composables/message.d.ts +0 -4
  25. package/dist/composables/restaurant.d.ts +0 -329
  26. package/dist/employee-C-ICOGva.js +0 -449
  27. package/dist/favicon.ico +0 -0
  28. package/dist/helpers/component.d.ts +0 -12
  29. package/dist/helpers/iteration.d.ts +0 -10
  30. package/dist/helpers/rule.d.ts +0 -28
  31. package/dist/helpers/utils.d.ts +0 -3
  32. package/dist/index-COaCoGwy.js +0 -57
  33. package/dist/loading-31nfQqf0.js +0 -140
  34. package/dist/lodash-P5mhhlxp.js +0 -3676
  35. package/dist/main-DlJuqlgg.js +0 -15636
  36. package/dist/main.d.ts +0 -1
  37. package/dist/restaurant-D5BNPLKh.js +0 -107
  38. package/dist/router/index.d.ts +0 -2
  39. package/dist/router/shared.d.ts +0 -10
  40. package/dist/rule-DjIknogy.js +0 -8229
  41. package/dist/search-Dh3HG-_h.js +0 -258
  42. package/dist/shared/api/index.d.ts +0 -3
  43. package/dist/shared/api/public.d.ts +0 -5
  44. package/dist/shared/components/button/ResponsiveFabButton.vue.d.ts +0 -3
  45. package/dist/shared/components/form/SelectFilter.vue.d.ts +0 -86
  46. package/dist/shared/components/layout/FormColumn.vue.d.ts +0 -12
  47. package/dist/shared/components/layout/FormItem.vue.d.ts +0 -17
  48. package/dist/shared/components/layout/FormSection.vue.d.ts +0 -18
  49. package/dist/shared/components/layout/FullWrapper.vue.d.ts +0 -9
  50. package/dist/shared/components/layout/HorizontalSplitter.vue.d.ts +0 -2
  51. package/dist/shared/components/layout/LottieAnimation.vue.d.ts +0 -39
  52. package/dist/shared/components/layout/PageLayout.vue.d.ts +0 -20
  53. package/dist/shared/components/loading/AppLoading.vue.d.ts +0 -20
  54. package/dist/shared/components/loading/PageLoading.vue.d.ts +0 -2
  55. package/dist/shared/components/loading/index.d.ts +0 -1
  56. package/dist/shared/components/menu/BottomSheetMenu.vue.d.ts +0 -13
  57. package/dist/shared/components/menu/BottomSheetMenuItem.vue.d.ts +0 -15
  58. package/dist/shared/components/menu/ResponsiveContextMenu.vue.d.ts +0 -13
  59. package/dist/shared/components/table/EmptyDataTemplate/Icon.vue.d.ts +0 -2
  60. package/dist/shared/components/table/EmptyDataTemplate/index.d.ts +0 -1
  61. package/dist/shared/components/table/EmptyDataTemplate/index.vue.d.ts +0 -18
  62. package/dist/shared/composable/dateRange.d.ts +0 -18
  63. package/dist/shared/composable/discardConfirm.d.ts +0 -1
  64. package/dist/shared/composable/elementPosition.d.ts +0 -17
  65. package/dist/shared/composable/filterSelector.d.ts +0 -12
  66. package/dist/shared/composable/loading.d.ts +0 -29
  67. package/dist/shared/composable/search.d.ts +0 -5
  68. package/dist/shared/composable/sheet.d.ts +0 -17
  69. package/dist/shared/helpers/createComponent.d.ts +0 -7
  70. package/dist/shared/helpers/iteration.d.ts +0 -11
  71. package/dist/shared/helpers/object.d.ts +0 -6
  72. package/dist/shared/helpers/string.d.ts +0 -12
  73. package/dist/shared/permission/posPermission.d.ts +0 -6
  74. package/dist/shared/stores/app.d.ts +0 -217
  75. package/dist/stores/employee.d.ts +0 -590
  76. package/dist/stores/role.d.ts +0 -214
  77. package/dist/stores/timesheet.d.ts +0 -253
  78. package/dist/style.css +0 -1
  79. package/dist/timesheet-Jwqi_LdM.js +0 -56
  80. package/dist/tsconfig.app.tsbuildinfo +0 -1
  81. package/dist/types/employee.d.ts +0 -30
  82. package/dist/types/permission.d.ts +0 -2
  83. package/dist/types/restaurant.d.ts +0 -18
  84. package/dist/types/role.d.ts +0 -37
  85. package/dist/types/team.d.ts +0 -49
  86. package/dist/types/timesheet.d.ts +0 -16
  87. package/dist/views/hr/locales/index.d.ts +0 -602
  88. package/dist/views/hr/views/employee/Employee.vue.d.ts +0 -2
  89. package/dist/views/hr/views/employee/EmployeeList.vue.d.ts +0 -38
  90. package/dist/views/hr/views/employee/components/EmployeeForm.vue.d.ts +0 -27
  91. package/dist/views/hr/views/main.vue.d.ts +0 -2
  92. package/dist/views/hr/views/role/RoleForm.vue.d.ts +0 -17
  93. package/dist/views/hr/views/role/RoleList.vue.d.ts +0 -5
  94. package/dist/views/hr/views/timesheet/TimesheetList.vue.d.ts +0 -2
  95. package/dist/views/team/locales/index.d.ts +0 -348
  96. package/dist/views/team/views/team/TeamMemberList.vue.d.ts +0 -2
  97. package/dist/views/team/views/team/components/AddMemberForm.vue.d.ts +0 -37
  98. package/dist/views/team/views/team/components/MemberInfo.vue.d.ts +0 -6
  99. package/dist/views/team/views/team/components/PortalPermissionEditor.vue.d.ts +0 -46
  100. package/dist/views/team/views/team/components/PortalUserSearcher.vue.d.ts +0 -40
  101. package/dist/views/team/views/team/components/TeamMemberBasePermission.vue.d.ts +0 -36
  102. package/dist/views/team/views/team/components/TeamMemberConditionPermission.vue.d.ts +0 -50
  103. package/dist/views/team/views/team/components/TeamMemberMasterUser.vue.d.ts +0 -710
  104. package/dist/views/team/views/team/components/TeamMemberRolePermission.vue.d.ts +0 -46
@@ -1,258 +0,0 @@
1
- import { ref as F, computed as c, defineComponent as G, watch as J, nextTick as Q, resolveComponent as w, createElementBlock as h, openBlock as i, createElementVNode as A, createVNode as S, renderSlot as V, withCtx as L, createCommentVNode as C, normalizeStyle as W, Fragment as B, createBlock as P, unref as x, renderList as K, normalizeClass as X, toDisplayString as Y, withModifiers as Z } from "vue";
2
- import "@feedmepos/ui-library";
3
- /* empty css */
4
- function ee(u, t, v = u) {
5
- const l = F(!0), d = c(() => {
6
- if (!l.value && !t.value)
7
- return !0;
8
- if (t.value && t.value.length > 0) {
9
- const r = v.value.map((o) => o.value);
10
- return t.value.length === r.length && t.value.every((o) => r.includes(o));
11
- }
12
- return !1;
13
- }), e = c(() => {
14
- var r, o, b, f;
15
- return !!((r = t.value) != null && r.length && ((o = t.value) == null ? void 0 : o.length) > 0 && ((b = t.value) == null ? void 0 : b.length) < ((f = u.value) == null ? void 0 : f.length));
16
- });
17
- return { allCleared: l, allSelected: d, indeterminate: e, toggleAll: () => {
18
- if (d.value) {
19
- t.value = void 0, l.value = !0;
20
- return;
21
- }
22
- const r = v.value.map((o) => o.value);
23
- r.length === u.value.length ? (t.value = void 0, l.value = !1) : (t.value = r, l.value = !1);
24
- }, toggleOption: (r) => {
25
- var b, f, k;
26
- let o;
27
- t.value === void 0 && l.value ? o = [r] : t.value === void 0 && !l.value ? o = (b = u.value.map((p) => p.value)) == null ? void 0 : b.filter((p) => p !== r) : (f = t.value) != null && f.includes(r) ? o = (k = t.value) == null ? void 0 : k.filter((p) => p !== r) : o = [...t.value || [], r], o.length === 0 ? (t.value = void 0, l.value = !0) : o.length === u.value.length ? (t.value = void 0, l.value = !1) : t.value = o;
28
- } };
29
- }
30
- const le = { class: "w-full flex flex-col gap-8" }, ae = { class: "flex items-center gap-8" }, te = { class: "inline-flex items-center" }, ue = { class: "flex flex-col w-[360px] min-h-0 gap-8" }, ne = {
31
- key: 0,
32
- class: "flex gap-4 px-[6px] pt-4"
33
- }, re = { class: "flex-1" }, oe = /* @__PURE__ */ G({
34
- __name: "SelectFilter",
35
- props: {
36
- items: { default: () => [] },
37
- modelValue: {},
38
- multiple: { type: Boolean, default: !1 },
39
- placeholder: { default: "Select..." },
40
- searchPlaceholder: { default: "Search" },
41
- disabled: { type: Boolean, default: !1 },
42
- variant: { default: "default" },
43
- clearable: { type: Boolean, default: !1 },
44
- searchable: { type: Boolean, default: !0 },
45
- autoSelectFirst: { type: Boolean, default: !1 },
46
- chipIcon: { default: "filter_list" },
47
- showSelectAll: { type: Boolean, default: !0 },
48
- maxHeight: { default: 300 },
49
- selectedPrefix: { default: "Selected: " }
50
- },
51
- emits: ["update:modelValue", "change"],
52
- setup(u, { expose: t, emit: v }) {
53
- const l = u, d = v, e = c({
54
- get: () => l.modelValue,
55
- set: (a) => {
56
- d("update:modelValue", a), d("change", a);
57
- }
58
- }), g = F(""), y = c(() => l.items), r = c(() => {
59
- if (!l.searchable || !g.value.trim()) return y.value;
60
- const a = g.value.toLowerCase();
61
- return y.value.filter((n) => n.label.toLowerCase().includes(a));
62
- }), o = c(() => {
63
- if (!e.value || Array.isArray(e.value) && e.value.length === 0)
64
- return l.placeholder;
65
- if (Array.isArray(e.value) && e.value.length === 1) {
66
- const n = y.value.find((m) => m.value === e.value[0]);
67
- return (n == null ? void 0 : n.label) || l.placeholder;
68
- }
69
- const a = Array.isArray(e.value) ? e.value.length : 0;
70
- return `${l.selectedPrefix}${a}`;
71
- }), b = c(() => {
72
- if (e.value === void 0 || e.value === null || e.value === "")
73
- return l.placeholder;
74
- const a = y.value.find((n) => n.value === e.value);
75
- return (a == null ? void 0 : a.label) || l.placeholder;
76
- }), f = c(
77
- () => l.multiple ? o.value : b.value
78
- ), k = c(() => l.disabled ? "neutral-gray-200" : l.variant === "dark" ? "neutral-black" : "neutral-gray-400"), p = c(() => l.disabled ? "text-fm-color-neutral-gray-200" : l.variant === "dark" ? "text-fm-color-neutral-black" : "text-fm-color-neutral-gray-400"), M = F(void 0), N = new Proxy(M, {
79
- get(a, n) {
80
- return n === "value" ? Array.isArray(e.value) ? e.value : e.value === void 0 ? void 0 : [e.value] : M[n];
81
- },
82
- set(a, n, m) {
83
- return n === "value" ? (e.value = m, !0) : (M[n] = m, !0);
84
- }
85
- }), { allSelected: $, toggleAll: E, toggleOption: H, indeterminate: D } = ee(
86
- y,
87
- N,
88
- r
89
- );
90
- function O(a) {
91
- var n;
92
- l.multiple || (e.value = a, (n = _.value) == null || n.toggleMenu(!1));
93
- }
94
- function T(a) {
95
- a.stopPropagation(), !l.disabled && (e.value = null);
96
- }
97
- J(
98
- () => l.autoSelectFirst,
99
- async (a) => {
100
- if (a && !l.multiple && (e.value === void 0 || e.value === null)) {
101
- await Q();
102
- const n = y.value[0];
103
- n && (e.value = n.value);
104
- }
105
- },
106
- { immediate: !0 }
107
- );
108
- const _ = F(null);
109
- return t({
110
- open: () => {
111
- var a;
112
- return (a = _.value) == null ? void 0 : a.toggleMenu(!0);
113
- },
114
- close: () => {
115
- var a;
116
- return (a = _.value) == null ? void 0 : a.toggleMenu(!1);
117
- }
118
- }), (a, n) => {
119
- const m = w("FmIcon"), U = w("FmChip"), j = w("FmSearch"), z = w("FmMenuItem"), q = w("FmMenu");
120
- return i(), h("div", le, [
121
- A("div", ae, [
122
- S(q, {
123
- "close-on-click": !1,
124
- disabled: u.disabled,
125
- ref_key: "menuRef",
126
- ref: _,
127
- "z-index": 50,
128
- "selector-for-dismiss-away-event-exclusion": ".fm-dialog, .fm-select__menu__wrapper"
129
- }, {
130
- "menu-button": L(() => [
131
- V(a.$slots, "menu-button", {}, () => [
132
- A("div", te, [
133
- S(U, { disabled: u.disabled }, {
134
- default: L(() => [
135
- S(m, {
136
- color: k.value,
137
- name: u.chipIcon,
138
- outline: "",
139
- size: "sm"
140
- }, null, 8, ["color", "name"]),
141
- f.value ? (i(), h("div", {
142
- key: 0,
143
- class: X([
144
- "fm-typo-en-body-md-600 select-none text-ellipsis overflow-hidden whitespace-nowrap",
145
- p.value
146
- ])
147
- }, Y(f.value), 3)) : C("", !0),
148
- S(m, {
149
- color: k.value,
150
- name: "keyboard_arrow_down",
151
- size: "sm"
152
- }, null, 8, ["color"]),
153
- u.clearable && !u.multiple && e.value != null && e.value !== "" && !u.disabled ? (i(), h("button", {
154
- key: 1,
155
- class: "ml-4 focus:outline-none",
156
- type: "button",
157
- onClick: Z(T, ["stop"]),
158
- "aria-label": "Clear selection"
159
- }, [
160
- S(m, {
161
- name: "close",
162
- size: "sm",
163
- color: k.value
164
- }, null, 8, ["color"])
165
- ])) : C("", !0)
166
- ]),
167
- _: 1
168
- }, 8, ["disabled"])
169
- ])
170
- ], !0)
171
- ]),
172
- default: L(() => [
173
- A("div", ue, [
174
- u.searchable ? (i(), h("div", ne, [
175
- A("div", re, [
176
- S(j, {
177
- modelValue: g.value,
178
- "onUpdate:modelValue": n[0] || (n[0] = (s) => g.value = s),
179
- placeholder: u.searchPlaceholder
180
- }, null, 8, ["modelValue", "placeholder"])
181
- ])
182
- ])) : C("", !0),
183
- A("div", {
184
- class: "flex-1 overflow-y-auto min-h-0",
185
- style: W({ maxHeight: typeof u.maxHeight == "number" ? u.maxHeight + "px" : u.maxHeight })
186
- }, [
187
- u.multiple ? (i(), h(B, { key: 0 }, [
188
- u.showSelectAll ? (i(), P(z, {
189
- key: 0,
190
- label: "All",
191
- "has-checkbox": "",
192
- "model-value": x($),
193
- indeterminate: x(D),
194
- onClick: x(E)
195
- }, null, 8, ["model-value", "indeterminate", "onClick"])) : C("", !0),
196
- r.value.length ? (i(!0), h(B, { key: 1 }, K(r.value, (s) => {
197
- var I;
198
- return V(a.$slots, "option", {
199
- option: s,
200
- selected: x($) || Array.isArray(e.value) && ((I = e.value) == null ? void 0 : I.includes(s.value)),
201
- toggle: () => x(H)(s.value)
202
- }, () => {
203
- var R;
204
- return [
205
- (i(), P(z, {
206
- key: s.value,
207
- label: s.label,
208
- "has-checkbox": "",
209
- "model-value": x($) || Array.isArray(e.value) && ((R = e.value) == null ? void 0 : R.includes(s.value)),
210
- onClick: (ie) => x(H)(s.value)
211
- }, null, 8, ["label", "model-value", "onClick"]))
212
- ];
213
- }, !0);
214
- }), 256)) : C("", !0)
215
- ], 64)) : (i(), h(B, { key: 1 }, [
216
- r.value.length ? (i(!0), h(B, { key: 0 }, K(r.value, (s) => V(a.$slots, "option", {
217
- option: s,
218
- selected: e.value === s.value,
219
- toggle: () => O(s.value)
220
- }, () => [
221
- (i(), P(z, {
222
- key: s.value,
223
- label: s.label,
224
- onClick: (I) => O(s.value)
225
- }, null, 8, ["label", "onClick"]))
226
- ], !0)), 256)) : C("", !0)
227
- ], 64))
228
- ], 4)
229
- ])
230
- ]),
231
- _: 3
232
- }, 8, ["disabled"]),
233
- V(a.$slots, "append-right", {}, void 0, !0)
234
- ])
235
- ]);
236
- };
237
- }
238
- }), se = (u, t) => {
239
- const v = u.__vccOpts || u;
240
- for (const [l, d] of t)
241
- v[l] = d;
242
- return v;
243
- }, fe = /* @__PURE__ */ se(oe, [["__scopeId", "data-v-ceb3db87"]]), me = (u) => {
244
- const t = F(u || "");
245
- function v(e) {
246
- return `${e}`.trim().toLowerCase();
247
- }
248
- const l = c(() => v(t.value));
249
- function d(e) {
250
- return l.value ? e.some((g) => v(g).includes(l.value)) : !0;
251
- }
252
- return { searchKey: t, filter: d };
253
- };
254
- export {
255
- fe as S,
256
- se as _,
257
- me as u
258
- };
@@ -1,3 +0,0 @@
1
- import { type AxiosInstance, type AxiosResponse } from 'axios';
2
- export declare const baseClientInstance: (url?: string) => AxiosInstance;
3
- export declare function extractAxiosData<T>(response: AxiosResponse<T>): T;
@@ -1,5 +0,0 @@
1
- import type { PublicSettingApi } from '@/shared/stores/app';
2
- export declare const publicSettingApi: {
3
- read(): Promise<PublicSettingApi>;
4
- update(dto: PublicSettingApi): Promise<PublicSettingApi>;
5
- };
@@ -1,3 +0,0 @@
1
- import { type FmButtonProps } from '@feedmepos/ui-library';
2
- declare const _default: import("vue").DefineComponent<FmButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<FmButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
3
- export default _default;
@@ -1,86 +0,0 @@
1
- export interface BaseOption {
2
- [key: string]: any;
3
- }
4
- export interface SelectFilterOption {
5
- label: string;
6
- value: any;
7
- [key: string]: any;
8
- }
9
- export interface Props {
10
- /** Items to show in the menu (must contain label & value) */
11
- items: SelectFilterOption[];
12
- /** v-model value (single or multiple depending on `multiple`) */
13
- modelValue?: any | any[] | null;
14
- /** Enable multi-select */
15
- multiple?: boolean;
16
- /** Placeholder text when nothing selected */
17
- placeholder?: string;
18
- /** Search input placeholder */
19
- searchPlaceholder?: string;
20
- /** Disable the whole control */
21
- disabled?: boolean;
22
- /** Visual variant */
23
- variant?: 'default' | 'dark';
24
- /** Allow clearing selection with clear button (single only currently) */
25
- clearable?: boolean;
26
- /** Show search box */
27
- searchable?: boolean;
28
- /** Auto select first option when available */
29
- autoSelectFirst?: boolean;
30
- /** Custom icon for chip */
31
- chipIcon?: string;
32
- /** If true and multiple, show an All toggle entry */
33
- showSelectAll?: boolean;
34
- /** Max height for options scroll area */
35
- maxHeight?: string | number;
36
- /** When user selected some items, we should display like "selectedPrefix: <count>" */
37
- selectedPrefix?: string;
38
- }
39
- declare var __VLS_7: {}, __VLS_37: {
40
- option: SelectFilterOption;
41
- selected: boolean;
42
- toggle: () => void;
43
- }, __VLS_47: {
44
- option: SelectFilterOption;
45
- selected: boolean;
46
- toggle: () => void;
47
- }, __VLS_57: {};
48
- type __VLS_Slots = {} & {
49
- 'menu-button'?: (props: typeof __VLS_7) => any;
50
- } & {
51
- option?: (props: typeof __VLS_37) => any;
52
- } & {
53
- option?: (props: typeof __VLS_47) => any;
54
- } & {
55
- 'append-right'?: (props: typeof __VLS_57) => any;
56
- };
57
- declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {
58
- open: () => void | undefined;
59
- close: () => void | undefined;
60
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
61
- change: (value: any) => any;
62
- "update:modelValue": (value: any) => any;
63
- }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
64
- onChange?: ((value: any) => any) | undefined;
65
- "onUpdate:modelValue"?: ((value: any) => any) | undefined;
66
- }>, {
67
- placeholder: string;
68
- variant: "default" | "dark";
69
- disabled: boolean;
70
- items: SelectFilterOption[];
71
- multiple: boolean;
72
- searchPlaceholder: string;
73
- clearable: boolean;
74
- searchable: boolean;
75
- autoSelectFirst: boolean;
76
- chipIcon: string;
77
- showSelectAll: boolean;
78
- maxHeight: string | number;
79
- selectedPrefix: string;
80
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, __VLS_Slots>;
81
- export default _default;
82
- type __VLS_WithSlots<T, S> = T & {
83
- new (): {
84
- $slots: S;
85
- };
86
- };
@@ -1,12 +0,0 @@
1
- interface Props {
2
- shrinkable?: boolean;
3
- }
4
- declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
5
- default?: ((props: {}) => any) | undefined;
6
- }>;
7
- export default _default;
8
- type __VLS_WithSlots<T, S> = T & {
9
- new (): {
10
- $slots: S;
11
- };
12
- };
@@ -1,17 +0,0 @@
1
- interface Props {
2
- label?: string;
3
- description?: string;
4
- }
5
- declare var __VLS_1: {}, __VLS_3: {};
6
- type __VLS_Slots = {} & {
7
- append?: (props: typeof __VLS_1) => any;
8
- } & {
9
- default?: (props: typeof __VLS_3) => any;
10
- };
11
- declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, __VLS_Slots>;
12
- export default _default;
13
- type __VLS_WithSlots<T, S> = T & {
14
- new (): {
15
- $slots: S;
16
- };
17
- };
@@ -1,18 +0,0 @@
1
- interface Props {
2
- title?: string;
3
- subTitle?: string;
4
- shrinkable?: boolean;
5
- }
6
- declare var __VLS_1: {}, __VLS_6: {};
7
- type __VLS_Slots = {} & {
8
- 'append-title'?: (props: typeof __VLS_1) => any;
9
- } & {
10
- default?: (props: typeof __VLS_6) => any;
11
- };
12
- declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, __VLS_Slots>;
13
- export default _default;
14
- type __VLS_WithSlots<T, S> = T & {
15
- new (): {
16
- $slots: S;
17
- };
18
- };
@@ -1,9 +0,0 @@
1
- declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
2
- default?: ((props: {}) => any) | undefined;
3
- }>;
4
- export default _default;
5
- type __VLS_WithSlots<T, S> = T & {
6
- new (): {
7
- $slots: S;
8
- };
9
- };
@@ -1,2 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
- export default _default;
@@ -1,39 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
- link: {
3
- type: StringConstructor;
4
- default: undefined;
5
- };
6
- json: {
7
- type: ObjectConstructor;
8
- default: undefined;
9
- };
10
- width: {
11
- type: NumberConstructor;
12
- required: true;
13
- };
14
- height: {
15
- type: NumberConstructor;
16
- required: true;
17
- };
18
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
19
- link: {
20
- type: StringConstructor;
21
- default: undefined;
22
- };
23
- json: {
24
- type: ObjectConstructor;
25
- default: undefined;
26
- };
27
- width: {
28
- type: NumberConstructor;
29
- required: true;
30
- };
31
- height: {
32
- type: NumberConstructor;
33
- required: true;
34
- };
35
- }>> & Readonly<{}>, {
36
- link: string;
37
- json: Record<string, any>;
38
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
39
- export default _default;
@@ -1,20 +0,0 @@
1
- interface Props {
2
- heading: string;
3
- }
4
- declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {}, __VLS_7: {};
5
- type __VLS_Slots = {} & {
6
- 'prepend-heading'?: (props: typeof __VLS_1) => any;
7
- } & {
8
- 'sub-heading'?: (props: typeof __VLS_3) => any;
9
- } & {
10
- 'append-heading'?: (props: typeof __VLS_5) => any;
11
- } & {
12
- default?: (props: typeof __VLS_7) => any;
13
- };
14
- declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, __VLS_Slots>;
15
- export default _default;
16
- type __VLS_WithSlots<T, S> = T & {
17
- new (): {
18
- $slots: S;
19
- };
20
- };
@@ -1,20 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
- width: {
3
- type: NumberConstructor;
4
- required: true;
5
- };
6
- height: {
7
- type: NumberConstructor;
8
- required: true;
9
- };
10
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
11
- width: {
12
- type: NumberConstructor;
13
- required: true;
14
- };
15
- height: {
16
- type: NumberConstructor;
17
- required: true;
18
- };
19
- }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
20
- export default _default;
@@ -1,2 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
- export default _default;
@@ -1 +0,0 @@
1
- export declare const withLoading: (loader: () => Promise<any>) => any;
@@ -1,13 +0,0 @@
1
- declare var __VLS_14: {}, __VLS_16: {};
2
- type __VLS_Slots = {} & {
3
- button?: (props: typeof __VLS_14) => any;
4
- } & {
5
- default?: (props: typeof __VLS_16) => any;
6
- };
7
- declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, __VLS_Slots>;
8
- export default _default;
9
- type __VLS_WithSlots<T, S> = T & {
10
- new (): {
11
- $slots: S;
12
- };
13
- };
@@ -1,15 +0,0 @@
1
- interface BottomSheetMenuItemProps {
2
- label?: string;
3
- icon?: string;
4
- disabled?: boolean;
5
- itemClass?: string;
6
- }
7
- declare const _default: __VLS_WithSlots<import("vue").DefineComponent<BottomSheetMenuItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<BottomSheetMenuItemProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
8
- content?: ((props: {}) => any) | undefined;
9
- }>;
10
- export default _default;
11
- type __VLS_WithSlots<T, S> = T & {
12
- new (): {
13
- $slots: S;
14
- };
15
- };
@@ -1,13 +0,0 @@
1
- interface ContextMenuItem {
2
- icon?: string;
3
- label: string;
4
- subLabel?: string;
5
- disabled?: boolean;
6
- itemClass?: string;
7
- onClick?: () => void;
8
- }
9
- interface Props {
10
- items: ContextMenuItem[];
11
- }
12
- declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
- export default _default;
@@ -1,2 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
- export default _default;
@@ -1 +0,0 @@
1
- export { default } from './index.vue';
@@ -1,18 +0,0 @@
1
- interface Props {
2
- title: string;
3
- subtitle: string;
4
- action?: {
5
- text: string;
6
- icon?: string;
7
- callback: () => void;
8
- };
9
- }
10
- declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
11
- action?: ((props: {}) => any) | undefined;
12
- }>;
13
- export default _default;
14
- type __VLS_WithSlots<T, S> = T & {
15
- new (): {
16
- $slots: S;
17
- };
18
- };
@@ -1,18 +0,0 @@
1
- export declare function useDateRange(): {
2
- dateRange: import("vue").Ref<{
3
- startDate: string;
4
- endDate: string;
5
- }, {
6
- startDate: string;
7
- endDate: string;
8
- } | {
9
- startDate: string;
10
- endDate: string;
11
- }>;
12
- parsedDateRange: import("vue").ComputedRef<{
13
- startDate: Date;
14
- endDate: Date;
15
- }>;
16
- dateRangeLabel: import("vue").ComputedRef<string>;
17
- setRange: (manipulate: 'subtract' | 'add') => void;
18
- };
@@ -1 +0,0 @@
1
- export declare function useDiscardConfirm(isModified: () => boolean, onConfirm: () => void): () => void;
@@ -1,17 +0,0 @@
1
- import { type Ref } from 'vue';
2
- export declare function useElementPosition(el: Ref<HTMLElement | null>, watched?: any): Ref<{
3
- top: number;
4
- bottom: number;
5
- left: number;
6
- right: number;
7
- }, {
8
- top: number;
9
- bottom: number;
10
- left: number;
11
- right: number;
12
- } | {
13
- top: number;
14
- bottom: number;
15
- left: number;
16
- right: number;
17
- }>;
@@ -1,12 +0,0 @@
1
- import { type Ref } from 'vue';
2
- interface Option<T> {
3
- value: T;
4
- }
5
- export declare function useFilterSelector<T>(options: Ref<Option<T>[]>, model: Ref<T[] | undefined | null>, filteredOptions?: Ref<Option<T>[]>): {
6
- allCleared: Ref<boolean, boolean>;
7
- allSelected: import("vue").ComputedRef<boolean>;
8
- indeterminate: import("vue").ComputedRef<boolean>;
9
- toggleAll: () => void;
10
- toggleOption: (value: T) => void;
11
- };
12
- export {};