@iankibetsh/shframework 4.7.2 → 4.7.4

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/library.js CHANGED
@@ -6811,7 +6811,7 @@ return (_ctx, _cache) => {
6811
6811
  "success-callback": "departmentAdded",
6812
6812
  "current-data": department.value,
6813
6813
  onDepartmentAdded: departmentAdded,
6814
- action: "admin/departments/store",
6814
+ action: "sh-departments",
6815
6815
  fields: ['name','description']
6816
6816
  }, null, 8 /* PROPS */, ["current-data"])
6817
6817
  ]),
@@ -7270,6 +7270,7 @@ const ShFrontend = {
7270
7270
  const forgotEndpoint = options.forgotEndpoint ?? 'auth/forgot-password';
7271
7271
  const registerTitle = options.registerTitle ?? 'Create a new account';
7272
7272
  const registerSubTitle = options.registerSubTitle ?? `It's quick and easy`;
7273
+ const loginTitle = options.loginTitle ?? `Login to your account`;
7273
7274
  const logoutApiEndpoint = options.logoutApiEndpoint ?? `auth/logout`;
7274
7275
  options.formTextInput ?? script$t;
7275
7276
  const loginUrl = options.loginUrl ?? `/login`;
@@ -7284,6 +7285,7 @@ const ShFrontend = {
7284
7285
  app.provide('registerTitle', registerTitle);
7285
7286
  app.provide('registerSubTitle', registerSubTitle);
7286
7287
  app.provide('redirectLogin', redirectLogin);
7288
+ app.provide('loginTitle', loginTitle);
7287
7289
  app.provide('redirectRegister', redirectRegister);
7288
7290
  app.provide('logoutApiEndpoint', logoutApiEndpoint);
7289
7291
  app.provide('formComponents', options.shFormComponents ?? {});
package/dist/library.mjs CHANGED
@@ -6799,7 +6799,7 @@ return (_ctx, _cache) => {
6799
6799
  "success-callback": "departmentAdded",
6800
6800
  "current-data": department.value,
6801
6801
  onDepartmentAdded: departmentAdded,
6802
- action: "admin/departments/store",
6802
+ action: "sh-departments",
6803
6803
  fields: ['name','description']
6804
6804
  }, null, 8 /* PROPS */, ["current-data"])
6805
6805
  ]),
@@ -7258,6 +7258,7 @@ const ShFrontend = {
7258
7258
  const forgotEndpoint = options.forgotEndpoint ?? 'auth/forgot-password';
7259
7259
  const registerTitle = options.registerTitle ?? 'Create a new account';
7260
7260
  const registerSubTitle = options.registerSubTitle ?? `It's quick and easy`;
7261
+ const loginTitle = options.loginTitle ?? `Login to your account`;
7261
7262
  const logoutApiEndpoint = options.logoutApiEndpoint ?? `auth/logout`;
7262
7263
  options.formTextInput ?? script$t;
7263
7264
  const loginUrl = options.loginUrl ?? `/login`;
@@ -7272,6 +7273,7 @@ const ShFrontend = {
7272
7273
  app.provide('registerTitle', registerTitle);
7273
7274
  app.provide('registerSubTitle', registerSubTitle);
7274
7275
  app.provide('redirectLogin', redirectLogin);
7276
+ app.provide('loginTitle', loginTitle);
7275
7277
  app.provide('redirectRegister', redirectRegister);
7276
7278
  app.provide('logoutApiEndpoint', logoutApiEndpoint);
7277
7279
  app.provide('formComponents', options.shFormComponents ?? {});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iankibetsh/shframework",
3
- "version": "4.7.2",
3
+ "version": "4.7.4",
4
4
  "description": "Vue library for handling laravel backend",
5
5
  "main": "dist/library.js",
6
6
  "module": "dist/library.mjs",