nuxt-hs-ui 2.9.7 → 2.9.8

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.9.7",
7
+ "version": "2.9.8",
8
8
  "builder": {
9
9
  "@nuxt/module-builder": "0.8.4",
10
10
  "unbuild": "2.0.0"
@@ -173,7 +173,7 @@ watch(displayData, (v) => {
173
173
  );
174
174
  });
175
175
  const selectedId = computed(() => {
176
- console.log("selectedId", displayData.value);
176
+ // console.log("selectedId", displayData.value);
177
177
  if (displayData.value === null) {
178
178
  return null;
179
179
  }
@@ -83,8 +83,8 @@ export declare const TabulatorFunc: {
83
83
  */
84
84
  export declare const ReplaceFolderName: (str: string) => string;
85
85
  export declare const SortIconClassName: <T>(uid: string) => (key: T) => string;
86
- export declare const GetCellHtml: (html: string) => string;
87
- export declare const GetHeaderHtml: (html: string) => string;
86
+ export declare const GetCellHtml: (html: string, style?: string) => string;
87
+ export declare const GetHeaderHtml: (html: string, style?: string) => string;
88
88
  /** Data-Row-Table ボタン列 */
89
89
  export declare const GetListTableBtnSetting: (arg: {
90
90
  detailUrl: string | null;
@@ -188,13 +188,11 @@ export const SortIconClassName = (uid) => {
188
188
  return `table-sort-${uid}-` + key;
189
189
  };
190
190
  };
191
- const headerStyle = `style="--row-height:28px;"`;
192
- const rowStyle = `style="--row-height:28px;"`;
193
- export const GetCellHtml = (html) => `<div class="v-cell-container" ${rowStyle}>{replace}</div>`.replace(
191
+ export const GetCellHtml = (html, style = "") => `<div class="v-cell-container" style="--row-height:28px;${style}">{replace}</div>`.replace(
194
192
  /\{replace\}/g,
195
193
  html
196
194
  );
197
- export const GetHeaderHtml = (html) => `<div class="v-cell-container" ${headerStyle}>{replace}</div>`.replace(
195
+ export const GetHeaderHtml = (html, style = "") => `<div class="v-cell-container" style="--row-height:28px;${style}">{replace}</div>`.replace(
198
196
  /\{replace\}/g,
199
197
  html
200
198
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nuxt-hs-ui",
3
- "version": "2.9.7",
3
+ "version": "2.9.8",
4
4
  "description": "My new Nuxt module",
5
5
  "repository": "https://github.com/hare-systems-ryo/nuxt-hs-ui",
6
6
  "license": "MIT",