@serve.zone/catalog 2.3.0 → 2.5.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_ts_web/00_commitinfo_data.js +1 -1
- package/dist_ts_web/elements/index.d.ts +3 -0
- package/dist_ts_web/elements/index.js +5 -1
- package/dist_ts_web/elements/sz-config-overview.d.ts +14 -0
- package/dist_ts_web/elements/sz-config-overview.js +141 -0
- package/dist_ts_web/elements/sz-config-section.d.ts +38 -0
- package/dist_ts_web/elements/sz-config-section.js +638 -0
- package/dist_ts_web/elements/sz-demo-view-config.d.ts +11 -0
- package/dist_ts_web/elements/sz-demo-view-config.js +194 -0
- package/dist_watch/bundle.js +932 -158
- package/dist_watch/bundle.js.map +4 -4
- package/package.json +1 -1
- package/ts_web/00_commitinfo_data.ts +1 -1
- package/ts_web/elements/index.ts +5 -0
- package/ts_web/elements/sz-config-overview.ts +92 -0
- package/ts_web/elements/sz-config-section.ts +580 -0
- package/ts_web/elements/sz-demo-view-config.ts +165 -0
package/dist_watch/bundle.js
CHANGED
|
@@ -1397,7 +1397,7 @@ var init_Subscription = __esm({
|
|
|
1397
1397
|
this._finalizers = null;
|
|
1398
1398
|
}
|
|
1399
1399
|
Subscription2.prototype.unsubscribe = function() {
|
|
1400
|
-
var e_1,
|
|
1400
|
+
var e_1, _a47, e_2, _b;
|
|
1401
1401
|
var errors;
|
|
1402
1402
|
if (!this.closed) {
|
|
1403
1403
|
this.closed = true;
|
|
@@ -1414,7 +1414,7 @@ var init_Subscription = __esm({
|
|
|
1414
1414
|
e_1 = { error: e_1_1 };
|
|
1415
1415
|
} finally {
|
|
1416
1416
|
try {
|
|
1417
|
-
if (_parentage_1_1 && !_parentage_1_1.done && (
|
|
1417
|
+
if (_parentage_1_1 && !_parentage_1_1.done && (_a47 = _parentage_1.return)) _a47.call(_parentage_1);
|
|
1418
1418
|
} finally {
|
|
1419
1419
|
if (e_1) throw e_1.error;
|
|
1420
1420
|
}
|
|
@@ -1464,7 +1464,7 @@ var init_Subscription = __esm({
|
|
|
1464
1464
|
}
|
|
1465
1465
|
};
|
|
1466
1466
|
Subscription2.prototype.add = function(teardown) {
|
|
1467
|
-
var
|
|
1467
|
+
var _a47;
|
|
1468
1468
|
if (teardown && teardown !== this) {
|
|
1469
1469
|
if (this.closed) {
|
|
1470
1470
|
execFinalizer(teardown);
|
|
@@ -1475,7 +1475,7 @@ var init_Subscription = __esm({
|
|
|
1475
1475
|
}
|
|
1476
1476
|
teardown._addParent(this);
|
|
1477
1477
|
}
|
|
1478
|
-
(this._finalizers = (
|
|
1478
|
+
(this._finalizers = (_a47 = this._finalizers) !== null && _a47 !== void 0 ? _a47 : []).push(teardown);
|
|
1479
1479
|
}
|
|
1480
1480
|
}
|
|
1481
1481
|
};
|
|
@@ -1611,7 +1611,7 @@ function errorContext(cb) {
|
|
|
1611
1611
|
}
|
|
1612
1612
|
cb();
|
|
1613
1613
|
if (isRoot) {
|
|
1614
|
-
var
|
|
1614
|
+
var _a47 = context, errorThrown = _a47.errorThrown, error = _a47.error;
|
|
1615
1615
|
context = null;
|
|
1616
1616
|
if (errorThrown) {
|
|
1617
1617
|
throw error;
|
|
@@ -1862,8 +1862,8 @@ var init_pipe = __esm({
|
|
|
1862
1862
|
|
|
1863
1863
|
// node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/Observable.js
|
|
1864
1864
|
function getPromiseCtor(promiseCtor) {
|
|
1865
|
-
var
|
|
1866
|
-
return (
|
|
1865
|
+
var _a47;
|
|
1866
|
+
return (_a47 = promiseCtor !== null && promiseCtor !== void 0 ? promiseCtor : config.Promise) !== null && _a47 !== void 0 ? _a47 : Promise;
|
|
1867
1867
|
}
|
|
1868
1868
|
function isObserver(value2) {
|
|
1869
1869
|
return value2 && isFunction(value2.next) && isFunction(value2.error) && isFunction(value2.complete);
|
|
@@ -1897,7 +1897,7 @@ var init_Observable = __esm({
|
|
|
1897
1897
|
var _this = this;
|
|
1898
1898
|
var subscriber = isSubscriber(observerOrNext) ? observerOrNext : new SafeSubscriber(observerOrNext, error, complete);
|
|
1899
1899
|
errorContext(function() {
|
|
1900
|
-
var
|
|
1900
|
+
var _a47 = _this, operator = _a47.operator, source = _a47.source;
|
|
1901
1901
|
subscriber.add(operator ? operator.call(subscriber, source) : source ? _this._subscribe(subscriber) : _this._trySubscribe(subscriber));
|
|
1902
1902
|
});
|
|
1903
1903
|
return subscriber;
|
|
@@ -1929,8 +1929,8 @@ var init_Observable = __esm({
|
|
|
1929
1929
|
});
|
|
1930
1930
|
};
|
|
1931
1931
|
Observable2.prototype._subscribe = function(subscriber) {
|
|
1932
|
-
var
|
|
1933
|
-
return (
|
|
1932
|
+
var _a47;
|
|
1933
|
+
return (_a47 = this.source) === null || _a47 === void 0 ? void 0 : _a47.subscribe(subscriber);
|
|
1934
1934
|
};
|
|
1935
1935
|
Observable2.prototype[observable] = function() {
|
|
1936
1936
|
return this;
|
|
@@ -2031,11 +2031,11 @@ var init_OperatorSubscriber = __esm({
|
|
|
2031
2031
|
return _this;
|
|
2032
2032
|
}
|
|
2033
2033
|
OperatorSubscriber2.prototype.unsubscribe = function() {
|
|
2034
|
-
var
|
|
2034
|
+
var _a47;
|
|
2035
2035
|
if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) {
|
|
2036
2036
|
var closed_1 = this.closed;
|
|
2037
2037
|
_super.prototype.unsubscribe.call(this);
|
|
2038
|
-
!closed_1 && ((
|
|
2038
|
+
!closed_1 && ((_a47 = this.onFinalize) === null || _a47 === void 0 ? void 0 : _a47.call(this));
|
|
2039
2039
|
}
|
|
2040
2040
|
};
|
|
2041
2041
|
return OperatorSubscriber2;
|
|
@@ -2291,7 +2291,7 @@ var init_Subject = __esm({
|
|
|
2291
2291
|
Subject2.prototype.next = function(value2) {
|
|
2292
2292
|
var _this = this;
|
|
2293
2293
|
errorContext(function() {
|
|
2294
|
-
var e_1,
|
|
2294
|
+
var e_1, _a47;
|
|
2295
2295
|
_this._throwIfClosed();
|
|
2296
2296
|
if (!_this.isStopped) {
|
|
2297
2297
|
if (!_this.currentObservers) {
|
|
@@ -2306,7 +2306,7 @@ var init_Subject = __esm({
|
|
|
2306
2306
|
e_1 = { error: e_1_1 };
|
|
2307
2307
|
} finally {
|
|
2308
2308
|
try {
|
|
2309
|
-
if (_c && !_c.done && (
|
|
2309
|
+
if (_c && !_c.done && (_a47 = _b.return)) _a47.call(_b);
|
|
2310
2310
|
} finally {
|
|
2311
2311
|
if (e_1) throw e_1.error;
|
|
2312
2312
|
}
|
|
@@ -2347,8 +2347,8 @@ var init_Subject = __esm({
|
|
|
2347
2347
|
};
|
|
2348
2348
|
Object.defineProperty(Subject2.prototype, "observed", {
|
|
2349
2349
|
get: function() {
|
|
2350
|
-
var
|
|
2351
|
-
return ((
|
|
2350
|
+
var _a47;
|
|
2351
|
+
return ((_a47 = this.observers) === null || _a47 === void 0 ? void 0 : _a47.length) > 0;
|
|
2352
2352
|
},
|
|
2353
2353
|
enumerable: false,
|
|
2354
2354
|
configurable: true
|
|
@@ -2364,7 +2364,7 @@ var init_Subject = __esm({
|
|
|
2364
2364
|
};
|
|
2365
2365
|
Subject2.prototype._innerSubscribe = function(subscriber) {
|
|
2366
2366
|
var _this = this;
|
|
2367
|
-
var
|
|
2367
|
+
var _a47 = this, hasError = _a47.hasError, isStopped = _a47.isStopped, observers = _a47.observers;
|
|
2368
2368
|
if (hasError || isStopped) {
|
|
2369
2369
|
return EMPTY_SUBSCRIPTION;
|
|
2370
2370
|
}
|
|
@@ -2376,7 +2376,7 @@ var init_Subject = __esm({
|
|
|
2376
2376
|
});
|
|
2377
2377
|
};
|
|
2378
2378
|
Subject2.prototype._checkFinalizedStatuses = function(subscriber) {
|
|
2379
|
-
var
|
|
2379
|
+
var _a47 = this, hasError = _a47.hasError, thrownError = _a47.thrownError, isStopped = _a47.isStopped;
|
|
2380
2380
|
if (hasError) {
|
|
2381
2381
|
subscriber.error(thrownError);
|
|
2382
2382
|
} else if (isStopped) {
|
|
@@ -2402,20 +2402,20 @@ var init_Subject = __esm({
|
|
|
2402
2402
|
return _this;
|
|
2403
2403
|
}
|
|
2404
2404
|
AnonymousSubject2.prototype.next = function(value2) {
|
|
2405
|
-
var
|
|
2406
|
-
(_b = (
|
|
2405
|
+
var _a47, _b;
|
|
2406
|
+
(_b = (_a47 = this.destination) === null || _a47 === void 0 ? void 0 : _a47.next) === null || _b === void 0 ? void 0 : _b.call(_a47, value2);
|
|
2407
2407
|
};
|
|
2408
2408
|
AnonymousSubject2.prototype.error = function(err) {
|
|
2409
|
-
var
|
|
2410
|
-
(_b = (
|
|
2409
|
+
var _a47, _b;
|
|
2410
|
+
(_b = (_a47 = this.destination) === null || _a47 === void 0 ? void 0 : _a47.error) === null || _b === void 0 ? void 0 : _b.call(_a47, err);
|
|
2411
2411
|
};
|
|
2412
2412
|
AnonymousSubject2.prototype.complete = function() {
|
|
2413
|
-
var
|
|
2414
|
-
(_b = (
|
|
2413
|
+
var _a47, _b;
|
|
2414
|
+
(_b = (_a47 = this.destination) === null || _a47 === void 0 ? void 0 : _a47.complete) === null || _b === void 0 ? void 0 : _b.call(_a47);
|
|
2415
2415
|
};
|
|
2416
2416
|
AnonymousSubject2.prototype._subscribe = function(subscriber) {
|
|
2417
|
-
var
|
|
2418
|
-
return (_b = (
|
|
2417
|
+
var _a47, _b;
|
|
2418
|
+
return (_b = (_a47 = this.source) === null || _a47 === void 0 ? void 0 : _a47.subscribe(subscriber)) !== null && _b !== void 0 ? _b : EMPTY_SUBSCRIPTION;
|
|
2419
2419
|
};
|
|
2420
2420
|
return AnonymousSubject2;
|
|
2421
2421
|
})(Subject);
|
|
@@ -2448,7 +2448,7 @@ var init_BehaviorSubject = __esm({
|
|
|
2448
2448
|
return subscription;
|
|
2449
2449
|
};
|
|
2450
2450
|
BehaviorSubject2.prototype.getValue = function() {
|
|
2451
|
-
var
|
|
2451
|
+
var _a47 = this, hasError = _a47.hasError, thrownError = _a47.thrownError, _value2 = _a47._value;
|
|
2452
2452
|
if (hasError) {
|
|
2453
2453
|
throw thrownError;
|
|
2454
2454
|
}
|
|
@@ -2507,7 +2507,7 @@ var init_ReplaySubject = __esm({
|
|
|
2507
2507
|
return _this;
|
|
2508
2508
|
}
|
|
2509
2509
|
ReplaySubject2.prototype.next = function(value2) {
|
|
2510
|
-
var
|
|
2510
|
+
var _a47 = this, isStopped = _a47.isStopped, _buffer = _a47._buffer, _infiniteTimeWindow = _a47._infiniteTimeWindow, _timestampProvider = _a47._timestampProvider, _windowTime = _a47._windowTime;
|
|
2511
2511
|
if (!isStopped) {
|
|
2512
2512
|
_buffer.push(value2);
|
|
2513
2513
|
!_infiniteTimeWindow && _buffer.push(_timestampProvider.now() + _windowTime);
|
|
@@ -2519,7 +2519,7 @@ var init_ReplaySubject = __esm({
|
|
|
2519
2519
|
this._throwIfClosed();
|
|
2520
2520
|
this._trimBuffer();
|
|
2521
2521
|
var subscription = this._innerSubscribe(subscriber);
|
|
2522
|
-
var
|
|
2522
|
+
var _a47 = this, _infiniteTimeWindow = _a47._infiniteTimeWindow, _buffer = _a47._buffer;
|
|
2523
2523
|
var copy = _buffer.slice();
|
|
2524
2524
|
for (var i11 = 0; i11 < copy.length && !subscriber.closed; i11 += _infiniteTimeWindow ? 1 : 2) {
|
|
2525
2525
|
subscriber.next(copy[i11]);
|
|
@@ -2528,7 +2528,7 @@ var init_ReplaySubject = __esm({
|
|
|
2528
2528
|
return subscription;
|
|
2529
2529
|
};
|
|
2530
2530
|
ReplaySubject2.prototype._trimBuffer = function() {
|
|
2531
|
-
var
|
|
2531
|
+
var _a47 = this, _bufferSize = _a47._bufferSize, _timestampProvider = _a47._timestampProvider, _buffer = _a47._buffer, _infiniteTimeWindow = _a47._infiniteTimeWindow;
|
|
2532
2532
|
var adjustedBufferSize = (_infiniteTimeWindow ? 1 : 2) * _bufferSize;
|
|
2533
2533
|
_bufferSize < Infinity && adjustedBufferSize < _buffer.length && _buffer.splice(0, _buffer.length - adjustedBufferSize);
|
|
2534
2534
|
if (!_infiniteTimeWindow) {
|
|
@@ -2561,7 +2561,7 @@ var init_AsyncSubject = __esm({
|
|
|
2561
2561
|
return _this;
|
|
2562
2562
|
}
|
|
2563
2563
|
AsyncSubject2.prototype._checkFinalizedStatuses = function(subscriber) {
|
|
2564
|
-
var
|
|
2564
|
+
var _a47 = this, hasError = _a47.hasError, _hasValue = _a47._hasValue, _value2 = _a47._value, thrownError = _a47.thrownError, isStopped = _a47.isStopped, _isComplete = _a47._isComplete;
|
|
2565
2565
|
if (hasError) {
|
|
2566
2566
|
subscriber.error(thrownError);
|
|
2567
2567
|
} else if (isStopped || _isComplete) {
|
|
@@ -2576,7 +2576,7 @@ var init_AsyncSubject = __esm({
|
|
|
2576
2576
|
}
|
|
2577
2577
|
};
|
|
2578
2578
|
AsyncSubject2.prototype.complete = function() {
|
|
2579
|
-
var
|
|
2579
|
+
var _a47 = this, _hasValue = _a47._hasValue, _value2 = _a47._value, _isComplete = _a47._isComplete;
|
|
2580
2580
|
if (!_isComplete) {
|
|
2581
2581
|
this._isComplete = true;
|
|
2582
2582
|
_hasValue && _super.prototype.next.call(this, _value2);
|
|
@@ -2654,7 +2654,7 @@ var init_AsyncAction = __esm({
|
|
|
2654
2654
|
return _this;
|
|
2655
2655
|
}
|
|
2656
2656
|
AsyncAction2.prototype.schedule = function(state, delay2) {
|
|
2657
|
-
var
|
|
2657
|
+
var _a47;
|
|
2658
2658
|
if (delay2 === void 0) {
|
|
2659
2659
|
delay2 = 0;
|
|
2660
2660
|
}
|
|
@@ -2669,7 +2669,7 @@ var init_AsyncAction = __esm({
|
|
|
2669
2669
|
}
|
|
2670
2670
|
this.pending = true;
|
|
2671
2671
|
this.delay = delay2;
|
|
2672
|
-
this.id = (
|
|
2672
|
+
this.id = (_a47 = this.id) !== null && _a47 !== void 0 ? _a47 : this.requestAsyncId(scheduler, this.id, delay2);
|
|
2673
2673
|
return this;
|
|
2674
2674
|
};
|
|
2675
2675
|
AsyncAction2.prototype.requestAsyncId = function(scheduler, _id, delay2) {
|
|
@@ -2718,7 +2718,7 @@ var init_AsyncAction = __esm({
|
|
|
2718
2718
|
};
|
|
2719
2719
|
AsyncAction2.prototype.unsubscribe = function() {
|
|
2720
2720
|
if (!this.closed) {
|
|
2721
|
-
var
|
|
2721
|
+
var _a47 = this, id = _a47.id, scheduler = _a47.scheduler;
|
|
2722
2722
|
var actions = scheduler.actions;
|
|
2723
2723
|
this.work = this.state = this.scheduler = null;
|
|
2724
2724
|
this.pending = false;
|
|
@@ -2823,7 +2823,7 @@ var init_AsapAction = __esm({
|
|
|
2823
2823
|
return scheduler._scheduled || (scheduler._scheduled = immediateProvider.setImmediate(scheduler.flush.bind(scheduler, void 0)));
|
|
2824
2824
|
};
|
|
2825
2825
|
AsapAction2.prototype.recycleAsyncId = function(scheduler, id, delay2) {
|
|
2826
|
-
var
|
|
2826
|
+
var _a47;
|
|
2827
2827
|
if (delay2 === void 0) {
|
|
2828
2828
|
delay2 = 0;
|
|
2829
2829
|
}
|
|
@@ -2831,7 +2831,7 @@ var init_AsapAction = __esm({
|
|
|
2831
2831
|
return _super.prototype.recycleAsyncId.call(this, scheduler, id, delay2);
|
|
2832
2832
|
}
|
|
2833
2833
|
var actions = scheduler.actions;
|
|
2834
|
-
if (id != null && ((
|
|
2834
|
+
if (id != null && ((_a47 = actions[actions.length - 1]) === null || _a47 === void 0 ? void 0 : _a47.id) !== id) {
|
|
2835
2835
|
immediateProvider.clearImmediate(id);
|
|
2836
2836
|
if (scheduler._scheduled === id) {
|
|
2837
2837
|
scheduler._scheduled = void 0;
|
|
@@ -3069,7 +3069,7 @@ var init_AnimationFrameAction = __esm({
|
|
|
3069
3069
|
}));
|
|
3070
3070
|
};
|
|
3071
3071
|
AnimationFrameAction2.prototype.recycleAsyncId = function(scheduler, id, delay2) {
|
|
3072
|
-
var
|
|
3072
|
+
var _a47;
|
|
3073
3073
|
if (delay2 === void 0) {
|
|
3074
3074
|
delay2 = 0;
|
|
3075
3075
|
}
|
|
@@ -3077,7 +3077,7 @@ var init_AnimationFrameAction = __esm({
|
|
|
3077
3077
|
return _super.prototype.recycleAsyncId.call(this, scheduler, id, delay2);
|
|
3078
3078
|
}
|
|
3079
3079
|
var actions = scheduler.actions;
|
|
3080
|
-
if (id != null && id === scheduler._scheduled && ((
|
|
3080
|
+
if (id != null && id === scheduler._scheduled && ((_a47 = actions[actions.length - 1]) === null || _a47 === void 0 ? void 0 : _a47.id) !== id) {
|
|
3081
3081
|
animationFrameProvider.cancelAnimationFrame(id);
|
|
3082
3082
|
scheduler._scheduled = void 0;
|
|
3083
3083
|
}
|
|
@@ -3166,7 +3166,7 @@ var init_VirtualTimeScheduler = __esm({
|
|
|
3166
3166
|
return _this;
|
|
3167
3167
|
}
|
|
3168
3168
|
VirtualTimeScheduler2.prototype.flush = function() {
|
|
3169
|
-
var
|
|
3169
|
+
var _a47 = this, actions = _a47.actions, maxFrames = _a47.maxFrames;
|
|
3170
3170
|
var error;
|
|
3171
3171
|
var action;
|
|
3172
3172
|
while ((action = actions[0]) && action.delay <= maxFrames) {
|
|
@@ -3386,7 +3386,7 @@ var init_isIterable = __esm({
|
|
|
3386
3386
|
// node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/isReadableStreamLike.js
|
|
3387
3387
|
function readableStreamLikeToAsyncGenerator(readableStream) {
|
|
3388
3388
|
return __asyncGenerator(this, arguments, function readableStreamLikeToAsyncGenerator_1() {
|
|
3389
|
-
var reader,
|
|
3389
|
+
var reader, _a47, value2, done;
|
|
3390
3390
|
return __generator(this, function(_b) {
|
|
3391
3391
|
switch (_b.label) {
|
|
3392
3392
|
case 0:
|
|
@@ -3399,7 +3399,7 @@ function readableStreamLikeToAsyncGenerator(readableStream) {
|
|
|
3399
3399
|
if (false) return [3, 8];
|
|
3400
3400
|
return [4, __await(reader.read())];
|
|
3401
3401
|
case 3:
|
|
3402
|
-
|
|
3402
|
+
_a47 = _b.sent(), value2 = _a47.value, done = _a47.done;
|
|
3403
3403
|
if (!done) return [3, 5];
|
|
3404
3404
|
return [4, __await(void 0)];
|
|
3405
3405
|
case 4:
|
|
@@ -3490,7 +3490,7 @@ function fromPromise(promise) {
|
|
|
3490
3490
|
}
|
|
3491
3491
|
function fromIterable(iterable) {
|
|
3492
3492
|
return new Observable(function(subscriber) {
|
|
3493
|
-
var e_1,
|
|
3493
|
+
var e_1, _a47;
|
|
3494
3494
|
try {
|
|
3495
3495
|
for (var iterable_1 = __values(iterable), iterable_1_1 = iterable_1.next(); !iterable_1_1.done; iterable_1_1 = iterable_1.next()) {
|
|
3496
3496
|
var value2 = iterable_1_1.value;
|
|
@@ -3503,7 +3503,7 @@ function fromIterable(iterable) {
|
|
|
3503
3503
|
e_1 = { error: e_1_1 };
|
|
3504
3504
|
} finally {
|
|
3505
3505
|
try {
|
|
3506
|
-
if (iterable_1_1 && !iterable_1_1.done && (
|
|
3506
|
+
if (iterable_1_1 && !iterable_1_1.done && (_a47 = iterable_1.return)) _a47.call(iterable_1);
|
|
3507
3507
|
} finally {
|
|
3508
3508
|
if (e_1) throw e_1.error;
|
|
3509
3509
|
}
|
|
@@ -3523,7 +3523,7 @@ function fromReadableStreamLike(readableStream) {
|
|
|
3523
3523
|
}
|
|
3524
3524
|
function process2(asyncIterable, subscriber) {
|
|
3525
3525
|
var asyncIterable_1, asyncIterable_1_1;
|
|
3526
|
-
var e_2,
|
|
3526
|
+
var e_2, _a47;
|
|
3527
3527
|
return __awaiter(this, void 0, void 0, function() {
|
|
3528
3528
|
var value2, e_2_1;
|
|
3529
3529
|
return __generator(this, function(_b) {
|
|
@@ -3552,8 +3552,8 @@ function process2(asyncIterable, subscriber) {
|
|
|
3552
3552
|
return [3, 11];
|
|
3553
3553
|
case 6:
|
|
3554
3554
|
_b.trys.push([6, , 9, 10]);
|
|
3555
|
-
if (!(asyncIterable_1_1 && !asyncIterable_1_1.done && (
|
|
3556
|
-
return [4,
|
|
3555
|
+
if (!(asyncIterable_1_1 && !asyncIterable_1_1.done && (_a47 = asyncIterable_1.return))) return [3, 8];
|
|
3556
|
+
return [4, _a47.call(asyncIterable_1)];
|
|
3557
3557
|
case 7:
|
|
3558
3558
|
_b.sent();
|
|
3559
3559
|
_b.label = 8;
|
|
@@ -3713,11 +3713,11 @@ function scheduleIterable(input, scheduler) {
|
|
|
3713
3713
|
executeSchedule(subscriber, scheduler, function() {
|
|
3714
3714
|
iterator2 = input[iterator]();
|
|
3715
3715
|
executeSchedule(subscriber, scheduler, function() {
|
|
3716
|
-
var
|
|
3716
|
+
var _a47;
|
|
3717
3717
|
var value2;
|
|
3718
3718
|
var done;
|
|
3719
3719
|
try {
|
|
3720
|
-
|
|
3720
|
+
_a47 = iterator2.next(), value2 = _a47.value, done = _a47.done;
|
|
3721
3721
|
} catch (err) {
|
|
3722
3722
|
subscriber.error(err);
|
|
3723
3723
|
return;
|
|
@@ -3871,12 +3871,12 @@ var init_throwError = __esm({
|
|
|
3871
3871
|
|
|
3872
3872
|
// node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/Notification.js
|
|
3873
3873
|
function observeNotification(notification, observer) {
|
|
3874
|
-
var
|
|
3874
|
+
var _a47, _b, _c;
|
|
3875
3875
|
var _d = notification, kind = _d.kind, value2 = _d.value, error = _d.error;
|
|
3876
3876
|
if (typeof kind !== "string") {
|
|
3877
3877
|
throw new TypeError('Invalid notification, missing "kind"');
|
|
3878
3878
|
}
|
|
3879
|
-
kind === "N" ? (
|
|
3879
|
+
kind === "N" ? (_a47 = observer.next) === null || _a47 === void 0 ? void 0 : _a47.call(observer, value2) : kind === "E" ? (_b = observer.error) === null || _b === void 0 ? void 0 : _b.call(observer, error) : (_c = observer.complete) === null || _c === void 0 ? void 0 : _c.call(observer);
|
|
3880
3880
|
}
|
|
3881
3881
|
var NotificationKind, Notification;
|
|
3882
3882
|
var init_Notification = __esm({
|
|
@@ -3901,15 +3901,15 @@ var init_Notification = __esm({
|
|
|
3901
3901
|
return observeNotification(this, observer);
|
|
3902
3902
|
};
|
|
3903
3903
|
Notification2.prototype.do = function(nextHandler, errorHandler, completeHandler) {
|
|
3904
|
-
var
|
|
3904
|
+
var _a47 = this, kind = _a47.kind, value2 = _a47.value, error = _a47.error;
|
|
3905
3905
|
return kind === "N" ? nextHandler === null || nextHandler === void 0 ? void 0 : nextHandler(value2) : kind === "E" ? errorHandler === null || errorHandler === void 0 ? void 0 : errorHandler(error) : completeHandler === null || completeHandler === void 0 ? void 0 : completeHandler();
|
|
3906
3906
|
};
|
|
3907
3907
|
Notification2.prototype.accept = function(nextOrObserver, error, complete) {
|
|
3908
|
-
var
|
|
3909
|
-
return isFunction((
|
|
3908
|
+
var _a47;
|
|
3909
|
+
return isFunction((_a47 = nextOrObserver) === null || _a47 === void 0 ? void 0 : _a47.next) ? this.observe(nextOrObserver) : this.do(nextOrObserver, error, complete);
|
|
3910
3910
|
};
|
|
3911
3911
|
Notification2.prototype.toObservable = function() {
|
|
3912
|
-
var
|
|
3912
|
+
var _a47 = this, kind = _a47.kind, value2 = _a47.value, error = _a47.error;
|
|
3913
3913
|
var result = kind === "N" ? of(value2) : kind === "E" ? throwError(function() {
|
|
3914
3914
|
return error;
|
|
3915
3915
|
}) : kind === "C" ? EMPTY : 0;
|
|
@@ -4022,7 +4022,7 @@ var init_isDate = __esm({
|
|
|
4022
4022
|
|
|
4023
4023
|
// node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/operators/timeout.js
|
|
4024
4024
|
function timeout(config3, schedulerArg) {
|
|
4025
|
-
var
|
|
4025
|
+
var _a47 = isValidDate(config3) ? { first: config3 } : typeof config3 === "number" ? { each: config3 } : config3, first2 = _a47.first, each = _a47.each, _b = _a47.with, _with = _b === void 0 ? timeoutErrorFactory : _b, _c = _a47.scheduler, scheduler = _c === void 0 ? schedulerArg !== null && schedulerArg !== void 0 ? schedulerArg : asyncScheduler : _c, _d = _a47.meta, meta = _d === void 0 ? null : _d;
|
|
4026
4026
|
if (first2 == null && each == null) {
|
|
4027
4027
|
throw new TypeError("No timeout provided.");
|
|
4028
4028
|
}
|
|
@@ -4300,11 +4300,11 @@ function fromEvent(target, eventName, options, resultSelector) {
|
|
|
4300
4300
|
if (resultSelector) {
|
|
4301
4301
|
return fromEvent(target, eventName, options).pipe(mapOneOrManyArgs(resultSelector));
|
|
4302
4302
|
}
|
|
4303
|
-
var
|
|
4303
|
+
var _a47 = __read(isEventTarget(target) ? eventTargetMethods.map(function(methodName) {
|
|
4304
4304
|
return function(handler2) {
|
|
4305
4305
|
return target[methodName](eventName, handler2, options);
|
|
4306
4306
|
};
|
|
4307
|
-
}) : isNodeStyleEventEmitter(target) ? nodeEventEmitterMethods.map(toCommonHandlerRegistry(target, eventName)) : isJQueryStyleEventEmitter(target) ? jqueryMethods.map(toCommonHandlerRegistry(target, eventName)) : [], 2), add3 =
|
|
4307
|
+
}) : isNodeStyleEventEmitter(target) ? nodeEventEmitterMethods.map(toCommonHandlerRegistry(target, eventName)) : isJQueryStyleEventEmitter(target) ? jqueryMethods.map(toCommonHandlerRegistry(target, eventName)) : [], 2), add3 = _a47[0], remove2 = _a47[1];
|
|
4308
4308
|
if (!add3) {
|
|
4309
4309
|
if (isArrayLike(target)) {
|
|
4310
4310
|
return mergeMap(function(subTarget) {
|
|
@@ -4562,7 +4562,7 @@ function bufferCount(bufferSize, startBufferEvery) {
|
|
|
4562
4562
|
var buffers = [];
|
|
4563
4563
|
var count2 = 0;
|
|
4564
4564
|
source.subscribe(createOperatorSubscriber(subscriber, function(value2) {
|
|
4565
|
-
var e_1,
|
|
4565
|
+
var e_1, _a47, e_2, _b;
|
|
4566
4566
|
var toEmit = null;
|
|
4567
4567
|
if (count2++ % startBufferEvery === 0) {
|
|
4568
4568
|
buffers.push([]);
|
|
@@ -4580,7 +4580,7 @@ function bufferCount(bufferSize, startBufferEvery) {
|
|
|
4580
4580
|
e_1 = { error: e_1_1 };
|
|
4581
4581
|
} finally {
|
|
4582
4582
|
try {
|
|
4583
|
-
if (buffers_1_1 && !buffers_1_1.done && (
|
|
4583
|
+
if (buffers_1_1 && !buffers_1_1.done && (_a47 = buffers_1.return)) _a47.call(buffers_1);
|
|
4584
4584
|
} finally {
|
|
4585
4585
|
if (e_1) throw e_1.error;
|
|
4586
4586
|
}
|
|
@@ -4603,7 +4603,7 @@ function bufferCount(bufferSize, startBufferEvery) {
|
|
|
4603
4603
|
}
|
|
4604
4604
|
}
|
|
4605
4605
|
}, function() {
|
|
4606
|
-
var e_3,
|
|
4606
|
+
var e_3, _a47;
|
|
4607
4607
|
try {
|
|
4608
4608
|
for (var buffers_2 = __values(buffers), buffers_2_1 = buffers_2.next(); !buffers_2_1.done; buffers_2_1 = buffers_2.next()) {
|
|
4609
4609
|
var buffer2 = buffers_2_1.value;
|
|
@@ -4613,7 +4613,7 @@ function bufferCount(bufferSize, startBufferEvery) {
|
|
|
4613
4613
|
e_3 = { error: e_3_1 };
|
|
4614
4614
|
} finally {
|
|
4615
4615
|
try {
|
|
4616
|
-
if (buffers_2_1 && !buffers_2_1.done && (
|
|
4616
|
+
if (buffers_2_1 && !buffers_2_1.done && (_a47 = buffers_2.return)) _a47.call(buffers_2);
|
|
4617
4617
|
} finally {
|
|
4618
4618
|
if (e_3) throw e_3.error;
|
|
4619
4619
|
}
|
|
@@ -4635,12 +4635,12 @@ var init_bufferCount = __esm({
|
|
|
4635
4635
|
|
|
4636
4636
|
// node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/operators/bufferTime.js
|
|
4637
4637
|
function bufferTime(bufferTimeSpan) {
|
|
4638
|
-
var
|
|
4638
|
+
var _a47, _b;
|
|
4639
4639
|
var otherArgs = [];
|
|
4640
4640
|
for (var _i = 1; _i < arguments.length; _i++) {
|
|
4641
4641
|
otherArgs[_i - 1] = arguments[_i];
|
|
4642
4642
|
}
|
|
4643
|
-
var scheduler = (
|
|
4643
|
+
var scheduler = (_a47 = popScheduler(otherArgs)) !== null && _a47 !== void 0 ? _a47 : asyncScheduler;
|
|
4644
4644
|
var bufferCreationInterval = (_b = otherArgs[0]) !== null && _b !== void 0 ? _b : null;
|
|
4645
4645
|
var maxBufferSize = otherArgs[1] || Infinity;
|
|
4646
4646
|
return operate(function(source, subscriber) {
|
|
@@ -4675,7 +4675,7 @@ function bufferTime(bufferTimeSpan) {
|
|
|
4675
4675
|
}
|
|
4676
4676
|
startBuffer();
|
|
4677
4677
|
var bufferTimeSubscriber = createOperatorSubscriber(subscriber, function(value2) {
|
|
4678
|
-
var e_1,
|
|
4678
|
+
var e_1, _a48;
|
|
4679
4679
|
var recordsCopy = bufferRecords.slice();
|
|
4680
4680
|
try {
|
|
4681
4681
|
for (var recordsCopy_1 = __values(recordsCopy), recordsCopy_1_1 = recordsCopy_1.next(); !recordsCopy_1_1.done; recordsCopy_1_1 = recordsCopy_1.next()) {
|
|
@@ -4688,7 +4688,7 @@ function bufferTime(bufferTimeSpan) {
|
|
|
4688
4688
|
e_1 = { error: e_1_1 };
|
|
4689
4689
|
} finally {
|
|
4690
4690
|
try {
|
|
4691
|
-
if (recordsCopy_1_1 && !recordsCopy_1_1.done && (
|
|
4691
|
+
if (recordsCopy_1_1 && !recordsCopy_1_1.done && (_a48 = recordsCopy_1.return)) _a48.call(recordsCopy_1);
|
|
4692
4692
|
} finally {
|
|
4693
4693
|
if (e_1) throw e_1.error;
|
|
4694
4694
|
}
|
|
@@ -5323,7 +5323,7 @@ var init_tap = __esm({
|
|
|
5323
5323
|
// node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/operators/throttle.js
|
|
5324
5324
|
function throttle(durationSelector, config3) {
|
|
5325
5325
|
return operate(function(source, subscriber) {
|
|
5326
|
-
var
|
|
5326
|
+
var _a47 = config3 !== null && config3 !== void 0 ? config3 : {}, _b = _a47.leading, leading = _b === void 0 ? true : _b, _c = _a47.trailing, trailing = _c === void 0 ? false : _c;
|
|
5327
5327
|
var hasValue = false;
|
|
5328
5328
|
var sendValue = null;
|
|
5329
5329
|
var throttled = null;
|
|
@@ -50059,7 +50059,7 @@ var require_sweet_scroll = __commonJS({
|
|
|
50059
50059
|
hash: null
|
|
50060
50060
|
};
|
|
50061
50061
|
this.loop = function(time) {
|
|
50062
|
-
var
|
|
50062
|
+
var _a47 = _this, $el = _a47.$el, ctx = _a47.ctx;
|
|
50063
50063
|
if (!ctx.start) {
|
|
50064
50064
|
ctx.start = time;
|
|
50065
50065
|
}
|
|
@@ -50154,7 +50154,7 @@ var require_sweet_scroll = __commonJS({
|
|
|
50154
50154
|
if (!canUseDOM) {
|
|
50155
50155
|
return;
|
|
50156
50156
|
}
|
|
50157
|
-
var
|
|
50157
|
+
var _a47 = this, $el = _a47.$el, ctx = _a47.ctx, currentOptions = _a47.opts;
|
|
50158
50158
|
var $trigger = ctx.$trigger;
|
|
50159
50159
|
var opts = __assign2({}, currentOptions, options || {});
|
|
50160
50160
|
var optOffset = opts.offset, vertical = opts.vertical, horizontal = opts.horizontal;
|
|
@@ -50221,7 +50221,7 @@ var require_sweet_scroll = __commonJS({
|
|
|
50221
50221
|
if (gotoEnd === void 0) {
|
|
50222
50222
|
gotoEnd = false;
|
|
50223
50223
|
}
|
|
50224
|
-
var
|
|
50224
|
+
var _a47 = this, $el = _a47.$el, ctx = _a47.ctx;
|
|
50225
50225
|
var pos = ctx.pos;
|
|
50226
50226
|
if (!$el || !ctx.progress) {
|
|
50227
50227
|
return;
|
|
@@ -50277,7 +50277,7 @@ var require_sweet_scroll = __commonJS({
|
|
|
50277
50277
|
ctx.id = SweetScroll4.raf(this.loop);
|
|
50278
50278
|
};
|
|
50279
50279
|
SweetScroll4.prototype.complete = function() {
|
|
50280
|
-
var
|
|
50280
|
+
var _a47 = this, $el = _a47.$el, ctx = _a47.ctx;
|
|
50281
50281
|
var hash = ctx.hash, cancel = ctx.cancel, opts = ctx.opts, pos = ctx.pos, $trigger = ctx.$trigger;
|
|
50282
50282
|
if (!$el || !opts) {
|
|
50283
50283
|
return;
|
|
@@ -50303,18 +50303,18 @@ var require_sweet_scroll = __commonJS({
|
|
|
50303
50303
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
50304
50304
|
args[_i - 2] = arguments[_i];
|
|
50305
50305
|
}
|
|
50306
|
-
var
|
|
50306
|
+
var _a47;
|
|
50307
50307
|
var callback = options[type5];
|
|
50308
50308
|
var callbackResult;
|
|
50309
50309
|
var methodResult;
|
|
50310
50310
|
if (isFunction2(callback)) {
|
|
50311
50311
|
callbackResult = callback.apply(this, args.concat([this]));
|
|
50312
50312
|
}
|
|
50313
|
-
methodResult = (
|
|
50313
|
+
methodResult = (_a47 = this)["on" + (type5[0].toUpperCase() + type5.slice(1))].apply(_a47, args);
|
|
50314
50314
|
return callbackResult !== void 0 ? callbackResult : methodResult;
|
|
50315
50315
|
};
|
|
50316
50316
|
SweetScroll4.prototype.bind = function(click, stop) {
|
|
50317
|
-
var
|
|
50317
|
+
var _a47 = this, $el = _a47.$el, opts = _a47.ctx.opts;
|
|
50318
50318
|
if ($el) {
|
|
50319
50319
|
if (click) {
|
|
50320
50320
|
addEvent($el, CONTAINER_CLICK_EVENT, this.handleClick, false);
|
|
@@ -50325,7 +50325,7 @@ var require_sweet_scroll = __commonJS({
|
|
|
50325
50325
|
}
|
|
50326
50326
|
};
|
|
50327
50327
|
SweetScroll4.prototype.unbind = function(click, stop) {
|
|
50328
|
-
var
|
|
50328
|
+
var _a47 = this, $el = _a47.$el, opts = _a47.ctx.opts;
|
|
50329
50329
|
if ($el) {
|
|
50330
50330
|
if (click) {
|
|
50331
50331
|
removeEvent($el, CONTAINER_CLICK_EVENT, this.handleClick, false);
|
|
@@ -54869,26 +54869,26 @@ var init_fontawesome_svg_core = __esm({
|
|
|
54869
54869
|
}
|
|
54870
54870
|
};
|
|
54871
54871
|
parse9 = {
|
|
54872
|
-
icon: function icon(
|
|
54873
|
-
if (
|
|
54872
|
+
icon: function icon(_icon3) {
|
|
54873
|
+
if (_icon3 === null) {
|
|
54874
54874
|
return null;
|
|
54875
54875
|
}
|
|
54876
|
-
if (_typeof(
|
|
54876
|
+
if (_typeof(_icon3) === "object" && _icon3.prefix && _icon3.iconName) {
|
|
54877
54877
|
return {
|
|
54878
|
-
prefix:
|
|
54879
|
-
iconName: byAlias(
|
|
54878
|
+
prefix: _icon3.prefix,
|
|
54879
|
+
iconName: byAlias(_icon3.prefix, _icon3.iconName) || _icon3.iconName
|
|
54880
54880
|
};
|
|
54881
54881
|
}
|
|
54882
|
-
if (Array.isArray(
|
|
54883
|
-
var iconName =
|
|
54884
|
-
var prefix4 = getCanonicalPrefix(
|
|
54882
|
+
if (Array.isArray(_icon3) && _icon3.length === 2) {
|
|
54883
|
+
var iconName = _icon3[1].indexOf("fa-") === 0 ? _icon3[1].slice(3) : _icon3[1];
|
|
54884
|
+
var prefix4 = getCanonicalPrefix(_icon3[0]);
|
|
54885
54885
|
return {
|
|
54886
54886
|
prefix: prefix4,
|
|
54887
54887
|
iconName: byAlias(prefix4, iconName) || iconName
|
|
54888
54888
|
};
|
|
54889
54889
|
}
|
|
54890
|
-
if (typeof
|
|
54891
|
-
var canonicalIcon = getCanonicalIcon(
|
|
54890
|
+
if (typeof _icon3 === "string" && (_icon3.indexOf("".concat(config2.cssPrefix, "-")) > -1 || _icon3.match(ICON_SELECTION_SYNTAX_PATTERN))) {
|
|
54891
|
+
var canonicalIcon = getCanonicalIcon(_icon3.split(" "), {
|
|
54892
54892
|
skipLookups: true
|
|
54893
54893
|
});
|
|
54894
54894
|
return {
|
|
@@ -54896,11 +54896,11 @@ var init_fontawesome_svg_core = __esm({
|
|
|
54896
54896
|
iconName: byAlias(canonicalIcon.prefix, canonicalIcon.iconName) || canonicalIcon.iconName
|
|
54897
54897
|
};
|
|
54898
54898
|
}
|
|
54899
|
-
if (typeof
|
|
54899
|
+
if (typeof _icon3 === "string") {
|
|
54900
54900
|
var _prefix = getDefaultUsablePrefix();
|
|
54901
54901
|
return {
|
|
54902
54902
|
prefix: _prefix,
|
|
54903
|
-
iconName: byAlias(_prefix,
|
|
54903
|
+
iconName: byAlias(_prefix, _icon3) || _icon3
|
|
54904
54904
|
};
|
|
54905
54905
|
}
|
|
54906
54906
|
}
|
|
@@ -96697,7 +96697,10 @@ var setupWccTools = (configOrElements, pagesArg) => {
|
|
|
96697
96697
|
var elements_exports = {};
|
|
96698
96698
|
__export(elements_exports, {
|
|
96699
96699
|
SzCertificatesCard: () => SzCertificatesCard,
|
|
96700
|
+
SzConfigOverview: () => SzConfigOverview,
|
|
96701
|
+
SzConfigSection: () => SzConfigSection,
|
|
96700
96702
|
SzDashboardView: () => SzDashboardView,
|
|
96703
|
+
SzDemoViewConfig: () => SzDemoViewConfig,
|
|
96701
96704
|
SzDemoViewDashboard: () => SzDemoViewDashboard,
|
|
96702
96705
|
SzDemoViewMta: () => SzDemoViewMta,
|
|
96703
96706
|
SzDemoViewNetwork: () => SzDemoViewNetwork,
|
|
@@ -106478,11 +106481,636 @@ __publicField(SzRouteListView, "styles", [
|
|
|
106478
106481
|
]);
|
|
106479
106482
|
__runInitializers(_init31, 1, SzRouteListView);
|
|
106480
106483
|
|
|
106484
|
+
// ts_web/elements/sz-config-section.ts
|
|
106485
|
+
init_dist_ts29();
|
|
106486
|
+
var _isCollapsed_dec, _collapsed_dec, _collapsible_dec, _actions_dec3, _fields_dec, _status_dec2, _icon_dec2, _subtitle_dec2, _title_dec2, _a32, _SzConfigSection_decorators, _init32, _title2, _subtitle2, _icon2, _status2, _fields, _actions3, _collapsible, _collapsed, _isCollapsed;
|
|
106487
|
+
_SzConfigSection_decorators = [t4("sz-config-section")];
|
|
106488
|
+
var SzConfigSection = class extends (_a32 = DeesElement, _title_dec2 = [n5({ type: String })], _subtitle_dec2 = [n5({ type: String })], _icon_dec2 = [n5({ type: String })], _status_dec2 = [n5({ type: String })], _fields_dec = [n5({ type: Array })], _actions_dec3 = [n5({ type: Array })], _collapsible_dec = [n5({ type: Boolean })], _collapsed_dec = [n5({ type: Boolean })], _isCollapsed_dec = [r5()], _a32) {
|
|
106489
|
+
constructor() {
|
|
106490
|
+
super(...arguments);
|
|
106491
|
+
__privateAdd(this, _title2, __runInitializers(_init32, 8, this, "")), __runInitializers(_init32, 11, this);
|
|
106492
|
+
__privateAdd(this, _subtitle2, __runInitializers(_init32, 12, this, "")), __runInitializers(_init32, 15, this);
|
|
106493
|
+
__privateAdd(this, _icon2, __runInitializers(_init32, 16, this, "")), __runInitializers(_init32, 19, this);
|
|
106494
|
+
__privateAdd(this, _status2, __runInitializers(_init32, 20, this, "enabled")), __runInitializers(_init32, 23, this);
|
|
106495
|
+
__privateAdd(this, _fields, __runInitializers(_init32, 24, this, [])), __runInitializers(_init32, 27, this);
|
|
106496
|
+
__privateAdd(this, _actions3, __runInitializers(_init32, 28, this, [])), __runInitializers(_init32, 31, this);
|
|
106497
|
+
__privateAdd(this, _collapsible, __runInitializers(_init32, 32, this, false)), __runInitializers(_init32, 35, this);
|
|
106498
|
+
__privateAdd(this, _collapsed, __runInitializers(_init32, 36, this, false)), __runInitializers(_init32, 39, this);
|
|
106499
|
+
__privateAdd(this, _isCollapsed, __runInitializers(_init32, 40, this, false)), __runInitializers(_init32, 43, this);
|
|
106500
|
+
}
|
|
106501
|
+
async connectedCallback() {
|
|
106502
|
+
await super.connectedCallback();
|
|
106503
|
+
this.isCollapsed = this.collapsed;
|
|
106504
|
+
if (this.collapsible) {
|
|
106505
|
+
this.setAttribute("collapsible", "");
|
|
106506
|
+
}
|
|
106507
|
+
}
|
|
106508
|
+
render() {
|
|
106509
|
+
const statusLabels = {
|
|
106510
|
+
"enabled": "Enabled",
|
|
106511
|
+
"disabled": "Disabled",
|
|
106512
|
+
"not-configured": "Not Configured",
|
|
106513
|
+
"warning": "Warning"
|
|
106514
|
+
};
|
|
106515
|
+
return b2`
|
|
106516
|
+
<div class="section">
|
|
106517
|
+
<div
|
|
106518
|
+
class="section-header"
|
|
106519
|
+
@click=${() => {
|
|
106520
|
+
if (this.collapsible) {
|
|
106521
|
+
this.isCollapsed = !this.isCollapsed;
|
|
106522
|
+
}
|
|
106523
|
+
}}
|
|
106524
|
+
>
|
|
106525
|
+
<div class="header-left">
|
|
106526
|
+
${this.icon ? b2`
|
|
106527
|
+
<div class="header-icon">
|
|
106528
|
+
<dees-icon .icon=${this.icon}></dees-icon>
|
|
106529
|
+
</div>
|
|
106530
|
+
` : ""}
|
|
106531
|
+
<div class="header-text">
|
|
106532
|
+
<div class="header-title">${this.title}</div>
|
|
106533
|
+
${this.subtitle ? b2`<div class="header-subtitle">${this.subtitle}</div>` : ""}
|
|
106534
|
+
</div>
|
|
106535
|
+
</div>
|
|
106536
|
+
<div class="header-right">
|
|
106537
|
+
${this.status ? b2`
|
|
106538
|
+
<span class="status-badge ${this.status}">
|
|
106539
|
+
<span class="status-dot"></span>
|
|
106540
|
+
${statusLabels[this.status] || this.status}
|
|
106541
|
+
</span>
|
|
106542
|
+
` : ""}
|
|
106543
|
+
${this.actions.map((action) => b2`
|
|
106544
|
+
<button class="header-action" @click=${(e11) => {
|
|
106545
|
+
e11.stopPropagation();
|
|
106546
|
+
this.dispatchEvent(new CustomEvent(action.event || "action", {
|
|
106547
|
+
detail: action.detail || { label: action.label },
|
|
106548
|
+
bubbles: true,
|
|
106549
|
+
composed: true
|
|
106550
|
+
}));
|
|
106551
|
+
}}>
|
|
106552
|
+
${action.icon ? b2`<dees-icon .icon=${action.icon}></dees-icon>` : ""}
|
|
106553
|
+
${action.label}
|
|
106554
|
+
</button>
|
|
106555
|
+
`)}
|
|
106556
|
+
${this.collapsible ? b2`
|
|
106557
|
+
<span class="chevron ${this.isCollapsed ? "collapsed" : ""}">
|
|
106558
|
+
<dees-icon .icon=${"lucide:chevronDown"}></dees-icon>
|
|
106559
|
+
</span>
|
|
106560
|
+
` : ""}
|
|
106561
|
+
</div>
|
|
106562
|
+
</div>
|
|
106563
|
+
<div class="section-content ${this.isCollapsed ? "collapsed" : ""}">
|
|
106564
|
+
${this.fields.map((field) => this.renderField(field))}
|
|
106565
|
+
<div class="slot-content">
|
|
106566
|
+
<slot></slot>
|
|
106567
|
+
</div>
|
|
106568
|
+
</div>
|
|
106569
|
+
</div>
|
|
106570
|
+
`;
|
|
106571
|
+
}
|
|
106572
|
+
renderField(field) {
|
|
106573
|
+
return b2`
|
|
106574
|
+
<div class="field-row">
|
|
106575
|
+
<div class="field-key">${field.key}</div>
|
|
106576
|
+
<div>
|
|
106577
|
+
${this.renderFieldValue(field)}
|
|
106578
|
+
${field.description ? b2`<div class="field-description">${field.description}</div>` : ""}
|
|
106579
|
+
</div>
|
|
106580
|
+
</div>
|
|
106581
|
+
`;
|
|
106582
|
+
}
|
|
106583
|
+
renderFieldValue(field) {
|
|
106584
|
+
const value2 = field.value;
|
|
106585
|
+
const type5 = field.type || this.inferType(value2);
|
|
106586
|
+
if (value2 === null || value2 === void 0) {
|
|
106587
|
+
return b2`<span class="field-value null-value">Not configured</span>`;
|
|
106588
|
+
}
|
|
106589
|
+
switch (type5) {
|
|
106590
|
+
case "boolean":
|
|
106591
|
+
return b2`
|
|
106592
|
+
<span class="bool-value ${value2 ? "true" : "false"}">
|
|
106593
|
+
<span class="bool-dot"></span>
|
|
106594
|
+
${value2 ? "Enabled" : "Disabled"}
|
|
106595
|
+
</span>
|
|
106596
|
+
`;
|
|
106597
|
+
case "pills":
|
|
106598
|
+
if (Array.isArray(value2) && value2.length === 0) {
|
|
106599
|
+
return b2`<span class="field-value null-value">None</span>`;
|
|
106600
|
+
}
|
|
106601
|
+
return b2`
|
|
106602
|
+
<div class="pills">
|
|
106603
|
+
${value2.map((v5) => b2`<span class="pill">${v5}</span>`)}
|
|
106604
|
+
</div>
|
|
106605
|
+
`;
|
|
106606
|
+
case "code":
|
|
106607
|
+
return b2`<span class="code-value">${String(value2)}</span>`;
|
|
106608
|
+
case "badge":
|
|
106609
|
+
return b2`<span class="badge-value">${String(value2)}</span>`;
|
|
106610
|
+
case "link":
|
|
106611
|
+
return b2`
|
|
106612
|
+
<span
|
|
106613
|
+
class="link-value"
|
|
106614
|
+
@click=${() => {
|
|
106615
|
+
if (field.linkTo) {
|
|
106616
|
+
this.dispatchEvent(new CustomEvent("navigate", {
|
|
106617
|
+
detail: { target: field.linkTo },
|
|
106618
|
+
bubbles: true,
|
|
106619
|
+
composed: true
|
|
106620
|
+
}));
|
|
106621
|
+
}
|
|
106622
|
+
}}
|
|
106623
|
+
>${String(value2)}</span>
|
|
106624
|
+
`;
|
|
106625
|
+
default:
|
|
106626
|
+
return b2`<span class="field-value">${String(value2)}</span>`;
|
|
106627
|
+
}
|
|
106628
|
+
}
|
|
106629
|
+
inferType(value2) {
|
|
106630
|
+
if (typeof value2 === "boolean") return "boolean";
|
|
106631
|
+
if (Array.isArray(value2)) return "pills";
|
|
106632
|
+
return "text";
|
|
106633
|
+
}
|
|
106634
|
+
};
|
|
106635
|
+
_init32 = __decoratorStart(_a32);
|
|
106636
|
+
_title2 = new WeakMap();
|
|
106637
|
+
_subtitle2 = new WeakMap();
|
|
106638
|
+
_icon2 = new WeakMap();
|
|
106639
|
+
_status2 = new WeakMap();
|
|
106640
|
+
_fields = new WeakMap();
|
|
106641
|
+
_actions3 = new WeakMap();
|
|
106642
|
+
_collapsible = new WeakMap();
|
|
106643
|
+
_collapsed = new WeakMap();
|
|
106644
|
+
_isCollapsed = new WeakMap();
|
|
106645
|
+
__decorateElement(_init32, 4, "title", _title_dec2, SzConfigSection, _title2);
|
|
106646
|
+
__decorateElement(_init32, 4, "subtitle", _subtitle_dec2, SzConfigSection, _subtitle2);
|
|
106647
|
+
__decorateElement(_init32, 4, "icon", _icon_dec2, SzConfigSection, _icon2);
|
|
106648
|
+
__decorateElement(_init32, 4, "status", _status_dec2, SzConfigSection, _status2);
|
|
106649
|
+
__decorateElement(_init32, 4, "fields", _fields_dec, SzConfigSection, _fields);
|
|
106650
|
+
__decorateElement(_init32, 4, "actions", _actions_dec3, SzConfigSection, _actions3);
|
|
106651
|
+
__decorateElement(_init32, 4, "collapsible", _collapsible_dec, SzConfigSection, _collapsible);
|
|
106652
|
+
__decorateElement(_init32, 4, "collapsed", _collapsed_dec, SzConfigSection, _collapsed);
|
|
106653
|
+
__decorateElement(_init32, 4, "isCollapsed", _isCollapsed_dec, SzConfigSection, _isCollapsed);
|
|
106654
|
+
SzConfigSection = __decorateElement(_init32, 0, "SzConfigSection", _SzConfigSection_decorators, SzConfigSection);
|
|
106655
|
+
__publicField(SzConfigSection, "demo", () => b2`
|
|
106656
|
+
<sz-config-section
|
|
106657
|
+
title="SmartProxy"
|
|
106658
|
+
subtitle="HTTP/HTTPS and TCP/SNI reverse proxy"
|
|
106659
|
+
icon="lucide:network"
|
|
106660
|
+
status="enabled"
|
|
106661
|
+
.fields=${[
|
|
106662
|
+
{ key: "Route Count", value: 12 },
|
|
106663
|
+
{ key: "ACME Enabled", value: true, type: "boolean" },
|
|
106664
|
+
{ key: "Account Email", value: "admin@example.com" },
|
|
106665
|
+
{ key: "Use Production", value: true, type: "boolean" },
|
|
106666
|
+
{ key: "Auto Renew", value: true, type: "boolean" },
|
|
106667
|
+
{ key: "Renew Threshold", value: "30 days" }
|
|
106668
|
+
]}
|
|
106669
|
+
></sz-config-section>
|
|
106670
|
+
<sz-config-section
|
|
106671
|
+
title="Email Server"
|
|
106672
|
+
subtitle="SMTP email handling with smartmta"
|
|
106673
|
+
icon="lucide:mail"
|
|
106674
|
+
status="disabled"
|
|
106675
|
+
.fields=${[
|
|
106676
|
+
{ key: "Ports", value: ["25", "465", "587"], type: "pills" },
|
|
106677
|
+
{ key: "Hostname", value: null },
|
|
106678
|
+
{ key: "Domains", value: ["example.com", "mail.example.com"], type: "pills" }
|
|
106679
|
+
]}
|
|
106680
|
+
></sz-config-section>
|
|
106681
|
+
<sz-config-section
|
|
106682
|
+
title="DNS Server"
|
|
106683
|
+
subtitle="Authoritative DNS with smartdns"
|
|
106684
|
+
icon="lucide:globe"
|
|
106685
|
+
status="not-configured"
|
|
106686
|
+
collapsible
|
|
106687
|
+
.fields=${[
|
|
106688
|
+
{ key: "Port", value: 53 },
|
|
106689
|
+
{ key: "NS Domains", value: ["ns1.example.com", "ns2.example.com"], type: "pills" }
|
|
106690
|
+
]}
|
|
106691
|
+
></sz-config-section>
|
|
106692
|
+
`);
|
|
106693
|
+
__publicField(SzConfigSection, "demoGroups", ["Configuration"]);
|
|
106694
|
+
__publicField(SzConfigSection, "styles", [
|
|
106695
|
+
cssManager.defaultStyles,
|
|
106696
|
+
i`
|
|
106697
|
+
:host {
|
|
106698
|
+
display: block;
|
|
106699
|
+
margin-bottom: 16px;
|
|
106700
|
+
}
|
|
106701
|
+
|
|
106702
|
+
.section {
|
|
106703
|
+
background: ${cssManager.bdTheme("#ffffff", "#09090b")};
|
|
106704
|
+
border: 1px solid ${cssManager.bdTheme("#e4e4e7", "#27272a")};
|
|
106705
|
+
border-radius: 8px;
|
|
106706
|
+
overflow: hidden;
|
|
106707
|
+
}
|
|
106708
|
+
|
|
106709
|
+
.section-header {
|
|
106710
|
+
display: flex;
|
|
106711
|
+
align-items: center;
|
|
106712
|
+
justify-content: space-between;
|
|
106713
|
+
padding: 14px 20px;
|
|
106714
|
+
background: ${cssManager.bdTheme("#f4f4f5", "#18181b")};
|
|
106715
|
+
border-bottom: 1px solid ${cssManager.bdTheme("#e4e4e7", "#27272a")};
|
|
106716
|
+
cursor: default;
|
|
106717
|
+
user-select: none;
|
|
106718
|
+
}
|
|
106719
|
+
|
|
106720
|
+
:host([collapsible]) .section-header {
|
|
106721
|
+
cursor: pointer;
|
|
106722
|
+
}
|
|
106723
|
+
|
|
106724
|
+
:host([collapsible]) .section-header:hover {
|
|
106725
|
+
background: ${cssManager.bdTheme("#ebebed", "#1c1c1f")};
|
|
106726
|
+
}
|
|
106727
|
+
|
|
106728
|
+
.header-left {
|
|
106729
|
+
display: flex;
|
|
106730
|
+
align-items: center;
|
|
106731
|
+
gap: 12px;
|
|
106732
|
+
min-width: 0;
|
|
106733
|
+
}
|
|
106734
|
+
|
|
106735
|
+
.header-icon {
|
|
106736
|
+
display: flex;
|
|
106737
|
+
align-items: center;
|
|
106738
|
+
justify-content: center;
|
|
106739
|
+
width: 36px;
|
|
106740
|
+
height: 36px;
|
|
106741
|
+
background: ${cssManager.bdTheme("#e4e4e7", "#27272a")};
|
|
106742
|
+
border-radius: 8px;
|
|
106743
|
+
flex-shrink: 0;
|
|
106744
|
+
}
|
|
106745
|
+
|
|
106746
|
+
.header-icon dees-icon {
|
|
106747
|
+
font-size: 18px;
|
|
106748
|
+
color: ${cssManager.bdTheme("#52525b", "#a1a1aa")};
|
|
106749
|
+
}
|
|
106750
|
+
|
|
106751
|
+
.header-text {
|
|
106752
|
+
min-width: 0;
|
|
106753
|
+
}
|
|
106754
|
+
|
|
106755
|
+
.header-title {
|
|
106756
|
+
font-size: 15px;
|
|
106757
|
+
font-weight: 600;
|
|
106758
|
+
color: ${cssManager.bdTheme("#18181b", "#fafafa")};
|
|
106759
|
+
line-height: 1.3;
|
|
106760
|
+
}
|
|
106761
|
+
|
|
106762
|
+
.header-subtitle {
|
|
106763
|
+
font-size: 12px;
|
|
106764
|
+
color: ${cssManager.bdTheme("#71717a", "#a1a1aa")};
|
|
106765
|
+
line-height: 1.3;
|
|
106766
|
+
margin-top: 1px;
|
|
106767
|
+
}
|
|
106768
|
+
|
|
106769
|
+
.header-right {
|
|
106770
|
+
display: flex;
|
|
106771
|
+
align-items: center;
|
|
106772
|
+
gap: 10px;
|
|
106773
|
+
flex-shrink: 0;
|
|
106774
|
+
}
|
|
106775
|
+
|
|
106776
|
+
/* Status badge */
|
|
106777
|
+
.status-badge {
|
|
106778
|
+
display: inline-flex;
|
|
106779
|
+
align-items: center;
|
|
106780
|
+
gap: 6px;
|
|
106781
|
+
padding: 3px 10px;
|
|
106782
|
+
border-radius: 9999px;
|
|
106783
|
+
font-size: 12px;
|
|
106784
|
+
font-weight: 500;
|
|
106785
|
+
white-space: nowrap;
|
|
106786
|
+
}
|
|
106787
|
+
|
|
106788
|
+
.status-badge.enabled {
|
|
106789
|
+
background: ${cssManager.bdTheme("#dcfce7", "rgba(34,197,94,0.2)")};
|
|
106790
|
+
color: ${cssManager.bdTheme("#16a34a", "#22c55e")};
|
|
106791
|
+
}
|
|
106792
|
+
|
|
106793
|
+
.status-badge.disabled {
|
|
106794
|
+
background: ${cssManager.bdTheme("#fee2e2", "rgba(239,68,68,0.2)")};
|
|
106795
|
+
color: ${cssManager.bdTheme("#dc2626", "#ef4444")};
|
|
106796
|
+
}
|
|
106797
|
+
|
|
106798
|
+
.status-badge.not-configured {
|
|
106799
|
+
background: ${cssManager.bdTheme("#f4f4f5", "rgba(113,113,122,0.2)")};
|
|
106800
|
+
color: ${cssManager.bdTheme("#71717a", "#a1a1aa")};
|
|
106801
|
+
}
|
|
106802
|
+
|
|
106803
|
+
.status-badge.warning {
|
|
106804
|
+
background: ${cssManager.bdTheme("#fef3c7", "rgba(245,158,11,0.15)")};
|
|
106805
|
+
color: ${cssManager.bdTheme("#92400e", "#fbbf24")};
|
|
106806
|
+
}
|
|
106807
|
+
|
|
106808
|
+
.status-dot {
|
|
106809
|
+
width: 7px;
|
|
106810
|
+
height: 7px;
|
|
106811
|
+
border-radius: 50%;
|
|
106812
|
+
}
|
|
106813
|
+
|
|
106814
|
+
.status-badge.enabled .status-dot {
|
|
106815
|
+
background: ${cssManager.bdTheme("#16a34a", "#22c55e")};
|
|
106816
|
+
}
|
|
106817
|
+
|
|
106818
|
+
.status-badge.disabled .status-dot {
|
|
106819
|
+
background: ${cssManager.bdTheme("#dc2626", "#ef4444")};
|
|
106820
|
+
}
|
|
106821
|
+
|
|
106822
|
+
.status-badge.not-configured .status-dot {
|
|
106823
|
+
background: ${cssManager.bdTheme("#a1a1aa", "#52525b")};
|
|
106824
|
+
}
|
|
106825
|
+
|
|
106826
|
+
.status-badge.warning .status-dot {
|
|
106827
|
+
background: ${cssManager.bdTheme("#f59e0b", "#fbbf24")};
|
|
106828
|
+
}
|
|
106829
|
+
|
|
106830
|
+
/* Action buttons */
|
|
106831
|
+
.header-action {
|
|
106832
|
+
display: inline-flex;
|
|
106833
|
+
align-items: center;
|
|
106834
|
+
gap: 5px;
|
|
106835
|
+
padding: 4px 12px;
|
|
106836
|
+
border-radius: 6px;
|
|
106837
|
+
font-size: 12px;
|
|
106838
|
+
font-weight: 500;
|
|
106839
|
+
color: ${cssManager.bdTheme("#2563eb", "#60a5fa")};
|
|
106840
|
+
background: transparent;
|
|
106841
|
+
border: none;
|
|
106842
|
+
cursor: pointer;
|
|
106843
|
+
transition: background 150ms ease;
|
|
106844
|
+
white-space: nowrap;
|
|
106845
|
+
font-family: inherit;
|
|
106846
|
+
}
|
|
106847
|
+
|
|
106848
|
+
.header-action:hover {
|
|
106849
|
+
background: ${cssManager.bdTheme("rgba(37,99,235,0.08)", "rgba(96,165,250,0.1)")};
|
|
106850
|
+
}
|
|
106851
|
+
|
|
106852
|
+
.header-action dees-icon {
|
|
106853
|
+
font-size: 14px;
|
|
106854
|
+
}
|
|
106855
|
+
|
|
106856
|
+
/* Chevron */
|
|
106857
|
+
.chevron {
|
|
106858
|
+
display: flex;
|
|
106859
|
+
align-items: center;
|
|
106860
|
+
transition: transform 200ms ease;
|
|
106861
|
+
}
|
|
106862
|
+
|
|
106863
|
+
.chevron.collapsed {
|
|
106864
|
+
transform: rotate(-90deg);
|
|
106865
|
+
}
|
|
106866
|
+
|
|
106867
|
+
.chevron dees-icon {
|
|
106868
|
+
font-size: 16px;
|
|
106869
|
+
color: ${cssManager.bdTheme("#a1a1aa", "#52525b")};
|
|
106870
|
+
}
|
|
106871
|
+
|
|
106872
|
+
/* Content */
|
|
106873
|
+
.section-content {
|
|
106874
|
+
padding: 0;
|
|
106875
|
+
}
|
|
106876
|
+
|
|
106877
|
+
.section-content.collapsed {
|
|
106878
|
+
display: none;
|
|
106879
|
+
}
|
|
106880
|
+
|
|
106881
|
+
/* Field rows */
|
|
106882
|
+
.field-row {
|
|
106883
|
+
display: flex;
|
|
106884
|
+
align-items: flex-start;
|
|
106885
|
+
justify-content: space-between;
|
|
106886
|
+
padding: 10px 20px;
|
|
106887
|
+
border-bottom: 1px solid ${cssManager.bdTheme("#f4f4f5", "#1a1a1e")};
|
|
106888
|
+
gap: 16px;
|
|
106889
|
+
}
|
|
106890
|
+
|
|
106891
|
+
.field-row:last-child {
|
|
106892
|
+
border-bottom: none;
|
|
106893
|
+
}
|
|
106894
|
+
|
|
106895
|
+
.field-key {
|
|
106896
|
+
font-size: 13px;
|
|
106897
|
+
font-weight: 500;
|
|
106898
|
+
color: ${cssManager.bdTheme("#71717a", "#a1a1aa")};
|
|
106899
|
+
flex-shrink: 0;
|
|
106900
|
+
min-width: 140px;
|
|
106901
|
+
padding-top: 1px;
|
|
106902
|
+
}
|
|
106903
|
+
|
|
106904
|
+
.field-value {
|
|
106905
|
+
font-size: 13px;
|
|
106906
|
+
font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
|
|
106907
|
+
color: ${cssManager.bdTheme("#18181b", "#fafafa")};
|
|
106908
|
+
text-align: right;
|
|
106909
|
+
word-break: break-all;
|
|
106910
|
+
}
|
|
106911
|
+
|
|
106912
|
+
.field-value.null-value {
|
|
106913
|
+
color: ${cssManager.bdTheme("#a1a1aa", "#52525b")};
|
|
106914
|
+
font-style: italic;
|
|
106915
|
+
font-family: inherit;
|
|
106916
|
+
}
|
|
106917
|
+
|
|
106918
|
+
/* Boolean display */
|
|
106919
|
+
.bool-value {
|
|
106920
|
+
display: inline-flex;
|
|
106921
|
+
align-items: center;
|
|
106922
|
+
gap: 5px;
|
|
106923
|
+
font-family: inherit;
|
|
106924
|
+
font-size: 13px;
|
|
106925
|
+
font-weight: 500;
|
|
106926
|
+
}
|
|
106927
|
+
|
|
106928
|
+
.bool-value.true {
|
|
106929
|
+
color: ${cssManager.bdTheme("#16a34a", "#22c55e")};
|
|
106930
|
+
}
|
|
106931
|
+
|
|
106932
|
+
.bool-value.false {
|
|
106933
|
+
color: ${cssManager.bdTheme("#dc2626", "#ef4444")};
|
|
106934
|
+
}
|
|
106935
|
+
|
|
106936
|
+
.bool-dot {
|
|
106937
|
+
width: 6px;
|
|
106938
|
+
height: 6px;
|
|
106939
|
+
border-radius: 50%;
|
|
106940
|
+
}
|
|
106941
|
+
|
|
106942
|
+
.bool-value.true .bool-dot {
|
|
106943
|
+
background: ${cssManager.bdTheme("#16a34a", "#22c55e")};
|
|
106944
|
+
}
|
|
106945
|
+
|
|
106946
|
+
.bool-value.false .bool-dot {
|
|
106947
|
+
background: ${cssManager.bdTheme("#dc2626", "#ef4444")};
|
|
106948
|
+
}
|
|
106949
|
+
|
|
106950
|
+
/* Pills */
|
|
106951
|
+
.pills {
|
|
106952
|
+
display: flex;
|
|
106953
|
+
flex-wrap: wrap;
|
|
106954
|
+
gap: 5px;
|
|
106955
|
+
justify-content: flex-end;
|
|
106956
|
+
}
|
|
106957
|
+
|
|
106958
|
+
.pill {
|
|
106959
|
+
display: inline-flex;
|
|
106960
|
+
align-items: center;
|
|
106961
|
+
padding: 2px 9px;
|
|
106962
|
+
border-radius: 9999px;
|
|
106963
|
+
font-size: 12px;
|
|
106964
|
+
font-weight: 500;
|
|
106965
|
+
font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
|
|
106966
|
+
background: ${cssManager.bdTheme("#eff6ff", "rgba(59,130,246,0.1)")};
|
|
106967
|
+
color: ${cssManager.bdTheme("#2563eb", "#60a5fa")};
|
|
106968
|
+
}
|
|
106969
|
+
|
|
106970
|
+
/* Code value */
|
|
106971
|
+
.code-value {
|
|
106972
|
+
font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
|
|
106973
|
+
font-size: 12px;
|
|
106974
|
+
background: ${cssManager.bdTheme("#f4f4f5", "#18181b")};
|
|
106975
|
+
padding: 2px 8px;
|
|
106976
|
+
border-radius: 4px;
|
|
106977
|
+
color: ${cssManager.bdTheme("#18181b", "#fafafa")};
|
|
106978
|
+
}
|
|
106979
|
+
|
|
106980
|
+
/* Link value */
|
|
106981
|
+
.link-value {
|
|
106982
|
+
color: ${cssManager.bdTheme("#2563eb", "#60a5fa")};
|
|
106983
|
+
cursor: pointer;
|
|
106984
|
+
text-decoration: none;
|
|
106985
|
+
font-family: inherit;
|
|
106986
|
+
font-size: 13px;
|
|
106987
|
+
}
|
|
106988
|
+
|
|
106989
|
+
.link-value:hover {
|
|
106990
|
+
text-decoration: underline;
|
|
106991
|
+
}
|
|
106992
|
+
|
|
106993
|
+
/* Description hint */
|
|
106994
|
+
.field-description {
|
|
106995
|
+
font-size: 11px;
|
|
106996
|
+
color: ${cssManager.bdTheme("#a1a1aa", "#52525b")};
|
|
106997
|
+
margin-top: 3px;
|
|
106998
|
+
text-align: right;
|
|
106999
|
+
}
|
|
107000
|
+
|
|
107001
|
+
/* Slot for custom content */
|
|
107002
|
+
.slot-content {
|
|
107003
|
+
border-top: 1px solid ${cssManager.bdTheme("#f4f4f5", "#1a1a1e")};
|
|
107004
|
+
}
|
|
107005
|
+
|
|
107006
|
+
.slot-content:empty {
|
|
107007
|
+
display: none;
|
|
107008
|
+
border-top: none;
|
|
107009
|
+
}
|
|
107010
|
+
|
|
107011
|
+
/* Badge type */
|
|
107012
|
+
.badge-value {
|
|
107013
|
+
display: inline-flex;
|
|
107014
|
+
align-items: center;
|
|
107015
|
+
padding: 2px 9px;
|
|
107016
|
+
border-radius: 9999px;
|
|
107017
|
+
font-size: 12px;
|
|
107018
|
+
font-weight: 500;
|
|
107019
|
+
background: ${cssManager.bdTheme("#f4f4f5", "#27272a")};
|
|
107020
|
+
color: ${cssManager.bdTheme("#52525b", "#a1a1aa")};
|
|
107021
|
+
}
|
|
107022
|
+
`
|
|
107023
|
+
]);
|
|
107024
|
+
__runInitializers(_init32, 1, SzConfigSection);
|
|
107025
|
+
|
|
107026
|
+
// ts_web/elements/sz-config-overview.ts
|
|
107027
|
+
init_dist_ts29();
|
|
107028
|
+
var _infoText_dec, _heading_dec, _a33, _SzConfigOverview_decorators, _init33, _heading, _infoText;
|
|
107029
|
+
_SzConfigOverview_decorators = [t4("sz-config-overview")];
|
|
107030
|
+
var SzConfigOverview = class extends (_a33 = DeesElement, _heading_dec = [n5({ type: String })], _infoText_dec = [n5({ type: String })], _a33) {
|
|
107031
|
+
constructor() {
|
|
107032
|
+
super(...arguments);
|
|
107033
|
+
__privateAdd(this, _heading, __runInitializers(_init33, 8, this, "")), __runInitializers(_init33, 11, this);
|
|
107034
|
+
__privateAdd(this, _infoText, __runInitializers(_init33, 12, this, "")), __runInitializers(_init33, 15, this);
|
|
107035
|
+
}
|
|
107036
|
+
render() {
|
|
107037
|
+
return b2`
|
|
107038
|
+
${this.heading ? b2`<div class="heading">${this.heading}</div>` : ""}
|
|
107039
|
+
${this.infoText ? b2`
|
|
107040
|
+
<div class="info-banner">
|
|
107041
|
+
<dees-icon .icon=${"lucide:info"}></dees-icon>
|
|
107042
|
+
<span>${this.infoText}</span>
|
|
107043
|
+
</div>
|
|
107044
|
+
` : ""}
|
|
107045
|
+
<slot></slot>
|
|
107046
|
+
`;
|
|
107047
|
+
}
|
|
107048
|
+
};
|
|
107049
|
+
_init33 = __decoratorStart(_a33);
|
|
107050
|
+
_heading = new WeakMap();
|
|
107051
|
+
_infoText = new WeakMap();
|
|
107052
|
+
__decorateElement(_init33, 4, "heading", _heading_dec, SzConfigOverview, _heading);
|
|
107053
|
+
__decorateElement(_init33, 4, "infoText", _infoText_dec, SzConfigOverview, _infoText);
|
|
107054
|
+
SzConfigOverview = __decorateElement(_init33, 0, "SzConfigOverview", _SzConfigOverview_decorators, SzConfigOverview);
|
|
107055
|
+
__publicField(SzConfigOverview, "demo", () => b2`<sz-config-overview
|
|
107056
|
+
heading="Configuration"
|
|
107057
|
+
infoText="This is a read-only view of the current running configuration."
|
|
107058
|
+
>
|
|
107059
|
+
<div style="padding: 20px; text-align: center; color: #71717a; font-size: 14px;">
|
|
107060
|
+
Place <sz-config-section> elements here
|
|
107061
|
+
</div>
|
|
107062
|
+
</sz-config-overview>`);
|
|
107063
|
+
__publicField(SzConfigOverview, "demoGroups", ["Configuration"]);
|
|
107064
|
+
__publicField(SzConfigOverview, "styles", [
|
|
107065
|
+
cssManager.defaultStyles,
|
|
107066
|
+
i`
|
|
107067
|
+
:host {
|
|
107068
|
+
display: block;
|
|
107069
|
+
}
|
|
107070
|
+
|
|
107071
|
+
.heading {
|
|
107072
|
+
font-size: 20px;
|
|
107073
|
+
font-weight: 600;
|
|
107074
|
+
color: ${cssManager.bdTheme("#18181b", "#fafafa")};
|
|
107075
|
+
margin-bottom: 16px;
|
|
107076
|
+
}
|
|
107077
|
+
|
|
107078
|
+
.info-banner {
|
|
107079
|
+
display: flex;
|
|
107080
|
+
align-items: flex-start;
|
|
107081
|
+
gap: 12px;
|
|
107082
|
+
padding: 14px 18px;
|
|
107083
|
+
margin-bottom: 20px;
|
|
107084
|
+
border-radius: 8px;
|
|
107085
|
+
background: ${cssManager.bdTheme("#eff6ff", "rgba(59,130,246,0.08)")};
|
|
107086
|
+
border: 1px solid ${cssManager.bdTheme("#bfdbfe", "rgba(59,130,246,0.2)")};
|
|
107087
|
+
color: ${cssManager.bdTheme("#1e40af", "#93c5fd")};
|
|
107088
|
+
font-size: 13px;
|
|
107089
|
+
line-height: 1.5;
|
|
107090
|
+
}
|
|
107091
|
+
|
|
107092
|
+
.info-banner dees-icon {
|
|
107093
|
+
flex-shrink: 0;
|
|
107094
|
+
font-size: 18px;
|
|
107095
|
+
margin-top: 1px;
|
|
107096
|
+
}
|
|
107097
|
+
|
|
107098
|
+
::slotted(sz-config-section) {
|
|
107099
|
+
margin-bottom: 12px;
|
|
107100
|
+
}
|
|
107101
|
+
|
|
107102
|
+
::slotted(sz-config-section:last-child) {
|
|
107103
|
+
margin-bottom: 0;
|
|
107104
|
+
}
|
|
107105
|
+
`
|
|
107106
|
+
]);
|
|
107107
|
+
__runInitializers(_init33, 1, SzConfigOverview);
|
|
107108
|
+
|
|
106481
107109
|
// ts_web/elements/sz-demo-view-dashboard.ts
|
|
106482
107110
|
init_dist_ts29();
|
|
106483
|
-
var _SzDemoViewDashboard_decorators,
|
|
107111
|
+
var _SzDemoViewDashboard_decorators, _init34, _a34;
|
|
106484
107112
|
_SzDemoViewDashboard_decorators = [t4("sz-demo-view-dashboard")];
|
|
106485
|
-
var SzDemoViewDashboard = class extends (
|
|
107113
|
+
var SzDemoViewDashboard = class extends (_a34 = DeesElement) {
|
|
106486
107114
|
appui = null;
|
|
106487
107115
|
async onActivate(context2) {
|
|
106488
107116
|
this.appui = context2.appui;
|
|
@@ -106618,21 +107246,21 @@ var SzDemoViewDashboard = class extends (_a32 = DeesElement) {
|
|
|
106618
107246
|
`;
|
|
106619
107247
|
}
|
|
106620
107248
|
};
|
|
106621
|
-
|
|
106622
|
-
SzDemoViewDashboard = __decorateElement(
|
|
106623
|
-
__runInitializers(
|
|
107249
|
+
_init34 = __decoratorStart(_a34);
|
|
107250
|
+
SzDemoViewDashboard = __decorateElement(_init34, 0, "SzDemoViewDashboard", _SzDemoViewDashboard_decorators, SzDemoViewDashboard);
|
|
107251
|
+
__runInitializers(_init34, 1, SzDemoViewDashboard);
|
|
106624
107252
|
|
|
106625
107253
|
// ts_web/elements/sz-demo-view-services.ts
|
|
106626
107254
|
init_dist_ts29();
|
|
106627
|
-
var _selectedPlatformService_dec, _selectedService_dec, _currentView_dec2,
|
|
107255
|
+
var _selectedPlatformService_dec, _selectedService_dec, _currentView_dec2, _a35, _SzDemoViewServices_decorators, _init35, _currentView2, _selectedService, _selectedPlatformService;
|
|
106628
107256
|
_SzDemoViewServices_decorators = [t4("sz-demo-view-services")];
|
|
106629
|
-
var SzDemoViewServices = class extends (
|
|
107257
|
+
var SzDemoViewServices = class extends (_a35 = DeesElement, _currentView_dec2 = [r5()], _selectedService_dec = [r5()], _selectedPlatformService_dec = [r5()], _a35) {
|
|
106630
107258
|
constructor() {
|
|
106631
107259
|
super(...arguments);
|
|
106632
107260
|
__publicField(this, "appui", null);
|
|
106633
|
-
__privateAdd(this, _currentView2, __runInitializers(
|
|
106634
|
-
__privateAdd(this, _selectedService, __runInitializers(
|
|
106635
|
-
__privateAdd(this, _selectedPlatformService, __runInitializers(
|
|
107261
|
+
__privateAdd(this, _currentView2, __runInitializers(_init35, 8, this, "list")), __runInitializers(_init35, 11, this);
|
|
107262
|
+
__privateAdd(this, _selectedService, __runInitializers(_init35, 12, this, null)), __runInitializers(_init35, 15, this);
|
|
107263
|
+
__privateAdd(this, _selectedPlatformService, __runInitializers(_init35, 16, this, null)), __runInitializers(_init35, 19, this);
|
|
106636
107264
|
__publicField(this, "demoServices", [
|
|
106637
107265
|
{
|
|
106638
107266
|
id: "1",
|
|
@@ -106913,14 +107541,14 @@ var SzDemoViewServices = class extends (_a33 = DeesElement, _currentView_dec2 =
|
|
|
106913
107541
|
onDeactivate() {
|
|
106914
107542
|
}
|
|
106915
107543
|
};
|
|
106916
|
-
|
|
107544
|
+
_init35 = __decoratorStart(_a35);
|
|
106917
107545
|
_currentView2 = new WeakMap();
|
|
106918
107546
|
_selectedService = new WeakMap();
|
|
106919
107547
|
_selectedPlatformService = new WeakMap();
|
|
106920
|
-
__decorateElement(
|
|
106921
|
-
__decorateElement(
|
|
106922
|
-
__decorateElement(
|
|
106923
|
-
SzDemoViewServices = __decorateElement(
|
|
107548
|
+
__decorateElement(_init35, 4, "currentView", _currentView_dec2, SzDemoViewServices, _currentView2);
|
|
107549
|
+
__decorateElement(_init35, 4, "selectedService", _selectedService_dec, SzDemoViewServices, _selectedService);
|
|
107550
|
+
__decorateElement(_init35, 4, "selectedPlatformService", _selectedPlatformService_dec, SzDemoViewServices, _selectedPlatformService);
|
|
107551
|
+
SzDemoViewServices = __decorateElement(_init35, 0, "SzDemoViewServices", _SzDemoViewServices_decorators, SzDemoViewServices);
|
|
106924
107552
|
__publicField(SzDemoViewServices, "styles", [
|
|
106925
107553
|
cssManager.defaultStyles,
|
|
106926
107554
|
i`
|
|
@@ -107052,18 +107680,18 @@ __publicField(SzDemoViewServices, "styles", [
|
|
|
107052
107680
|
}
|
|
107053
107681
|
`
|
|
107054
107682
|
]);
|
|
107055
|
-
__runInitializers(
|
|
107683
|
+
__runInitializers(_init35, 1, SzDemoViewServices);
|
|
107056
107684
|
|
|
107057
107685
|
// ts_web/elements/sz-demo-view-network.ts
|
|
107058
107686
|
init_dist_ts29();
|
|
107059
|
-
var _selectedDomain_dec, _currentTab_dec,
|
|
107687
|
+
var _selectedDomain_dec, _currentTab_dec, _a36, _SzDemoViewNetwork_decorators, _init36, _currentTab, _selectedDomain;
|
|
107060
107688
|
_SzDemoViewNetwork_decorators = [t4("sz-demo-view-network")];
|
|
107061
|
-
var SzDemoViewNetwork = class extends (
|
|
107689
|
+
var SzDemoViewNetwork = class extends (_a36 = DeesElement, _currentTab_dec = [r5()], _selectedDomain_dec = [r5()], _a36) {
|
|
107062
107690
|
constructor() {
|
|
107063
107691
|
super(...arguments);
|
|
107064
107692
|
__publicField(this, "appui", null);
|
|
107065
|
-
__privateAdd(this, _currentTab, __runInitializers(
|
|
107066
|
-
__privateAdd(this, _selectedDomain, __runInitializers(
|
|
107693
|
+
__privateAdd(this, _currentTab, __runInitializers(_init36, 8, this, "proxy")), __runInitializers(_init36, 11, this);
|
|
107694
|
+
__privateAdd(this, _selectedDomain, __runInitializers(_init36, 12, this, null)), __runInitializers(_init36, 15, this);
|
|
107067
107695
|
__publicField(this, "demoProxyRoutes", [
|
|
107068
107696
|
{ id: "1", domain: "api.example.com", target: "http://api-gateway:3000", ssl: true, status: "active" },
|
|
107069
107697
|
{ id: "2", domain: "app.example.com", target: "http://frontend:8080", ssl: true, status: "active" },
|
|
@@ -107311,12 +107939,12 @@ var SzDemoViewNetwork = class extends (_a34 = DeesElement, _currentTab_dec = [r5
|
|
|
107311
107939
|
`;
|
|
107312
107940
|
}
|
|
107313
107941
|
};
|
|
107314
|
-
|
|
107942
|
+
_init36 = __decoratorStart(_a36);
|
|
107315
107943
|
_currentTab = new WeakMap();
|
|
107316
107944
|
_selectedDomain = new WeakMap();
|
|
107317
|
-
__decorateElement(
|
|
107318
|
-
__decorateElement(
|
|
107319
|
-
SzDemoViewNetwork = __decorateElement(
|
|
107945
|
+
__decorateElement(_init36, 4, "currentTab", _currentTab_dec, SzDemoViewNetwork, _currentTab);
|
|
107946
|
+
__decorateElement(_init36, 4, "selectedDomain", _selectedDomain_dec, SzDemoViewNetwork, _selectedDomain);
|
|
107947
|
+
SzDemoViewNetwork = __decorateElement(_init36, 0, "SzDemoViewNetwork", _SzDemoViewNetwork_decorators, SzDemoViewNetwork);
|
|
107320
107948
|
__publicField(SzDemoViewNetwork, "styles", [
|
|
107321
107949
|
cssManager.defaultStyles,
|
|
107322
107950
|
i`
|
|
@@ -107404,17 +108032,17 @@ __publicField(SzDemoViewNetwork, "styles", [
|
|
|
107404
108032
|
}
|
|
107405
108033
|
`
|
|
107406
108034
|
]);
|
|
107407
|
-
__runInitializers(
|
|
108035
|
+
__runInitializers(_init36, 1, SzDemoViewNetwork);
|
|
107408
108036
|
|
|
107409
108037
|
// ts_web/elements/sz-demo-view-registries.ts
|
|
107410
108038
|
init_dist_ts29();
|
|
107411
|
-
var _currentTab_dec2,
|
|
108039
|
+
var _currentTab_dec2, _a37, _SzDemoViewRegistries_decorators, _init37, _currentTab2;
|
|
107412
108040
|
_SzDemoViewRegistries_decorators = [t4("sz-demo-view-registries")];
|
|
107413
|
-
var SzDemoViewRegistries = class extends (
|
|
108041
|
+
var SzDemoViewRegistries = class extends (_a37 = DeesElement, _currentTab_dec2 = [r5()], _a37) {
|
|
107414
108042
|
constructor() {
|
|
107415
108043
|
super(...arguments);
|
|
107416
108044
|
__publicField(this, "appui", null);
|
|
107417
|
-
__privateAdd(this, _currentTab2, __runInitializers(
|
|
108045
|
+
__privateAdd(this, _currentTab2, __runInitializers(_init37, 8, this, "onebox")), __runInitializers(_init37, 11, this);
|
|
107418
108046
|
__publicField(this, "demoOneboxImages", [
|
|
107419
108047
|
{ id: "1", name: "api-gateway", tags: ["latest", "v2.1.0", "v2.0.0"], size: "256 MB", updated: "2024-01-20", pulls: 142 },
|
|
107420
108048
|
{ id: "2", name: "frontend", tags: ["latest", "v1.5.0"], size: "128 MB", updated: "2024-01-19", pulls: 89 },
|
|
@@ -107531,10 +108159,10 @@ var SzDemoViewRegistries = class extends (_a35 = DeesElement, _currentTab_dec2 =
|
|
|
107531
108159
|
`;
|
|
107532
108160
|
}
|
|
107533
108161
|
};
|
|
107534
|
-
|
|
108162
|
+
_init37 = __decoratorStart(_a37);
|
|
107535
108163
|
_currentTab2 = new WeakMap();
|
|
107536
|
-
__decorateElement(
|
|
107537
|
-
SzDemoViewRegistries = __decorateElement(
|
|
108164
|
+
__decorateElement(_init37, 4, "currentTab", _currentTab_dec2, SzDemoViewRegistries, _currentTab2);
|
|
108165
|
+
SzDemoViewRegistries = __decorateElement(_init37, 0, "SzDemoViewRegistries", _SzDemoViewRegistries_decorators, SzDemoViewRegistries);
|
|
107538
108166
|
__publicField(SzDemoViewRegistries, "styles", [
|
|
107539
108167
|
cssManager.defaultStyles,
|
|
107540
108168
|
i`
|
|
@@ -107602,13 +108230,13 @@ __publicField(SzDemoViewRegistries, "styles", [
|
|
|
107602
108230
|
}
|
|
107603
108231
|
`
|
|
107604
108232
|
]);
|
|
107605
|
-
__runInitializers(
|
|
108233
|
+
__runInitializers(_init37, 1, SzDemoViewRegistries);
|
|
107606
108234
|
|
|
107607
108235
|
// ts_web/elements/sz-demo-view-tokens.ts
|
|
107608
108236
|
init_dist_ts29();
|
|
107609
|
-
var _SzDemoViewTokens_decorators,
|
|
108237
|
+
var _SzDemoViewTokens_decorators, _init38, _a38;
|
|
107610
108238
|
_SzDemoViewTokens_decorators = [t4("sz-demo-view-tokens")];
|
|
107611
|
-
var SzDemoViewTokens = class extends (
|
|
108239
|
+
var SzDemoViewTokens = class extends (_a38 = DeesElement) {
|
|
107612
108240
|
appui = null;
|
|
107613
108241
|
async onActivate(context2) {
|
|
107614
108242
|
this.appui = context2.appui;
|
|
@@ -107699,15 +108327,15 @@ var SzDemoViewTokens = class extends (_a36 = DeesElement) {
|
|
|
107699
108327
|
`;
|
|
107700
108328
|
}
|
|
107701
108329
|
};
|
|
107702
|
-
|
|
107703
|
-
SzDemoViewTokens = __decorateElement(
|
|
107704
|
-
__runInitializers(
|
|
108330
|
+
_init38 = __decoratorStart(_a38);
|
|
108331
|
+
SzDemoViewTokens = __decorateElement(_init38, 0, "SzDemoViewTokens", _SzDemoViewTokens_decorators, SzDemoViewTokens);
|
|
108332
|
+
__runInitializers(_init38, 1, SzDemoViewTokens);
|
|
107705
108333
|
|
|
107706
108334
|
// ts_web/elements/sz-demo-view-settings.ts
|
|
107707
108335
|
init_dist_ts29();
|
|
107708
|
-
var _SzDemoViewSettings_decorators,
|
|
108336
|
+
var _SzDemoViewSettings_decorators, _init39, _a39;
|
|
107709
108337
|
_SzDemoViewSettings_decorators = [t4("sz-demo-view-settings")];
|
|
107710
|
-
var SzDemoViewSettings = class extends (
|
|
108338
|
+
var SzDemoViewSettings = class extends (_a39 = DeesElement) {
|
|
107711
108339
|
appui = null;
|
|
107712
108340
|
async onActivate(context2) {
|
|
107713
108341
|
this.appui = context2.appui;
|
|
@@ -107814,21 +108442,21 @@ var SzDemoViewSettings = class extends (_a37 = DeesElement) {
|
|
|
107814
108442
|
`;
|
|
107815
108443
|
}
|
|
107816
108444
|
};
|
|
107817
|
-
|
|
107818
|
-
SzDemoViewSettings = __decorateElement(
|
|
107819
|
-
__runInitializers(
|
|
108445
|
+
_init39 = __decoratorStart(_a39);
|
|
108446
|
+
SzDemoViewSettings = __decorateElement(_init39, 0, "SzDemoViewSettings", _SzDemoViewSettings_decorators, SzDemoViewSettings);
|
|
108447
|
+
__runInitializers(_init39, 1, SzDemoViewSettings);
|
|
107820
108448
|
|
|
107821
108449
|
// ts_web/elements/sz-demo-view-mta.ts
|
|
107822
108450
|
init_dist_ts29();
|
|
107823
|
-
var _currentDirectionFilter_dec, _selectedEmail_dec, _currentView_dec3,
|
|
108451
|
+
var _currentDirectionFilter_dec, _selectedEmail_dec, _currentView_dec3, _a40, _SzDemoViewMta_decorators, _init40, _currentView3, _selectedEmail, _currentDirectionFilter;
|
|
107824
108452
|
_SzDemoViewMta_decorators = [t4("sz-demo-view-mta")];
|
|
107825
|
-
var SzDemoViewMta = class extends (
|
|
108453
|
+
var SzDemoViewMta = class extends (_a40 = DeesElement, _currentView_dec3 = [r5()], _selectedEmail_dec = [r5()], _currentDirectionFilter_dec = [r5()], _a40) {
|
|
107826
108454
|
constructor() {
|
|
107827
108455
|
super(...arguments);
|
|
107828
108456
|
__publicField(this, "appui", null);
|
|
107829
|
-
__privateAdd(this, _currentView3, __runInitializers(
|
|
107830
|
-
__privateAdd(this, _selectedEmail, __runInitializers(
|
|
107831
|
-
__privateAdd(this, _currentDirectionFilter, __runInitializers(
|
|
108457
|
+
__privateAdd(this, _currentView3, __runInitializers(_init40, 8, this, "list")), __runInitializers(_init40, 11, this);
|
|
108458
|
+
__privateAdd(this, _selectedEmail, __runInitializers(_init40, 12, this, null)), __runInitializers(_init40, 15, this);
|
|
108459
|
+
__privateAdd(this, _currentDirectionFilter, __runInitializers(_init40, 16, this, "all")), __runInitializers(_init40, 19, this);
|
|
107832
108460
|
__publicField(this, "demoEmails", [
|
|
107833
108461
|
{ id: "1", direction: "outbound", status: "delivered", from: "noreply@serve.zone", to: "user@example.com", subject: "Welcome to serve.zone", timestamp: "2024-01-15 14:30:22", messageId: "<abc123@serve.zone>", size: "12.4 KB" },
|
|
107834
108462
|
{ id: "2", direction: "outbound", status: "bounced", from: "alerts@serve.zone", to: "invalid@nowhere.test", subject: "Service Alert: CPU Usage High", timestamp: "2024-01-15 14:28:10", messageId: "<def456@serve.zone>", size: "8.2 KB" },
|
|
@@ -108121,14 +108749,14 @@ var SzDemoViewMta = class extends (_a38 = DeesElement, _currentView_dec3 = [r5()
|
|
|
108121
108749
|
}
|
|
108122
108750
|
}
|
|
108123
108751
|
};
|
|
108124
|
-
|
|
108752
|
+
_init40 = __decoratorStart(_a40);
|
|
108125
108753
|
_currentView3 = new WeakMap();
|
|
108126
108754
|
_selectedEmail = new WeakMap();
|
|
108127
108755
|
_currentDirectionFilter = new WeakMap();
|
|
108128
|
-
__decorateElement(
|
|
108129
|
-
__decorateElement(
|
|
108130
|
-
__decorateElement(
|
|
108131
|
-
SzDemoViewMta = __decorateElement(
|
|
108756
|
+
__decorateElement(_init40, 4, "currentView", _currentView_dec3, SzDemoViewMta, _currentView3);
|
|
108757
|
+
__decorateElement(_init40, 4, "selectedEmail", _selectedEmail_dec, SzDemoViewMta, _selectedEmail);
|
|
108758
|
+
__decorateElement(_init40, 4, "currentDirectionFilter", _currentDirectionFilter_dec, SzDemoViewMta, _currentDirectionFilter);
|
|
108759
|
+
SzDemoViewMta = __decorateElement(_init40, 0, "SzDemoViewMta", _SzDemoViewMta_decorators, SzDemoViewMta);
|
|
108132
108760
|
__publicField(SzDemoViewMta, "styles", [
|
|
108133
108761
|
cssManager.defaultStyles,
|
|
108134
108762
|
i`
|
|
@@ -108141,17 +108769,17 @@ __publicField(SzDemoViewMta, "styles", [
|
|
|
108141
108769
|
}
|
|
108142
108770
|
`
|
|
108143
108771
|
]);
|
|
108144
|
-
__runInitializers(
|
|
108772
|
+
__runInitializers(_init40, 1, SzDemoViewMta);
|
|
108145
108773
|
|
|
108146
108774
|
// ts_web/elements/sz-demo-view-routes.ts
|
|
108147
108775
|
init_dist_ts29();
|
|
108148
|
-
var _currentTab_dec3,
|
|
108776
|
+
var _currentTab_dec3, _a41, _SzDemoViewRoutes_decorators, _init41, _currentTab3;
|
|
108149
108777
|
_SzDemoViewRoutes_decorators = [t4("sz-demo-view-routes")];
|
|
108150
|
-
var SzDemoViewRoutes = class extends (
|
|
108778
|
+
var SzDemoViewRoutes = class extends (_a41 = DeesElement, _currentTab_dec3 = [r5()], _a41) {
|
|
108151
108779
|
constructor() {
|
|
108152
108780
|
super(...arguments);
|
|
108153
108781
|
__publicField(this, "appui", null);
|
|
108154
|
-
__privateAdd(this, _currentTab3, __runInitializers(
|
|
108782
|
+
__privateAdd(this, _currentTab3, __runInitializers(_init41, 8, this, "all")), __runInitializers(_init41, 11, this);
|
|
108155
108783
|
__publicField(this, "demoRoutes", [
|
|
108156
108784
|
// 1. HTTPS with TLS termination + auto cert
|
|
108157
108785
|
{
|
|
@@ -108466,10 +109094,10 @@ var SzDemoViewRoutes = class extends (_a39 = DeesElement, _currentTab_dec3 = [r5
|
|
|
108466
109094
|
`;
|
|
108467
109095
|
}
|
|
108468
109096
|
};
|
|
108469
|
-
|
|
109097
|
+
_init41 = __decoratorStart(_a41);
|
|
108470
109098
|
_currentTab3 = new WeakMap();
|
|
108471
|
-
__decorateElement(
|
|
108472
|
-
SzDemoViewRoutes = __decorateElement(
|
|
109099
|
+
__decorateElement(_init41, 4, "currentTab", _currentTab_dec3, SzDemoViewRoutes, _currentTab3);
|
|
109100
|
+
SzDemoViewRoutes = __decorateElement(_init41, 0, "SzDemoViewRoutes", _SzDemoViewRoutes_decorators, SzDemoViewRoutes);
|
|
108473
109101
|
__publicField(SzDemoViewRoutes, "styles", [
|
|
108474
109102
|
cssManager.defaultStyles,
|
|
108475
109103
|
i`
|
|
@@ -108482,7 +109110,153 @@ __publicField(SzDemoViewRoutes, "styles", [
|
|
|
108482
109110
|
}
|
|
108483
109111
|
`
|
|
108484
109112
|
]);
|
|
108485
|
-
__runInitializers(
|
|
109113
|
+
__runInitializers(_init41, 1, SzDemoViewRoutes);
|
|
109114
|
+
|
|
109115
|
+
// ts_web/elements/sz-demo-view-config.ts
|
|
109116
|
+
init_dist_ts29();
|
|
109117
|
+
var _SzDemoViewConfig_decorators, _init42, _a42;
|
|
109118
|
+
_SzDemoViewConfig_decorators = [t4("sz-demo-view-config")];
|
|
109119
|
+
var SzDemoViewConfig = class extends (_a42 = DeesElement) {
|
|
109120
|
+
static styles = [
|
|
109121
|
+
cssManager.defaultStyles,
|
|
109122
|
+
i`
|
|
109123
|
+
:host {
|
|
109124
|
+
display: block;
|
|
109125
|
+
padding: 24px;
|
|
109126
|
+
height: 100%;
|
|
109127
|
+
overflow-y: auto;
|
|
109128
|
+
box-sizing: border-box;
|
|
109129
|
+
}
|
|
109130
|
+
`
|
|
109131
|
+
];
|
|
109132
|
+
render() {
|
|
109133
|
+
const systemFields = [
|
|
109134
|
+
{ key: "Base Directory", value: "/home/user/.serve.zone/dcrouter" },
|
|
109135
|
+
{ key: "Data Directory", value: "/home/user/.serve.zone/dcrouter/data" },
|
|
109136
|
+
{ key: "Public IP", value: "203.0.113.50" },
|
|
109137
|
+
{ key: "Proxy IPs", value: ["203.0.113.10", "203.0.113.11"], type: "pills" },
|
|
109138
|
+
{ key: "Uptime", value: "3d 14h 22m" },
|
|
109139
|
+
{ key: "Storage Backend", value: "filesystem", type: "badge" }
|
|
109140
|
+
];
|
|
109141
|
+
const proxyFields = [
|
|
109142
|
+
{ key: "Route Count", value: 12 },
|
|
109143
|
+
{ key: "ACME Enabled", value: true, type: "boolean" },
|
|
109144
|
+
{ key: "Account Email", value: "admin@serve.zone" },
|
|
109145
|
+
{ key: "Use Production", value: true, type: "boolean" },
|
|
109146
|
+
{ key: "Auto Renew", value: true, type: "boolean" },
|
|
109147
|
+
{ key: "Renew Threshold", value: "30 days" }
|
|
109148
|
+
];
|
|
109149
|
+
const emailFields = [
|
|
109150
|
+
{ key: "Ports", value: ["25", "465", "587"], type: "pills" },
|
|
109151
|
+
{ key: "Hostname", value: "mail.serve.zone" },
|
|
109152
|
+
{ key: "Domains", value: ["serve.zone", "mail.serve.zone"], type: "pills" },
|
|
109153
|
+
{ key: "Email Routes", value: 5 },
|
|
109154
|
+
{ key: "Received Path", value: "/data/emails" }
|
|
109155
|
+
];
|
|
109156
|
+
const dnsFields = [
|
|
109157
|
+
{ key: "Port", value: 53 },
|
|
109158
|
+
{ key: "NS Domains", value: ["ns1.serve.zone", "ns2.serve.zone"], type: "pills" },
|
|
109159
|
+
{ key: "Scopes", value: ["serve.zone", "example.com"], type: "pills" },
|
|
109160
|
+
{ key: "Record Count", value: 24 },
|
|
109161
|
+
{ key: "DNS Challenge", value: true, type: "boolean" }
|
|
109162
|
+
];
|
|
109163
|
+
const tlsFields = [
|
|
109164
|
+
{ key: "Contact Email", value: "admin@serve.zone" },
|
|
109165
|
+
{ key: "Domain", value: "serve.zone" },
|
|
109166
|
+
{ key: "Source", value: "acme", type: "badge" },
|
|
109167
|
+
{ key: "Certificate Path", value: null },
|
|
109168
|
+
{ key: "Key Path", value: null }
|
|
109169
|
+
];
|
|
109170
|
+
const cacheFields = [
|
|
109171
|
+
{ key: "Storage Path", value: "/home/user/.serve.zone/dcrouter/tsmdb" },
|
|
109172
|
+
{ key: "DB Name", value: "dcrouter" },
|
|
109173
|
+
{ key: "Default TTL", value: "30 days" },
|
|
109174
|
+
{ key: "Cleanup Interval", value: "1 hour" }
|
|
109175
|
+
];
|
|
109176
|
+
const radiusFields = [
|
|
109177
|
+
{ key: "Auth Port", value: null },
|
|
109178
|
+
{ key: "Accounting Port", value: null }
|
|
109179
|
+
];
|
|
109180
|
+
const remoteIngressFields = [
|
|
109181
|
+
{ key: "Tunnel Port", value: 8443 },
|
|
109182
|
+
{ key: "Hub Domain", value: "hub.serve.zone" },
|
|
109183
|
+
{ key: "TLS Configured", value: true, type: "boolean" }
|
|
109184
|
+
];
|
|
109185
|
+
return b2`
|
|
109186
|
+
<sz-config-overview
|
|
109187
|
+
infoText="This view displays the current running configuration. DcRouter is configured through code or remote management."
|
|
109188
|
+
>
|
|
109189
|
+
<sz-config-section
|
|
109190
|
+
title="System"
|
|
109191
|
+
subtitle="Base paths and infrastructure"
|
|
109192
|
+
icon="lucide:server"
|
|
109193
|
+
status="enabled"
|
|
109194
|
+
.fields=${systemFields}
|
|
109195
|
+
></sz-config-section>
|
|
109196
|
+
|
|
109197
|
+
<sz-config-section
|
|
109198
|
+
title="SmartProxy"
|
|
109199
|
+
subtitle="HTTP/HTTPS and TCP/SNI reverse proxy"
|
|
109200
|
+
icon="lucide:network"
|
|
109201
|
+
status="enabled"
|
|
109202
|
+
.fields=${proxyFields}
|
|
109203
|
+
.actions=${[{ label: "View Routes", icon: "lucide:arrow-right", event: "navigate", detail: { view: "routes" } }]}
|
|
109204
|
+
></sz-config-section>
|
|
109205
|
+
|
|
109206
|
+
<sz-config-section
|
|
109207
|
+
title="Email Server"
|
|
109208
|
+
subtitle="SMTP email handling with smartmta"
|
|
109209
|
+
icon="lucide:mail"
|
|
109210
|
+
status="enabled"
|
|
109211
|
+
.fields=${emailFields}
|
|
109212
|
+
></sz-config-section>
|
|
109213
|
+
|
|
109214
|
+
<sz-config-section
|
|
109215
|
+
title="DNS Server"
|
|
109216
|
+
subtitle="Authoritative DNS with smartdns"
|
|
109217
|
+
icon="lucide:globe"
|
|
109218
|
+
status="enabled"
|
|
109219
|
+
.fields=${dnsFields}
|
|
109220
|
+
></sz-config-section>
|
|
109221
|
+
|
|
109222
|
+
<sz-config-section
|
|
109223
|
+
title="TLS / Certificates"
|
|
109224
|
+
subtitle="Certificate management and ACME"
|
|
109225
|
+
icon="lucide:shield-check"
|
|
109226
|
+
status="enabled"
|
|
109227
|
+
.fields=${tlsFields}
|
|
109228
|
+
></sz-config-section>
|
|
109229
|
+
|
|
109230
|
+
<sz-config-section
|
|
109231
|
+
title="Cache Database"
|
|
109232
|
+
subtitle="Persistent caching with smartdata"
|
|
109233
|
+
icon="lucide:database"
|
|
109234
|
+
status="enabled"
|
|
109235
|
+
.fields=${cacheFields}
|
|
109236
|
+
></sz-config-section>
|
|
109237
|
+
|
|
109238
|
+
<sz-config-section
|
|
109239
|
+
title="RADIUS Server"
|
|
109240
|
+
subtitle="Network authentication and VLAN assignment"
|
|
109241
|
+
icon="lucide:wifi"
|
|
109242
|
+
status="not-configured"
|
|
109243
|
+
.fields=${radiusFields}
|
|
109244
|
+
></sz-config-section>
|
|
109245
|
+
|
|
109246
|
+
<sz-config-section
|
|
109247
|
+
title="Remote Ingress"
|
|
109248
|
+
subtitle="Edge tunnel nodes"
|
|
109249
|
+
icon="lucide:cloud"
|
|
109250
|
+
status="enabled"
|
|
109251
|
+
.fields=${remoteIngressFields}
|
|
109252
|
+
></sz-config-section>
|
|
109253
|
+
</sz-config-overview>
|
|
109254
|
+
`;
|
|
109255
|
+
}
|
|
109256
|
+
};
|
|
109257
|
+
_init42 = __decoratorStart(_a42);
|
|
109258
|
+
SzDemoViewConfig = __decorateElement(_init42, 0, "SzDemoViewConfig", _SzDemoViewConfig_decorators, SzDemoViewConfig);
|
|
109259
|
+
__runInitializers(_init42, 1, SzDemoViewConfig);
|
|
108486
109260
|
|
|
108487
109261
|
// ts_web/pages/index.ts
|
|
108488
109262
|
var pages_exports = {};
|
|
@@ -112200,9 +112974,9 @@ var DeesAppuiBar = (() => {
|
|
|
112200
112974
|
|
|
112201
112975
|
// node_modules/.pnpm/@design.estate+dees-catalog@3.43.0_@tiptap+pm@2.27.2/node_modules/@design.estate/dees-catalog/dist_ts_web/elements/00group-appui/dees-appui-bottombar/dees-appui-bottombar.demo.js
|
|
112202
112976
|
init_dist_ts29();
|
|
112203
|
-
var
|
|
112977
|
+
var _a43;
|
|
112204
112978
|
var demoFunc5 = () => {
|
|
112205
|
-
return b2(
|
|
112979
|
+
return b2(_a43 || (_a43 = __template([`
|
|
112206
112980
|
<dees-demowrapper>
|
|
112207
112981
|
<style>
|
|
112208
112982
|
.demo-container {
|
|
@@ -113254,7 +114028,7 @@ var DeesPanel = (() => {
|
|
|
113254
114028
|
|
|
113255
114029
|
// node_modules/.pnpm/@design.estate+dees-catalog@3.43.0_@tiptap+pm@2.27.2/node_modules/@design.estate/dees-catalog/dist_ts_web/elements/00group-dataview/dees-statsgrid/dees-statsgrid.demo.js
|
|
113256
114030
|
init_dist_ts29();
|
|
113257
|
-
var
|
|
114031
|
+
var _a44;
|
|
113258
114032
|
var generateCpuCores = (count2) => {
|
|
113259
114033
|
return Array.from({ length: count2 }, (_4, i11) => ({
|
|
113260
114034
|
id: i11,
|
|
@@ -113263,7 +114037,7 @@ var generateCpuCores = (count2) => {
|
|
|
113263
114037
|
}));
|
|
113264
114038
|
};
|
|
113265
114039
|
var demoFunc7 = () => {
|
|
113266
|
-
return b2(
|
|
114040
|
+
return b2(_a44 || (_a44 = __template(["\n <dees-demowrapper>\n <style>\n ", '\n </style>\n \n <div class="demo-container">\n <dees-panel .title=', " .subtitle=", ">\n <dees-statsgrid\n .tiles=", "\n .gridActions=", "\n .minTileWidth=", "\n .gap=", '\n ></dees-statsgrid>\n \n <div id="action-output" style="margin-top: 16px; padding: 12px; background: ', "; border-radius: 6px; font-size: 14px; font-family: monospace; color: ", ';">\n <em>Click on tile actions or grid actions to see the result...</em>\n </div>\n </dees-panel>\n \n <dees-panel .title=', " .subtitle=", ">\n <dees-statsgrid\n .tiles=", "\n .minTileWidth=", "\n .gap=", '\n ></dees-statsgrid>\n \n <div class="tile-config">\n <div class="config-section">\n <div class="config-title">Configuration Options</div>\n <div class="config-description">\n Each tile type supports different properties:\n <ul style="margin: 8px 0; padding-left: 20px;">\n <li><strong>Number:</strong> value, unit, color, description</li>\n <li><strong>Gauge:</strong> value, unit, gaugeOptions (min, max, thresholds)</li>\n <li><strong>Percentage:</strong> value (0-100), color, description</li>\n <li><strong>Trend:</strong> value, unit, trendData array, description</li>\n <li><strong>Text:</strong> value (string), color, description</li>\n </ul>\n </div>\n </div>\n </div>\n </dees-panel>\n \n <dees-panel .title=', " .subtitle=", '>\n <h4 style="margin: 0 0 16px 0; font-size: 16px; font-weight: 600;">Compact Layout (180px tiles)</h4>\n <dees-statsgrid\n .tiles=', "\n .minTileWidth=", "\n .gap=", '\n ></dees-statsgrid>\n \n <h4 style="margin: 24px 0 16px 0; font-size: 16px; font-weight: 600;">Spacious Layout (320px tiles)</h4>\n <dees-statsgrid\n .tiles=', "\n .minTileWidth=", "\n .gap=", "\n ></dees-statsgrid>\n </dees-panel>\n \n <dees-panel .title=", " .subtitle=", '>\n <dees-statsgrid\n id="cpu-cores-grid"\n .tiles=', "\n .gridActions=", "\n .minTileWidth=", "\n .gap=", "\n ></dees-statsgrid>\n </dees-panel>\n\n <dees-panel .title=", " .subtitle=", '>\n <dees-statsgrid\n id="interactive-grid"\n .tiles=', "\n .gridActions=", "\n .minTileWidth=", "\n .gap=", "\n ></dees-statsgrid>\n </dees-panel>\n \n <dees-panel .title=", " .subtitle=", '>\n <div class="code-block">', "</div>\n </dees-panel>\n\n <dees-panel .title=", " .subtitle=", ">\n <dees-statsgrid\n .tiles=", "\n .minTileWidth=", "\n .gap=", `
|
|
113267
114041
|
></dees-statsgrid>
|
|
113268
114042
|
|
|
113269
114043
|
<div class="tile-config">
|
|
@@ -146160,8 +146934,8 @@ var DeesInputRichtext = (() => {
|
|
|
146160
146934
|
|
|
146161
146935
|
// node_modules/.pnpm/@design.estate+dees-catalog@3.43.0_@tiptap+pm@2.27.2/node_modules/@design.estate/dees-catalog/dist_ts_web/elements/00group-input/dees-input-tags/dees-input-tags.demo.js
|
|
146162
146936
|
init_dist_ts29();
|
|
146163
|
-
var
|
|
146164
|
-
var demoFunc42 = () => b2(
|
|
146937
|
+
var _a45;
|
|
146938
|
+
var demoFunc42 = () => b2(_a45 || (_a45 = __template(["\n <dees-demowrapper>\n <style>\n ", '\n </style>\n \n <div class="demo-container">\n <dees-panel .title=', " .subtitle=", ">\n <dees-input-tags\n .label=", "\n .placeholder=", "\n .value=", "\n .description=", "\n ></dees-input-tags>\n </dees-panel>\n\n <dees-panel .title=", " .subtitle=", ">\n <dees-input-tags\n .label=", "\n .placeholder=", "\n .suggestions=", "\n .value=", "\n .description=", "\n ></dees-input-tags>\n </dees-panel>\n\n <dees-panel .title=", " .subtitle=", '>\n <div class="grid-layout">\n <dees-input-tags\n .label=', "\n .placeholder=", "\n .maxTags=", "\n .value=", "\n .description=", "\n ></dees-input-tags>\n \n <dees-input-tags\n .label=", "\n .placeholder=", "\n .maxTags=", "\n .suggestions=", "\n .value=", "\n .description=", "\n ></dees-input-tags>\n </div>\n </dees-panel>\n\n <dees-panel .title=", " .subtitle=", ">\n <dees-input-tags\n .label=", "\n .placeholder=", "\n .required=", "\n .description=", "\n ></dees-input-tags>\n </dees-panel>\n\n <dees-panel .title=", " .subtitle=", ">\n <dees-input-tags\n .label=", "\n .value=", "\n .disabled=", "\n .description=", "\n ></dees-input-tags>\n </dees-panel>\n\n <dees-panel .title=", " .subtitle=", ">\n <dees-form>\n <dees-input-text\n .label=", "\n .placeholder=", "\n .required=", "\n .key=", '\n ></dees-input-text>\n \n <div class="grid-layout">\n <dees-input-tags\n .label=', "\n .placeholder=", "\n .required=", "\n .key=", "\n .suggestions=", "\n ></dees-input-tags>\n \n <dees-input-tags\n .label=", "\n .placeholder=", "\n .key=", "\n .maxTags=", "\n .suggestions=", "\n ></dees-input-tags>\n </div>\n \n <dees-input-text\n .label=", "\n .inputType=", "\n .placeholder=", "\n .key=", "\n ></dees-input-text>\n \n <dees-form-submit .text=", "></dees-form-submit>\n </dees-form>\n </dees-panel>\n\n <dees-panel .title=", " .subtitle=", '>\n <dees-input-tags\n id="interactive-tags"\n .label=', "\n .placeholder=", "\n .suggestions=", "\n @change=", `
|
|
146165
146939
|
></dees-input-tags>
|
|
146166
146940
|
|
|
146167
146941
|
<div class="tag-preview" id="tags-preview">
|
|
@@ -178433,9 +179207,9 @@ init_group_runtime();
|
|
|
178433
179207
|
|
|
178434
179208
|
// ts_web/pages/sz-demo-app-shell.ts
|
|
178435
179209
|
init_dist_ts29();
|
|
178436
|
-
var _SzDemoAppShell_decorators,
|
|
179210
|
+
var _SzDemoAppShell_decorators, _init43, _a46;
|
|
178437
179211
|
_SzDemoAppShell_decorators = [t4("sz-demo-app-shell")];
|
|
178438
|
-
var SzDemoAppShell = class extends (
|
|
179212
|
+
var SzDemoAppShell = class extends (_a46 = DeesElement) {
|
|
178439
179213
|
static styles = [
|
|
178440
179214
|
cssManager.defaultStyles,
|
|
178441
179215
|
i`
|
|
@@ -178640,9 +179414,9 @@ var SzDemoAppShell = class extends (_a43 = DeesElement) {
|
|
|
178640
179414
|
]);
|
|
178641
179415
|
}
|
|
178642
179416
|
};
|
|
178643
|
-
|
|
178644
|
-
SzDemoAppShell = __decorateElement(
|
|
178645
|
-
__runInitializers(
|
|
179417
|
+
_init43 = __decoratorStart(_a46);
|
|
179418
|
+
SzDemoAppShell = __decorateElement(_init43, 0, "SzDemoAppShell", _SzDemoAppShell_decorators, SzDemoAppShell);
|
|
179419
|
+
__runInitializers(_init43, 1, SzDemoAppShell);
|
|
178646
179420
|
|
|
178647
179421
|
// html/index.ts
|
|
178648
179422
|
setupWccTools({
|