@oneb/ui-vue 0.4.3 → 0.4.6
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/OneDropdownAuto.vue_vue_type_script_setup_true_lang-06aedc97.cjs +1 -0
- package/dist/{OneDropdownAuto.vue_vue_type_script_setup_true_lang-2c508e8a.js → OneDropdownAuto.vue_vue_type_script_setup_true_lang-89baa790.js} +13 -14
- package/dist/OneHelpMenu-457f1517.cjs +1 -0
- package/dist/{OneHelpMenu-2a2051d7.js → OneHelpMenu-fb4ee252.js} +65 -48
- package/dist/buttonGroup/index.cjs +1 -1
- package/dist/buttonGroup/index.js +6 -5
- package/dist/dataTable/index.cjs +1 -1
- package/dist/dataTable/index.js +7 -1
- package/dist/dropdown/index.cjs +1 -1
- package/dist/dropdown/index.js +93 -77
- package/dist/errorsPage/index.cjs +1 -1
- package/dist/errorsPage/index.js +49 -46
- package/dist/index.cjs +1 -1
- package/dist/index.js +232 -233
- package/dist/infobox/index.cjs +1 -1
- package/dist/infobox/index.js +6 -4
- package/dist/layout/index.cjs +1 -1
- package/dist/layout/index.js +15 -15
- package/dist/notifications/index.cjs +1 -1
- package/dist/notifications/index.js +22 -18
- package/dist/style.css +1 -1
- package/dist/toast/index.cjs +1 -1
- package/dist/toast/index.js +1 -0
- package/dist/userList/index.cjs +1 -1
- package/dist/userList/index.js +5 -6
- package/package.json +1 -2
- package/dist/OneDropdownAuto.vue_vue_type_script_setup_true_lang-bf923b04.cjs +0 -1
- package/dist/OneHelpMenu-78d9348a.cjs +0 -1
package/dist/index.js
CHANGED
|
@@ -1,61 +1,61 @@
|
|
|
1
|
-
import { OnebI18n as
|
|
2
|
-
import { OneButton as
|
|
3
|
-
import { OneButtonGroup as
|
|
4
|
-
import { OneCard as
|
|
5
|
-
import { OneCheckbox as
|
|
6
|
-
import { OneChips as
|
|
7
|
-
import { OneCollapse as
|
|
8
|
-
import { _ as
|
|
9
|
-
import { _ as
|
|
10
|
-
import { OneAuthLayout as
|
|
11
|
-
import { S as
|
|
12
|
-
import { OneDetailsList as
|
|
13
|
-
import { u as
|
|
14
|
-
import { b as
|
|
15
|
-
import { useAsyncMethod as
|
|
16
|
-
import { u as
|
|
17
|
-
import { u as
|
|
18
|
-
import { u as
|
|
19
|
-
import { u as
|
|
20
|
-
import { OneConfirmHost as
|
|
21
|
-
import { OneCursorList as
|
|
22
|
-
import { c as
|
|
23
|
-
import { capitalize as
|
|
24
|
-
import { O as
|
|
25
|
-
import { _ as
|
|
26
|
-
import { OneBrowserMenuGrid as
|
|
27
|
-
import { OneEntityPicker as
|
|
28
|
-
import { OneCrashScreen as
|
|
29
|
-
import { OneDropzone as
|
|
30
|
-
import { OneFilterBuilder as
|
|
31
|
-
import { OneForm as
|
|
32
|
-
import { OneIndicators as
|
|
33
|
-
import { OneInfobox as
|
|
34
|
-
import { OneLabel as
|
|
35
|
-
import { L as
|
|
36
|
-
import { O as
|
|
37
|
-
import { OneModalBody as
|
|
38
|
-
import { u as
|
|
39
|
-
import { OneNotificationItem as
|
|
40
|
-
import { OneRadio as
|
|
41
|
-
import { OneSearchInput as
|
|
42
|
-
import { OneSettingsLayout as
|
|
43
|
-
import { OneSpinner as
|
|
44
|
-
import { OneStageBadge as
|
|
45
|
-
import { OneStepper as
|
|
46
|
-
import { OneSwitch as
|
|
47
|
-
import { OneTab as
|
|
48
|
-
import { OneMascotToast as
|
|
49
|
-
import { _ as
|
|
50
|
-
import { OneUserInviteModal as
|
|
51
|
-
import { DATE_KIND as
|
|
52
|
-
import { OnePopover as
|
|
53
|
-
import { OneProgress as
|
|
54
|
-
import { OneColumn as
|
|
55
|
-
import { OneDateTime as
|
|
56
|
-
import { _ as
|
|
57
|
-
import { OneSkeleton as
|
|
58
|
-
import { default as
|
|
1
|
+
import { OnebI18n as T, OnebI18nKey as F, defaultTranslations as I, useOnebI18n as L } from "./i18n/index.js";
|
|
2
|
+
import { OneButton as A } from "./button/index.js";
|
|
3
|
+
import { OneButtonGroup as B } from "./buttonGroup/index.js";
|
|
4
|
+
import { OneCard as E, OneCardBody as N, OneCardFooter as w, OneCardHeader as R } from "./card/index.js";
|
|
5
|
+
import { OneCheckbox as U } from "./checkbox/index.js";
|
|
6
|
+
import { OneChips as K, chipsProps as H } from "./chips/index.js";
|
|
7
|
+
import { OneCollapse as V } from "./collapse/index.js";
|
|
8
|
+
import { _ as Q } from "./OneAvatar.vue_vue_type_script_setup_true_lang-08ab80dd.js";
|
|
9
|
+
import { _ as q } from "./OneMarkdown.vue_vue_type_script_setup_true_lang-bb2219c7.js";
|
|
10
|
+
import { OneAuthLayout as X, OneBackButton as Z, OneBreadcrumbs as $, OneEmptyLayout as ee, OneGridLayout as oe, OneIslandLayout as re, OneMainLayout as te, OneSidebar as ne } from "./layout/index.js";
|
|
11
|
+
import { S as se } from "./SpinnerIcon-516264ba.js";
|
|
12
|
+
import { OneDetailsList as ie, OneDetailsRow as me } from "./common/index.js";
|
|
13
|
+
import { u as fe, a as ue } from "./useElementWidth-b36a7ce9.js";
|
|
14
|
+
import { b as de, a as xe, u as ce } from "./useMediaQuery-77a19b18.js";
|
|
15
|
+
import { useAsyncMethod as be, useAsyncSelect as Se, useDebouncedRef as ye, useFormSubmit as Pe } from "./composables/index.js";
|
|
16
|
+
import { u as ge, a as De } from "./useConfirm-74e99a5c.js";
|
|
17
|
+
import { u as Te } from "./useIsMobile-98fc0cf9.js";
|
|
18
|
+
import { u as Ie } from "./useFileUpload-228dbc07.js";
|
|
19
|
+
import { u as ke } from "./useCursorList-5c1b57aa.js";
|
|
20
|
+
import { OneConfirmHost as ve, confirmHostProps as Be } from "./confirm/index.js";
|
|
21
|
+
import { OneCursorList as Ee } from "./cursorList/index.js";
|
|
22
|
+
import { c as we } from "./clipboard-733b79a1.js";
|
|
23
|
+
import { capitalize as Ge, containsString as Ue, createVersionChecker as ze, cyrb53 as Ke, cyrb53FromObject as He, formatAnyPrice as je, formatBytes as Ve, formatDate as Ye, formatDateToInput as Qe, formatDuration as We, formatNumber as qe, formatPrice as Je, getTimezoneOffset as Xe, guessTimezone as Ze, isString as $e, lcfirst as eo, makeString as oo, pluralize as ro, toCamelCase as to, toPascalCase as no, toSnakeCase as ao, transliterate as so, ucfirst as po } from "./utils/index.js";
|
|
24
|
+
import { O as mo, _ as Oo, a as fo, c as uo, b as lo } from "./OneHelpMenu-fb4ee252.js";
|
|
25
|
+
import { _ as co } from "./OneDropdownAuto.vue_vue_type_script_setup_true_lang-89baa790.js";
|
|
26
|
+
import { OneBrowserMenuGrid as bo, OneDropdownDivider as So, OneDropdownSelect as yo } from "./dropdown/index.js";
|
|
27
|
+
import { OneEntityPicker as Co, defaultEntityPickerTranslations as go } from "./entityPicker/index.js";
|
|
28
|
+
import { OneCrashScreen as Mo, OneErrorPage as To, OneNotFoundPage as Fo, OneServerErrorPage as Io, OneSnakeGame as Lo, createAppErrorHandler as ko, useCrashState as Ao } from "./errorsPage/index.js";
|
|
29
|
+
import { OneDropzone as Bo, OneFileUpload as ho, validateFiles as Eo } from "./fileUpload/index.js";
|
|
30
|
+
import { OneFilterBuilder as wo, OneFilterGroup as Ro, OneFilterRule as Go, isFilterGroup as Uo, operatorsForType as zo } from "./filterBuilder/index.js";
|
|
31
|
+
import { OneForm as Ho, OneFormFeedback as jo, OneFormField as Vo, OneFormLabel as Yo } from "./form/index.js";
|
|
32
|
+
import { OneIndicators as Wo, OneStatCard as qo } from "./indicators/index.js";
|
|
33
|
+
import { OneInfobox as Xo } from "./infobox/index.js";
|
|
34
|
+
import { OneLabel as $o } from "./label/index.js";
|
|
35
|
+
import { L as or } from "./LogoOneb-ddb388a4.js";
|
|
36
|
+
import { O as tr } from "./OneModal-02a9a173.js";
|
|
37
|
+
import { OneModalBody as ar, OneModalFooter as sr, OneModalHeader as pr, OneModalHost as ir, useComponentModal as mr, useModalStackState as Or } from "./modal/index.js";
|
|
38
|
+
import { u as ur } from "./useModal-6a5d870b.js";
|
|
39
|
+
import { OneNotificationItem as dr, OneNotificationsBell as xr, OneNotificationsPanel as cr, notifyTintClasses as _r, useNotifyfeed as br } from "./notifications/index.js";
|
|
40
|
+
import { OneRadio as yr } from "./radio/index.js";
|
|
41
|
+
import { OneSearchInput as Cr, searchInputProps as gr } from "./searchInput/index.js";
|
|
42
|
+
import { OneSettingsLayout as Mr, OneSettingsRow as Tr, OneSettingsSection as Fr } from "./settings/index.js";
|
|
43
|
+
import { OneSpinner as Lr, spinnerProps as kr, spinnerSizeClasses as Ar } from "./spinner/index.js";
|
|
44
|
+
import { OneStageBadge as Br, stageDefaults as hr } from "./stageBadge/index.js";
|
|
45
|
+
import { OneStepper as Nr, stepperProps as wr } from "./stepper/index.js";
|
|
46
|
+
import { OneSwitch as Gr } from "./switch/index.js";
|
|
47
|
+
import { OneTab as zr, OneTabs as Kr, TabsContextKey as Hr } from "./tabs/index.js";
|
|
48
|
+
import { OneMascotToast as Vr, OneToast as Yr, RabbitIcon as Qr, toastProps as Wr, useMascotToast as qr, useToast as Jr } from "./toast/index.js";
|
|
49
|
+
import { _ as Zr } from "./OneTooltip.vue_vue_type_script_setup_true_lang-c492c128.js";
|
|
50
|
+
import { OneUserInviteModal as et, OneUserList as ot, OneUserListItem as rt } from "./userList/index.js";
|
|
51
|
+
import { DATE_KIND as nt, MANUAL_DATE_KEY as at, MANUAL_RANGE_KEY as st, OnePeriodPicker as pt, OnePeriodPickerFastModal as it, PERIOD_KIND as mt, RANGE_KIND as Ot, buildPreset as ft, buildRollingOptions as ut, createShortcutPresets as lt, determineKind as dt, formatDateShort as xt, formatPeriod as ct, getOptionGranularity as _t, isOptionAllowed as bt, parseManualDate as St, periodPickerSizeConfig as yt, toUnixOrNull as Pt } from "./periodPicker/index.js";
|
|
52
|
+
import { OnePopover as gt, popoverProps as Dt } from "./popover/index.js";
|
|
53
|
+
import { OneProgress as Tt, progressProps as Ft, resolveProgressColor as It } from "./progress/index.js";
|
|
54
|
+
import { OneColumn as kt, OneDataTable as At, OneDataTablePaginator as vt } from "./dataTable/index.js";
|
|
55
|
+
import { OneDateTime as ht, dateTimeProps as Et } from "./dateTime/index.js";
|
|
56
|
+
import { _ as wt } from "./OneFormInput.vue_vue_type_script_setup_true_lang-b89117e7.js";
|
|
57
|
+
import { OneSkeleton as Gt } from "./skeleton/index.js";
|
|
58
|
+
import { default as zt } from "dayjs";
|
|
59
59
|
import "vue";
|
|
60
60
|
import "./_plugin-vue_export-helper-dad06003.js";
|
|
61
61
|
import "vue-markdown-render";
|
|
@@ -69,7 +69,6 @@ import "dayjs/plugin/utc";
|
|
|
69
69
|
import "dayjs/plugin/timezone";
|
|
70
70
|
import "./dropdown-c81fb945.js";
|
|
71
71
|
import "@floating-ui/dom";
|
|
72
|
-
import "@floating-ui/vue";
|
|
73
72
|
import "./NoSymbolIcon-b3470a26.js";
|
|
74
73
|
import "./InformationCircleIcon-2f6097a0.js";
|
|
75
74
|
import "./MagnifyingGlassIcon-ca213d3d.js";
|
|
@@ -82,178 +81,178 @@ import "dayjs/plugin/customParseFormat";
|
|
|
82
81
|
import "./tailwind.config.js";
|
|
83
82
|
import "dayjs/plugin/relativeTime";
|
|
84
83
|
export {
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
84
|
+
nt as DATE_KIND,
|
|
85
|
+
or as LogoOneb,
|
|
86
|
+
at as MANUAL_DATE_KEY,
|
|
87
|
+
st as MANUAL_RANGE_KEY,
|
|
88
|
+
X as OneAuthLayout,
|
|
89
|
+
Q as OneAvatar,
|
|
90
|
+
Z as OneBackButton,
|
|
91
|
+
$ as OneBreadcrumbs,
|
|
92
|
+
mo as OneBrowserMenu,
|
|
93
|
+
bo as OneBrowserMenuGrid,
|
|
94
|
+
A as OneButton,
|
|
95
|
+
B as OneButtonGroup,
|
|
96
|
+
E as OneCard,
|
|
97
|
+
N as OneCardBody,
|
|
98
|
+
w as OneCardFooter,
|
|
99
|
+
R as OneCardHeader,
|
|
100
|
+
U as OneCheckbox,
|
|
101
|
+
K as OneChips,
|
|
102
|
+
V as OneCollapse,
|
|
103
|
+
kt as OneColumn,
|
|
104
|
+
ve as OneConfirmHost,
|
|
105
|
+
Mo as OneCrashScreen,
|
|
106
|
+
Ee as OneCursorList,
|
|
107
|
+
At as OneDataTable,
|
|
108
|
+
vt as OneDataTablePaginator,
|
|
109
|
+
ht as OneDateTime,
|
|
110
|
+
ie as OneDetailsList,
|
|
111
|
+
me as OneDetailsRow,
|
|
112
|
+
Oo as OneDropdown,
|
|
113
|
+
co as OneDropdownAuto,
|
|
114
|
+
So as OneDropdownDivider,
|
|
115
|
+
fo as OneDropdownItem,
|
|
116
|
+
yo as OneDropdownSelect,
|
|
117
|
+
Bo as OneDropzone,
|
|
118
|
+
ee as OneEmptyLayout,
|
|
119
|
+
Co as OneEntityPicker,
|
|
120
|
+
To as OneErrorPage,
|
|
121
|
+
ho as OneFileUpload,
|
|
122
|
+
wo as OneFilterBuilder,
|
|
123
|
+
Ro as OneFilterGroup,
|
|
124
|
+
Go as OneFilterRule,
|
|
125
|
+
Ho as OneForm,
|
|
126
|
+
jo as OneFormFeedback,
|
|
127
|
+
Vo as OneFormField,
|
|
128
|
+
wt as OneFormInput,
|
|
129
|
+
Yo as OneFormLabel,
|
|
130
|
+
oe as OneGridLayout,
|
|
131
|
+
uo as OneHelpMenu,
|
|
132
|
+
Wo as OneIndicators,
|
|
133
|
+
Xo as OneInfobox,
|
|
134
|
+
re as OneIslandLayout,
|
|
135
|
+
$o as OneLabel,
|
|
136
|
+
te as OneMainLayout,
|
|
137
|
+
q as OneMarkdown,
|
|
138
|
+
Vr as OneMascotToast,
|
|
139
|
+
tr as OneModal,
|
|
140
|
+
ar as OneModalBody,
|
|
141
|
+
sr as OneModalFooter,
|
|
142
|
+
pr as OneModalHeader,
|
|
143
|
+
ir as OneModalHost,
|
|
144
|
+
Fo as OneNotFoundPage,
|
|
145
|
+
dr as OneNotificationItem,
|
|
146
|
+
xr as OneNotificationsBell,
|
|
147
|
+
cr as OneNotificationsPanel,
|
|
148
|
+
pt as OnePeriodPicker,
|
|
149
|
+
it as OnePeriodPickerFastModal,
|
|
150
|
+
gt as OnePopover,
|
|
151
|
+
Tt as OneProgress,
|
|
152
|
+
yr as OneRadio,
|
|
153
|
+
Cr as OneSearchInput,
|
|
154
|
+
Io as OneServerErrorPage,
|
|
155
|
+
Mr as OneSettingsLayout,
|
|
156
|
+
Tr as OneSettingsRow,
|
|
157
|
+
Fr as OneSettingsSection,
|
|
158
|
+
ne as OneSidebar,
|
|
159
|
+
Gt as OneSkeleton,
|
|
160
|
+
Lo as OneSnakeGame,
|
|
161
|
+
Lr as OneSpinner,
|
|
162
|
+
se as OneSpinnerIcon,
|
|
163
|
+
Br as OneStageBadge,
|
|
164
|
+
qo as OneStatCard,
|
|
165
|
+
Nr as OneStepper,
|
|
166
|
+
Gr as OneSwitch,
|
|
167
|
+
zr as OneTab,
|
|
168
|
+
Kr as OneTabs,
|
|
169
|
+
Yr as OneToast,
|
|
170
|
+
Zr as OneTooltip,
|
|
171
|
+
et as OneUserInviteModal,
|
|
172
|
+
ot as OneUserList,
|
|
173
|
+
rt as OneUserListItem,
|
|
174
|
+
lo as OneUserMenu,
|
|
175
|
+
T as OnebI18n,
|
|
176
|
+
F as OnebI18nKey,
|
|
177
|
+
mt as PERIOD_KIND,
|
|
178
|
+
Ot as RANGE_KIND,
|
|
179
|
+
Qr as RabbitIcon,
|
|
180
|
+
Hr as TabsContextKey,
|
|
181
|
+
de as breakpointValues,
|
|
182
|
+
ft as buildPreset,
|
|
183
|
+
ut as buildRollingOptions,
|
|
184
|
+
Ge as capitalize,
|
|
185
|
+
H as chipsProps,
|
|
186
|
+
Be as confirmHostProps,
|
|
187
|
+
Ue as containsString,
|
|
188
|
+
we as copyToClipboard,
|
|
189
|
+
ko as createAppErrorHandler,
|
|
190
|
+
lt as createShortcutPresets,
|
|
191
|
+
ze as createVersionChecker,
|
|
192
|
+
Ke as cyrb53,
|
|
193
|
+
He as cyrb53FromObject,
|
|
194
|
+
Et as dateTimeProps,
|
|
195
|
+
zt as dayjs,
|
|
196
|
+
go as defaultEntityPickerTranslations,
|
|
197
|
+
I as defaultTranslations,
|
|
198
|
+
dt as determineKind,
|
|
199
|
+
je as formatAnyPrice,
|
|
200
|
+
Ve as formatBytes,
|
|
201
|
+
Ye as formatDate,
|
|
202
|
+
xt as formatDateShort,
|
|
203
|
+
Qe as formatDateToInput,
|
|
204
|
+
We as formatDuration,
|
|
205
|
+
qe as formatNumber,
|
|
206
|
+
ct as formatPeriod,
|
|
207
|
+
Je as formatPrice,
|
|
208
|
+
_t as getOptionGranularity,
|
|
209
|
+
Xe as getTimezoneOffset,
|
|
210
|
+
Ze as guessTimezone,
|
|
211
|
+
Uo as isFilterGroup,
|
|
212
|
+
bt as isOptionAllowed,
|
|
213
|
+
$e as isString,
|
|
214
|
+
eo as lcfirst,
|
|
215
|
+
oo as makeString,
|
|
216
|
+
_r as notifyTintClasses,
|
|
217
|
+
zo as operatorsForType,
|
|
218
|
+
St as parseManualDate,
|
|
219
|
+
yt as periodPickerSizeConfig,
|
|
220
|
+
ro as pluralize,
|
|
221
|
+
Dt as popoverProps,
|
|
222
|
+
Ft as progressProps,
|
|
223
|
+
It as resolveProgressColor,
|
|
224
|
+
gr as searchInputProps,
|
|
225
|
+
kr as spinnerProps,
|
|
226
|
+
Ar as spinnerSizeClasses,
|
|
227
|
+
hr as stageDefaults,
|
|
228
|
+
wr as stepperProps,
|
|
229
|
+
to as toCamelCase,
|
|
230
|
+
no as toPascalCase,
|
|
231
|
+
ao as toSnakeCase,
|
|
232
|
+
Pt as toUnixOrNull,
|
|
233
|
+
Wr as toastProps,
|
|
234
|
+
so as transliterate,
|
|
235
|
+
po as ucfirst,
|
|
236
|
+
be as useAsyncMethod,
|
|
237
|
+
Se as useAsyncSelect,
|
|
238
|
+
xe as useBreakpoint,
|
|
239
|
+
mr as useComponentModal,
|
|
240
|
+
ge as useConfirm,
|
|
241
|
+
De as useConfirmState,
|
|
242
|
+
Ao as useCrashState,
|
|
243
|
+
ke as useCursorList,
|
|
244
|
+
ye as useDebouncedRef,
|
|
245
|
+
fe as useElementWidth,
|
|
246
|
+
Ie as useFileUpload,
|
|
247
|
+
Pe as useFormSubmit,
|
|
248
|
+
Te as useIsMobile,
|
|
249
|
+
qr as useMascotToast,
|
|
250
|
+
ce as useMediaQuery,
|
|
251
|
+
ur as useModal,
|
|
252
|
+
Or as useModalStackState,
|
|
253
|
+
br as useNotifyfeed,
|
|
254
|
+
L as useOnebI18n,
|
|
255
|
+
ue as useResizeObserver,
|
|
256
|
+
Jr as useToast,
|
|
257
|
+
Eo as validateFiles
|
|
259
258
|
};
|
package/dist/infobox/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),i=require("../XMarkIcon-f94baa4c.cjs"),c=require("../NoSymbolIcon-e84375bb.cjs"),v=require("../InformationCircleIcon-d6b67d5d.cjs"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),i=require("../XMarkIcon-f94baa4c.cjs"),c=require("../NoSymbolIcon-e84375bb.cjs"),v=require("../InformationCircleIcon-d6b67d5d.cjs"),y={title:{type:String,required:!1},text:{type:String,required:!1},icon:{type:[Function,Object]},variant:{type:String,default:"info"},closable:{required:!1,type:Boolean,default:!0}},g={success:["bg-success-10"],warning:["bg-warning-10"],critical:["bg-danger-10"],info:["bg-primary-10"]},B=(r="info")=>{const o=[];return o.push(...g[r]??[]),o},h={key:0,class:"w-full"},x={class:"flex flex-col"},C={key:0,class:"w-full"},N={class:"flex justify-between"},E={class:"flex flex-row"},V={class:"text-xl font-medium pl-2"},w={key:0,class:"pt-3.5 px-8 font-light leading-6"},_={key:1,class:"flex justify-between"},I={key:0,class:"font-light leading-6 truncate pr-3"},S={key:2,class:"px-8 pt-2 flex gap-x-2.5 flex-shrink-0 mt-auto"},q=e.defineComponent({__name:"OneInfobox",props:y,emits:["hide"],setup(r,{emit:o}){const n=r,d=o,a=e.ref(!1),u={success:"text-success-base",warning:"text-warning-base",critical:"text-danger-base",info:"text-primary-base"},m={success:c.render,warning:c.render$1,critical:c.render$2,info:v.render},l=()=>{a.value=!0,d("hide")},p=e.computed(()=>B(n.variant)),f=e.computed(()=>u[n.variant]),k=e.computed(()=>n.icon??m[n.variant]);return(t,s)=>a.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",h,[e.createElementVNode("div",{class:e.normalizeClass(["p-4 rounded",p.value])},[e.createElementVNode("div",x,[t.title?(e.openBlock(),e.createElementBlock("div",C,[e.createElementVNode("div",N,[e.createElementVNode("div",E,[e.createElementVNode("div",{class:e.normalizeClass(f.value)},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(k.value),{class:"h-7 w-7"}))],2),e.createElementVNode("p",V,e.toDisplayString(t.title),1)]),t.closable?(e.openBlock(),e.createElementBlock("button",{key:0,type:"button",onClick:s[0]||(s[0]=b=>l())},[e.createVNode(e.unref(i.render),{class:"h-6 w-6"})])):e.createCommentVNode("",!0)]),t.text?(e.openBlock(),e.createElementBlock("p",w,e.toDisplayString(t.text),1)):e.createCommentVNode("",!0)])):(e.openBlock(),e.createElementBlock("div",_,[t.text?(e.openBlock(),e.createElementBlock("p",I,e.toDisplayString(t.text),1)):e.createCommentVNode("",!0),t.closable?(e.openBlock(),e.createElementBlock("button",{key:1,type:"button",onClick:s[1]||(s[1]=b=>l())},[e.createVNode(e.unref(i.render),{class:"h-6 w-6"})])):e.createCommentVNode("",!0)])),t.$slots.button?(e.openBlock(),e.createElementBlock("div",S,[e.renderSlot(t.$slots,"button",{hideBlock:l})])):e.createCommentVNode("",!0)])],2)]))}});exports.OneInfobox=q;
|
package/dist/infobox/index.js
CHANGED
|
@@ -54,19 +54,19 @@ const O = {
|
|
|
54
54
|
props: O,
|
|
55
55
|
emits: ["hide"],
|
|
56
56
|
setup(l, { emit: r }) {
|
|
57
|
-
const a = l,
|
|
57
|
+
const a = l, y = r, f = $(!1), g = {
|
|
58
58
|
success: "text-success-base",
|
|
59
59
|
warning: "text-warning-base",
|
|
60
60
|
critical: "text-danger-base",
|
|
61
61
|
info: "text-primary-base"
|
|
62
|
-
},
|
|
62
|
+
}, x = {
|
|
63
63
|
success: L,
|
|
64
64
|
warning: j,
|
|
65
65
|
critical: q,
|
|
66
66
|
info: N
|
|
67
67
|
}, c = () => {
|
|
68
|
-
f.value = !0,
|
|
69
|
-
}, h = u(() => D(a.variant)), k = u(() =>
|
|
68
|
+
f.value = !0, y("hide");
|
|
69
|
+
}, h = u(() => D(a.variant)), k = u(() => g[a.variant]), w = u(() => a.icon ?? x[a.variant]);
|
|
70
70
|
return (e, i) => f.value ? o("", !0) : (t(), s("div", E, [
|
|
71
71
|
n("div", {
|
|
72
72
|
class: p(["p-4 rounded", h.value])
|
|
@@ -84,6 +84,7 @@ const O = {
|
|
|
84
84
|
]),
|
|
85
85
|
e.closable ? (t(), s("button", {
|
|
86
86
|
key: 0,
|
|
87
|
+
type: "button",
|
|
87
88
|
onClick: i[0] || (i[0] = (_) => c())
|
|
88
89
|
}, [
|
|
89
90
|
m(b(v), { class: "h-6 w-6" })
|
|
@@ -94,6 +95,7 @@ const O = {
|
|
|
94
95
|
e.text ? (t(), s("p", K, d(e.text), 1)) : o("", !0),
|
|
95
96
|
e.closable ? (t(), s("button", {
|
|
96
97
|
key: 1,
|
|
98
|
+
type: "button",
|
|
97
99
|
onClick: i[1] || (i[1] = (_) => c())
|
|
98
100
|
}, [
|
|
99
101
|
m(b(v), { class: "h-6 w-6" })
|