@wcardinal/wcardinal-ui 0.387.0 → 0.389.0
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/types/wcardinal/ui/d-dialog-select.d.ts +14 -6
- package/dist/types/wcardinal/ui/index.d.ts +0 -2
- package/dist/types/wcardinal/ui/shape/e-shape-points-formatter-datum.d.ts +5 -0
- package/dist/types/wcardinal/ui/shape/e-shape-points-formatters.d.ts +3 -4
- package/dist/types/wcardinal/ui/shape/index.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-dialog-select.d.ts +2 -0
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-en-us-dialog-select.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-ja-jp-dialog-select.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/dark/e-theme-dark-en-us-shape-points-formatter.d.ts +4 -0
- package/dist/types/wcardinal/ui/theme/dark/e-theme-dark-ja-jp-shape-points-formatter.d.ts +4 -0
- package/dist/types/wcardinal/ui/theme/dark/e-theme-dark-shape-points-formatter.d.ts +4 -0
- package/dist/types/wcardinal/ui/theme/dark/index-en-us.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/dark/index-ja-jp.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/dark/index-zz-zz.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/dark/load/index-en-us.d.ts +2 -0
- package/dist/types/wcardinal/ui/theme/dark/load/index-ja-jp.d.ts +2 -0
- package/dist/types/wcardinal/ui/theme/dark/load/index-zz-zz.d.ts +0 -1
- package/dist/types/wcardinal/ui/theme/dark/load/load-theme-dark-en-us-diagram.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/dark/load/load-theme-dark-en-us-shape-points-formatter.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/dark/load/load-theme-dark-ja-jp-diagram.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/dark/load/load-theme-dark-ja-jp-shape-points-formatter.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-dialog-select.d.ts +2 -0
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-en-us-dialog-select.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-ja-jp-dialog-select.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/white/e-theme-white-en-us-shape-points-formatter.d.ts +4 -0
- package/dist/types/wcardinal/ui/theme/white/e-theme-white-ja-jp-shape-points-formatter.d.ts +4 -0
- package/dist/types/wcardinal/ui/theme/white/e-theme-white-shape-points-formatter.d.ts +4 -0
- package/dist/types/wcardinal/ui/theme/white/index-en-us.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/white/index-ja-jp.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/white/index-zz-zz.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/white/load/index-en-us.d.ts +2 -0
- package/dist/types/wcardinal/ui/theme/white/load/index-ja-jp.d.ts +2 -0
- package/dist/types/wcardinal/ui/theme/white/load/index-zz-zz.d.ts +0 -1
- package/dist/types/wcardinal/ui/theme/white/load/load-theme-white-en-us-diagram.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/white/load/load-theme-white-en-us-shape-points-formatter.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/white/load/load-theme-white-ja-jp-diagram.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/white/load/load-theme-white-ja-jp-shape-points-formatter.d.ts +1 -0
- package/dist/wcardinal/ui/d-dialog-select.js +77 -97
- package/dist/wcardinal/ui/d-dialog-select.js.map +1 -1
- package/dist/wcardinal/ui/index.js +0 -2
- package/dist/wcardinal/ui/index.js.map +1 -1
- package/dist/wcardinal/ui/{d-dialog-select-search-dismissable.js → shape/e-shape-points-formatter-datum.js} +1 -1
- package/dist/wcardinal/ui/shape/e-shape-points-formatter-datum.js.map +1 -0
- package/dist/wcardinal/ui/shape/e-shape-points-formatters.js +3 -1
- package/dist/wcardinal/ui/shape/e-shape-points-formatters.js.map +1 -1
- package/dist/wcardinal/ui/shape/index.js +1 -0
- package/dist/wcardinal/ui/shape/index.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-dialog-select.js +3 -0
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-dialog-select.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-en-us-dialog-select.js +3 -0
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-en-us-dialog-select.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-ja-jp-dialog-select.js +3 -0
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-ja-jp-dialog-select.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/e-theme-dark-en-us-shape-points-formatter.js +14 -0
- package/dist/wcardinal/ui/theme/dark/e-theme-dark-en-us-shape-points-formatter.js.map +1 -0
- package/dist/wcardinal/ui/theme/dark/e-theme-dark-ja-jp-shape-points-formatter.js +14 -0
- package/dist/wcardinal/ui/theme/dark/e-theme-dark-ja-jp-shape-points-formatter.js.map +1 -0
- package/dist/wcardinal/ui/theme/dark/e-theme-dark-shape-points-formatter.js +7 -0
- package/dist/wcardinal/ui/theme/dark/e-theme-dark-shape-points-formatter.js.map +1 -0
- package/dist/wcardinal/ui/theme/dark/index-en-us.js +1 -0
- package/dist/wcardinal/ui/theme/dark/index-en-us.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/index-ja-jp.js +1 -0
- package/dist/wcardinal/ui/theme/dark/index-ja-jp.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/index-zz-zz.js +1 -0
- package/dist/wcardinal/ui/theme/dark/index-zz-zz.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/load/index-en-us.js +2 -0
- package/dist/wcardinal/ui/theme/dark/load/index-en-us.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/load/index-ja-jp.js +2 -0
- package/dist/wcardinal/ui/theme/dark/load/index-ja-jp.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/load/index-zz-zz.js +0 -1
- package/dist/wcardinal/ui/theme/dark/load/index-zz-zz.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-en-us-all.js +2 -2
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-en-us-all.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-en-us-diagram-editor.js +2 -0
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-en-us-diagram-editor.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/load/{load-theme-dark-diagram.js → load-theme-dark-en-us-diagram.js} +4 -2
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-en-us-diagram.js.map +1 -0
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-en-us-shape-points-formatter.js +10 -0
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-en-us-shape-points-formatter.js.map +1 -0
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-ja-jp-all.js +2 -2
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-ja-jp-all.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-ja-jp-diagram-editor.js +2 -0
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-ja-jp-diagram-editor.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-ja-jp-diagram.js +16 -0
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-ja-jp-diagram.js.map +1 -0
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-ja-jp-shape-points-formatter.js +10 -0
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-ja-jp-shape-points-formatter.js.map +1 -0
- package/dist/wcardinal/ui/theme/white/d-theme-white-dialog-select.js +3 -0
- package/dist/wcardinal/ui/theme/white/d-theme-white-dialog-select.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-en-us-dialog-select.js +3 -0
- package/dist/wcardinal/ui/theme/white/d-theme-white-en-us-dialog-select.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-ja-jp-dialog-select.js +3 -0
- package/dist/wcardinal/ui/theme/white/d-theme-white-ja-jp-dialog-select.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/e-theme-white-en-us-shape-points-formatter.js +14 -0
- package/dist/wcardinal/ui/theme/white/e-theme-white-en-us-shape-points-formatter.js.map +1 -0
- package/dist/wcardinal/ui/theme/white/e-theme-white-ja-jp-shape-points-formatter.js +14 -0
- package/dist/wcardinal/ui/theme/white/e-theme-white-ja-jp-shape-points-formatter.js.map +1 -0
- package/dist/wcardinal/ui/theme/white/e-theme-white-shape-points-formatter.js +7 -0
- package/dist/wcardinal/ui/theme/white/e-theme-white-shape-points-formatter.js.map +1 -0
- package/dist/wcardinal/ui/theme/white/index-en-us.js +1 -0
- package/dist/wcardinal/ui/theme/white/index-en-us.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/index-ja-jp.js +1 -0
- package/dist/wcardinal/ui/theme/white/index-ja-jp.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/index-zz-zz.js +1 -0
- package/dist/wcardinal/ui/theme/white/index-zz-zz.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/load/index-en-us.js +2 -0
- package/dist/wcardinal/ui/theme/white/load/index-en-us.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/load/index-ja-jp.js +2 -0
- package/dist/wcardinal/ui/theme/white/load/index-ja-jp.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/load/index-zz-zz.js +0 -1
- package/dist/wcardinal/ui/theme/white/load/index-zz-zz.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-en-us-all.js +2 -2
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-en-us-all.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-en-us-diagram-editor.js +2 -0
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-en-us-diagram-editor.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/load/{load-theme-white-diagram.js → load-theme-white-en-us-diagram.js} +4 -2
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-en-us-diagram.js.map +1 -0
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-en-us-shape-points-formatter.js +10 -0
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-en-us-shape-points-formatter.js.map +1 -0
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-ja-jp-all.js +2 -2
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-ja-jp-all.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-ja-jp-diagram-editor.js +2 -0
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-ja-jp-diagram-editor.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-ja-jp-diagram.js +16 -0
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-ja-jp-diagram.js.map +1 -0
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-ja-jp-shape-points-formatter.js +10 -0
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-ja-jp-shape-points-formatter.js.map +1 -0
- package/dist/wcardinal-ui-theme-dark-en-us.js +197 -161
- package/dist/wcardinal-ui-theme-dark-en-us.min.js +2 -2
- package/dist/wcardinal-ui-theme-dark-en-us.min.js.map +1 -1
- package/dist/wcardinal-ui-theme-dark-ja-jp.js +197 -161
- package/dist/wcardinal-ui-theme-dark-ja-jp.min.js +2 -2
- package/dist/wcardinal-ui-theme-dark-ja-jp.min.js.map +1 -1
- package/dist/wcardinal-ui-theme-dark.js +197 -161
- package/dist/wcardinal-ui-theme-dark.min.js +2 -2
- package/dist/wcardinal-ui-theme-white-en-us.js +193 -157
- package/dist/wcardinal-ui-theme-white-en-us.min.js +2 -2
- package/dist/wcardinal-ui-theme-white-en-us.min.js.map +1 -1
- package/dist/wcardinal-ui-theme-white-ja-jp.js +193 -157
- package/dist/wcardinal-ui-theme-white-ja-jp.min.js +2 -2
- package/dist/wcardinal-ui-theme-white-ja-jp.min.js.map +1 -1
- package/dist/wcardinal-ui-theme-white.js +193 -157
- package/dist/wcardinal-ui-theme-white.min.js +2 -2
- package/dist/wcardinal-ui.cjs.js +537 -469
- package/dist/wcardinal-ui.js +79 -157
- package/dist/wcardinal-ui.min.js +2 -2
- package/dist/wcardinal-ui.min.js.map +1 -1
- package/package.json +1 -1
- package/dist/types/wcardinal/ui/d-dialog-select-search-dismissable-impl.d.ts +0 -14
- package/dist/types/wcardinal/ui/d-dialog-select-search-dismissable.d.ts +0 -11
- package/dist/types/wcardinal/ui/theme/dark/load/load-theme-dark-diagram.d.ts +0 -1
- package/dist/types/wcardinal/ui/theme/white/load/load-theme-white-diagram.d.ts +0 -1
- package/dist/wcardinal/ui/d-dialog-select-search-dismissable-impl.js +0 -61
- package/dist/wcardinal/ui/d-dialog-select-search-dismissable-impl.js.map +0 -1
- package/dist/wcardinal/ui/d-dialog-select-search-dismissable.js.map +0 -1
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-diagram.js.map +0 -1
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-diagram.js.map +0 -1
package/dist/wcardinal-ui.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
Winter Cardinal UI v0.
|
|
2
|
+
Winter Cardinal UI v0.389.0
|
|
3
3
|
Copyright (C) 2019 Toshiba Corporation
|
|
4
4
|
SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
|
|
@@ -19553,8 +19553,9 @@
|
|
|
19553
19553
|
};
|
|
19554
19554
|
EShapePointsFormatters.newData = function () {
|
|
19555
19555
|
var result = new Map();
|
|
19556
|
+
var theme = DThemes.get("EShapePointsFormatter");
|
|
19556
19557
|
result.set(EShapePointsStyle.FORMATTER_CURVE, {
|
|
19557
|
-
label:
|
|
19558
|
+
label: theme.getCurveLabel(),
|
|
19558
19559
|
formatter: eShapePointsFormatterCurve
|
|
19559
19560
|
});
|
|
19560
19561
|
return result;
|
|
@@ -55293,64 +55294,6 @@
|
|
|
55293
55294
|
return DNoteSmallSearching;
|
|
55294
55295
|
}(DNoteSmall));
|
|
55295
55296
|
|
|
55296
|
-
/*
|
|
55297
|
-
* Copyright (C) 2019 Toshiba Corporation
|
|
55298
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
55299
|
-
*/
|
|
55300
|
-
var DDialogSelectSearhDismissableImpl = /** @class */ (function (_super) {
|
|
55301
|
-
__extends(DDialogSelectSearhDismissableImpl, _super);
|
|
55302
|
-
function DDialogSelectSearhDismissableImpl(target, options) {
|
|
55303
|
-
var _this = _super.call(this) || this;
|
|
55304
|
-
_this._target = target;
|
|
55305
|
-
_this._value = options.value;
|
|
55306
|
-
_this._filter = options.filter;
|
|
55307
|
-
target.on("change", function () {
|
|
55308
|
-
_this.emit("change", _this);
|
|
55309
|
-
});
|
|
55310
|
-
target.on("success", function (e, values) {
|
|
55311
|
-
_this.emit("success", _this, _this.toDismissable(values));
|
|
55312
|
-
});
|
|
55313
|
-
target.on("fail", function () {
|
|
55314
|
-
_this.emit("fail", _this);
|
|
55315
|
-
});
|
|
55316
|
-
return _this;
|
|
55317
|
-
}
|
|
55318
|
-
DDialogSelectSearhDismissableImpl.prototype.toDismissValue = function (args) {
|
|
55319
|
-
if (args == null) {
|
|
55320
|
-
return;
|
|
55321
|
-
}
|
|
55322
|
-
var value = this._value;
|
|
55323
|
-
if (value === undefined) {
|
|
55324
|
-
return;
|
|
55325
|
-
}
|
|
55326
|
-
var filter = this._filter;
|
|
55327
|
-
if (filter != null && !filter(value, args[0])) {
|
|
55328
|
-
return;
|
|
55329
|
-
}
|
|
55330
|
-
return value;
|
|
55331
|
-
};
|
|
55332
|
-
DDialogSelectSearhDismissableImpl.prototype.toDismissable = function (values) {
|
|
55333
|
-
var value = this.toDismissValue(this._args);
|
|
55334
|
-
if (value === undefined) {
|
|
55335
|
-
return values;
|
|
55336
|
-
}
|
|
55337
|
-
var result = [];
|
|
55338
|
-
for (var i = 0, imax = values.length; i < imax; ++i) {
|
|
55339
|
-
result.push(values[i]);
|
|
55340
|
-
}
|
|
55341
|
-
result.push(value);
|
|
55342
|
-
return result;
|
|
55343
|
-
};
|
|
55344
|
-
DDialogSelectSearhDismissableImpl.prototype.create = function (args) {
|
|
55345
|
-
this._args = args;
|
|
55346
|
-
this._target.create(args);
|
|
55347
|
-
};
|
|
55348
|
-
DDialogSelectSearhDismissableImpl.prototype.isDone = function () {
|
|
55349
|
-
return this._target.isDone();
|
|
55350
|
-
};
|
|
55351
|
-
return DDialogSelectSearhDismissableImpl;
|
|
55352
|
-
}(pixi_js.utils.EventEmitter));
|
|
55353
|
-
|
|
55354
55297
|
/*
|
|
55355
55298
|
* Copyright (C) 2019 Toshiba Corporation
|
|
55356
55299
|
* SPDX-License-Identifier: Apache-2.0
|
|
@@ -55396,17 +55339,13 @@
|
|
|
55396
55339
|
}
|
|
55397
55340
|
DDialogSelect.prototype.newContentChildren = function (theme, options) {
|
|
55398
55341
|
var result = _super.prototype.newContentChildren.call(this, theme, options);
|
|
55399
|
-
result.push(this.inputLayout, this.list);
|
|
55342
|
+
result.push(this.inputLayout, this.list, this.buttonDismiss);
|
|
55400
55343
|
return result;
|
|
55401
55344
|
};
|
|
55402
55345
|
Object.defineProperty(DDialogSelect.prototype, "inputLayout", {
|
|
55403
55346
|
get: function () {
|
|
55404
|
-
var
|
|
55405
|
-
|
|
55406
|
-
result = this.newInputLayout();
|
|
55407
|
-
this._inputLayout = result;
|
|
55408
|
-
}
|
|
55409
|
-
return result;
|
|
55347
|
+
var _a;
|
|
55348
|
+
return ((_a = this._inputLayout) !== null && _a !== void 0 ? _a : (this._inputLayout = this.newInputLayout()));
|
|
55410
55349
|
},
|
|
55411
55350
|
enumerable: false,
|
|
55412
55351
|
configurable: true
|
|
@@ -55415,33 +55354,9 @@
|
|
|
55415
55354
|
return new DLayoutHorizontal({
|
|
55416
55355
|
width: "padding",
|
|
55417
55356
|
height: "auto",
|
|
55418
|
-
children: [this.
|
|
55357
|
+
children: [this.selectCategory, this.input]
|
|
55419
55358
|
});
|
|
55420
55359
|
};
|
|
55421
|
-
Object.defineProperty(DDialogSelect.prototype, "spaceLeft", {
|
|
55422
|
-
get: function () {
|
|
55423
|
-
var result = this._spaceLeft;
|
|
55424
|
-
if (result == null) {
|
|
55425
|
-
result = this.newSpace();
|
|
55426
|
-
this._spaceLeft = result;
|
|
55427
|
-
}
|
|
55428
|
-
return result;
|
|
55429
|
-
},
|
|
55430
|
-
enumerable: false,
|
|
55431
|
-
configurable: true
|
|
55432
|
-
});
|
|
55433
|
-
Object.defineProperty(DDialogSelect.prototype, "spaceRight", {
|
|
55434
|
-
get: function () {
|
|
55435
|
-
var result = this._spaceRight;
|
|
55436
|
-
if (result == null) {
|
|
55437
|
-
result = this.newSpace();
|
|
55438
|
-
this._spaceRight = result;
|
|
55439
|
-
}
|
|
55440
|
-
return result;
|
|
55441
|
-
},
|
|
55442
|
-
enumerable: false,
|
|
55443
|
-
configurable: true
|
|
55444
|
-
});
|
|
55445
55360
|
DDialogSelect.prototype.newSpace = function () {
|
|
55446
55361
|
return new DLayoutSpace({
|
|
55447
55362
|
width: this.toInputMargin(this.theme, this._options)
|
|
@@ -55449,12 +55364,8 @@
|
|
|
55449
55364
|
};
|
|
55450
55365
|
Object.defineProperty(DDialogSelect.prototype, "selectCategory", {
|
|
55451
55366
|
get: function () {
|
|
55452
|
-
var
|
|
55453
|
-
|
|
55454
|
-
result = this.newSelectCategory();
|
|
55455
|
-
this._selectCategory = result;
|
|
55456
|
-
}
|
|
55457
|
-
return result;
|
|
55367
|
+
var _a;
|
|
55368
|
+
return ((_a = this._selectCategory) !== null && _a !== void 0 ? _a : (this._selectCategory = this.newSelectCategory()));
|
|
55458
55369
|
},
|
|
55459
55370
|
enumerable: false,
|
|
55460
55371
|
configurable: true
|
|
@@ -55482,12 +55393,8 @@
|
|
|
55482
55393
|
};
|
|
55483
55394
|
Object.defineProperty(DDialogSelect.prototype, "input", {
|
|
55484
55395
|
get: function () {
|
|
55485
|
-
var
|
|
55486
|
-
|
|
55487
|
-
result = this.newInput();
|
|
55488
|
-
this._input = result;
|
|
55489
|
-
}
|
|
55490
|
-
return result;
|
|
55396
|
+
var _a;
|
|
55397
|
+
return ((_a = this._input) !== null && _a !== void 0 ? _a : (this._input = this.newInput()));
|
|
55491
55398
|
},
|
|
55492
55399
|
enumerable: false,
|
|
55493
55400
|
configurable: true
|
|
@@ -55521,12 +55428,8 @@
|
|
|
55521
55428
|
};
|
|
55522
55429
|
Object.defineProperty(DDialogSelect.prototype, "list", {
|
|
55523
55430
|
get: function () {
|
|
55524
|
-
var
|
|
55525
|
-
|
|
55526
|
-
result = this.newList();
|
|
55527
|
-
this._list = result;
|
|
55528
|
-
}
|
|
55529
|
-
return result;
|
|
55431
|
+
var _a;
|
|
55432
|
+
return ((_a = this._list) !== null && _a !== void 0 ? _a : (this._list = this.newList()));
|
|
55530
55433
|
},
|
|
55531
55434
|
enumerable: false,
|
|
55532
55435
|
configurable: true
|
|
@@ -55544,15 +55447,6 @@
|
|
|
55544
55447
|
if (selected == null) {
|
|
55545
55448
|
return;
|
|
55546
55449
|
}
|
|
55547
|
-
var options = this._options;
|
|
55548
|
-
if (options) {
|
|
55549
|
-
var dismiss = options.dismiss;
|
|
55550
|
-
if (dismiss) {
|
|
55551
|
-
if (selected === dismiss.value) {
|
|
55552
|
-
selected = null;
|
|
55553
|
-
}
|
|
55554
|
-
}
|
|
55555
|
-
}
|
|
55556
55450
|
this._value = selected;
|
|
55557
55451
|
this.onOk(selected);
|
|
55558
55452
|
};
|
|
@@ -55565,12 +55459,8 @@
|
|
|
55565
55459
|
};
|
|
55566
55460
|
Object.defineProperty(DDialogSelect.prototype, "noteError", {
|
|
55567
55461
|
get: function () {
|
|
55568
|
-
var
|
|
55569
|
-
|
|
55570
|
-
result = this.newNoteError();
|
|
55571
|
-
this._noteError = result;
|
|
55572
|
-
}
|
|
55573
|
-
return result;
|
|
55462
|
+
var _a;
|
|
55463
|
+
return ((_a = this._noteError) !== null && _a !== void 0 ? _a : (this._noteError = this.newNoteError()));
|
|
55574
55464
|
},
|
|
55575
55465
|
enumerable: false,
|
|
55576
55466
|
configurable: true
|
|
@@ -55585,12 +55475,8 @@
|
|
|
55585
55475
|
};
|
|
55586
55476
|
Object.defineProperty(DDialogSelect.prototype, "noteNoItemsFound", {
|
|
55587
55477
|
get: function () {
|
|
55588
|
-
var
|
|
55589
|
-
|
|
55590
|
-
result = this.newNoteNoItemsFound();
|
|
55591
|
-
this._noteNoItemsFound = result;
|
|
55592
|
-
}
|
|
55593
|
-
return result;
|
|
55478
|
+
var _a;
|
|
55479
|
+
return ((_a = this._noteNoItemsFound) !== null && _a !== void 0 ? _a : (this._noteNoItemsFound = this.newNoteNoItemsFound()));
|
|
55594
55480
|
},
|
|
55595
55481
|
enumerable: false,
|
|
55596
55482
|
configurable: true
|
|
@@ -55605,12 +55491,8 @@
|
|
|
55605
55491
|
};
|
|
55606
55492
|
Object.defineProperty(DDialogSelect.prototype, "noteSearching", {
|
|
55607
55493
|
get: function () {
|
|
55608
|
-
var
|
|
55609
|
-
|
|
55610
|
-
result = this.newNoteSearching();
|
|
55611
|
-
this._noteSearching = result;
|
|
55612
|
-
}
|
|
55613
|
-
return result;
|
|
55494
|
+
var _a;
|
|
55495
|
+
return ((_a = this._noteSearching) !== null && _a !== void 0 ? _a : (this._noteSearching = this.newNoteSearching()));
|
|
55614
55496
|
},
|
|
55615
55497
|
enumerable: false,
|
|
55616
55498
|
configurable: true
|
|
@@ -55643,12 +55525,8 @@
|
|
|
55643
55525
|
};
|
|
55644
55526
|
Object.defineProperty(DDialogSelect.prototype, "search", {
|
|
55645
55527
|
get: function () {
|
|
55646
|
-
var
|
|
55647
|
-
|
|
55648
|
-
result = this.newSearch();
|
|
55649
|
-
this._search = result;
|
|
55650
|
-
}
|
|
55651
|
-
return result;
|
|
55528
|
+
var _a;
|
|
55529
|
+
return ((_a = this._search) !== null && _a !== void 0 ? _a : (this._search = this.newSearch()));
|
|
55652
55530
|
},
|
|
55653
55531
|
enumerable: false,
|
|
55654
55532
|
configurable: true
|
|
@@ -55658,28 +55536,73 @@
|
|
|
55658
55536
|
if (options) {
|
|
55659
55537
|
var controller = options.controller;
|
|
55660
55538
|
if (controller) {
|
|
55661
|
-
var dismiss = options.dismiss;
|
|
55662
55539
|
var search = controller.search;
|
|
55663
55540
|
if ("create" in search) {
|
|
55664
|
-
|
|
55665
|
-
return new DDialogSelectSearhDismissableImpl(search, dismiss);
|
|
55666
|
-
}
|
|
55667
|
-
else {
|
|
55668
|
-
return search;
|
|
55669
|
-
}
|
|
55541
|
+
return search;
|
|
55670
55542
|
}
|
|
55671
55543
|
else {
|
|
55672
|
-
|
|
55673
|
-
return new DDialogSelectSearhDismissableImpl(new DDialogSelectSearhImpl(search), dismiss);
|
|
55674
|
-
}
|
|
55675
|
-
else {
|
|
55676
|
-
return new DDialogSelectSearhImpl(search);
|
|
55677
|
-
}
|
|
55544
|
+
return new DDialogSelectSearhImpl(search);
|
|
55678
55545
|
}
|
|
55679
55546
|
}
|
|
55680
55547
|
}
|
|
55681
55548
|
return new DDialogSelectSearhImpl();
|
|
55682
55549
|
};
|
|
55550
|
+
Object.defineProperty(DDialogSelect.prototype, "buttonDismiss", {
|
|
55551
|
+
get: function () {
|
|
55552
|
+
var result = this._buttonDismiss;
|
|
55553
|
+
if (result === undefined) {
|
|
55554
|
+
result = this.newButtonDismiss();
|
|
55555
|
+
this._buttonDismiss = result;
|
|
55556
|
+
}
|
|
55557
|
+
return result;
|
|
55558
|
+
},
|
|
55559
|
+
enumerable: false,
|
|
55560
|
+
configurable: true
|
|
55561
|
+
});
|
|
55562
|
+
DDialogSelect.prototype.newButtonDismiss = function () {
|
|
55563
|
+
var _this = this;
|
|
55564
|
+
var options = this.toButtonDismissOptions(this._options);
|
|
55565
|
+
if (options.enabled === true) {
|
|
55566
|
+
var result = new DButton(options);
|
|
55567
|
+
result.on("active", function () {
|
|
55568
|
+
_this._value = null;
|
|
55569
|
+
_this.onOk(null);
|
|
55570
|
+
});
|
|
55571
|
+
return result;
|
|
55572
|
+
}
|
|
55573
|
+
return null;
|
|
55574
|
+
};
|
|
55575
|
+
DDialogSelect.prototype.toButtonDismissOptions = function (options) {
|
|
55576
|
+
var theme = this.theme;
|
|
55577
|
+
if (options != null) {
|
|
55578
|
+
var dismiss = options.dismiss;
|
|
55579
|
+
if (dismiss != null) {
|
|
55580
|
+
if (dismiss.enabled === undefined) {
|
|
55581
|
+
dismiss.enabled = theme.isDismissable();
|
|
55582
|
+
}
|
|
55583
|
+
if (dismiss.weight === undefined && dismiss.width === undefined) {
|
|
55584
|
+
dismiss.width = "padding";
|
|
55585
|
+
}
|
|
55586
|
+
var text = dismiss.text;
|
|
55587
|
+
if (text === undefined) {
|
|
55588
|
+
dismiss.text = {
|
|
55589
|
+
value: theme.getDismissLabel()
|
|
55590
|
+
};
|
|
55591
|
+
}
|
|
55592
|
+
else if (text.value === undefined) {
|
|
55593
|
+
text.value = theme.getDismissLabel();
|
|
55594
|
+
}
|
|
55595
|
+
return dismiss;
|
|
55596
|
+
}
|
|
55597
|
+
}
|
|
55598
|
+
return {
|
|
55599
|
+
width: "padding",
|
|
55600
|
+
enabled: theme.isDismissable(),
|
|
55601
|
+
text: {
|
|
55602
|
+
value: theme.getDismissLabel()
|
|
55603
|
+
}
|
|
55604
|
+
};
|
|
55605
|
+
};
|
|
55683
55606
|
Object.defineProperty(DDialogSelect.prototype, "value", {
|
|
55684
55607
|
get: function () {
|
|
55685
55608
|
return this._value;
|
|
@@ -76583,7 +76506,6 @@
|
|
|
76583
76506
|
DDialogSelectListItemUpdater: DDialogSelectListItemUpdater,
|
|
76584
76507
|
DDialogSelectListItem: DDialogSelectListItem,
|
|
76585
76508
|
DDialogSelectList: DDialogSelectList,
|
|
76586
|
-
DDialogSelectSearhDismissableImpl: DDialogSelectSearhDismissableImpl,
|
|
76587
76509
|
DDialogSelectSearhImpl: DDialogSelectSearhImpl,
|
|
76588
76510
|
DDialogSelect: DDialogSelect,
|
|
76589
76511
|
DDialogState: DDialogState,
|