@opengis/admin 0.3.93 → 0.3.95

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.
@@ -1,4 +1,4 @@
1
- import { _ as n, g as m } from "./import-file-uKe7v-6O.js";
1
+ import { _ as n, g as m } from "./import-file-DoZDA270.js";
2
2
  import { u as p } from "./user-B_2kh6ic.js";
3
3
  import { resolveComponent as d, openBlock as u, createElementBlock as f, createElementVNode as o, createBlock as h, createCommentVNode as b } from "vue";
4
4
  const x = {
@@ -8,8 +8,7 @@
8
8
  {{#contentList table="log.user_auth" query="user_id='{{id}}'" order="cdate desc" sql1=1}}
9
9
  {{{tableList rows
10
10
  columns="
11
- Дата, {{formatDate auth_date format='dd.mm.yy / hh:mi'}},
12
- Час, {{formatDate auth_date format='dd.mm.yy / hh:mi'}},
11
+ Дата та час, {{formatDate auth_date format='dd.mm.yy / hh:mi'}},
13
12
  Тип авторизації, {{auth_type}},
14
13
  IP, {{auth_data}}
15
14
  "
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengis/admin",
3
- "version": "0.3.93",
3
+ "version": "0.3.95",
4
4
  "description": "This project Softpro Admin",
5
5
  "main": "dist/admin.js",
6
6
  "type": "module",
@@ -86,6 +86,7 @@ export default async function plugin(fastify) {
86
86
  });
87
87
 
88
88
  fastify.addHook('onListen', async () => {
89
+ return; // temporary moved to product/rent
89
90
  // insert document templates to db (print API)
90
91
  const printTemplateList = getTemplatePath('print');
91
92
  printTemplateList.filter(el => el[2] === 'json').map((el) => {
@@ -8,12 +8,13 @@ import printTemplateList from './controllers/printTemplateList.js';
8
8
 
9
9
  const policy = ['user'];
10
10
 
11
+ // temporary moved to product/rent
11
12
  export default async function route(app) {
12
- app.get(`/card-print/:table/:id`, { config: { policy } }, cardPrint);
13
- app.get('/print-template/:name/:id', { config: { policy } }, printTemplate);
14
- app.get('/print-template/:name', { config: { policy } }, printTemplatePreview);
15
- app.get('/print-template', { config: { policy } }, printTemplateList);
16
- app.post('/print-template', { config: { policy } }, printTemplateAdd);
17
- app.put('/print-template/:id', { config: { policy } }, printTemplateEdit);
18
- app.delete('/print-template/:id', { config: { policy } }, printTemplateDelete);
13
+ // app.get(`/card-print/:table/:id`, { config: { policy } }, cardPrint);
14
+ // app.get('/print-template/:name/:id', { config: { policy } }, printTemplate);
15
+ // app.get('/print-template/:name', { config: { policy } }, printTemplatePreview);
16
+ // app.get('/print-template', { config: { policy } }, printTemplateList);
17
+ // app.post('/print-template', { config: { policy } }, printTemplateAdd);
18
+ // app.put('/print-template/:id', { config: { policy } }, printTemplateEdit);
19
+ // app.delete('/print-template/:id', { config: { policy } }, printTemplateDelete);
19
20
  }