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
|
@@ -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
|
|
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"
|
|
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
|
);
|