From 5b84a03e160ad45b4eae5ccf7b54ea6a0d4d6a02 Mon Sep 17 00:00:00 2001 From: Juan Ferrer Toribio Date: Tue, 26 Nov 2024 14:25:57 +0100 Subject: [PATCH] refs #4922 Project root clean --- README.md | 1 + app.js | 41 - apache.conf => back/apache.conf | 0 config.php => back/config.php | 0 env.php => back/env.php | 2 +- hedera-web.php => back/hedera-web.php | 0 index.php => back/index.php | 0 back/package.json | 8 + php.ini => back/php.ini | 0 .../reports}/recover-password/locale/en.json | 0 .../reports}/recover-password/locale/es.json | 0 .../reports}/recover-password/locale/fr.json | 0 .../reports}/recover-password/locale/pt.json | 0 .../reports}/recover-password/ui.php | 0 .../reports}/shelves-report/locale/en.yml | 0 .../reports}/shelves-report/locale/es.yml | 0 .../reports}/shelves-report/locale/pt.yml | 0 .../reports}/shelves-report/shelves-report.js | 0 .../reports}/shelves-report/style.css | 0 .../reports}/shelves-report/ui.xml | 0 {rest => back/rest}/client/contact.php | 0 {rest => back/rest}/client/supplant.php | 0 {rest => back/rest}/core/locale/ca.json | 0 {rest => back/rest}/core/locale/en.json | 0 {rest => back/rest}/core/locale/es.json | 0 {rest => back/rest}/core/locale/fr.json | 0 {rest => back/rest}/core/locale/pt.json | 0 {rest => back/rest}/core/log.php | 0 {rest => back/rest}/core/query.php | 0 {rest => back/rest}/dms/invoice.php | 0 {rest => back/rest}/dms/invoice.sql | 0 {rest => back/rest}/edi/clean.php | 0 {rest => back/rest}/edi/lib/CLOCKT.json | 0 {rest => back/rest}/edi/lib/message.php | 0 {rest => back/rest}/edi/lib/method.php | 0 {rest => back/rest}/edi/lib/section.php | 0 {rest => back/rest}/edi/lib/segment.php | 0 {rest => back/rest}/edi/load.php | 0 {rest => back/rest}/image/image.php | 0 {rest => back/rest}/image/locale/en.json | 0 {rest => back/rest}/image/locale/es.json | 0 {rest => back/rest}/image/locale/pt.json | 0 {rest => back/rest}/image/resize.php | 0 {rest => back/rest}/image/sync.php | 0 {rest => back/rest}/image/thumb.php | 0 {rest => back/rest}/image/upload.php | 0 {rest => back/rest}/image/util.php | 0 {rest => back/rest}/misc/IndieFlower.ttf | Bin {rest => back/rest}/misc/captcha.php | 0 {rest => back/rest}/misc/exchange-rate.php | 0 {rest => back/rest}/misc/exrate-add.sql | 0 {rest => back/rest}/misc/locale/es.json | 0 {rest => back/rest}/misc/mail.php | 0 {rest => back/rest}/misc/production.php | 0 {rest => back/rest}/misc/visits-sync.php | 0 {rest => back/rest}/tpv/confirm-mail.php | 0 {rest => back/rest}/tpv/confirm-post.php | 0 {rest => back/rest}/tpv/confirm-soap.php | 0 {rest => back/rest}/tpv/soap-reply.xml | 0 {rest => back/rest}/tpv/soap-request.dtd | 0 {rest => back/rest}/tpv/soap-request.xml | 0 {rest => back/rest}/tpv/soap-test.php | 0 {rest => back/rest}/tpv/soap.wsdl | 0 {rest => back/rest}/tpv/tpv.php | 0 {rest => back/rest}/tpv/transaction.php | 0 {rest => back/rest}/user/account.php | 0 {rest => back/rest}/user/recover-password.php | 0 {rest => back/rest}/user/restore-password.php | 0 {rest => back/rest}/user/supplant.php | 0 {web => back/web}/app.php | 0 {web => back/web}/db-session-handler.php | 0 {web => back/web}/html-service.php | 0 {web => back/web}/html.php | 0 {web => back/web}/json-exception.php | 0 {web => back/web}/json-reply.php | 0 {web => back/web}/json-request.php | 0 {web => back/web}/json-service.php | 0 {web => back/web}/jwt.php | 0 {web => back/web}/locale/en.json | 0 {web => back/web}/locale/es.json | 0 {web => back/web}/locale/pt.json | 0 {web => back/web}/mailer.php | 0 {web => back/web}/report.html.php | 0 {web => back/web}/report.php | 0 {web => back/web}/rest-request.php | 0 {web => back/web}/rest-service.php | 0 {web => back/web}/service.php | 0 {web => back/web}/uid.php | 0 {web => back/web}/unavailable.html | 0 {web => back/web}/util.php | 0 {web => back/web}/version.php | 0 debian/install | 24 +- forms/account/address-list/index.js | 43 - forms/account/address-list/locale/ca.yml | 8 - forms/account/address-list/locale/en.yml | 8 - forms/account/address-list/locale/es.yml | 8 - forms/account/address-list/locale/fr.yml | 8 - forms/account/address-list/locale/pt.yml | 8 - forms/account/address-list/style.scss | 6 - forms/account/address-list/ui.xml | 70 - forms/account/address/index.js | 20 - forms/account/address/locale/ca.yml | 10 - forms/account/address/locale/en.yml | 10 - forms/account/address/locale/es.yml | 10 - forms/account/address/locale/fr.yml | 10 - forms/account/address/locale/pt.yml | 10 - forms/account/address/ui.xml | 87 -- forms/account/conf/index.js | 76 - forms/account/conf/locale/ca.yml | 26 - forms/account/conf/locale/en.yml | 26 - forms/account/conf/locale/es.yml | 28 - forms/account/conf/locale/fr.yml | 26 - forms/account/conf/locale/pt.yml | 26 - forms/account/conf/style.scss | 4 - forms/account/conf/ui.xml | 135 -- forms/admin/access-log/index.js | 7 - forms/admin/access-log/locale/ca.yml | 11 - forms/admin/access-log/locale/en.yml | 11 - forms/admin/access-log/locale/es.yml | 11 - forms/admin/access-log/locale/fr.yml | 11 - forms/admin/access-log/locale/pt.yml | 11 - forms/admin/access-log/style.scss | 12 - forms/admin/access-log/ui.xml | 50 - forms/admin/connections/index.js | 33 - forms/admin/connections/locale/ca.yml | 4 - forms/admin/connections/locale/en.yml | 4 - forms/admin/connections/locale/es.yml | 4 - forms/admin/connections/locale/fr.yml | 4 - forms/admin/connections/locale/mn.yml | 4 - forms/admin/connections/locale/pt.yml | 4 - forms/admin/connections/style.scss | 9 - forms/admin/connections/ui.xml | 63 - forms/admin/items/index.js | 10 - forms/admin/items/locale/ca.yml | 2 - forms/admin/items/locale/en.yml | 2 - forms/admin/items/locale/es.yml | 2 - forms/admin/items/locale/fr.yml | 2 - forms/admin/items/locale/pt.yml | 2 - forms/admin/items/style.scss | 6 - forms/admin/items/ui.xml | 57 - forms/admin/links/index.js | 7 - forms/admin/links/locale/ca.yml | 3 - forms/admin/links/locale/en.yml | 3 - forms/admin/links/locale/es.yml | 3 - forms/admin/links/locale/fr.yml | 3 - forms/admin/links/locale/pt.yml | 3 - forms/admin/links/style.scss | 50 - forms/admin/links/ui.xml | 31 - forms/admin/photos/index.js | 201 --- forms/admin/photos/locale/ca.yml | 13 - forms/admin/photos/locale/en.yml | 13 - forms/admin/photos/locale/es.yml | 13 - forms/admin/photos/locale/fr.yml | 13 - forms/admin/photos/locale/pt.yml | 13 - forms/admin/photos/style.scss | 81 -- forms/admin/photos/ui.xml | 50 - forms/admin/queries/index.js | 93 -- forms/admin/queries/locale/ca.yml | 6 - forms/admin/queries/locale/en.yml | 6 - forms/admin/queries/locale/es.yml | 6 - forms/admin/queries/locale/fr.yml | 6 - forms/admin/queries/locale/pt.yml | 6 - forms/admin/queries/style.scss | 10 - forms/admin/queries/ui.xml | 38 - forms/admin/users/index.js | 20 - forms/admin/users/locale/ca.yml | 4 - forms/admin/users/locale/en.yml | 4 - forms/admin/users/locale/es.yml | 4 - forms/admin/users/locale/fr.yml | 4 - forms/admin/users/locale/pt.yml | 4 - forms/admin/users/style.scss | 11 - forms/admin/users/ui.xml | 48 - forms/admin/visits/index.js | 15 - forms/admin/visits/locale/ca.yml | 9 - forms/admin/visits/locale/en.yml | 9 - forms/admin/visits/locale/es.yml | 9 - forms/admin/visits/locale/fr.yml | 9 - forms/admin/visits/locale/mn.yml | 9 - forms/admin/visits/locale/pt.yml | 9 - forms/admin/visits/style.scss | 12 - forms/admin/visits/ui.xml | 90 -- forms/agencies/packages/index.js | 14 - forms/agencies/packages/locale/ca.yml | 6 - forms/agencies/packages/locale/en.yml | 6 - forms/agencies/packages/locale/es.yml | 6 - forms/agencies/packages/locale/fr.yml | 6 - forms/agencies/packages/locale/pt.yml | 6 - forms/agencies/packages/style.scss | 0 forms/agencies/packages/ui.xml | 25 - forms/agencies/provinces/index.js | 7 - forms/agencies/provinces/locale/ca.yml | 6 - forms/agencies/provinces/locale/en.yml | 6 - forms/agencies/provinces/locale/es.yml | 6 - forms/agencies/provinces/locale/fr.yml | 6 - forms/agencies/provinces/locale/pt.yml | 6 - forms/agencies/provinces/style.scss | 0 forms/agencies/provinces/ui.xml | 18 - forms/cms/about/image/2_control.png | Bin 111349 -> 0 bytes forms/cms/about/image/4_control.png | Bin 73574 -> 0 bytes forms/cms/about/image/agencies.png | Bin 186021 -> 0 bytes forms/cms/about/image/auction.png | Bin 304857 -> 0 bytes forms/cms/about/image/commercial.png | Bin 115100 -> 0 bytes forms/cms/about/image/courses.png | Bin 291908 -> 0 bytes forms/cms/about/image/dealer.png | Bin 56431 -> 0 bytes forms/cms/about/image/differentiates_us.png | Bin 436740 -> 0 bytes forms/cms/about/image/fit.png | Bin 197113 -> 0 bytes forms/cms/about/image/glass.png | Bin 1712 -> 0 bytes forms/cms/about/image/goods_receive.png | Bin 88174 -> 0 bytes forms/cms/about/image/goods_transport.png | Bin 135198 -> 0 bytes forms/cms/about/image/palletizing.png | Bin 131803 -> 0 bytes forms/cms/about/image/producers.png | Bin 76226 -> 0 bytes forms/cms/about/image/store.png | Bin 304012 -> 0 bytes forms/cms/about/image/summary.png | Bin 43484 -> 0 bytes forms/cms/about/image/trailer.png | Bin 110699 -> 0 bytes forms/cms/about/image/training.png | Bin 104110 -> 0 bytes forms/cms/about/image/web.png | Bin 156428 -> 0 bytes forms/cms/about/image/youtube.png | Bin 136263 -> 0 bytes forms/cms/about/index.js | 7 - forms/cms/about/locale/ca.yml | 103 -- forms/cms/about/locale/en.yml | 92 -- forms/cms/about/locale/es.yml | 102 -- forms/cms/about/locale/fr.yml | 99 -- forms/cms/about/locale/pt.yml | 99 -- forms/cms/about/style.scss | 86 -- forms/cms/about/ui.xml | 98 -- forms/cms/contact/index.js | 39 - forms/cms/contact/locale/ca.yml | 21 - forms/cms/contact/locale/en.yml | 17 - forms/cms/contact/locale/es.yml | 21 - forms/cms/contact/locale/fr.yml | 19 - forms/cms/contact/locale/pt.yml | 19 - forms/cms/contact/style.scss | 38 - forms/cms/contact/ui.xml | 49 - forms/cms/home/index.js | 6 - forms/cms/home/locale/ca.yml | 12 - forms/cms/home/locale/en.yml | 12 - forms/cms/home/locale/es.yml | 12 - forms/cms/home/locale/fr.yml | 12 - forms/cms/home/locale/mn.yml | 12 - forms/cms/home/locale/pt.yml | 12 - forms/cms/home/style.scss | 54 - forms/cms/home/ui.xml | 44 - forms/cms/location/index.js | 103 -- forms/cms/location/locale/ca.yml | 1 - forms/cms/location/locale/en.yml | 1 - forms/cms/location/locale/es.yml | 1 - forms/cms/location/locale/fr.yml | 1 - forms/cms/location/locale/pt.yml | 1 - forms/cms/location/style.scss | 16 - forms/cms/location/ui.xml | 6 - forms/cms/why/index.js | 7 - forms/cms/why/locale/ca.yml | 32 - forms/cms/why/locale/en.yml | 28 - forms/cms/why/locale/es.yml | 31 - forms/cms/why/locale/fr.yml | 36 - forms/cms/why/locale/pt.yml | 28 - forms/cms/why/store.png | Bin 40505 -> 0 bytes forms/cms/why/style.scss | 14 - forms/cms/why/ui.xml | 20 - forms/ecomerce/basket/index.js | 29 - forms/ecomerce/basket/locale/ca.yml | 27 - forms/ecomerce/basket/locale/en.yml | 27 - forms/ecomerce/basket/locale/es.yml | 27 - forms/ecomerce/basket/locale/fr.yml | 27 - forms/ecomerce/basket/locale/pt.yml | 27 - forms/ecomerce/basket/style.scss | 76 - forms/ecomerce/basket/ui.xml | 73 - forms/ecomerce/catalog/index.js | 336 ----- forms/ecomerce/catalog/locale/ca.yml | 48 - forms/ecomerce/catalog/locale/en.yml | 48 - forms/ecomerce/catalog/locale/es.yml | 48 - forms/ecomerce/catalog/locale/fr.yml | 48 - forms/ecomerce/catalog/locale/pt.yml | 48 - forms/ecomerce/catalog/style.scss | 438 ------ forms/ecomerce/catalog/ui.xml | 515 ------- forms/ecomerce/checkout/index.js | 215 --- forms/ecomerce/checkout/locale/ca.yml | 34 - forms/ecomerce/checkout/locale/en.yml | 33 - forms/ecomerce/checkout/locale/es.yml | 34 - forms/ecomerce/checkout/locale/fr.yml | 34 - forms/ecomerce/checkout/locale/pt.yml | 34 - forms/ecomerce/checkout/style.scss | 54 - forms/ecomerce/checkout/ui.xml | 203 --- forms/ecomerce/confirm/index.js | 145 -- forms/ecomerce/confirm/locale/ca.yml | 33 - forms/ecomerce/confirm/locale/en.yml | 33 - forms/ecomerce/confirm/locale/es.yml | 33 - forms/ecomerce/confirm/locale/fr.yml | 33 - forms/ecomerce/confirm/locale/pt.yml | 33 - forms/ecomerce/confirm/style.scss | 93 -- forms/ecomerce/confirm/ui.xml | 214 --- forms/ecomerce/invoices/index.js | 32 - forms/ecomerce/invoices/locale/ca.yml | 6 - forms/ecomerce/invoices/locale/en.yml | 6 - forms/ecomerce/invoices/locale/es.yml | 6 - forms/ecomerce/invoices/locale/fr.yml | 6 - forms/ecomerce/invoices/locale/pt.yml | 6 - forms/ecomerce/invoices/style.scss | 0 forms/ecomerce/invoices/ui.xml | 23 - forms/ecomerce/orders/index.js | 57 - forms/ecomerce/orders/locale/ca.yml | 36 - forms/ecomerce/orders/locale/en.yml | 37 - forms/ecomerce/orders/locale/es.yml | 37 - forms/ecomerce/orders/locale/fr.yml | 38 - forms/ecomerce/orders/locale/mn.yml | 37 - forms/ecomerce/orders/locale/pt.yml | 37 - forms/ecomerce/orders/style.scss | 39 - forms/ecomerce/orders/ui.xml | 68 - forms/ecomerce/ticket/index.js | 45 - forms/ecomerce/ticket/locale/ca.yml | 25 - forms/ecomerce/ticket/locale/en.yml | 25 - forms/ecomerce/ticket/locale/es.yml | 25 - forms/ecomerce/ticket/locale/fr.yml | 25 - forms/ecomerce/ticket/locale/pt.yml | 25 - forms/ecomerce/ticket/style.scss | 78 - forms/ecomerce/ticket/ui.xml | 131 -- forms/news/new/index.js | 108 -- forms/news/new/locale/ca.yml | 8 - forms/news/new/locale/en.yml | 8 - forms/news/new/locale/es.yml | 8 - forms/news/new/locale/fr.yml | 8 - forms/news/new/locale/pt.yml | 8 - forms/news/new/style.scss | 32 - forms/news/new/ui.xml | 66 - forms/news/news/index.js | 30 - forms/news/news/locale/ca.yml | 8 - forms/news/news/locale/en.yml | 8 - forms/news/news/locale/es.yml | 8 - forms/news/news/locale/fr.yml | 8 - forms/news/news/locale/pt.yml | 8 - forms/news/news/style.scss | 8 - forms/news/news/ui.xml | 55 - forms/reports/items-form/index.js | 19 - forms/reports/items-form/locale/en.yml | 5 - forms/reports/items-form/locale/es.yml | 5 - forms/reports/items-form/locale/pt.yml | 5 - forms/reports/items-form/style.scss | 0 forms/reports/items-form/ui.xml | 42 - forms/reports/shelves/index.js | 22 - forms/reports/shelves/locale/ca.yml | 1 - forms/reports/shelves/locale/en.yml | 15 - forms/reports/shelves/locale/es.yml | 15 - forms/reports/shelves/locale/fr.yml | 1 - forms/reports/shelves/locale/pt.yml | 15 - forms/reports/shelves/style.scss | 0 forms/reports/shelves/ui.xml | 105 -- js/db/calc-sum.js | 52 - js/db/calc.js | 154 -- js/db/connection.js | 152 -- js/db/db-lot.js | 109 -- js/db/db.js | 17 - js/db/form.js | 105 -- js/db/iterator.js | 133 -- js/db/locale/ca.yml | 5 - js/db/locale/en.yml | 5 - js/db/locale/es.yml | 5 - js/db/locale/fr.yml | 5 - js/db/locale/pt.yml | 5 - js/db/model.js | 1251 ----------------- js/db/query.js | 94 -- js/db/result-set.js | 130 -- js/db/result.js | 64 - js/db/simple-iterator.js | 71 - js/hedera/app.js | 252 ---- js/hedera/basket-checker.js | 21 - js/hedera/form.js | 108 -- js/hedera/gui.js | 497 ------- js/hedera/gui.scss | 375 ----- js/hedera/gui.xml | 50 - js/hedera/hedera.js | 15 - js/hedera/locale/ca.yml | 64 - js/hedera/locale/en.yml | 60 - js/hedera/locale/es.yml | 64 - js/hedera/locale/fr.yml | 64 - js/hedera/locale/mn.yml | 55 - js/hedera/locale/pt.yml | 62 - js/hedera/login.js | 101 -- js/hedera/login.scss | 150 -- js/hedera/login.xml | 57 - js/hedera/module.js | 70 - js/hedera/report.css | 98 -- js/hedera/report.html | 18 - js/hedera/report.js | 86 -- js/hedera/social-bar.js | 63 - js/hedera/social-bar.scss | 13 - js/hedera/tpv.js | 91 -- js/htk/assistant-bar/index.js | 140 -- js/htk/assistant-bar/style.scss | 66 - js/htk/assistant/index.js | 161 --- js/htk/assistant/style.scss | 14 - js/htk/bar-button/index.js | 9 - js/htk/button/index.js | 61 - js/htk/button/style.scss | 15 - js/htk/calendar/index.js | 265 ---- js/htk/calendar/style.scss | 94 -- js/htk/check/index.js | 26 - js/htk/column/index.js | 95 -- js/htk/columns/button/index.js | 75 - js/htk/columns/button/style.scss | 34 - js/htk/columns/check/index.js | 31 - js/htk/columns/check/style.scss | 5 - js/htk/columns/date/index.js | 38 - js/htk/columns/image/index.js | 55 - js/htk/columns/image/style.scss | 11 - js/htk/columns/link/index.js | 35 - js/htk/columns/radio/index.js | 32 - js/htk/columns/spin/index.js | 64 - js/htk/columns/spin/style.scss | 8 - js/htk/columns/text/index.js | 50 - js/htk/date-chooser/index.js | 73 - js/htk/date-chooser/style.scss | 17 - js/htk/dialog/index.js | 161 --- js/htk/dialog/style.scss | 25 - js/htk/entry/index.js | 74 - js/htk/field/index.js | 156 -- js/htk/full-image/index.js | 79 -- js/htk/full-image/style.scss | 12 - js/htk/grid/index.js | 349 ----- js/htk/grid/style.scss | 63 - js/htk/htk.js | 54 - js/htk/html/index.js | 14 - js/htk/icon/index.js | 51 - js/htk/image-editor/index.js | 60 - js/htk/image-editor/style.scss | 33 - js/htk/image-editor/ui.xml | 24 - js/htk/image/index.js | 203 --- js/htk/image/style.scss | 35 - js/htk/label/index.js | 34 - js/htk/list/index.js | 1 - js/htk/list/style.scss | 64 - js/htk/loader/index.js | 70 - js/htk/loader/style.scss | 4 - js/htk/locale/ca.yml | 30 - js/htk/locale/en.yml | 30 - js/htk/locale/es.yml | 30 - js/htk/locale/fr.yml | 30 - js/htk/locale/pt.yml | 30 - js/htk/popup/index.js | 194 --- js/htk/popup/style.scss | 35 - js/htk/radio/index.js | 82 -- js/htk/radio/radio-group.js | 45 - js/htk/repeater/index.js | 231 --- js/htk/repeater/style.scss | 16 - js/htk/search-entry/index.js | 48 - js/htk/search-entry/style.scss | 35 - js/htk/select/index.js | 265 ---- js/htk/select/style.scss | 58 - js/htk/spin/index.js | 38 - js/htk/spinner/index.js | 33 - js/htk/spinner/style.scss | 31 - js/htk/step/index.js | 48 - js/htk/style/classes.scss | 26 - js/htk/style/index.scss | 9 - js/htk/style/material-symbols.scss | 22 - js/htk/style/material-symbols.woff2 | Bin 239020 -> 0 bytes js/htk/style/opensans.ttf | Bin 129796 -> 0 bytes js/htk/style/poppins.ttf | Bin 158240 -> 0 bytes js/htk/style/responsive.scss | 16 - js/htk/style/roboto.ttf | Bin 162876 -> 0 bytes js/htk/style/spacing.scss | 355 ----- js/htk/style/style.scss | 314 ----- js/htk/style/text.scss | 70 - js/htk/style/variables.scss | 28 - js/htk/style/width.scss | 26 - js/htk/table/index.js | 50 - js/htk/text-area/index.js | 32 - js/htk/text/index.js | 33 - js/htk/toast/index.js | 156 -- js/htk/toast/style.scss | 47 - js/sql/delete.js | 17 - js/sql/dml.js | 29 - js/sql/expr.js | 11 - js/sql/field.js | 33 - js/sql/filter-item.js | 62 - js/sql/filter.js | 49 - js/sql/function.js | 48 - js/sql/holder.js | 33 - js/sql/insert.js | 19 - js/sql/join-item.js | 48 - js/sql/join.js | 47 - js/sql/list-holder.js | 61 - js/sql/list.js | 71 - js/sql/multi-stmt.js | 30 - js/sql/object.js | 104 -- js/sql/operation.js | 85 -- js/sql/select.js | 25 - js/sql/sql.js | 29 - js/sql/stmt.js | 40 - js/sql/string.js | 46 - js/sql/table.js | 33 - js/sql/target.js | 9 - js/sql/update.js | 28 - js/sql/value.js | 138 -- js/vn/browser.js | 29 - js/vn/builder.js | 168 --- js/vn/compiler-element.js | 85 -- js/vn/compiler-object.js | 216 --- js/vn/compiler-text.js | 33 - js/vn/compiler.js | 150 -- js/vn/component.js | 205 --- js/vn/cookie.js | 71 - js/vn/date.js | 121 -- js/vn/enum.js | 4 - js/vn/form.js | 72 - js/vn/hash.js | 164 --- js/vn/ie.js | 119 -- js/vn/iterator-iface.js | 67 - js/vn/iterator.js | 75 - js/vn/json-connection.js | 317 ----- js/vn/json-exception.js | 15 - js/vn/locale.js | 98 -- js/vn/locale/ca.yml | 44 - js/vn/locale/en.yml | 41 - js/vn/locale/es.yml | 44 - js/vn/locale/fr.yml | 44 - js/vn/locale/mn.yml | 41 - js/vn/locale/pt.yml | 44 - js/vn/lot-iface.js | 83 -- js/vn/lot-query.js | 122 -- js/vn/lot.js | 69 - js/vn/model-iface.js | 127 -- js/vn/model-proxy.js | 80 -- js/vn/model.js | 350 ----- js/vn/mutators.js | 48 - js/vn/node-builder.js | 23 - js/vn/node.js | 66 - js/vn/object.js | 260 ---- js/vn/param-iface.js | 139 -- js/vn/param.js | 88 -- js/vn/scope.js | 163 --- js/vn/spec.js | 37 - js/vn/string-util.js | 27 - js/vn/type.js | 4 - js/vn/url.js | 70 - js/vn/value.js | 191 --- js/vn/vn.js | 382 ----- package.json | 5 +- pages/main/manifest.json | 13 - pages/main/ui.php | 32 - pages/production/main.js | 161 --- pages/production/manifest.json | 11 - pages/production/style.css | 74 - pages/production/ui.php | 28 - pages/update-browser/locale/ca.yml | 2 - pages/update-browser/locale/en.yml | 2 - pages/update-browser/locale/es.yml | 2 - pages/update-browser/locale/fr.yml | 2 - pages/update-browser/locale/mn.yml | 2 - pages/update-browser/locale/pt.yml | 2 - pages/update-browser/style.css | 26 - pages/update-browser/ui.php | 23 - pages/update-browser/update-browser.png | Bin 63808 -> 0 bytes pages/version-menu/locale/ca.yml | 5 - pages/version-menu/locale/en.yml | 5 - pages/version-menu/locale/es.yml | 5 - pages/version-menu/locale/fr.yml | 5 - pages/version-menu/locale/mn.yml | 5 - pages/version-menu/locale/pt.yml | 5 - pages/version-menu/new-web.svg | 233 --- pages/version-menu/old-web.svg | 198 --- pages/version-menu/style.css | 81 -- pages/version-menu/ui.php | 42 - webpack.config.js | 156 -- webpack.config.json | 5 - 564 files changed, 25 insertions(+), 25250 deletions(-) delete mode 100644 app.js rename apache.conf => back/apache.conf (100%) rename config.php => back/config.php (100%) rename env.php => back/env.php (81%) rename hedera-web.php => back/hedera-web.php (100%) rename index.php => back/index.php (100%) create mode 100644 back/package.json rename php.ini => back/php.ini (100%) rename {reports => back/reports}/recover-password/locale/en.json (100%) rename {reports => back/reports}/recover-password/locale/es.json (100%) rename {reports => back/reports}/recover-password/locale/fr.json (100%) rename {reports => back/reports}/recover-password/locale/pt.json (100%) rename {reports => back/reports}/recover-password/ui.php (100%) rename {reports => back/reports}/shelves-report/locale/en.yml (100%) rename {reports => back/reports}/shelves-report/locale/es.yml (100%) rename {reports => back/reports}/shelves-report/locale/pt.yml (100%) rename {reports => back/reports}/shelves-report/shelves-report.js (100%) rename {reports => back/reports}/shelves-report/style.css (100%) rename {reports => back/reports}/shelves-report/ui.xml (100%) rename {rest => back/rest}/client/contact.php (100%) rename {rest => back/rest}/client/supplant.php (100%) rename {rest => back/rest}/core/locale/ca.json (100%) rename {rest => back/rest}/core/locale/en.json (100%) rename {rest => back/rest}/core/locale/es.json (100%) rename {rest => back/rest}/core/locale/fr.json (100%) rename {rest => back/rest}/core/locale/pt.json (100%) rename {rest => back/rest}/core/log.php (100%) rename {rest => back/rest}/core/query.php (100%) rename {rest => back/rest}/dms/invoice.php (100%) rename {rest => back/rest}/dms/invoice.sql (100%) rename {rest => back/rest}/edi/clean.php (100%) rename {rest => back/rest}/edi/lib/CLOCKT.json (100%) rename {rest => back/rest}/edi/lib/message.php (100%) rename {rest => back/rest}/edi/lib/method.php (100%) rename {rest => back/rest}/edi/lib/section.php (100%) rename {rest => back/rest}/edi/lib/segment.php (100%) rename {rest => back/rest}/edi/load.php (100%) rename {rest => back/rest}/image/image.php (100%) rename {rest => back/rest}/image/locale/en.json (100%) rename {rest => back/rest}/image/locale/es.json (100%) rename {rest => back/rest}/image/locale/pt.json (100%) rename {rest => back/rest}/image/resize.php (100%) rename {rest => back/rest}/image/sync.php (100%) rename {rest => back/rest}/image/thumb.php (100%) rename {rest => back/rest}/image/upload.php (100%) rename {rest => back/rest}/image/util.php (100%) rename {rest => back/rest}/misc/IndieFlower.ttf (100%) rename {rest => back/rest}/misc/captcha.php (100%) rename {rest => back/rest}/misc/exchange-rate.php (100%) rename {rest => back/rest}/misc/exrate-add.sql (100%) rename {rest => back/rest}/misc/locale/es.json (100%) rename {rest => back/rest}/misc/mail.php (100%) rename {rest => back/rest}/misc/production.php (100%) rename {rest => back/rest}/misc/visits-sync.php (100%) rename {rest => back/rest}/tpv/confirm-mail.php (100%) rename {rest => back/rest}/tpv/confirm-post.php (100%) rename {rest => back/rest}/tpv/confirm-soap.php (100%) rename {rest => back/rest}/tpv/soap-reply.xml (100%) rename {rest => back/rest}/tpv/soap-request.dtd (100%) rename {rest => back/rest}/tpv/soap-request.xml (100%) rename {rest => back/rest}/tpv/soap-test.php (100%) rename {rest => back/rest}/tpv/soap.wsdl (100%) rename {rest => back/rest}/tpv/tpv.php (100%) rename {rest => back/rest}/tpv/transaction.php (100%) rename {rest => back/rest}/user/account.php (100%) rename {rest => back/rest}/user/recover-password.php (100%) rename {rest => back/rest}/user/restore-password.php (100%) rename {rest => back/rest}/user/supplant.php (100%) rename {web => back/web}/app.php (100%) rename {web => back/web}/db-session-handler.php (100%) rename {web => back/web}/html-service.php (100%) rename {web => back/web}/html.php (100%) rename {web => back/web}/json-exception.php (100%) rename {web => back/web}/json-reply.php (100%) rename {web => back/web}/json-request.php (100%) rename {web => back/web}/json-service.php (100%) rename {web => back/web}/jwt.php (100%) rename {web => back/web}/locale/en.json (100%) rename {web => back/web}/locale/es.json (100%) rename {web => back/web}/locale/pt.json (100%) rename {web => back/web}/mailer.php (100%) rename {web => back/web}/report.html.php (100%) rename {web => back/web}/report.php (100%) rename {web => back/web}/rest-request.php (100%) rename {web => back/web}/rest-service.php (100%) rename {web => back/web}/service.php (100%) rename {web => back/web}/uid.php (100%) rename {web => back/web}/unavailable.html (100%) rename {web => back/web}/util.php (100%) rename {web => back/web}/version.php (100%) delete mode 100644 forms/account/address-list/index.js delete mode 100644 forms/account/address-list/locale/ca.yml delete mode 100644 forms/account/address-list/locale/en.yml delete mode 100644 forms/account/address-list/locale/es.yml delete mode 100644 forms/account/address-list/locale/fr.yml delete mode 100644 forms/account/address-list/locale/pt.yml delete mode 100644 forms/account/address-list/style.scss delete mode 100644 forms/account/address-list/ui.xml delete mode 100644 forms/account/address/index.js delete mode 100644 forms/account/address/locale/ca.yml delete mode 100644 forms/account/address/locale/en.yml delete mode 100644 forms/account/address/locale/es.yml delete mode 100644 forms/account/address/locale/fr.yml delete mode 100644 forms/account/address/locale/pt.yml delete mode 100644 forms/account/address/ui.xml delete mode 100644 forms/account/conf/index.js delete mode 100644 forms/account/conf/locale/ca.yml delete mode 100644 forms/account/conf/locale/en.yml delete mode 100644 forms/account/conf/locale/es.yml delete mode 100644 forms/account/conf/locale/fr.yml delete mode 100644 forms/account/conf/locale/pt.yml delete mode 100644 forms/account/conf/style.scss delete mode 100644 forms/account/conf/ui.xml delete mode 100644 forms/admin/access-log/index.js delete mode 100644 forms/admin/access-log/locale/ca.yml delete mode 100644 forms/admin/access-log/locale/en.yml delete mode 100644 forms/admin/access-log/locale/es.yml delete mode 100644 forms/admin/access-log/locale/fr.yml delete mode 100644 forms/admin/access-log/locale/pt.yml delete mode 100644 forms/admin/access-log/style.scss delete mode 100644 forms/admin/access-log/ui.xml delete mode 100644 forms/admin/connections/index.js delete mode 100644 forms/admin/connections/locale/ca.yml delete mode 100644 forms/admin/connections/locale/en.yml delete mode 100644 forms/admin/connections/locale/es.yml delete mode 100644 forms/admin/connections/locale/fr.yml delete mode 100644 forms/admin/connections/locale/mn.yml delete mode 100644 forms/admin/connections/locale/pt.yml delete mode 100644 forms/admin/connections/style.scss delete mode 100644 forms/admin/connections/ui.xml delete mode 100644 forms/admin/items/index.js delete mode 100644 forms/admin/items/locale/ca.yml delete mode 100644 forms/admin/items/locale/en.yml delete mode 100644 forms/admin/items/locale/es.yml delete mode 100644 forms/admin/items/locale/fr.yml delete mode 100644 forms/admin/items/locale/pt.yml delete mode 100644 forms/admin/items/style.scss delete mode 100644 forms/admin/items/ui.xml delete mode 100644 forms/admin/links/index.js delete mode 100644 forms/admin/links/locale/ca.yml delete mode 100644 forms/admin/links/locale/en.yml delete mode 100644 forms/admin/links/locale/es.yml delete mode 100644 forms/admin/links/locale/fr.yml delete mode 100644 forms/admin/links/locale/pt.yml delete mode 100644 forms/admin/links/style.scss delete mode 100644 forms/admin/links/ui.xml delete mode 100644 forms/admin/photos/index.js delete mode 100644 forms/admin/photos/locale/ca.yml delete mode 100644 forms/admin/photos/locale/en.yml delete mode 100644 forms/admin/photos/locale/es.yml delete mode 100644 forms/admin/photos/locale/fr.yml delete mode 100644 forms/admin/photos/locale/pt.yml delete mode 100644 forms/admin/photos/style.scss delete mode 100644 forms/admin/photos/ui.xml delete mode 100644 forms/admin/queries/index.js delete mode 100644 forms/admin/queries/locale/ca.yml delete mode 100644 forms/admin/queries/locale/en.yml delete mode 100644 forms/admin/queries/locale/es.yml delete mode 100644 forms/admin/queries/locale/fr.yml delete mode 100644 forms/admin/queries/locale/pt.yml delete mode 100644 forms/admin/queries/style.scss delete mode 100644 forms/admin/queries/ui.xml delete mode 100644 forms/admin/users/index.js delete mode 100644 forms/admin/users/locale/ca.yml delete mode 100644 forms/admin/users/locale/en.yml delete mode 100644 forms/admin/users/locale/es.yml delete mode 100644 forms/admin/users/locale/fr.yml delete mode 100644 forms/admin/users/locale/pt.yml delete mode 100644 forms/admin/users/style.scss delete mode 100644 forms/admin/users/ui.xml delete mode 100644 forms/admin/visits/index.js delete mode 100644 forms/admin/visits/locale/ca.yml delete mode 100644 forms/admin/visits/locale/en.yml delete mode 100644 forms/admin/visits/locale/es.yml delete mode 100644 forms/admin/visits/locale/fr.yml delete mode 100644 forms/admin/visits/locale/mn.yml delete mode 100644 forms/admin/visits/locale/pt.yml delete mode 100644 forms/admin/visits/style.scss delete mode 100644 forms/admin/visits/ui.xml delete mode 100644 forms/agencies/packages/index.js delete mode 100644 forms/agencies/packages/locale/ca.yml delete mode 100644 forms/agencies/packages/locale/en.yml delete mode 100644 forms/agencies/packages/locale/es.yml delete mode 100644 forms/agencies/packages/locale/fr.yml delete mode 100644 forms/agencies/packages/locale/pt.yml delete mode 100644 forms/agencies/packages/style.scss delete mode 100644 forms/agencies/packages/ui.xml delete mode 100644 forms/agencies/provinces/index.js delete mode 100644 forms/agencies/provinces/locale/ca.yml delete mode 100644 forms/agencies/provinces/locale/en.yml delete mode 100644 forms/agencies/provinces/locale/es.yml delete mode 100644 forms/agencies/provinces/locale/fr.yml delete mode 100644 forms/agencies/provinces/locale/pt.yml delete mode 100644 forms/agencies/provinces/style.scss delete mode 100644 forms/agencies/provinces/ui.xml delete mode 100644 forms/cms/about/image/2_control.png delete mode 100644 forms/cms/about/image/4_control.png delete mode 100644 forms/cms/about/image/agencies.png delete mode 100644 forms/cms/about/image/auction.png delete mode 100644 forms/cms/about/image/commercial.png delete mode 100644 forms/cms/about/image/courses.png delete mode 100644 forms/cms/about/image/dealer.png delete mode 100644 forms/cms/about/image/differentiates_us.png delete mode 100644 forms/cms/about/image/fit.png delete mode 100644 forms/cms/about/image/glass.png delete mode 100644 forms/cms/about/image/goods_receive.png delete mode 100644 forms/cms/about/image/goods_transport.png delete mode 100644 forms/cms/about/image/palletizing.png delete mode 100644 forms/cms/about/image/producers.png delete mode 100644 forms/cms/about/image/store.png delete mode 100644 forms/cms/about/image/summary.png delete mode 100644 forms/cms/about/image/trailer.png delete mode 100644 forms/cms/about/image/training.png delete mode 100644 forms/cms/about/image/web.png delete mode 100644 forms/cms/about/image/youtube.png delete mode 100644 forms/cms/about/index.js delete mode 100644 forms/cms/about/locale/ca.yml delete mode 100644 forms/cms/about/locale/en.yml delete mode 100644 forms/cms/about/locale/es.yml delete mode 100644 forms/cms/about/locale/fr.yml delete mode 100644 forms/cms/about/locale/pt.yml delete mode 100644 forms/cms/about/style.scss delete mode 100644 forms/cms/about/ui.xml delete mode 100644 forms/cms/contact/index.js delete mode 100644 forms/cms/contact/locale/ca.yml delete mode 100644 forms/cms/contact/locale/en.yml delete mode 100644 forms/cms/contact/locale/es.yml delete mode 100644 forms/cms/contact/locale/fr.yml delete mode 100644 forms/cms/contact/locale/pt.yml delete mode 100644 forms/cms/contact/style.scss delete mode 100644 forms/cms/contact/ui.xml delete mode 100644 forms/cms/home/index.js delete mode 100644 forms/cms/home/locale/ca.yml delete mode 100644 forms/cms/home/locale/en.yml delete mode 100644 forms/cms/home/locale/es.yml delete mode 100644 forms/cms/home/locale/fr.yml delete mode 100644 forms/cms/home/locale/mn.yml delete mode 100644 forms/cms/home/locale/pt.yml delete mode 100644 forms/cms/home/style.scss delete mode 100644 forms/cms/home/ui.xml delete mode 100644 forms/cms/location/index.js delete mode 100644 forms/cms/location/locale/ca.yml delete mode 100644 forms/cms/location/locale/en.yml delete mode 100644 forms/cms/location/locale/es.yml delete mode 100644 forms/cms/location/locale/fr.yml delete mode 100644 forms/cms/location/locale/pt.yml delete mode 100644 forms/cms/location/style.scss delete mode 100644 forms/cms/location/ui.xml delete mode 100644 forms/cms/why/index.js delete mode 100644 forms/cms/why/locale/ca.yml delete mode 100644 forms/cms/why/locale/en.yml delete mode 100644 forms/cms/why/locale/es.yml delete mode 100644 forms/cms/why/locale/fr.yml delete mode 100644 forms/cms/why/locale/pt.yml delete mode 100644 forms/cms/why/store.png delete mode 100644 forms/cms/why/style.scss delete mode 100644 forms/cms/why/ui.xml delete mode 100644 forms/ecomerce/basket/index.js delete mode 100644 forms/ecomerce/basket/locale/ca.yml delete mode 100644 forms/ecomerce/basket/locale/en.yml delete mode 100644 forms/ecomerce/basket/locale/es.yml delete mode 100644 forms/ecomerce/basket/locale/fr.yml delete mode 100644 forms/ecomerce/basket/locale/pt.yml delete mode 100644 forms/ecomerce/basket/style.scss delete mode 100644 forms/ecomerce/basket/ui.xml delete mode 100644 forms/ecomerce/catalog/index.js delete mode 100644 forms/ecomerce/catalog/locale/ca.yml delete mode 100644 forms/ecomerce/catalog/locale/en.yml delete mode 100644 forms/ecomerce/catalog/locale/es.yml delete mode 100644 forms/ecomerce/catalog/locale/fr.yml delete mode 100644 forms/ecomerce/catalog/locale/pt.yml delete mode 100644 forms/ecomerce/catalog/style.scss delete mode 100644 forms/ecomerce/catalog/ui.xml delete mode 100644 forms/ecomerce/checkout/index.js delete mode 100644 forms/ecomerce/checkout/locale/ca.yml delete mode 100644 forms/ecomerce/checkout/locale/en.yml delete mode 100644 forms/ecomerce/checkout/locale/es.yml delete mode 100644 forms/ecomerce/checkout/locale/fr.yml delete mode 100644 forms/ecomerce/checkout/locale/pt.yml delete mode 100644 forms/ecomerce/checkout/style.scss delete mode 100644 forms/ecomerce/checkout/ui.xml delete mode 100644 forms/ecomerce/confirm/index.js delete mode 100644 forms/ecomerce/confirm/locale/ca.yml delete mode 100644 forms/ecomerce/confirm/locale/en.yml delete mode 100644 forms/ecomerce/confirm/locale/es.yml delete mode 100644 forms/ecomerce/confirm/locale/fr.yml delete mode 100644 forms/ecomerce/confirm/locale/pt.yml delete mode 100644 forms/ecomerce/confirm/style.scss delete mode 100644 forms/ecomerce/confirm/ui.xml delete mode 100644 forms/ecomerce/invoices/index.js delete mode 100644 forms/ecomerce/invoices/locale/ca.yml delete mode 100644 forms/ecomerce/invoices/locale/en.yml delete mode 100644 forms/ecomerce/invoices/locale/es.yml delete mode 100644 forms/ecomerce/invoices/locale/fr.yml delete mode 100644 forms/ecomerce/invoices/locale/pt.yml delete mode 100644 forms/ecomerce/invoices/style.scss delete mode 100644 forms/ecomerce/invoices/ui.xml delete mode 100644 forms/ecomerce/orders/index.js delete mode 100644 forms/ecomerce/orders/locale/ca.yml delete mode 100644 forms/ecomerce/orders/locale/en.yml delete mode 100644 forms/ecomerce/orders/locale/es.yml delete mode 100644 forms/ecomerce/orders/locale/fr.yml delete mode 100644 forms/ecomerce/orders/locale/mn.yml delete mode 100644 forms/ecomerce/orders/locale/pt.yml delete mode 100644 forms/ecomerce/orders/style.scss delete mode 100644 forms/ecomerce/orders/ui.xml delete mode 100644 forms/ecomerce/ticket/index.js delete mode 100644 forms/ecomerce/ticket/locale/ca.yml delete mode 100644 forms/ecomerce/ticket/locale/en.yml delete mode 100644 forms/ecomerce/ticket/locale/es.yml delete mode 100644 forms/ecomerce/ticket/locale/fr.yml delete mode 100644 forms/ecomerce/ticket/locale/pt.yml delete mode 100644 forms/ecomerce/ticket/style.scss delete mode 100644 forms/ecomerce/ticket/ui.xml delete mode 100644 forms/news/new/index.js delete mode 100644 forms/news/new/locale/ca.yml delete mode 100644 forms/news/new/locale/en.yml delete mode 100644 forms/news/new/locale/es.yml delete mode 100644 forms/news/new/locale/fr.yml delete mode 100644 forms/news/new/locale/pt.yml delete mode 100644 forms/news/new/style.scss delete mode 100644 forms/news/new/ui.xml delete mode 100644 forms/news/news/index.js delete mode 100644 forms/news/news/locale/ca.yml delete mode 100644 forms/news/news/locale/en.yml delete mode 100644 forms/news/news/locale/es.yml delete mode 100644 forms/news/news/locale/fr.yml delete mode 100644 forms/news/news/locale/pt.yml delete mode 100644 forms/news/news/style.scss delete mode 100644 forms/news/news/ui.xml delete mode 100644 forms/reports/items-form/index.js delete mode 100644 forms/reports/items-form/locale/en.yml delete mode 100644 forms/reports/items-form/locale/es.yml delete mode 100644 forms/reports/items-form/locale/pt.yml delete mode 100644 forms/reports/items-form/style.scss delete mode 100644 forms/reports/items-form/ui.xml delete mode 100644 forms/reports/shelves/index.js delete mode 100644 forms/reports/shelves/locale/ca.yml delete mode 100644 forms/reports/shelves/locale/en.yml delete mode 100644 forms/reports/shelves/locale/es.yml delete mode 100644 forms/reports/shelves/locale/fr.yml delete mode 100644 forms/reports/shelves/locale/pt.yml delete mode 100644 forms/reports/shelves/style.scss delete mode 100644 forms/reports/shelves/ui.xml delete mode 100644 js/db/calc-sum.js delete mode 100644 js/db/calc.js delete mode 100644 js/db/connection.js delete mode 100644 js/db/db-lot.js delete mode 100644 js/db/db.js delete mode 100644 js/db/form.js delete mode 100644 js/db/iterator.js delete mode 100644 js/db/locale/ca.yml delete mode 100644 js/db/locale/en.yml delete mode 100644 js/db/locale/es.yml delete mode 100644 js/db/locale/fr.yml delete mode 100644 js/db/locale/pt.yml delete mode 100644 js/db/model.js delete mode 100644 js/db/query.js delete mode 100644 js/db/result-set.js delete mode 100644 js/db/result.js delete mode 100644 js/db/simple-iterator.js delete mode 100644 js/hedera/app.js delete mode 100644 js/hedera/basket-checker.js delete mode 100644 js/hedera/form.js delete mode 100644 js/hedera/gui.js delete mode 100644 js/hedera/gui.scss delete mode 100644 js/hedera/gui.xml delete mode 100644 js/hedera/hedera.js delete mode 100644 js/hedera/locale/ca.yml delete mode 100644 js/hedera/locale/en.yml delete mode 100644 js/hedera/locale/es.yml delete mode 100644 js/hedera/locale/fr.yml delete mode 100644 js/hedera/locale/mn.yml delete mode 100644 js/hedera/locale/pt.yml delete mode 100644 js/hedera/login.js delete mode 100644 js/hedera/login.scss delete mode 100644 js/hedera/login.xml delete mode 100644 js/hedera/module.js delete mode 100644 js/hedera/report.css delete mode 100644 js/hedera/report.html delete mode 100644 js/hedera/report.js delete mode 100644 js/hedera/social-bar.js delete mode 100644 js/hedera/social-bar.scss delete mode 100644 js/hedera/tpv.js delete mode 100644 js/htk/assistant-bar/index.js delete mode 100644 js/htk/assistant-bar/style.scss delete mode 100644 js/htk/assistant/index.js delete mode 100644 js/htk/assistant/style.scss delete mode 100644 js/htk/bar-button/index.js delete mode 100644 js/htk/button/index.js delete mode 100644 js/htk/button/style.scss delete mode 100644 js/htk/calendar/index.js delete mode 100644 js/htk/calendar/style.scss delete mode 100644 js/htk/check/index.js delete mode 100644 js/htk/column/index.js delete mode 100644 js/htk/columns/button/index.js delete mode 100644 js/htk/columns/button/style.scss delete mode 100644 js/htk/columns/check/index.js delete mode 100644 js/htk/columns/check/style.scss delete mode 100644 js/htk/columns/date/index.js delete mode 100644 js/htk/columns/image/index.js delete mode 100644 js/htk/columns/image/style.scss delete mode 100644 js/htk/columns/link/index.js delete mode 100644 js/htk/columns/radio/index.js delete mode 100644 js/htk/columns/spin/index.js delete mode 100644 js/htk/columns/spin/style.scss delete mode 100644 js/htk/columns/text/index.js delete mode 100644 js/htk/date-chooser/index.js delete mode 100644 js/htk/date-chooser/style.scss delete mode 100644 js/htk/dialog/index.js delete mode 100644 js/htk/dialog/style.scss delete mode 100644 js/htk/entry/index.js delete mode 100644 js/htk/field/index.js delete mode 100644 js/htk/full-image/index.js delete mode 100644 js/htk/full-image/style.scss delete mode 100644 js/htk/grid/index.js delete mode 100644 js/htk/grid/style.scss delete mode 100644 js/htk/htk.js delete mode 100644 js/htk/html/index.js delete mode 100644 js/htk/icon/index.js delete mode 100644 js/htk/image-editor/index.js delete mode 100644 js/htk/image-editor/style.scss delete mode 100644 js/htk/image-editor/ui.xml delete mode 100644 js/htk/image/index.js delete mode 100644 js/htk/image/style.scss delete mode 100644 js/htk/label/index.js delete mode 100644 js/htk/list/index.js delete mode 100644 js/htk/list/style.scss delete mode 100644 js/htk/loader/index.js delete mode 100644 js/htk/loader/style.scss delete mode 100644 js/htk/locale/ca.yml delete mode 100644 js/htk/locale/en.yml delete mode 100644 js/htk/locale/es.yml delete mode 100644 js/htk/locale/fr.yml delete mode 100644 js/htk/locale/pt.yml delete mode 100644 js/htk/popup/index.js delete mode 100644 js/htk/popup/style.scss delete mode 100644 js/htk/radio/index.js delete mode 100644 js/htk/radio/radio-group.js delete mode 100644 js/htk/repeater/index.js delete mode 100644 js/htk/repeater/style.scss delete mode 100644 js/htk/search-entry/index.js delete mode 100644 js/htk/search-entry/style.scss delete mode 100644 js/htk/select/index.js delete mode 100644 js/htk/select/style.scss delete mode 100644 js/htk/spin/index.js delete mode 100644 js/htk/spinner/index.js delete mode 100644 js/htk/spinner/style.scss delete mode 100644 js/htk/step/index.js delete mode 100644 js/htk/style/classes.scss delete mode 100644 js/htk/style/index.scss delete mode 100644 js/htk/style/material-symbols.scss delete mode 100644 js/htk/style/material-symbols.woff2 delete mode 100644 js/htk/style/opensans.ttf delete mode 100644 js/htk/style/poppins.ttf delete mode 100644 js/htk/style/responsive.scss delete mode 100644 js/htk/style/roboto.ttf delete mode 100644 js/htk/style/spacing.scss delete mode 100644 js/htk/style/style.scss delete mode 100644 js/htk/style/text.scss delete mode 100644 js/htk/style/variables.scss delete mode 100644 js/htk/style/width.scss delete mode 100644 js/htk/table/index.js delete mode 100644 js/htk/text-area/index.js delete mode 100644 js/htk/text/index.js delete mode 100644 js/htk/toast/index.js delete mode 100644 js/htk/toast/style.scss delete mode 100644 js/sql/delete.js delete mode 100644 js/sql/dml.js delete mode 100644 js/sql/expr.js delete mode 100644 js/sql/field.js delete mode 100644 js/sql/filter-item.js delete mode 100644 js/sql/filter.js delete mode 100644 js/sql/function.js delete mode 100644 js/sql/holder.js delete mode 100644 js/sql/insert.js delete mode 100644 js/sql/join-item.js delete mode 100644 js/sql/join.js delete mode 100644 js/sql/list-holder.js delete mode 100644 js/sql/list.js delete mode 100644 js/sql/multi-stmt.js delete mode 100644 js/sql/object.js delete mode 100644 js/sql/operation.js delete mode 100644 js/sql/select.js delete mode 100644 js/sql/sql.js delete mode 100644 js/sql/stmt.js delete mode 100644 js/sql/string.js delete mode 100644 js/sql/table.js delete mode 100644 js/sql/target.js delete mode 100644 js/sql/update.js delete mode 100644 js/sql/value.js delete mode 100644 js/vn/browser.js delete mode 100644 js/vn/builder.js delete mode 100644 js/vn/compiler-element.js delete mode 100644 js/vn/compiler-object.js delete mode 100644 js/vn/compiler-text.js delete mode 100644 js/vn/compiler.js delete mode 100644 js/vn/component.js delete mode 100644 js/vn/cookie.js delete mode 100644 js/vn/date.js delete mode 100644 js/vn/enum.js delete mode 100644 js/vn/form.js delete mode 100644 js/vn/hash.js delete mode 100644 js/vn/ie.js delete mode 100644 js/vn/iterator-iface.js delete mode 100644 js/vn/iterator.js delete mode 100644 js/vn/json-connection.js delete mode 100644 js/vn/json-exception.js delete mode 100644 js/vn/locale.js delete mode 100644 js/vn/locale/ca.yml delete mode 100644 js/vn/locale/en.yml delete mode 100644 js/vn/locale/es.yml delete mode 100644 js/vn/locale/fr.yml delete mode 100644 js/vn/locale/mn.yml delete mode 100644 js/vn/locale/pt.yml delete mode 100644 js/vn/lot-iface.js delete mode 100644 js/vn/lot-query.js delete mode 100644 js/vn/lot.js delete mode 100644 js/vn/model-iface.js delete mode 100644 js/vn/model-proxy.js delete mode 100644 js/vn/model.js delete mode 100644 js/vn/mutators.js delete mode 100644 js/vn/node-builder.js delete mode 100644 js/vn/node.js delete mode 100644 js/vn/object.js delete mode 100644 js/vn/param-iface.js delete mode 100644 js/vn/param.js delete mode 100644 js/vn/scope.js delete mode 100644 js/vn/spec.js delete mode 100644 js/vn/string-util.js delete mode 100644 js/vn/type.js delete mode 100644 js/vn/url.js delete mode 100644 js/vn/value.js delete mode 100644 js/vn/vn.js delete mode 100644 pages/main/manifest.json delete mode 100644 pages/main/ui.php delete mode 100644 pages/production/main.js delete mode 100644 pages/production/manifest.json delete mode 100644 pages/production/style.css delete mode 100644 pages/production/ui.php delete mode 100644 pages/update-browser/locale/ca.yml delete mode 100644 pages/update-browser/locale/en.yml delete mode 100644 pages/update-browser/locale/es.yml delete mode 100644 pages/update-browser/locale/fr.yml delete mode 100644 pages/update-browser/locale/mn.yml delete mode 100644 pages/update-browser/locale/pt.yml delete mode 100644 pages/update-browser/style.css delete mode 100644 pages/update-browser/ui.php delete mode 100644 pages/update-browser/update-browser.png delete mode 100644 pages/version-menu/locale/ca.yml delete mode 100644 pages/version-menu/locale/en.yml delete mode 100644 pages/version-menu/locale/es.yml delete mode 100644 pages/version-menu/locale/fr.yml delete mode 100644 pages/version-menu/locale/mn.yml delete mode 100644 pages/version-menu/locale/pt.yml delete mode 100644 pages/version-menu/new-web.svg delete mode 100644 pages/version-menu/old-web.svg delete mode 100644 pages/version-menu/style.css delete mode 100644 pages/version-menu/ui.php delete mode 100644 webpack.config.js delete mode 100644 webpack.config.json diff --git a/README.md b/README.md index c5032e41..92133199 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,7 @@ $ npm run dev Launch project backend. ``` +$ cd back $ php -S 127.0.0.1:3002 -t . index.php Run server side method from command line. diff --git a/app.js b/app.js deleted file mode 100644 index dc8b10cc..00000000 --- a/app.js +++ /dev/null @@ -1,41 +0,0 @@ -__webpack_public_path__ = _PUBLIC_PATH; - -import 'promise-polyfill/src/polyfill'; -import 'hedera/hedera'; -const locales = require('./import').locales; -const packageJson = require('./package.json'); - -window.onload = function() { - loadLocale(main); -} - -function main() { - Vn.setVersion(packageJson.version); - const hederaWeb = new Hedera.App(); - window.hederaWeb = hederaWeb; - hederaWeb.run(); -} - -function loadLocale(callback) { - Vn.Locale.init(); - var lang = Vn.Locale.language; - - var req = require.context('js', true, /locale\/en.yml$/); - onLocaleLoad(Vn.Locale.fallbackLang, req); - - const loadFn = locales[lang]; - if (loadFn) - loadFn(function(req) { - onLocaleLoad(lang, req); - callback(); - }); - else - callback(); -} - -function onLocaleLoad(lang, req) { - var keys = req.keys(); - - for (var i = 0; i < keys.length; i++) - Vn.Locale.add(req(keys[i]), lang); -} diff --git a/apache.conf b/back/apache.conf similarity index 100% rename from apache.conf rename to back/apache.conf diff --git a/config.php b/back/config.php similarity index 100% rename from config.php rename to back/config.php diff --git a/env.php b/back/env.php similarity index 81% rename from env.php rename to back/env.php index e75811c3..f18eb613 100644 --- a/env.php +++ b/back/env.php @@ -1,6 +1,6 @@ - - - - SELECT id, defaultAddressFk - FROM myClient c - - - - SELECT a.id, a.nickname, p.name province, a.postalCode, - a.city, a.street, a.isActive - FROM myAddress a - LEFT JOIN vn.province p ON p.id = a.provinceFk - WHERE a.isActive - - -
-

Addresses

-
-
- -
-
-
- - - -
-
- -
-
-

- {{address.nickname}} -

-

- {{address.street}} -

-

- {{address.postalCode}}, {{address.city}} -

-
-
- - -
-
-
-
-
-
- diff --git a/forms/account/address/index.js b/forms/account/address/index.js deleted file mode 100644 index 374d9bda..00000000 --- a/forms/account/address/index.js +++ /dev/null @@ -1,20 +0,0 @@ -export default new Class({ - Extends: Hedera.Form, - Template: require('./ui.xml'), - - activate() { - this.$.model.setInfo('a', 'myAddress', 'hedera', ['id'], 'id'); - this.$.model.setDefault('clientFk', 'a', - new Sql.Function({schema: 'account', name: 'myUser_getId'})); - }, - - onStatusChange() { - if (this.$.iter.ready && this.hash.$.address == 0) - this.$.iter.insertRow(); - }, - - onOperationsDone() { - Htk.Toast.showMessage(_('AddressChangedSuccessfully')); - window.history.back() - } -}); diff --git a/forms/account/address/locale/ca.yml b/forms/account/address/locale/ca.yml deleted file mode 100644 index 16c63cf3..00000000 --- a/forms/account/address/locale/ca.yml +++ /dev/null @@ -1,10 +0,0 @@ -AddEditAddress: Afegir o modificar adreça -Name: Consignatari -Address: Direcció -City: Ciutat -ZipCode: Codi postal -Country: País -Province: Província -Return: Tornar -Accept: Acceptar -AddressChangedSuccessfully: Adreça modificada correctament diff --git a/forms/account/address/locale/en.yml b/forms/account/address/locale/en.yml deleted file mode 100644 index 38fe889e..00000000 --- a/forms/account/address/locale/en.yml +++ /dev/null @@ -1,10 +0,0 @@ -AddEditAddress: Add or edit address -Name: Consignee -Address: Address -City: City -ZipCode: Zip code -Country: Country -Province: Province -Return: Return -Accept: Accept -AddressChangedSuccessfully: Address changed successfully diff --git a/forms/account/address/locale/es.yml b/forms/account/address/locale/es.yml deleted file mode 100644 index 19674310..00000000 --- a/forms/account/address/locale/es.yml +++ /dev/null @@ -1,10 +0,0 @@ -AddEditAddress: Añadir o modificar dirección -Name: Consignatario -Address: Dirección -City: Ciudad -ZipCode: Código postal -Country: País -Province: Provincia -Return: Volver -Accept: Aceptar -AddressChangedSuccessfully: Dirección modificada correctamente diff --git a/forms/account/address/locale/fr.yml b/forms/account/address/locale/fr.yml deleted file mode 100644 index ed739095..00000000 --- a/forms/account/address/locale/fr.yml +++ /dev/null @@ -1,10 +0,0 @@ -AddEditAddress: Ajouter ou modifier l'adresse -Name: Destinataire -Address: Numéro Rue -City: Ville -ZipCode: Code postal -Country: Pays -Province: Province -Return: Reviens -Accept: Accepter -AddressChangedSuccessfully: Adresse modifié avec succès diff --git a/forms/account/address/locale/pt.yml b/forms/account/address/locale/pt.yml deleted file mode 100644 index 4aaa30d3..00000000 --- a/forms/account/address/locale/pt.yml +++ /dev/null @@ -1,10 +0,0 @@ -AddEditAddress: Adicionar ou modificar morada -Name: Consignatario -Address: Morada -City: Concelho -ZipCode: Código postal -Country: País -Province: Distrito -Return: Voltar -Accept: Aceitar -AddressChangedSuccessfully: Morada modificada corretamente diff --git a/forms/account/address/ui.xml b/forms/account/address/ui.xml deleted file mode 100644 index 66c71144..00000000 --- a/forms/account/address/ui.xml +++ /dev/null @@ -1,87 +0,0 @@ - - - - - - - - SELECT a.id, a.street, a.nickname, a.city, - a.postalCode, a.provinceFk, p.countryFk - FROM myAddress a - LEFT JOIN vn.province p ON p.id = a.provinceFk - WHERE a.id = #address - - - -
-

Configuration

-
-
- - -
-
-
-
- AddEditAddress -
-
- -
-
- -
-
- -
-
- -
-
- - - SELECT id, country FROM vn.country - ORDER BY country - - -
-
- - - SELECT id, name FROM vn.province - WHERE countryFk = #id - ORDER BY name - - -
-
-
-
diff --git a/forms/account/conf/index.js b/forms/account/conf/index.js deleted file mode 100644 index 1cd8855a..00000000 --- a/forms/account/conf/index.js +++ /dev/null @@ -1,76 +0,0 @@ -import './style.scss'; - -export default new Class({ - Extends: Hedera.Form, - Template: require('./ui.xml'), - - activate() { - this.$.userModel.setInfo('c', 'myClient', 'hedera'); - this.$.userModel.setInfo('u', 'myUser', 'account'); - - if (this.hash.$.verificationToken) - this.onPassChangeClick(); - } - - ,onPassChangeClick() { - this.$.oldPassword.value = ''; - this.$.newPassword.value = ''; - this.$.repeatPassword.value = ''; - - var verificationToken = this.hash.$.verificationToken; - this.$.oldPassword.style.display = verificationToken ? 'none' : 'block'; - this.$.changePassword.show(); - - if (verificationToken) - this.$.newPassword.focus(); - else - this.$.oldPassword.focus(); - } - - ,async onPassModifyClick() { - var oldPassword = this.$.oldPassword.value; - var newPassword = this.$.newPassword.value; - var repeatedPassword = this.$.repeatPassword.value; - - if (newPassword == '' && repeatedPassword == '') - throw new Error(_('Passwords empty')); - if (newPassword !== repeatedPassword) - throw new Error(_('Passwords doesn\'t match')); - - var verificationToken = this.hash.$.verificationToken; - var params = {newPassword}; - - let err; - try { - if (verificationToken) { - params.verificationToken = verificationToken; - await this.conn.send('user/restore-password', params); - } else { - let userId = this.gui.user.id; - params.oldPassword = oldPassword; - await this.conn.patch( - `Accounts/${userId}/changePassword`, params); - } - } catch(e) { - err = e; - Htk.Toast.showError(err.message); - - if (this.hash.$.verificationToken) - this.$.newPassword.select(); - else - this.$.oldPassword.select(); - - return; - } - - this.$.changePassword.hide(); - this.hash.unset('verificationToken'); - Htk.Toast.showMessage(_('Password changed!')); - this.$.userForm.refresh(); - } - - ,onPassInfoClick() { - this.$.passwordInfo.show(); - } -}); - diff --git a/forms/account/conf/locale/ca.yml b/forms/account/conf/locale/ca.yml deleted file mode 100644 index 7fb9a5fa..00000000 --- a/forms/account/conf/locale/ca.yml +++ /dev/null @@ -1,26 +0,0 @@ -Configuration: Configuració -Personal information: Dades personals -Username: Nom d'usuari -Password: Contrasenya -Email: Correu electrònic -Display name: Nom a mostrar -Language: Idioma -Billing: Facturació -Receive invoices by email: Rebre factures per correu electrònic -Old password: Contrasenya antiga -New password: Nova contrasenya -Repeat password: Repetir contrasenya -Requirements: Requisits -Modify: Modificar -Password requirements: Requisits de contrasenya -characters long: caràcters de longitud -alphabetic characters: caràcters alfabètics -capital letters: majúscules -digits: dígits -symbols: símbols -Password changed!: Contrasenya modificada! -Password doesn't meet the requirements: '' -Passwords doesn't match: Les contrasenyes no coincideixen! -Passwords empty: Les contrasenyes en blanc -Addresses: Adreces -Change password: Canvia la contrasenya diff --git a/forms/account/conf/locale/en.yml b/forms/account/conf/locale/en.yml deleted file mode 100644 index c88631be..00000000 --- a/forms/account/conf/locale/en.yml +++ /dev/null @@ -1,26 +0,0 @@ -Configuration: Configuration -Personal information: Personal information -Username: Username -Password: Password -Email: Email -Display name: Display name -Language: Language -Billing: Billing -Receive invoices by email: Receive invoices by email -Old password: Old password -New password: New password -Repeat password: Repeat password -Requirements: Requirements -Modify: Modify -Password requirements: Password requirements -characters long: characters long -alphabetic characters: alphabetic characters -capital letters: capital letters -digits: digits -symbols: 'symbols. Ej: $%&.' -Password changed!: Password changed! -Password doesn't meet the requirements: 'Password doesn''t meet the requirements, press info button for more details' -Passwords doesn't match: Passwords doesn't match -Passwords empty: Passwords empty -Addresses: Addresses -Change password: Change password diff --git a/forms/account/conf/locale/es.yml b/forms/account/conf/locale/es.yml deleted file mode 100644 index 3012d755..00000000 --- a/forms/account/conf/locale/es.yml +++ /dev/null @@ -1,28 +0,0 @@ -Configuration: Configuración -Personal information: Datos personales -Username: Nombre de usuario -Password: Contraseña -Email: Correo electrónico -Display name: Nombre a mostrar -Language: Idioma -Billing: Facturación -Receive invoices by email: Recibir facturas por correo electrónico -Old password: Contaseña antigua -New password: Nueva contraseña -Repeat password: Repetir contraseña -Requirements: Requisitos -Modify: Modificar -Password requirements: Requisitos de constraseña -characters long: carácteres de longitud -alphabetic characters: carácteres alfabéticos -capital letters: letras mayúsculas -digits: dígitos -symbols: 'símbolos. Ej: $%&.' -Password changed!: ¡Contraseña modificada! -Password doesn't meet the requirements: >- - La nueva contraseña no reune los requisitos de seguridad necesarios, pulsa en - info para más detalle -Passwords doesn't match: ¡Las contraseñas no coinciden! -Passwords empty: Contraseña vacía -Addresses: Direcciones -Change password: Cambiar contraseña diff --git a/forms/account/conf/locale/fr.yml b/forms/account/conf/locale/fr.yml deleted file mode 100644 index 6ae14ca8..00000000 --- a/forms/account/conf/locale/fr.yml +++ /dev/null @@ -1,26 +0,0 @@ -Configuration: Configuration -Personal information: Informations personnelles -Username: Utilisateur -Password: Mot de passe -Email: Courriel -Display name: Nom à afficher -Language: Langage -Billing: Facturation -Receive invoices by email: Recevoir des factures par e-mail -Old password: Ancien mot de passe -New password: Nouveau mot de passe -Repeat password: Répéter le mot de passe -Requirements: Exigences -Modify: Modifier -Password requirements: Mot de passe exigences -characters long: Longs caractères -alphabetic characters: les caractères alphabétiques -capital letters: lettres majuscules -digits: chiffres -symbols: 'symboles. Ej: $%&.' -Password changed!: Mot de passe modifié! -Password doesn't meet the requirements: '' -Passwords doesn't match: Les mots de passe ne correspondent pas! -Passwords empty: '' -Addresses: Adresses -Change password: Changer le mot de passe diff --git a/forms/account/conf/locale/pt.yml b/forms/account/conf/locale/pt.yml deleted file mode 100644 index 05e6ae40..00000000 --- a/forms/account/conf/locale/pt.yml +++ /dev/null @@ -1,26 +0,0 @@ -Configuration: Configuração -Personal information: Dados pessoais -Username: Nome de usuario -Password: Palavra-passe -Email: E-Mail -Display name: Nome para mostrar -Language: Idioma -Billing: Facturação -Receive invoices by email: Receber facturas por e-mail -Old password: Palavra-passe antiga -New password: Nova Palavra-passe -Repeat password: Repetir Palavra-passe -Requirements: Requisitos -Modify: Modificar -Password requirements: Requisitos de Palavra-passe -characters long: caracteres -alphabetic characters: caracteres alfabéticos -capital letters: letras maiúsculas -digits: dígitos -symbols: 'símbolos. Ej: $%&.' -Password changed!: Palavra-passe Modificada! -Password doesn't meet the requirements: Palavra-passe não atende aos requisitos -Passwords doesn't match: As Palavras-Passe não coincidem! -Passwords empty: Palavra-passe vazia -Addresses: Moradas -Change password: Mudar Palavra-passe diff --git a/forms/account/conf/style.scss b/forms/account/conf/style.scss deleted file mode 100644 index 13dbdcf8..00000000 --- a/forms/account/conf/style.scss +++ /dev/null @@ -1,4 +0,0 @@ - -.pass-info ul { - list-style-type: none; -} diff --git a/forms/account/conf/ui.xml b/forms/account/conf/ui.xml deleted file mode 100644 index cc60d89a..00000000 --- a/forms/account/conf/ui.xml +++ /dev/null @@ -1,135 +0,0 @@ - - - - - SELECT length, nAlpha, nUpper, nDigits, nPunct - FROM account.userPassword - - - - - SELECT u.id, u.name, u.email, u.nickname, - u.lang, c.isToBeMailed, c.id clientFk - FROM account.myUser u - LEFT JOIN myClient c - ON u.id = c.id - - - -
-

Configuration

-
-
- - -
-
-
-
- Personal information -
-
- -
-
- - -
-
- -
-
- - - - SELECT code, name FROM language WHERE isActive - - - -
-
- -
-
-
- -
-
-
- Change password -
- - - -
-
- - -
-
-
- - -
-
- Password requirements -
-
    -
  • - {{passwordForm.length}} characters long -
  • -
  • - {{passwordForm.nAlpha}} alphabetic characters -
  • -
  • - {{passwordForm.nUpper}} capital letters -
  • -
  • - {{passwordForm.nDigits}} digits -
  • -
  • - {{passwordForm.nPunct}} symbols -
  • -
-
-
- diff --git a/forms/admin/access-log/index.js b/forms/admin/access-log/index.js deleted file mode 100644 index 36552d4f..00000000 --- a/forms/admin/access-log/index.js +++ /dev/null @@ -1,7 +0,0 @@ -import './style.scss'; - -export default new Class({ - Extends: Hedera.Form, - Template: require('./ui.xml') -}); - diff --git a/forms/admin/access-log/locale/ca.yml b/forms/admin/access-log/locale/ca.yml deleted file mode 100644 index 94f2c89f..00000000 --- a/forms/admin/access-log/locale/ca.yml +++ /dev/null @@ -1,11 +0,0 @@ -AccessLog: Registre d'accessos -'UserNumber:': 'N d''usuari:' -'User:': 'Usuari:' -'Phone:': 'Telèfon:' -'Mobile:': 'Mòbil:' -Access: Accés -OS: SO -Browser: Navegador -Version: Versió -Javascript: Javascript -Cookies: Cookies diff --git a/forms/admin/access-log/locale/en.yml b/forms/admin/access-log/locale/en.yml deleted file mode 100644 index 7a975465..00000000 --- a/forms/admin/access-log/locale/en.yml +++ /dev/null @@ -1,11 +0,0 @@ -AccessLog: Access log -'UserNumber:': 'User Number:' -'User:': 'User:' -'Phone:': 'Phone:' -'Mobile:': 'Mobile:' -Access: Access -OS: OS -Browser: Browser -Version: Version -Javascript: Javascript -Cookies: Cookies diff --git a/forms/admin/access-log/locale/es.yml b/forms/admin/access-log/locale/es.yml deleted file mode 100644 index dad42443..00000000 --- a/forms/admin/access-log/locale/es.yml +++ /dev/null @@ -1,11 +0,0 @@ -AccessLog: Registro de accesos -'UserNumber:': 'Nº usuario:' -'User:': 'Usuario:' -'Phone:': 'Teléfono:' -'Mobile:': 'Móvil:' -Access: Acceso -OS: SO -Browser: Navegador -Version: Versión -Javascript: Javascript -Cookies: Cookies diff --git a/forms/admin/access-log/locale/fr.yml b/forms/admin/access-log/locale/fr.yml deleted file mode 100644 index ff1f58b6..00000000 --- a/forms/admin/access-log/locale/fr.yml +++ /dev/null @@ -1,11 +0,0 @@ -AccessLog: Fiche d'accès -'UserNumber:': 'Numéro utilisateur:' -'User:': 'Utilisateur:' -'Phone:': 'Téléphone:' -'Mobile:': 'Portable:' -Access: Accès -OS: OS -Browser: Navigateur -Version: Version -Javascript: Javascript -Cookies: Cookies diff --git a/forms/admin/access-log/locale/pt.yml b/forms/admin/access-log/locale/pt.yml deleted file mode 100644 index eb457dc8..00000000 --- a/forms/admin/access-log/locale/pt.yml +++ /dev/null @@ -1,11 +0,0 @@ -AccessLog: Registro de acessos -'UserNumber:': 'Nº utilizador:' -'User:': 'Utilizador:' -'Phone:': 'Telefone:' -'Mobile:': 'Telemóvel:' -Access: Acceso -OS: OS -Browser: Navegador -Version: Versão -Javascript: Javascript -Cookies: Cookies diff --git a/forms/admin/access-log/style.scss b/forms/admin/access-log/style.scss deleted file mode 100644 index 17e52e14..00000000 --- a/forms/admin/access-log/style.scss +++ /dev/null @@ -1,12 +0,0 @@ - -.access-log .form > p { - font-size: 1.2rem; - margin: .1em 0; -} - -/* List */ - -.access-log .htk-list { - margin-top: 16px; -} - diff --git a/forms/admin/access-log/ui.xml b/forms/admin/access-log/ui.xml deleted file mode 100644 index ebe24628..00000000 --- a/forms/admin/access-log/ui.xml +++ /dev/null @@ -1,50 +0,0 @@ - - - - - SELECT u.id, u.name user, u.nickname, u.email, c.phone, r.name role - FROM account.user u - JOIN account.role r ON r.id = u.role - LEFT JOIN vn.client c ON c.id = u.id - WHERE u.id = #user - - - -
-

AccessLog

-
-
-
-
-

{{user.nickname}}

-

#{{user.id}} - {{user.user}}

-

{{user.role}}

-

{{user.email}}

-

{{user.phone}}

-
-
- - - SELECT u.stamp, a.platform, a.browser, a.version, a.javascript, a.cookies - FROM visitUser u - JOIN visitAccess c ON c.id = u.accessFk - JOIN visitAgent a ON a.id = c.agentFk - WHERE u.userFk = #user - ORDER BY u.stamp DESC - LIMIT 8 - - -
-
-

- {{Vn.Value.format(iter.stamp, _('%a, %e %b %Y at %T'))}} -

-

- {{iter.platform}} - {{iter.browser}} {{iter.version}} -

-
-
-
-
-
-
diff --git a/forms/admin/connections/index.js b/forms/admin/connections/index.js deleted file mode 100644 index dd2c5c59..00000000 --- a/forms/admin/connections/index.js +++ /dev/null @@ -1,33 +0,0 @@ -import './style.scss'; - -export default new Class({ - Extends: Hedera.Form, - Template: require('./ui.xml') - - ,_timeoutId: null - - ,onModelStatusChange() { - if (!this.$.sessions.ready) - return; - - if (this._timeoutId) - clearTimeout(this._timeoutId); - - this._timeoutId = setTimeout( - () => this.$.sessions.refresh(), 60000); - } - - ,deactivate() { - clearTimeout(this._timeoutId); - } - - ,async onChangeUserClick(userName) { - await this.gui.supplantUser(userName); - this.hash.setAll({form: 'ecomerce/orders'}); - } - - ,sessionsFunc() { - return 1; - } -}); - diff --git a/forms/admin/connections/locale/ca.yml b/forms/admin/connections/locale/ca.yml deleted file mode 100644 index 25b19fd7..00000000 --- a/forms/admin/connections/locale/ca.yml +++ /dev/null @@ -1,4 +0,0 @@ -Connections: Connexions -Refresh: Actualitzar -Visits: Visites -connections: connexions diff --git a/forms/admin/connections/locale/en.yml b/forms/admin/connections/locale/en.yml deleted file mode 100644 index 8547d70a..00000000 --- a/forms/admin/connections/locale/en.yml +++ /dev/null @@ -1,4 +0,0 @@ -Connections: Connections -Refresh: Refresh -Visits: Visits -connections: connections diff --git a/forms/admin/connections/locale/es.yml b/forms/admin/connections/locale/es.yml deleted file mode 100644 index 6c514d0d..00000000 --- a/forms/admin/connections/locale/es.yml +++ /dev/null @@ -1,4 +0,0 @@ -Connections: Conexiones -Refresh: Actualizar -Visits: Visitas -connections: conexiones diff --git a/forms/admin/connections/locale/fr.yml b/forms/admin/connections/locale/fr.yml deleted file mode 100644 index 8fdf9e00..00000000 --- a/forms/admin/connections/locale/fr.yml +++ /dev/null @@ -1,4 +0,0 @@ -Connections: Connexions -Refresh: Actualiser -Visits: Visites -connections: connexions diff --git a/forms/admin/connections/locale/mn.yml b/forms/admin/connections/locale/mn.yml deleted file mode 100644 index 9746c720..00000000 --- a/forms/admin/connections/locale/mn.yml +++ /dev/null @@ -1,4 +0,0 @@ -Connections: холболт -Refresh: Сэргээх -Visits: уулзалт -connections: холболт diff --git a/forms/admin/connections/locale/pt.yml b/forms/admin/connections/locale/pt.yml deleted file mode 100644 index 33a1e5c1..00000000 --- a/forms/admin/connections/locale/pt.yml +++ /dev/null @@ -1,4 +0,0 @@ -Connections: Conexões -Refresh: actualização -Visits: Visualizações -connections: conexões diff --git a/forms/admin/connections/style.scss b/forms/admin/connections/style.scss deleted file mode 100644 index de549ebd..00000000 --- a/forms/admin/connections/style.scss +++ /dev/null @@ -1,9 +0,0 @@ - -.action-bar .connections-sum { - padding: .4em; - background-color: #1e88e5; - border-radius: .1em; - text-overflow: ellipsis; - white-space: nowrap; - overflow: hidden; -} diff --git a/forms/admin/connections/ui.xml b/forms/admin/connections/ui.xml deleted file mode 100644 index 487938fa..00000000 --- a/forms/admin/connections/ui.xml +++ /dev/null @@ -1,63 +0,0 @@ - -
-

Connections

-
-
- -
- - - - connections -
-
-
- - - SELECT vu.userFk userId, vu.stamp, u.nickname, s.lastUpdate, - a.platform, a.browser, a.version, u.name user - FROM userSession s - JOIN visitUser vu ON vu.id = s.userVisitFk - JOIN visitAccess ac ON ac.id = vu.accessFk - JOIN visitAgent a ON a.id = ac.agentFk - JOIN visit v ON v.id = a.visitFk - JOIN account.user u ON u.id = vu.userFk - ORDER BY lastUpdate DESC - - - -
-

- {{iter.nickname}} -

-

- {{Vn.Value.format(iter.stamp, '%a, %T')}} - - {{Vn.Value.format(iter.lastUpdate, '%T')}} -

-

- {{iter.platform}} - {{iter.browser}} {{iter.version}} -

-
-
- -
-
-
-
-
-
diff --git a/forms/admin/items/index.js b/forms/admin/items/index.js deleted file mode 100644 index 39a6049c..00000000 --- a/forms/admin/items/index.js +++ /dev/null @@ -1,10 +0,0 @@ -import './style.scss'; - -export default new Class({ - Extends: Hedera.Form, - Template: require('./ui.xml'), - - activate() { - this.$.items.setInfo('i', 'item', 'vn', ['id']); - } -}); diff --git a/forms/admin/items/locale/ca.yml b/forms/admin/items/locale/ca.yml deleted file mode 100644 index 28be78e9..00000000 --- a/forms/admin/items/locale/ca.yml +++ /dev/null @@ -1,2 +0,0 @@ -Items: Artícles -Enter a search term: Introdueix un terme de cerca diff --git a/forms/admin/items/locale/en.yml b/forms/admin/items/locale/en.yml deleted file mode 100644 index c7e9edd8..00000000 --- a/forms/admin/items/locale/en.yml +++ /dev/null @@ -1,2 +0,0 @@ -Items: Items -Enter a search term: Enter a search term diff --git a/forms/admin/items/locale/es.yml b/forms/admin/items/locale/es.yml deleted file mode 100644 index 23757015..00000000 --- a/forms/admin/items/locale/es.yml +++ /dev/null @@ -1,2 +0,0 @@ -Items: Artículos -Enter a search term: Introduce un término de búsqueda diff --git a/forms/admin/items/locale/fr.yml b/forms/admin/items/locale/fr.yml deleted file mode 100644 index 47d12ed7..00000000 --- a/forms/admin/items/locale/fr.yml +++ /dev/null @@ -1,2 +0,0 @@ -Items: Articles -Enter a search term: Entrez un terme de recherche diff --git a/forms/admin/items/locale/pt.yml b/forms/admin/items/locale/pt.yml deleted file mode 100644 index d44892ac..00000000 --- a/forms/admin/items/locale/pt.yml +++ /dev/null @@ -1,2 +0,0 @@ -Items: Ítens -Enter a search term: Digite um termo de pesquisa diff --git a/forms/admin/items/style.scss b/forms/admin/items/style.scss deleted file mode 100644 index e9914e1a..00000000 --- a/forms/admin/items/style.scss +++ /dev/null @@ -1,6 +0,0 @@ - -.items .item .photo { - border-radius: 10px; - height: 80px; - width: 80px; -} diff --git a/forms/admin/items/ui.xml b/forms/admin/items/ui.xml deleted file mode 100644 index 9dd869ba..00000000 --- a/forms/admin/items/ui.xml +++ /dev/null @@ -1,57 +0,0 @@ - -
-

Items

-
-
- -
-
- - - SELECT i.id, i.longName, i.size, i.category, - i.value5, i.value6, i.value7, - i.image, im.updated - FROM vn.item i - LEFT JOIN image im - ON im.collectionFk = 'catalog' - AND im.name = i.image - WHERE i.longName LIKE CONCAT('%', #search, '%') - OR i.id = #search - ORDER BY i.longName LIMIT 50 - - -
-
- -
-
-

- {{iter.longName}} -

-

- {{iter.value5}} {{iter.value6}} {{iter.value7}} -

-

- {{iter.id}} -

-

- {{iter.image}} -

-
-
-
-
-
-
diff --git a/forms/admin/links/index.js b/forms/admin/links/index.js deleted file mode 100644 index 36552d4f..00000000 --- a/forms/admin/links/index.js +++ /dev/null @@ -1,7 +0,0 @@ -import './style.scss'; - -export default new Class({ - Extends: Hedera.Form, - Template: require('./ui.xml') -}); - diff --git a/forms/admin/links/locale/ca.yml b/forms/admin/links/locale/ca.yml deleted file mode 100644 index efd56c6e..00000000 --- a/forms/admin/links/locale/ca.yml +++ /dev/null @@ -1,3 +0,0 @@ -ControlPanel: Panell de control -Module: Mòdul -Description: Descripció diff --git a/forms/admin/links/locale/en.yml b/forms/admin/links/locale/en.yml deleted file mode 100644 index c4763aae..00000000 --- a/forms/admin/links/locale/en.yml +++ /dev/null @@ -1,3 +0,0 @@ -ControlPanel: Control panel -Module: Module -Description: Description diff --git a/forms/admin/links/locale/es.yml b/forms/admin/links/locale/es.yml deleted file mode 100644 index 91314eab..00000000 --- a/forms/admin/links/locale/es.yml +++ /dev/null @@ -1,3 +0,0 @@ -ControlPanel: Panel de control -Module: Módulo -Description: Descripción diff --git a/forms/admin/links/locale/fr.yml b/forms/admin/links/locale/fr.yml deleted file mode 100644 index 53fd0f17..00000000 --- a/forms/admin/links/locale/fr.yml +++ /dev/null @@ -1,3 +0,0 @@ -ControlPanel: Panneau de configuration -Module: Module -Description: Description diff --git a/forms/admin/links/locale/pt.yml b/forms/admin/links/locale/pt.yml deleted file mode 100644 index f53680aa..00000000 --- a/forms/admin/links/locale/pt.yml +++ /dev/null @@ -1,3 +0,0 @@ -ControlPanel: Painel de controle -Module: Módulo -Description: Descrição diff --git a/forms/admin/links/style.scss b/forms/admin/links/style.scss deleted file mode 100644 index 4ec8fa2c..00000000 --- a/forms/admin/links/style.scss +++ /dev/null @@ -1,50 +0,0 @@ - -.cpanel .items > div { - max-width: 900px; - display: flex; - flex-wrap: wrap; - justify-content: center; - gap: 16px; - margin: 0 auto; -} -.cpanel .item { - display: flex; - flex-direction: column; - align-items: center; - margin: 0; - width: 140px; - padding: 15px; - text-align: center; - transition: background-color 250ms ease-out; -} -.cpanel .item:hover { - background-color: rgba(1, 1, 1, 0.05); -} -.cpanel .item > .htk-image { - display: flex; - justify-content: center; - align-items: center; - margin: 0; - float: left; - height: 80px; -} -.cpanel .item > .htk-image > img { - max-height: 60px; - max-width: 60px; - padding: 0; -} -.cpanel .item > h6 { - flex: none; - margin: .1em 0; - font-size: .9rem; - text-overflow: ellipsis; - white-space: nowrap; - overflow: hidden; -} -.cpanel .item > .text-secondary { - flex: none; - margin: 0; - font-size: .8rem; - height: 40px; - overflow: hidden; -} diff --git a/forms/admin/links/ui.xml b/forms/admin/links/ui.xml deleted file mode 100644 index c5e166c9..00000000 --- a/forms/admin/links/ui.xml +++ /dev/null @@ -1,31 +0,0 @@ - -
-

ControlPanel

-
-
- - - - SELECT image, name, description, link FROM link - ORDER BY name - - - - - -
- {{iter.name}} -
-

- {{iter.description}} -

-
-
-
-
-
diff --git a/forms/admin/photos/index.js b/forms/admin/photos/index.js deleted file mode 100644 index 97ff838e..00000000 --- a/forms/admin/photos/index.js +++ /dev/null @@ -1,201 +0,0 @@ -import './style.scss'; - -var Status = { - NONE : 0 - ,WAITING : 1 - ,UPLOADING : 2 - ,UPLOADED : 3 -}; - -export default new Class({ - Extends: Hedera.Form, - Template: require('./ui.xml') - - ,filesData: [] - ,uploadCount: 0 - ,isUploading: false - - ,activate() { - this.$.schema.value = 'catalog'; - } - - ,addFiles(files) { - if (!files) - return; - - for (var i = 0; i < files.length; i++) - this.addFile(files[i]); - } - - ,addFile(file) { - var doc = document; - var li = doc.createElement('div'); - - var div = doc.createElement('div'); - div.className = 'thumb'; - li.appendChild(div); - - var thumb = doc.createElement('img'); - thumb.file = file; - div.appendChild(thumb); - - var reader = new FileReader(); - reader.onload = function(e) { - thumb.src = e.target.result; - }; - reader.readAsDataURL(file); - - var name = doc.createElement('input'); - name.type = 'text'; - name.value = getFileName(file.name); - li.appendChild(name); - - var statusNode = doc.createElement('div'); - statusNode.className = 'status'; - li.appendChild(statusNode); - - var fileData = { - li: li, - file: file, - name: name, - statusNode: statusNode - }; - - var button = new Htk.Button({ - tip: 'Remove', - icon: 'delete' - }); - button.node.addEventListener('click', - () => this.onFileRemove(fileData)); - li.appendChild(button.node); - - this.filesData.push(fileData); - - this.$.fileList.appendChild(li); - this.setImageStatus(fileData, Status.NONE, 'add', _('Pending upload')); - } - - ,async onUploadClick() { - if (this.isUploading) return; - - const uploadQueue = []; - let hasFiles = false; - - for (const fileData of this.filesData) { - if (fileData.status !== Status.NONE) continue; - this.setImageStatus( - fileData, Status.WAITING, 'cloud_upload', _('Waiting for upload')); - fileData.name.disabled = true; - uploadQueue.push(fileData); - hasFiles = true; - } - - if (!hasFiles) { - Htk.Toast.showWarning(_('There are no files to upload')); - return; - } - - this.isUploading = true; - let hasErrors = false; - - for (const fileData of uploadQueue) { - this.setImageStatus( - fileData, Status.UPLOADING, 'upload', _('Uploading file')); - - const formData = new FormData(); - formData.append('updateMatching', this.$.updateMatching.value); - formData.append('image', fileData.file); - formData.append('name', fileData.name.value); - formData.append('schema', this.$.schema.value); - formData.append('srv', 'json:image/upload'); - - try { - await this.conn.sendFormData(formData); - this.setImageStatus( - fileData, Status.UPLOADED, 'cloud_done', _('Image uploaded')); - } catch(err) { - this.setImageStatus( - fileData, Status.NONE, 'error', err.message); - fileData.name.disabled = false; - hasErrors = true; - } - } - - this.isUploading = false; - - if (hasErrors) - Htk.Toast.showError(_('Some errors happened on upload')); - else - Htk.Toast.showMessage(_('Upload finished successfully')); - } - - ,setImageStatus(fileData, status, icon, title) { - fileData.status = status; - - var statusNode = fileData.statusNode; - Vn.Node.removeChilds(statusNode); - - var iconNode = new Htk.Icon({name: icon}); - statusNode.appendChild(iconNode.node); - statusNode.title = title ? title : ''; - } - - ,onFileRemove(fileData) { - this.$.fileList.removeChild(fileData.li); - - for (var i = 0; i < this.filesData.length; i++) - if (this.filesData[i] === fileData) { - this.filesData.splice(i, 1); - break; - } - } - - ,onClearClick() { - this.filesData = []; - Vn.Node.removeChilds(this.$.fileList); - } - - ,onDropzoneClick() { - this.$.file.click(); - } - - ,onFileChange() { - this.addFiles(this.$.file.files); - } - - ,onDragEnter() { - this.$.dropzone.classList.add('dragover'); - } - - ,onDragLeave() { - this.$.dropzone.classList.remove('dragover'); - } - - ,onDragOver(event) { - event.preventDefault(); - } - - ,onDragEnd(event) { - this.$.dropzone.classList.remove('dragover'); - event.dataTransfer.clearData(); - } - - ,onDrop(event) { - event.preventDefault(); - this.addFiles(event.dataTransfer.files); - } -}); - -function getFileName(path) { - var barIndex = path.lastIndexOf('/'); - if (barIndex === -1) - barIndex = path.lastIndexOf('\\'); - if (barIndex === -1) - barIndex = 0; - - var dotIndex = path.lastIndexOf('.'); - if (dotIndex === -1) - dotIndex = 0; - - return path.substr(barIndex, dotIndex); -} diff --git a/forms/admin/photos/locale/ca.yml b/forms/admin/photos/locale/ca.yml deleted file mode 100644 index d29fdcb5..00000000 --- a/forms/admin/photos/locale/ca.yml +++ /dev/null @@ -1,13 +0,0 @@ -Images: Imatges -Collection: Col·lecció -Click or drop files here: Prem o deixa anar els arxius aquí -Pending upload: Pujada pendent -Update items with matching id: Actualitzar els elements amb id coincident -Clear all: Netejar tot -Upload files: Pujar arxius -Waiting for upload: Esperant per pujar -Uploading file: Pujant fitxer -Image uploaded: Imatge pujada -Upload finished successfully: Imatges pujades correctament -Some errors happened on upload: Van ocórrer errors en pujar alguna de les imatges -There are no files to upload: No s'ha seleccionat arxius per pujar diff --git a/forms/admin/photos/locale/en.yml b/forms/admin/photos/locale/en.yml deleted file mode 100644 index dcf9c6e1..00000000 --- a/forms/admin/photos/locale/en.yml +++ /dev/null @@ -1,13 +0,0 @@ -Images: Images -Collection: Collection -Click or drop files here: Click or drop files here -Pending upload: Pending upload -Update items with matching id: Update items with matching id -Clear all: Clear all -Upload files: Upload files -Waiting for upload: Waiting for upload -Uploading file: Uploading file -Image uploaded: Image uploaded -Upload finished successfully: Upload finished successfully -Some errors happened on upload: Some errors happened on upload -There are no files to upload: There are no files to upload diff --git a/forms/admin/photos/locale/es.yml b/forms/admin/photos/locale/es.yml deleted file mode 100644 index 16ae5ae0..00000000 --- a/forms/admin/photos/locale/es.yml +++ /dev/null @@ -1,13 +0,0 @@ -Images: Imágenes -Collection: Colección -Click or drop files here: Pulsa o suelta los archivos aquí -Pending upload: Subida pendiente -Update items with matching id: Actualizar ítems con id coincidente -Clear all: Limpiar todo -Upload files: Subir archivos -Waiting for upload: Esperando para subir -Uploading file: Subiendo fichero -Image uploaded: Imagen subida -Upload finished successfully: Imágenes subidas correctamente -Some errors happened on upload: Ocurrieron errores al subir alguna de las imágenes -There are no files to upload: No se han seleccionado archivos para subir diff --git a/forms/admin/photos/locale/fr.yml b/forms/admin/photos/locale/fr.yml deleted file mode 100644 index d86e8e35..00000000 --- a/forms/admin/photos/locale/fr.yml +++ /dev/null @@ -1,13 +0,0 @@ -Images: Images -Collection: Collection -Click or drop files here: Cliquez ici ou déposer des fichiers -Pending upload: Hausse en attente -Update items with matching id: Mettre à jour les éléments avec l'identifiant correspondant -Clear all: Tout effacer -Upload files: Upload Files -Waiting for upload: En attente de télécharger -Uploading file: Uploader des fichiers -Image uploaded: Fichier uploadé -Upload finished successfully: Les images téléchargées correctement -Some errors happened on upload: Des erreurs sont survenues lors du téléchargement des images -There are no files to upload: Aucun fichier sélectionné pour télécharger diff --git a/forms/admin/photos/locale/pt.yml b/forms/admin/photos/locale/pt.yml deleted file mode 100644 index 57d862a4..00000000 --- a/forms/admin/photos/locale/pt.yml +++ /dev/null @@ -1,13 +0,0 @@ -Images: Imagens -Collection: Coleção -Click or drop files here: Clique ou solte arquivos aqui -Pending upload: Ascensão pendente -Update items with matching id: Atualizar itens com id correspondente -Clear all: Limpar tudo -Upload files: Fazer upload de arquivos -Waiting for upload: Esperando para enviar -Uploading file: Enviando arquivo -Image uploaded: Imagem Enviada -Upload finished successfully: Upload concluído com sucesso -Some errors happened on upload: Ocorreram erros ao subir alguma das imagens -There are no files to upload: Não há arquivos selecionados para upload diff --git a/forms/admin/photos/style.scss b/forms/admin/photos/style.scss deleted file mode 100644 index 3dbdafad..00000000 --- a/forms/admin/photos/style.scss +++ /dev/null @@ -1,81 +0,0 @@ - -/* Dropzone */ - -.photos .dropzone { - background-color: white; - border-style: dashed; - border-radius: .4em; - border-color: #2196F3; - padding: 2em 1em; - text-align: center; - color: #666; - cursor: pointer; -} -.photos .dropzone.dragover { - color: #CCC; - border-style: solid; -} -.photos input[type=file] { - display: none; -} - -/* File list */ - -.photos .file-list { - margin-top: 1em; -} -.photos .file-list > div { - height: 2.5em; - display: flex; - align-items: center; -} -.photos .file-list > div > * { - overflow: hidden; -} -.photos .file-list .thumb { - width: 2em; - padding-right: .5em; - text-align: center; -} -.photos .file-list .thumb > img { - max-height: 2em; - max-width: 2em; - vertical-align: middle; -} -.photos .file-list input { - flex: 1; - min-width: 0; -} -.photos .file-list .status { - cursor: pointer; - width: 1.2em; - padding-left: .5em; - padding-right: .5em; -} -.photos .file-list .status > .htk-icon { - display: block; -} -.photos .file-list .htk-button { - opacity: .2; -} -.photos .file-list .htk-button:hover { - background-color: transparent; - opacity: 1; -} -.photos .file-list .htk-button > img { - display: block; -} - -/* Footer */ - -.photos .update-matching { - margin-top: 1.5em; -} -.photos .footer { - margin-top: 1.5em; - text-align: center; -} -.photos .footer > button { - font-size: 1.2rem; - margin-left: 1em; -} diff --git a/forms/admin/photos/ui.xml b/forms/admin/photos/ui.xml deleted file mode 100644 index 4a4bb83c..00000000 --- a/forms/admin/photos/ui.xml +++ /dev/null @@ -1,50 +0,0 @@ - -
-

Images

-
-
-
-
- - - - - SELECT name, `desc` FROM imageCollection ORDER BY `desc` - - - -
-
- Click or drop files here -
- -
-
- -
- -
-
- diff --git a/forms/admin/queries/index.js b/forms/admin/queries/index.js deleted file mode 100644 index 2b87e0ac..00000000 --- a/forms/admin/queries/index.js +++ /dev/null @@ -1,93 +0,0 @@ -import './style.scss'; - -export default new Class({ - Extends: Hedera.Form, - Template: require('./ui.xml') - - ,activate() { - this.$.resultIndex.value = 0; - } - - ,clean() { - if (this._grid) { - this.$.gridHolder.removeChild(this._grid.node); - this._grid.unref(); - this._grid = null; - } - } - - ,onExecuteClick() { - this.clean(); - - var model = new Db.Model({ - conn: this.conn, - query: this.$.sql.value, - resultIndex: this.$.resultIndex.value, - updatable: this.$.updatable.value - }); - model.on('status-changed', this.onModelChange, this); - } - - ,onCleanClick() { - this.clean(); - } - - ,onModelChange(model, status) { - if (status !== Db.Model.Status.LOADING) { - model.disconnect('status-changed', this.onModelChange, this); - model.unref(); - } - - if (status !== Db.Model.Status.READY) - return; - - Htk.Toast.showMessage(_('Query executed!')); - - var gridHolder = this.$.gridHolder; - - if (gridHolder.firstChild) - gridHolder.removeChilds(gridHolder.firstChild); - - var grid = new Htk.Grid(); - - var columns = model.columns; - - for (var i = 0; i < columns.length; i++) { - var c = columns[i]; - - switch (c.type) { - case Db.Conn.Type.BOOLEAN: - var column = new Htk.ColumnCheck(); - break; - case Db.Conn.Type.INTEGER: - var column = new Htk.ColumnSpin(); - break; - case Db.Conn.Type.DOUBLE: - var column = new Htk.ColumnSpin({digits: 2}); - break; - case Db.Conn.Type.DATE: - var column = new Htk.ColumnDate({format: '%a, %e %b %Y'}); - break; - case Db.Conn.Type.DATE_TIME: - var column = new Htk.ColumnDate({format: '%a, %e %b %Y, %T'}); - break; - case Db.Conn.Type.STRING: - default: - var column = new Htk.ColumnText(); - } - - column.setProperties({ - title: c.name, - editable: this.$.updatable.value, - columnIndex: i - }); - - grid.appendColumn(column); - } - - grid.model = model; - gridHolder.appendChild(grid.node); - this._grid = grid; - } -}); - diff --git a/forms/admin/queries/locale/ca.yml b/forms/admin/queries/locale/ca.yml deleted file mode 100644 index ecc96548..00000000 --- a/forms/admin/queries/locale/ca.yml +++ /dev/null @@ -1,6 +0,0 @@ -Queries: Consultes -Execute: Executar -Clean: Netejar -SQL query: Consulta SQL -Updatable: Actualitzable -Query executed!: Consulta executada! diff --git a/forms/admin/queries/locale/en.yml b/forms/admin/queries/locale/en.yml deleted file mode 100644 index b8a3bcdb..00000000 --- a/forms/admin/queries/locale/en.yml +++ /dev/null @@ -1,6 +0,0 @@ -Queries: Queries -Execute: Execute -Clean: Clean -SQL query: SQL query -Updatable: Updatable -Query executed!: Query executed! diff --git a/forms/admin/queries/locale/es.yml b/forms/admin/queries/locale/es.yml deleted file mode 100644 index 3a67c14b..00000000 --- a/forms/admin/queries/locale/es.yml +++ /dev/null @@ -1,6 +0,0 @@ -Queries: Consultas -Execute: Ejecutar -Clean: Limpiar -SQL query: Consulta SQL -Updatable: Actualizable -Query executed!: ¡Consulta ejecutada! diff --git a/forms/admin/queries/locale/fr.yml b/forms/admin/queries/locale/fr.yml deleted file mode 100644 index b8a3bcdb..00000000 --- a/forms/admin/queries/locale/fr.yml +++ /dev/null @@ -1,6 +0,0 @@ -Queries: Queries -Execute: Execute -Clean: Clean -SQL query: SQL query -Updatable: Updatable -Query executed!: Query executed! diff --git a/forms/admin/queries/locale/pt.yml b/forms/admin/queries/locale/pt.yml deleted file mode 100644 index 6556a81f..00000000 --- a/forms/admin/queries/locale/pt.yml +++ /dev/null @@ -1,6 +0,0 @@ -Queries: Consultas -Execute: Executar -Clean: Limpar -SQL query: Consulta SQL -Updatable: Actualizável -Query executed!: Consulta executada! diff --git a/forms/admin/queries/style.scss b/forms/admin/queries/style.scss deleted file mode 100644 index 9b9420ce..00000000 --- a/forms/admin/queries/style.scss +++ /dev/null @@ -1,10 +0,0 @@ - -.queries textarea { - display: block; - width: 100%; - height: 8em; -} -.queries .result { - margin-top: 1em; - overflow: auto; -} diff --git a/forms/admin/queries/ui.xml b/forms/admin/queries/ui.xml deleted file mode 100644 index ab3932bf..00000000 --- a/forms/admin/queries/ui.xml +++ /dev/null @@ -1,38 +0,0 @@ - -
-

Queries

-
-
- - -
-
-
-
- -