nuxt-hs-ui 2.0.26 → 2.0.28

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
@@ -4,7 +4,7 @@
4
4
  "compatibility": {
5
5
  "nuxt": ">=3.15.0"
6
6
  },
7
- "version": "2.0.26",
7
+ "version": "2.0.28",
8
8
  "builder": {
9
9
  "@nuxt/module-builder": "0.8.4",
10
10
  "unbuild": "2.0.0"
@@ -1 +1 @@
1
- .tabulator-row+.tabulator-row{border-top:1px solid rgba(121,165,201,.741)}.tabulator .darkendarken .tabulator-col-content,.tabulator .tabulator-col-title,.tabulator .tabulator-col-title-holder{height:100%}.tabulator .tabulator-cell,.tabulator .tabulator-col-content{padding:0!important}.tabulator .v-cell-container{align-items:center;cursor:default;display:flex;flex-direction:column;height:100%;justify-content:center;line-height:1em;width:100%}.tabulator .v-cell-row{align-items:center;display:flex;font-weight:400;width:100%}.tabulator .v-cell{align-items:center;display:flex;height:100%;max-width:none;overflow:hidden;padding:2px 6px;text-overflow:ellipsis;white-space:nowrap}.tabulator>.tabulator-header .v-cell-container{--row-height:20px}.tabulator>.tabulator-header .v-cell-container .border-bottom{border-bottom:1px solid #9dafec!important}.tabulator>.tabulator-header .v-cell-container .border-right{border-right:1px solid #9dafec!important}.tabulator>.tabulator-tableholder .v-cell-container{--row-height:26px}.tabulator>.tabulator-tableholder .v-cell-container .border-bottom{border-bottom:1px solid #cdd3e6!important}.tabulator>.tabulator-tableholder .v-cell-container .border-right{border-right:1px solid #cdd3e6!important}.tabulator .v-cell-row{--row-size:1;height:calc(var(--row-height)*var(--row-size))}.tabulator .v-cell,.tabulator .v-cell>*,.tabulator .v-cell>:after,.tabulator .v-cell>:before{font-size:14px;line-height:calc(var(--row-height) - 2px);line-height:1.2em}.tabulator .table-cell-btn{align-items:center;background-color:#fff;border-color:rgba(var(--v-border-color),var(--v-border-opacity));border-radius:4px;border-style:solid;border-width:2px;display:inline-grid;flex-shrink:0;font-size:.875rem;font-weight:500;grid-template-areas:"prepend content append";grid-template-columns:max-content auto max-content;height:100%;justify-content:center;letter-spacing:0;line-height:normal;max-width:100%;min-width:64px;outline:none;overflow:hidden;padding:0 8px;position:relative;text-decoration:none;text-indent:0;text-transform:uppercase;transition-duration:.28s;transition-property:box-shadow,transform,opacity,background;transition-timing-function:cubic-bezier(.4,0,.2,1);-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle;width:100%}.tabulator .table-cell-btn:hover:before{background-color:#fff;content:"";inset:0 0 0 0;opacity:.2;position:absolute}.tabulator .table-cell-btn>*{pointer-events:none}.tabulator .table-cell-btn .overlay{background-color:#fff;border-radius:100%;height:0;left:0;opacity:0;position:absolute;top:0;transform:scale(0);transform-origin:center center;transition:transform .3s ease,opacity .2s ease;width:0;will-change:transform;z-index:1}.tabulator .table-cell-btn .overlay.flash{opacity:.3;transform:scale(1)}.table-sort-icon{color:#ffcd94;cursor:pointer;pointer-events:none}.table-sort-icon:before{content:"";font-family:Font Awesome\ 5 Free;font-weight:900}.table-sort-icon.up:before{content:""}.table-sort-icon.down:before{content:""}.tabulator-page-size{color:#1b1b1c}.tabulator-page.active{background-color:#3e7edd!important;color:#fff!important}.tabulator-page{border:1px solid #fff!important}.tabulator .w-full{width:100%}
1
+ .tabulator-row+.tabulator-row{border-top:1px solid rgba(121,165,201,.741)}.tabulator .darkendarken .tabulator-col-content,.tabulator .tabulator-col-title,.tabulator .tabulator-col-title-holder{height:100%}.tabulator .tabulator-cell,.tabulator .tabulator-col-content{padding:0!important}.tabulator .v-cell-container{align-items:center;cursor:default;display:flex;flex-direction:column;height:100%;justify-content:center;line-height:1em;width:100%}.tabulator .v-cell-row{align-items:center;display:flex;font-weight:400;width:100%}.tabulator .v-cell{align-items:center;display:flex;height:100%;max-width:none;overflow:hidden;padding:2px 6px;text-overflow:ellipsis;white-space:nowrap}.tabulator>.tabulator-header .v-cell-container{--row-height:20px}.tabulator>.tabulator-header .v-cell-container .border-bottom{border-bottom:1px solid #9dafec!important}.tabulator>.tabulator-header .v-cell-container .border-right{border-right:1px solid #9dafec!important}.tabulator>.tabulator-tableholder .v-cell-container{--row-height:26px}.tabulator>.tabulator-tableholder .v-cell-container .border-bottom{border-bottom:1px solid #cdd3e6!important}.tabulator>.tabulator-tableholder .v-cell-container .border-right{border-right:1px solid #cdd3e6!important}.tabulator .v-cell-row{--row-size:1;height:calc(var(--row-height)*var(--row-size))}.tabulator .v-cell,.tabulator .v-cell>*,.tabulator .v-cell>:after,.tabulator .v-cell>:before{font-size:14px;line-height:calc(var(--row-height) - 2px);line-height:1.2em}.tabulator .table-cell-btn{align-items:center;background-color:#fff;border-color:rgba(var(--v-border-color),var(--v-border-opacity));border-radius:4px;border-style:solid;border-width:2px;display:inline-grid;flex-shrink:0;font-size:.875rem;font-weight:500;grid-template-areas:"prepend content append";grid-template-columns:max-content auto max-content;height:100%;justify-content:center;letter-spacing:0;line-height:normal;max-width:100%;min-width:64px;outline:none;overflow:hidden;padding:0 8px;position:relative;text-decoration:none;text-indent:0;text-transform:uppercase;transition-duration:.28s;transition-property:box-shadow,transform,opacity,background;transition-timing-function:cubic-bezier(.4,0,.2,1);-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle;width:100%}.tabulator .table-cell-btn:hover:before{background-color:#fff;content:"";inset:0 0 0 0;opacity:.2;position:absolute}.tabulator .table-cell-btn>*{pointer-events:none}.tabulator .table-cell-btn .overlay{background-color:#fff;border-radius:100%;height:0;left:0;opacity:0;position:absolute;top:0;transform:scale(0);transform-origin:center center;transition:transform .3s ease,opacity .2s ease;width:0;will-change:transform;z-index:1}.tabulator .table-cell-btn .overlay.flash{opacity:.3;transform:scale(1)}.table-sort-icon{color:#ffcd94;cursor:pointer;pointer-events:none}.table-sort-icon:before{content:"";font-family:Font Awesome\ 5 Free;font-weight:900}.table-sort-icon.up:before{content:""}.table-sort-icon.down:before{content:""}.tabulator-page-size{color:#1b1b1c}.tabulator-page.active{background-color:#3e7edd!important;color:#fff!important}.tabulator-page{border:1px solid #fff!important}.tabulator .w-full{width:100%}.tabulator .h-full{height:100%}.tabulator .text-end{justify-content:end;text-align:right}.tabulator .text-center{justify-content:center;text-align:center}.tabulator .cursor-pointer{cursor:pointer}
@@ -11,7 +11,7 @@ import dayjs from "dayjs/esm/index";
11
11
  import flatpickr from "flatpickr";
12
12
  import monthSelectPlugin from "flatpickr/dist/plugins/monthSelect";
13
13
  import { Japanese as ja } from "flatpickr/dist/l10n/ja";
14
- import { english as en } from "flatpickr/dist/l10n/default";
14
+ // import { english as en } from "flatpickr/dist/l10n/default";
15
15
  // [ vueuse ]
16
16
  import { useMounted } from "@vueuse/core";
17
17
  // [ NUXT ]
@@ -24,6 +24,7 @@ import {
24
24
  onMounted,
25
25
  nextTick,
26
26
  onUnmounted,
27
+ useHead,
27
28
  } from "#imports";
28
29
  // [ utils ]
29
30
  import type { ClassType } from "../../utils/class-style";
@@ -36,6 +37,14 @@ import { useHsMultiLang } from "../../composables/use-hs-multi-lang";
36
37
  // [ Components ]
37
38
  import InputFrame from "./input-frame.vue";
38
39
 
40
+ useHead({
41
+ script: [
42
+ //
43
+ { src: `https://npmcdn.com/flatpickr/dist/l10n/ja.js` },
44
+ { src: `https://npmcdn.com/flatpickr/dist/l10n/default.js` },
45
+ ],
46
+ });
47
+
39
48
  // ----------------------------------------------------------------------------
40
49
  // [ nac-stroe ]
41
50
  DayjsInit();
@@ -389,13 +398,13 @@ const generateFlatPickerOption = () => {
389
398
  dayjs.locale(multiLang.state.lang);
390
399
  switch (multiLang.state.lang) {
391
400
  case "ja":
392
- state.option.locale = ja;
401
+ state.option.locale = "ja";
393
402
  break;
394
403
  case "en":
395
- state.option.locale = en;
404
+ state.option.locale = "en";
396
405
  break;
397
406
  default:
398
- state.option.locale = en;
407
+ state.option.locale = "en";
399
408
  break;
400
409
  }
401
410
  // state.option.position = 'above';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nuxt-hs-ui",
3
- "version": "2.0.26",
3
+ "version": "2.0.28",
4
4
  "description": "My new Nuxt module",
5
5
  "repository": "https://github.com/hare-systems-ryo/nuxt-hs-ui",
6
6
  "license": "MIT",