adata-ui 3.1.20 → 3.1.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/module.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "nuxt": ">=3.16.0"
6
6
  },
7
7
  "failOnWarn": false,
8
- "version": "3.1.20",
8
+ "version": "3.1.21",
9
9
  "builder": {
10
10
  "@nuxt/module-builder": "1.0.1",
11
11
  "unbuild": "3.5.0"
@@ -57,12 +57,12 @@ onUnmounted(() => clearTimer());
57
57
  <component
58
58
  :is="item.icon"
59
59
  class="shrink-0 size-6 transition-colors duration-300 ease-in-out"
60
- :class="selected === idx ? 'text-white dark:text-gray-900' : 'text-gray-600 dark:text-gray-200'"
60
+ :class="selected === idx ? 'text-white dark:text-gray-900' : 'text-gray-600 dark:text-[#9DA3AC]'"
61
61
  />
62
62
  </div>
63
63
  <p
64
64
  class="font-semibold text-base lg:text-xl transition-colors duration-300 ease-in-out"
65
- :class="selected === idx ? 'dark:text-[#E3E5E8]' : 'text-gray-600 dark:text-gray-200'"
65
+ :class="selected === idx ? 'dark:text-[#E3E5E8]' : 'text-gray-600 dark:text-[#9DA3AC]'"
66
66
  >
67
67
  {{ item.title }}
68
68
  </p>
@@ -261,7 +261,7 @@ defineExpose({
261
261
  />
262
262
  <button
263
263
  v-if="isClearable"
264
- class="pointer-events-click absolute right-4 top-1/2 translate-y-[-50%] transform rounded-full bg-deepblue-900 bg-opacity-10 p-1 text-2xl hover:opacity-80 dark:bg-gray-200/10"
264
+ class="pointer-events-click absolute right-4 top-1/2 translate-y-[-50%] transform rounded-full bg-deepblue-900/10 p-1 text-2xl hover:opacity-80 dark:bg-gray-200/10"
265
265
  type="button"
266
266
  @click="onClear"
267
267
  >
@@ -120,7 +120,7 @@ const labelClass = computed(
120
120
  />
121
121
  <button
122
122
  v-if="isClearable"
123
- class="pointer-events-click absolute right-4 top-5 translate-y-[-50%] transform rounded-full bg-deepblue-900 bg-opacity-10 p-1 text-2xl hover:opacity-80 dark:bg-gray-200/10"
123
+ class="pointer-events-click absolute right-4 top-5 translate-y-[-50%] transform rounded-full bg-deepblue-900/10 p-1 text-2xl hover:opacity-80 dark:bg-gray-200/10"
124
124
  type="button"
125
125
  @click="modelValue = ''"
126
126
  >
@@ -24,9 +24,9 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
24
24
  "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
25
25
  }>, {
26
26
  size: "sm" | "md";
27
- error: string | boolean;
28
27
  disabled: boolean;
29
28
  required: boolean;
29
+ error: string | boolean;
30
30
  label: string;
31
31
  readonly: boolean;
32
32
  clearable: boolean;
@@ -80,12 +80,10 @@ watch(comment, (newComment) => {
80
80
  />
81
81
  <adt-forms-input-standard
82
82
  v-model="phone"
83
- v-maska
84
83
  type="tel"
85
84
  color-classes="bg-gray-50 dark:bg-gray-800"
86
85
  :error="phoneValidation"
87
86
  :label="t('forms.feedback.phone')"
88
- data-maska="8 (###) ###-##-##"
89
87
  required
90
88
  size="md"
91
89
  />
@@ -54,21 +54,22 @@ function onSend() {
54
54
  v-model="form.sender_name"
55
55
  required
56
56
  :label="t('forms.demo.n')"
57
+ color-classes="bg-gray-50 dark:bg-gray-800"
57
58
  :error="getError('sender_name')"
58
59
  />
59
60
  <adt-forms-input-standard
60
61
  v-model="form.email"
61
62
  required
62
63
  :label="t('forms.demo.e')"
64
+ color-classes="bg-gray-50 dark:bg-gray-800"
63
65
  :error="getError('email')"
64
66
  type="email"
65
67
  />
66
68
  <adt-forms-input-standard
67
69
  v-model="form.phone_number"
68
- v-maska
69
70
  required
70
- data-maska="8 (###) ###-##-##"
71
71
  :label="t('forms.demo.p')"
72
+ color-classes="bg-gray-50 dark:bg-gray-800"
72
73
  :error="getError('phone_number')"
73
74
  type="tel"
74
75
  />
@@ -30,6 +30,10 @@ const { t } = useI18n();
30
30
  const appConfig = useAppConfig();
31
31
  const mode = appConfig.adataUI.mode;
32
32
  const tabOptions = [
33
+ {
34
+ name: "header.products.edo.label",
35
+ key: "edo"
36
+ },
33
37
  {
34
38
  name: "header.products.counterparties.label",
35
39
  key: "pk"
@@ -42,14 +46,14 @@ const tabOptions = [
42
46
  name: "header.products.tenders.label",
43
47
  key: "tenders"
44
48
  },
45
- {
46
- name: "header.products.fines.label",
47
- key: "fines"
48
- },
49
49
  {
50
50
  name: "header.products.analytics.label",
51
51
  key: "analytics"
52
52
  },
53
+ {
54
+ name: "header.products.fines.label",
55
+ key: "fines"
56
+ },
53
57
  {
54
58
  name: "header.products.fea.label",
55
59
  key: "fea"
@@ -57,10 +61,6 @@ const tabOptions = [
57
61
  {
58
62
  name: "header.products.compliance.label",
59
63
  key: "compliance"
60
- },
61
- {
62
- name: "header.products.edo.label",
63
- key: "edo"
64
64
  }
65
65
  ];
66
66
  const sideLinks = {
@@ -22,8 +22,8 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
22
22
  } & {
23
23
  change: () => any;
24
24
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
25
- onChange?: (() => any) | undefined;
26
25
  "onUpdate:modelValue"?: ((value: string | number | boolean | null | undefined) => any) | undefined;
26
+ onChange?: (() => any) | undefined;
27
27
  }>, {
28
28
  name: string;
29
29
  size: "lg" | "sm";
@@ -1,2 +1,2 @@
1
- export declare const useCurrentModule: () => import("vue").Ref<string, string>;
2
- export declare const useContacts: () => import("vue").Ref<any, any>;
1
+ export declare const useCurrentModule: () => any;
2
+ export declare const useContacts: () => any;
@@ -1,2 +1,2 @@
1
- declare const _default: import("#app").Plugin<Record<string, unknown>> & import("#app").ObjectPlugin<Record<string, unknown>>;
1
+ declare const _default: any;
2
2
  export default _default;
@@ -6,7 +6,7 @@ export interface LocalizedNavigationParams {
6
6
  path?: string;
7
7
  target?: '_blank' | '_self';
8
8
  }
9
- export declare function navigateToLocalizedPage({ locale, projectUrl, path, target, }: LocalizedNavigationParams): string | false | void | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric | Promise<false | void | import("vue-router").NavigationFailure>;
9
+ export declare function navigateToLocalizedPage({ locale, projectUrl, path, target, }: LocalizedNavigationParams): any;
10
10
  export declare function buildLocalizedUrl(locale: Locale, projectUrl: string, path?: string): string;
11
11
  export declare function getLocalizedPath(locale: Locale): string;
12
12
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adata-ui",
3
- "version": "3.1.20",
3
+ "version": "3.1.21",
4
4
  "description": "Adata UI",
5
5
  "repository": "your-org/my-module",
6
6
  "license": "MIT",
@@ -41,6 +41,7 @@
41
41
  "@tailwindcss/vite": "^4.1.6",
42
42
  "@vuepic/vue-datepicker": "^11.0.2",
43
43
  "defu": "^6.1.4",
44
+ "maska": "^3.2.0",
44
45
  "reka-ui": "^2.2.1",
45
46
  "sass": "^1.89.0",
46
47
  "tailwind-merge": "^3.3.0",