@finema/core 2.52.2 → 2.52.3

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.
Files changed (33) hide show
  1. package/dist/module.json +1 -1
  2. package/dist/module.mjs +1 -1
  3. package/dist/runtime/components/Form/FieldWrapper.vue +13 -13
  4. package/dist/runtime/components/Form/Fields.vue +13 -13
  5. package/dist/runtime/components/Form/InputCheckbox/index.vue +18 -18
  6. package/dist/runtime/components/Form/InputComponent/index.vue +1 -1
  7. package/dist/runtime/components/Form/InputMonth/index.vue +51 -51
  8. package/dist/runtime/components/Form/InputNumber/index.vue +20 -20
  9. package/dist/runtime/components/Form/InputSelectMultiple/index.vue +43 -43
  10. package/dist/runtime/components/Form/InputTags/index.vue +23 -23
  11. package/dist/runtime/components/Form/InputTextarea/index.vue +18 -18
  12. package/dist/runtime/components/Form/InputToggle/index.vue +17 -17
  13. package/dist/runtime/components/Form/InputUploadDropzone/index.vue +30 -30
  14. package/dist/runtime/components/Form/InputUploadDropzoneAuto/index.vue +50 -50
  15. package/dist/runtime/components/Form/fileState/EmptyState.vue +21 -21
  16. package/dist/runtime/components/Form/fileState/FailedState.vue +33 -33
  17. package/dist/runtime/components/Form/fileState/LoadingState.vue +24 -24
  18. package/dist/runtime/components/Form/fileState/PreviewModal.vue +23 -23
  19. package/dist/runtime/components/Form/index.vue +5 -5
  20. package/dist/runtime/components/Image.vue +28 -28
  21. package/dist/runtime/components/Log/index.vue +17 -17
  22. package/dist/runtime/components/Table/Base.vue +89 -94
  23. package/dist/runtime/components/Table/Base.vue.d.ts +1 -1
  24. package/dist/runtime/components/Table/ColumnDate.vue +1 -1
  25. package/dist/runtime/components/Table/ColumnDateTime.vue +1 -1
  26. package/dist/runtime/components/Table/ColumnImage.vue +4 -4
  27. package/dist/runtime/components/Table/ColumnText.vue +1 -1
  28. package/dist/runtime/components/Table/index.vue +27 -30
  29. package/dist/runtime/components/Table/index.vue.d.ts +1 -1
  30. package/dist/runtime/server/tsconfig.json +3 -3
  31. package/dist/runtime/theme/table.d.ts +1 -0
  32. package/dist/runtime/theme/table.js +2 -1
  33. package/package.json +2 -2
@@ -1,5 +1,5 @@
1
1
  <template>
2
- {{ getValue || "-" }}
2
+ {{ getValue || "-" }}
3
3
  </template>
4
4
 
5
5
  <script setup>
@@ -1,8 +1,8 @@
1
1
  <template>
2
- <Image
3
- class="h-12 rounded"
4
- :src="getValue"
5
- />
2
+ <Image
3
+ class="h-12 rounded"
4
+ :src="getValue"
5
+ />
6
6
  </template>
7
7
 
8
8
  <script setup>
@@ -1,5 +1,5 @@
1
1
  <template>
2
- {{ getValue }}
2
+ {{ getValue }}
3
3
  </template>
4
4
 
5
5
  <script setup>
@@ -1,34 +1,31 @@
1
1
  <template>
2
- <div ref="tableContainer">
3
- <div
4
- v-if="options.isEnabledSearch"
5
- :class="theme.searchContainer({
6
- class: [ui?.searchContainer]
7
- })"
8
- >
9
- <Input
10
- v-model="q"
11
- icon="i-heroicons-magnifying-glass"
12
- :placeholder="options.searchPlaceholder || '\u0E04\u0E49\u0E19\u0E2B\u0E32....'"
13
- />
14
- </div>
15
- <Base
16
- v-bind="$attrs"
17
- :options="options"
18
- @page-change="onPageChange"
19
- @search="emits('search', q)"
20
- >
21
- <template
22
- v-for="(_, slot) of $slots"
23
- #[slot]="slotProps"
24
- >
25
- <slot
26
- :name="slot"
27
- v-bind="slotProps || {}"
28
- />
29
- </template>
30
- </Base>
31
- </div>
2
+ <div ref="tableContainer">
3
+ <div
4
+ v-if="options.isEnabledSearch"
5
+ :class="
6
+ theme.searchContainer({
7
+ class: [ui?.searchContainer]
8
+ })
9
+ "
10
+ >
11
+ <Input
12
+ v-model="q"
13
+ icon="i-heroicons-magnifying-glass"
14
+ :placeholder="options.searchPlaceholder || '\u0E04\u0E49\u0E19\u0E2B\u0E32....'"
15
+ />
16
+ </div>
17
+ <Base
18
+ v-bind="$attrs"
19
+ :options="options"
20
+ @page-change="onPageChange"
21
+ @search="emits('search', q)"
22
+ :ui="ui"
23
+ >
24
+ <template v-for="(_, slot) of $slots" #[slot]="slotProps">
25
+ <slot :name="slot" v-bind="slotProps || {}" />
26
+ </template>
27
+ </Base>
28
+ </div>
32
29
  </template>
33
30
 
34
31
  <script setup>
@@ -6,7 +6,7 @@ type Slot = TableSlots<any> & {
6
6
  };
7
7
  type __VLS_Props = {
8
8
  options: ITableOptions<any>;
9
- ui?: typeof tableTheme['slots'];
9
+ ui?: (typeof tableTheme)['slots'];
10
10
  };
11
11
  type __VLS_Slots = Slot;
12
12
  declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
@@ -1,3 +1,3 @@
1
- {
2
- "extends": "../../../.nuxt/tsconfig.server.json",
3
- }
1
+ {
2
+ "extends": "../../../.nuxt/tsconfig.server.json",
3
+ }
@@ -14,6 +14,7 @@ export declare const tableTheme: {
14
14
  thead: string;
15
15
  th: string;
16
16
  td: string;
17
+ tr: string;
17
18
  };
18
19
  variants: {
19
20
  pinned: {
@@ -13,7 +13,8 @@ export const tableTheme = {
13
13
  paginationLimitSelectLabel: "font-bold text-gray-600",
14
14
  thead: "",
15
15
  th: "text-[#475467] whitespace-nowrap font-medium text-xs",
16
- td: "text-[#475467]"
16
+ td: "text-[#475467]",
17
+ tr: ""
17
18
  },
18
19
  variants: {
19
20
  pinned: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finema/core",
3
- "version": "2.52.2",
3
+ "version": "2.52.3",
4
4
  "repository": "https://gitlab.finema.co/finema/ui-kit",
5
5
  "license": "MIT",
6
6
  "author": "Finema Dev Core Team",
@@ -91,4 +91,4 @@
91
91
  "lint-staged": {
92
92
  "*": "eslint"
93
93
  }
94
- }
94
+ }