@finema/core 3.16.5 → 3.16.9

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finema/core",
3
- "version": "3.16.5",
3
+ "version": "3.16.9",
4
4
  "configKey": "core",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
package/dist/module.mjs CHANGED
@@ -4,7 +4,7 @@ import * as lodash from 'lodash-es';
4
4
  import * as theme from '../dist/runtime/theme/index.js';
5
5
 
6
6
  const name = "@finema/core";
7
- const version = "3.16.5";
7
+ const version = "3.16.9";
8
8
 
9
9
  const nuxtAppOptions = {
10
10
  head: {
@@ -12,6 +12,7 @@
12
12
  label-key="label"
13
13
  :icon="icon"
14
14
  :ui="ui"
15
+ :variant="variant"
15
16
  :ignore-filter="ignoreFilter"
16
17
  :leading-icon="options.find((item2) => item2.value === value)?.icon"
17
18
  :avatar="options.find((item2) => item2.value === value)?.avatar"
@@ -128,6 +129,7 @@ const props = defineProps({
128
129
  ignoreFilter: { type: Boolean, required: false },
129
130
  trailingIcon: { type: String, required: false },
130
131
  clearIcon: { type: String, required: false, default: "ph:x-circle-fill" },
132
+ variant: { type: null, required: false },
131
133
  selectedIcon: { type: String, required: false },
132
134
  componentPosition: { type: String, required: false, default: "trailing" },
133
135
  searchInput: { type: [Object, Boolean], required: false, default: void 0 },
@@ -12,6 +12,7 @@ export interface ISelectFieldProps extends IFieldProps {
12
12
  ignoreFilter?: boolean;
13
13
  trailingIcon?: string;
14
14
  clearIcon?: string;
15
+ variant?: 'outline' | 'soft' | 'subtle' | 'ghost' | 'none' | undefined;
15
16
  selectedIcon?: string;
16
17
  componentPosition?: 'leading' | 'trailing';
17
18
  searchInput?: {
@@ -11,6 +11,7 @@
11
11
  :selected-icon="selectedIcon"
12
12
  value-key="value"
13
13
  label-key="label"
14
+ :variant="variant"
14
15
  :icon="icon"
15
16
  :ui="ui"
16
17
  :ignore-filter="ignoreFilter"
@@ -150,6 +151,7 @@ const props = defineProps({
150
151
  ignoreFilter: { type: Boolean, required: false },
151
152
  trailingIcon: { type: String, required: false },
152
153
  clearIcon: { type: String, required: false, default: "ph:x-circle-fill" },
154
+ variant: { type: null, required: false },
153
155
  selectedIcon: { type: String, required: false },
154
156
  componentPosition: { type: String, required: false, default: "trailing" },
155
157
  searchInput: { type: [Object, Boolean], required: false, default: void 0 },
@@ -4,6 +4,7 @@ export interface ISelectMultipleFieldProps extends IFieldProps {
4
4
  icon?: string;
5
5
  trailingIcon?: string;
6
6
  selectedIcon?: string;
7
+ variant?: 'outline' | 'soft' | 'subtle' | 'ghost' | 'none' | undefined;
7
8
  searchInput?: {
8
9
  placeholder?: string;
9
10
  icon?: string;
@@ -75,7 +75,7 @@
75
75
  :label="String(NumberHelper.withComma(item.value))"
76
76
  :ui="{ label: themePagination.label }"
77
77
  square
78
- :to="to?.(item.value)"
78
+ :to="options.isRouteChange ? to?.(item.value) : void 0"
79
79
  :class="
80
80
  theme.buttonPagination({
81
81
  class: [ui?.buttonPagination]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finema/core",
3
- "version": "3.16.5",
3
+ "version": "3.16.9",
4
4
  "repository": "https://gitlab.finema.co/finema/ui-kit",
5
5
  "license": "MIT",
6
6
  "author": "Finema Dev Core Team",