lesli_admin 0.2.0 → 0.3.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.
- checksums.yaml +4 -4
- data/app/assets/config/lesli_admin_manifest.js +0 -1
- data/app/assets/javascripts/lesli_admin/application.js +108 -20
- data/app/assets/stylesheets/lesli_admin/application.scss +2 -1
- data/app/controllers/lesli_admin/profiles_controller.rb +2 -2
- data/app/controllers/lesli_admin/users_controller.rb +191 -6
- data/app/models/lesli_admin/account.rb +3 -31
- data/app/services/lesli_admin/user_service.rb +265 -0
- data/config/locales/translations.en.yml +3 -4
- data/config/locales/translations.es.yml +3 -4
- data/config/routes.rb +1 -1
- data/db/migrate/0101000110_create_lesli_admin_accounts.rb +42 -0
- data/lib/lesli_admin/version.rb +2 -2
- data/lib/vue/apps/account/components/form-information.vue +1 -1
- data/lib/vue/apps/account/show.vue +1 -1
- data/lib/vue/apps/dashboard/show.vue +0 -1
- data/lib/vue/apps/profile/show.vue +12 -8
- data/lib/vue/apps/users/index.vue +0 -1
- data/lib/vue/apps/users/show.vue +1 -1
- data/lib/vue/stores/translations.json +28 -10
- data/lib/vue/stores/user.js +331 -0
- data/lib/vue/stores/users.js +26 -1
- data/readme.md +3 -3
- metadata +19 -6
- data/app/assets/javascripts/lesli_admin/translations.js +0 -2291
- data/app/views/lesli_admin/profiles/edit.html.erb +0 -10
- data/app/views/lesli_admin/profiles/index.html.erb +0 -14
- data/app/views/lesli_admin/profiles/new.html.erb +0 -9
@@ -148,7 +148,18 @@ eval("var __WEBPACK_AMD_DEFINE_RESULT__;/*!\n * ApexCharts v3.41.1\n * (c) 2018-
|
|
148
148
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
149
149
|
|
150
150
|
"use strict";
|
151
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var pinia__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! pinia */ \"./node_modules/pinia/dist/pinia.mjs\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.esm-bundler.js\");\n/* harmony import */ var vue_router__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! vue-router */ \"./node_modules/vue-router/dist/vue-router.mjs\");\n/* harmony import */ var lesli_js_debug_browser__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lesli-js/debug/browser */ \"../../enginesdev/lesli-js/source/debug/browser.js\");\n/* harmony import */ var lesli_js_debug_browser__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lesli_js_debug_browser__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var Lesli_layouts_application_header_vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! Lesli/layouts/application-header.vue */ \"./lib/vue/layouts/application-header.vue\");\n/* harmony import */ var Lesli_layouts_application_engines_vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! Lesli/layouts/application-engines.vue */ \"./lib/vue/layouts/application-engines.vue\");\n/* harmony import */ var Lesli_layouts_application_container_vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! Lesli/layouts/application-container.vue */ \"./lib/vue/layouts/application-container.vue\");\n/* harmony import */ var Lesli_layouts_application_component_vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! Lesli/layouts/application-component.vue */ \"./lib/vue/layouts/application-component.vue\");\n/* harmony import */ var lesli_vue_elements__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! lesli-vue/elements */ \"../../enginesdev/lesli-vue/source/elements/index.js\");\n/* harmony import */ var lesli_vue_composables__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! lesli-vue/composables */ \"../../enginesdev/lesli-vue/source/composables/index.js\");\n/*\nLesli\n\nCopyright (c) 2023, Lesli Technologies, S. A.\n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program. If not, see http://www.gnu.org/licenses/.\n\nLesli · Ruby on Rails SaaS Development Framework.\n\nMade with ♥ by https://www.lesli.tech\nBuilding a better future, one line of code at a time.\n\n@contact hello@lesli.tech\n@website https://www.lesli.tech\n@license GPLv3 http://www.gnu.org/licenses/gpl-3.0.en.html\n\n// · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~\n// · \n*/\n\n// · Loading core framework and libraries\n\n\n\n\n\n// custom console.log implementation for Lesli\nwindow.debug = (lesli_js_debug_browser__WEBPACK_IMPORTED_MODULE_1___default());\n\n// · Loading application layout components\n\n\n\n\n\n/*\nimport componentApplicationFooter from \"Lesli/layouts/application-footer.vue\"\nimport componentApplicationSearch from \"Lesli/layouts/application-search.vue\"\nimport componentApplicationSidebar from \"Lesli/layouts/application-sidebar.vue\"\nimport componentApplicationAnnouncement from \"Lesli/layouts/application-announcements.vue\"\nimport componentApplicationPanelTasks from \"Lesli/panels/panel-tasks.vue\"\nimport componentApplicationPanelFiles from \"Lesli/panels/panel-files.vue\"\nimport componentApplicationPanelTickets from \"Lesli/panels/panel-tickets.vue\"\nimport componentApplicationPanelProfile from \"Lesli/panels/panel-profile.vue\"\nimport componentApplicationPanelNotifications from \"Lesli/panels/panel-notifications.vue\"\nimport componentApplicationPanelAnnouncements from \"Lesli/panels/panel-announcements.vue\"\n*/\n\n// · Loading global layout components\n\n\n// · Loading vue/pinia plugins as composables\n\n\n// · engine: List of controllers apps loaded\n// · routes: Array of routes for Vue \n// · example: app(\"CloudAudit\", [])\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (function (engine) {\n let routes = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n // · Base path for the engines/core url's\n const base_path = \"/\";\n\n // · Vue app configuration container\n let appbuilder = {};\n\n // · Loading Lesli local layout components\n appbuilder[\"components\"] = {\n \"lesli-application-header\": Lesli_layouts_application_header_vue__WEBPACK_IMPORTED_MODULE_2__[\"default\"],\n \"lesli-application-engines\": Lesli_layouts_application_engines_vue__WEBPACK_IMPORTED_MODULE_3__[\"default\"]\n /*\n \"application-component-footer\": componentApplicationFooter,\n \"application-component-search\": componentApplicationSearch,\n \"application-component-sidebar\": componentApplicationSidebar,\n \"application-component-announcements\": componentApplicationAnnouncement,\n \"application-component-panel-tasks\": componentApplicationPanelTasks,\n \"application-component-panel-files\": componentApplicationPanelFiles,\n \"application-component-panel-tickets\": componentApplicationPanelTickets,\n \"application-component-panel-profile\": componentApplicationPanelProfile,\n \"application-component-panel-announcements\": componentApplicationPanelAnnouncements,\n \"application-component-panel-notifications\": componentApplicationPanelNotifications\n */\n };\n\n // · Use pinia as app state management\n const pinia = (0,pinia__WEBPACK_IMPORTED_MODULE_8__.createPinia)();\n\n // · Loading pinia handmade plugins\n pinia.use(() => ({\n msg: (0,lesli_vue_composables__WEBPACK_IMPORTED_MODULE_7__.useLesliMsg)()\n }));\n pinia.use(() => ({\n url: (0,lesli_vue_composables__WEBPACK_IMPORTED_MODULE_7__.useLesliUrl)()\n }));\n pinia.use(() => ({\n http: (0,lesli_vue_composables__WEBPACK_IMPORTED_MODULE_7__.useLesliHttp)()\n }));\n pinia.use(() => ({\n date: (0,lesli_vue_composables__WEBPACK_IMPORTED_MODULE_7__.useLesliDate)()\n }));\n pinia.use(() => ({\n utils: (0,lesli_vue_composables__WEBPACK_IMPORTED_MODULE_7__.useLesliUtils)()\n }));\n pinia.use(() => ({\n dialog: (0,lesli_vue_composables__WEBPACK_IMPORTED_MODULE_7__.useLesliDialog)()\n }));\n\n // · Global vue router\n const router = (0,vue_router__WEBPACK_IMPORTED_MODULE_9__.createRouter)({\n history: (0,vue_router__WEBPACK_IMPORTED_MODULE_9__.createWebHistory)(base_path),\n routes: routes.map(route => {\n // concat the base path to all routes\n // this allow to use the rails route constants\n // example: projects_path is equal to /crm/projects\n route.path = base_path.concat(lesli.engine_paths[engine]).concat(route.path);\n return route;\n })\n });\n\n // · \n router.afterEach((to, from) => {\n // Use next tick to handle router history correctly\n (0,vue__WEBPACK_IMPORTED_MODULE_0__.nextTick)(() => {\n // update the page title according to the working app\n document.title = `${lesli?.company?.name} · ${to.path.substring(1) || 'Dashboard'}`;\n\n // default class for the specific instance\n document.body.className = lesli?.instance;\n\n // using the path as class id for the body\n // the class will be: \"engine-controller\"\n var cssclass = to.path.substring(1) // remove the first slash\n .split(\"/\") // create an array splited by slashes\n .filter(e => e != \"\") // remove empty strings\n .slice(0, 2) // get the first two items of the array\n .join(\"-\"); // create a string joined by dashes\n\n // add the css class to the body\n if (cssclass) {\n document.body.classList.add(\"lesli-\".concat(cssclass));\n }\n });\n });\n\n // · Create a beautiful Vue 3 app\n const application = (0,vue__WEBPACK_IMPORTED_MODULE_0__.createApp)(appbuilder);\n\n // · Provide composables to make them available in all the components\n application.provide('msg', (0,lesli_vue_composables__WEBPACK_IMPORTED_MODULE_7__.useLesliMsg)());\n application.provide('url', (0,lesli_vue_composables__WEBPACK_IMPORTED_MODULE_7__.useLesliUrl)());\n application.provide('http', (0,lesli_vue_composables__WEBPACK_IMPORTED_MODULE_7__.useLesliHttp)());\n application.provide('date', (0,lesli_vue_composables__WEBPACK_IMPORTED_MODULE_7__.useLesliDate)());\n application.provide('date', (0,lesli_vue_composables__WEBPACK_IMPORTED_MODULE_7__.useLesliDate)());\n application.provide('utils', (0,lesli_vue_composables__WEBPACK_IMPORTED_MODULE_7__.useLesliUtils)());\n application.provide('dialog', (0,lesli_vue_composables__WEBPACK_IMPORTED_MODULE_7__.useLesliDialog)());\n\n // · Extending vue\n application.use(pinia);\n application.use(router);\n\n // · Register global layouts\n application.component(\"lesli-application-container\", Lesli_layouts_application_container_vue__WEBPACK_IMPORTED_MODULE_4__[\"default\"]);\n application.component(\"lesli-application-component\", Lesli_layouts_application_component_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"]);\n\n // · Loading Lesli handmade global components\n application.component(\"lesli-icon\", lesli_vue_elements__WEBPACK_IMPORTED_MODULE_6__.lesliElementIcon);\n application.component(\"lesli-empty\", lesli_vue_elements__WEBPACK_IMPORTED_MODULE_6__.lesliElementEmpty);\n application.component(\"lesli-header\", lesli_vue_elements__WEBPACK_IMPORTED_MODULE_6__.lesliElementHeader);\n application.component(\"lesli-select\", lesli_vue_elements__WEBPACK_IMPORTED_MODULE_6__.lesliElementSelect);\n application.component(\"lesli-toolbar\", lesli_vue_elements__WEBPACK_IMPORTED_MODULE_6__.lesliElementToolbar);\n application.component(\"lesli-loading\", lesli_vue_elements__WEBPACK_IMPORTED_MODULE_6__.lesliElementLoading);\n application.component(\"lesli-table\", lesli_vue_elements__WEBPACK_IMPORTED_MODULE_6__.lesliElementTable);\n application.component(\"lesli-collapse\", lesli_vue_elements__WEBPACK_IMPORTED_MODULE_6__.lesliElementCollapse);\n application.component(\"lesli-tab-item\", lesli_vue_elements__WEBPACK_IMPORTED_MODULE_6__.lesliElementTabItem);\n application.component(\"lesli-tabs\", lesli_vue_elements__WEBPACK_IMPORTED_MODULE_6__.lesliElementTabs);\n application.component(\"lesli-panel\", lesli_vue_elements__WEBPACK_IMPORTED_MODULE_6__.lesliElementPanel);\n application.component(\"lesli-button\", lesli_vue_elements__WEBPACK_IMPORTED_MODULE_6__.lesliElementButton);\n application.component(\"lesli-calendar\", lesli_vue_elements__WEBPACK_IMPORTED_MODULE_6__.lesliElementCalendar);\n application.component(\"lesli-input-tag\", lesli_vue_elements__WEBPACK_IMPORTED_MODULE_6__.lesliElementInputTag);\n application.component(\"lesli-file-uploader\", lesli_vue_elements__WEBPACK_IMPORTED_MODULE_6__.lesliElementFileUploader);\n application.component(\"lesli-navigation-list\", lesli_vue_elements__WEBPACK_IMPORTED_MODULE_6__.lesliElementNavigationList);\n application.component(\"lesli-avatar\", lesli_vue_elements__WEBPACK_IMPORTED_MODULE_6__.lesliElementAvatar);\n application.component(\"lesli-toggle\", lesli_vue_elements__WEBPACK_IMPORTED_MODULE_6__.lesliElementToggle);\n application.component(\"lesli-dropdown\", lesli_vue_elements__WEBPACK_IMPORTED_MODULE_6__.lesliElementDropdown);\n application.component(\"lesli-map\", lesli_vue_elements__WEBPACK_IMPORTED_MODULE_6__.lesliElementMap);\n //application.component(\"lesli-gallery\", lesliElementGallery)\n application.component(\"lesli-autocomplete\", lesli_vue_elements__WEBPACK_IMPORTED_MODULE_6__.lesliElementAutocomplete);\n application.component(\"lesli-pagination\", lesli_vue_elements__WEBPACK_IMPORTED_MODULE_6__.lesliElementPagination);\n application.component(\"lesli-form\", lesli_vue_elements__WEBPACK_IMPORTED_MODULE_6__.lesliElementForm);\n application.component(\"lesli-input\", lesli_vue_elements__WEBPACK_IMPORTED_MODULE_6__.lesliElementInput);\n application.component(\"lesli-control\", lesli_vue_elements__WEBPACK_IMPORTED_MODULE_6__.lesliElementControl);\n application.component(\"lesli-card\", lesli_vue_elements__WEBPACK_IMPORTED_MODULE_6__.lesliElementCard);\n\n // · Mount app once DOM is ready\n document.addEventListener(\"DOMContentLoaded\", () => {\n // · mount the app on the main html tag\n application.mount(\"#lesli-application\");\n\n // · development message about vue app loaded\n if (true) {\n lesli_js_debug_browser__WEBPACK_IMPORTED_MODULE_1___default().info(`${engine} --> ${lesli.engine_paths[engine]}`, \"vue/application\");\n }\n\n // · console production message\n if (false) {}\n });\n return application;\n});\n\n//# sourceURL=webpack://lesli/./lib/vue/application.js?");
|
151
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var pinia__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! pinia */ \"./node_modules/pinia/dist/pinia.mjs\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.esm-bundler.js\");\n/* harmony import */ var vue_router__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! vue-router */ \"./node_modules/vue-router/dist/vue-router.mjs\");\n/* harmony import */ var lesli_js_debug_browser__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lesli-js/debug/browser */ \"../../enginesdev/lesli-js/source/debug/browser.js\");\n/* harmony import */ var lesli_js_debug_browser__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lesli_js_debug_browser__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var Lesli_layouts_application_header_vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! Lesli/layouts/application-header.vue */ \"./lib/vue/layouts/application-header.vue\");\n/* harmony import */ var Lesli_layouts_application_engines_vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! Lesli/layouts/application-engines.vue */ \"./lib/vue/layouts/application-engines.vue\");\n/* harmony import */ var Lesli_layouts_application_container_vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! Lesli/layouts/application-container.vue */ \"./lib/vue/layouts/application-container.vue\");\n/* harmony import */ var Lesli_layouts_application_component_vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! Lesli/layouts/application-component.vue */ \"./lib/vue/layouts/application-component.vue\");\n/* harmony import */ var lesli_vue_elements__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! lesli-vue/elements */ \"../../enginesdev/lesli-vue/source/elements/index.js\");\n/* harmony import */ var lesli_vue_composables__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! lesli-vue/composables */ \"../../enginesdev/lesli-vue/source/composables/index.js\");\n/*\nLesli\n\nCopyright (c) 2023, Lesli Technologies, S. A.\n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program. If not, see http://www.gnu.org/licenses/.\n\nLesli · Ruby on Rails SaaS Development Framework.\n\nMade with ♥ by https://www.lesli.tech\nBuilding a better future, one line of code at a time.\n\n@contact hello@lesli.tech\n@website https://www.lesli.tech\n@license GPLv3 http://www.gnu.org/licenses/gpl-3.0.en.html\n\n// · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~\n// · \n*/\n\n// · Loading core framework and libraries\n\n\n\n\n\n// custom console.log implementation for Lesli\nwindow.debug = (lesli_js_debug_browser__WEBPACK_IMPORTED_MODULE_1___default());\n\n// · Loading application layout components\n\n\n\n\n\n/*\nimport componentApplicationFooter from \"Lesli/layouts/application-footer.vue\"\nimport componentApplicationSearch from \"Lesli/layouts/application-search.vue\"\nimport componentApplicationSidebar from \"Lesli/layouts/application-sidebar.vue\"\nimport componentApplicationAnnouncement from \"Lesli/layouts/application-announcements.vue\"\nimport componentApplicationPanelTasks from \"Lesli/panels/panel-tasks.vue\"\nimport componentApplicationPanelFiles from \"Lesli/panels/panel-files.vue\"\nimport componentApplicationPanelTickets from \"Lesli/panels/panel-tickets.vue\"\nimport componentApplicationPanelProfile from \"Lesli/panels/panel-profile.vue\"\nimport componentApplicationPanelNotifications from \"Lesli/panels/panel-notifications.vue\"\nimport componentApplicationPanelAnnouncements from \"Lesli/panels/panel-announcements.vue\"\n*/\n\n// · Loading global layout components\n\n\n// · Loading vue/pinia plugins as composables\n\n\n// · engine: List of controllers apps loaded\n// · routes: Array of routes for Vue \n// · example: app(\"CloudAudit\", [])\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (function (engine) {\n let routes = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n // · Base path for the engines/core url's\n const base_path = \"/\";\n\n // · Vue app configuration container\n let appbuilder = {};\n\n // · Loading Lesli local layout components\n appbuilder[\"components\"] = {\n \"lesli-application-header\": Lesli_layouts_application_header_vue__WEBPACK_IMPORTED_MODULE_2__[\"default\"],\n \"lesli-application-engines\": Lesli_layouts_application_engines_vue__WEBPACK_IMPORTED_MODULE_3__[\"default\"]\n /*\n \"application-component-footer\": componentApplicationFooter,\n \"application-component-search\": componentApplicationSearch,\n \"application-component-sidebar\": componentApplicationSidebar,\n \"application-component-announcements\": componentApplicationAnnouncement,\n \"application-component-panel-tasks\": componentApplicationPanelTasks,\n \"application-component-panel-files\": componentApplicationPanelFiles,\n \"application-component-panel-tickets\": componentApplicationPanelTickets,\n \"application-component-panel-profile\": componentApplicationPanelProfile,\n \"application-component-panel-announcements\": componentApplicationPanelAnnouncements,\n \"application-component-panel-notifications\": componentApplicationPanelNotifications\n */\n };\n\n // · Use pinia as app state management\n const pinia = (0,pinia__WEBPACK_IMPORTED_MODULE_8__.createPinia)();\n\n // · Loading pinia handmade plugins\n pinia.use(() => ({\n msg: (0,lesli_vue_composables__WEBPACK_IMPORTED_MODULE_7__.useLesliMsg)()\n }));\n pinia.use(() => ({\n url: (0,lesli_vue_composables__WEBPACK_IMPORTED_MODULE_7__.useLesliUrl)()\n }));\n pinia.use(() => ({\n http: (0,lesli_vue_composables__WEBPACK_IMPORTED_MODULE_7__.useLesliHttp)()\n }));\n pinia.use(() => ({\n date: (0,lesli_vue_composables__WEBPACK_IMPORTED_MODULE_7__.useLesliDate)()\n }));\n pinia.use(() => ({\n utils: (0,lesli_vue_composables__WEBPACK_IMPORTED_MODULE_7__.useLesliUtils)()\n }));\n pinia.use(() => ({\n dialog: (0,lesli_vue_composables__WEBPACK_IMPORTED_MODULE_7__.useLesliDialog)()\n }));\n\n // · Global vue router\n const router = (0,vue_router__WEBPACK_IMPORTED_MODULE_9__.createRouter)({\n history: (0,vue_router__WEBPACK_IMPORTED_MODULE_9__.createWebHistory)(base_path),\n routes: routes.map(route => {\n // concat the base path to all routes\n // this allow to use the rails route constants\n // example: projects_path is equal to /crm/projects\n route.path = base_path.concat(lesli.engine_paths[engine]).concat(route.path);\n return route;\n })\n });\n\n // · \n router.afterEach((to, from) => {\n // Use next tick to handle router history correctly\n (0,vue__WEBPACK_IMPORTED_MODULE_0__.nextTick)(() => {\n // update the page title according to the working app\n document.title = `${lesli?.company?.name} · ${to.path.substring(1) || 'Dashboard'}`;\n\n // default class for the specific instance\n document.body.className = lesli?.instance;\n\n // using the path as class id for the body\n // the class will be: \"engine-controller\"\n var cssclass = to.path.substring(1) // remove the first slash\n .split(\"/\") // create an array splited by slashes\n .filter(e => e != \"\") // remove empty strings\n .slice(0, 2) // get the first two items of the array\n .join(\"-\"); // create a string joined by dashes\n\n // add the css class to the body\n if (cssclass) {\n document.body.classList.add(\"lesli-\".concat(cssclass));\n }\n });\n });\n\n // · Create a beautiful Vue 3 app\n const application = (0,vue__WEBPACK_IMPORTED_MODULE_0__.createApp)(appbuilder);\n\n // · Provide composables to make them available in all the components\n application.provide('msg', (0,lesli_vue_composables__WEBPACK_IMPORTED_MODULE_7__.useLesliMsg)());\n application.provide('url', (0,lesli_vue_composables__WEBPACK_IMPORTED_MODULE_7__.useLesliUrl)());\n application.provide('http', (0,lesli_vue_composables__WEBPACK_IMPORTED_MODULE_7__.useLesliHttp)());\n application.provide('date', (0,lesli_vue_composables__WEBPACK_IMPORTED_MODULE_7__.useLesliDate)());\n application.provide('date', (0,lesli_vue_composables__WEBPACK_IMPORTED_MODULE_7__.useLesliDate)());\n application.provide('utils', (0,lesli_vue_composables__WEBPACK_IMPORTED_MODULE_7__.useLesliUtils)());\n application.provide('dialog', (0,lesli_vue_composables__WEBPACK_IMPORTED_MODULE_7__.useLesliDialog)());\n\n // · Extending vue\n application.use(pinia);\n application.use(router);\n\n // · Register global layouts\n application.component(\"lesli-application-container\", Lesli_layouts_application_container_vue__WEBPACK_IMPORTED_MODULE_4__[\"default\"]);\n application.component(\"lesli-application-component\", Lesli_layouts_application_component_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"]);\n\n // · Loading Lesli handmade global components\n application.component(\"lesli-icon\", lesli_vue_elements__WEBPACK_IMPORTED_MODULE_6__.lesliElementIcon);\n application.component(\"lesli-empty\", lesli_vue_elements__WEBPACK_IMPORTED_MODULE_6__.lesliElementEmpty);\n application.component(\"lesli-header\", lesli_vue_elements__WEBPACK_IMPORTED_MODULE_6__.lesliElementHeader);\n application.component(\"lesli-select\", lesli_vue_elements__WEBPACK_IMPORTED_MODULE_6__.lesliElementSelect);\n application.component(\"lesli-toolbar\", lesli_vue_elements__WEBPACK_IMPORTED_MODULE_6__.lesliElementToolbar);\n application.component(\"lesli-loading\", lesli_vue_elements__WEBPACK_IMPORTED_MODULE_6__.lesliElementLoading);\n application.component(\"lesli-table\", lesli_vue_elements__WEBPACK_IMPORTED_MODULE_6__.lesliElementTable);\n application.component(\"lesli-collapse\", lesli_vue_elements__WEBPACK_IMPORTED_MODULE_6__.lesliElementCollapse);\n application.component(\"lesli-column\", lesli_vue_elements__WEBPACK_IMPORTED_MODULE_6__.lesliElementColumn);\n application.component(\"lesli-columns\", lesli_vue_elements__WEBPACK_IMPORTED_MODULE_6__.lesliElementColumns);\n application.component(\"lesli-card\", lesli_vue_elements__WEBPACK_IMPORTED_MODULE_6__.lesliElementCard);\n application.component(\"lesli-control\", lesli_vue_elements__WEBPACK_IMPORTED_MODULE_6__.lesliElementControl);\n application.component(\"lesli-tab-item\", lesli_vue_elements__WEBPACK_IMPORTED_MODULE_6__.lesliElementTabItem);\n application.component(\"lesli-tabs\", lesli_vue_elements__WEBPACK_IMPORTED_MODULE_6__.lesliElementTabs);\n application.component(\"lesli-panel\", lesli_vue_elements__WEBPACK_IMPORTED_MODULE_6__.lesliElementPanel);\n application.component(\"lesli-button\", lesli_vue_elements__WEBPACK_IMPORTED_MODULE_6__.lesliElementButton);\n application.component(\"lesli-calendar\", lesli_vue_elements__WEBPACK_IMPORTED_MODULE_6__.lesliElementCalendar);\n application.component(\"lesli-input-tag\", lesli_vue_elements__WEBPACK_IMPORTED_MODULE_6__.lesliElementInputTag);\n application.component(\"lesli-file-uploader\", lesli_vue_elements__WEBPACK_IMPORTED_MODULE_6__.lesliElementFileUploader);\n application.component(\"lesli-navigation-list\", lesli_vue_elements__WEBPACK_IMPORTED_MODULE_6__.lesliElementNavigationList);\n application.component(\"lesli-avatar\", lesli_vue_elements__WEBPACK_IMPORTED_MODULE_6__.lesliElementAvatar);\n application.component(\"lesli-toggle\", lesli_vue_elements__WEBPACK_IMPORTED_MODULE_6__.lesliElementToggle);\n application.component(\"lesli-dropdown\", lesli_vue_elements__WEBPACK_IMPORTED_MODULE_6__.lesliElementDropdown);\n application.component(\"lesli-map\", lesli_vue_elements__WEBPACK_IMPORTED_MODULE_6__.lesliElementMap);\n //application.component(\"lesli-gallery\", lesliElementGallery)\n application.component(\"lesli-autocomplete\", lesli_vue_elements__WEBPACK_IMPORTED_MODULE_6__.lesliElementAutocomplete);\n application.component(\"lesli-pagination\", lesli_vue_elements__WEBPACK_IMPORTED_MODULE_6__.lesliElementPagination);\n application.component(\"lesli-form\", lesli_vue_elements__WEBPACK_IMPORTED_MODULE_6__.lesliElementForm);\n application.component(\"lesli-input\", lesli_vue_elements__WEBPACK_IMPORTED_MODULE_6__.lesliElementInput);\n application.component(\"lesli-link\", lesli_vue_elements__WEBPACK_IMPORTED_MODULE_6__.lesliElementLink);\n\n // · Mount app once DOM is ready\n document.addEventListener(\"DOMContentLoaded\", () => {\n // · mount the app on the main html tag\n application.mount(\"#lesli-application\");\n\n // · development message about vue app loaded\n if (true) {\n lesli_js_debug_browser__WEBPACK_IMPORTED_MODULE_1___default().info(`${engine} --> ${lesli.engine_paths[engine]}`, \"vue/application\");\n }\n\n // · console production message\n if (false) {}\n });\n return application;\n});\n\n//# sourceURL=webpack://lesli/./lib/vue/application.js?");
|
152
|
+
|
153
|
+
/***/ }),
|
154
|
+
|
155
|
+
/***/ "./lib/vue/stores/account.js":
|
156
|
+
/*!***********************************!*\
|
157
|
+
!*** ./lib/vue/stores/account.js ***!
|
158
|
+
\***********************************/
|
159
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
160
|
+
|
161
|
+
"use strict";
|
162
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ useAccount: () => (/* binding */ useAccount)\n/* harmony export */ });\n/* harmony import */ var pinia__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! pinia */ \"./node_modules/pinia/dist/pinia.mjs\");\n/*\nLesli\n\nCopyright (c) 2023, Lesli Technologies, S. A.\n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program. If not, see http://www.gnu.org/licenses/.\n\nLesli · Ruby on Rails SaaS Development Framework.\n\nMade with ♥ by https://www.lesli.tech\nBuilding a better future, one line of code at a time.\n\n@contact hello@lesli.tech\n@website https://www.lesli.tech\n@license GPLv3 http://www.gnu.org/licenses/gpl-3.0.en.html\n\n// · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~\n// · \n*/\n\n// ·\n\n\n// ·\nconst useAccount = (0,pinia__WEBPACK_IMPORTED_MODULE_0__.defineStore)(\"account\", {\n state: () => {\n return {\n accountInfo: {},\n options: {\n countries: [],\n regions: [],\n time_zones: []\n }\n };\n },\n actions: {\n fetch() {\n this.loading = true;\n this.http.get(this.url.admin(\"account\")).then(result => {\n this.accountInfo = result;\n delete this.accountInfo.created_at;\n delete this.accountInfo.updated_at;\n delete this.accountInfo.phone_number_2;\n delete this.accountInfo.phone_number_3;\n delete this.accountInfo.phone_number_4;\n }).catch(error => {\n this.msg.danger(I18n.t(\"core.shared.messages_danger_internal_error\"));\n }).finally(() => {\n this.loading = false;\n });\n },\n update() {\n this.submitting_form = true;\n this.http.patch(this.url.admin(\"account\"), {\n account: this.accountInfo\n }).then(result => {\n this.msg.success(I18n.t(\"core.users.messages_success_operation\"));\n }).catch(error => {\n this.msg.danger(I18n.t(\"core.shared.messages_danger_internal_error\"));\n }).finally(() => {\n this.fetch();\n });\n },\n getOptions() {\n this.loading = true;\n this.http.get(this.url.admin(\"account/options\")).then(result => {\n this.options.countries = result.countries.map(country => {\n return {\n label: country.name,\n value: country.id\n };\n });\n this.options.regions = result.regions.map(region => {\n return {\n label: region.value,\n value: region.key\n };\n });\n }).catch(error => {\n this.msg.danger(this.translations.core.shared.messages_danger_internal_error);\n }).finally(() => {\n this.loading = false;\n });\n // Get options for time zone selection\n this.http.get(this.url.admin(\"account/settings/options\")).then(result => {\n this.options.time_zones = result.time_zones.map(time_zone => {\n return {\n label: time_zone.text,\n value: time_zone.value\n };\n });\n }).catch(error => {\n this.msg.danger(this.translations.core.shared.messages_danger_internal_error);\n });\n }\n }\n});\n\n//# sourceURL=webpack://lesli/./lib/vue/stores/account.js?");
|
152
163
|
|
153
164
|
/***/ }),
|
154
165
|
|
@@ -181,7 +192,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
181
192
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
182
193
|
|
183
194
|
"use strict";
|
184
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ useUser: () => (/* binding */ useUser)\n/* harmony export */ });\n/* harmony import */ var pinia__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! pinia */ \"./node_modules/pinia/dist/pinia.mjs\");\n/*\nLesli\n\nCopyright (c) 2023, Lesli Technologies, S. A.\n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program. If not, see http://www.gnu.org/licenses/.\n\nLesli · Ruby on Rails Development Platform.\n\nMade with ♥ by https://www.lesli.tech\nBuilding a better future, one line of code at a time.\n\n@contact hello@lesli.tech\n@website https://www.lesli.tech\n@license GPLv3 http://www.gnu.org/licenses/gpl-3.0.en.html\n\n// · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~\n// · \n*/\n\n// · \n\n\n// · \nconst useUser = (0,pinia__WEBPACK_IMPORTED_MODULE_0__.defineStore)(\"lesli.user\", {\n state: () => {\n return {\n options: {\n regions: [],\n locales: [],\n salutations: [],\n mfa_methods: []\n },\n user: {\n roles_id: null,\n email: null,\n alias: null,\n first_name: null,\n last_name: null,\n telephone: null,\n detail_attributes: {\n salutation: null,\n title: null\n }\n },\n roles: [],\n sessions: {\n pagination: {},\n records: []\n },\n options: {\n salutations: [],\n locales: []\n }\n };\n },\n getters: {\n initials() {\n let initials = \"\";\n if (this.user?.first_name) initials += this.user?.first_name[0];\n if (this.user?.last_name) initials += this.user?.last_name[0];\n return initials.toUpperCase();\n }\n },\n actions: {\n getOptions() {\n this.http.get(this.url.lesli(\"users/options\")).then(result => {\n this.options = result;\n });\n },\n getUser() {\n let id = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;\n // get the profile by default\n let url = this.url.lesli(\"profile\");\n\n // get an specifick user if id is provided\n if (id) {\n url = this.url.lesli(\"users/:id\", id);\n }\n this.http.get(url).then(result => {\n this.user = result;\n this.user.password = \"\";\n this.user.password_confirmation = \"\";\n this.language = result.locale ? result.locale.value : this.language;\n\n // Backend should return the list of roles ordered by object level permission\n this.role_names = result.roles[0].name;\n }).catch(error => {\n this.msg.danger(I18n.t(\"core.shared.messages_danger_internal_error\"));\n }).finally(() => {\n this.loading = false;\n });\n },\n putUser() {\n this.http.put(this.url.lesli(\"users/:id\", this.user.id), {\n user: {\n active: this.user.active,\n alias: this.user.alias,\n first_name: this.user.first_name,\n last_name: this.user.last_name,\n telephone: this.user.telephone,\n detail_attributes: {\n title: this.user.detail_attributes.title,\n salutation: this.user.detail_attributes.salutation\n }\n }\n }).then(result => {\n this.msg.success(I18n.t(\"core.users.messages_success_operation\"));\n }).catch(error => {\n this.msg.danger(I18n.t(\"core.shared.messages_danger_internal_error\"));\n });\n },\n deleteUser() {\n this.dialog.confirmation({\n title: \"Delete user\",\n text: \"Are you sure you want to delete user?\",\n confirmText: \"Yes\",\n cancelText: \"No\"\n }).then(_ref => {\n let {\n isConfirmed\n } = _ref;\n if (isConfirmed) {\n this.http.delete(this.url.lesli(\"/users/:id\", this.user.id)).then(result => {\n this.msg.success(I18n.t(\"core.users.messages_success_operation\"));\n //this.url.go(\"/administration/users\")\n }).catch(error => {\n this.msg.danger(I18n.t(\"core.shared.messages_danger_internal_error\"));\n });\n }\n });\n },\n getRoles() {\n this.http.get(this.url.lesli(\"users/:id/roles\", this.user.id)).then(result => {\n this.roles = result;\n }).catch(error => {\n console.log(error);\n });\n },\n postRole(role) {\n this.http.post(this.url.lesli('users/:id/roles', this.user.id), {\n user_role: {\n id: role.id\n }\n }).then(result => {\n this.msg.success(I18n.t(\"core.users.messages_success_operation\"));\n }).catch(error => {\n this.msg.danger(I18n.t(\"core.shared.messages_danger_internal_error\"));\n });\n },\n deleteRole(role) {\n this.http.delete(this.url.lesli('users/:user_id/roles/:role_id', {\n user_id: this.user.id,\n role_id: role.id\n })).then(result => {\n this.msg.success(I18n.t(\"core.users.messages_success_operation\"));\n }).catch(error => {\n this.msg.danger(I18n.t(\"core.shared.messages_danger_internal_error\"));\n });\n },\n doRequestPassword() {\n this.http.post(this.url.lesli(\"users/:id/requestpassword\", this.user.id)).then(result => {\n this.msg.success(I18n.t(\"core.users.messages_success_operation\"));\n }).catch(error => {\n this.msg.danger(I18n.t(\"core.shared.messages_danger_internal_error\"));\n });\n },\n doPasswordReset() {\n this.http.post(this.url.lesli(\"users/:id/passwordreset\", this.user.id)).then(result => {\n this.msg.success(I18n.t(\"core.users.messages_success_operation\"));\n }).catch(error => {\n this.msg.danger(I18n.t(\"core.shared.messages_danger_internal_error\"));\n });\n },\n doLogout() {\n this.http.post(this.url.lesli(\"users/:id/logout\", this.user.id)).then(result => {\n this.msg.success(I18n.t(\"core.users.messages_success_operation\"));\n }).catch(error => {\n this.msg.danger(I18n.t(\"core.shared.messages_danger_internal_error\"));\n });\n },\n doRevokeAccess() {\n this.http.post(this.url.lesli(\"users/:id/revokeaccess\", this.user.id)).then(result => {\n this.msg.success(I18n.t(\"core.users.messages_success_operation\"));\n }).catch(error => {\n this.msg.danger(I18n.t(\"core.shared.messages_danger_internal_error\"));\n });\n },\n fetchSessions() {\n if (!this.sessions.length > 0) {\n this.getSessions();\n }\n },\n getSessions() {\n this.http.get(this.url.lesli(\"users/:id/sessions\", this.user.id)).then(result => {\n this.sessions.pagination = result.pagination;\n this.sessions.records = result.records;\n }).catch(error => {\n this.msg.danger(I18n.t(\"core.shared.messages_danger_internal_error\"));\n }).finally(() => {\n this.loading = false;\n });\n },\n deleteSession(user_session_id) {\n this.dialog.confirmation({\n title: \"Close session\",\n text: 'Are you sure you want to close this session',\n confirmText: \"Yes\",\n cancelText: \"No\"\n }).then(_ref2 => {\n let {\n isConfirmed\n } = _ref2;\n if (isConfirmed) {\n this.http.delete(this.url.lesli(\"users/:id/sessions/:session_id\", {\n id: this.user.id,\n session_id: user_session_id\n })).then(result => {\n this.msg.success(I18n.t(\"core.users.messages_success_operation\"));\n }).catch(error => {\n this.msg.danger(I18n.t(\"core.shared.messages_danger_internal_error\"));\n });\n this.fetchSessions();\n }\n });\n },\n postLanguage() {\n this.http.post(this.url.lesli('users/:id/settings', this.user.id), {\n user_setting: {\n name: 'locale',\n value: this.user.locale.value\n }\n }).then(result => {\n this.msg.success(I18n.t(\"core.users.messages_success_operation\"));\n // TODO: Only if current_user changed his own language\n // reload the page so the user can work with the new language\n // setTimeout(() => window.location.reload(), 1000)\n }).catch(error => {\n this.msg.danger(I18n.t(\"core.shared.messages_danger_internal_error\"));\n });\n },\n getOptions() {\n this.http.get(this.url.lesli(\"users/options\")).then(result => {\n this.options.salutations = result.salutations;\n this.options.locales = Object.keys(result.locales).map(key => {\n return {\n label: result.locales[key],\n value: key\n };\n });\n }).catch(error => {\n this.msg.danger(I18n.t(\"core.shared.messages_danger_internal_error\"));\n });\n }\n }\n});\n\n/*\n\n\n\nupdatePassword() {\n this.http.put(\"/\", {\n user: {\n password: this.user.password,\n password_confirmation: this.user.password_confirmation\n }\n }).then(result => {\n this.msg.success(I18n.t(\"core.users.messages_success_operation\"))\n this.user.password = \"\"\n this.user.password_confirmation = \"\"\n }).catch(error => {\n this.msg.danger(I18n.t(\"core.shared.messages_danger_internal_error\"))\n })\n},\n\n// This action is used to change the user status active or inactive\nputUserStatus(){\n this.dialog.confirmation({\n title: \"Change status\",\n text: \"Are you sure you want to change the status of this user?\",\n confirmText: \"Yes\",\n cancelText: \"No\"\n })\n .then(({ isConfirmed }) => {\n if (isConfirmed) {\n this.http.patch(this.url.lesli('users/:id', this.user.id), {\n user: {\n active: this.user.active\n }\n }).then(result => {\n this.msg.success(I18n.t(\"core.users.messages_success_operation\"))\n }) .catch(error => {\n this.msg.danger(I18n.t(\"core.shared.messages_danger_internal_error\")) \n })\n } else {\n this.user.active = !this.user.active\n }\n })\n},\n\n*/\n\n//# sourceURL=webpack://lesli/./lib/vue/stores/user.js?");
|
195
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ useUser: () => (/* binding */ useUser)\n/* harmony export */ });\n/* harmony import */ var pinia__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! pinia */ \"./node_modules/pinia/dist/pinia.mjs\");\n/*\nLesli\n\nCopyright (c) 2023, Lesli Technologies, S. A.\n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program. If not, see http://www.gnu.org/licenses/.\n\nLesli · Ruby on Rails Development Platform.\n\nMade with ♥ by https://www.lesli.tech\nBuilding a better future, one line of code at a time.\n\n@contact hello@lesli.tech\n@website https://www.lesli.tech\n@license GPLv3 http://www.gnu.org/licenses/gpl-3.0.en.html\n\n// · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~\n// · \n*/\n\n// · \n\n\n// · \nconst useUser = (0,pinia__WEBPACK_IMPORTED_MODULE_0__.defineStore)(\"lesli.user\", {\n state: () => {\n return {};\n },\n actions: {\n getUsersList() {\n // get an specifick user if id is provided\n this.http.get(this.url.lesli(\"users/list\")).then(result => {}).catch(error => {\n this.msg.danger(I18n.t(\"core.shared.messages_danger_internal_error\"));\n }).finally(() => {\n this.loading = false;\n });\n }\n }\n});\n\n/*\nupdatePassword() {\n this.http.put(\"/\", {\n user: {\n password: this.user.password,\n password_confirmation: this.user.password_confirmation\n }\n }).then(result => {\n this.msg.success(I18n.t(\"core.users.messages_success_operation\"))\n this.user.password = \"\"\n this.user.password_confirmation = \"\"\n }).catch(error => {\n this.msg.danger(I18n.t(\"core.shared.messages_danger_internal_error\"))\n })\n},\n\n// This action is used to change the user status active or inactive\nputUserStatus(){\n this.dialog.confirmation({\n title: \"Change status\",\n text: \"Are you sure you want to change the status of this user?\",\n confirmText: \"Yes\",\n cancelText: \"No\"\n })\n .then(({ isConfirmed }) => {\n if (isConfirmed) {\n this.http.patch(this.url.lesli('users/:id', this.user.id), {\n user: {\n active: this.user.active\n }\n }).then(result => {\n this.msg.success(I18n.t(\"core.users.messages_success_operation\"))\n }) .catch(error => {\n this.msg.danger(I18n.t(\"core.shared.messages_danger_internal_error\")) \n })\n } else {\n this.user.active = !this.user.active\n }\n })\n},\n\n*/\n\n//# sourceURL=webpack://lesli/./lib/vue/stores/user.js?");
|
185
196
|
|
186
197
|
/***/ }),
|
187
198
|
|
@@ -236,7 +247,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
236
247
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
237
248
|
|
238
249
|
"use strict";
|
239
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.esm-bundler.js\");\n/* harmony import */ var Lesli_stores_layout__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! Lesli/stores/layout */ \"./lib/vue/stores/layout.js\");\n/* harmony import */ var Lesli_stores_search__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! Lesli/stores/search */ \"./lib/vue/stores/search.js\");\n\n\n// · import stores\n\n\n\n// · implement stores\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n __name: 'application-header',\n props: {\n showEngines: {\n type: Boolean,\n default: true,\n required: false\n },\n showBell: {\n type: Boolean,\n default: false,\n required: false\n },\n showFocus: {\n type: Boolean,\n default: false,\n required: false\n },\n showTickets: {\n type: Boolean,\n default: false,\n required: false\n },\n showAnnouncements: {\n type: Boolean,\n default: false,\n required: false\n }\n },\n setup(__props, _ref) {\n let {\n expose: __expose\n } = _ref;\n __expose();\n const props = __props;\n\n /*\n \n Lesli\n \n Copyright (c) 2023, Lesli Technologies, S. A.\n \n This program is free software: you can redistribute it and/or modify\n it under the terms of the GNU General Public License as published by\n the Free Software Foundation, either version 3 of the License, or\n (at your option) any later version.\n \n This program is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more details.\n \n You should have received a copy of the GNU General Public License\n along with this program. If not, see http://www.gnu.org/licenses/.\n \n Lesli · Your Smart Business Assistant. \n \n Made with ♥ by https://www.lesli.tech\n Building a better future, one line of code at a time.\n \n @contact hello@lesli.tech\n @website https://lesli.tech\n @license GPLv3 http://www.gnu.org/licenses/gpl-3.0.en.html\n \n // · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~\n // · \n */\n\n // · import vue tools\n const storeLayout = (0,Lesli_stores_layout__WEBPACK_IMPORTED_MODULE_1__.useLayout)();\n const storeSearch = (0,Lesli_stores_search__WEBPACK_IMPORTED_MODULE_2__.useSearch)();\n\n // · \n const url = (0,vue__WEBPACK_IMPORTED_MODULE_0__.inject)(\"url\");\n\n // · defining props\n\n // · translations\n const translations = {\n core: {\n shared: I18n.t(\"core.shared\"),\n users: I18n.t('deutscheleibrenten.users')\n }\n };\n\n // · defining variables\n const applicationHeader = (0,vue__WEBPACK_IMPORTED_MODULE_0__.ref)(null);\n const search = {};\n\n // · \n function onEscape(event) {\n if (event.keyCode === 27) {\n storeLayout.toggleEngines();\n document.removeEventListener('keydown', onEscape);\n }\n }\n\n // · \n function toggleEngines() {\n storeLayout.toggleEngines();\n document.addEventListener('keydown', onEscape);\n }\n const __returned__ = {\n storeLayout,\n storeSearch,\n url,\n props,\n translations,\n applicationHeader,\n search,\n onEscape,\n toggleEngines,\n ref: vue__WEBPACK_IMPORTED_MODULE_0__.ref,\n reactive: vue__WEBPACK_IMPORTED_MODULE_0__.reactive,\n onUnmounted: vue__WEBPACK_IMPORTED_MODULE_0__.onUnmounted,\n inject: vue__WEBPACK_IMPORTED_MODULE_0__.inject,\n get useLayout() {\n return Lesli_stores_layout__WEBPACK_IMPORTED_MODULE_1__.useLayout;\n },\n get useSearch() {\n return Lesli_stores_search__WEBPACK_IMPORTED_MODULE_2__.useSearch;\n }\n };\n Object.defineProperty(__returned__, '__isScriptSetup', {\n enumerable: false,\n value: true\n });\n return __returned__;\n }\n});\n\n//# sourceURL=webpack://lesli/./lib/vue/layouts/application-header.vue?./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use");
|
250
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.esm-bundler.js\");\n/* harmony import */ var Lesli_stores_layout__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! Lesli/stores/layout */ \"./lib/vue/stores/layout.js\");\n/* harmony import */ var Lesli_stores_search__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! Lesli/stores/search */ \"./lib/vue/stores/search.js\");\n\n\n// · import stores\n\n\n\n// · implement stores\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n __name: 'application-header',\n props: {\n showEngines: {\n type: Boolean,\n default: true,\n required: false\n },\n showBell: {\n type: Boolean,\n default: false,\n required: false\n },\n showFocus: {\n type: Boolean,\n default: false,\n required: false\n },\n showTickets: {\n type: Boolean,\n default: false,\n required: false\n },\n showAnnouncements: {\n type: Boolean,\n default: false,\n required: false\n },\n enginePath: {\n type: String,\n default: \"/\",\n required: false\n }\n },\n setup(__props, _ref) {\n let {\n expose: __expose\n } = _ref;\n __expose();\n const props = __props;\n\n /*\n \n Lesli\n \n Copyright (c) 2023, Lesli Technologies, S. A.\n \n This program is free software: you can redistribute it and/or modify\n it under the terms of the GNU General Public License as published by\n the Free Software Foundation, either version 3 of the License, or\n (at your option) any later version.\n \n This program is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more details.\n \n You should have received a copy of the GNU General Public License\n along with this program. If not, see http://www.gnu.org/licenses/.\n \n Lesli · Your Smart Business Assistant. \n \n Made with ♥ by https://www.lesli.tech\n Building a better future, one line of code at a time.\n \n @contact hello@lesli.tech\n @website https://lesli.tech\n @license GPLv3 http://www.gnu.org/licenses/gpl-3.0.en.html\n \n // · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~\n // · \n */\n\n // · import vue tools\n const storeLayout = (0,Lesli_stores_layout__WEBPACK_IMPORTED_MODULE_1__.useLayout)();\n const storeSearch = (0,Lesli_stores_search__WEBPACK_IMPORTED_MODULE_2__.useSearch)();\n\n // · \n const url = (0,vue__WEBPACK_IMPORTED_MODULE_0__.inject)(\"url\");\n\n // · defining props\n\n // · translations\n const translations = {\n core: {\n shared: I18n.t(\"core.shared\"),\n users: I18n.t('deutscheleibrenten.users')\n }\n };\n\n // · defining variables\n const applicationHeader = (0,vue__WEBPACK_IMPORTED_MODULE_0__.ref)(null);\n const search = {};\n\n // · \n function onEscape(event) {\n if (event.keyCode === 27) {\n storeLayout.toggleEngines();\n document.removeEventListener('keydown', onEscape);\n }\n }\n\n // · \n function toggleEngines() {\n storeLayout.toggleEngines();\n document.addEventListener('keydown', onEscape);\n }\n const __returned__ = {\n storeLayout,\n storeSearch,\n url,\n props,\n translations,\n applicationHeader,\n search,\n onEscape,\n toggleEngines,\n ref: vue__WEBPACK_IMPORTED_MODULE_0__.ref,\n reactive: vue__WEBPACK_IMPORTED_MODULE_0__.reactive,\n onUnmounted: vue__WEBPACK_IMPORTED_MODULE_0__.onUnmounted,\n inject: vue__WEBPACK_IMPORTED_MODULE_0__.inject,\n get useLayout() {\n return Lesli_stores_layout__WEBPACK_IMPORTED_MODULE_1__.useLayout;\n },\n get useSearch() {\n return Lesli_stores_search__WEBPACK_IMPORTED_MODULE_2__.useSearch;\n }\n };\n Object.defineProperty(__returned__, '__isScriptSetup', {\n enumerable: false,\n value: true\n });\n return __returned__;\n }\n});\n\n//# sourceURL=webpack://lesli/./lib/vue/layouts/application-header.vue?./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use");
|
240
251
|
|
241
252
|
/***/ }),
|
242
253
|
|
@@ -247,7 +258,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
247
258
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
248
259
|
|
249
260
|
"use strict";
|
250
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.esm-bundler.js\");\
|
261
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.esm-bundler.js\");\n/* harmony import */ var Lesli_stores_account__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! Lesli/stores/account */ \"./lib/vue/stores/account.js\");\n\n\n// · import lesli stores\n\n\n// · implement stores\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n __name: 'form-information',\n setup(__props, _ref) {\n let {\n expose: __expose\n } = _ref;\n __expose();\n\n /*\n Lesli\n \n Copyright (c) 2023, Lesli Technologies, S. A.\n \n This program is free software: you can redistribute it and/or modify\n it under the terms of the GNU General Public License as published by\n the Free Software Foundation, either version 3 of the License, or\n (at your option) any later version.\n \n This program is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more details.\n \n You should have received a copy of the GNU General Public License\n along with this program. If not, see http://www.gnu.org/licenses/.\n \n Lesli · Ruby on Rails SaaS Development Framework.\n \n Made with ♥ by https://www.lesli.tech\n Building a better future, one line of code at a time.\n \n @contact hello@lesli.tech\n @website https://www.lesli.tech\n @license GPLv3 http://www.gnu.org/licenses/gpl-3.0.en.html\n \n // · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~\n // · \n */\n\n // · import vue tools\n const storeAccount = (0,Lesli_stores_account__WEBPACK_IMPORTED_MODULE_1__.useAccount)();\n\n // · \n const translations = {\n shared: I18n.t(\"core.shared\"),\n passwords: I18n.t(\"core.users/passwords\"),\n core: {\n accounts: I18n.t(\"core.accounts\"),\n onboardings: I18n.t(\"core.onboardings\")\n }\n };\n const __returned__ = {\n storeAccount,\n translations,\n ref: vue__WEBPACK_IMPORTED_MODULE_0__.ref,\n reactive: vue__WEBPACK_IMPORTED_MODULE_0__.reactive,\n onMounted: vue__WEBPACK_IMPORTED_MODULE_0__.onMounted,\n watch: vue__WEBPACK_IMPORTED_MODULE_0__.watch,\n computed: vue__WEBPACK_IMPORTED_MODULE_0__.computed,\n get useAccount() {\n return Lesli_stores_account__WEBPACK_IMPORTED_MODULE_1__.useAccount;\n }\n };\n Object.defineProperty(__returned__, '__isScriptSetup', {\n enumerable: false,\n value: true\n });\n return __returned__;\n }\n});\n\n//# sourceURL=webpack://lesli/../LesliAdmin/lib/vue/apps/account/components/form-information.vue?./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use");
|
251
262
|
|
252
263
|
/***/ }),
|
253
264
|
|
@@ -258,7 +269,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
258
269
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
259
270
|
|
260
271
|
"use strict";
|
261
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.esm-bundler.js\");\
|
272
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.esm-bundler.js\");\n/* harmony import */ var Lesli_stores_account__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! Lesli/stores/account */ \"./lib/vue/stores/account.js\");\n/* harmony import */ var _components_form_information_vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./components/form-information.vue */ \"../LesliAdmin/lib/vue/apps/account/components/form-information.vue\");\n\n\n// · import lesli stores\n\n\n// · import account components\n\n// import addressForm from \"./components/address-form.vue\"\n// import contactForm from \"./components/contact-form.vue\"\n\n// · implement stores\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n __name: 'show',\n setup(__props, _ref) {\n let {\n expose: __expose\n } = _ref;\n __expose();\n\n /*\n Lesli\n \n Copyright (c) 2023, Lesli Technologies, S. A.\n \n This program is free software: you can redistribute it and/or modify\n it under the terms of the GNU General Public License as published by\n the Free Software Foundation, either version 3 of the License, or\n (at your option) any later version.\n \n This program is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more details.\n \n You should have received a copy of the GNU General Public License\n along with this program. If not, see http://www.gnu.org/licenses/.\n \n Lesli · Ruby on Rails SaaS Development Framework.\n \n Made with ♥ by https://www.lesli.tech\n Building a better future, one line of code at a time.\n \n @contact hello@lesli.tech\n @website https://www.lesli.tech\n @license GPLv3 http://www.gnu.org/licenses/gpl-3.0.en.html\n \n // · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~\n // · \n */\n\n // · import vue tools\n const storeAccount = (0,Lesli_stores_account__WEBPACK_IMPORTED_MODULE_1__.useAccount)();\n\n // · translations\n const translations = {\n core: {\n onboardings: I18n.t(\"core.onboardings\"),\n accounts: I18n.t(\"core.accounts\")\n }\n };\n\n // . get reactive info from onboarding store\n const companyInfo = (0,vue__WEBPACK_IMPORTED_MODULE_0__.computed)(() => storeOnboarding.companyInfo);\n\n // . \n (0,vue__WEBPACK_IMPORTED_MODULE_0__.onMounted)(() => {\n storeAccount.fetch();\n });\n const __returned__ = {\n storeAccount,\n translations,\n companyInfo,\n computed: vue__WEBPACK_IMPORTED_MODULE_0__.computed,\n onMounted: vue__WEBPACK_IMPORTED_MODULE_0__.onMounted,\n get useAccount() {\n return Lesli_stores_account__WEBPACK_IMPORTED_MODULE_1__.useAccount;\n },\n formInformation: _components_form_information_vue__WEBPACK_IMPORTED_MODULE_2__[\"default\"]\n };\n Object.defineProperty(__returned__, '__isScriptSetup', {\n enumerable: false,\n value: true\n });\n return __returned__;\n }\n});\n\n//# sourceURL=webpack://lesli/../LesliAdmin/lib/vue/apps/account/show.vue?./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use");
|
262
273
|
|
263
274
|
/***/ }),
|
264
275
|
|
@@ -280,7 +291,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
280
291
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
281
292
|
|
282
293
|
"use strict";
|
283
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.esm-bundler.js\");\n/* harmony import */ var
|
294
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.esm-bundler.js\");\n/* harmony import */ var vue_router__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! vue-router */ \"./node_modules/vue-router/dist/vue-router.mjs\");\n/* harmony import */ var LesliAdmin_stores_user__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! LesliAdmin/stores/user */ \"../LesliAdmin/lib/vue/stores/user.js\");\n/* harmony import */ var LesliAdmin_apps_users_components_information_card_vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! LesliAdmin/apps/users/components/information-card.vue */ \"../LesliAdmin/lib/vue/apps/users/components/information-card.vue\");\n/* harmony import */ var LesliAdmin_apps_users_components_information_form_vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! LesliAdmin/apps/users/components/information-form.vue */ \"../LesliAdmin/lib/vue/apps/users/components/information-form.vue\");\n\n\n\n// · import lesli stores\n\n\n// · implement stores\n\n\n/*\nimport informationForm from \"CloudAdmin/apps/users/components/information-form.vue\"\n\nimport managementSession from \"CloudAdmin/apps/users/components/management-sessions.vue\"\nimport managementSecurity from \"CloudAdmin/apps/users/components/management-security.vue\"\n\nimport integrationsInformation from \"CloudAdmin/apps/users/components/integrations-information.vue\"\nimport settings from \"CloudAdmin/apps/users/components/management-settings.vue\"\n*/\n\n/*\nimport cardInformation from \"../users/components/information-card.vue\"\nimport formInformation from \"../users/components/information-form.vue\"\nimport managementSession from \"../users/components/management-sessions.vue\"\nimport integrationsInformation from \"../users/components/integrations-information.vue\"\nimport subscriptionsComponent from \"./components/subscriptions.vue\"\nimport settings from \"../users/components/settings.vue\"\nimport changeEmail from \"./components/change-email.vue\"\n*/\n\n// · translations\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n __name: 'show',\n setup(__props, _ref) {\n let {\n expose: __expose\n } = _ref;\n __expose();\n\n /*\n \n Lesli\n \n Copyright (c) 2023, Lesli Technologies, S. A.\n \n This program is free software: you can redistribute it and/or modify\n it under the terms of the GNU General Public License as published by\n the Free Software Foundation, either version 3 of the License, or\n (at your option) any later version.\n \n This program is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more details.\n \n You should have received a copy of the GNU General Public License\n along with this program. If not, see http://www.gnu.org/licenses/.\n \n Lesli · Ruby on Rails SaaS Development Framework.\n \n Made with ♥ by https://www.lesli.tech\n Building a better future, one line of code at a time.\n \n @contact hello@lesli.tech\n @website https://www.lesli.tech\n @license GPLv3 http://www.gnu.org/licenses/gpl-3.0.en.html\n \n // · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~\n // · \n */\n\n // · import vue tools\n const storeUser = (0,LesliAdmin_stores_user__WEBPACK_IMPORTED_MODULE_1__.useUser)();\n const router = (0,vue_router__WEBPACK_IMPORTED_MODULE_4__.useRouter)();\n const route = (0,vue_router__WEBPACK_IMPORTED_MODULE_4__.useRoute)();\n\n // · import profile components\n const translations = {\n core: {\n roles: I18n.t(\"core.roles\"),\n users: I18n.t(\"core.users\"),\n shared: I18n.t(\"core.shared\")\n }\n };\n\n // · \n const tab = (0,vue__WEBPACK_IMPORTED_MODULE_0__.ref)(0);\n\n // · \n (0,vue__WEBPACK_IMPORTED_MODULE_0__.onMounted)(() => {\n storeUser.getUser();\n //storeUser.getOptions()\n });\n\n const __returned__ = {\n storeUser,\n router,\n route,\n translations,\n tab,\n ref: vue__WEBPACK_IMPORTED_MODULE_0__.ref,\n reactive: vue__WEBPACK_IMPORTED_MODULE_0__.reactive,\n onMounted: vue__WEBPACK_IMPORTED_MODULE_0__.onMounted,\n watch: vue__WEBPACK_IMPORTED_MODULE_0__.watch,\n computed: vue__WEBPACK_IMPORTED_MODULE_0__.computed,\n onUnmounted: vue__WEBPACK_IMPORTED_MODULE_0__.onUnmounted,\n get useRouter() {\n return vue_router__WEBPACK_IMPORTED_MODULE_4__.useRouter;\n },\n get useRoute() {\n return vue_router__WEBPACK_IMPORTED_MODULE_4__.useRoute;\n },\n get useUser() {\n return LesliAdmin_stores_user__WEBPACK_IMPORTED_MODULE_1__.useUser;\n },\n informationCard: LesliAdmin_apps_users_components_information_card_vue__WEBPACK_IMPORTED_MODULE_2__[\"default\"],\n informationForm: LesliAdmin_apps_users_components_information_form_vue__WEBPACK_IMPORTED_MODULE_3__[\"default\"]\n };\n Object.defineProperty(__returned__, '__isScriptSetup', {\n enumerable: false,\n value: true\n });\n return __returned__;\n }\n});\n\n//# sourceURL=webpack://lesli/../LesliAdmin/lib/vue/apps/profile/show.vue?./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use");
|
284
295
|
|
285
296
|
/***/ }),
|
286
297
|
|
@@ -313,7 +324,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
313
324
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
314
325
|
|
315
326
|
"use strict";
|
316
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.esm-bundler.js\");\n/* harmony import */ var vue_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vue-router */ \"./node_modules/vue-router/dist/vue-router.mjs\");\n/* harmony import */ var LesliAdmin_stores_users__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! LesliAdmin/stores/users */ \"../LesliAdmin/lib/vue/stores/users.js\");\n\n\n\n// · import lesli stores\n\n\n// · initialize/inject plugins\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n __name: 'index',\n props: {\n appMountPath: {\n type: String,\n required: false,\n default: \"lesli/users\"\n },\n defaultRole: {\n type: String,\n required: false,\n default: \"\"\n }\n },\n setup(__props, _ref) {\n let {\n expose: __expose\n } = _ref;\n __expose();\n const props = __props;\n\n /*\n Lesli\n \n Copyright (c) 2023, Lesli Technologies, S. A.\n \n This program is free software: you can redistribute it and/or modify\n it under the terms of the GNU General Public License as published by\n the Free Software Foundation, either version 3 of the License, or\n (at your option) any later version.\n \n This program is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more details.\n \n You should have received a copy of the GNU General Public License\n along with this program. If not, see http://www.gnu.org/licenses/.\n \n Lesli · Ruby on Rails SaaS Development Framework.\n \n Made with ♥ by https://www.lesli.tech\n Building a better future, one line of code at a time.\n \n @contact hello@lesli.tech\n @website https://www.lesli.tech\n @license GPLv3 http://www.gnu.org/licenses/gpl-3.0.en.html\n \n // · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~\n // · \n */\n\n // · import vue tools\n const router = (0,vue_router__WEBPACK_IMPORTED_MODULE_2__.useRouter)();\n const msg = (0,vue__WEBPACK_IMPORTED_MODULE_0__.inject)(\"msg\");\n const url = (0,vue__WEBPACK_IMPORTED_MODULE_0__.inject)(\"url\");\n\n // · implement stores\n const storeUsers = (0,LesliAdmin_stores_users__WEBPACK_IMPORTED_MODULE_1__.useUsers)();\n\n // · translations\n const translations = {\n core: {\n roles: I18n.t(\"core.roles\"),\n users: {\n view_text_title_users: i18n.t('lesli_admin.users.title_users')\n },\n shared: I18n.t(\"core.shared\")\n }\n };\n\n // ·\n const columns = [{\n field: \"id\",\n label: \"ID\",\n sort: true\n }, {\n field: \"name\",\n label: translations.core.users.view_table_header_name,\n sort: true\n }, {\n field: \"email\",\n label: translations.core.users.view_table_header_email,\n sort: true\n }, {\n field: \"rolenames\",\n label: translations.core.users.view_table_header_role,\n sort: true\n }, {\n field: \"active\",\n label: translations.core.users.view_table_header_status,\n sort: true,\n custom: true\n }, {\n field: \"current_sign_in_at_string\",\n label: translations.core.users.view_table_header_last_sign_in,\n sort: true\n }, {\n field: \"last_action_performed_at_string\",\n label: translations.core.users.view_text_last_activity_at,\n sort: true\n }];\n\n // ·\n const selection = (0,vue__WEBPACK_IMPORTED_MODULE_0__.ref)();\n\n // · defining props\n\n // · initializing\n (0,vue__WEBPACK_IMPORTED_MODULE_0__.onMounted)(() => {\n storeUsers.fetchUsers();\n
|
327
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.esm-bundler.js\");\n/* harmony import */ var vue_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vue-router */ \"./node_modules/vue-router/dist/vue-router.mjs\");\n/* harmony import */ var LesliAdmin_stores_users__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! LesliAdmin/stores/users */ \"../LesliAdmin/lib/vue/stores/users.js\");\n\n\n\n// · import lesli stores\n\n\n// · initialize/inject plugins\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n __name: 'index',\n props: {\n appMountPath: {\n type: String,\n required: false,\n default: \"lesli/users\"\n },\n defaultRole: {\n type: String,\n required: false,\n default: \"\"\n }\n },\n setup(__props, _ref) {\n let {\n expose: __expose\n } = _ref;\n __expose();\n const props = __props;\n\n /*\n Lesli\n \n Copyright (c) 2023, Lesli Technologies, S. A.\n \n This program is free software: you can redistribute it and/or modify\n it under the terms of the GNU General Public License as published by\n the Free Software Foundation, either version 3 of the License, or\n (at your option) any later version.\n \n This program is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more details.\n \n You should have received a copy of the GNU General Public License\n along with this program. If not, see http://www.gnu.org/licenses/.\n \n Lesli · Ruby on Rails SaaS Development Framework.\n \n Made with ♥ by https://www.lesli.tech\n Building a better future, one line of code at a time.\n \n @contact hello@lesli.tech\n @website https://www.lesli.tech\n @license GPLv3 http://www.gnu.org/licenses/gpl-3.0.en.html\n \n // · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~\n // · \n */\n\n // · import vue tools\n const router = (0,vue_router__WEBPACK_IMPORTED_MODULE_2__.useRouter)();\n const msg = (0,vue__WEBPACK_IMPORTED_MODULE_0__.inject)(\"msg\");\n const url = (0,vue__WEBPACK_IMPORTED_MODULE_0__.inject)(\"url\");\n\n // · implement stores\n const storeUsers = (0,LesliAdmin_stores_users__WEBPACK_IMPORTED_MODULE_1__.useUsers)();\n\n // · translations\n const translations = {\n core: {\n roles: I18n.t(\"core.roles\"),\n users: {\n view_text_title_users: i18n.t('lesli_admin.users.title_users')\n },\n shared: I18n.t(\"core.shared\")\n }\n };\n\n // ·\n const columns = [{\n field: \"id\",\n label: \"ID\",\n sort: true\n }, {\n field: \"name\",\n label: translations.core.users.view_table_header_name,\n sort: true\n }, {\n field: \"email\",\n label: translations.core.users.view_table_header_email,\n sort: true\n }, {\n field: \"rolenames\",\n label: translations.core.users.view_table_header_role,\n sort: true\n }, {\n field: \"active\",\n label: translations.core.users.view_table_header_status,\n sort: true,\n custom: true\n }, {\n field: \"current_sign_in_at_string\",\n label: translations.core.users.view_table_header_last_sign_in,\n sort: true\n }, {\n field: \"last_action_performed_at_string\",\n label: translations.core.users.view_text_last_activity_at,\n sort: true\n }];\n\n // ·\n const selection = (0,vue__WEBPACK_IMPORTED_MODULE_0__.ref)();\n\n // · defining props\n\n // · initializing\n (0,vue__WEBPACK_IMPORTED_MODULE_0__.onMounted)(() => {\n storeUsers.fetchUsers();\n });\n\n //\n function showUser(user) {\n router.push(url.root(props.appMountPath + `/${user.id}`).s);\n }\n const __returned__ = {\n router,\n msg,\n url,\n storeUsers,\n translations,\n columns,\n selection,\n props,\n showUser,\n ref: vue__WEBPACK_IMPORTED_MODULE_0__.ref,\n reactive: vue__WEBPACK_IMPORTED_MODULE_0__.reactive,\n onMounted: vue__WEBPACK_IMPORTED_MODULE_0__.onMounted,\n watch: vue__WEBPACK_IMPORTED_MODULE_0__.watch,\n computed: vue__WEBPACK_IMPORTED_MODULE_0__.computed,\n inject: vue__WEBPACK_IMPORTED_MODULE_0__.inject,\n get useRouter() {\n return vue_router__WEBPACK_IMPORTED_MODULE_2__.useRouter;\n },\n get useRoute() {\n return vue_router__WEBPACK_IMPORTED_MODULE_2__.useRoute;\n },\n get useUsers() {\n return LesliAdmin_stores_users__WEBPACK_IMPORTED_MODULE_1__.useUsers;\n }\n };\n Object.defineProperty(__returned__, '__isScriptSetup', {\n enumerable: false,\n value: true\n });\n return __returned__;\n }\n});\n\n//# sourceURL=webpack://lesli/../LesliAdmin/lib/vue/apps/users/index.vue?./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use");
|
317
328
|
|
318
329
|
/***/ }),
|
319
330
|
|
@@ -324,7 +335,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
324
335
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
325
336
|
|
326
337
|
"use strict";
|
327
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.esm-bundler.js\");\n/* harmony import */ var vue_router__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! vue-router */ \"./node_modules/vue-router/dist/vue-router.mjs\");\n/* harmony import */ var
|
338
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.esm-bundler.js\");\n/* harmony import */ var vue_router__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! vue-router */ \"./node_modules/vue-router/dist/vue-router.mjs\");\n/* harmony import */ var LesliAdmin_stores_user__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! LesliAdmin/stores/user */ \"../LesliAdmin/lib/vue/stores/user.js\");\n/* harmony import */ var LesliAdmin_apps_users_components_information_card_vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! LesliAdmin/apps/users/components/information-card.vue */ \"../LesliAdmin/lib/vue/apps/users/components/information-card.vue\");\n/* harmony import */ var LesliAdmin_apps_users_components_information_form_vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! LesliAdmin/apps/users/components/information-form.vue */ \"../LesliAdmin/lib/vue/apps/users/components/information-form.vue\");\n\n\n\n// · import lesli stores\n\n\n// · implement stores\n\n\n/*\nimport informationForm from \"CloudAdmin/apps/users/components/information-form.vue\"\n\nimport managementRoles from \"CloudAdmin/apps/users/components/management-roles.vue\"\nimport managementSession from \"CloudAdmin/apps/users/components/management-sessions.vue\"\nimport managementSecurity from \"CloudAdmin/apps/users/components/management-security.vue\"\nimport managementSettings from \"CloudAdmin/apps/users/components/management-settings.vue\"\n*/\n\n// · translations\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n __name: 'show',\n setup(__props, _ref) {\n let {\n expose: __expose\n } = _ref;\n __expose();\n\n /*\n Lesli\n \n Copyright (c) 2023, Lesli Technologies, S. A.\n \n This program is free software: you can redistribute it and/or modify\n it under the terms of the GNU General Public License as published by\n the Free Software Foundation, either version 3 of the License, or\n (at your option) any later version.\n \n This program is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more details.\n \n You should have received a copy of the GNU General Public License\n along with this program. If not, see http://www.gnu.org/licenses/.\n \n Lesli · Ruby on Rails SaaS Development Framework.\n \n Made with ♥ by https://www.lesli.tech\n Building a better future, one line of code at a time.\n \n @contact hello@lesli.tech\n @website https://www.lesli.tech\n @license GPLv3 http://www.gnu.org/licenses/gpl-3.0.en.html\n \n // · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~\n // · \n */\n\n // · import vue tools\n const storeUser = (0,LesliAdmin_stores_user__WEBPACK_IMPORTED_MODULE_1__.useUser)();\n const router = (0,vue_router__WEBPACK_IMPORTED_MODULE_4__.useRouter)();\n const route = (0,vue_router__WEBPACK_IMPORTED_MODULE_4__.useRoute)();\n\n // · import profile components\n const translations = {\n core: {\n roles: I18n.t(\"core.roles\"),\n users: I18n.t(\"core.users\"),\n shared: I18n.t(\"core.shared\")\n }\n };\n\n // · \n const tab = (0,vue__WEBPACK_IMPORTED_MODULE_0__.ref)(0);\n\n // · initializing\n (0,vue__WEBPACK_IMPORTED_MODULE_0__.onMounted)(() => {\n // storeUser.$reset()\n // storeUser.getOptions()\n storeUser.getUser(route.params?.id);\n });\n const __returned__ = {\n storeUser,\n router,\n route,\n translations,\n tab,\n ref: vue__WEBPACK_IMPORTED_MODULE_0__.ref,\n onMounted: vue__WEBPACK_IMPORTED_MODULE_0__.onMounted,\n get useRouter() {\n return vue_router__WEBPACK_IMPORTED_MODULE_4__.useRouter;\n },\n get useRoute() {\n return vue_router__WEBPACK_IMPORTED_MODULE_4__.useRoute;\n },\n get useUser() {\n return LesliAdmin_stores_user__WEBPACK_IMPORTED_MODULE_1__.useUser;\n },\n informationCard: LesliAdmin_apps_users_components_information_card_vue__WEBPACK_IMPORTED_MODULE_2__[\"default\"],\n informationForm: LesliAdmin_apps_users_components_information_form_vue__WEBPACK_IMPORTED_MODULE_3__[\"default\"]\n };\n Object.defineProperty(__returned__, '__isScriptSetup', {\n enumerable: false,\n value: true\n });\n return __returned__;\n }\n});\n\n//# sourceURL=webpack://lesli/../LesliAdmin/lib/vue/apps/users/show.vue?./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use");
|
328
339
|
|
329
340
|
/***/ }),
|
330
341
|
|
@@ -423,7 +434,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
423
434
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
424
435
|
|
425
436
|
"use strict";
|
426
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.esm-bundler.js\");\n\n\n// · \n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n __name: 'Button',\n props: {\n
|
437
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.esm-bundler.js\");\n\n\n// · \n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n __name: 'Button',\n props: {\n icon: {\n type: String,\n required: false\n },\n loading: {\n type: Boolean,\n default: false,\n required: false\n },\n main: {\n type: Boolean,\n default: false,\n required: false\n },\n danger: {\n type: Boolean,\n default: false,\n required: false\n },\n warning: {\n type: Boolean,\n default: false,\n required: false\n },\n info: {\n type: Boolean,\n default: false,\n required: false\n },\n small: {\n type: Boolean,\n default: false,\n required: false\n },\n iconOnly: {\n type: Boolean,\n default: false,\n required: false\n }\n },\n emits: ['click'],\n setup(__props, _ref) {\n let {\n expose: __expose,\n emit\n } = _ref;\n __expose();\n const props = __props;\n\n /*\n \n Lesli\n \n Copyright (c) 2023, Lesli Technologies, S. A.\n \n This program is free software: you can redistribute it and/or modify\n it under the terms of the GNU General Public License as published by\n the Free Software Foundation, either version 3 of the License, or\n (at your option) any later version.\n \n This program is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more details.\n \n You should have received a copy of the GNU General Public License\n along with this program. If not, see http://www.gnu.org/licenses/.\n \n Lesli · Ruby on Rails SaaS Development Framework.\n \n Made with ♥ by https://www.lesli.tech\n Building a better future, one line of code at a time.\n \n @contact hello@lesli.tech\n @website https://www.lesli.tech\n @license GPLv3 http://www.gnu.org/licenses/gpl-3.0.en.html\n \n // · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~\n // · \n */\n\n // · import vue tools\n const slots = (0,vue__WEBPACK_IMPORTED_MODULE_0__.useSlots)();\n\n // · defining emits\n\n // · defining props\n\n function buttonVariant() {\n if (props.warning) return \"is-warning\";\n if (props.danger) return \"is-danger\";\n if (props.info) return \"is-info\";\n return \"is-primary\";\n }\n const buttonClasses = (0,vue__WEBPACK_IMPORTED_MODULE_0__.computed)(() => {\n let classes = [\"button\", buttonVariant()];\n if (!props.main) {\n classes.push(\"is-light\");\n classes.push(\"is-outlined\");\n }\n if (props.loading) {\n classes.push(\"is-loading\");\n }\n if (props.small) {\n classes.push(\"is-small\");\n }\n return classes;\n });\n const __returned__ = {\n slots,\n emit,\n props,\n buttonVariant,\n buttonClasses,\n ref: vue__WEBPACK_IMPORTED_MODULE_0__.ref,\n reactive: vue__WEBPACK_IMPORTED_MODULE_0__.reactive,\n onMounted: vue__WEBPACK_IMPORTED_MODULE_0__.onMounted,\n watch: vue__WEBPACK_IMPORTED_MODULE_0__.watch,\n computed: vue__WEBPACK_IMPORTED_MODULE_0__.computed,\n useSlots: vue__WEBPACK_IMPORTED_MODULE_0__.useSlots\n };\n Object.defineProperty(__returned__, '__isScriptSetup', {\n enumerable: false,\n value: true\n });\n return __returned__;\n }\n});\n\n//# sourceURL=webpack://lesli/../../enginesdev/lesli-vue/source/elements/button/Button.vue?./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use");
|
427
438
|
|
428
439
|
/***/ }),
|
429
440
|
|
@@ -577,7 +588,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
577
588
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
578
589
|
|
579
590
|
"use strict";
|
580
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.esm-bundler.js\");\n\n\n// · \n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n __name: 'Link',\n props: {\n to: {\n type: Object,\n required: false\n },\n icon: {\n type: String,\n required: false\n },\n loading: {\n type: Boolean,\n default: false,\n required: false\n },\n
|
591
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.esm-bundler.js\");\n/* harmony import */ var _button_Button_vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../button/Button.vue */ \"../../enginesdev/lesli-vue/source/elements/button/Button.vue\");\n\n\n// · \n\n\n// · \n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({\n __name: 'Link',\n props: {\n to: {\n type: Object,\n required: false\n },\n icon: {\n type: String,\n required: false\n },\n loading: {\n type: Boolean,\n default: false,\n required: false\n },\n danger: {\n type: Boolean,\n default: false,\n required: false\n },\n warning: {\n type: Boolean,\n default: false,\n required: false\n },\n info: {\n type: Boolean,\n default: false,\n required: false\n },\n main: {\n type: Boolean,\n default: false,\n required: false\n },\n small: {\n type: Boolean,\n default: false,\n required: false\n },\n iconOnly: {\n type: Boolean,\n default: false,\n required: false\n }\n },\n emits: ['click'],\n setup(__props, _ref) {\n let {\n expose: __expose,\n emit\n } = _ref;\n __expose();\n const props = __props;\n\n /*\n \n Lesli\n \n Copyright (c) 2023, Lesli Technologies, S. A.\n \n This program is free software: you can redistribute it and/or modify\n it under the terms of the GNU General Public License as published by\n the Free Software Foundation, either version 3 of the License, or\n (at your option) any later version.\n \n This program is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more details.\n \n You should have received a copy of the GNU General Public License\n along with this program. If not, see http://www.gnu.org/licenses/.\n \n Lesli · Your Smart Business Assistant. \n \n Made with ♥ by https://www.lesli.tech\n Building a better future, one line of code at a time.\n \n @contact hello@lesli.tech\n @website https://lesli.tech\n @license GPLv3 http://www.gnu.org/licenses/gpl-3.0.en.html\n \n // · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~\n // · \n \n */\n\n // · import vue tools\n const slots = (0,vue__WEBPACK_IMPORTED_MODULE_0__.useSlots)();\n\n // · defining emits\n\n // · defining props\n\n const __returned__ = {\n slots,\n emit,\n props,\n ref: vue__WEBPACK_IMPORTED_MODULE_0__.ref,\n reactive: vue__WEBPACK_IMPORTED_MODULE_0__.reactive,\n onMounted: vue__WEBPACK_IMPORTED_MODULE_0__.onMounted,\n watch: vue__WEBPACK_IMPORTED_MODULE_0__.watch,\n computed: vue__WEBPACK_IMPORTED_MODULE_0__.computed,\n useSlots: vue__WEBPACK_IMPORTED_MODULE_0__.useSlots,\n LesliButton: _button_Button_vue__WEBPACK_IMPORTED_MODULE_1__[\"default\"]\n };\n Object.defineProperty(__returned__, '__isScriptSetup', {\n enumerable: false,\n value: true\n });\n return __returned__;\n }\n});\n\n//# sourceURL=webpack://lesli/../../enginesdev/lesli-vue/source/elements/link/Link.vue?./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use");
|
581
592
|
|
582
593
|
/***/ }),
|
583
594
|
|
@@ -753,7 +764,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
753
764
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
754
765
|
|
755
766
|
"use strict";
|
756
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ render: () => (/* binding */ render)\n/* harmony export */ });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.esm-bundler.js\");\n\nconst _hoisted_1 = {\n ref: \"lesliApplicationHeader\",\n class: \"lesli-application-header\"\n};\nconst _hoisted_2 = {\n class: \"lesli-application-header-container container\"\n};\nconst _hoisted_3 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"figure\", {\n class: \"image lesli-brand\"\n}, [/*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"img\", {\n alt: \"App logo\",\n class: \"is-hidden-touch\",\n src: \"/assets/lesli/brand/app-logo.svg\"\n})], -1 /* HOISTED */);\nconst _hoisted_4 = {\n class: \"lesli-application-header-left\"\n};\nconst _hoisted_5 = {\n class: \"control is-medium has-icons-left has-text-grey\"\n};\nconst _hoisted_6 = {\n class: \"icon is-left has-text-gray\"\n};\nconst _hoisted_7 = {\n key: 0,\n class: \"material-icons\"\n};\nconst _hoisted_8 = [\"placeholder\"];\nconst _hoisted_9 = {\n class: \"lesli-application-header-right\"\n};\nconst _hoisted_10 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"span\", {\n class: \"ri-apps-2-line\"\n}, null, -1 /* HOISTED */);\nconst _hoisted_11 = [_hoisted_10];\nconst _hoisted_12 = {\n key: 0,\n class: \"count\"\n};\nconst _hoisted_13 = {\n key: 0,\n class: \"count\"\n};\nconst _hoisted_14 = {\n key: 0,\n class: \"count\"\n};\nconst _hoisted_15 = {\n class: \"dropdown is-right is-hoverable header-user-options\"\n};\nconst _hoisted_16 = {\n class: \"dropdown-trigger\"\n};\nconst _hoisted_17 = {\n class: \"icon has-text-link\"\n};\nconst _hoisted_18 = {\n class: \"dropdown-menu\",\n id: \"dropdown-menu\",\n role: \"menu\"\n};\nconst _hoisted_19 = {\n class: \"dropdown-content\"\n};\nconst _hoisted_20 = [\"href\"];\nconst _hoisted_21 = {\n class: \"icon-text\"\n};\nconst _hoisted_22 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"span\", {\n class: \"icon has-text-grey-dark\"\n}, [/*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"span\", {\n class: \"ri-user-line\"\n})], -1 /* HOISTED */);\nconst _hoisted_23 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"hr\", {\n class: \"dropdown-divider\"\n}, null, -1 /* HOISTED */);\nconst _hoisted_24 = {\n href: \"/logout\",\n class: \"dropdown-item py-3\"\n};\nconst _hoisted_25 = {\n class: \"icon-text\"\n};\nconst _hoisted_26 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"span\", {\n class: \"icon has-text-grey-dark\"\n}, [/*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"span\", {\n class: \"ri-logout-box-r-line\"\n})], -1 /* HOISTED */);\n\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n const _component_lesli_loading = (0,vue__WEBPACK_IMPORTED_MODULE_0__.resolveComponent)(\"lesli-loading\");\n return (0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"header\", _hoisted_1, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", _hoisted_2, [_hoisted_3, (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", _hoisted_4, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", _hoisted_5, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"span\", _hoisted_6, [!$setup.storeSearch.loading ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"span\", _hoisted_7, \" search \")) : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(\"v-if\", true), $setup.storeSearch.loading ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)(_component_lesli_loading, {\n key: 1,\n icon: true\n })) : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(\"v-if\", true)]), (0,vue__WEBPACK_IMPORTED_MODULE_0__.withDirectives)((0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"input\", {\n type: \"email\",\n name: \"global_search\",\n class: \"input is-shadowless\",\n placeholder: $setup.translations.core.shared.search_placeholder || 'Ask to Lesli...',\n onInput: _cache[0] || (_cache[0] = function () {\n return $setup.storeSearch.doSearch && $setup.storeSearch.doSearch(...arguments);\n }),\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = $event => $setup.storeSearch.text = $event)\n }, null, 40 /* PROPS, HYDRATE_EVENTS */, _hoisted_8), [[vue__WEBPACK_IMPORTED_MODULE_0__.vModelText, $setup.storeSearch.text]])])]), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", _hoisted_9, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(\" engines selector \"), $setup.props.showEngines || true ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"a\", {\n key: 0,\n class: \"header-indicator\",\n onClick: _cache[2] || (_cache[2] = $event => $setup.toggleEngines())\n }, _hoisted_11)) : 0, (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(\" Tickets \"), $setup.props.showTickets || true ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"a\", {\n key: 1,\n class: \"header-indicator\",\n onClick: _cache[3] || (_cache[3] = () => {\n $setup.storeLayout.showTickets = true;\n })\n }, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"span\", {\n class: (0,vue__WEBPACK_IMPORTED_MODULE_0__.normalizeClass)(['ri-ticket-2-line', {\n 'is-active': $setup.storeLayout.header.tickets > 0\n }])\n }, null, 2 /* CLASS */), $setup.storeLayout.header.tickets > 0 ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"span\", _hoisted_12, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.storeLayout.header.tickets), 1 /* TEXT */)) : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(\"v-if\", true)])) : 0, (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(\" Tasks \"), $setup.props.showFocus || true ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"a\", {\n key: 2,\n class: \"header-indicator\",\n onClick: _cache[4] || (_cache[4] = () => {\n if ($setup.storeLayout.header.tasks > 0) {\n $setup.storeLayout.showTasks = true;\n }\n })\n }, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"span\", {\n class: (0,vue__WEBPACK_IMPORTED_MODULE_0__.normalizeClass)(['ri-list-check-3', {\n 'is-active': $setup.storeLayout.header.tasks > 0\n }])\n }, null, 2 /* CLASS */), $setup.storeLayout.header.tasks > 0 ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"span\", _hoisted_13, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.storeLayout.header.tasks), 1 /* TEXT */)) : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(\"v-if\", true)])) : 0, (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(\" Notifications \"), $setup.props.showBell || true ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"a\", {\n key: 3,\n class: \"header-indicator\",\n onClick: _cache[5] || (_cache[5] = () => {\n if ($setup.storeLayout.header.notifications > 0) {\n $setup.storeLayout.showNotifications = true;\n }\n })\n }, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"span\", {\n class: (0,vue__WEBPACK_IMPORTED_MODULE_0__.normalizeClass)(['ri-notification-3-line', {\n 'is-active': $setup.storeLayout.header.notifications > 0\n }])\n }, null, 2 /* CLASS */), $setup.storeLayout.header.notifications > 0 ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"span\", _hoisted_14, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.storeLayout.header.notifications), 1 /* TEXT */)) : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(\"v-if\", true)])) : 0, (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(\" Profile options \"), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", _hoisted_15, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", _hoisted_16, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"span\", _hoisted_17, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"span\", {\n class: \"ri-user-smile-line\",\n onClick: _cache[6] || (_cache[6] = $event => $setup.storeLayout.showProfile = true)\n })])]), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", _hoisted_18, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", _hoisted_19, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"a\", {\n href: $setup.url.admin('profile'),\n class: \"dropdown-item py-3\"\n }, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"span\", _hoisted_21, [_hoisted_22, (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"span\", null, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.translations.core.shared.view_text_profile), 1 /* TEXT */)])], 8 /* PROPS */, _hoisted_20), _hoisted_23, (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"a\", _hoisted_24, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"span\", _hoisted_25, [_hoisted_26, (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"span\", null, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.translations.core.shared.view_text_logout), 1 /* TEXT */)])])])])])])])], 512 /* NEED_PATCH */);\n}\n\n//# sourceURL=webpack://lesli/./lib/vue/layouts/application-header.vue?./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use!./node_modules/vue-loader/dist/templateLoader.js??ruleSet%5B1%5D.rules%5B2%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use");
|
767
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ render: () => (/* binding */ render)\n/* harmony export */ });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.esm-bundler.js\");\n\nconst _hoisted_1 = {\n ref: \"lesliApplicationHeader\",\n class: \"lesli-application-header\"\n};\nconst _hoisted_2 = {\n class: \"lesli-application-header-container container\"\n};\nconst _hoisted_3 = [\"href\"];\nconst _hoisted_4 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"figure\", {\n class: \"image lesli-brand\"\n}, [/*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"img\", {\n alt: \"App logo\",\n class: \"is-hidden-touch\",\n src: \"/assets/lesli/brand/app-logo.svg\"\n})], -1 /* HOISTED */);\nconst _hoisted_5 = [_hoisted_4];\nconst _hoisted_6 = {\n class: \"lesli-application-header-left\"\n};\nconst _hoisted_7 = {\n class: \"control is-medium has-icons-left has-text-grey\"\n};\nconst _hoisted_8 = {\n class: \"icon is-left has-text-gray\"\n};\nconst _hoisted_9 = {\n key: 0,\n class: \"material-icons\"\n};\nconst _hoisted_10 = [\"placeholder\"];\nconst _hoisted_11 = {\n class: \"lesli-application-header-right\"\n};\nconst _hoisted_12 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"span\", {\n class: \"ri-apps-2-line\"\n}, null, -1 /* HOISTED */);\nconst _hoisted_13 = [_hoisted_12];\nconst _hoisted_14 = {\n key: 0,\n class: \"count\"\n};\nconst _hoisted_15 = {\n key: 0,\n class: \"count\"\n};\nconst _hoisted_16 = {\n key: 0,\n class: \"count\"\n};\nconst _hoisted_17 = {\n class: \"dropdown is-right is-hoverable header-user-options\"\n};\nconst _hoisted_18 = {\n class: \"dropdown-trigger\"\n};\nconst _hoisted_19 = {\n class: \"icon has-text-link\"\n};\nconst _hoisted_20 = {\n class: \"dropdown-menu\",\n id: \"dropdown-menu\",\n role: \"menu\"\n};\nconst _hoisted_21 = {\n class: \"dropdown-content\"\n};\nconst _hoisted_22 = [\"href\"];\nconst _hoisted_23 = {\n class: \"icon-text\"\n};\nconst _hoisted_24 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"span\", {\n class: \"icon has-text-grey-dark\"\n}, [/*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"span\", {\n class: \"ri-user-line\"\n})], -1 /* HOISTED */);\nconst _hoisted_25 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"hr\", {\n class: \"dropdown-divider\"\n}, null, -1 /* HOISTED */);\nconst _hoisted_26 = {\n href: \"/logout\",\n class: \"dropdown-item py-3\"\n};\nconst _hoisted_27 = {\n class: \"icon-text\"\n};\nconst _hoisted_28 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"span\", {\n class: \"icon has-text-grey-dark\"\n}, [/*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"span\", {\n class: \"ri-logout-box-r-line\"\n})], -1 /* HOISTED */);\n\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n const _component_lesli_loading = (0,vue__WEBPACK_IMPORTED_MODULE_0__.resolveComponent)(\"lesli-loading\");\n return (0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"header\", _hoisted_1, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", _hoisted_2, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"a\", {\n href: $setup.props.enginePath\n }, _hoisted_5, 8 /* PROPS */, _hoisted_3), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", _hoisted_6, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", _hoisted_7, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"span\", _hoisted_8, [!$setup.storeSearch.loading ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"span\", _hoisted_9, \" search \")) : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(\"v-if\", true), $setup.storeSearch.loading ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)(_component_lesli_loading, {\n key: 1,\n icon: true\n })) : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(\"v-if\", true)]), (0,vue__WEBPACK_IMPORTED_MODULE_0__.withDirectives)((0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"input\", {\n type: \"email\",\n name: \"global_search\",\n class: \"input is-shadowless\",\n placeholder: $setup.translations.core.shared.search_placeholder || 'Ask to Lesli...',\n onInput: _cache[0] || (_cache[0] = function () {\n return $setup.storeSearch.doSearch && $setup.storeSearch.doSearch(...arguments);\n }),\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = $event => $setup.storeSearch.text = $event)\n }, null, 40 /* PROPS, HYDRATE_EVENTS */, _hoisted_10), [[vue__WEBPACK_IMPORTED_MODULE_0__.vModelText, $setup.storeSearch.text]])])]), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", _hoisted_11, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(\" funciona \"), (0,vue__WEBPACK_IMPORTED_MODULE_0__.renderSlot)(_ctx.$slots, \"default\"), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(\" engines selector \"), $setup.props.showEngines || true ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"a\", {\n key: 0,\n class: \"header-indicator\",\n onClick: _cache[2] || (_cache[2] = $event => $setup.toggleEngines())\n }, _hoisted_13)) : 0, (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(\" Tickets \"), $setup.props.showTickets || true ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"a\", {\n key: 1,\n class: \"header-indicator\",\n onClick: _cache[3] || (_cache[3] = () => {\n $setup.storeLayout.showTickets = true;\n })\n }, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"span\", {\n class: (0,vue__WEBPACK_IMPORTED_MODULE_0__.normalizeClass)(['ri-ticket-2-line', {\n 'is-active': $setup.storeLayout.header.tickets > 0\n }])\n }, null, 2 /* CLASS */), $setup.storeLayout.header.tickets > 0 ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"span\", _hoisted_14, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.storeLayout.header.tickets), 1 /* TEXT */)) : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(\"v-if\", true)])) : 0, (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(\" Tasks \"), $setup.props.showFocus || true ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"a\", {\n key: 2,\n class: \"header-indicator\",\n onClick: _cache[4] || (_cache[4] = () => {\n if ($setup.storeLayout.header.tasks > 0) {\n $setup.storeLayout.showTasks = true;\n }\n })\n }, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"span\", {\n class: (0,vue__WEBPACK_IMPORTED_MODULE_0__.normalizeClass)(['ri-list-check-3', {\n 'is-active': $setup.storeLayout.header.tasks > 0\n }])\n }, null, 2 /* CLASS */), $setup.storeLayout.header.tasks > 0 ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"span\", _hoisted_15, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.storeLayout.header.tasks), 1 /* TEXT */)) : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(\"v-if\", true)])) : 0, (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(\" Notifications \"), $setup.props.showBell || true ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"a\", {\n key: 3,\n class: \"header-indicator\",\n onClick: _cache[5] || (_cache[5] = () => {\n if ($setup.storeLayout.header.notifications > 0) {\n $setup.storeLayout.showNotifications = true;\n }\n })\n }, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"span\", {\n class: (0,vue__WEBPACK_IMPORTED_MODULE_0__.normalizeClass)(['ri-notification-3-line', {\n 'is-active': $setup.storeLayout.header.notifications > 0\n }])\n }, null, 2 /* CLASS */), $setup.storeLayout.header.notifications > 0 ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"span\", _hoisted_16, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.storeLayout.header.notifications), 1 /* TEXT */)) : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(\"v-if\", true)])) : 0, (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(\" Profile options \"), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", _hoisted_17, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", _hoisted_18, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"span\", _hoisted_19, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"span\", {\n class: \"ri-user-smile-line\",\n onClick: _cache[6] || (_cache[6] = $event => $setup.storeLayout.showProfile = true)\n })])]), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", _hoisted_20, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", _hoisted_21, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"a\", {\n href: $setup.url.admin('profile'),\n class: \"dropdown-item py-3\"\n }, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"span\", _hoisted_23, [_hoisted_24, (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"span\", null, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.translations.core.shared.view_text_profile), 1 /* TEXT */)])], 8 /* PROPS */, _hoisted_22), _hoisted_25, (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"a\", _hoisted_26, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"span\", _hoisted_27, [_hoisted_28, (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"span\", null, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.translations.core.shared.view_text_logout), 1 /* TEXT */)])])])])])])])], 512 /* NEED_PATCH */);\n}\n\n//# sourceURL=webpack://lesli/./lib/vue/layouts/application-header.vue?./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use!./node_modules/vue-loader/dist/templateLoader.js??ruleSet%5B1%5D.rules%5B2%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use");
|
757
768
|
|
758
769
|
/***/ }),
|
759
770
|
|
@@ -797,7 +808,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
797
808
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
798
809
|
|
799
810
|
"use strict";
|
800
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ render: () => (/* binding */ render)\n/* harmony export */ });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.esm-bundler.js\");\n\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n const _component_lesli_application_container = (0,vue__WEBPACK_IMPORTED_MODULE_0__.resolveComponent)(\"lesli-application-container\");\n return (0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(vue__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)(_component_lesli_application_container, null, {\n default: (0,vue__WEBPACK_IMPORTED_MODULE_0__.withCtx)(() => [(0,vue__WEBPACK_IMPORTED_MODULE_0__.
|
811
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ render: () => (/* binding */ render)\n/* harmony export */ });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.esm-bundler.js\");\n\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n const _component_lesli_tab_item = (0,vue__WEBPACK_IMPORTED_MODULE_0__.resolveComponent)(\"lesli-tab-item\");\n const _component_lesli_tabs = (0,vue__WEBPACK_IMPORTED_MODULE_0__.resolveComponent)(\"lesli-tabs\");\n const _component_lesli_application_container = (0,vue__WEBPACK_IMPORTED_MODULE_0__.resolveComponent)(\"lesli-application-container\");\n return (0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(vue__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)(_component_lesli_application_container, null, {\n default: (0,vue__WEBPACK_IMPORTED_MODULE_0__.withCtx)(() => [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)($setup[\"informationCard\"]), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)(_component_lesli_tabs, {\n modelValue: $setup.tab,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = $event => $setup.tab = $event)\n }, {\n default: (0,vue__WEBPACK_IMPORTED_MODULE_0__.withCtx)(() => [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)(_component_lesli_tab_item, {\n icon: \"info_outline\",\n title: \"Information\"\n }, {\n default: (0,vue__WEBPACK_IMPORTED_MODULE_0__.withCtx)(() => [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)($setup[\"informationForm\"])]),\n _: 1 /* STABLE */\n })]),\n\n _: 1 /* STABLE */\n }, 8 /* PROPS */, [\"modelValue\"])]),\n _: 1 /* STABLE */\n }), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(\"\\n <application-component>\\n \\n <lesli-tabs v-model=\\\"tab\\\" v-if=\\\"storeUser.user.id\\\">\\n <lesli-tab-item icon=\\\"info_outline\\\" :title=\\\"translations.core.users.view_tab_title_information\\\">\\n <information-form></information-form>\\n </lesli-tab-item>\\n <lesli-tab-item icon=\\\"security\\\" :title=\\\"translations.core.users.view_tab_title_roles_and_privileges\\\">\\n < ! - -form-roles></form-roles - - >\\n </lesli-tab-item>\\n <lesli-tab-item icon=\\\"lock_outline\\\" :title=\\\"translations.core.users.view_tab_title_security || 'Security'\\\">\\n <management-security></management-security>\\n </lesli-tab-item>\\n <lesli-tab-item icon=\\\"devices\\\" :title=\\\"translations.core.users.view_tab_title_session || 'Sessions'\\\" paddingless>\\n <management-session></management-session>\\n </lesli-tab-item>\\n <lesli-tab-item icon=\\\"settings\\\" :title=\\\"translations.core.users.view_tab_title_settings\\\">\\n < ! - - settings></settings - - >\\n </lesli-tab-item>\\n </lesli-tabs>\\n </application-component>\\n \\n <section class=\\\"application-component\\\">\\n <information-card></information-card>\\n <lesli-tabs v-if=\\\"storeUser.user.id\\\">\\n <lesli-tab-item :title=\\\"translations.core.users.view_tab_title_information\\\">\\n <information-form></information-form>\\n </lesli-tab-item>\\n <lesli-tab-item :title=\\\"translations.core.users.view_tab_title_subscriptions\\\">\\n <subscriptions-component>\\n </subscriptions-component>\\n </lesli-tab-item>\\n <lesli-tab-item :title=\\\"translations.core.users.view_tab_title_security\\\">\\n <form-security></form-security>\\n </lesli-tab-item>\\n <lesli-tab-item :title=\\\"translations.core.users.view_tab_title_session_management\\\">\\n <management-session></management-session>\\n </lesli-tab-item>\\n <lesli-tab-item :title=\\\"translations.core.users.view_tab_title_settings\\\">\\n <settings></settings>\\n </lesli-tab-item>\\n <lesli-tab-item :title=\\\"translations.core.users.view_tab_title_integrations\\\">\\n <integrations-information></integrations-information>\\n </lesli-tab-item>\\n </lesli-tabs>\\n </section>\\n \")], 2112 /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */);\n}\n\n//# sourceURL=webpack://lesli/../LesliAdmin/lib/vue/apps/profile/show.vue?./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use!./node_modules/vue-loader/dist/templateLoader.js??ruleSet%5B1%5D.rules%5B2%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use");
|
801
812
|
|
802
813
|
/***/ }),
|
803
814
|
|
@@ -940,7 +951,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
940
951
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
941
952
|
|
942
953
|
"use strict";
|
943
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ render: () => (/* binding */ render)\n/* harmony export */ });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.esm-bundler.js\");\n\nconst _hoisted_1 = {\n class: \"material-icons\"\n};\nconst _hoisted_2 = {\n key: 1\n};\
|
954
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ render: () => (/* binding */ render)\n/* harmony export */ });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.esm-bundler.js\");\n\nconst _hoisted_1 = {\n class: \"material-icons\"\n};\nconst _hoisted_2 = {\n key: 1\n};\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n return (0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"button\", {\n onClick: _cache[0] || (_cache[0] = $event => $setup.emit('click')),\n class: (0,vue__WEBPACK_IMPORTED_MODULE_0__.normalizeClass)($setup.buttonClasses)\n }, [$props.icon ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"span\", {\n key: 0,\n class: (0,vue__WEBPACK_IMPORTED_MODULE_0__.normalizeClass)(['icon', {\n 'is-small': $props.small\n }])\n }, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"span\", _hoisted_1, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($props.icon), 1 /* TEXT */)], 2 /* CLASS */)) : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(\"v-if\", true), !$props.iconOnly ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"span\", _hoisted_2, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.renderSlot)(_ctx.$slots, \"default\")])) : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(\"v-if\", true)], 2 /* CLASS */);\n}\n\n//# sourceURL=webpack://lesli/../../enginesdev/lesli-vue/source/elements/button/Button.vue?./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use!./node_modules/vue-loader/dist/templateLoader.js??ruleSet%5B1%5D.rules%5B2%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use");
|
944
955
|
|
945
956
|
/***/ }),
|
946
957
|
|
@@ -962,7 +973,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
962
973
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
963
974
|
|
964
975
|
"use strict";
|
965
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ render: () => (/* binding */ render)\n/* harmony export */ });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.esm-bundler.js\");\n\nconst _hoisted_1 = {\n class: \"card lesli-card\"\n};\nconst _hoisted_2 = {\n key: 0,\n class: \"card-header\"\n};\nconst _hoisted_3 = {\n class: \"card-content\"\n};\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n return (0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"div\", _hoisted_1, [$setup.slots['header'] ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"div\", _hoisted_2, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.renderSlot)(_ctx.$slots, \"header\")])) : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(\"v-if\", true), (0,vue__WEBPACK_IMPORTED_MODULE_0__.
|
976
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ render: () => (/* binding */ render)\n/* harmony export */ });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.esm-bundler.js\");\n\nconst _hoisted_1 = {\n class: \"card lesli-card\"\n};\nconst _hoisted_2 = {\n key: 0,\n class: \"card-header\"\n};\nconst _hoisted_3 = {\n key: 1,\n class: \"\"\n};\nconst _hoisted_4 = {\n class: \"card-header-title pb-0 pt-2 pl-3\"\n};\nconst _hoisted_5 = {\n class: \"card-content py-2 px-3\"\n};\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n return (0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"div\", _hoisted_1, [$setup.slots['header'] ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"div\", _hoisted_2, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.renderSlot)(_ctx.$slots, \"header\")])) : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(\"v-if\", true), !$setup.slots.header && $setup.props.title ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"div\", _hoisted_3, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"h4\", _hoisted_4, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($setup.props.title), 1 /* TEXT */)])) : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(\"v-if\", true), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementVNode)(\"div\", _hoisted_5, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.renderSlot)(_ctx.$slots, \"default\")])]);\n}\n\n//# sourceURL=webpack://lesli/../../enginesdev/lesli-vue/source/elements/card/Card.vue?./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use!./node_modules/vue-loader/dist/templateLoader.js??ruleSet%5B1%5D.rules%5B2%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use");
|
966
977
|
|
967
978
|
/***/ }),
|
968
979
|
|
@@ -977,6 +988,28 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
977
988
|
|
978
989
|
/***/ }),
|
979
990
|
|
991
|
+
/***/ "./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use!../../enginesdev/lesli-vue/source/elements/columns/Column.vue?vue&type=template&id=5e196290":
|
992
|
+
/*!***********************************************************************************************************************************************************************************************************************************************************************************************!*\
|
993
|
+
!*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use!../../enginesdev/lesli-vue/source/elements/columns/Column.vue?vue&type=template&id=5e196290 ***!
|
994
|
+
\***********************************************************************************************************************************************************************************************************************************************************************************************/
|
995
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
996
|
+
|
997
|
+
"use strict";
|
998
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ render: () => (/* binding */ render)\n/* harmony export */ });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.esm-bundler.js\");\n\nconst _hoisted_1 = {\n class: \"column\"\n};\nfunction render(_ctx, _cache) {\n return (0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"div\", _hoisted_1, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.renderSlot)(_ctx.$slots, \"default\")]);\n}\n\n//# sourceURL=webpack://lesli/../../enginesdev/lesli-vue/source/elements/columns/Column.vue?./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use!./node_modules/vue-loader/dist/templateLoader.js??ruleSet%5B1%5D.rules%5B2%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use");
|
999
|
+
|
1000
|
+
/***/ }),
|
1001
|
+
|
1002
|
+
/***/ "./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use!../../enginesdev/lesli-vue/source/elements/columns/Columns.vue?vue&type=template&id=5122296b":
|
1003
|
+
/*!************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
1004
|
+
!*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use!../../enginesdev/lesli-vue/source/elements/columns/Columns.vue?vue&type=template&id=5122296b ***!
|
1005
|
+
\************************************************************************************************************************************************************************************************************************************************************************************************/
|
1006
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
1007
|
+
|
1008
|
+
"use strict";
|
1009
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ render: () => (/* binding */ render)\n/* harmony export */ });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.esm-bundler.js\");\n\nconst _hoisted_1 = {\n class: \"columns\"\n};\nfunction render(_ctx, _cache) {\n return (0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createElementBlock)(\"div\", _hoisted_1, [(0,vue__WEBPACK_IMPORTED_MODULE_0__.renderSlot)(_ctx.$slots, \"default\")]);\n}\n\n//# sourceURL=webpack://lesli/../../enginesdev/lesli-vue/source/elements/columns/Columns.vue?./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use!./node_modules/vue-loader/dist/templateLoader.js??ruleSet%5B1%5D.rules%5B2%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use");
|
1010
|
+
|
1011
|
+
/***/ }),
|
1012
|
+
|
980
1013
|
/***/ "./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use!../../enginesdev/lesli-vue/source/elements/control/Control.vue?vue&type=template&id=0e22772a":
|
981
1014
|
/*!************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
982
1015
|
!*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use!../../enginesdev/lesli-vue/source/elements/control/Control.vue?vue&type=template&id=0e22772a ***!
|
@@ -1094,7 +1127,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
1094
1127
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
1095
1128
|
|
1096
1129
|
"use strict";
|
1097
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ render: () => (/* binding */ render)\n/* harmony export */ });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.esm-bundler.js\");\n\
|
1130
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ render: () => (/* binding */ render)\n/* harmony export */ });\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.esm-bundler.js\");\n\nfunction render(_ctx, _cache, $props, $setup, $data, $options) {\n const _component_router_link = (0,vue__WEBPACK_IMPORTED_MODULE_0__.resolveComponent)(\"router-link\");\n return (0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)(_component_router_link, {\n to: $props.to.toString()\n }, {\n default: (0,vue__WEBPACK_IMPORTED_MODULE_0__.withCtx)(() => [(0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)($setup[\"LesliButton\"], (0,vue__WEBPACK_IMPORTED_MODULE_0__.normalizeProps)((0,vue__WEBPACK_IMPORTED_MODULE_0__.guardReactiveProps)($setup.props)), {\n default: (0,vue__WEBPACK_IMPORTED_MODULE_0__.withCtx)(() => [(0,vue__WEBPACK_IMPORTED_MODULE_0__.renderSlot)(_ctx.$slots, \"default\")]),\n _: 3 /* FORWARDED */\n }, 16 /* FULL_PROPS */)]),\n\n _: 3 /* FORWARDED */\n }, 8 /* PROPS */, [\"to\"]);\n}\n\n//# sourceURL=webpack://lesli/../../enginesdev/lesli-vue/source/elements/link/Link.vue?./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use!./node_modules/vue-loader/dist/templateLoader.js??ruleSet%5B1%5D.rules%5B2%5D!./node_modules/vue-loader/dist/index.js??ruleSet%5B0%5D.use");
|
1098
1131
|
|
1099
1132
|
/***/ }),
|
1100
1133
|
|
@@ -1241,6 +1274,17 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var Lesl
|
|
1241
1274
|
|
1242
1275
|
/***/ }),
|
1243
1276
|
|
1277
|
+
/***/ "../LesliAdmin/lib/vue/stores/user.js":
|
1278
|
+
/*!********************************************!*\
|
1279
|
+
!*** ../LesliAdmin/lib/vue/stores/user.js ***!
|
1280
|
+
\********************************************/
|
1281
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
1282
|
+
|
1283
|
+
"use strict";
|
1284
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ useUser: () => (/* binding */ useUser)\n/* harmony export */ });\n/* harmony import */ var pinia__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! pinia */ \"./node_modules/pinia/dist/pinia.mjs\");\n/*\nLesli\n\nCopyright (c) 2023, Lesli Technologies, S. A.\n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program. If not, see http://www.gnu.org/licenses/.\n\nLesli · Ruby on Rails Development Platform.\n\nMade with ♥ by https://www.lesli.tech\nBuilding a better future, one line of code at a time.\n\n@contact hello@lesli.tech\n@website https://www.lesli.tech\n@license GPLv3 http://www.gnu.org/licenses/gpl-3.0.en.html\n\n// · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~\n// · \n*/\n\n// · \n\n\n// · \nconst useUser = (0,pinia__WEBPACK_IMPORTED_MODULE_0__.defineStore)(\"lesli.user\", {\n state: () => {\n return {\n options: {\n regions: [],\n locales: [],\n salutations: [],\n mfa_methods: []\n },\n user: {\n roles_id: null,\n email: null,\n alias: null,\n first_name: null,\n last_name: null,\n telephone: null,\n detail_attributes: {\n salutation: null,\n title: null\n }\n },\n roles: [],\n sessions: {\n pagination: {},\n records: []\n },\n options: {\n salutations: [],\n locales: []\n }\n };\n },\n getters: {\n initials() {\n let initials = \"\";\n if (this.user?.first_name) initials += this.user?.first_name[0];\n if (this.user?.last_name) initials += this.user?.last_name[0];\n return initials.toUpperCase();\n }\n },\n actions: {\n getOptions() {\n this.http.get(this.url.lesli(\"users/options\")).then(result => {\n this.options = result;\n });\n },\n getUser() {\n let id = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;\n let url = this.url.admin(\"profile\");\n if (id !== null) {\n console.log(\"aqui\");\n url = this.url.admin(\"users/:id\", id);\n }\n\n // get an specifick user if id is provided\n this.http.get(url).then(result => {\n this.user = result;\n this.user.password = \"\";\n this.user.password_confirmation = \"\";\n this.language = result.locale ? result.locale.value : this.language;\n\n // Backend should return the list of roles ordered by object level permission\n this.role_names = result.roles[0].name;\n }).catch(error => {\n this.msg.danger(I18n.t(\"core.shared.messages_danger_internal_error\"));\n }).finally(() => {\n this.loading = false;\n });\n },\n putUser() {\n this.http.put(this.url.lesli(\"users/:id\", this.user.id), {\n user: {\n active: this.user.active,\n alias: this.user.alias,\n first_name: this.user.first_name,\n last_name: this.user.last_name,\n telephone: this.user.telephone,\n detail_attributes: {\n title: this.user.detail_attributes.title,\n salutation: this.user.detail_attributes.salutation\n }\n }\n }).then(result => {\n this.msg.success(I18n.t(\"core.users.messages_success_operation\"));\n }).catch(error => {\n this.msg.danger(I18n.t(\"core.shared.messages_danger_internal_error\"));\n });\n },\n deleteUser() {\n this.dialog.confirmation({\n title: \"Delete user\",\n text: \"Are you sure you want to delete user?\",\n confirmText: \"Yes\",\n cancelText: \"No\"\n }).then(_ref => {\n let {\n isConfirmed\n } = _ref;\n if (isConfirmed) {\n this.http.delete(this.url.lesli(\"/users/:id\", this.user.id)).then(result => {\n this.msg.success(I18n.t(\"core.users.messages_success_operation\"));\n //this.url.go(\"/administration/users\")\n }).catch(error => {\n this.msg.danger(I18n.t(\"core.shared.messages_danger_internal_error\"));\n });\n }\n });\n },\n getRoles() {\n this.http.get(this.url.lesli(\"users/:id/roles\", this.user.id)).then(result => {\n this.roles = result;\n }).catch(error => {\n console.log(error);\n });\n },\n postRole(role) {\n this.http.post(this.url.lesli('users/:id/roles', this.user.id), {\n user_role: {\n id: role.id\n }\n }).then(result => {\n this.msg.success(I18n.t(\"core.users.messages_success_operation\"));\n }).catch(error => {\n this.msg.danger(I18n.t(\"core.shared.messages_danger_internal_error\"));\n });\n },\n deleteRole(role) {\n this.http.delete(this.url.lesli('users/:user_id/roles/:role_id', {\n user_id: this.user.id,\n role_id: role.id\n })).then(result => {\n this.msg.success(I18n.t(\"core.users.messages_success_operation\"));\n }).catch(error => {\n this.msg.danger(I18n.t(\"core.shared.messages_danger_internal_error\"));\n });\n },\n doRequestPassword() {\n this.http.post(this.url.lesli(\"users/:id/requestpassword\", this.user.id)).then(result => {\n this.msg.success(I18n.t(\"core.users.messages_success_operation\"));\n }).catch(error => {\n this.msg.danger(I18n.t(\"core.shared.messages_danger_internal_error\"));\n });\n },\n doPasswordReset() {\n this.http.post(this.url.lesli(\"users/:id/passwordreset\", this.user.id)).then(result => {\n this.msg.success(I18n.t(\"core.users.messages_success_operation\"));\n }).catch(error => {\n this.msg.danger(I18n.t(\"core.shared.messages_danger_internal_error\"));\n });\n },\n doLogout() {\n this.http.post(this.url.lesli(\"users/:id/logout\", this.user.id)).then(result => {\n this.msg.success(I18n.t(\"core.users.messages_success_operation\"));\n }).catch(error => {\n this.msg.danger(I18n.t(\"core.shared.messages_danger_internal_error\"));\n });\n },\n doRevokeAccess() {\n this.http.post(this.url.lesli(\"users/:id/revokeaccess\", this.user.id)).then(result => {\n this.msg.success(I18n.t(\"core.users.messages_success_operation\"));\n }).catch(error => {\n this.msg.danger(I18n.t(\"core.shared.messages_danger_internal_error\"));\n });\n },\n fetchSessions() {\n if (!this.sessions.length > 0) {\n this.getSessions();\n }\n },\n getSessions() {\n this.http.get(this.url.lesli(\"users/:id/sessions\", this.user.id)).then(result => {\n this.sessions.pagination = result.pagination;\n this.sessions.records = result.records;\n }).catch(error => {\n this.msg.danger(I18n.t(\"core.shared.messages_danger_internal_error\"));\n }).finally(() => {\n this.loading = false;\n });\n },\n deleteSession(user_session_id) {\n this.dialog.confirmation({\n title: \"Close session\",\n text: 'Are you sure you want to close this session',\n confirmText: \"Yes\",\n cancelText: \"No\"\n }).then(_ref2 => {\n let {\n isConfirmed\n } = _ref2;\n if (isConfirmed) {\n this.http.delete(this.url.lesli(\"users/:id/sessions/:session_id\", {\n id: this.user.id,\n session_id: user_session_id\n })).then(result => {\n this.msg.success(I18n.t(\"core.users.messages_success_operation\"));\n }).catch(error => {\n this.msg.danger(I18n.t(\"core.shared.messages_danger_internal_error\"));\n });\n this.fetchSessions();\n }\n });\n },\n postLanguage() {\n this.http.post(this.url.lesli('users/:id/settings', this.user.id), {\n user_setting: {\n name: 'locale',\n value: this.user.locale.value\n }\n }).then(result => {\n this.msg.success(I18n.t(\"core.users.messages_success_operation\"));\n // TODO: Only if current_user changed his own language\n // reload the page so the user can work with the new language\n // setTimeout(() => window.location.reload(), 1000)\n }).catch(error => {\n this.msg.danger(I18n.t(\"core.shared.messages_danger_internal_error\"));\n });\n },\n getOptions() {\n this.http.get(this.url.lesli(\"users/options\")).then(result => {\n this.options.salutations = result.salutations;\n this.options.locales = Object.keys(result.locales).map(key => {\n return {\n label: result.locales[key],\n value: key\n };\n });\n }).catch(error => {\n this.msg.danger(I18n.t(\"core.shared.messages_danger_internal_error\"));\n });\n }\n }\n});\n\n/*\n\n\n\nupdatePassword() {\n this.http.put(\"/\", {\n user: {\n password: this.user.password,\n password_confirmation: this.user.password_confirmation\n }\n }).then(result => {\n this.msg.success(I18n.t(\"core.users.messages_success_operation\"))\n this.user.password = \"\"\n this.user.password_confirmation = \"\"\n }).catch(error => {\n this.msg.danger(I18n.t(\"core.shared.messages_danger_internal_error\"))\n })\n},\n\n// This action is used to change the user status active or inactive\nputUserStatus(){\n this.dialog.confirmation({\n title: \"Change status\",\n text: \"Are you sure you want to change the status of this user?\",\n confirmText: \"Yes\",\n cancelText: \"No\"\n })\n .then(({ isConfirmed }) => {\n if (isConfirmed) {\n this.http.patch(this.url.lesli('users/:id', this.user.id), {\n user: {\n active: this.user.active\n }\n }).then(result => {\n this.msg.success(I18n.t(\"core.users.messages_success_operation\"))\n }) .catch(error => {\n this.msg.danger(I18n.t(\"core.shared.messages_danger_internal_error\")) \n })\n } else {\n this.user.active = !this.user.active\n }\n })\n},\n\n*/\n\n//# sourceURL=webpack://lesli/../LesliAdmin/lib/vue/stores/user.js?");
|
1285
|
+
|
1286
|
+
/***/ }),
|
1287
|
+
|
1244
1288
|
/***/ "../LesliAdmin/lib/vue/stores/users.js":
|
1245
1289
|
/*!*********************************************!*\
|
1246
1290
|
!*** ../LesliAdmin/lib/vue/stores/users.js ***!
|
@@ -1248,7 +1292,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var Lesl
|
|
1248
1292
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
1249
1293
|
|
1250
1294
|
"use strict";
|
1251
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ useUsers: () => (/* binding */ useUsers)\n/* harmony export */ });\n/* harmony import */ var pinia__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! pinia */ \"./node_modules/pinia/dist/pinia.mjs\");\n/*\nLesli\n\nCopyright (c) 2023, Lesli Technologies, S. A.\n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program. If not, see http://www.gnu.org/licenses/.\n\nLesli · Ruby on Rails Development Platform.\n\nMade with ♥ by https://www.lesli.tech\nBuilding a better future, one line of code at a time.\n\n@contact hello@lesli.tech\n@website https://www.lesli.tech\n@license GPLv3 http://www.gnu.org/licenses/gpl-3.0.en.html\n\n// · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~\n// · \n*/\n\n// · \n\n\n// · translations\nconst translations = {\n core: {\n roles: I18n.t(\"core.roles\"),\n users: I18n.t(\"core.users\"),\n shared: I18n.t(\"core.shared\")\n }\n};\n\n// · \nconst useUsers = (0,pinia__WEBPACK_IMPORTED_MODULE_0__.defineStore)(\"administration.users\", {\n state: () => {\n return {\n loading: false,\n search: \"\",\n list: [],\n order: {\n column: \"id\",\n direction: \"desc\"\n },\n index: {\n pagination: {},\n records: []\n },\n filters: {\n per_page: 15,\n role: null,\n status: 'active'\n },\n roles_options: [],\n user: {\n roles_id: null,\n email: null,\n first_name: null,\n last_name: null,\n telephone: null\n }\n };\n },\n actions: {\n search(search_string) {\n this.index.pagination.page = 1;\n this.search_string = search_string;\n this.loading = true;\n this.getUsers();\n },\n paginateIndex(page) {\n this.index.pagination.page = page;\n this.getUsers();\n },\n sortIndex(column, direction) {\n this.order.column = column;\n this.order.direction = direction;\n this.getUsers();\n },\n fetchUsers() {\n if (!this.index.pagination?.results > 0) {\n this.loading = true;\n this.getUsers();\n }\n },\n getUsers() {\n const query_filters = {};\n\n //Format filters to send them in the query string\n for (const [key, value] of Object.entries(this.filters)) {\n //query_filters[key] = [value]\n }\n this.http.get(this.url.
|
1295
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ useUsers: () => (/* binding */ useUsers)\n/* harmony export */ });\n/* harmony import */ var pinia__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! pinia */ \"./node_modules/pinia/dist/pinia.mjs\");\n/*\nLesli\n\nCopyright (c) 2023, Lesli Technologies, S. A.\n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program. If not, see http://www.gnu.org/licenses/.\n\nLesli · Ruby on Rails Development Platform.\n\nMade with ♥ by https://www.lesli.tech\nBuilding a better future, one line of code at a time.\n\n@contact hello@lesli.tech\n@website https://www.lesli.tech\n@license GPLv3 http://www.gnu.org/licenses/gpl-3.0.en.html\n\n// · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~\n// · \n*/\n\n// · \n\n\n// · translations\nconst translations = {\n core: {\n roles: I18n.t(\"core.roles\"),\n users: I18n.t(\"core.users\"),\n shared: I18n.t(\"core.shared\")\n }\n};\n\n// · \nconst useUsers = (0,pinia__WEBPACK_IMPORTED_MODULE_0__.defineStore)(\"administration.users\", {\n state: () => {\n return {\n loading: false,\n search: \"\",\n list: [],\n order: {\n column: \"id\",\n direction: \"desc\"\n },\n index: {\n pagination: {},\n records: []\n },\n filters: {\n per_page: 15,\n role: null,\n status: 'active'\n },\n roles_options: [],\n user: {\n roles_id: null,\n email: null,\n first_name: null,\n last_name: null,\n telephone: null\n }\n };\n },\n actions: {\n search(search_string) {\n this.index.pagination.page = 1;\n this.search_string = search_string;\n this.loading = true;\n this.getUsers();\n },\n paginateIndex(page) {\n this.index.pagination.page = page;\n this.getUsers();\n },\n sortIndex(column, direction) {\n this.order.column = column;\n this.order.direction = direction;\n this.getUsers();\n },\n fetchUsers() {\n if (!this.index.pagination?.results > 0) {\n this.loading = true;\n this.getUsers();\n }\n },\n getUsers() {\n const query_filters = {};\n\n //Format filters to send them in the query string\n for (const [key, value] of Object.entries(this.filters)) {\n //query_filters[key] = [value]\n }\n this.http.get(this.url.admin(\"users\").search(this.search_string).paginate(this.index.pagination.page, this.filters.per_page).filter(query_filters).order(this.order.column, this.order.direction)).then(result => {\n this.index = result;\n this.search_string = \"\";\n }).catch(error => {\n this.msg.danger(I18n.t(\"core.shared.messages_danger_internal_error\"));\n }).finally(() => {\n this.loading = false;\n });\n },\n getUser() {\n let id = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;\n // get the profile by default\n let url = this.url.lesli(\"profile\");\n\n // get an specifick user if id is provided\n if (id) {\n url = this.url.lesli(\"users/:id\", id);\n }\n this.http.get(url).then(result => {\n this.user = result;\n this.user.password = \"\";\n this.user.password_confirmation = \"\";\n this.language = result.locale ? result.locale.value : this.language;\n\n // Backend should return the list of roles ordered by object level permission\n this.role_names = result.roles[0].name;\n }).catch(error => {\n this.msg.danger(I18n.t(\"core.shared.messages_danger_internal_error\"));\n }).finally(() => {\n this.loading = false;\n });\n },\n postUsers() {\n return this.http.post(this.url.admin(\"users\"), {\n user: this.user\n });\n },\n fetchList() {\n this.loading = true;\n return this.http.get(this.url.admin(\"users/list\")).then(response => {\n //this.records = response\n this.list = response;\n }).catch(error => {}).finally(() => {\n this.loading = false;\n });\n }\n }\n});\n\n//# sourceURL=webpack://lesli/../LesliAdmin/lib/vue/stores/users.js?");
|
1252
1296
|
|
1253
1297
|
/***/ }),
|
1254
1298
|
|
@@ -1290,7 +1334,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
1290
1334
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
1291
1335
|
|
1292
1336
|
"use strict";
|
1293
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ useLesliDate: () => (/* binding */ useLesliDate)\n/* harmony export */ });\n/* harmony import */ var dayjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! dayjs */ \"./node_modules/dayjs/dayjs.min.js\");\n/* harmony import */ var dayjs__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(dayjs__WEBPACK_IMPORTED_MODULE_0__);\n/*\nLesli\n\nCopyright (c) 2023, Lesli Technologies, S. A.\n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program. If not, see http://www.gnu.org/licenses/.\n\nLesli · Ruby on Rails SaaS Development Framework.\n\nMade with ♥ by https://www.lesli.tech\nBuilding a better future, one line of code at a time.\n\n@contact hello@lesli.tech\n@website https://www.lesli.dev\n@license GPLv3 http://www.gnu.org/licenses/gpl-3.0.en.html\n\n// · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~\n// · \n*/\n\n/*\nIMPORTANT: \n This is a JavaScript implementation of app/lib/Date2 RoR lib.\n If any modification or update is needed it must be implemented in app/lib/Date2 first, then we can\n copy the new feature and implement in here.\n DO NOT add custom features, methods, params or any other modification that is not present in app/lib/Date2\n*/\n\n// · Import dayjs library and plugins\n\nvar utc = __webpack_require__(/*! dayjs/plugin/utc */ \"./node_modules/dayjs/plugin/utc.js\");\nvar timezone = __webpack_require__(/*! dayjs/plugin/timezone */ \"./node_modules/dayjs/plugin/timezone.js\");\n\n// · \ndayjs__WEBPACK_IMPORTED_MODULE_0___default().extend(utc);\ndayjs__WEBPACK_IMPORTED_MODULE_0___default().extend(timezone);\n\n// · \nclass LesliDate {\n #settings = {};\n #datetime = {};\n #format = \"\";\n constructor() {\n let datetime = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : dayjs__WEBPACK_IMPORTED_MODULE_0___default()().utc().format();\n let format = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : \"%Y-%m-%d %H:%M:%S\";\n /*\n # NOTE: Do not modify settings here,\n # if you need a different date format you should change it in the config file\n # Check the docs for more information: /development/docs/rails-lib-time\n # TODO: User should be able to select an appropiate datetime format in an easy way,\n # the Administration module must be present to the users a curated list of different\n # datetime format options with examples, also user should be able to manually modify\n # the format through an \"advanced view\"\n */\n this.#settings = {\n timeZone: \"America/Guatemala\",\n // get this from Lesli settings\n startWeekOn: \"config[:start_week_on]\",\n format: {\n date: \"%d.%m.%Y\",\n time: \"%H:%M\",\n // 24 hours datetime format (default)\n dateTime: \"%d.%m.%Y %H:%M\",\n // 24 hours datetime format (default)\n dateWords: \"%A, %B %d, %Y\",\n dateTimeWords: \"%A, %B %d, %Y, %H:%M\" // 24 hours datetime in words format (default)\n }\n };\n\n // default date format\n this.#format = this.#setFormat(\"date\");\n\n // get datetime object from user params\n this.#datetime = dayjs__WEBPACK_IMPORTED_MODULE_0___default()(datetime).tz(this.#settings.timeZone);\n }\n date() {\n this.#setFormat(\"date\");\n return this;\n }\n dateTime() {\n this.#setFormat(\"dateTime\");\n return this.toString();\n }\n dateWords() {\n this.#setFormat(\"dateWords\");\n return this;\n }\n\n // convert a datetime object to string representation using defined format\n toString() {\n return this.#datetime.format(this.#format);\n }\n\n //\n #setFormat(format) {\n this.#format = this.#settings.format[format]\n // Convert date Ruby to dayjs format\n .replaceAll(\"%Y\", \"YYYY\").replaceAll(\"%m\", \"MM\").replaceAll(\"%d\", \"DD\")\n // Convert time Ruby to dayjs format\n .replaceAll(\"%H\", \"HH\").replaceAll(\"%M\", \"mm\")\n // Convert words Ruby to dayjs format\n .replaceAll(\"%A\", \"dddd\") // Full day name\n .replaceAll(\"%B\", \"MMMM\"); // Full month name\n }\n}\n\nfunction useLesliDate() {\n return function () {\n let datetime = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : dayjs__WEBPACK_IMPORTED_MODULE_0___default()().utc().format();\n let format = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : \"%Y-%m-%d %H:%M:%S\";\n return new LesliDate(datetime, format);\n };\n}\n\n//# sourceURL=webpack://lesli/../../enginesdev/lesli-vue/source/composables/date/date.js?");
|
1337
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ useLesliDate: () => (/* binding */ useLesliDate)\n/* harmony export */ });\n/* harmony import */ var dayjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! dayjs */ \"./node_modules/dayjs/dayjs.min.js\");\n/* harmony import */ var dayjs__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(dayjs__WEBPACK_IMPORTED_MODULE_0__);\n/*\nLesli\n\nCopyright (c) 2023, Lesli Technologies, S. A.\n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program. If not, see http://www.gnu.org/licenses/.\n\nLesli · Ruby on Rails SaaS Development Framework.\n\nMade with ♥ by https://www.lesli.tech\nBuilding a better future, one line of code at a time.\n\n@contact hello@lesli.tech\n@website https://www.lesli.dev\n@license GPLv3 http://www.gnu.org/licenses/gpl-3.0.en.html\n\n// · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~\n// · \n*/\n\n/*\nIMPORTANT: \n This is a JavaScript implementation of app/lib/Date2 RoR lib.\n If any modification or update is needed it must be implemented in app/lib/Date2 first, then we can\n copy the new feature and implement in here.\n DO NOT add custom features, methods, params or any other modification that is not present in app/lib/Date2\n*/\n\n// · Import dayjs library and plugins\n\nvar utc = __webpack_require__(/*! dayjs/plugin/utc */ \"./node_modules/dayjs/plugin/utc.js\");\nvar timezone = __webpack_require__(/*! dayjs/plugin/timezone */ \"./node_modules/dayjs/plugin/timezone.js\");\n\n// · \ndayjs__WEBPACK_IMPORTED_MODULE_0___default().extend(utc);\ndayjs__WEBPACK_IMPORTED_MODULE_0___default().extend(timezone);\n\n// · \nclass LesliDate {\n #settings = {};\n #datetime = {};\n #format = \"\";\n constructor() {\n let datetime = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : dayjs__WEBPACK_IMPORTED_MODULE_0___default()().utc().format();\n let format = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : \"%Y-%m-%d %H:%M:%S\";\n /*\n # NOTE: Do not modify settings here,\n # if you need a different date format you should change it in the config file\n # Check the docs for more information: /development/docs/rails-lib-time\n # TODO: User should be able to select an appropiate datetime format in an easy way,\n # the Administration module must be present to the users a curated list of different\n # datetime format options with examples, also user should be able to manually modify\n # the format through an \"advanced view\"\n */\n this.#settings = {\n timeZone: \"America/Guatemala\",\n // get this from Lesli settings\n startWeekOn: \"config[:start_week_on]\",\n format: {\n date: \"%d.%m.%Y\",\n time: \"%H:%M\",\n // 24 hours datetime format (default)\n dateTime: \"%d.%m.%Y %H:%M\",\n // 24 hours datetime format (default)\n dateWords: \"%A, %B %d, %Y\",\n dateTimeWords: \"%A, %B %d, %Y, %H:%M\" // 24 hours datetime in words format (default)\n }\n };\n\n // default date format\n this.#format = this.#setFormat(\"date\");\n\n // get datetime object from user params\n this.#datetime = dayjs__WEBPACK_IMPORTED_MODULE_0___default()(datetime).tz(this.#settings.timeZone);\n }\n date() {\n this.#setFormat(\"date\");\n return this.toString();\n }\n dateTime() {\n this.#setFormat(\"dateTime\");\n return this.toString();\n }\n dateWords() {\n this.#setFormat(\"dateWords\");\n return this;\n }\n\n // convert a datetime object to string representation using defined format\n toString() {\n return this.#datetime.format(this.#format);\n }\n\n //\n #setFormat(format) {\n this.#format = this.#settings.format[format]\n // Convert date Ruby to dayjs format\n .replaceAll(\"%Y\", \"YYYY\").replaceAll(\"%m\", \"MM\").replaceAll(\"%d\", \"DD\")\n // Convert time Ruby to dayjs format\n .replaceAll(\"%H\", \"HH\").replaceAll(\"%M\", \"mm\")\n // Convert words Ruby to dayjs format\n .replaceAll(\"%A\", \"dddd\") // Full day name\n .replaceAll(\"%B\", \"MMMM\"); // Full month name\n }\n}\n\nfunction useLesliDate() {\n return function () {\n let datetime = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : dayjs__WEBPACK_IMPORTED_MODULE_0___default()().utc().format();\n let format = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : \"%Y-%m-%d %H:%M:%S\";\n return new LesliDate(datetime, format);\n };\n}\n\n//# sourceURL=webpack://lesli/../../enginesdev/lesli-vue/source/composables/date/date.js?");
|
1294
1338
|
|
1295
1339
|
/***/ }),
|
1296
1340
|
|
@@ -1345,7 +1389,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
1345
1389
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
1346
1390
|
|
1347
1391
|
"use strict";
|
1348
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ useLesliUrl: () => (/* binding */ useLesliUrl)\n/* harmony export */ });\n/*\nLesli\n\nCopyright (c) 2023, Lesli Technologies, S. A.\n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program. If not, see http://www.gnu.org/licenses/.\n\nLesli · Ruby on Rails SaaS Development Framework.\n\nMade with ♥ by https://www.lesli.tech\nBuilding a better future, one line of code at a time.\n\n@contact hello@lesli.tech\n@website https://www.lesli.dev\n@license GPLv3 http://www.gnu.org/licenses/gpl-3.0.en.html\n\n// · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~\n// · \n*/\n\n// · URL #builder for Lesli\nclass LesliUrl {\n #params = \"\";\n #base_url = \"\";\n #query = {};\n #path = \"\";\n #url = \"\";\n constructor(base_url, path, params) {\n this.#base_url = base_url;\n this.#params = params;\n this.#path = path;\n }\n\n // build a url for resources mounted at root level\n // this happens on builders engines like MW.\n root(path, params) {\n this.#path = \"\";\n\n // process path template if provided\n if (path) this.#path = this.#path.concat(this.#parsePath(path, params));\n return this;\n }\n\n // build a url for a specific engine\n engine(engine, path, params) {\n // manually add a slash due we are not using native JS url builders\n engine = engine.concat(\"/\");\n\n // return url for the root of the engine\n if (!path) return this.root(engine, params);\n\n // include the engine as part of the path\n return this.root(engine.concat(path), params);\n }\n\n // insert order params into query string\n order(column) {\n let direction = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : \"asc\";\n this.#query[\"orderBy\"] = column;\n if (direction) {\n this.#query[\"order\"] = direction;\n }\n return this.#build();\n }\n\n // add standard query param to request paginated data to the server\n paginate(page) {\n let perPage = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 15;\n this.#query[\"page\"] = page;\n this.#query[\"perPage\"] = perPage;\n return this.#build();\n }\n\n // add standard query param to request search to the server\n search(text) {\n if (!!text) {\n this.#query[\"search\"] = text;\n }\n return this.#build();\n }\n group(text) {\n if (!!text) {\n this.#query[\"group\"] = text;\n }\n return this.#build();\n }\n\n // add standard query params to request filtered data from the server\n filter(filters) {\n let keys = Object.keys(filters);\n if (!this.#query.f) {\n this.#query[\"f\"] = {};\n }\n keys.forEach(key => {\n this.#query.f[key] = filters[key].join(',');\n });\n return this.#build();\n }\n\n // allow to add custom query params\n query(key, value) {\n this.#query[key] = value;\n return this.#build();\n }\n\n // automatically add auth token if exists in the url query string\n tokenUrl() {\n let urlParams = new URLSearchParams(window.location.search);\n this.#query[\"t\"] = urlParams.get(\"t\");\n return this.#build();\n }\n\n // automatically add auth token if exists in the url query string as param\n tokenShared() {\n // get the token from a \"signed\" url with format:\n // /shared/public/:token/help/tickets/new\n // for this kind of \"signed\" url token is always at position 4 of the string\n let url = window.location.pathname.split('/')[3];\n\n // attach the token as opaque token so the public api is able authenticate the request\n this.#query[\"t\"] = url;\n return this.#build();\n }\n\n // convert the url object to string automatically if object as string is needed\n toString() {\n let extension = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;\n this.#build(extension);\n return this.#url.toString();\n }\n\n // alias for toString() method\n get s() {\n return this.toString();\n }\n\n // add json extension to the url \n json() {\n return this.toString(\".json\");\n }\n\n // add pdf extension to the url \n pdf() {\n return this.toString(\".pdf\");\n }\n\n // perform a redirect action after #build an url\n // be sure to call this method last always\n go() {\n this.#build();\n window.location.href = this.#url.toString();\n }\n\n // parse, join and create a well formated url object\n #build() {\n let extension = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;\n // root\n let url = \"/\";\n\n // if path exists for the url\n if (this.#path != \"\") {\n url = url.concat(this.#path);\n }\n\n // normally all the requests are sent to the internal Lesli api\n // so, the requests should include the json suffix\n if (extension) {\n url = url.concat(extension);\n }\n\n // concat query string if available\n url = url.concat(this.#parseQuery(this.#query));\n\n // #build a native URL object\n this.#url = url;\n\n // return this to enable methods chaining pattern\n return this;\n }\n\n // parse a string template into a string path\n // examples:\n // domain.com/user/:id, { id: 1 }\n // domain.com/user/:id, 1\n // result: domain.com/user/1\n // this is good to avoid string interpolation :)\n #parsePath(path) {\n let params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n // shortcut to get specific resource through id\n if (typeof params == 'string' || typeof params == 'number') {\n params = {\n id: params\n };\n }\n\n // remaining params are useful if we want to work with the params\n // that does not belongs to a any part of the path template\n const remainingParams = {\n ...params\n };\n\n // compile the string template to assign values to the variables\n const renderedPath = path.replace(/:[_A-Za-z][_A-Za-z0-9]*/g, p => {\n let key = p.slice(1);\n delete remainingParams[key];\n return encodeURIComponent(params[key]);\n });\n for (let param in remainingParams) {\n this.#query[param] = remainingParams[param];\n }\n return renderedPath;\n }\n\n // convert a key value object into a standard queryString. This custom implementation\n // supports deep object parsing and array parsing\n // example: { name: {first: \"luis\"}, age: 25 }\n // result: domain.com?name[first]=luis&age=25\n #parseQuery(query) {\n function recursion(query, path) {\n if (Array.isArray(query)) {\n query.forEach(function (element) {\n recursion(element, path + \"[]\");\n });\n return;\n }\n if (query !== null && typeof query === \"object\") {\n Object.keys(query).forEach(function (param) {\n recursion(query[param], path + \"[\" + param + \"]\");\n });\n return;\n }\n data.push(path + \"=\" + query);\n }\n var data = [];\n Object.keys(query).forEach(function (param) {\n recursion(query[param], param);\n });\n if (data.length > 0) {\n return \"?\".concat(data.join(\"&\"));\n }\n return \"\";\n }\n}\nfunction useLesliUrl() {\n const root = \"/\";\n return {\n // · Redirect to specific url\n go() {\n let url = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : \"/\";\n document.location.href = url;\n },\n // · Get well formated url\n to() {\n let path = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;\n if (path) {\n return root.concat(path);\n }\n return root;\n },\n // · Build a url for core requests\n root(path) {\n let params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return new LesliUrl().root(path, params);\n },\n // · Build a url for administration area\n lesli(path) {\n let params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return new LesliUrl().root(path, params);\n },\n // · Build a url for administration area\n profile2(path) {\n let params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return new LesliUrl().engine(\"administration/profile\", path, params);\n },\n // · Build a url for core administration area\n admin(path) {\n let params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return new LesliUrl().engine(\"admin\", path, params);\n },\n // · Build a url for CloudAudit engine\n audit(path) {\n let params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return new LesliUrl().engine(\"audit\", path, params);\n },\n // · Build a url for CloudBabel engine\n babel(path) {\n let params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return new LesliUrl().engine(\"babel\", path, params);\n },\n // · Build a url for CloudBell engine\n bell(path) {\n let params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return new LesliUrl().engine(\"bell\", path, params);\n },\n // · Build a url for CloudHelp engine\n help(path) {\n let params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return new LesliUrl().engine(\"help\", path, params);\n },\n // · Build a url for CloudMailer engine\n mailer(path) {\n let params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return new LesliUrl().engine(\"mailer\", path, params);\n },\n // · Build a url for CloudTalk engine\n talk(path) {\n let params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return new LesliUrl().engine(\"talk\", path, params);\n },\n // · Build a url for CloudFocus engine\n focus(path) {\n let params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return new LesliUrl().engine(\"focus\", path, params);\n },\n // · Build a url for CloudTime engine\n time(path) {\n let params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return new LesliUrl().engine(\"time\", path, params);\n },\n // · Build a url for CloudDriver engine\n driver(path) {\n let params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return new LesliUrl().engine(\"driver\", path, params);\n },\n // · Build a url for CloudSocial engine\n social(path) {\n let params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return new LesliUrl().engine(\"social\", path, params);\n },\n // · Build a url for CloudWord engine\n word(path) {\n let params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return new LesliUrl().engine(\"word\", path, params);\n },\n // · Build a url for CloudTeam engine\n team(path) {\n let params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return new LesliUrl().engine(\"team\", path, params);\n },\n // · Build a url for CloudScraper engine\n scraper(path) {\n let params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return new LesliUrl().engine(\"scraper\", path, params);\n },\n // · Build a url for CloudShared engine\n shared(path) {\n let params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return new LesliUrl().engine(\"shared\", path, params);\n },\n // · Build a url for CloudAuthority engine\n authority(path) {\n let params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return new LesliUrl().engine(\"authority\", path, params);\n }\n };\n}\n\n//# sourceURL=webpack://lesli/../../enginesdev/lesli-vue/source/composables/url/url.js?");
|
1392
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ useLesliUrl: () => (/* binding */ useLesliUrl)\n/* harmony export */ });\n/*\nLesli\n\nCopyright (c) 2023, Lesli Technologies, S. A.\n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program. If not, see http://www.gnu.org/licenses/.\n\nLesli · Ruby on Rails SaaS Development Framework.\n\nMade with ♥ by https://www.lesli.tech\nBuilding a better future, one line of code at a time.\n\n@contact hello@lesli.tech\n@website https://www.lesli.dev\n@license GPLv3 http://www.gnu.org/licenses/gpl-3.0.en.html\n\n// · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~\n// · \n*/\n\n// · URL #builder for Lesli\nclass LesliUrl {\n #params = \"\";\n #base_url = \"\";\n #query = {};\n #path = \"\";\n #url = \"\";\n constructor(base_url, path, params) {\n this.#base_url = base_url;\n this.#params = params;\n this.#path = path;\n }\n\n // build a url for resources mounted at root level\n // this happens on builders engines like MW.\n root(path, params) {\n this.#path = \"\";\n\n // process path template if provided\n if (path) this.#path = this.#path.concat(this.#parsePath(path, params));\n return this;\n }\n\n // build a url for a specific engine\n engine(engine, path, params) {\n // manually add a slash due we are not using native JS url builders\n engine = engine.concat(\"/\");\n\n // return url for the root of the engine\n if (!path) return this.root(engine, params);\n\n // include the engine as part of the path\n return this.root(engine.concat(path), params);\n }\n\n // insert order params into query string\n order(column) {\n let direction = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : \"asc\";\n this.#query[\"orderBy\"] = column;\n if (direction) {\n this.#query[\"order\"] = direction;\n }\n return this.#build();\n }\n\n // add standard query param to request paginated data to the server\n paginate(page) {\n let perPage = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 15;\n this.#query[\"page\"] = page;\n this.#query[\"perPage\"] = perPage;\n return this.#build();\n }\n\n // add standard query param to request search to the server\n search(text) {\n if (!!text) {\n this.#query[\"search\"] = text;\n }\n return this.#build();\n }\n group(text) {\n if (!!text) {\n this.#query[\"group\"] = text;\n }\n return this.#build();\n }\n\n // add standard query params to request filtered data from the server\n filter(filters) {\n let keys = Object.keys(filters);\n if (!this.#query.f) {\n this.#query[\"f\"] = {};\n }\n keys.forEach(key => {\n this.#query.f[key] = filters[key].join(',');\n });\n return this.#build();\n }\n\n // allow to add custom query params\n query(key, value) {\n this.#query[key] = value;\n return this.#build();\n }\n\n // automatically add auth token if exists in the url query string\n tokenUrl() {\n let urlParams = new URLSearchParams(window.location.search);\n this.#query[\"t\"] = urlParams.get(\"t\");\n return this.#build();\n }\n\n // automatically add auth token if exists in the url query string as param\n tokenShared() {\n // get the token from a \"signed\" url with format:\n // /shared/public/:token/help/tickets/new\n // for this kind of \"signed\" url token is always at position 4 of the string\n let url = window.location.pathname.split('/')[3];\n\n // attach the token as opaque token so the public api is able authenticate the request\n this.#query[\"t\"] = url;\n return this.#build();\n }\n\n // convert the url object to string automatically if object as string is needed\n toString() {\n let extension = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;\n this.#build(extension);\n return this.#url.toString();\n }\n\n // alias for toString() method\n get s() {\n return this.toString();\n }\n\n // add json extension to the url \n json() {\n return this.toString(\".json\");\n }\n\n // add pdf extension to the url \n pdf() {\n return this.toString(\".pdf\");\n }\n\n // perform a redirect action after #build an url\n // be sure to call this method last always\n go() {\n this.#build();\n window.location.href = this.#url.toString();\n }\n\n // parse, join and create a well formated url object\n #build() {\n let extension = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;\n // root\n let url = \"/\";\n\n // if path exists for the url\n if (this.#path != \"\") {\n url = url.concat(this.#path);\n }\n\n // normally all the requests are sent to the internal Lesli api\n // so, the requests should include the json suffix\n if (extension) {\n url = url.concat(extension);\n }\n\n // concat query string if available\n url = url.concat(this.#parseQuery(this.#query));\n\n // #build a native URL object\n this.#url = url;\n\n // return this to enable methods chaining pattern\n return this;\n }\n\n // parse a string template into a string path\n // examples:\n // domain.com/user/:id, { id: 1 }\n // domain.com/user/:id, 1\n // result: domain.com/user/1\n // this is good to avoid string interpolation :)\n #parsePath(path) {\n let params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n // shortcut to get specific resource through id\n if (typeof params == 'string' || typeof params == 'number') {\n params = {\n id: params\n };\n }\n\n // remaining params are useful if we want to work with the params\n // that does not belongs to a any part of the path template\n const remainingParams = {\n ...params\n };\n\n // compile the string template to assign values to the variables\n const renderedPath = path.replace(/:[_A-Za-z][_A-Za-z0-9]*/g, p => {\n let key = p.slice(1);\n delete remainingParams[key];\n return encodeURIComponent(params[key]);\n });\n for (let param in remainingParams) {\n this.#query[param] = remainingParams[param];\n }\n return renderedPath;\n }\n\n // convert a key value object into a standard queryString. This custom implementation\n // supports deep object parsing and array parsing\n // example: { name: {first: \"luis\"}, age: 25 }\n // result: domain.com?name[first]=luis&age=25\n #parseQuery(query) {\n function recursion(query, path) {\n if (Array.isArray(query)) {\n query.forEach(function (element) {\n recursion(element, path + \"[]\");\n });\n return;\n }\n if (query !== null && typeof query === \"object\") {\n Object.keys(query).forEach(function (param) {\n recursion(query[param], path + \"[\" + param + \"]\");\n });\n return;\n }\n data.push(path + \"=\" + query);\n }\n var data = [];\n Object.keys(query).forEach(function (param) {\n recursion(query[param], param);\n });\n if (data.length > 0) {\n return \"?\".concat(data.join(\"&\"));\n }\n return \"\";\n }\n}\nfunction useLesliUrl() {\n const root = \"/\";\n return {\n // · Redirect to specific url\n go() {\n let url = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : \"/\";\n document.location.href = url;\n },\n // · Get well formated url\n to() {\n let path = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;\n if (path) {\n return root.concat(path);\n }\n return root;\n },\n // · Build a url for core requests\n root(path) {\n let params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return new LesliUrl().root(path, params);\n },\n // · Build a url for administration area\n lesli(path) {\n let params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return new LesliUrl().root(path, params);\n },\n // · Build a url for core administration area\n admin(path) {\n let params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return new LesliUrl().engine(\"admin\", path, params);\n },\n // · Build a url for CloudAudit engine\n audit(path) {\n let params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return new LesliUrl().engine(\"audit\", path, params);\n },\n // · Build a url for CloudBabel engine\n babel(path) {\n let params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return new LesliUrl().engine(\"babel\", path, params);\n },\n // · Build a url for CloudBell engine\n bell(path) {\n let params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return new LesliUrl().engine(\"bell\", path, params);\n },\n // · Build a url for CloudHelp engine\n help(path) {\n let params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return new LesliUrl().engine(\"help\", path, params);\n },\n // · Build a url for CloudMailer engine\n mailer(path) {\n let params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return new LesliUrl().engine(\"mailer\", path, params);\n },\n // · Build a url for CloudTalk engine\n talk(path) {\n let params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return new LesliUrl().engine(\"talk\", path, params);\n },\n // · Build a url for CloudFocus engine\n focus(path) {\n let params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return new LesliUrl().engine(\"focus\", path, params);\n },\n // · Build a url for CloudTime engine\n time(path) {\n let params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return new LesliUrl().engine(\"time\", path, params);\n },\n // · Build a url for CloudDriver engine\n driver(path) {\n let params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return new LesliUrl().engine(\"driver\", path, params);\n },\n // · Build a url for CloudSocial engine\n social(path) {\n let params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return new LesliUrl().engine(\"social\", path, params);\n },\n // · Build a url for CloudWord engine\n word(path) {\n let params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return new LesliUrl().engine(\"word\", path, params);\n },\n // · Build a url for CloudTeam engine\n team(path) {\n let params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return new LesliUrl().engine(\"team\", path, params);\n },\n // · Build a url for CloudScraper engine\n scraper(path) {\n let params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return new LesliUrl().engine(\"scraper\", path, params);\n },\n // · Build a url for CloudShared engine\n shared(path) {\n let params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return new LesliUrl().engine(\"shared\", path, params);\n },\n // · Build a url for CloudShared engine\n vault(path) {\n let params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return new LesliUrl().engine(\"vault\", path, params);\n },\n // · Build a url for CloudAuthority engine\n authority(path) {\n let params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return new LesliUrl().engine(\"authority\", path, params);\n }\n };\n}\n\n//# sourceURL=webpack://lesli/../../enginesdev/lesli-vue/source/composables/url/url.js?");
|
1349
1393
|
|
1350
1394
|
/***/ }),
|
1351
1395
|
|
@@ -1367,7 +1411,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
1367
1411
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
1368
1412
|
|
1369
1413
|
"use strict";
|
1370
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ lesliElementAutocomplete: () => (/* reexport safe */ _autocomplete_Autocomplete_vue__WEBPACK_IMPORTED_MODULE_0__[\"default\"]),\n/* harmony export */ lesliElementAvatar: () => (/* reexport safe */ _avatar_Avatar_vue__WEBPACK_IMPORTED_MODULE_1__[\"default\"]),\n/* harmony export */ lesliElementButton: () => (/* reexport safe */ _button_Button_vue__WEBPACK_IMPORTED_MODULE_2__[\"default\"]),\n/* harmony export */ lesliElementCalendar: () => (/* reexport safe */ _calendar_Calendar_vue__WEBPACK_IMPORTED_MODULE_3__[\"default\"]),\n/* harmony export */ lesliElementCard: () => (/* reexport safe */ _card_Card_vue__WEBPACK_IMPORTED_MODULE_4__[\"default\"]),\n/* harmony export */ lesliElementCollapse: () => (/* reexport safe */ _collapse_Collapse_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"]),\n/* harmony export */ lesliElementControl: () => (/* reexport safe */ _control_Control_vue__WEBPACK_IMPORTED_MODULE_6__[\"default\"]),\n/* harmony export */ lesliElementDropdown: () => (/* reexport safe */ _dropdown_Dropdown_vue__WEBPACK_IMPORTED_MODULE_7__[\"default\"]),\n/* harmony export */ lesliElementEmpty: () => (/* reexport safe */ _empty_Empty_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"]),\n/* harmony export */ lesliElementFileUploader: () => (/* reexport safe */ _fileUploader_FileUploader_vue__WEBPACK_IMPORTED_MODULE_27__[\"default\"]),\n/* harmony export */ lesliElementForm: () => (/* reexport safe */ _form_Form_vue__WEBPACK_IMPORTED_MODULE_9__[\"default\"]),\n/* harmony export */ lesliElementHeader: () => (/* reexport safe */ _header_Header_vue__WEBPACK_IMPORTED_MODULE_10__[\"default\"]),\n/* harmony export */ lesliElementIcon: () => (/* reexport safe */ _icon_Icon_vue__WEBPACK_IMPORTED_MODULE_11__[\"default\"]),\n/* harmony export */ lesliElementInput: () => (/* reexport safe */ _input_Input_vue__WEBPACK_IMPORTED_MODULE_12__[\"default\"]),\n/* harmony export */ lesliElementInputTag: () => (/* reexport safe */ _inputTag_InputTag_vue__WEBPACK_IMPORTED_MODULE_13__[\"default\"]),\n/* harmony export */ lesliElementLink: () => (/* reexport safe */ _link_Link_vue__WEBPACK_IMPORTED_MODULE_14__[\"default\"]),\n/* harmony export */ lesliElementLoading: () => (/* reexport safe */ _loading_Loading_vue__WEBPACK_IMPORTED_MODULE_15__[\"default\"]),\n/* harmony export */ lesliElementMap: () => (/* reexport safe */ _map_Map_vue__WEBPACK_IMPORTED_MODULE_16__[\"default\"]),\n/* harmony export */ lesliElementNavbar: () => (/* reexport safe */ _navbar_Navbar_vue__WEBPACK_IMPORTED_MODULE_17__[\"default\"]),\n/* harmony export */ lesliElementNavigationList: () => (/* reexport safe */ _navigation_NavigationList_vue__WEBPACK_IMPORTED_MODULE_18__[\"default\"]),\n/* harmony export */ lesliElementPagination: () => (/* reexport safe */ _pagination_Pagination_vue__WEBPACK_IMPORTED_MODULE_19__[\"default\"]),\n/* harmony export */ lesliElementPanel: () => (/* reexport safe */ _panel_Panel_vue__WEBPACK_IMPORTED_MODULE_20__[\"default\"]),\n/* harmony export */ lesliElementSelect: () => (/* reexport safe */ _select_Select_vue__WEBPACK_IMPORTED_MODULE_21__[\"default\"]),\n/* harmony export */ lesliElementTabItem: () => (/* reexport safe */ _tabs_TabItem_vue__WEBPACK_IMPORTED_MODULE_24__[\"default\"]),\n/* harmony export */ lesliElementTable: () => (/* reexport safe */ _table_Table_vue__WEBPACK_IMPORTED_MODULE_22__[\"default\"]),\n/* harmony export */ lesliElementTabs: () => (/* reexport safe */ _tabs_Tabs_vue__WEBPACK_IMPORTED_MODULE_23__[\"default\"]),\n/* harmony export */ lesliElementToggle: () => (/* reexport safe */ _toggle_Toggle_vue__WEBPACK_IMPORTED_MODULE_25__[\"default\"]),\n/* harmony export */ lesliElementToolbar: () => (/* reexport safe */ _toolbar_Toolbar_vue__WEBPACK_IMPORTED_MODULE_26__[\"default\"])\n/* harmony export */ });\n/* harmony import */ var _autocomplete_Autocomplete_vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./autocomplete/Autocomplete.vue */ \"../../enginesdev/lesli-vue/source/elements/autocomplete/Autocomplete.vue\");\n/* harmony import */ var _avatar_Avatar_vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./avatar/Avatar.vue */ \"../../enginesdev/lesli-vue/source/elements/avatar/Avatar.vue\");\n/* harmony import */ var _button_Button_vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./button/Button.vue */ \"../../enginesdev/lesli-vue/source/elements/button/Button.vue\");\n/* harmony import */ var _calendar_Calendar_vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./calendar/Calendar.vue */ \"../../enginesdev/lesli-vue/source/elements/calendar/Calendar.vue\");\n/* harmony import */ var _card_Card_vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./card/Card.vue */ \"../../enginesdev/lesli-vue/source/elements/card/Card.vue\");\n/* harmony import */ var _collapse_Collapse_vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./collapse/Collapse.vue */ \"../../enginesdev/lesli-vue/source/elements/collapse/Collapse.vue\");\n/* harmony import */ var _control_Control_vue__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./control/Control.vue */ \"../../enginesdev/lesli-vue/source/elements/control/Control.vue\");\n/* harmony import */ var _dropdown_Dropdown_vue__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./dropdown/Dropdown.vue */ \"../../enginesdev/lesli-vue/source/elements/dropdown/Dropdown.vue\");\n/* harmony import */ var _empty_Empty_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./empty/Empty.vue */ \"../../enginesdev/lesli-vue/source/elements/empty/Empty.vue\");\n/* harmony import */ var _form_Form_vue__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./form/Form.vue */ \"../../enginesdev/lesli-vue/source/elements/form/Form.vue\");\n/* harmony import */ var _header_Header_vue__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./header/Header.vue */ \"../../enginesdev/lesli-vue/source/elements/header/Header.vue\");\n/* harmony import */ var _icon_Icon_vue__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./icon/Icon.vue */ \"../../enginesdev/lesli-vue/source/elements/icon/Icon.vue\");\n/* harmony import */ var _input_Input_vue__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./input/Input.vue */ \"../../enginesdev/lesli-vue/source/elements/input/Input.vue\");\n/* harmony import */ var _inputTag_InputTag_vue__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./inputTag/InputTag.vue */ \"../../enginesdev/lesli-vue/source/elements/inputTag/InputTag.vue\");\n/* harmony import */ var _link_Link_vue__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./link/Link.vue */ \"../../enginesdev/lesli-vue/source/elements/link/Link.vue\");\n/* harmony import */ var _loading_Loading_vue__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./loading/Loading.vue */ \"../../enginesdev/lesli-vue/source/elements/loading/Loading.vue\");\n/* harmony import */ var _map_Map_vue__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./map/Map.vue */ \"../../enginesdev/lesli-vue/source/elements/map/Map.vue\");\n/* harmony import */ var _navbar_Navbar_vue__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./navbar/Navbar.vue */ \"../../enginesdev/lesli-vue/source/elements/navbar/Navbar.vue\");\n/* harmony import */ var _navigation_NavigationList_vue__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./navigation/NavigationList.vue */ \"../../enginesdev/lesli-vue/source/elements/navigation/NavigationList.vue\");\n/* harmony import */ var _pagination_Pagination_vue__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./pagination/Pagination.vue */ \"../../enginesdev/lesli-vue/source/elements/pagination/Pagination.vue\");\n/* harmony import */ var _panel_Panel_vue__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./panel/Panel.vue */ \"../../enginesdev/lesli-vue/source/elements/panel/Panel.vue\");\n/* harmony import */ var _select_Select_vue__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./select/Select.vue */ \"../../enginesdev/lesli-vue/source/elements/select/Select.vue\");\n/* harmony import */ var _table_Table_vue__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./table/Table.vue */ \"../../enginesdev/lesli-vue/source/elements/table/Table.vue\");\n/* harmony import */ var _tabs_Tabs_vue__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./tabs/Tabs.vue */ \"../../enginesdev/lesli-vue/source/elements/tabs/Tabs.vue\");\n/* harmony import */ var _tabs_TabItem_vue__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./tabs/TabItem.vue */ \"../../enginesdev/lesli-vue/source/elements/tabs/TabItem.vue\");\n/* harmony import */ var _toggle_Toggle_vue__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./toggle/Toggle.vue */ \"../../enginesdev/lesli-vue/source/elements/toggle/Toggle.vue\");\n/* harmony import */ var _toolbar_Toolbar_vue__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./toolbar/Toolbar.vue */ \"../../enginesdev/lesli-vue/source/elements/toolbar/Toolbar.vue\");\n/* harmony import */ var _fileUploader_FileUploader_vue__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./fileUploader/FileUploader.vue */ \"../../enginesdev/lesli-vue/source/elements/fileUploader/FileUploader.vue\");\n/*\nLesli\n\nCopyright (c) 2023, Lesli Technologies, S. A.\n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program. If not, see http://www.gnu.org/licenses/.\n\nLesli · Ruby on Rails SaaS Development Framework.\n\nMade with ♥ by https://www.lesli.tech\nBuilding a better future, one line of code at a time.\n\n@contact hello@lesli.tech\n@website https://www.lesli.dev\n@license GPLv3 http://www.gnu.org/licenses/gpl-3.0.en.html\n\n// · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~\n// · \n*/\n\n// · \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n// · \n\n\n//# sourceURL=webpack://lesli/../../enginesdev/lesli-vue/source/elements/index.js?");
|
1414
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ lesliElementAutocomplete: () => (/* reexport safe */ _autocomplete_Autocomplete_vue__WEBPACK_IMPORTED_MODULE_0__[\"default\"]),\n/* harmony export */ lesliElementAvatar: () => (/* reexport safe */ _avatar_Avatar_vue__WEBPACK_IMPORTED_MODULE_1__[\"default\"]),\n/* harmony export */ lesliElementButton: () => (/* reexport safe */ _button_Button_vue__WEBPACK_IMPORTED_MODULE_2__[\"default\"]),\n/* harmony export */ lesliElementCalendar: () => (/* reexport safe */ _calendar_Calendar_vue__WEBPACK_IMPORTED_MODULE_3__[\"default\"]),\n/* harmony export */ lesliElementCard: () => (/* reexport safe */ _card_Card_vue__WEBPACK_IMPORTED_MODULE_4__[\"default\"]),\n/* harmony export */ lesliElementCollapse: () => (/* reexport safe */ _collapse_Collapse_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"]),\n/* harmony export */ lesliElementColumn: () => (/* reexport safe */ _columns_Column_vue__WEBPACK_IMPORTED_MODULE_6__[\"default\"]),\n/* harmony export */ lesliElementColumns: () => (/* reexport safe */ _columns_Columns_vue__WEBPACK_IMPORTED_MODULE_7__[\"default\"]),\n/* harmony export */ lesliElementControl: () => (/* reexport safe */ _control_Control_vue__WEBPACK_IMPORTED_MODULE_8__[\"default\"]),\n/* harmony export */ lesliElementDropdown: () => (/* reexport safe */ _dropdown_Dropdown_vue__WEBPACK_IMPORTED_MODULE_9__[\"default\"]),\n/* harmony export */ lesliElementEmpty: () => (/* reexport safe */ _empty_Empty_vue__WEBPACK_IMPORTED_MODULE_10__[\"default\"]),\n/* harmony export */ lesliElementFileUploader: () => (/* reexport safe */ _fileUploader_FileUploader_vue__WEBPACK_IMPORTED_MODULE_29__[\"default\"]),\n/* harmony export */ lesliElementForm: () => (/* reexport safe */ _form_Form_vue__WEBPACK_IMPORTED_MODULE_11__[\"default\"]),\n/* harmony export */ lesliElementHeader: () => (/* reexport safe */ _header_Header_vue__WEBPACK_IMPORTED_MODULE_12__[\"default\"]),\n/* harmony export */ lesliElementIcon: () => (/* reexport safe */ _icon_Icon_vue__WEBPACK_IMPORTED_MODULE_13__[\"default\"]),\n/* harmony export */ lesliElementInput: () => (/* reexport safe */ _input_Input_vue__WEBPACK_IMPORTED_MODULE_14__[\"default\"]),\n/* harmony export */ lesliElementInputTag: () => (/* reexport safe */ _inputTag_InputTag_vue__WEBPACK_IMPORTED_MODULE_15__[\"default\"]),\n/* harmony export */ lesliElementLink: () => (/* reexport safe */ _link_Link_vue__WEBPACK_IMPORTED_MODULE_16__[\"default\"]),\n/* harmony export */ lesliElementLoading: () => (/* reexport safe */ _loading_Loading_vue__WEBPACK_IMPORTED_MODULE_17__[\"default\"]),\n/* harmony export */ lesliElementMap: () => (/* reexport safe */ _map_Map_vue__WEBPACK_IMPORTED_MODULE_18__[\"default\"]),\n/* harmony export */ lesliElementNavbar: () => (/* reexport safe */ _navbar_Navbar_vue__WEBPACK_IMPORTED_MODULE_19__[\"default\"]),\n/* harmony export */ lesliElementNavigationList: () => (/* reexport safe */ _navigation_NavigationList_vue__WEBPACK_IMPORTED_MODULE_20__[\"default\"]),\n/* harmony export */ lesliElementPagination: () => (/* reexport safe */ _pagination_Pagination_vue__WEBPACK_IMPORTED_MODULE_21__[\"default\"]),\n/* harmony export */ lesliElementPanel: () => (/* reexport safe */ _panel_Panel_vue__WEBPACK_IMPORTED_MODULE_22__[\"default\"]),\n/* harmony export */ lesliElementSelect: () => (/* reexport safe */ _select_Select_vue__WEBPACK_IMPORTED_MODULE_23__[\"default\"]),\n/* harmony export */ lesliElementTabItem: () => (/* reexport safe */ _tabs_TabItem_vue__WEBPACK_IMPORTED_MODULE_26__[\"default\"]),\n/* harmony export */ lesliElementTable: () => (/* reexport safe */ _table_Table_vue__WEBPACK_IMPORTED_MODULE_24__[\"default\"]),\n/* harmony export */ lesliElementTabs: () => (/* reexport safe */ _tabs_Tabs_vue__WEBPACK_IMPORTED_MODULE_25__[\"default\"]),\n/* harmony export */ lesliElementToggle: () => (/* reexport safe */ _toggle_Toggle_vue__WEBPACK_IMPORTED_MODULE_27__[\"default\"]),\n/* harmony export */ lesliElementToolbar: () => (/* reexport safe */ _toolbar_Toolbar_vue__WEBPACK_IMPORTED_MODULE_28__[\"default\"])\n/* harmony export */ });\n/* harmony import */ var _autocomplete_Autocomplete_vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./autocomplete/Autocomplete.vue */ \"../../enginesdev/lesli-vue/source/elements/autocomplete/Autocomplete.vue\");\n/* harmony import */ var _avatar_Avatar_vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./avatar/Avatar.vue */ \"../../enginesdev/lesli-vue/source/elements/avatar/Avatar.vue\");\n/* harmony import */ var _button_Button_vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./button/Button.vue */ \"../../enginesdev/lesli-vue/source/elements/button/Button.vue\");\n/* harmony import */ var _calendar_Calendar_vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./calendar/Calendar.vue */ \"../../enginesdev/lesli-vue/source/elements/calendar/Calendar.vue\");\n/* harmony import */ var _card_Card_vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./card/Card.vue */ \"../../enginesdev/lesli-vue/source/elements/card/Card.vue\");\n/* harmony import */ var _collapse_Collapse_vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./collapse/Collapse.vue */ \"../../enginesdev/lesli-vue/source/elements/collapse/Collapse.vue\");\n/* harmony import */ var _columns_Column_vue__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./columns/Column.vue */ \"../../enginesdev/lesli-vue/source/elements/columns/Column.vue\");\n/* harmony import */ var _columns_Columns_vue__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./columns/Columns.vue */ \"../../enginesdev/lesli-vue/source/elements/columns/Columns.vue\");\n/* harmony import */ var _control_Control_vue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./control/Control.vue */ \"../../enginesdev/lesli-vue/source/elements/control/Control.vue\");\n/* harmony import */ var _dropdown_Dropdown_vue__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./dropdown/Dropdown.vue */ \"../../enginesdev/lesli-vue/source/elements/dropdown/Dropdown.vue\");\n/* harmony import */ var _empty_Empty_vue__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./empty/Empty.vue */ \"../../enginesdev/lesli-vue/source/elements/empty/Empty.vue\");\n/* harmony import */ var _form_Form_vue__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./form/Form.vue */ \"../../enginesdev/lesli-vue/source/elements/form/Form.vue\");\n/* harmony import */ var _header_Header_vue__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./header/Header.vue */ \"../../enginesdev/lesli-vue/source/elements/header/Header.vue\");\n/* harmony import */ var _icon_Icon_vue__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./icon/Icon.vue */ \"../../enginesdev/lesli-vue/source/elements/icon/Icon.vue\");\n/* harmony import */ var _input_Input_vue__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./input/Input.vue */ \"../../enginesdev/lesli-vue/source/elements/input/Input.vue\");\n/* harmony import */ var _inputTag_InputTag_vue__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./inputTag/InputTag.vue */ \"../../enginesdev/lesli-vue/source/elements/inputTag/InputTag.vue\");\n/* harmony import */ var _link_Link_vue__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./link/Link.vue */ \"../../enginesdev/lesli-vue/source/elements/link/Link.vue\");\n/* harmony import */ var _loading_Loading_vue__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./loading/Loading.vue */ \"../../enginesdev/lesli-vue/source/elements/loading/Loading.vue\");\n/* harmony import */ var _map_Map_vue__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./map/Map.vue */ \"../../enginesdev/lesli-vue/source/elements/map/Map.vue\");\n/* harmony import */ var _navbar_Navbar_vue__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./navbar/Navbar.vue */ \"../../enginesdev/lesli-vue/source/elements/navbar/Navbar.vue\");\n/* harmony import */ var _navigation_NavigationList_vue__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./navigation/NavigationList.vue */ \"../../enginesdev/lesli-vue/source/elements/navigation/NavigationList.vue\");\n/* harmony import */ var _pagination_Pagination_vue__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./pagination/Pagination.vue */ \"../../enginesdev/lesli-vue/source/elements/pagination/Pagination.vue\");\n/* harmony import */ var _panel_Panel_vue__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./panel/Panel.vue */ \"../../enginesdev/lesli-vue/source/elements/panel/Panel.vue\");\n/* harmony import */ var _select_Select_vue__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./select/Select.vue */ \"../../enginesdev/lesli-vue/source/elements/select/Select.vue\");\n/* harmony import */ var _table_Table_vue__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./table/Table.vue */ \"../../enginesdev/lesli-vue/source/elements/table/Table.vue\");\n/* harmony import */ var _tabs_Tabs_vue__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./tabs/Tabs.vue */ \"../../enginesdev/lesli-vue/source/elements/tabs/Tabs.vue\");\n/* harmony import */ var _tabs_TabItem_vue__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./tabs/TabItem.vue */ \"../../enginesdev/lesli-vue/source/elements/tabs/TabItem.vue\");\n/* harmony import */ var _toggle_Toggle_vue__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./toggle/Toggle.vue */ \"../../enginesdev/lesli-vue/source/elements/toggle/Toggle.vue\");\n/* harmony import */ var _toolbar_Toolbar_vue__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./toolbar/Toolbar.vue */ \"../../enginesdev/lesli-vue/source/elements/toolbar/Toolbar.vue\");\n/* harmony import */ var _fileUploader_FileUploader_vue__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./fileUploader/FileUploader.vue */ \"../../enginesdev/lesli-vue/source/elements/fileUploader/FileUploader.vue\");\n/*\nLesli\n\nCopyright (c) 2023, Lesli Technologies, S. A.\n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program. If not, see http://www.gnu.org/licenses/.\n\nLesli · Ruby on Rails SaaS Development Framework.\n\nMade with ♥ by https://www.lesli.tech\nBuilding a better future, one line of code at a time.\n\n@contact hello@lesli.tech\n@website https://www.lesli.dev\n@license GPLv3 http://www.gnu.org/licenses/gpl-3.0.en.html\n\n// · ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~ ~·~\n// · \n*/\n\n// · \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n// · \n\n\n//# sourceURL=webpack://lesli/../../enginesdev/lesli-vue/source/elements/index.js?");
|
1371
1415
|
|
1372
1416
|
/***/ }),
|
1373
1417
|
|
@@ -3977,6 +4021,28 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
3977
4021
|
|
3978
4022
|
/***/ }),
|
3979
4023
|
|
4024
|
+
/***/ "../../enginesdev/lesli-vue/source/elements/columns/Column.vue":
|
4025
|
+
/*!*********************************************************************!*\
|
4026
|
+
!*** ../../enginesdev/lesli-vue/source/elements/columns/Column.vue ***!
|
4027
|
+
\*********************************************************************/
|
4028
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
4029
|
+
|
4030
|
+
"use strict";
|
4031
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _Column_vue_vue_type_template_id_5e196290__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Column.vue?vue&type=template&id=5e196290 */ \"../../enginesdev/lesli-vue/source/elements/columns/Column.vue?vue&type=template&id=5e196290\");\n/* harmony import */ var _engines_Lesli_node_modules_vue_loader_dist_exportHelper_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../engines/Lesli/node_modules/vue-loader/dist/exportHelper.js */ \"./node_modules/vue-loader/dist/exportHelper.js\");\n\nconst script = {}\n\n;\nconst __exports__ = /*#__PURE__*/(0,_engines_Lesli_node_modules_vue_loader_dist_exportHelper_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(script, [['render',_Column_vue_vue_type_template_id_5e196290__WEBPACK_IMPORTED_MODULE_0__.render],['__file',\"enginesdev/lesli-vue/source/elements/columns/Column.vue\"]])\n/* hot reload */\nif (false) {}\n\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (__exports__);\n\n//# sourceURL=webpack://lesli/../../enginesdev/lesli-vue/source/elements/columns/Column.vue?");
|
4032
|
+
|
4033
|
+
/***/ }),
|
4034
|
+
|
4035
|
+
/***/ "../../enginesdev/lesli-vue/source/elements/columns/Columns.vue":
|
4036
|
+
/*!**********************************************************************!*\
|
4037
|
+
!*** ../../enginesdev/lesli-vue/source/elements/columns/Columns.vue ***!
|
4038
|
+
\**********************************************************************/
|
4039
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
4040
|
+
|
4041
|
+
"use strict";
|
4042
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _Columns_vue_vue_type_template_id_5122296b__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Columns.vue?vue&type=template&id=5122296b */ \"../../enginesdev/lesli-vue/source/elements/columns/Columns.vue?vue&type=template&id=5122296b\");\n/* harmony import */ var _engines_Lesli_node_modules_vue_loader_dist_exportHelper_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../engines/Lesli/node_modules/vue-loader/dist/exportHelper.js */ \"./node_modules/vue-loader/dist/exportHelper.js\");\n\nconst script = {}\n\n;\nconst __exports__ = /*#__PURE__*/(0,_engines_Lesli_node_modules_vue_loader_dist_exportHelper_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(script, [['render',_Columns_vue_vue_type_template_id_5122296b__WEBPACK_IMPORTED_MODULE_0__.render],['__file',\"enginesdev/lesli-vue/source/elements/columns/Columns.vue\"]])\n/* hot reload */\nif (false) {}\n\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (__exports__);\n\n//# sourceURL=webpack://lesli/../../enginesdev/lesli-vue/source/elements/columns/Columns.vue?");
|
4043
|
+
|
4044
|
+
/***/ }),
|
4045
|
+
|
3980
4046
|
/***/ "../../enginesdev/lesli-vue/source/elements/control/Control.vue":
|
3981
4047
|
/*!**********************************************************************!*\
|
3982
4048
|
!*** ../../enginesdev/lesli-vue/source/elements/control/Control.vue ***!
|
@@ -5011,6 +5077,28 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
5011
5077
|
|
5012
5078
|
/***/ }),
|
5013
5079
|
|
5080
|
+
/***/ "../../enginesdev/lesli-vue/source/elements/columns/Column.vue?vue&type=template&id=5e196290":
|
5081
|
+
/*!***************************************************************************************************!*\
|
5082
|
+
!*** ../../enginesdev/lesli-vue/source/elements/columns/Column.vue?vue&type=template&id=5e196290 ***!
|
5083
|
+
\***************************************************************************************************/
|
5084
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
5085
|
+
|
5086
|
+
"use strict";
|
5087
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ render: () => (/* reexport safe */ _engines_Lesli_node_modules_babel_loader_lib_index_js_clonedRuleSet_5_use_engines_Lesli_node_modules_vue_loader_dist_templateLoader_js_ruleSet_1_rules_2_engines_Lesli_node_modules_vue_loader_dist_index_js_ruleSet_0_use_Column_vue_vue_type_template_id_5e196290__WEBPACK_IMPORTED_MODULE_0__.render)\n/* harmony export */ });\n/* harmony import */ var _engines_Lesli_node_modules_babel_loader_lib_index_js_clonedRuleSet_5_use_engines_Lesli_node_modules_vue_loader_dist_templateLoader_js_ruleSet_1_rules_2_engines_Lesli_node_modules_vue_loader_dist_index_js_ruleSet_0_use_Column_vue_vue_type_template_id_5e196290__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../engines/Lesli/node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use!../../../../../engines/Lesli/node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[2]!../../../../../engines/Lesli/node_modules/vue-loader/dist/index.js??ruleSet[0].use!./Column.vue?vue&type=template&id=5e196290 */ \"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use!../../enginesdev/lesli-vue/source/elements/columns/Column.vue?vue&type=template&id=5e196290\");\n\n\n//# sourceURL=webpack://lesli/../../enginesdev/lesli-vue/source/elements/columns/Column.vue?");
|
5088
|
+
|
5089
|
+
/***/ }),
|
5090
|
+
|
5091
|
+
/***/ "../../enginesdev/lesli-vue/source/elements/columns/Columns.vue?vue&type=template&id=5122296b":
|
5092
|
+
/*!****************************************************************************************************!*\
|
5093
|
+
!*** ../../enginesdev/lesli-vue/source/elements/columns/Columns.vue?vue&type=template&id=5122296b ***!
|
5094
|
+
\****************************************************************************************************/
|
5095
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
5096
|
+
|
5097
|
+
"use strict";
|
5098
|
+
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ render: () => (/* reexport safe */ _engines_Lesli_node_modules_babel_loader_lib_index_js_clonedRuleSet_5_use_engines_Lesli_node_modules_vue_loader_dist_templateLoader_js_ruleSet_1_rules_2_engines_Lesli_node_modules_vue_loader_dist_index_js_ruleSet_0_use_Columns_vue_vue_type_template_id_5122296b__WEBPACK_IMPORTED_MODULE_0__.render)\n/* harmony export */ });\n/* harmony import */ var _engines_Lesli_node_modules_babel_loader_lib_index_js_clonedRuleSet_5_use_engines_Lesli_node_modules_vue_loader_dist_templateLoader_js_ruleSet_1_rules_2_engines_Lesli_node_modules_vue_loader_dist_index_js_ruleSet_0_use_Columns_vue_vue_type_template_id_5122296b__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../engines/Lesli/node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use!../../../../../engines/Lesli/node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[2]!../../../../../engines/Lesli/node_modules/vue-loader/dist/index.js??ruleSet[0].use!./Columns.vue?vue&type=template&id=5122296b */ \"./node_modules/babel-loader/lib/index.js??clonedRuleSet-5.use!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use!../../enginesdev/lesli-vue/source/elements/columns/Columns.vue?vue&type=template&id=5122296b\");\n\n\n//# sourceURL=webpack://lesli/../../enginesdev/lesli-vue/source/elements/columns/Columns.vue?");
|
5099
|
+
|
5100
|
+
/***/ }),
|
5101
|
+
|
5014
5102
|
/***/ "../../enginesdev/lesli-vue/source/elements/control/Control.vue?vue&type=template&id=0e22772a":
|
5015
5103
|
/*!****************************************************************************************************!*\
|
5016
5104
|
!*** ../../enginesdev/lesli-vue/source/elements/control/Control.vue?vue&type=template&id=0e22772a ***!
|
@@ -5964,7 +6052,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpac
|
|
5964
6052
|
/***/ ((module) => {
|
5965
6053
|
|
5966
6054
|
"use strict";
|
5967
|
-
eval("module.exports = JSON.parse('{\"en\":{\"
|
6055
|
+
eval("module.exports = JSON.parse('{\"en\":{\"lesli\":{\"shared\":{\"title_lesli\":\":lesli.shared.title_lesli:\"},\"users\":{\"title_users\":\"Users\"}},\"lesli_admin\":{\"shared\":{\"title_lesli\":\":lesli.shared.title_lesli:\"},\"users\":{\"title_users\":\"Users\"}}},\"es\":{\"lesli\":{\"shared\":{\"title_lesli\":\"Lesli en español \"},\"users\":{\"title_users\":\"Usuarios\"}},\"lesli_admin\":{\"shared\":{\"title_lesli\":\"Lesli en español \"},\"users\":{\"title_users\":\"Usuarios\"}}}}');\n\n//# sourceURL=webpack://lesli/../LesliAdmin/lib/vue/stores/translations.json?");
|
5968
6056
|
|
5969
6057
|
/***/ })
|
5970
6058
|
|