@kumori/aurora-wui-components 0.0.276-dev4175.1 → 0.0.276-dev4175.2
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/components/axebow-resource-limits/axebow-resource-limits-panel.d.ts.map +1 -1
- package/dist/components/axebow-resource-limits/axebow-resource-limits.models.d.ts +1 -0
- package/dist/components/axebow-resource-limits/axebow-resource-limits.models.d.ts.map +1 -1
- package/dist/index.js +18 -15
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"axebow-resource-limits-panel.d.ts","sourceRoot":"","sources":["../../../src/components/axebow-resource-limits/axebow-resource-limits-panel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,UAAU,EAAa,MAAM,KAAK,CAAC;AAIlD,OAAO,iCAAiC,CAAC;AACzC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AAE7E,YAAY,EAAE,kBAAkB,EAAE,CAAC;AAEnC,qBACa,yBAA0B,SAAQ,UAAU;IACvD,MAAM,CAAC,MAAM,4BAAyC;IAE1B,GAAG,EAAG,kBAAkB,CAAC;IACzB,MAAM,EAAG,kBAAkB,CAAC;IAC7B,aAAa,EAAE,kBAAkB,EAAE,CAAM;IAEpE,OAAO,CAAC,aAAa;IAcrB,OAAO,CAAC,YAAY;
|
|
1
|
+
{"version":3,"file":"axebow-resource-limits-panel.d.ts","sourceRoot":"","sources":["../../../src/components/axebow-resource-limits/axebow-resource-limits-panel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,UAAU,EAAa,MAAM,KAAK,CAAC;AAIlD,OAAO,iCAAiC,CAAC;AACzC,OAAO,qCAAqC,CAAC;AAC7C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AAE7E,YAAY,EAAE,kBAAkB,EAAE,CAAC;AAEnC,qBACa,yBAA0B,SAAQ,UAAU;IACvD,MAAM,CAAC,MAAM,4BAAyC;IAE1B,GAAG,EAAG,kBAAkB,CAAC;IACzB,MAAM,EAAG,kBAAkB,CAAC;IAC7B,aAAa,EAAE,kBAAkB,EAAE,CAAM;IAEpE,OAAO,CAAC,aAAa;IAcrB,OAAO,CAAC,YAAY;IA4BpB,MAAM;CAYP"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"axebow-resource-limits.models.d.ts","sourceRoot":"","sources":["../../../src/components/axebow-resource-limits/axebow-resource-limits.models.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,kBAAkB;IACjC,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB"}
|
|
1
|
+
{"version":3,"file":"axebow-resource-limits.models.d.ts","sourceRoot":"","sources":["../../../src/components/axebow-resource-limits/axebow-resource-limits.models.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,kBAAkB;IACjC,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB"}
|
package/dist/index.js
CHANGED
|
@@ -10273,23 +10273,26 @@ var AxebowResourceLimitsPanel = class AxebowResourceLimitsPanel extends LitEleme
|
|
|
10273
10273
|
}));
|
|
10274
10274
|
}
|
|
10275
10275
|
_renderField(field) {
|
|
10276
|
+
const input = html`
|
|
10277
|
+
<axebow-input
|
|
10278
|
+
controlType="numeric"
|
|
10279
|
+
.compact=${true}
|
|
10280
|
+
.label=${field.label}
|
|
10281
|
+
.required=${field.required}
|
|
10282
|
+
.value=${field.value?.toString() ?? ""}
|
|
10283
|
+
.max=${field.max}
|
|
10284
|
+
.min=${field.min ?? 0}
|
|
10285
|
+
.disabled=${field.disabled}
|
|
10286
|
+
?hasError=${field.hasError}
|
|
10287
|
+
.errorMessage=${field.errorMessage ?? ""}
|
|
10288
|
+
.callback=${(e) => this._handleChange(field, e)}
|
|
10289
|
+
fixedWidth="6.1875rem"
|
|
10290
|
+
fixedHeight="2.5rem"
|
|
10291
|
+
></axebow-input>
|
|
10292
|
+
`;
|
|
10276
10293
|
return html`
|
|
10277
10294
|
<div class="flex flex-col items-center w-28.25 shrink-0">
|
|
10278
|
-
|
|
10279
|
-
controlType="numeric"
|
|
10280
|
-
.compact=${true}
|
|
10281
|
-
.label=${field.label}
|
|
10282
|
-
.required=${field.required}
|
|
10283
|
-
.value=${field.value?.toString() ?? ""}
|
|
10284
|
-
.max=${field.max}
|
|
10285
|
-
.min=${field.min ?? 0}
|
|
10286
|
-
.disabled=${field.disabled}
|
|
10287
|
-
?hasError=${field.hasError}
|
|
10288
|
-
.errorMessage=${field.errorMessage ?? ""}
|
|
10289
|
-
.callback=${(e) => this._handleChange(field, e)}
|
|
10290
|
-
fixedWidth="6.1875rem"
|
|
10291
|
-
fixedHeight="2.5rem"
|
|
10292
|
-
></axebow-input>
|
|
10295
|
+
${field.disabled && field.disabledTooltip ? html`<axebow-tooltip content=${field.disabledTooltip} placement="top">${input}</axebow-tooltip>` : input}
|
|
10293
10296
|
${field.hasError && field.errorMessage ? html`<span class="text-sm text-(--axebow-error) text-center mt-1 leading-tight">${field.errorMessage}</span>` : html`<span class="text-sm text-(--axebow-gray, #6b7280) text-center mt-1">${field.unit}</span>`}
|
|
10294
10297
|
</div>
|
|
10295
10298
|
`;
|