hl-core 0.0.10-beta.7 → 0.0.10-beta.70
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -2
- package/api/base.api.ts +425 -134
- package/api/interceptors.ts +162 -62
- package/components/Dialog/Dialog.vue +5 -1
- package/components/Dialog/DigitalDocumentsDialog.vue +129 -0
- package/components/Dialog/FamilyDialog.vue +15 -4
- package/components/Form/DigitalDocument.vue +52 -0
- package/components/Form/FormSource.vue +30 -0
- package/components/Form/ManagerAttachment.vue +85 -11
- package/components/Form/ProductConditionsBlock.vue +12 -6
- package/components/Input/Datepicker.vue +5 -0
- package/components/Input/FileInput.vue +1 -1
- package/components/Input/FormInput.vue +7 -0
- package/components/Input/OtpInput.vue +25 -0
- package/components/Input/RoundedInput.vue +2 -0
- package/components/Input/RoundedSelect.vue +2 -0
- package/components/Input/TextAreaField.vue +71 -0
- package/components/Input/TextHint.vue +13 -0
- package/components/Layout/SettingsPanel.vue +2 -1
- package/components/Menu/MenuNav.vue +2 -1
- package/components/Pages/Anketa.vue +207 -176
- package/components/Pages/Auth.vue +10 -3
- package/components/Pages/ContragentForm.vue +24 -18
- package/components/Pages/Documents.vue +488 -66
- package/components/Pages/MemberForm.vue +1009 -268
- package/components/Pages/ProductConditions.vue +1424 -273
- package/components/Panel/PanelHandler.vue +329 -126
- package/components/Utilities/Chip.vue +1 -1
- package/components/Utilities/JsonViewer.vue +1 -2
- package/composables/classes.ts +136 -20
- package/composables/constants.ts +168 -1
- package/composables/index.ts +467 -9
- package/composables/styles.ts +8 -24
- package/configs/i18n.ts +2 -0
- package/configs/pwa.ts +1 -7
- package/layouts/clear.vue +1 -1
- package/layouts/default.vue +2 -2
- package/layouts/full.vue +1 -1
- package/locales/kz.json +1239 -0
- package/locales/ru.json +133 -21
- package/nuxt.config.ts +8 -6
- package/package.json +14 -13
- package/plugins/head.ts +7 -1
- package/plugins/helperFunctionsPlugins.ts +1 -0
- package/store/data.store.ts +1080 -552
- package/store/member.store.ts +19 -8
- package/store/rules.ts +75 -8
- package/types/enum.ts +52 -2
- package/types/index.ts +143 -6
package/layouts/default.vue
CHANGED
|
@@ -43,7 +43,7 @@ const openSettings = async () => {
|
|
|
43
43
|
|
|
44
44
|
const onLink = async (item: MenuItem) => {
|
|
45
45
|
if (dataStore.menu.onLink) await dataStore.menu.onLink(item);
|
|
46
|
-
if (!dataStore.filters.disabled(item)) dataStore.menu.selectedItem = item;
|
|
46
|
+
if (!dataStore.filters.disabled(item) && !dataStore.isDirty) dataStore.menu.selectedItem = item;
|
|
47
47
|
};
|
|
48
48
|
|
|
49
49
|
const onBack = async (item: MenuItem) => {
|
|
@@ -52,7 +52,7 @@ const onBack = async (item: MenuItem) => {
|
|
|
52
52
|
|
|
53
53
|
const onInit = async () => {
|
|
54
54
|
const projectConfig = dataStore.projectConfig;
|
|
55
|
-
if (
|
|
55
|
+
if (process.env.NODE_ENV === 'production' && $pwa && projectConfig === null) {
|
|
56
56
|
const hasConfig = await dataStore.getProjectConfig();
|
|
57
57
|
if (hasConfig === true) {
|
|
58
58
|
const commitVersion = String(import.meta.env.VITE_COMMIT_VERSION);
|
package/layouts/full.vue
CHANGED
|
@@ -11,7 +11,7 @@ const { $pwa } = useNuxtApp();
|
|
|
11
11
|
|
|
12
12
|
const onInit = async () => {
|
|
13
13
|
const projectConfig = dataStore.projectConfig;
|
|
14
|
-
if (
|
|
14
|
+
if (process.env.NODE_ENV === 'production' && $pwa && projectConfig === null) {
|
|
15
15
|
const hasConfig = await dataStore.getProjectConfig();
|
|
16
16
|
if (hasConfig === true) {
|
|
17
17
|
const commitVersion = String(import.meta.env.VITE_COMMIT_VERSION);
|