bt-core-app 1.4.161 → 1.4.163
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/bt-core-app.js +5 -8
- package/dist/index.d.ts +4 -3
- package/package.json +1 -1
package/dist/bt-core-app.js
CHANGED
|
@@ -20915,10 +20915,7 @@ function ms(e) {
|
|
|
20915
20915
|
}
|
|
20916
20916
|
function zk(e) {
|
|
20917
20917
|
function t(n) {
|
|
20918
|
-
|
|
20919
|
-
return {};
|
|
20920
|
-
let a = n;
|
|
20921
|
-
return e.presets[a] ?? {};
|
|
20918
|
+
return n ? (e.presets ?? {})[n] ?? {} : {};
|
|
20922
20919
|
}
|
|
20923
20920
|
return Oo = {
|
|
20924
20921
|
usePresets: t
|
|
@@ -31831,12 +31828,12 @@ const AM = { key: 0 }, DM = /* @__PURE__ */ tt({
|
|
|
31831
31828
|
function G_(e) {
|
|
31832
31829
|
return {
|
|
31833
31830
|
install(t, n) {
|
|
31834
|
-
var c;
|
|
31835
|
-
e.includeComponents == !0 && (t.component("bt-blade-item", DM), t.component("bt-blade-items", gh), t.component("bt-blade", IM), t.component("bt-btn", EM), t.component("bt-col", VM), t.component("bt-date", ry), t.component("bt-entity", $M), t.component("bt-field-checkbox", NM), t.component("bt-field-date", BM), t.component("bt-field-entity", RM), t.component("bt-field-select", FM), t.component("bt-field-string", OM), t.component("bt-field-switch", HM), t.component("bt-field-tags", zM), t.component("bt-field-text-area", YM), t.component("bt-field-trigger", ZM), t.component("bt-header-option", QM), t.component("bt-json", e_), t.component("bt-nav-sidebar", t_), t.component("bt-number", ly), t.component("bt-select-list-box", n_), t.component("bt-select", a_), t.component("bt-span", r_)), e.
|
|
31831
|
+
var c, h;
|
|
31832
|
+
e.includeComponents == !0 && (t.component("bt-blade-item", DM), t.component("bt-blade-items", gh), t.component("bt-blade", IM), t.component("bt-btn", EM), t.component("bt-col", VM), t.component("bt-date", ry), t.component("bt-entity", $M), t.component("bt-field-checkbox", NM), t.component("bt-field-date", BM), t.component("bt-field-entity", RM), t.component("bt-field-select", FM), t.component("bt-field-string", OM), t.component("bt-field-switch", HM), t.component("bt-field-tags", zM), t.component("bt-field-text-area", YM), t.component("bt-field-trigger", ZM), t.component("bt-header-option", QM), t.component("bt-json", e_), t.component("bt-nav-sidebar", t_), t.component("bt-number", ly), t.component("bt-select-list-box", n_), t.component("bt-select", a_), t.component("bt-span", r_)), e.cosmetics ?? (e.cosmetics = {}), (c = e.cosmetics).vuetifyInstance ?? (c.vuetifyInstance = n.vuetifyInstance);
|
|
31836
31833
|
const a = M0(e.urls);
|
|
31837
|
-
B0(e);
|
|
31834
|
+
B0(e.cosmetics);
|
|
31838
31835
|
const r = H0(), l = Hk(e.navigation ?? {});
|
|
31839
|
-
zk(e), (
|
|
31836
|
+
zk(e), (h = e.auth).demo ?? (h.demo = r), e.auth.getAuthItem = l.findItem;
|
|
31840
31837
|
const i = V0(e.auth);
|
|
31841
31838
|
xM(e.menu);
|
|
31842
31839
|
const s = E0({
|
package/dist/index.d.ts
CHANGED
|
@@ -302,12 +302,13 @@ export declare interface CreateAuthOptions {
|
|
|
302
302
|
|
|
303
303
|
export declare function createCore(options: CreateCoreOptions): CoreApp;
|
|
304
304
|
|
|
305
|
-
export declare interface CreateCoreOptions
|
|
305
|
+
export declare interface CreateCoreOptions {
|
|
306
306
|
auth: CreateAuthOptions;
|
|
307
|
+
cosmetics?: UseCosmeticsOptions<BaseCosmeticTheme>;
|
|
307
308
|
includeComponents?: boolean;
|
|
308
309
|
menu?: CreateMenuOptions;
|
|
309
310
|
navigation?: UseNavigationOptions;
|
|
310
|
-
presets
|
|
311
|
+
presets?: any;
|
|
311
312
|
/**suboptions */
|
|
312
313
|
subscriptionOptions?: AuthSubscription[];
|
|
313
314
|
urls: CreateUrlOptions;
|
|
@@ -344,7 +345,7 @@ export declare function createNavigation(options: UseNavigationOptions): BTNavig
|
|
|
344
345
|
export declare function createPresets(options: CreatePresetsOptions): BTPresets;
|
|
345
346
|
|
|
346
347
|
export declare interface CreatePresetsOptions {
|
|
347
|
-
presets
|
|
348
|
+
presets?: any;
|
|
348
349
|
}
|
|
349
350
|
|
|
350
351
|
export declare function createPWA(): BTPWA;
|
package/package.json
CHANGED