@kumori/aurora-wui-components 0.0.296-dev4381 → 0.0.296-dev4381.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-input/axebow-plan-select-field.d.ts.map +1 -1
- package/dist/components/axebow-input/axebow-select-input.d.ts +1 -0
- package/dist/components/axebow-input/axebow-select-input.d.ts.map +1 -1
- package/dist/index.js +12 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"axebow-plan-select-field.d.ts","sourceRoot":"","sources":["../../../src/components/axebow-input/axebow-plan-select-field.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,UAAU,EAAa,MAAM,KAAK,CAAC;AAIlD,OAAO,uCAAuC,CAAC;AAC/C,OAAO,mBAAmB,CAAC;AAC3B,OAAO,mCAAmC,CAAC;AAC3C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAE7D,qBACa,qBAAsB,SAAQ,UAAU;IACnD,MAAM,CAAC,MAAM,4BAAyC;IAE3B,OAAO,EAAE,YAAY,EAAE,CAAM;IAC5B,KAAK,SAAM;IACX,mBAAmB,SAAM;IACzB,YAAY,SAAM;IAClB,eAAe,SAAM;IACrB,kBAAkB,SAAM;IACpB,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAE1D,OAAO,CAAC,YAAY;IAKpB,MAAM;
|
|
1
|
+
{"version":3,"file":"axebow-plan-select-field.d.ts","sourceRoot":"","sources":["../../../src/components/axebow-input/axebow-plan-select-field.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,UAAU,EAAa,MAAM,KAAK,CAAC;AAIlD,OAAO,uCAAuC,CAAC;AAC/C,OAAO,mBAAmB,CAAC;AAC3B,OAAO,mCAAmC,CAAC;AAC3C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAE7D,qBACa,qBAAsB,SAAQ,UAAU;IACnD,MAAM,CAAC,MAAM,4BAAyC;IAE3B,OAAO,EAAE,YAAY,EAAE,CAAM;IAC5B,KAAK,SAAM;IACX,mBAAmB,SAAM;IACzB,YAAY,SAAM;IAClB,eAAe,SAAM;IACrB,kBAAkB,SAAM;IACpB,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAE1D,OAAO,CAAC,YAAY;IAKpB,MAAM;CAoCP;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,0BAA0B,EAAE,qBAAqB,CAAC;KACnD;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"axebow-select-input.d.ts","sourceRoot":"","sources":["../../../src/components/axebow-input/axebow-select-input.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,cAAc,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAEhE,OAAO,2DAA2D,CAAC;AACnE,OAAO,2DAA2D,CAAC;AACnE,OAAO,2DAA2D,CAAC;AACnE,OAAO,mCAAmC,CAAC;AAC3C,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAEzD,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,GAAG,cAAc,CAAC;CAChC;AAED,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,EAAE,MAAM,CAAC;IACxB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;CACd;AAED,eAAO,MAAM,yBAAyB,EAAE,eASvC,CAAC;AAEF,qBACa,iBAAkB,SAAQ,eAAe;IACpD,MAAM,CAAC,MAAM,4BAwBX;IAE0B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IAEtB,OAAO,EAAE,YAAY,EAAE,CAAM;IAC3B,WAAW,UAAS;IACrB,WAAW,SAAkB;
|
|
1
|
+
{"version":3,"file":"axebow-select-input.d.ts","sourceRoot":"","sources":["../../../src/components/axebow-input/axebow-select-input.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,cAAc,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAEhE,OAAO,2DAA2D,CAAC;AACnE,OAAO,2DAA2D,CAAC;AACnE,OAAO,2DAA2D,CAAC;AACnE,OAAO,mCAAmC,CAAC;AAC3C,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAEzD,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,GAAG,cAAc,CAAC;CAChC;AAED,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,EAAE,MAAM,CAAC;IACxB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;CACd;AAED,eAAO,MAAM,yBAAyB,EAAE,eASvC,CAAC;AAEF,qBACa,iBAAkB,SAAQ,eAAe;IACpD,MAAM,CAAC,MAAM,4BAwBX;IAE0B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IAEtB,OAAO,EAAE,YAAY,EAAE,CAAM;IAC3B,WAAW,UAAS;IACrB,WAAW,SAAkB;IAC5B,cAAc,UAAS;IACxB,gBAAgB,SAAmB;IAClC,mBAAmB,UAAQ;IAC3B,SAAS,UAAQ;IACd,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,WAAW,CAAC,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;IACrF,eAAe,EAAE,eAAe,CAA6B;IAEpF,OAAO,CAAC,aAAa,CAAS;IAC9B,OAAO,CAAC,WAAW,CAAM;IACzB,OAAO,CAAC,kBAAkB,CAAM;IAEzC,OAAO,CAAC,OAAO,EAAE,cAAc;IAsB/B,OAAO,CAAC,kBAAkB;IAqB1B,OAAO,CAAC,UAAU;IAWlB,OAAO,CAAC,WAAW;IAuBnB,OAAO,CAAC,aAAa;IAIrB,OAAO,CAAC,cAAc;IAQtB,OAAO,CAAC,mBAAmB;IAO3B,MAAM;CAiEP"}
|
package/dist/index.js
CHANGED
|
@@ -3051,6 +3051,7 @@ var AxebowSelectInput = class AxebowSelectInput extends AxebowInputBase {
|
|
|
3051
3051
|
this.options = [];
|
|
3052
3052
|
this.allowAddNew = false;
|
|
3053
3053
|
this.addNewLabel = "+ Add new...";
|
|
3054
|
+
this.addNewDisabled = false;
|
|
3054
3055
|
this.emptyOptionLabel = "Select option";
|
|
3055
3056
|
this.showAddDialogInside = true;
|
|
3056
3057
|
this.clearable = true;
|
|
@@ -3176,7 +3177,10 @@ var AxebowSelectInput = class AxebowSelectInput extends AxebowInputBase {
|
|
|
3176
3177
|
?disabled="${this.disabled}"
|
|
3177
3178
|
?clearable=${this.clearable}
|
|
3178
3179
|
>
|
|
3179
|
-
${selectOptions.map((opt) => html`<sl-option
|
|
3180
|
+
${selectOptions.map((opt) => html`<sl-option
|
|
3181
|
+
value="${opt.value}"
|
|
3182
|
+
class="${opt.value === "__add_new__" ? "add-option" : ""}"
|
|
3183
|
+
?disabled=${opt.value === "__add_new__" && this.addNewDisabled}
|
|
3180
3184
|
>${opt.label}</sl-option
|
|
3181
3185
|
>`)}
|
|
3182
3186
|
</sl-select>
|
|
@@ -3220,6 +3224,7 @@ __decorate([property({ type: String })], AxebowSelectInput.prototype, "fixedHeig
|
|
|
3220
3224
|
__decorate([property({ type: Array })], AxebowSelectInput.prototype, "options", void 0);
|
|
3221
3225
|
__decorate([property({ type: Boolean })], AxebowSelectInput.prototype, "allowAddNew", void 0);
|
|
3222
3226
|
__decorate([property({ type: String })], AxebowSelectInput.prototype, "addNewLabel", void 0);
|
|
3227
|
+
__decorate([property({ type: Boolean })], AxebowSelectInput.prototype, "addNewDisabled", void 0);
|
|
3223
3228
|
__decorate([property({ type: String })], AxebowSelectInput.prototype, "emptyOptionLabel", void 0);
|
|
3224
3229
|
__decorate([property({ type: Boolean })], AxebowSelectInput.prototype, "showAddDialogInside", void 0);
|
|
3225
3230
|
__decorate([property({ type: Boolean })], AxebowSelectInput.prototype, "clearable", void 0);
|
|
@@ -3567,6 +3572,12 @@ var AxebowPlanSelectField = class AxebowPlanSelectField extends LitElement {
|
|
|
3567
3572
|
.clearable=${false}
|
|
3568
3573
|
.value=${this.value}
|
|
3569
3574
|
.options=${this.options}
|
|
3575
|
+
.disabled=${true}
|
|
3576
|
+
.allowAddNew=${true}
|
|
3577
|
+
.addNewDisabled=${true}
|
|
3578
|
+
addNewLabel="${this.createNewPlanLabel}"
|
|
3579
|
+
.showAddDialogInside=${false}
|
|
3580
|
+
.onAddNew=${() => this.onCreatePlan?.()}
|
|
3570
3581
|
.callback=${(e) => this.handleChange(e)}
|
|
3571
3582
|
>
|
|
3572
3583
|
</axebow-select-input-with-divider>
|