@finema/core 1.3.33 → 1.3.35

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": "1.3.33",
3
+ "version": "1.3.35",
4
4
  "configKey": "core",
5
5
  "compatibility": {
6
6
  "nuxt": "^3.7.4"
package/dist/module.mjs CHANGED
@@ -2,7 +2,7 @@ import { defineNuxtModule, createResolver, installModule, addPlugin, addComponen
2
2
  import { merge } from 'lodash-es';
3
3
 
4
4
  const name = "@finema/core";
5
- const version = "1.3.33";
5
+ const version = "1.3.35";
6
6
 
7
7
  const colors = {
8
8
  black: "#20243E",
@@ -183,6 +183,64 @@ const module = defineNuxtModule({
183
183
  pagination
184
184
  });
185
185
  nuxt.options.appConfig.ui.strategy = "override";
186
+ nuxt.options.runtimeConfig = {
187
+ ...nuxt.options.runtimeConfig,
188
+ public: {
189
+ baseAPI: process.env.APP_BASE_API,
190
+ baseAPIMock: process.env.APP_BASE_API_MOCK,
191
+ baseInternalAPI: process.env.APP_BASE_INTERNAL_API,
192
+ port: process.env.PORT || "3000"
193
+ }
194
+ };
195
+ nuxt.options.app = {
196
+ ...nuxt.options.app,
197
+ head: {
198
+ htmlAttrs: {
199
+ lang: "en"
200
+ },
201
+ meta: [
202
+ { charset: "utf-8" },
203
+ {
204
+ name: "viewport",
205
+ content: "width=device-width, initial-scale=1"
206
+ },
207
+ {
208
+ id: "description",
209
+ name: "description",
210
+ content: ""
211
+ },
212
+ {
213
+ name: "format-detection",
214
+ content: "telephone=no"
215
+ }
216
+ ],
217
+ link: [
218
+ {
219
+ rel: "preconnect",
220
+ href: "https://fonts.googleapis.com"
221
+ },
222
+ {
223
+ rel: "preconnect",
224
+ href: "https://fonts.gstatic.com",
225
+ crossorigin: ""
226
+ },
227
+ {
228
+ rel: "dns-prefetch",
229
+ href: "https://www.google-analytics.com/"
230
+ },
231
+ {
232
+ rel: "preconnect",
233
+ href: "https://www.google-analytics.com/",
234
+ crossorigin: ""
235
+ },
236
+ {
237
+ rel: "icon",
238
+ type: "image/x-icon",
239
+ href: "/favicon.ico"
240
+ }
241
+ ]
242
+ }
243
+ };
186
244
  await installModule("@pinia/nuxt");
187
245
  await installModule("@vee-validate/nuxt", {
188
246
  // disable or enable auto imports
@@ -68,7 +68,7 @@
68
68
  v-if="option.type === INPUT_TYPES.DATE"
69
69
  :form="form"
70
70
  v-bind="option.props"
71
- :disabled_time="true"
71
+ :disabled-time="true"
72
72
  v-on="option.on ?? {}"
73
73
  />
74
74
  </div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finema/core",
3
- "version": "1.3.33",
3
+ "version": "1.3.35",
4
4
  "repository": "https://gitlab.finema.co/finema/ui-kit",
5
5
  "license": "MIT",
6
6
  "author": "Finema Development Team",