nuxt-hs-ui 2.0.34 → 2.0.36
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
|
@@ -411,7 +411,11 @@ const inputClass = computed(() => {
|
|
|
411
411
|
@keydown.right="onKeydown"
|
|
412
412
|
>
|
|
413
413
|
<!-- null -->
|
|
414
|
-
<div
|
|
414
|
+
<div
|
|
415
|
+
v-if="!props.require && props.nullable"
|
|
416
|
+
class="radio-col"
|
|
417
|
+
:class="colClass"
|
|
418
|
+
>
|
|
415
419
|
<div
|
|
416
420
|
class="nac-radio"
|
|
417
421
|
:class="[{ disabled: props.disabled, readonly: props.readonly }]"
|
|
@@ -68,7 +68,7 @@ export declare const GetCellHtml: (html: string) => string;
|
|
|
68
68
|
export declare const GetHeaderHtml: (html: string) => string;
|
|
69
69
|
/** Data-Row-Table ボタン列 */
|
|
70
70
|
export declare const GetListTableBtnSetting: (arg: {
|
|
71
|
-
detailUrl: string;
|
|
71
|
+
detailUrl: string | null;
|
|
72
72
|
mode: "select" | "detail";
|
|
73
73
|
actionBtnTheme: Theme;
|
|
74
74
|
componentName: string;
|
|
@@ -217,8 +217,11 @@ export const GetListTableBtnSetting = (arg) => {
|
|
|
217
217
|
title: ``,
|
|
218
218
|
formatter: (cell) => {
|
|
219
219
|
const row = cell.getRow().getData();
|
|
220
|
-
const
|
|
221
|
-
|
|
220
|
+
const herf = (() => {
|
|
221
|
+
if (mode !== "detail") return "";
|
|
222
|
+
if (!detailUrl) return "";
|
|
223
|
+
return `href="${detailUrl.replace(/new$/, "")}${row.pId}"`;
|
|
224
|
+
})();
|
|
222
225
|
const style = [
|
|
223
226
|
`border:solid 2px ${GetGolorCode(actionBtnTheme)}`,
|
|
224
227
|
`color:${GetGolorCode(actionBtnTheme)}`,
|