@design.estate/dees-wcctools 3.3.0 → 3.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.
@@ -5607,7 +5607,7 @@ var require_sweet_scroll = __commonJS({
5607
5607
  hash: null
5608
5608
  };
5609
5609
  this.loop = function(time) {
5610
- var _a17 = _this, $el = _a17.$el, ctx = _a17.ctx;
5610
+ var _a23 = _this, $el = _a23.$el, ctx = _a23.ctx;
5611
5611
  if (!ctx.start) {
5612
5612
  ctx.start = time;
5613
5613
  }
@@ -5702,7 +5702,7 @@ var require_sweet_scroll = __commonJS({
5702
5702
  if (!canUseDOM) {
5703
5703
  return;
5704
5704
  }
5705
- var _a17 = this, $el = _a17.$el, ctx = _a17.ctx, currentOptions = _a17.opts;
5705
+ var _a23 = this, $el = _a23.$el, ctx = _a23.ctx, currentOptions = _a23.opts;
5706
5706
  var $trigger = ctx.$trigger;
5707
5707
  var opts = __assign2({}, currentOptions, options || {});
5708
5708
  var optOffset = opts.offset, vertical = opts.vertical, horizontal = opts.horizontal;
@@ -5769,7 +5769,7 @@ var require_sweet_scroll = __commonJS({
5769
5769
  if (gotoEnd === void 0) {
5770
5770
  gotoEnd = false;
5771
5771
  }
5772
- var _a17 = this, $el = _a17.$el, ctx = _a17.ctx;
5772
+ var _a23 = this, $el = _a23.$el, ctx = _a23.ctx;
5773
5773
  var pos = ctx.pos;
5774
5774
  if (!$el || !ctx.progress) {
5775
5775
  return;
@@ -5825,7 +5825,7 @@ var require_sweet_scroll = __commonJS({
5825
5825
  ctx.id = SweetScroll4.raf(this.loop);
5826
5826
  };
5827
5827
  SweetScroll4.prototype.complete = function() {
5828
- var _a17 = this, $el = _a17.$el, ctx = _a17.ctx;
5828
+ var _a23 = this, $el = _a23.$el, ctx = _a23.ctx;
5829
5829
  var hash = ctx.hash, cancel = ctx.cancel, opts = ctx.opts, pos = ctx.pos, $trigger = ctx.$trigger;
5830
5830
  if (!$el || !opts) {
5831
5831
  return;
@@ -5851,18 +5851,18 @@ var require_sweet_scroll = __commonJS({
5851
5851
  for (var _i = 2; _i < arguments.length; _i++) {
5852
5852
  args[_i - 2] = arguments[_i];
5853
5853
  }
5854
- var _a17;
5854
+ var _a23;
5855
5855
  var callback = options[type5];
5856
5856
  var callbackResult;
5857
5857
  var methodResult;
5858
5858
  if (isFunction2(callback)) {
5859
5859
  callbackResult = callback.apply(this, args.concat([this]));
5860
5860
  }
5861
- methodResult = (_a17 = this)["on" + (type5[0].toUpperCase() + type5.slice(1))].apply(_a17, args);
5861
+ methodResult = (_a23 = this)["on" + (type5[0].toUpperCase() + type5.slice(1))].apply(_a23, args);
5862
5862
  return callbackResult !== void 0 ? callbackResult : methodResult;
5863
5863
  };
5864
5864
  SweetScroll4.prototype.bind = function(click, stop) {
5865
- var _a17 = this, $el = _a17.$el, opts = _a17.ctx.opts;
5865
+ var _a23 = this, $el = _a23.$el, opts = _a23.ctx.opts;
5866
5866
  if ($el) {
5867
5867
  if (click) {
5868
5868
  addEvent($el, CONTAINER_CLICK_EVENT, this.handleClick, false);
@@ -5873,7 +5873,7 @@ var require_sweet_scroll = __commonJS({
5873
5873
  }
5874
5874
  };
5875
5875
  SweetScroll4.prototype.unbind = function(click, stop) {
5876
- var _a17 = this, $el = _a17.$el, opts = _a17.ctx.opts;
5876
+ var _a23 = this, $el = _a23.$el, opts = _a23.ctx.opts;
5877
5877
  if ($el) {
5878
5878
  if (click) {
5879
5879
  removeEvent($el, CONTAINER_CLICK_EVENT, this.handleClick, false);
@@ -7105,7 +7105,7 @@ var Subscription = (function() {
7105
7105
  this._finalizers = null;
7106
7106
  }
7107
7107
  Subscription2.prototype.unsubscribe = function() {
7108
- var e_1, _a17, e_2, _b2;
7108
+ var e_1, _a23, e_2, _b2;
7109
7109
  var errors;
7110
7110
  if (!this.closed) {
7111
7111
  this.closed = true;
@@ -7122,7 +7122,7 @@ var Subscription = (function() {
7122
7122
  e_1 = { error: e_1_1 };
7123
7123
  } finally {
7124
7124
  try {
7125
- if (_parentage_1_1 && !_parentage_1_1.done && (_a17 = _parentage_1.return)) _a17.call(_parentage_1);
7125
+ if (_parentage_1_1 && !_parentage_1_1.done && (_a23 = _parentage_1.return)) _a23.call(_parentage_1);
7126
7126
  } finally {
7127
7127
  if (e_1) throw e_1.error;
7128
7128
  }
@@ -7172,7 +7172,7 @@ var Subscription = (function() {
7172
7172
  }
7173
7173
  };
7174
7174
  Subscription2.prototype.add = function(teardown) {
7175
- var _a17;
7175
+ var _a23;
7176
7176
  if (teardown && teardown !== this) {
7177
7177
  if (this.closed) {
7178
7178
  execFinalizer(teardown);
@@ -7183,7 +7183,7 @@ var Subscription = (function() {
7183
7183
  }
7184
7184
  teardown._addParent(this);
7185
7185
  }
7186
- (this._finalizers = (_a17 = this._finalizers) !== null && _a17 !== void 0 ? _a17 : []).push(teardown);
7186
+ (this._finalizers = (_a23 = this._finalizers) !== null && _a23 !== void 0 ? _a23 : []).push(teardown);
7187
7187
  }
7188
7188
  }
7189
7189
  };
@@ -7302,7 +7302,7 @@ function errorContext(cb) {
7302
7302
  }
7303
7303
  cb();
7304
7304
  if (isRoot) {
7305
- var _a17 = context, errorThrown = _a17.errorThrown, error = _a17.error;
7305
+ var _a23 = context, errorThrown = _a23.errorThrown, error = _a23.error;
7306
7306
  context = null;
7307
7307
  if (errorThrown) {
7308
7308
  throw error;
@@ -7533,7 +7533,7 @@ var Observable = (function() {
7533
7533
  var _this = this;
7534
7534
  var subscriber = isSubscriber(observerOrNext) ? observerOrNext : new SafeSubscriber(observerOrNext, error, complete);
7535
7535
  errorContext(function() {
7536
- var _a17 = _this, operator = _a17.operator, source = _a17.source;
7536
+ var _a23 = _this, operator = _a23.operator, source = _a23.source;
7537
7537
  subscriber.add(operator ? operator.call(subscriber, source) : source ? _this._subscribe(subscriber) : _this._trySubscribe(subscriber));
7538
7538
  });
7539
7539
  return subscriber;
@@ -7565,8 +7565,8 @@ var Observable = (function() {
7565
7565
  });
7566
7566
  };
7567
7567
  Observable2.prototype._subscribe = function(subscriber) {
7568
- var _a17;
7569
- return (_a17 = this.source) === null || _a17 === void 0 ? void 0 : _a17.subscribe(subscriber);
7568
+ var _a23;
7569
+ return (_a23 = this.source) === null || _a23 === void 0 ? void 0 : _a23.subscribe(subscriber);
7570
7570
  };
7571
7571
  Observable2.prototype[observable] = function() {
7572
7572
  return this;
@@ -7598,8 +7598,8 @@ var Observable = (function() {
7598
7598
  return Observable2;
7599
7599
  })();
7600
7600
  function getPromiseCtor(promiseCtor) {
7601
- var _a17;
7602
- return (_a17 = promiseCtor !== null && promiseCtor !== void 0 ? promiseCtor : config.Promise) !== null && _a17 !== void 0 ? _a17 : Promise;
7601
+ var _a23;
7602
+ return (_a23 = promiseCtor !== null && promiseCtor !== void 0 ? promiseCtor : config.Promise) !== null && _a23 !== void 0 ? _a23 : Promise;
7603
7603
  }
7604
7604
  function isObserver(value2) {
7605
7605
  return value2 && isFunction(value2.next) && isFunction(value2.error) && isFunction(value2.complete);
@@ -7665,11 +7665,11 @@ var OperatorSubscriber = (function(_super) {
7665
7665
  return _this;
7666
7666
  }
7667
7667
  OperatorSubscriber2.prototype.unsubscribe = function() {
7668
- var _a17;
7668
+ var _a23;
7669
7669
  if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) {
7670
7670
  var closed_1 = this.closed;
7671
7671
  _super.prototype.unsubscribe.call(this);
7672
- !closed_1 && ((_a17 = this.onFinalize) === null || _a17 === void 0 ? void 0 : _a17.call(this));
7672
+ !closed_1 && ((_a23 = this.onFinalize) === null || _a23 === void 0 ? void 0 : _a23.call(this));
7673
7673
  }
7674
7674
  };
7675
7675
  return OperatorSubscriber2;
@@ -7710,7 +7710,7 @@ var Subject = (function(_super) {
7710
7710
  Subject2.prototype.next = function(value2) {
7711
7711
  var _this = this;
7712
7712
  errorContext(function() {
7713
- var e_1, _a17;
7713
+ var e_1, _a23;
7714
7714
  _this._throwIfClosed();
7715
7715
  if (!_this.isStopped) {
7716
7716
  if (!_this.currentObservers) {
@@ -7725,7 +7725,7 @@ var Subject = (function(_super) {
7725
7725
  e_1 = { error: e_1_1 };
7726
7726
  } finally {
7727
7727
  try {
7728
- if (_c2 && !_c2.done && (_a17 = _b2.return)) _a17.call(_b2);
7728
+ if (_c2 && !_c2.done && (_a23 = _b2.return)) _a23.call(_b2);
7729
7729
  } finally {
7730
7730
  if (e_1) throw e_1.error;
7731
7731
  }
@@ -7766,8 +7766,8 @@ var Subject = (function(_super) {
7766
7766
  };
7767
7767
  Object.defineProperty(Subject2.prototype, "observed", {
7768
7768
  get: function() {
7769
- var _a17;
7770
- return ((_a17 = this.observers) === null || _a17 === void 0 ? void 0 : _a17.length) > 0;
7769
+ var _a23;
7770
+ return ((_a23 = this.observers) === null || _a23 === void 0 ? void 0 : _a23.length) > 0;
7771
7771
  },
7772
7772
  enumerable: false,
7773
7773
  configurable: true
@@ -7783,7 +7783,7 @@ var Subject = (function(_super) {
7783
7783
  };
7784
7784
  Subject2.prototype._innerSubscribe = function(subscriber) {
7785
7785
  var _this = this;
7786
- var _a17 = this, hasError = _a17.hasError, isStopped = _a17.isStopped, observers = _a17.observers;
7786
+ var _a23 = this, hasError = _a23.hasError, isStopped = _a23.isStopped, observers = _a23.observers;
7787
7787
  if (hasError || isStopped) {
7788
7788
  return EMPTY_SUBSCRIPTION;
7789
7789
  }
@@ -7795,7 +7795,7 @@ var Subject = (function(_super) {
7795
7795
  });
7796
7796
  };
7797
7797
  Subject2.prototype._checkFinalizedStatuses = function(subscriber) {
7798
- var _a17 = this, hasError = _a17.hasError, thrownError = _a17.thrownError, isStopped = _a17.isStopped;
7798
+ var _a23 = this, hasError = _a23.hasError, thrownError = _a23.thrownError, isStopped = _a23.isStopped;
7799
7799
  if (hasError) {
7800
7800
  subscriber.error(thrownError);
7801
7801
  } else if (isStopped) {
@@ -7821,20 +7821,20 @@ var AnonymousSubject = (function(_super) {
7821
7821
  return _this;
7822
7822
  }
7823
7823
  AnonymousSubject2.prototype.next = function(value2) {
7824
- var _a17, _b2;
7825
- (_b2 = (_a17 = this.destination) === null || _a17 === void 0 ? void 0 : _a17.next) === null || _b2 === void 0 ? void 0 : _b2.call(_a17, value2);
7824
+ var _a23, _b2;
7825
+ (_b2 = (_a23 = this.destination) === null || _a23 === void 0 ? void 0 : _a23.next) === null || _b2 === void 0 ? void 0 : _b2.call(_a23, value2);
7826
7826
  };
7827
7827
  AnonymousSubject2.prototype.error = function(err) {
7828
- var _a17, _b2;
7829
- (_b2 = (_a17 = this.destination) === null || _a17 === void 0 ? void 0 : _a17.error) === null || _b2 === void 0 ? void 0 : _b2.call(_a17, err);
7828
+ var _a23, _b2;
7829
+ (_b2 = (_a23 = this.destination) === null || _a23 === void 0 ? void 0 : _a23.error) === null || _b2 === void 0 ? void 0 : _b2.call(_a23, err);
7830
7830
  };
7831
7831
  AnonymousSubject2.prototype.complete = function() {
7832
- var _a17, _b2;
7833
- (_b2 = (_a17 = this.destination) === null || _a17 === void 0 ? void 0 : _a17.complete) === null || _b2 === void 0 ? void 0 : _b2.call(_a17);
7832
+ var _a23, _b2;
7833
+ (_b2 = (_a23 = this.destination) === null || _a23 === void 0 ? void 0 : _a23.complete) === null || _b2 === void 0 ? void 0 : _b2.call(_a23);
7834
7834
  };
7835
7835
  AnonymousSubject2.prototype._subscribe = function(subscriber) {
7836
- var _a17, _b2;
7837
- return (_b2 = (_a17 = this.source) === null || _a17 === void 0 ? void 0 : _a17.subscribe(subscriber)) !== null && _b2 !== void 0 ? _b2 : EMPTY_SUBSCRIPTION;
7836
+ var _a23, _b2;
7837
+ return (_b2 = (_a23 = this.source) === null || _a23 === void 0 ? void 0 : _a23.subscribe(subscriber)) !== null && _b2 !== void 0 ? _b2 : EMPTY_SUBSCRIPTION;
7838
7838
  };
7839
7839
  return AnonymousSubject2;
7840
7840
  })(Subject);
@@ -7872,7 +7872,7 @@ var ReplaySubject = (function(_super) {
7872
7872
  return _this;
7873
7873
  }
7874
7874
  ReplaySubject2.prototype.next = function(value2) {
7875
- var _a17 = this, isStopped = _a17.isStopped, _buffer = _a17._buffer, _infiniteTimeWindow = _a17._infiniteTimeWindow, _timestampProvider = _a17._timestampProvider, _windowTime = _a17._windowTime;
7875
+ var _a23 = this, isStopped = _a23.isStopped, _buffer = _a23._buffer, _infiniteTimeWindow = _a23._infiniteTimeWindow, _timestampProvider = _a23._timestampProvider, _windowTime = _a23._windowTime;
7876
7876
  if (!isStopped) {
7877
7877
  _buffer.push(value2);
7878
7878
  !_infiniteTimeWindow && _buffer.push(_timestampProvider.now() + _windowTime);
@@ -7884,7 +7884,7 @@ var ReplaySubject = (function(_super) {
7884
7884
  this._throwIfClosed();
7885
7885
  this._trimBuffer();
7886
7886
  var subscription = this._innerSubscribe(subscriber);
7887
- var _a17 = this, _infiniteTimeWindow = _a17._infiniteTimeWindow, _buffer = _a17._buffer;
7887
+ var _a23 = this, _infiniteTimeWindow = _a23._infiniteTimeWindow, _buffer = _a23._buffer;
7888
7888
  var copy = _buffer.slice();
7889
7889
  for (var i9 = 0; i9 < copy.length && !subscriber.closed; i9 += _infiniteTimeWindow ? 1 : 2) {
7890
7890
  subscriber.next(copy[i9]);
@@ -7893,7 +7893,7 @@ var ReplaySubject = (function(_super) {
7893
7893
  return subscription;
7894
7894
  };
7895
7895
  ReplaySubject2.prototype._trimBuffer = function() {
7896
- var _a17 = this, _bufferSize = _a17._bufferSize, _timestampProvider = _a17._timestampProvider, _buffer = _a17._buffer, _infiniteTimeWindow = _a17._infiniteTimeWindow;
7896
+ var _a23 = this, _bufferSize = _a23._bufferSize, _timestampProvider = _a23._timestampProvider, _buffer = _a23._buffer, _infiniteTimeWindow = _a23._infiniteTimeWindow;
7897
7897
  var adjustedBufferSize = (_infiniteTimeWindow ? 1 : 2) * _bufferSize;
7898
7898
  _bufferSize < Infinity && adjustedBufferSize < _buffer.length && _buffer.splice(0, _buffer.length - adjustedBufferSize);
7899
7899
  if (!_infiniteTimeWindow) {
@@ -7954,7 +7954,7 @@ var AsyncAction = (function(_super) {
7954
7954
  return _this;
7955
7955
  }
7956
7956
  AsyncAction2.prototype.schedule = function(state, delay2) {
7957
- var _a17;
7957
+ var _a23;
7958
7958
  if (delay2 === void 0) {
7959
7959
  delay2 = 0;
7960
7960
  }
@@ -7969,7 +7969,7 @@ var AsyncAction = (function(_super) {
7969
7969
  }
7970
7970
  this.pending = true;
7971
7971
  this.delay = delay2;
7972
- this.id = (_a17 = this.id) !== null && _a17 !== void 0 ? _a17 : this.requestAsyncId(scheduler, this.id, delay2);
7972
+ this.id = (_a23 = this.id) !== null && _a23 !== void 0 ? _a23 : this.requestAsyncId(scheduler, this.id, delay2);
7973
7973
  return this;
7974
7974
  };
7975
7975
  AsyncAction2.prototype.requestAsyncId = function(scheduler, _id, delay2) {
@@ -8018,7 +8018,7 @@ var AsyncAction = (function(_super) {
8018
8018
  };
8019
8019
  AsyncAction2.prototype.unsubscribe = function() {
8020
8020
  if (!this.closed) {
8021
- var _a17 = this, id = _a17.id, scheduler = _a17.scheduler;
8021
+ var _a23 = this, id = _a23.id, scheduler = _a23.scheduler;
8022
8022
  var actions = scheduler.actions;
8023
8023
  this.work = this.state = this.scheduler = null;
8024
8024
  this.pending = false;
@@ -8153,7 +8153,7 @@ function isIterable(input) {
8153
8153
  // node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/isReadableStreamLike.js
8154
8154
  function readableStreamLikeToAsyncGenerator(readableStream) {
8155
8155
  return __asyncGenerator(this, arguments, function readableStreamLikeToAsyncGenerator_1() {
8156
- var reader, _a17, value2, done;
8156
+ var reader, _a23, value2, done;
8157
8157
  return __generator(this, function(_b2) {
8158
8158
  switch (_b2.label) {
8159
8159
  case 0:
@@ -8166,7 +8166,7 @@ function readableStreamLikeToAsyncGenerator(readableStream) {
8166
8166
  if (false) return [3, 8];
8167
8167
  return [4, __await(reader.read())];
8168
8168
  case 3:
8169
- _a17 = _b2.sent(), value2 = _a17.value, done = _a17.done;
8169
+ _a23 = _b2.sent(), value2 = _a23.value, done = _a23.done;
8170
8170
  if (!done) return [3, 5];
8171
8171
  return [4, __await(void 0)];
8172
8172
  case 4:
@@ -8251,7 +8251,7 @@ function fromPromise(promise) {
8251
8251
  }
8252
8252
  function fromIterable(iterable) {
8253
8253
  return new Observable(function(subscriber) {
8254
- var e_1, _a17;
8254
+ var e_1, _a23;
8255
8255
  try {
8256
8256
  for (var iterable_1 = __values(iterable), iterable_1_1 = iterable_1.next(); !iterable_1_1.done; iterable_1_1 = iterable_1.next()) {
8257
8257
  var value2 = iterable_1_1.value;
@@ -8264,7 +8264,7 @@ function fromIterable(iterable) {
8264
8264
  e_1 = { error: e_1_1 };
8265
8265
  } finally {
8266
8266
  try {
8267
- if (iterable_1_1 && !iterable_1_1.done && (_a17 = iterable_1.return)) _a17.call(iterable_1);
8267
+ if (iterable_1_1 && !iterable_1_1.done && (_a23 = iterable_1.return)) _a23.call(iterable_1);
8268
8268
  } finally {
8269
8269
  if (e_1) throw e_1.error;
8270
8270
  }
@@ -8284,7 +8284,7 @@ function fromReadableStreamLike(readableStream) {
8284
8284
  }
8285
8285
  function process2(asyncIterable, subscriber) {
8286
8286
  var asyncIterable_1, asyncIterable_1_1;
8287
- var e_2, _a17;
8287
+ var e_2, _a23;
8288
8288
  return __awaiter(this, void 0, void 0, function() {
8289
8289
  var value2, e_2_1;
8290
8290
  return __generator(this, function(_b2) {
@@ -8313,8 +8313,8 @@ function process2(asyncIterable, subscriber) {
8313
8313
  return [3, 11];
8314
8314
  case 6:
8315
8315
  _b2.trys.push([6, , 9, 10]);
8316
- if (!(asyncIterable_1_1 && !asyncIterable_1_1.done && (_a17 = asyncIterable_1.return))) return [3, 8];
8317
- return [4, _a17.call(asyncIterable_1)];
8316
+ if (!(asyncIterable_1_1 && !asyncIterable_1_1.done && (_a23 = asyncIterable_1.return))) return [3, 8];
8317
+ return [4, _a23.call(asyncIterable_1)];
8318
8318
  case 7:
8319
8319
  _b2.sent();
8320
8320
  _b2.label = 8;
@@ -8423,11 +8423,11 @@ function scheduleIterable(input, scheduler) {
8423
8423
  executeSchedule(subscriber, scheduler, function() {
8424
8424
  iterator2 = input[iterator]();
8425
8425
  executeSchedule(subscriber, scheduler, function() {
8426
- var _a17;
8426
+ var _a23;
8427
8427
  var value2;
8428
8428
  var done;
8429
8429
  try {
8430
- _a17 = iterator2.next(), value2 = _a17.value, done = _a17.done;
8430
+ _a23 = iterator2.next(), value2 = _a23.value, done = _a23.done;
8431
8431
  } catch (err) {
8432
8432
  subscriber.error(err);
8433
8433
  return;
@@ -8650,11 +8650,11 @@ function fromEvent(target, eventName, options, resultSelector) {
8650
8650
  if (resultSelector) {
8651
8651
  return fromEvent(target, eventName, options).pipe(mapOneOrManyArgs(resultSelector));
8652
8652
  }
8653
- var _a17 = __read(isEventTarget(target) ? eventTargetMethods.map(function(methodName) {
8653
+ var _a23 = __read(isEventTarget(target) ? eventTargetMethods.map(function(methodName) {
8654
8654
  return function(handler2) {
8655
8655
  return target[methodName](eventName, handler2, options);
8656
8656
  };
8657
- }) : isNodeStyleEventEmitter(target) ? nodeEventEmitterMethods.map(toCommonHandlerRegistry(target, eventName)) : isJQueryStyleEventEmitter(target) ? jqueryMethods.map(toCommonHandlerRegistry(target, eventName)) : [], 2), add2 = _a17[0], remove2 = _a17[1];
8657
+ }) : isNodeStyleEventEmitter(target) ? nodeEventEmitterMethods.map(toCommonHandlerRegistry(target, eventName)) : isJQueryStyleEventEmitter(target) ? jqueryMethods.map(toCommonHandlerRegistry(target, eventName)) : [], 2), add2 = _a23[0], remove2 = _a23[1];
8658
8658
  if (!add2) {
8659
8659
  if (isArrayLike(target)) {
8660
8660
  return mergeMap(function(subTarget) {
@@ -8772,7 +8772,7 @@ function bufferCount(bufferSize, startBufferEvery) {
8772
8772
  var buffers = [];
8773
8773
  var count2 = 0;
8774
8774
  source.subscribe(createOperatorSubscriber(subscriber, function(value2) {
8775
- var e_1, _a17, e_2, _b2;
8775
+ var e_1, _a23, e_2, _b2;
8776
8776
  var toEmit = null;
8777
8777
  if (count2++ % startBufferEvery === 0) {
8778
8778
  buffers.push([]);
@@ -8790,7 +8790,7 @@ function bufferCount(bufferSize, startBufferEvery) {
8790
8790
  e_1 = { error: e_1_1 };
8791
8791
  } finally {
8792
8792
  try {
8793
- if (buffers_1_1 && !buffers_1_1.done && (_a17 = buffers_1.return)) _a17.call(buffers_1);
8793
+ if (buffers_1_1 && !buffers_1_1.done && (_a23 = buffers_1.return)) _a23.call(buffers_1);
8794
8794
  } finally {
8795
8795
  if (e_1) throw e_1.error;
8796
8796
  }
@@ -8813,7 +8813,7 @@ function bufferCount(bufferSize, startBufferEvery) {
8813
8813
  }
8814
8814
  }
8815
8815
  }, function() {
8816
- var e_3, _a17;
8816
+ var e_3, _a23;
8817
8817
  try {
8818
8818
  for (var buffers_2 = __values(buffers), buffers_2_1 = buffers_2.next(); !buffers_2_1.done; buffers_2_1 = buffers_2.next()) {
8819
8819
  var buffer2 = buffers_2_1.value;
@@ -8823,7 +8823,7 @@ function bufferCount(bufferSize, startBufferEvery) {
8823
8823
  e_3 = { error: e_3_1 };
8824
8824
  } finally {
8825
8825
  try {
8826
- if (buffers_2_1 && !buffers_2_1.done && (_a17 = buffers_2.return)) _a17.call(buffers_2);
8826
+ if (buffers_2_1 && !buffers_2_1.done && (_a23 = buffers_2.return)) _a23.call(buffers_2);
8827
8827
  } finally {
8828
8828
  if (e_3) throw e_3.error;
8829
8829
  }
@@ -8837,12 +8837,12 @@ function bufferCount(bufferSize, startBufferEvery) {
8837
8837
 
8838
8838
  // node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/operators/bufferTime.js
8839
8839
  function bufferTime(bufferTimeSpan) {
8840
- var _a17, _b2;
8840
+ var _a23, _b2;
8841
8841
  var otherArgs = [];
8842
8842
  for (var _i = 1; _i < arguments.length; _i++) {
8843
8843
  otherArgs[_i - 1] = arguments[_i];
8844
8844
  }
8845
- var scheduler = (_a17 = popScheduler(otherArgs)) !== null && _a17 !== void 0 ? _a17 : asyncScheduler;
8845
+ var scheduler = (_a23 = popScheduler(otherArgs)) !== null && _a23 !== void 0 ? _a23 : asyncScheduler;
8846
8846
  var bufferCreationInterval = (_b2 = otherArgs[0]) !== null && _b2 !== void 0 ? _b2 : null;
8847
8847
  var maxBufferSize = otherArgs[1] || Infinity;
8848
8848
  return operate(function(source, subscriber) {
@@ -8877,7 +8877,7 @@ function bufferTime(bufferTimeSpan) {
8877
8877
  }
8878
8878
  startBuffer();
8879
8879
  var bufferTimeSubscriber = createOperatorSubscriber(subscriber, function(value2) {
8880
- var e_1, _a18;
8880
+ var e_1, _a24;
8881
8881
  var recordsCopy = bufferRecords.slice();
8882
8882
  try {
8883
8883
  for (var recordsCopy_1 = __values(recordsCopy), recordsCopy_1_1 = recordsCopy_1.next(); !recordsCopy_1_1.done; recordsCopy_1_1 = recordsCopy_1.next()) {
@@ -8890,7 +8890,7 @@ function bufferTime(bufferTimeSpan) {
8890
8890
  e_1 = { error: e_1_1 };
8891
8891
  } finally {
8892
8892
  try {
8893
- if (recordsCopy_1_1 && !recordsCopy_1_1.done && (_a18 = recordsCopy_1.return)) _a18.call(recordsCopy_1);
8893
+ if (recordsCopy_1_1 && !recordsCopy_1_1.done && (_a24 = recordsCopy_1.return)) _a24.call(recordsCopy_1);
8894
8894
  } finally {
8895
8895
  if (e_1) throw e_1.error;
8896
8896
  }
@@ -9009,7 +9009,7 @@ function takeUntil(notifier) {
9009
9009
  // node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/operators/throttle.js
9010
9010
  function throttle(durationSelector, config2) {
9011
9011
  return operate(function(source, subscriber) {
9012
- var _a17 = config2 !== null && config2 !== void 0 ? config2 : {}, _b2 = _a17.leading, leading = _b2 === void 0 ? true : _b2, _c2 = _a17.trailing, trailing = _c2 === void 0 ? false : _c2;
9012
+ var _a23 = config2 !== null && config2 !== void 0 ? config2 : {}, _b2 = _a23.leading, leading = _b2 === void 0 ? true : _b2, _c2 = _a23.trailing, trailing = _c2 === void 0 ? false : _c2;
9013
9013
  var hasValue = false;
9014
9014
  var sendValue = null;
9015
9015
  var throttled = null;
@@ -13435,7 +13435,7 @@ var Parser = class {
13435
13435
  rest: result.rest
13436
13436
  };
13437
13437
  }
13438
- validate(_utcDate, _value, _options) {
13438
+ validate(_utcDate, _value2, _options) {
13439
13439
  return true;
13440
13440
  }
13441
13441
  };
@@ -41662,18 +41662,204 @@ __publicField(WccFrame, "styles", [
41662
41662
  ]);
41663
41663
  __runInitializers(_init, 1, WccFrame);
41664
41664
 
41665
+ // ts_web/elements/wcc-contextmenu.ts
41666
+ var _visible_dec, _y_dec, _x_dec, _menuItems_dec, _a2, _WccContextmenu_decorators, _init2, _menuItems, _x, _y, _visible;
41667
+ _WccContextmenu_decorators = [t4("wcc-contextmenu")];
41668
+ var _WccContextmenu = class _WccContextmenu extends (_a2 = DeesElement, _menuItems_dec = [n5({ type: Array })], _x_dec = [n5({ type: Number })], _y_dec = [n5({ type: Number })], _visible_dec = [r5()], _a2) {
41669
+ constructor() {
41670
+ super(...arguments);
41671
+ __privateAdd(this, _menuItems, __runInitializers(_init2, 8, this, [])), __runInitializers(_init2, 11, this);
41672
+ __privateAdd(this, _x, __runInitializers(_init2, 12, this, 0)), __runInitializers(_init2, 15, this);
41673
+ __privateAdd(this, _y, __runInitializers(_init2, 16, this, 0)), __runInitializers(_init2, 19, this);
41674
+ __privateAdd(this, _visible, __runInitializers(_init2, 20, this, false)), __runInitializers(_init2, 23, this);
41675
+ __publicField(this, "boundHandleOutsideClick", this.handleOutsideClick.bind(this));
41676
+ __publicField(this, "boundHandleKeydown", this.handleKeydown.bind(this));
41677
+ }
41678
+ // Static method to show context menu at position
41679
+ static async show(event, menuItems) {
41680
+ event.preventDefault();
41681
+ event.stopPropagation();
41682
+ const existing = document.querySelector("wcc-contextmenu");
41683
+ if (existing) {
41684
+ existing.remove();
41685
+ }
41686
+ const menu = new _WccContextmenu();
41687
+ menu.menuItems = menuItems;
41688
+ menu.x = event.clientX;
41689
+ menu.y = event.clientY;
41690
+ document.body.appendChild(menu);
41691
+ await menu.updateComplete;
41692
+ menu.adjustPosition();
41693
+ }
41694
+ render() {
41695
+ return x`
41696
+ <div class="menu">
41697
+ ${this.menuItems.map((item) => x`
41698
+ <div
41699
+ class="menu-item ${item.disabled ? "disabled" : ""}"
41700
+ @click=${() => this.handleItemClick(item)}
41701
+ >
41702
+ ${item.iconName ? x`<span class="icon">${item.iconName}</span>` : null}
41703
+ <span class="label">${item.name}</span>
41704
+ </div>
41705
+ `)}
41706
+ </div>
41707
+ `;
41708
+ }
41709
+ async connectedCallback() {
41710
+ await super.connectedCallback();
41711
+ requestAnimationFrame(() => {
41712
+ document.addEventListener("click", this.boundHandleOutsideClick);
41713
+ document.addEventListener("contextmenu", this.boundHandleOutsideClick);
41714
+ document.addEventListener("keydown", this.boundHandleKeydown);
41715
+ this.classList.add("visible");
41716
+ });
41717
+ }
41718
+ async disconnectedCallback() {
41719
+ await super.disconnectedCallback();
41720
+ document.removeEventListener("click", this.boundHandleOutsideClick);
41721
+ document.removeEventListener("contextmenu", this.boundHandleOutsideClick);
41722
+ document.removeEventListener("keydown", this.boundHandleKeydown);
41723
+ }
41724
+ adjustPosition() {
41725
+ const rect = this.getBoundingClientRect();
41726
+ const windowWidth = window.innerWidth;
41727
+ const windowHeight = window.innerHeight;
41728
+ let x2 = this.x;
41729
+ let y4 = this.y;
41730
+ if (x2 + rect.width > windowWidth - 10) {
41731
+ x2 = windowWidth - rect.width - 10;
41732
+ }
41733
+ if (y4 + rect.height > windowHeight - 10) {
41734
+ y4 = windowHeight - rect.height - 10;
41735
+ }
41736
+ if (x2 < 10) x2 = 10;
41737
+ if (y4 < 10) y4 = 10;
41738
+ this.style.left = `${x2}px`;
41739
+ this.style.top = `${y4}px`;
41740
+ }
41741
+ handleOutsideClick(e10) {
41742
+ const path2 = e10.composedPath();
41743
+ if (!path2.includes(this)) {
41744
+ this.close();
41745
+ }
41746
+ }
41747
+ handleKeydown(e10) {
41748
+ if (e10.key === "Escape") {
41749
+ this.close();
41750
+ }
41751
+ }
41752
+ async handleItemClick(item) {
41753
+ if (item.disabled) return;
41754
+ await item.action();
41755
+ this.close();
41756
+ }
41757
+ close() {
41758
+ this.classList.remove("visible");
41759
+ setTimeout(() => this.remove(), 150);
41760
+ }
41761
+ };
41762
+ _init2 = __decoratorStart(_a2);
41763
+ _menuItems = new WeakMap();
41764
+ _x = new WeakMap();
41765
+ _y = new WeakMap();
41766
+ _visible = new WeakMap();
41767
+ __decorateElement(_init2, 4, "menuItems", _menuItems_dec, _WccContextmenu, _menuItems);
41768
+ __decorateElement(_init2, 4, "x", _x_dec, _WccContextmenu, _x);
41769
+ __decorateElement(_init2, 4, "y", _y_dec, _WccContextmenu, _y);
41770
+ __decorateElement(_init2, 4, "visible", _visible_dec, _WccContextmenu, _visible);
41771
+ _WccContextmenu = __decorateElement(_init2, 0, "WccContextmenu", _WccContextmenu_decorators, _WccContextmenu);
41772
+ __publicField(_WccContextmenu, "styles", [
41773
+ i`
41774
+ :host {
41775
+ position: fixed;
41776
+ z-index: 10000;
41777
+ opacity: 0;
41778
+ transform: scale(0.95) translateY(-5px);
41779
+ transition: opacity 0.15s ease, transform 0.15s ease;
41780
+ pointer-events: none;
41781
+ }
41782
+
41783
+ :host(.visible) {
41784
+ opacity: 1;
41785
+ transform: scale(1) translateY(0);
41786
+ pointer-events: auto;
41787
+ }
41788
+
41789
+ .menu {
41790
+ min-width: 160px;
41791
+ background: #0f0f0f;
41792
+ border: 1px solid rgba(255, 255, 255, 0.1);
41793
+ border-radius: 6px;
41794
+ box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
41795
+ padding: 4px 0;
41796
+ font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
41797
+ font-size: 12px;
41798
+ }
41799
+
41800
+ .menu-item {
41801
+ display: flex;
41802
+ align-items: center;
41803
+ gap: 8px;
41804
+ padding: 8px 12px;
41805
+ color: #ccc;
41806
+ cursor: pointer;
41807
+ transition: background 0.1s ease;
41808
+ user-select: none;
41809
+ }
41810
+
41811
+ .menu-item:hover {
41812
+ background: rgba(59, 130, 246, 0.15);
41813
+ color: #fff;
41814
+ }
41815
+
41816
+ .menu-item.disabled {
41817
+ opacity: 0.4;
41818
+ cursor: not-allowed;
41819
+ pointer-events: none;
41820
+ }
41821
+
41822
+ .menu-item .icon {
41823
+ font-family: 'Material Symbols Outlined';
41824
+ font-size: 16px;
41825
+ font-weight: normal;
41826
+ font-style: normal;
41827
+ line-height: 1;
41828
+ letter-spacing: normal;
41829
+ text-transform: none;
41830
+ white-space: nowrap;
41831
+ word-wrap: normal;
41832
+ direction: ltr;
41833
+ font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
41834
+ opacity: 0.7;
41835
+ }
41836
+
41837
+ .menu-item:hover .icon {
41838
+ opacity: 1;
41839
+ }
41840
+
41841
+ .menu-item .label {
41842
+ flex: 1;
41843
+ }
41844
+ `
41845
+ ]);
41846
+ __runInitializers(_init2, 1, _WccContextmenu);
41847
+ var WccContextmenu = _WccContextmenu;
41848
+
41665
41849
  // ts_web/elements/wcc-sidebar.ts
41666
- var _collapsedSections_dec, _expandedElements_dec, _isNative_dec2, _dashboardRef_dec, _selectedType_dec, _selectedItem_dec, _a2, _WccSidebar_decorators, _init2, _selectedItem, _selectedType, _dashboardRef, _isNative2, _expandedElements, _collapsedSections;
41850
+ var _pinnedItems_dec, _searchQuery_dec, _collapsedSections_dec, _expandedElements_dec, _isNative_dec2, _dashboardRef_dec, _selectedType_dec, _selectedItem_dec, _a3, _WccSidebar_decorators, _init3, _selectedItem, _selectedType, _dashboardRef, _isNative2, _expandedElements, _collapsedSections, _searchQuery, _pinnedItems;
41667
41851
  _WccSidebar_decorators = [t4("wcc-sidebar")];
41668
- var WccSidebar = class extends (_a2 = DeesElement, _selectedItem_dec = [n5({ attribute: false })], _selectedType_dec = [n5({ attribute: false })], _dashboardRef_dec = [n5()], _isNative_dec2 = [n5()], _expandedElements_dec = [r5()], _collapsedSections_dec = [r5()], _a2) {
41852
+ var WccSidebar = class extends (_a3 = DeesElement, _selectedItem_dec = [n5({ attribute: false })], _selectedType_dec = [n5({ attribute: false })], _dashboardRef_dec = [n5()], _isNative_dec2 = [n5()], _expandedElements_dec = [r5()], _collapsedSections_dec = [r5()], _searchQuery_dec = [n5()], _pinnedItems_dec = [n5({ attribute: false })], _a3) {
41669
41853
  constructor() {
41670
41854
  super(...arguments);
41671
- __privateAdd(this, _selectedItem, __runInitializers(_init2, 8, this)), __runInitializers(_init2, 11, this);
41672
- __privateAdd(this, _selectedType, __runInitializers(_init2, 12, this)), __runInitializers(_init2, 15, this);
41673
- __privateAdd(this, _dashboardRef, __runInitializers(_init2, 16, this)), __runInitializers(_init2, 19, this);
41674
- __privateAdd(this, _isNative2, __runInitializers(_init2, 20, this, false)), __runInitializers(_init2, 23, this);
41675
- __privateAdd(this, _expandedElements, __runInitializers(_init2, 24, this, /* @__PURE__ */ new Set())), __runInitializers(_init2, 27, this);
41676
- __privateAdd(this, _collapsedSections, __runInitializers(_init2, 28, this, /* @__PURE__ */ new Set())), __runInitializers(_init2, 31, this);
41855
+ __privateAdd(this, _selectedItem, __runInitializers(_init3, 8, this)), __runInitializers(_init3, 11, this);
41856
+ __privateAdd(this, _selectedType, __runInitializers(_init3, 12, this)), __runInitializers(_init3, 15, this);
41857
+ __privateAdd(this, _dashboardRef, __runInitializers(_init3, 16, this)), __runInitializers(_init3, 19, this);
41858
+ __privateAdd(this, _isNative2, __runInitializers(_init3, 20, this, false)), __runInitializers(_init3, 23, this);
41859
+ __privateAdd(this, _expandedElements, __runInitializers(_init3, 24, this, /* @__PURE__ */ new Set())), __runInitializers(_init3, 27, this);
41860
+ __privateAdd(this, _collapsedSections, __runInitializers(_init3, 28, this, /* @__PURE__ */ new Set())), __runInitializers(_init3, 31, this);
41861
+ __privateAdd(this, _searchQuery, __runInitializers(_init3, 32, this, "")), __runInitializers(_init3, 35, this);
41862
+ __privateAdd(this, _pinnedItems, __runInitializers(_init3, 36, this, /* @__PURE__ */ new Set())), __runInitializers(_init3, 39, this);
41677
41863
  __publicField(this, "sectionsInitialized", false);
41678
41864
  }
41679
41865
  render() {
@@ -41802,7 +41988,7 @@ var WccSidebar = class extends (_a2 = DeesElement, _selectedItem_dec = [n5({ att
41802
41988
  }
41803
41989
 
41804
41990
  .selectOption.folder {
41805
- grid-template-columns: 16px 20px 1fr;
41991
+ grid-template-columns: 16px 1fr;
41806
41992
  }
41807
41993
 
41808
41994
  .selectOption .expand-icon {
@@ -41899,8 +42085,109 @@ var WccSidebar = class extends (_a2 = DeesElement, _selectedItem_dec = [n5({ att
41899
42085
  ::-webkit-scrollbar-thumb:hover {
41900
42086
  background: rgba(255, 255, 255, 0.2);
41901
42087
  }
42088
+
42089
+ .search-container {
42090
+ padding: 0.5rem;
42091
+ border-bottom: 1px solid var(--border);
42092
+ }
42093
+
42094
+ .search-input {
42095
+ width: 100%;
42096
+ box-sizing: border-box;
42097
+ background: var(--input);
42098
+ border: 1px solid var(--border);
42099
+ border-radius: var(--radius);
42100
+ padding: 0.5rem 0.75rem;
42101
+ color: var(--foreground);
42102
+ font-size: 0.75rem;
42103
+ font-family: inherit;
42104
+ outline: none;
42105
+ transition: border-color 0.15s ease;
42106
+ }
42107
+
42108
+ .search-input:focus {
42109
+ border-color: var(--primary);
42110
+ }
42111
+
42112
+ .search-input::placeholder {
42113
+ color: var(--muted-foreground);
42114
+ }
42115
+
42116
+ .highlight {
42117
+ background: rgba(59, 130, 246, 0.3);
42118
+ border-radius: 2px;
42119
+ }
42120
+
42121
+ /* Pinned item highlight in original section */
42122
+ .selectOption.pinned {
42123
+ background: rgba(245, 158, 11, 0.08);
42124
+ }
42125
+
42126
+ .selectOption.pinned:hover {
42127
+ background: rgba(245, 158, 11, 0.12);
42128
+ }
42129
+
42130
+ .selectOption.pinned.selected {
42131
+ background: rgba(245, 158, 11, 0.18);
42132
+ }
42133
+
42134
+ /* Pinned section styling */
42135
+ .section-header.pinned-section {
42136
+ background: rgba(245, 158, 11, 0.08);
42137
+ color: #f59e0b;
42138
+ }
42139
+
42140
+ .section-header.pinned-section:hover {
42141
+ background: rgba(245, 158, 11, 0.12);
42142
+ }
42143
+
42144
+ .section-header.pinned-section .section-icon {
42145
+ opacity: 0.8;
42146
+ }
42147
+
42148
+ /* Section tag for pinned items */
42149
+ .section-tag {
42150
+ font-size: 0.55rem;
42151
+ color: #555;
42152
+ margin-left: auto;
42153
+ text-transform: uppercase;
42154
+ letter-spacing: 0.03em;
42155
+ }
42156
+
42157
+ /* Group container */
42158
+ .item-group {
42159
+ margin: 0.375rem 0.375rem;
42160
+ border: 1px solid rgba(255, 255, 255, 0.08);
42161
+ border-radius: 6px;
42162
+ padding: 0.25rem 0;
42163
+ background: rgba(255, 255, 255, 0.01);
42164
+ }
42165
+
42166
+ .item-group-legend {
42167
+ font-size: 0.55rem;
42168
+ text-transform: uppercase;
42169
+ letter-spacing: 0.05em;
42170
+ color: #555;
42171
+ padding: 0.125rem 0.625rem 0.25rem;
42172
+ display: block;
42173
+ }
42174
+
42175
+ .item-group .selectOption {
42176
+ margin-left: 0.25rem;
42177
+ margin-right: 0.25rem;
42178
+ }
41902
42179
  </style>
42180
+ <div class="search-container">
42181
+ <input
42182
+ type="text"
42183
+ class="search-input"
42184
+ placeholder="Search..."
42185
+ .value=${this.searchQuery}
42186
+ @input=${this.handleSearchInput}
42187
+ />
42188
+ </div>
41903
42189
  <div class="menu">
42190
+ ${this.renderPinnedSection()}
41904
42191
  ${this.renderSections()}
41905
42192
  </div>
41906
42193
  `;
@@ -41909,7 +42196,7 @@ var WccSidebar = class extends (_a2 = DeesElement, _selectedItem_dec = [n5({ att
41909
42196
  * Initialize collapsed sections from section config
41910
42197
  */
41911
42198
  initCollapsedSections() {
41912
- if (this.sectionsInitialized) return;
42199
+ if (this.sectionsInitialized || !this.dashboardRef?.sections) return;
41913
42200
  const collapsed = /* @__PURE__ */ new Set();
41914
42201
  for (const section of this.dashboardRef.sections) {
41915
42202
  if (section.collapsed) {
@@ -41919,12 +42206,104 @@ var WccSidebar = class extends (_a2 = DeesElement, _selectedItem_dec = [n5({ att
41919
42206
  this.collapsedSections = collapsed;
41920
42207
  this.sectionsInitialized = true;
41921
42208
  }
42209
+ // ============ Pinning helpers ============
42210
+ getPinKey(sectionName, itemName) {
42211
+ return `${sectionName}::${itemName}`;
42212
+ }
42213
+ isPinned(sectionName, itemName) {
42214
+ return this.pinnedItems.has(this.getPinKey(sectionName, itemName));
42215
+ }
42216
+ togglePin(sectionName, itemName) {
42217
+ const key2 = this.getPinKey(sectionName, itemName);
42218
+ const newPinned = new Set(this.pinnedItems);
42219
+ if (newPinned.has(key2)) {
42220
+ newPinned.delete(key2);
42221
+ } else {
42222
+ newPinned.add(key2);
42223
+ }
42224
+ this.pinnedItems = newPinned;
42225
+ this.dispatchEvent(new CustomEvent("pinnedChanged", { detail: newPinned }));
42226
+ }
42227
+ showContextMenu(e10, sectionName, itemName) {
42228
+ const isPinned = this.isPinned(sectionName, itemName);
42229
+ WccContextmenu.show(e10, [
42230
+ {
42231
+ name: isPinned ? "Unpin" : "Pin",
42232
+ iconName: isPinned ? "push_pin" : "push_pin",
42233
+ action: () => this.togglePin(sectionName, itemName)
42234
+ }
42235
+ ]);
42236
+ }
42237
+ /**
42238
+ * Render the PINNED section (only if there are pinned items)
42239
+ */
42240
+ renderPinnedSection() {
42241
+ if (!this.dashboardRef?.sections || this.pinnedItems.size === 0) {
42242
+ return null;
42243
+ }
42244
+ const isCollapsed = this.collapsedSections.has("__pinned__");
42245
+ const pinnedEntries = [];
42246
+ for (const key2 of this.pinnedItems) {
42247
+ const [sectionName, itemName] = key2.split("::");
42248
+ const section = this.dashboardRef.sections.find((s8) => s8.name === sectionName);
42249
+ if (section) {
42250
+ const entries = getSectionItems(section);
42251
+ const found = entries.find(([name]) => name === itemName);
42252
+ if (found) {
42253
+ pinnedEntries.push({ sectionName, itemName, item: found[1], section });
42254
+ }
42255
+ }
42256
+ }
42257
+ const filteredEntries = pinnedEntries.filter((e10) => this.matchesSearch(e10.itemName));
42258
+ if (filteredEntries.length === 0 && this.searchQuery) {
42259
+ return null;
42260
+ }
42261
+ return x`
42262
+ <div
42263
+ class="section-header pinned-section ${isCollapsed ? "collapsed" : ""}"
42264
+ @click=${() => this.toggleSectionCollapsed("__pinned__")}
42265
+ >
42266
+ <i class="material-symbols-outlined expand-icon">expand_more</i>
42267
+ <i class="material-symbols-outlined section-icon">push_pin</i>
42268
+ <span>Pinned</span>
42269
+ </div>
42270
+ <div class="section-content ${isCollapsed ? "collapsed" : ""}">
42271
+ ${filteredEntries.map(({ sectionName, itemName, item, section }) => {
42272
+ const isSelected = this.selectedItem === item;
42273
+ const type5 = section.type === "elements" ? "element" : "page";
42274
+ const icon = section.type === "elements" ? "featured_video" : "insert_drive_file";
42275
+ return x`
42276
+ <div
42277
+ class="selectOption ${isSelected ? "selected" : ""}"
42278
+ @click=${async () => {
42279
+ await dist_ts_exports25.DomTools.setupDomTools();
42280
+ this.selectItem(type5, itemName, item, 0, section);
42281
+ }}
42282
+ @contextmenu=${(e10) => this.showContextMenu(e10, sectionName, itemName)}
42283
+ >
42284
+ <i class="material-symbols-outlined">${icon}</i>
42285
+ <div class="text">${this.highlightMatch(itemName)}</div>
42286
+ <span class="section-tag">${sectionName}</span>
42287
+ </div>
42288
+ `;
42289
+ })}
42290
+ </div>
42291
+ `;
42292
+ }
41922
42293
  /**
41923
42294
  * Render all sections
41924
42295
  */
41925
42296
  renderSections() {
42297
+ if (!this.dashboardRef?.sections) {
42298
+ return null;
42299
+ }
41926
42300
  this.initCollapsedSections();
41927
- return this.dashboardRef.sections.map((section, index2) => {
42301
+ return this.dashboardRef.sections.map((section) => {
42302
+ const entries = getSectionItems(section);
42303
+ const filteredEntries = entries.filter(([name]) => this.matchesSearch(name));
42304
+ if (filteredEntries.length === 0 && this.searchQuery) {
42305
+ return null;
42306
+ }
41928
42307
  const isCollapsed = this.collapsedSections.has(section.name);
41929
42308
  const sectionIcon = section.icon || (section.type === "pages" ? "insert_drive_file" : "widgets");
41930
42309
  return x`
@@ -41947,74 +42326,107 @@ var WccSidebar = class extends (_a2 = DeesElement, _selectedItem_dec = [n5({ att
41947
42326
  */
41948
42327
  renderSectionItems(section) {
41949
42328
  const entries = getSectionItems(section);
42329
+ const filteredEntries = entries.filter(([name]) => this.matchesSearch(name));
41950
42330
  if (section.type === "pages") {
41951
- return entries.map(([pageName, item]) => {
42331
+ return filteredEntries.map(([pageName, item]) => {
42332
+ const isPinned = this.isPinned(section.name, pageName);
41952
42333
  return x`
41953
42334
  <div
41954
- class="selectOption ${this.selectedItem === item ? "selected" : ""}"
42335
+ class="selectOption ${this.selectedItem === item ? "selected" : ""} ${isPinned ? "pinned" : ""}"
41955
42336
  @click=${async () => {
41956
42337
  await dist_ts_exports25.DomTools.setupDomTools();
41957
42338
  this.selectItem("page", pageName, item, 0, section);
41958
42339
  }}
42340
+ @contextmenu=${(e10) => this.showContextMenu(e10, section.name, pageName)}
41959
42341
  >
41960
42342
  <i class="material-symbols-outlined">insert_drive_file</i>
41961
- <div class="text">${pageName}</div>
42343
+ <div class="text">${this.highlightMatch(pageName)}</div>
41962
42344
  </div>
41963
42345
  `;
41964
42346
  });
41965
42347
  } else {
41966
- return entries.map(([elementName, item]) => {
41967
- const anonItem = item;
41968
- const demoCount = anonItem.demo ? getDemoCount(anonItem.demo) : 0;
41969
- const isMultiDemo = anonItem.demo && hasMultipleDemos(anonItem.demo);
41970
- const isExpanded = this.expandedElements.has(elementName);
41971
- const isSelected = this.selectedItem === item;
41972
- if (isMultiDemo) {
41973
- return x`
41974
- <div
41975
- class="selectOption folder ${isExpanded ? "expanded" : ""} ${isSelected ? "selected" : ""}"
41976
- @click=${() => this.toggleExpanded(elementName)}
41977
- >
41978
- <i class="material-symbols-outlined expand-icon">chevron_right</i>
41979
- <i class="material-symbols-outlined">folder</i>
41980
- <div class="text">${elementName}</div>
41981
- </div>
41982
- ${isExpanded ? x`
41983
- <div class="demo-children">
41984
- ${Array.from({ length: demoCount }, (_3, i9) => {
41985
- const demoIndex = i9;
41986
- const isThisDemoSelected = isSelected && this.dashboardRef.selectedDemoIndex === demoIndex;
41987
- return x`
41988
- <div
41989
- class="demo-child ${isThisDemoSelected ? "selected" : ""}"
41990
- @click=${async () => {
41991
- await dist_ts_exports25.DomTools.setupDomTools();
41992
- this.selectItem("element", elementName, item, demoIndex, section);
41993
- }}
41994
- >
41995
- <i class="material-symbols-outlined">play_circle</i>
41996
- <div class="text">demo${demoIndex + 1}</div>
41997
- </div>
41998
- `;
41999
- })}
42000
- </div>
42001
- ` : null}
42002
- `;
42003
- } else {
42004
- return x`
42005
- <div
42006
- class="selectOption ${isSelected ? "selected" : ""}"
42007
- @click=${async () => {
42008
- await dist_ts_exports25.DomTools.setupDomTools();
42009
- this.selectItem("element", elementName, item, 0, section);
42010
- }}
42011
- >
42012
- <i class="material-symbols-outlined">featured_video</i>
42013
- <div class="text">${elementName}</div>
42014
- </div>
42015
- `;
42016
- }
42017
- });
42348
+ const groupedItems = /* @__PURE__ */ new Map();
42349
+ for (const entry of filteredEntries) {
42350
+ const [, item] = entry;
42351
+ const group = item.demoGroup || null;
42352
+ if (!groupedItems.has(group)) {
42353
+ groupedItems.set(group, []);
42354
+ }
42355
+ groupedItems.get(group).push(entry);
42356
+ }
42357
+ const result = [];
42358
+ const ungrouped = groupedItems.get(null) || [];
42359
+ for (const entry of ungrouped) {
42360
+ result.push(this.renderElementItem(entry, section));
42361
+ }
42362
+ for (const [groupName, items] of groupedItems) {
42363
+ if (groupName === null) continue;
42364
+ result.push(x`
42365
+ <div class="item-group">
42366
+ <span class="item-group-legend">${groupName}</span>
42367
+ ${items.map((entry) => this.renderElementItem(entry, section))}
42368
+ </div>
42369
+ `);
42370
+ }
42371
+ return result;
42372
+ }
42373
+ }
42374
+ /**
42375
+ * Render a single element item (used by renderSectionItems)
42376
+ */
42377
+ renderElementItem(entry, section) {
42378
+ const [elementName, item] = entry;
42379
+ const anonItem = item;
42380
+ const demoCount = anonItem.demo ? getDemoCount(anonItem.demo) : 0;
42381
+ const isMultiDemo = anonItem.demo && hasMultipleDemos(anonItem.demo);
42382
+ const isExpanded = this.expandedElements.has(elementName);
42383
+ const isSelected = this.selectedItem === item;
42384
+ const isPinned = this.isPinned(section.name, elementName);
42385
+ if (isMultiDemo) {
42386
+ return x`
42387
+ <div
42388
+ class="selectOption folder ${isExpanded ? "expanded" : ""} ${isSelected ? "selected" : ""} ${isPinned ? "pinned" : ""}"
42389
+ @click=${() => this.toggleExpanded(elementName)}
42390
+ @contextmenu=${(e10) => this.showContextMenu(e10, section.name, elementName)}
42391
+ >
42392
+ <i class="material-symbols-outlined expand-icon">chevron_right</i>
42393
+ <div class="text">${this.highlightMatch(elementName)}</div>
42394
+ </div>
42395
+ ${isExpanded ? x`
42396
+ <div class="demo-children">
42397
+ ${Array.from({ length: demoCount }, (_3, i9) => {
42398
+ const demoIndex = i9;
42399
+ const isThisDemoSelected = isSelected && this.dashboardRef.selectedDemoIndex === demoIndex;
42400
+ return x`
42401
+ <div
42402
+ class="demo-child ${isThisDemoSelected ? "selected" : ""}"
42403
+ @click=${async () => {
42404
+ await dist_ts_exports25.DomTools.setupDomTools();
42405
+ this.selectItem("element", elementName, item, demoIndex, section);
42406
+ }}
42407
+ >
42408
+ <i class="material-symbols-outlined">play_circle</i>
42409
+ <div class="text">demo${demoIndex + 1}</div>
42410
+ </div>
42411
+ `;
42412
+ })}
42413
+ </div>
42414
+ ` : null}
42415
+ `;
42416
+ } else {
42417
+ return x`
42418
+ <div
42419
+ class="selectOption ${isSelected ? "selected" : ""} ${isPinned ? "pinned" : ""}"
42420
+ @click=${async () => {
42421
+ await dist_ts_exports25.DomTools.setupDomTools();
42422
+ this.selectItem("element", elementName, item, 0, section);
42423
+ }}
42424
+ @contextmenu=${(e10) => this.showContextMenu(e10, section.name, elementName)}
42425
+ >
42426
+ <i class="material-symbols-outlined">featured_video</i>
42427
+ <div class="text">${this.highlightMatch(elementName)}</div>
42428
+ </div>
42429
+ `;
42018
42430
  }
42019
42431
  }
42020
42432
  toggleSectionCollapsed(sectionName) {
@@ -42035,9 +42447,29 @@ var WccSidebar = class extends (_a2 = DeesElement, _selectedItem_dec = [n5({ att
42035
42447
  }
42036
42448
  this.expandedElements = newSet;
42037
42449
  }
42450
+ handleSearchInput(e10) {
42451
+ const input = e10.target;
42452
+ this.searchQuery = input.value;
42453
+ this.dispatchEvent(new CustomEvent("searchChanged", { detail: this.searchQuery }));
42454
+ }
42455
+ matchesSearch(name) {
42456
+ if (!this.searchQuery) return true;
42457
+ return name.toLowerCase().includes(this.searchQuery.toLowerCase());
42458
+ }
42459
+ highlightMatch(text8) {
42460
+ if (!this.searchQuery) return x`${text8}`;
42461
+ const lowerText = text8.toLowerCase();
42462
+ const lowerQuery = this.searchQuery.toLowerCase();
42463
+ const index2 = lowerText.indexOf(lowerQuery);
42464
+ if (index2 === -1) return x`${text8}`;
42465
+ const before = text8.slice(0, index2);
42466
+ const match2 = text8.slice(index2, index2 + this.searchQuery.length);
42467
+ const after = text8.slice(index2 + this.searchQuery.length);
42468
+ return x`${before}<span class="highlight">${match2}</span>${after}`;
42469
+ }
42038
42470
  updated(changedProperties) {
42039
42471
  super.updated(changedProperties);
42040
- if (changedProperties.has("selectedItem") && this.selectedItem) {
42472
+ if (changedProperties.has("selectedItem") && this.selectedItem && this.dashboardRef?.sections) {
42041
42473
  for (const section of this.dashboardRef.sections) {
42042
42474
  if (section.type !== "elements") continue;
42043
42475
  const entries = getSectionItems(section);
@@ -42088,30 +42520,34 @@ var WccSidebar = class extends (_a2 = DeesElement, _selectedItem_dec = [n5({ att
42088
42520
  this.requestUpdate();
42089
42521
  }
42090
42522
  };
42091
- _init2 = __decoratorStart(_a2);
42523
+ _init3 = __decoratorStart(_a3);
42092
42524
  _selectedItem = new WeakMap();
42093
42525
  _selectedType = new WeakMap();
42094
42526
  _dashboardRef = new WeakMap();
42095
42527
  _isNative2 = new WeakMap();
42096
42528
  _expandedElements = new WeakMap();
42097
42529
  _collapsedSections = new WeakMap();
42098
- __decorateElement(_init2, 4, "selectedItem", _selectedItem_dec, WccSidebar, _selectedItem);
42099
- __decorateElement(_init2, 4, "selectedType", _selectedType_dec, WccSidebar, _selectedType);
42100
- __decorateElement(_init2, 4, "dashboardRef", _dashboardRef_dec, WccSidebar, _dashboardRef);
42101
- __decorateElement(_init2, 4, "isNative", _isNative_dec2, WccSidebar, _isNative2);
42102
- __decorateElement(_init2, 4, "expandedElements", _expandedElements_dec, WccSidebar, _expandedElements);
42103
- __decorateElement(_init2, 4, "collapsedSections", _collapsedSections_dec, WccSidebar, _collapsedSections);
42104
- WccSidebar = __decorateElement(_init2, 0, "WccSidebar", _WccSidebar_decorators, WccSidebar);
42105
- __runInitializers(_init2, 1, WccSidebar);
42530
+ _searchQuery = new WeakMap();
42531
+ _pinnedItems = new WeakMap();
42532
+ __decorateElement(_init3, 4, "selectedItem", _selectedItem_dec, WccSidebar, _selectedItem);
42533
+ __decorateElement(_init3, 4, "selectedType", _selectedType_dec, WccSidebar, _selectedType);
42534
+ __decorateElement(_init3, 4, "dashboardRef", _dashboardRef_dec, WccSidebar, _dashboardRef);
42535
+ __decorateElement(_init3, 4, "isNative", _isNative_dec2, WccSidebar, _isNative2);
42536
+ __decorateElement(_init3, 4, "expandedElements", _expandedElements_dec, WccSidebar, _expandedElements);
42537
+ __decorateElement(_init3, 4, "collapsedSections", _collapsedSections_dec, WccSidebar, _collapsedSections);
42538
+ __decorateElement(_init3, 4, "searchQuery", _searchQuery_dec, WccSidebar, _searchQuery);
42539
+ __decorateElement(_init3, 4, "pinnedItems", _pinnedItems_dec, WccSidebar, _pinnedItems);
42540
+ WccSidebar = __decorateElement(_init3, 0, "WccSidebar", _WccSidebar_decorators, WccSidebar);
42541
+ __runInitializers(_init3, 1, WccSidebar);
42106
42542
 
42107
42543
  // ts_web/elements/wcc-record-button.ts
42108
- var _duration_dec, _state_dec, _a3, _WccRecordButton_decorators, _init3, _state, _duration;
42544
+ var _duration_dec, _state_dec, _a4, _WccRecordButton_decorators, _init4, _state, _duration;
42109
42545
  _WccRecordButton_decorators = [t4("wcc-record-button")];
42110
- var WccRecordButton = class extends (_a3 = DeesElement, _state_dec = [n5({ type: String })], _duration_dec = [n5({ type: Number })], _a3) {
42546
+ var WccRecordButton = class extends (_a4 = DeesElement, _state_dec = [n5({ type: String })], _duration_dec = [n5({ type: Number })], _a4) {
42111
42547
  constructor() {
42112
42548
  super(...arguments);
42113
- __privateAdd(this, _state, __runInitializers(_init3, 8, this, "idle")), __runInitializers(_init3, 11, this);
42114
- __privateAdd(this, _duration, __runInitializers(_init3, 12, this, 0)), __runInitializers(_init3, 15, this);
42549
+ __privateAdd(this, _state, __runInitializers(_init4, 8, this, "idle")), __runInitializers(_init4, 11, this);
42550
+ __privateAdd(this, _duration, __runInitializers(_init4, 12, this, 0)), __runInitializers(_init4, 15, this);
42115
42551
  __publicField(this, "handleClick", () => {
42116
42552
  this.dispatchEvent(new CustomEvent("record-click", {
42117
42553
  bubbles: true,
@@ -42153,12 +42589,12 @@ var WccRecordButton = class extends (_a3 = DeesElement, _state_dec = [n5({ type:
42153
42589
  }
42154
42590
  }
42155
42591
  };
42156
- _init3 = __decoratorStart(_a3);
42592
+ _init4 = __decoratorStart(_a4);
42157
42593
  _state = new WeakMap();
42158
42594
  _duration = new WeakMap();
42159
- __decorateElement(_init3, 4, "state", _state_dec, WccRecordButton, _state);
42160
- __decorateElement(_init3, 4, "duration", _duration_dec, WccRecordButton, _duration);
42161
- WccRecordButton = __decorateElement(_init3, 0, "WccRecordButton", _WccRecordButton_decorators, WccRecordButton);
42595
+ __decorateElement(_init4, 4, "state", _state_dec, WccRecordButton, _state);
42596
+ __decorateElement(_init4, 4, "duration", _duration_dec, WccRecordButton, _duration);
42597
+ WccRecordButton = __decorateElement(_init4, 0, "WccRecordButton", _WccRecordButton_decorators, WccRecordButton);
42162
42598
  __publicField(WccRecordButton, "styles", [
42163
42599
  i`
42164
42600
  :host {
@@ -42211,7 +42647,7 @@ __publicField(WccRecordButton, "styles", [
42211
42647
  }
42212
42648
  `
42213
42649
  ]);
42214
- __runInitializers(_init3, 1, WccRecordButton);
42650
+ __runInitializers(_init4, 1, WccRecordButton);
42215
42651
 
42216
42652
  // ts_web/services/recorder.service.ts
42217
42653
  var RecorderService = class {
@@ -42486,25 +42922,25 @@ var RecorderService = class {
42486
42922
  };
42487
42923
 
42488
42924
  // ts_web/elements/wcc-recording-panel.ts
42489
- var _isExporting_dec, _isDraggingTrim_dec, _videoDuration_dec, _trimEnd_dec, _trimStart_dec, _previewVideoUrl_dec, _recordingDuration_dec, _audioLevel_dec, _availableMicrophones_dec, _selectedMicrophoneId_dec, _audioEnabled_dec, _recordingMode_dec, _panelState_dec, _dashboardRef_dec2, _a4, _WccRecordingPanel_decorators, _init4, _dashboardRef2, _panelState, _recordingMode, _audioEnabled, _selectedMicrophoneId, _availableMicrophones, _audioLevel, _recordingDuration, _previewVideoUrl, _trimStart, _trimEnd, _videoDuration, _isDraggingTrim, _isExporting;
42925
+ var _isExporting_dec, _isDraggingTrim_dec, _videoDuration_dec, _trimEnd_dec, _trimStart_dec, _previewVideoUrl_dec, _recordingDuration_dec, _audioLevel_dec, _availableMicrophones_dec, _selectedMicrophoneId_dec, _audioEnabled_dec, _recordingMode_dec, _panelState_dec, _dashboardRef_dec2, _a5, _WccRecordingPanel_decorators, _init5, _dashboardRef2, _panelState, _recordingMode, _audioEnabled, _selectedMicrophoneId, _availableMicrophones, _audioLevel, _recordingDuration, _previewVideoUrl, _trimStart, _trimEnd, _videoDuration, _isDraggingTrim, _isExporting;
42490
42926
  _WccRecordingPanel_decorators = [t4("wcc-recording-panel")];
42491
- var WccRecordingPanel = class extends (_a4 = DeesElement, _dashboardRef_dec2 = [n5({ attribute: false })], _panelState_dec = [r5()], _recordingMode_dec = [r5()], _audioEnabled_dec = [r5()], _selectedMicrophoneId_dec = [r5()], _availableMicrophones_dec = [r5()], _audioLevel_dec = [r5()], _recordingDuration_dec = [r5()], _previewVideoUrl_dec = [r5()], _trimStart_dec = [r5()], _trimEnd_dec = [r5()], _videoDuration_dec = [r5()], _isDraggingTrim_dec = [r5()], _isExporting_dec = [r5()], _a4) {
42927
+ var WccRecordingPanel = class extends (_a5 = DeesElement, _dashboardRef_dec2 = [n5({ attribute: false })], _panelState_dec = [r5()], _recordingMode_dec = [r5()], _audioEnabled_dec = [r5()], _selectedMicrophoneId_dec = [r5()], _availableMicrophones_dec = [r5()], _audioLevel_dec = [r5()], _recordingDuration_dec = [r5()], _previewVideoUrl_dec = [r5()], _trimStart_dec = [r5()], _trimEnd_dec = [r5()], _videoDuration_dec = [r5()], _isDraggingTrim_dec = [r5()], _isExporting_dec = [r5()], _a5) {
42492
42928
  constructor() {
42493
42929
  super();
42494
- __privateAdd(this, _dashboardRef2, __runInitializers(_init4, 8, this)), __runInitializers(_init4, 11, this);
42495
- __privateAdd(this, _panelState, __runInitializers(_init4, 12, this, "options")), __runInitializers(_init4, 15, this);
42496
- __privateAdd(this, _recordingMode, __runInitializers(_init4, 16, this, "viewport")), __runInitializers(_init4, 19, this);
42497
- __privateAdd(this, _audioEnabled, __runInitializers(_init4, 20, this, false)), __runInitializers(_init4, 23, this);
42498
- __privateAdd(this, _selectedMicrophoneId, __runInitializers(_init4, 24, this, "")), __runInitializers(_init4, 27, this);
42499
- __privateAdd(this, _availableMicrophones, __runInitializers(_init4, 28, this, [])), __runInitializers(_init4, 31, this);
42500
- __privateAdd(this, _audioLevel, __runInitializers(_init4, 32, this, 0)), __runInitializers(_init4, 35, this);
42501
- __privateAdd(this, _recordingDuration, __runInitializers(_init4, 36, this, 0)), __runInitializers(_init4, 39, this);
42502
- __privateAdd(this, _previewVideoUrl, __runInitializers(_init4, 40, this, "")), __runInitializers(_init4, 43, this);
42503
- __privateAdd(this, _trimStart, __runInitializers(_init4, 44, this, 0)), __runInitializers(_init4, 47, this);
42504
- __privateAdd(this, _trimEnd, __runInitializers(_init4, 48, this, 0)), __runInitializers(_init4, 51, this);
42505
- __privateAdd(this, _videoDuration, __runInitializers(_init4, 52, this, 0)), __runInitializers(_init4, 55, this);
42506
- __privateAdd(this, _isDraggingTrim, __runInitializers(_init4, 56, this, null)), __runInitializers(_init4, 59, this);
42507
- __privateAdd(this, _isExporting, __runInitializers(_init4, 60, this, false)), __runInitializers(_init4, 63, this);
42930
+ __privateAdd(this, _dashboardRef2, __runInitializers(_init5, 8, this)), __runInitializers(_init5, 11, this);
42931
+ __privateAdd(this, _panelState, __runInitializers(_init5, 12, this, "options")), __runInitializers(_init5, 15, this);
42932
+ __privateAdd(this, _recordingMode, __runInitializers(_init5, 16, this, "viewport")), __runInitializers(_init5, 19, this);
42933
+ __privateAdd(this, _audioEnabled, __runInitializers(_init5, 20, this, false)), __runInitializers(_init5, 23, this);
42934
+ __privateAdd(this, _selectedMicrophoneId, __runInitializers(_init5, 24, this, "")), __runInitializers(_init5, 27, this);
42935
+ __privateAdd(this, _availableMicrophones, __runInitializers(_init5, 28, this, [])), __runInitializers(_init5, 31, this);
42936
+ __privateAdd(this, _audioLevel, __runInitializers(_init5, 32, this, 0)), __runInitializers(_init5, 35, this);
42937
+ __privateAdd(this, _recordingDuration, __runInitializers(_init5, 36, this, 0)), __runInitializers(_init5, 39, this);
42938
+ __privateAdd(this, _previewVideoUrl, __runInitializers(_init5, 40, this, "")), __runInitializers(_init5, 43, this);
42939
+ __privateAdd(this, _trimStart, __runInitializers(_init5, 44, this, 0)), __runInitializers(_init5, 47, this);
42940
+ __privateAdd(this, _trimEnd, __runInitializers(_init5, 48, this, 0)), __runInitializers(_init5, 51, this);
42941
+ __privateAdd(this, _videoDuration, __runInitializers(_init5, 52, this, 0)), __runInitializers(_init5, 55, this);
42942
+ __privateAdd(this, _isDraggingTrim, __runInitializers(_init5, 56, this, null)), __runInitializers(_init5, 59, this);
42943
+ __privateAdd(this, _isExporting, __runInitializers(_init5, 60, this, false)), __runInitializers(_init5, 63, this);
42508
42944
  // Service instance
42509
42945
  __publicField(this, "recorderService");
42510
42946
  this.recorderService = new RecorderService({
@@ -42898,7 +43334,7 @@ var WccRecordingPanel = class extends (_a4 = DeesElement, _dashboardRef_dec2 = [
42898
43334
  }
42899
43335
  }
42900
43336
  };
42901
- _init4 = __decoratorStart(_a4);
43337
+ _init5 = __decoratorStart(_a5);
42902
43338
  _dashboardRef2 = new WeakMap();
42903
43339
  _panelState = new WeakMap();
42904
43340
  _recordingMode = new WeakMap();
@@ -42913,21 +43349,21 @@ _trimEnd = new WeakMap();
42913
43349
  _videoDuration = new WeakMap();
42914
43350
  _isDraggingTrim = new WeakMap();
42915
43351
  _isExporting = new WeakMap();
42916
- __decorateElement(_init4, 4, "dashboardRef", _dashboardRef_dec2, WccRecordingPanel, _dashboardRef2);
42917
- __decorateElement(_init4, 4, "panelState", _panelState_dec, WccRecordingPanel, _panelState);
42918
- __decorateElement(_init4, 4, "recordingMode", _recordingMode_dec, WccRecordingPanel, _recordingMode);
42919
- __decorateElement(_init4, 4, "audioEnabled", _audioEnabled_dec, WccRecordingPanel, _audioEnabled);
42920
- __decorateElement(_init4, 4, "selectedMicrophoneId", _selectedMicrophoneId_dec, WccRecordingPanel, _selectedMicrophoneId);
42921
- __decorateElement(_init4, 4, "availableMicrophones", _availableMicrophones_dec, WccRecordingPanel, _availableMicrophones);
42922
- __decorateElement(_init4, 4, "audioLevel", _audioLevel_dec, WccRecordingPanel, _audioLevel);
42923
- __decorateElement(_init4, 4, "recordingDuration", _recordingDuration_dec, WccRecordingPanel, _recordingDuration);
42924
- __decorateElement(_init4, 4, "previewVideoUrl", _previewVideoUrl_dec, WccRecordingPanel, _previewVideoUrl);
42925
- __decorateElement(_init4, 4, "trimStart", _trimStart_dec, WccRecordingPanel, _trimStart);
42926
- __decorateElement(_init4, 4, "trimEnd", _trimEnd_dec, WccRecordingPanel, _trimEnd);
42927
- __decorateElement(_init4, 4, "videoDuration", _videoDuration_dec, WccRecordingPanel, _videoDuration);
42928
- __decorateElement(_init4, 4, "isDraggingTrim", _isDraggingTrim_dec, WccRecordingPanel, _isDraggingTrim);
42929
- __decorateElement(_init4, 4, "isExporting", _isExporting_dec, WccRecordingPanel, _isExporting);
42930
- WccRecordingPanel = __decorateElement(_init4, 0, "WccRecordingPanel", _WccRecordingPanel_decorators, WccRecordingPanel);
43352
+ __decorateElement(_init5, 4, "dashboardRef", _dashboardRef_dec2, WccRecordingPanel, _dashboardRef2);
43353
+ __decorateElement(_init5, 4, "panelState", _panelState_dec, WccRecordingPanel, _panelState);
43354
+ __decorateElement(_init5, 4, "recordingMode", _recordingMode_dec, WccRecordingPanel, _recordingMode);
43355
+ __decorateElement(_init5, 4, "audioEnabled", _audioEnabled_dec, WccRecordingPanel, _audioEnabled);
43356
+ __decorateElement(_init5, 4, "selectedMicrophoneId", _selectedMicrophoneId_dec, WccRecordingPanel, _selectedMicrophoneId);
43357
+ __decorateElement(_init5, 4, "availableMicrophones", _availableMicrophones_dec, WccRecordingPanel, _availableMicrophones);
43358
+ __decorateElement(_init5, 4, "audioLevel", _audioLevel_dec, WccRecordingPanel, _audioLevel);
43359
+ __decorateElement(_init5, 4, "recordingDuration", _recordingDuration_dec, WccRecordingPanel, _recordingDuration);
43360
+ __decorateElement(_init5, 4, "previewVideoUrl", _previewVideoUrl_dec, WccRecordingPanel, _previewVideoUrl);
43361
+ __decorateElement(_init5, 4, "trimStart", _trimStart_dec, WccRecordingPanel, _trimStart);
43362
+ __decorateElement(_init5, 4, "trimEnd", _trimEnd_dec, WccRecordingPanel, _trimEnd);
43363
+ __decorateElement(_init5, 4, "videoDuration", _videoDuration_dec, WccRecordingPanel, _videoDuration);
43364
+ __decorateElement(_init5, 4, "isDraggingTrim", _isDraggingTrim_dec, WccRecordingPanel, _isDraggingTrim);
43365
+ __decorateElement(_init5, 4, "isExporting", _isExporting_dec, WccRecordingPanel, _isExporting);
43366
+ WccRecordingPanel = __decorateElement(_init5, 0, "WccRecordingPanel", _WccRecordingPanel_decorators, WccRecordingPanel);
42931
43367
  __publicField(WccRecordingPanel, "styles", [
42932
43368
  i`
42933
43369
  :host {
@@ -43406,31 +43842,31 @@ __publicField(WccRecordingPanel, "styles", [
43406
43842
 
43407
43843
  `
43408
43844
  ]);
43409
- __runInitializers(_init4, 1, WccRecordingPanel);
43845
+ __runInitializers(_init5, 1, WccRecordingPanel);
43410
43846
 
43411
43847
  // ts_web/elements/wcc-properties.ts
43412
- var _recordingDuration_dec2, _isRecording_dec, _showRecordingPanel_dec, _editingProperties_dec, _propertyContent_dec, _isNative_dec3, _warning_dec, _selectedTheme_dec, _selectedViewport_dec, _selectedItem_dec2, _dashboardRef_dec3, _a5, _WccProperties_decorators, _init5, _dashboardRef3, _selectedItem2, _selectedViewport, _selectedTheme, _warning, _isNative3, _propertyContent, _editingProperties, _showRecordingPanel, _isRecording, _recordingDuration2;
43848
+ var _recordingDuration_dec2, _isRecording_dec, _showRecordingPanel_dec, _editingProperties_dec, _propertyContent_dec, _isNative_dec3, _warning_dec, _selectedTheme_dec, _selectedViewport_dec, _selectedItem_dec2, _dashboardRef_dec3, _a6, _WccProperties_decorators, _init6, _dashboardRef3, _selectedItem2, _selectedViewport, _selectedTheme, _warning, _isNative3, _propertyContent, _editingProperties, _showRecordingPanel, _isRecording, _recordingDuration2;
43413
43849
  var environment = "native";
43414
43850
  var setEnvironment = (envArg) => {
43415
43851
  environment = envArg;
43416
43852
  };
43417
43853
  _WccProperties_decorators = [t4("wcc-properties")];
43418
- var WccProperties = class extends (_a5 = DeesElement, _dashboardRef_dec3 = [n5({
43854
+ var WccProperties = class extends (_a6 = DeesElement, _dashboardRef_dec3 = [n5({
43419
43855
  type: WccDashboard2
43420
- })], _selectedItem_dec2 = [n5()], _selectedViewport_dec = [n5()], _selectedTheme_dec = [n5()], _warning_dec = [n5()], _isNative_dec3 = [n5()], _propertyContent_dec = [r5()], _editingProperties_dec = [r5()], _showRecordingPanel_dec = [r5()], _isRecording_dec = [r5()], _recordingDuration_dec2 = [r5()], _a5) {
43856
+ })], _selectedItem_dec2 = [n5()], _selectedViewport_dec = [n5()], _selectedTheme_dec = [n5()], _warning_dec = [n5()], _isNative_dec3 = [n5()], _propertyContent_dec = [r5()], _editingProperties_dec = [r5()], _showRecordingPanel_dec = [r5()], _isRecording_dec = [r5()], _recordingDuration_dec2 = [r5()], _a6) {
43421
43857
  constructor() {
43422
43858
  super(...arguments);
43423
- __privateAdd(this, _dashboardRef3, __runInitializers(_init5, 8, this)), __runInitializers(_init5, 11, this);
43424
- __privateAdd(this, _selectedItem2, __runInitializers(_init5, 12, this)), __runInitializers(_init5, 15, this);
43425
- __privateAdd(this, _selectedViewport, __runInitializers(_init5, 16, this, "native")), __runInitializers(_init5, 19, this);
43426
- __privateAdd(this, _selectedTheme, __runInitializers(_init5, 20, this, "dark")), __runInitializers(_init5, 23, this);
43427
- __privateAdd(this, _warning, __runInitializers(_init5, 24, this, null)), __runInitializers(_init5, 27, this);
43428
- __privateAdd(this, _isNative3, __runInitializers(_init5, 28, this, false)), __runInitializers(_init5, 31, this);
43429
- __privateAdd(this, _propertyContent, __runInitializers(_init5, 32, this, [])), __runInitializers(_init5, 35, this);
43430
- __privateAdd(this, _editingProperties, __runInitializers(_init5, 36, this, [])), __runInitializers(_init5, 39, this);
43431
- __privateAdd(this, _showRecordingPanel, __runInitializers(_init5, 40, this, false)), __runInitializers(_init5, 43, this);
43432
- __privateAdd(this, _isRecording, __runInitializers(_init5, 44, this, false)), __runInitializers(_init5, 47, this);
43433
- __privateAdd(this, _recordingDuration2, __runInitializers(_init5, 48, this, 0)), __runInitializers(_init5, 51, this);
43859
+ __privateAdd(this, _dashboardRef3, __runInitializers(_init6, 8, this)), __runInitializers(_init6, 11, this);
43860
+ __privateAdd(this, _selectedItem2, __runInitializers(_init6, 12, this)), __runInitializers(_init6, 15, this);
43861
+ __privateAdd(this, _selectedViewport, __runInitializers(_init6, 16, this, "native")), __runInitializers(_init6, 19, this);
43862
+ __privateAdd(this, _selectedTheme, __runInitializers(_init6, 20, this, "dark")), __runInitializers(_init6, 23, this);
43863
+ __privateAdd(this, _warning, __runInitializers(_init6, 24, this, null)), __runInitializers(_init6, 27, this);
43864
+ __privateAdd(this, _isNative3, __runInitializers(_init6, 28, this, false)), __runInitializers(_init6, 31, this);
43865
+ __privateAdd(this, _propertyContent, __runInitializers(_init6, 32, this, [])), __runInitializers(_init6, 35, this);
43866
+ __privateAdd(this, _editingProperties, __runInitializers(_init6, 36, this, [])), __runInitializers(_init6, 39, this);
43867
+ __privateAdd(this, _showRecordingPanel, __runInitializers(_init6, 40, this, false)), __runInitializers(_init6, 43, this);
43868
+ __privateAdd(this, _isRecording, __runInitializers(_init6, 44, this, false)), __runInitializers(_init6, 47, this);
43869
+ __privateAdd(this, _recordingDuration2, __runInitializers(_init6, 48, this, 0)), __runInitializers(_init6, 51, this);
43434
43870
  __publicField(this, "editorHeight", 300);
43435
43871
  }
43436
43872
  render() {
@@ -44385,7 +44821,7 @@ var WccProperties = class extends (_a5 = DeesElement, _dashboardRef_dec3 = [n5({
44385
44821
  }
44386
44822
  }
44387
44823
  };
44388
- _init5 = __decoratorStart(_a5);
44824
+ _init6 = __decoratorStart(_a6);
44389
44825
  _dashboardRef3 = new WeakMap();
44390
44826
  _selectedItem2 = new WeakMap();
44391
44827
  _selectedViewport = new WeakMap();
@@ -44397,22 +44833,22 @@ _editingProperties = new WeakMap();
44397
44833
  _showRecordingPanel = new WeakMap();
44398
44834
  _isRecording = new WeakMap();
44399
44835
  _recordingDuration2 = new WeakMap();
44400
- __decorateElement(_init5, 4, "dashboardRef", _dashboardRef_dec3, WccProperties, _dashboardRef3);
44401
- __decorateElement(_init5, 4, "selectedItem", _selectedItem_dec2, WccProperties, _selectedItem2);
44402
- __decorateElement(_init5, 4, "selectedViewport", _selectedViewport_dec, WccProperties, _selectedViewport);
44403
- __decorateElement(_init5, 4, "selectedTheme", _selectedTheme_dec, WccProperties, _selectedTheme);
44404
- __decorateElement(_init5, 4, "warning", _warning_dec, WccProperties, _warning);
44405
- __decorateElement(_init5, 4, "isNative", _isNative_dec3, WccProperties, _isNative3);
44406
- __decorateElement(_init5, 4, "propertyContent", _propertyContent_dec, WccProperties, _propertyContent);
44407
- __decorateElement(_init5, 4, "editingProperties", _editingProperties_dec, WccProperties, _editingProperties);
44408
- __decorateElement(_init5, 4, "showRecordingPanel", _showRecordingPanel_dec, WccProperties, _showRecordingPanel);
44409
- __decorateElement(_init5, 4, "isRecording", _isRecording_dec, WccProperties, _isRecording);
44410
- __decorateElement(_init5, 4, "recordingDuration", _recordingDuration_dec2, WccProperties, _recordingDuration2);
44411
- WccProperties = __decorateElement(_init5, 0, "WccProperties", _WccProperties_decorators, WccProperties);
44412
- __runInitializers(_init5, 1, WccProperties);
44836
+ __decorateElement(_init6, 4, "dashboardRef", _dashboardRef_dec3, WccProperties, _dashboardRef3);
44837
+ __decorateElement(_init6, 4, "selectedItem", _selectedItem_dec2, WccProperties, _selectedItem2);
44838
+ __decorateElement(_init6, 4, "selectedViewport", _selectedViewport_dec, WccProperties, _selectedViewport);
44839
+ __decorateElement(_init6, 4, "selectedTheme", _selectedTheme_dec, WccProperties, _selectedTheme);
44840
+ __decorateElement(_init6, 4, "warning", _warning_dec, WccProperties, _warning);
44841
+ __decorateElement(_init6, 4, "isNative", _isNative_dec3, WccProperties, _isNative3);
44842
+ __decorateElement(_init6, 4, "propertyContent", _propertyContent_dec, WccProperties, _propertyContent);
44843
+ __decorateElement(_init6, 4, "editingProperties", _editingProperties_dec, WccProperties, _editingProperties);
44844
+ __decorateElement(_init6, 4, "showRecordingPanel", _showRecordingPanel_dec, WccProperties, _showRecordingPanel);
44845
+ __decorateElement(_init6, 4, "isRecording", _isRecording_dec, WccProperties, _isRecording);
44846
+ __decorateElement(_init6, 4, "recordingDuration", _recordingDuration_dec2, WccProperties, _recordingDuration2);
44847
+ WccProperties = __decorateElement(_init6, 0, "WccProperties", _WccProperties_decorators, WccProperties);
44848
+ __runInitializers(_init6, 1, WccProperties);
44413
44849
 
44414
44850
  // ts_web/elements/wcc-dashboard.ts
44415
- var _wccFrame_dec, _warning_dec2, _selectedTheme_dec2, _selectedViewport_dec2, _selectedDemoIndex_dec, _selectedItem_dec3, _selectedItemName_dec, _selectedType_dec2, _selectedSection_dec, _sections_dec, _a6, _WccDashboard_decorators, _init6, _sections, _selectedSection, _selectedType2, _selectedItemName, _selectedItem3, _selectedDemoIndex, _selectedViewport2, _selectedTheme2, _warning2, _wccFrame;
44851
+ var _wccFrame_dec, _warning_dec2, _pinnedItems_dec2, _searchQuery_dec2, _selectedTheme_dec2, _selectedViewport_dec2, _selectedDemoIndex_dec, _selectedItem_dec3, _selectedItemName_dec, _selectedType_dec2, _selectedSection_dec, _sections_dec, _a7, _WccDashboard_decorators, _init7, _sections, _selectedSection, _selectedType2, _selectedItemName, _selectedItem3, _selectedDemoIndex, _selectedViewport2, _selectedTheme2, _searchQuery2, _pinnedItems2, _warning2, _wccFrame;
44416
44852
  var getSectionItems = (section) => {
44417
44853
  let entries = Object.entries(section.items);
44418
44854
  if (section.filter) {
@@ -44424,22 +44860,24 @@ var getSectionItems = (section) => {
44424
44860
  return entries;
44425
44861
  };
44426
44862
  _WccDashboard_decorators = [t4("wcc-dashboard")];
44427
- var WccDashboard2 = class extends (_a6 = DeesElement, _sections_dec = [n5()], _selectedSection_dec = [n5()], _selectedType_dec2 = [n5()], _selectedItemName_dec = [n5()], _selectedItem_dec3 = [n5()], _selectedDemoIndex_dec = [n5({ type: Number })], _selectedViewport_dec2 = [n5()], _selectedTheme_dec2 = [n5()], _warning_dec2 = [n5()], _wccFrame_dec = [r7("wcc-frame")], _a6) {
44863
+ var WccDashboard2 = class extends (_a7 = DeesElement, _sections_dec = [n5()], _selectedSection_dec = [n5()], _selectedType_dec2 = [n5()], _selectedItemName_dec = [n5()], _selectedItem_dec3 = [n5()], _selectedDemoIndex_dec = [n5({ type: Number })], _selectedViewport_dec2 = [n5()], _selectedTheme_dec2 = [n5()], _searchQuery_dec2 = [n5()], _pinnedItems_dec2 = [n5({ attribute: false })], _warning_dec2 = [n5()], _wccFrame_dec = [r7("wcc-frame")], _a7) {
44428
44864
  constructor(config2) {
44429
44865
  super();
44430
- __privateAdd(this, _sections, __runInitializers(_init6, 8, this, [])), __runInitializers(_init6, 11, this);
44431
- __privateAdd(this, _selectedSection, __runInitializers(_init6, 12, this, null)), __runInitializers(_init6, 15, this);
44432
- __privateAdd(this, _selectedType2, __runInitializers(_init6, 16, this)), __runInitializers(_init6, 19, this);
44433
- __privateAdd(this, _selectedItemName, __runInitializers(_init6, 20, this)), __runInitializers(_init6, 23, this);
44434
- __privateAdd(this, _selectedItem3, __runInitializers(_init6, 24, this)), __runInitializers(_init6, 27, this);
44435
- __privateAdd(this, _selectedDemoIndex, __runInitializers(_init6, 28, this, 0)), __runInitializers(_init6, 31, this);
44436
- __privateAdd(this, _selectedViewport2, __runInitializers(_init6, 32, this, "desktop")), __runInitializers(_init6, 35, this);
44437
- __privateAdd(this, _selectedTheme2, __runInitializers(_init6, 36, this, "dark")), __runInitializers(_init6, 39, this);
44438
- __privateAdd(this, _warning2, __runInitializers(_init6, 40, this, null)), __runInitializers(_init6, 43, this);
44866
+ __privateAdd(this, _sections, __runInitializers(_init7, 8, this, [])), __runInitializers(_init7, 11, this);
44867
+ __privateAdd(this, _selectedSection, __runInitializers(_init7, 12, this, null)), __runInitializers(_init7, 15, this);
44868
+ __privateAdd(this, _selectedType2, __runInitializers(_init7, 16, this)), __runInitializers(_init7, 19, this);
44869
+ __privateAdd(this, _selectedItemName, __runInitializers(_init7, 20, this)), __runInitializers(_init7, 23, this);
44870
+ __privateAdd(this, _selectedItem3, __runInitializers(_init7, 24, this)), __runInitializers(_init7, 27, this);
44871
+ __privateAdd(this, _selectedDemoIndex, __runInitializers(_init7, 28, this, 0)), __runInitializers(_init7, 31, this);
44872
+ __privateAdd(this, _selectedViewport2, __runInitializers(_init7, 32, this, "desktop")), __runInitializers(_init7, 35, this);
44873
+ __privateAdd(this, _selectedTheme2, __runInitializers(_init7, 36, this, "dark")), __runInitializers(_init7, 39, this);
44874
+ __privateAdd(this, _searchQuery2, __runInitializers(_init7, 40, this, "")), __runInitializers(_init7, 43, this);
44875
+ __privateAdd(this, _pinnedItems2, __runInitializers(_init7, 44, this, /* @__PURE__ */ new Set())), __runInitializers(_init7, 47, this);
44876
+ __privateAdd(this, _warning2, __runInitializers(_init7, 48, this, null)), __runInitializers(_init7, 51, this);
44439
44877
  __publicField(this, "frameScrollY", 0);
44440
44878
  __publicField(this, "sidebarScrollY", 0);
44441
44879
  __publicField(this, "scrollPositionsApplied", false);
44442
- __privateAdd(this, _wccFrame, __runInitializers(_init6, 44, this)), __runInitializers(_init6, 47, this);
44880
+ __privateAdd(this, _wccFrame, __runInitializers(_init7, 52, this)), __runInitializers(_init7, 55, this);
44443
44881
  __publicField(this, "scrollUpdateTimeout");
44444
44882
  __publicField(this, "scrollListenersAttached", false);
44445
44883
  if (config2 && config2.sections) {
@@ -44485,6 +44923,8 @@ var WccDashboard2 = class extends (_a6 = DeesElement, _sections_dec = [n5()], _s
44485
44923
  <wcc-sidebar
44486
44924
  .dashboardRef=${this}
44487
44925
  .selectedItem=${this.selectedItem}
44926
+ .searchQuery=${this.searchQuery}
44927
+ .pinnedItems=${this.pinnedItems}
44488
44928
  .isNative=${this.isNative}
44489
44929
  @selectedType=${(eventArg) => {
44490
44930
  this.selectedType = eventArg.detail;
@@ -44494,6 +44934,14 @@ var WccDashboard2 = class extends (_a6 = DeesElement, _sections_dec = [n5()], _s
44494
44934
  }}
44495
44935
  @selectedItem=${(eventArg) => {
44496
44936
  this.selectedItem = eventArg.detail;
44937
+ }}
44938
+ @searchChanged=${(eventArg) => {
44939
+ this.searchQuery = eventArg.detail;
44940
+ this.updateUrlWithScrollState();
44941
+ }}
44942
+ @pinnedChanged=${(eventArg) => {
44943
+ this.pinnedItems = eventArg.detail;
44944
+ this.updateUrlWithScrollState();
44497
44945
  }}
44498
44946
  ></wcc-sidebar>
44499
44947
  <wcc-properties
@@ -44577,17 +45025,37 @@ var WccDashboard2 = class extends (_a6 = DeesElement, _sections_dec = [n5()], _s
44577
45025
  }
44578
45026
  }
44579
45027
  if (routeInfo.queryParams) {
45028
+ const search2 = routeInfo.queryParams.search;
44580
45029
  const frameScrollY = routeInfo.queryParams.frameScrollY;
44581
45030
  const sidebarScrollY = routeInfo.queryParams.sidebarScrollY;
45031
+ const pinned = routeInfo.queryParams.pinned;
45032
+ if (search2) {
45033
+ this.searchQuery = search2;
45034
+ } else {
45035
+ this.searchQuery = "";
45036
+ }
44582
45037
  if (frameScrollY) {
44583
45038
  this.frameScrollY = parseInt(frameScrollY);
44584
45039
  }
44585
45040
  if (sidebarScrollY) {
44586
45041
  this.sidebarScrollY = parseInt(sidebarScrollY);
44587
45042
  }
45043
+ if (pinned) {
45044
+ const newPinned = new Set(pinned.split(",").filter(Boolean));
45045
+ if (this.pinnedItems.size !== newPinned.size || ![...newPinned].every((k3) => this.pinnedItems.has(k3))) {
45046
+ this.pinnedItems = newPinned;
45047
+ }
45048
+ } else if (this.pinnedItems.size > 0) {
45049
+ this.pinnedItems = /* @__PURE__ */ new Set();
45050
+ }
44588
45051
  setTimeout(() => {
44589
45052
  this.applyScrollPositions();
44590
45053
  }, 100);
45054
+ } else {
45055
+ this.searchQuery = "";
45056
+ if (this.pinnedItems.size > 0) {
45057
+ this.pinnedItems = /* @__PURE__ */ new Set();
45058
+ }
44591
45059
  }
44592
45060
  const domtoolsInstance = await dist_ts_exports25.elementBasic.setup();
44593
45061
  this.selectedTheme === "bright" ? domtoolsInstance.themeManager.goBright() : domtoolsInstance.themeManager.goDark();
@@ -44621,17 +45089,37 @@ var WccDashboard2 = class extends (_a6 = DeesElement, _sections_dec = [n5()], _s
44621
45089
  }
44622
45090
  }
44623
45091
  if (routeInfo.queryParams) {
45092
+ const search2 = routeInfo.queryParams.search;
44624
45093
  const frameScrollY = routeInfo.queryParams.frameScrollY;
44625
45094
  const sidebarScrollY = routeInfo.queryParams.sidebarScrollY;
45095
+ const pinned = routeInfo.queryParams.pinned;
45096
+ if (search2) {
45097
+ this.searchQuery = search2;
45098
+ } else {
45099
+ this.searchQuery = "";
45100
+ }
44626
45101
  if (frameScrollY) {
44627
45102
  this.frameScrollY = parseInt(frameScrollY);
44628
45103
  }
44629
45104
  if (sidebarScrollY) {
44630
45105
  this.sidebarScrollY = parseInt(sidebarScrollY);
44631
45106
  }
45107
+ if (pinned) {
45108
+ const newPinned = new Set(pinned.split(",").filter(Boolean));
45109
+ if (this.pinnedItems.size !== newPinned.size || ![...newPinned].every((k3) => this.pinnedItems.has(k3))) {
45110
+ this.pinnedItems = newPinned;
45111
+ }
45112
+ } else if (this.pinnedItems.size > 0) {
45113
+ this.pinnedItems = /* @__PURE__ */ new Set();
45114
+ }
44632
45115
  setTimeout(() => {
44633
45116
  this.applyScrollPositions();
44634
45117
  }, 100);
45118
+ } else {
45119
+ this.searchQuery = "";
45120
+ if (this.pinnedItems.size > 0) {
45121
+ this.pinnedItems = /* @__PURE__ */ new Set();
45122
+ }
44635
45123
  }
44636
45124
  const domtoolsInstance = await dist_ts_exports25.elementBasic.setup();
44637
45125
  this.selectedTheme === "bright" ? domtoolsInstance.themeManager.goBright() : domtoolsInstance.themeManager.goDark();
@@ -44690,12 +45178,18 @@ var WccDashboard2 = class extends (_a6 = DeesElement, _sections_dec = [n5()], _s
44690
45178
  const sectionName = this.selectedSection ? encodeURIComponent(this.selectedSection.name) : this.selectedType;
44691
45179
  const baseUrl = `/wcctools-route/${sectionName}/${this.selectedItemName}/${this.selectedDemoIndex}/${this.selectedViewport}/${this.selectedTheme}`;
44692
45180
  const queryParams = new URLSearchParams();
45181
+ if (this.searchQuery) {
45182
+ queryParams.set("search", this.searchQuery);
45183
+ }
44693
45184
  if (this.frameScrollY > 0) {
44694
45185
  queryParams.set("frameScrollY", this.frameScrollY.toString());
44695
45186
  }
44696
45187
  if (this.sidebarScrollY > 0) {
44697
45188
  queryParams.set("sidebarScrollY", this.sidebarScrollY.toString());
44698
45189
  }
45190
+ if (this.pinnedItems.size > 0) {
45191
+ queryParams.set("pinned", Array.from(this.pinnedItems).join(","));
45192
+ }
44699
45193
  const queryString = queryParams.toString();
44700
45194
  const fullUrl = queryString ? `${baseUrl}?${queryString}` : baseUrl;
44701
45195
  this.domtools.router.pushUrl(fullUrl);
@@ -44730,12 +45224,18 @@ var WccDashboard2 = class extends (_a6 = DeesElement, _sections_dec = [n5()], _s
44730
45224
  const sectionName = this.selectedSection ? encodeURIComponent(this.selectedSection.name) : this.selectedType;
44731
45225
  const baseUrl = `/wcctools-route/${sectionName}/${this.selectedItemName}/${this.selectedDemoIndex}/${this.selectedViewport}/${this.selectedTheme}`;
44732
45226
  const queryParams = new URLSearchParams();
45227
+ if (this.searchQuery) {
45228
+ queryParams.set("search", this.searchQuery);
45229
+ }
44733
45230
  if (this.frameScrollY > 0) {
44734
45231
  queryParams.set("frameScrollY", this.frameScrollY.toString());
44735
45232
  }
44736
45233
  if (this.sidebarScrollY > 0) {
44737
45234
  queryParams.set("sidebarScrollY", this.sidebarScrollY.toString());
44738
45235
  }
45236
+ if (this.pinnedItems.size > 0) {
45237
+ queryParams.set("pinned", Array.from(this.pinnedItems).join(","));
45238
+ }
44739
45239
  const queryString = queryParams.toString();
44740
45240
  const fullUrl = queryString ? `${baseUrl}?${queryString}` : baseUrl;
44741
45241
  window.history.replaceState(null, "", fullUrl);
@@ -44755,7 +45255,7 @@ var WccDashboard2 = class extends (_a6 = DeesElement, _sections_dec = [n5()], _s
44755
45255
  this.scrollPositionsApplied = true;
44756
45256
  }
44757
45257
  };
44758
- _init6 = __decoratorStart(_a6);
45258
+ _init7 = __decoratorStart(_a7);
44759
45259
  _sections = new WeakMap();
44760
45260
  _selectedSection = new WeakMap();
44761
45261
  _selectedType2 = new WeakMap();
@@ -44764,20 +45264,24 @@ _selectedItem3 = new WeakMap();
44764
45264
  _selectedDemoIndex = new WeakMap();
44765
45265
  _selectedViewport2 = new WeakMap();
44766
45266
  _selectedTheme2 = new WeakMap();
45267
+ _searchQuery2 = new WeakMap();
45268
+ _pinnedItems2 = new WeakMap();
44767
45269
  _warning2 = new WeakMap();
44768
45270
  _wccFrame = new WeakMap();
44769
- __decorateElement(_init6, 4, "sections", _sections_dec, WccDashboard2, _sections);
44770
- __decorateElement(_init6, 4, "selectedSection", _selectedSection_dec, WccDashboard2, _selectedSection);
44771
- __decorateElement(_init6, 4, "selectedType", _selectedType_dec2, WccDashboard2, _selectedType2);
44772
- __decorateElement(_init6, 4, "selectedItemName", _selectedItemName_dec, WccDashboard2, _selectedItemName);
44773
- __decorateElement(_init6, 4, "selectedItem", _selectedItem_dec3, WccDashboard2, _selectedItem3);
44774
- __decorateElement(_init6, 4, "selectedDemoIndex", _selectedDemoIndex_dec, WccDashboard2, _selectedDemoIndex);
44775
- __decorateElement(_init6, 4, "selectedViewport", _selectedViewport_dec2, WccDashboard2, _selectedViewport2);
44776
- __decorateElement(_init6, 4, "selectedTheme", _selectedTheme_dec2, WccDashboard2, _selectedTheme2);
44777
- __decorateElement(_init6, 4, "warning", _warning_dec2, WccDashboard2, _warning2);
44778
- __decorateElement(_init6, 4, "wccFrame", _wccFrame_dec, WccDashboard2, _wccFrame);
44779
- WccDashboard2 = __decorateElement(_init6, 0, "WccDashboard", _WccDashboard_decorators, WccDashboard2);
44780
- __runInitializers(_init6, 1, WccDashboard2);
45271
+ __decorateElement(_init7, 4, "sections", _sections_dec, WccDashboard2, _sections);
45272
+ __decorateElement(_init7, 4, "selectedSection", _selectedSection_dec, WccDashboard2, _selectedSection);
45273
+ __decorateElement(_init7, 4, "selectedType", _selectedType_dec2, WccDashboard2, _selectedType2);
45274
+ __decorateElement(_init7, 4, "selectedItemName", _selectedItemName_dec, WccDashboard2, _selectedItemName);
45275
+ __decorateElement(_init7, 4, "selectedItem", _selectedItem_dec3, WccDashboard2, _selectedItem3);
45276
+ __decorateElement(_init7, 4, "selectedDemoIndex", _selectedDemoIndex_dec, WccDashboard2, _selectedDemoIndex);
45277
+ __decorateElement(_init7, 4, "selectedViewport", _selectedViewport_dec2, WccDashboard2, _selectedViewport2);
45278
+ __decorateElement(_init7, 4, "selectedTheme", _selectedTheme_dec2, WccDashboard2, _selectedTheme2);
45279
+ __decorateElement(_init7, 4, "searchQuery", _searchQuery_dec2, WccDashboard2, _searchQuery2);
45280
+ __decorateElement(_init7, 4, "pinnedItems", _pinnedItems_dec2, WccDashboard2, _pinnedItems2);
45281
+ __decorateElement(_init7, 4, "warning", _warning_dec2, WccDashboard2, _warning2);
45282
+ __decorateElement(_init7, 4, "wccFrame", _wccFrame_dec, WccDashboard2, _wccFrame);
45283
+ WccDashboard2 = __decorateElement(_init7, 0, "WccDashboard", _WccDashboard_decorators, WccDashboard2);
45284
+ __runInitializers(_init7, 1, WccDashboard2);
44781
45285
 
44782
45286
  // ts_web/index.ts
44783
45287
  var convertLegacyToConfig = (elementsArg, pagesArg) => {
@@ -44823,16 +45327,21 @@ var setupWccTools = (configOrElements, pagesArg) => {
44823
45327
  // test/elements/index.ts
44824
45328
  var elements_exports = {};
44825
45329
  __export(elements_exports, {
45330
+ TestButtonDanger: () => TestButtonDanger,
45331
+ TestButtonPrimary: () => TestButtonPrimary,
45332
+ TestButtonSecondary: () => TestButtonSecondary,
44826
45333
  TestComplexTypes: () => TestComplexTypes,
44827
45334
  TestDemoelement: () => TestDemoelement,
44828
45335
  TestEdgeCases: () => TestEdgeCases,
45336
+ TestInputCheckbox: () => TestInputCheckbox,
45337
+ TestInputText: () => TestInputText,
44829
45338
  TestNested: () => TestNested,
44830
45339
  TestNoProps: () => TestNoProps,
44831
45340
  TestWithWrapper: () => TestWithWrapper
44832
45341
  });
44833
45342
 
44834
45343
  // test/elements/test-demoelement.ts
44835
- var _demoENum_dec, _demoNumber_dec, _demoString_dec, _demoBoolean_dec, _notTypedAndNotInitizalized_dec, _typedAndNotInitizalized_dec, _notTyped_dec, _a7, _TestDemoelement_decorators, _init7, _notTyped, _typedAndNotInitizalized, _notTypedAndNotInitizalized, _demoBoolean, _demoString, _demoNumber, _demoENum;
45344
+ var _demoENum_dec, _demoNumber_dec, _demoString_dec, _demoBoolean_dec, _notTypedAndNotInitizalized_dec, _typedAndNotInitizalized_dec, _notTyped_dec, _a8, _TestDemoelement_decorators, _init8, _notTyped, _typedAndNotInitizalized, _notTypedAndNotInitizalized, _demoBoolean, _demoString, _demoNumber, _demoENum;
44836
45345
  var ETestEnum = /* @__PURE__ */ ((ETestEnum2) => {
44837
45346
  ETestEnum2["first"] = "first";
44838
45347
  ETestEnum2["second"] = "second";
@@ -44840,7 +45349,7 @@ var ETestEnum = /* @__PURE__ */ ((ETestEnum2) => {
44840
45349
  return ETestEnum2;
44841
45350
  })(ETestEnum || {});
44842
45351
  _TestDemoelement_decorators = [t4("test-demoelement")];
44843
- var TestDemoelement = class extends (_a7 = DeesElement, _notTyped_dec = [n5()], _typedAndNotInitizalized_dec = [n5({
45352
+ var TestDemoelement = class extends (_a8 = DeesElement, _notTyped_dec = [n5()], _typedAndNotInitizalized_dec = [n5({
44844
45353
  type: String
44845
45354
  })], _notTypedAndNotInitizalized_dec = [n5()], _demoBoolean_dec = [n5({
44846
45355
  type: Boolean
@@ -44850,16 +45359,16 @@ var TestDemoelement = class extends (_a7 = DeesElement, _notTyped_dec = [n5()],
44850
45359
  type: Number
44851
45360
  })], _demoENum_dec = [n5({
44852
45361
  type: ETestEnum
44853
- })], _a7) {
45362
+ })], _a8) {
44854
45363
  constructor() {
44855
45364
  super();
44856
- __privateAdd(this, _notTyped, __runInitializers(_init7, 8, this, "hello")), __runInitializers(_init7, 11, this);
44857
- __privateAdd(this, _typedAndNotInitizalized, __runInitializers(_init7, 12, this)), __runInitializers(_init7, 15, this);
44858
- __privateAdd(this, _notTypedAndNotInitizalized, __runInitializers(_init7, 16, this)), __runInitializers(_init7, 19, this);
44859
- __privateAdd(this, _demoBoolean, __runInitializers(_init7, 20, this, false)), __runInitializers(_init7, 23, this);
44860
- __privateAdd(this, _demoString, __runInitializers(_init7, 24, this, "default demo string")), __runInitializers(_init7, 27, this);
44861
- __privateAdd(this, _demoNumber, __runInitializers(_init7, 28, this, 2)), __runInitializers(_init7, 31, this);
44862
- __privateAdd(this, _demoENum, __runInitializers(_init7, 32, this, "first" /* first */)), __runInitializers(_init7, 35, this);
45365
+ __privateAdd(this, _notTyped, __runInitializers(_init8, 8, this, "hello")), __runInitializers(_init8, 11, this);
45366
+ __privateAdd(this, _typedAndNotInitizalized, __runInitializers(_init8, 12, this)), __runInitializers(_init8, 15, this);
45367
+ __privateAdd(this, _notTypedAndNotInitizalized, __runInitializers(_init8, 16, this)), __runInitializers(_init8, 19, this);
45368
+ __privateAdd(this, _demoBoolean, __runInitializers(_init8, 20, this, false)), __runInitializers(_init8, 23, this);
45369
+ __privateAdd(this, _demoString, __runInitializers(_init8, 24, this, "default demo string")), __runInitializers(_init8, 27, this);
45370
+ __privateAdd(this, _demoNumber, __runInitializers(_init8, 28, this, 2)), __runInitializers(_init8, 31, this);
45371
+ __privateAdd(this, _demoENum, __runInitializers(_init8, 32, this, "first" /* first */)), __runInitializers(_init8, 35, this);
44863
45372
  }
44864
45373
  render() {
44865
45374
  return x`
@@ -44878,7 +45387,7 @@ var TestDemoelement = class extends (_a7 = DeesElement, _notTyped_dec = [n5()],
44878
45387
  `;
44879
45388
  }
44880
45389
  };
44881
- _init7 = __decoratorStart(_a7);
45390
+ _init8 = __decoratorStart(_a8);
44882
45391
  _notTyped = new WeakMap();
44883
45392
  _typedAndNotInitizalized = new WeakMap();
44884
45393
  _notTypedAndNotInitizalized = new WeakMap();
@@ -44886,14 +45395,14 @@ _demoBoolean = new WeakMap();
44886
45395
  _demoString = new WeakMap();
44887
45396
  _demoNumber = new WeakMap();
44888
45397
  _demoENum = new WeakMap();
44889
- __decorateElement(_init7, 4, "notTyped", _notTyped_dec, TestDemoelement, _notTyped);
44890
- __decorateElement(_init7, 4, "typedAndNotInitizalized", _typedAndNotInitizalized_dec, TestDemoelement, _typedAndNotInitizalized);
44891
- __decorateElement(_init7, 4, "notTypedAndNotInitizalized", _notTypedAndNotInitizalized_dec, TestDemoelement, _notTypedAndNotInitizalized);
44892
- __decorateElement(_init7, 4, "demoBoolean", _demoBoolean_dec, TestDemoelement, _demoBoolean);
44893
- __decorateElement(_init7, 4, "demoString", _demoString_dec, TestDemoelement, _demoString);
44894
- __decorateElement(_init7, 4, "demoNumber", _demoNumber_dec, TestDemoelement, _demoNumber);
44895
- __decorateElement(_init7, 4, "demoENum", _demoENum_dec, TestDemoelement, _demoENum);
44896
- TestDemoelement = __decorateElement(_init7, 0, "TestDemoelement", _TestDemoelement_decorators, TestDemoelement);
45398
+ __decorateElement(_init8, 4, "notTyped", _notTyped_dec, TestDemoelement, _notTyped);
45399
+ __decorateElement(_init8, 4, "typedAndNotInitizalized", _typedAndNotInitizalized_dec, TestDemoelement, _typedAndNotInitizalized);
45400
+ __decorateElement(_init8, 4, "notTypedAndNotInitizalized", _notTypedAndNotInitizalized_dec, TestDemoelement, _notTypedAndNotInitizalized);
45401
+ __decorateElement(_init8, 4, "demoBoolean", _demoBoolean_dec, TestDemoelement, _demoBoolean);
45402
+ __decorateElement(_init8, 4, "demoString", _demoString_dec, TestDemoelement, _demoString);
45403
+ __decorateElement(_init8, 4, "demoNumber", _demoNumber_dec, TestDemoelement, _demoNumber);
45404
+ __decorateElement(_init8, 4, "demoENum", _demoENum_dec, TestDemoelement, _demoENum);
45405
+ TestDemoelement = __decorateElement(_init8, 0, "TestDemoelement", _TestDemoelement_decorators, TestDemoelement);
44897
45406
  __publicField(TestDemoelement, "demo", [
44898
45407
  () => x`<test-demoelement>This is demo 1</test-demoelement>`,
44899
45408
  () => x`<test-demoelement>This is demo 2</test-demoelement>`,
@@ -44936,12 +45445,12 @@ __publicField(TestDemoelement, "styles", [
44936
45445
  }
44937
45446
  `
44938
45447
  ]);
44939
- __runInitializers(_init7, 1, TestDemoelement);
45448
+ __runInitializers(_init8, 1, TestDemoelement);
44940
45449
 
44941
45450
  // test/elements/test-noprops.ts
44942
- var _TestNoProps_decorators, _init8, _a8;
45451
+ var _TestNoProps_decorators, _init9, _a9;
44943
45452
  _TestNoProps_decorators = [t4("test-noprops")];
44944
- var TestNoProps = class extends (_a8 = DeesElement) {
45453
+ var TestNoProps = class extends (_a9 = DeesElement) {
44945
45454
  static demo = () => x`<test-noprops></test-noprops>`;
44946
45455
  static styles = [
44947
45456
  i`
@@ -44967,19 +45476,19 @@ var TestNoProps = class extends (_a8 = DeesElement) {
44967
45476
  `;
44968
45477
  }
44969
45478
  };
44970
- _init8 = __decoratorStart(_a8);
44971
- TestNoProps = __decorateElement(_init8, 0, "TestNoProps", _TestNoProps_decorators, TestNoProps);
44972
- __runInitializers(_init8, 1, TestNoProps);
45479
+ _init9 = __decoratorStart(_a9);
45480
+ TestNoProps = __decorateElement(_init9, 0, "TestNoProps", _TestNoProps_decorators, TestNoProps);
45481
+ __runInitializers(_init9, 1, TestNoProps);
44973
45482
 
44974
45483
  // test/elements/test-complextypes.ts
44975
- var _dateProperty_dec, _functionProperty_dec, _simpleObject_dec, _complexData_dec, _numberArray_dec, _stringArray_dec, _a9, _TestComplexTypes_decorators, _init9, _stringArray, _numberArray, _complexData, _simpleObject, _functionProperty, _dateProperty;
45484
+ var _dateProperty_dec, _functionProperty_dec, _simpleObject_dec, _complexData_dec, _numberArray_dec, _stringArray_dec, _a10, _TestComplexTypes_decorators, _init10, _stringArray, _numberArray, _complexData, _simpleObject, _functionProperty, _dateProperty;
44976
45485
  _TestComplexTypes_decorators = [t4("test-complextypes")];
44977
- var TestComplexTypes = class extends (_a9 = DeesElement, _stringArray_dec = [n5({ type: Array })], _numberArray_dec = [n5({ type: Array })], _complexData_dec = [n5({ attribute: false })], _simpleObject_dec = [n5({ type: Object })], _functionProperty_dec = [n5({ attribute: false })], _dateProperty_dec = [n5({ type: Date })], _a9) {
45486
+ var TestComplexTypes = class extends (_a10 = DeesElement, _stringArray_dec = [n5({ type: Array })], _numberArray_dec = [n5({ type: Array })], _complexData_dec = [n5({ attribute: false })], _simpleObject_dec = [n5({ type: Object })], _functionProperty_dec = [n5({ attribute: false })], _dateProperty_dec = [n5({ type: Date })], _a10) {
44978
45487
  constructor() {
44979
45488
  super(...arguments);
44980
- __privateAdd(this, _stringArray, __runInitializers(_init9, 8, this, ["apple", "banana", "cherry"])), __runInitializers(_init9, 11, this);
44981
- __privateAdd(this, _numberArray, __runInitializers(_init9, 12, this, [1, 2, 3, 4, 5])), __runInitializers(_init9, 15, this);
44982
- __privateAdd(this, _complexData, __runInitializers(_init9, 16, this, {
45489
+ __privateAdd(this, _stringArray, __runInitializers(_init10, 8, this, ["apple", "banana", "cherry"])), __runInitializers(_init10, 11, this);
45490
+ __privateAdd(this, _numberArray, __runInitializers(_init10, 12, this, [1, 2, 3, 4, 5])), __runInitializers(_init10, 15, this);
45491
+ __privateAdd(this, _complexData, __runInitializers(_init10, 16, this, {
44983
45492
  name: "Default Name",
44984
45493
  age: 0,
44985
45494
  tags: [],
@@ -44988,16 +45497,16 @@ var TestComplexTypes = class extends (_a9 = DeesElement, _stringArray_dec = [n5(
44988
45497
  modified: /* @__PURE__ */ new Date(),
44989
45498
  author: "Unknown"
44990
45499
  }
44991
- })), __runInitializers(_init9, 19, this);
44992
- __privateAdd(this, _simpleObject, __runInitializers(_init9, 20, this, {
45500
+ })), __runInitializers(_init10, 19, this);
45501
+ __privateAdd(this, _simpleObject, __runInitializers(_init10, 20, this, {
44993
45502
  key1: "value1",
44994
45503
  key2: "value2",
44995
45504
  key3: 123
44996
- })), __runInitializers(_init9, 23, this);
44997
- __privateAdd(this, _functionProperty, __runInitializers(_init9, 24, this, () => {
45505
+ })), __runInitializers(_init10, 23, this);
45506
+ __privateAdd(this, _functionProperty, __runInitializers(_init10, 24, this, () => {
44998
45507
  console.log("This is a function property");
44999
- })), __runInitializers(_init9, 27, this);
45000
- __privateAdd(this, _dateProperty, __runInitializers(_init9, 28, this, /* @__PURE__ */ new Date())), __runInitializers(_init9, 31, this);
45508
+ })), __runInitializers(_init10, 27, this);
45509
+ __privateAdd(this, _dateProperty, __runInitializers(_init10, 28, this, /* @__PURE__ */ new Date())), __runInitializers(_init10, 31, this);
45001
45510
  }
45002
45511
  render() {
45003
45512
  return x`
@@ -45033,20 +45542,20 @@ var TestComplexTypes = class extends (_a9 = DeesElement, _stringArray_dec = [n5(
45033
45542
  `;
45034
45543
  }
45035
45544
  };
45036
- _init9 = __decoratorStart(_a9);
45545
+ _init10 = __decoratorStart(_a10);
45037
45546
  _stringArray = new WeakMap();
45038
45547
  _numberArray = new WeakMap();
45039
45548
  _complexData = new WeakMap();
45040
45549
  _simpleObject = new WeakMap();
45041
45550
  _functionProperty = new WeakMap();
45042
45551
  _dateProperty = new WeakMap();
45043
- __decorateElement(_init9, 4, "stringArray", _stringArray_dec, TestComplexTypes, _stringArray);
45044
- __decorateElement(_init9, 4, "numberArray", _numberArray_dec, TestComplexTypes, _numberArray);
45045
- __decorateElement(_init9, 4, "complexData", _complexData_dec, TestComplexTypes, _complexData);
45046
- __decorateElement(_init9, 4, "simpleObject", _simpleObject_dec, TestComplexTypes, _simpleObject);
45047
- __decorateElement(_init9, 4, "functionProperty", _functionProperty_dec, TestComplexTypes, _functionProperty);
45048
- __decorateElement(_init9, 4, "dateProperty", _dateProperty_dec, TestComplexTypes, _dateProperty);
45049
- TestComplexTypes = __decorateElement(_init9, 0, "TestComplexTypes", _TestComplexTypes_decorators, TestComplexTypes);
45552
+ __decorateElement(_init10, 4, "stringArray", _stringArray_dec, TestComplexTypes, _stringArray);
45553
+ __decorateElement(_init10, 4, "numberArray", _numberArray_dec, TestComplexTypes, _numberArray);
45554
+ __decorateElement(_init10, 4, "complexData", _complexData_dec, TestComplexTypes, _complexData);
45555
+ __decorateElement(_init10, 4, "simpleObject", _simpleObject_dec, TestComplexTypes, _simpleObject);
45556
+ __decorateElement(_init10, 4, "functionProperty", _functionProperty_dec, TestComplexTypes, _functionProperty);
45557
+ __decorateElement(_init10, 4, "dateProperty", _dateProperty_dec, TestComplexTypes, _dateProperty);
45558
+ TestComplexTypes = __decorateElement(_init10, 0, "TestComplexTypes", _TestComplexTypes_decorators, TestComplexTypes);
45050
45559
  __publicField(TestComplexTypes, "demo", () => x`
45051
45560
  <test-complextypes
45052
45561
  .complexData=${{
@@ -45093,15 +45602,15 @@ __publicField(TestComplexTypes, "styles", [
45093
45602
  }
45094
45603
  `
45095
45604
  ]);
45096
- __runInitializers(_init9, 1, TestComplexTypes);
45605
+ __runInitializers(_init10, 1, TestComplexTypes);
45097
45606
 
45098
45607
  // ts_demotools/demotools.ts
45099
- var _runAfterRender_dec, _a10, _DeesDemoWrapper_decorators, _init10, _runAfterRender;
45608
+ var _runAfterRender_dec, _a11, _DeesDemoWrapper_decorators, _init11, _runAfterRender;
45100
45609
  _DeesDemoWrapper_decorators = [t4("dees-demowrapper")];
45101
- var DeesDemoWrapper = class extends (_a10 = DeesElement, _runAfterRender_dec = [n5({ attribute: false })], _a10) {
45610
+ var DeesDemoWrapper = class extends (_a11 = DeesElement, _runAfterRender_dec = [n5({ attribute: false })], _a11) {
45102
45611
  constructor() {
45103
45612
  super(...arguments);
45104
- __privateAdd(this, _runAfterRender, __runInitializers(_init10, 8, this)), __runInitializers(_init10, 11, this);
45613
+ __privateAdd(this, _runAfterRender, __runInitializers(_init11, 8, this)), __runInitializers(_init11, 11, this);
45105
45614
  }
45106
45615
  render() {
45107
45616
  return x`
@@ -45120,10 +45629,10 @@ var DeesDemoWrapper = class extends (_a10 = DeesElement, _runAfterRender_dec = [
45120
45629
  }
45121
45630
  }
45122
45631
  };
45123
- _init10 = __decoratorStart(_a10);
45632
+ _init11 = __decoratorStart(_a11);
45124
45633
  _runAfterRender = new WeakMap();
45125
- __decorateElement(_init10, 4, "runAfterRender", _runAfterRender_dec, DeesDemoWrapper, _runAfterRender);
45126
- DeesDemoWrapper = __decorateElement(_init10, 0, "DeesDemoWrapper", _DeesDemoWrapper_decorators, DeesDemoWrapper);
45634
+ __decorateElement(_init11, 4, "runAfterRender", _runAfterRender_dec, DeesDemoWrapper, _runAfterRender);
45635
+ DeesDemoWrapper = __decorateElement(_init11, 0, "DeesDemoWrapper", _DeesDemoWrapper_decorators, DeesDemoWrapper);
45127
45636
  __publicField(DeesDemoWrapper, "styles", [
45128
45637
  i`
45129
45638
  :host {
@@ -45131,17 +45640,17 @@ __publicField(DeesDemoWrapper, "styles", [
45131
45640
  }
45132
45641
  `
45133
45642
  ]);
45134
- __runInitializers(_init10, 1, DeesDemoWrapper);
45643
+ __runInitializers(_init11, 1, DeesDemoWrapper);
45135
45644
 
45136
45645
  // test/elements/test-withwrapper.ts
45137
- var _isActive_dec, _counter_dec, _dynamicValue_dec, _a11, _TestWithWrapper_decorators, _init11, _dynamicValue, _counter, _isActive;
45646
+ var _isActive_dec, _counter_dec, _dynamicValue_dec, _a12, _TestWithWrapper_decorators, _init12, _dynamicValue, _counter, _isActive;
45138
45647
  _TestWithWrapper_decorators = [t4("test-withwrapper")];
45139
- var TestWithWrapper = class extends (_a11 = DeesElement, _dynamicValue_dec = [n5({ type: String })], _counter_dec = [n5({ type: Number })], _isActive_dec = [n5({ type: Boolean })], _a11) {
45648
+ var TestWithWrapper = class extends (_a12 = DeesElement, _dynamicValue_dec = [n5({ type: String })], _counter_dec = [n5({ type: Number })], _isActive_dec = [n5({ type: Boolean })], _a12) {
45140
45649
  constructor() {
45141
45650
  super(...arguments);
45142
- __privateAdd(this, _dynamicValue, __runInitializers(_init11, 8, this, "Initial value")), __runInitializers(_init11, 11, this);
45143
- __privateAdd(this, _counter, __runInitializers(_init11, 12, this, 0)), __runInitializers(_init11, 15, this);
45144
- __privateAdd(this, _isActive, __runInitializers(_init11, 16, this, false)), __runInitializers(_init11, 19, this);
45651
+ __privateAdd(this, _dynamicValue, __runInitializers(_init12, 8, this, "Initial value")), __runInitializers(_init12, 11, this);
45652
+ __privateAdd(this, _counter, __runInitializers(_init12, 12, this, 0)), __runInitializers(_init12, 15, this);
45653
+ __privateAdd(this, _isActive, __runInitializers(_init12, 16, this, false)), __runInitializers(_init12, 19, this);
45145
45654
  }
45146
45655
  render() {
45147
45656
  return x`
@@ -45165,14 +45674,14 @@ var TestWithWrapper = class extends (_a11 = DeesElement, _dynamicValue_dec = [n5
45165
45674
  `;
45166
45675
  }
45167
45676
  };
45168
- _init11 = __decoratorStart(_a11);
45677
+ _init12 = __decoratorStart(_a12);
45169
45678
  _dynamicValue = new WeakMap();
45170
45679
  _counter = new WeakMap();
45171
45680
  _isActive = new WeakMap();
45172
- __decorateElement(_init11, 4, "dynamicValue", _dynamicValue_dec, TestWithWrapper, _dynamicValue);
45173
- __decorateElement(_init11, 4, "counter", _counter_dec, TestWithWrapper, _counter);
45174
- __decorateElement(_init11, 4, "isActive", _isActive_dec, TestWithWrapper, _isActive);
45175
- TestWithWrapper = __decorateElement(_init11, 0, "TestWithWrapper", _TestWithWrapper_decorators, TestWithWrapper);
45681
+ __decorateElement(_init12, 4, "dynamicValue", _dynamicValue_dec, TestWithWrapper, _dynamicValue);
45682
+ __decorateElement(_init12, 4, "counter", _counter_dec, TestWithWrapper, _counter);
45683
+ __decorateElement(_init12, 4, "isActive", _isActive_dec, TestWithWrapper, _isActive);
45684
+ TestWithWrapper = __decorateElement(_init12, 0, "TestWithWrapper", _TestWithWrapper_decorators, TestWithWrapper);
45176
45685
  __publicField(TestWithWrapper, "demo", () => x`
45177
45686
  <dees-demowrapper .runAfterRender=${async (wrapper) => {
45178
45687
  console.log("DemoWrapper: Found wrapper element", wrapper);
@@ -45232,34 +45741,34 @@ __publicField(TestWithWrapper, "styles", [
45232
45741
  }
45233
45742
  `
45234
45743
  ]);
45235
- __runInitializers(_init11, 1, TestWithWrapper);
45744
+ __runInitializers(_init12, 1, TestWithWrapper);
45236
45745
 
45237
45746
  // test/elements/test-edgecases.ts
45238
- var _circularRef_dec, _emptyObject_dec, _emptyArray_dec, _emptyString_dec, _booleanNumber_dec, _booleanString_dec, _floatNumber_dec, _verySmallNumber_dec, _veryLargeNumber_dec, _nanNumber_dec, _infinityNumber_dec, _htmlString_dec, _specialChars_dec, _longString_dec, _undefinedNumber_dec, _nullableString_dec, _a12, _TestEdgeCases_decorators, _init12, _nullableString, _undefinedNumber, _longString, _specialChars, _htmlString, _infinityNumber, _nanNumber, _veryLargeNumber, _verySmallNumber, _floatNumber, _booleanString, _booleanNumber, _emptyString, _emptyArray, _emptyObject, _circularRef;
45747
+ var _circularRef_dec, _emptyObject_dec, _emptyArray_dec, _emptyString_dec, _booleanNumber_dec, _booleanString_dec, _floatNumber_dec, _verySmallNumber_dec, _veryLargeNumber_dec, _nanNumber_dec, _infinityNumber_dec, _htmlString_dec, _specialChars_dec, _longString_dec, _undefinedNumber_dec, _nullableString_dec, _a13, _TestEdgeCases_decorators, _init13, _nullableString, _undefinedNumber, _longString, _specialChars, _htmlString, _infinityNumber, _nanNumber, _veryLargeNumber, _verySmallNumber, _floatNumber, _booleanString, _booleanNumber, _emptyString, _emptyArray, _emptyObject, _circularRef;
45239
45748
  _TestEdgeCases_decorators = [t4("test-edgecases")];
45240
- var TestEdgeCases = class extends (_a12 = DeesElement, _nullableString_dec = [n5({ type: String })], _undefinedNumber_dec = [n5({ type: Number })], _longString_dec = [n5({ type: String })], _specialChars_dec = [n5({ type: String })], _htmlString_dec = [n5({ type: String })], _infinityNumber_dec = [n5({ type: Number })], _nanNumber_dec = [n5({ type: Number })], _veryLargeNumber_dec = [n5({ type: Number })], _verySmallNumber_dec = [n5({ type: Number })], _floatNumber_dec = [n5({ type: Number })], _booleanString_dec = [n5({ type: String })], _booleanNumber_dec = [n5({ type: Number })], _emptyString_dec = [n5({ type: String })], _emptyArray_dec = [n5({ type: Array })], _emptyObject_dec = [n5({ type: Object })], _circularRef_dec = [n5({ attribute: false })], _a12) {
45749
+ var TestEdgeCases = class extends (_a13 = DeesElement, _nullableString_dec = [n5({ type: String })], _undefinedNumber_dec = [n5({ type: Number })], _longString_dec = [n5({ type: String })], _specialChars_dec = [n5({ type: String })], _htmlString_dec = [n5({ type: String })], _infinityNumber_dec = [n5({ type: Number })], _nanNumber_dec = [n5({ type: Number })], _veryLargeNumber_dec = [n5({ type: Number })], _verySmallNumber_dec = [n5({ type: Number })], _floatNumber_dec = [n5({ type: Number })], _booleanString_dec = [n5({ type: String })], _booleanNumber_dec = [n5({ type: Number })], _emptyString_dec = [n5({ type: String })], _emptyArray_dec = [n5({ type: Array })], _emptyObject_dec = [n5({ type: Object })], _circularRef_dec = [n5({ attribute: false })], _a13) {
45241
45750
  constructor() {
45242
45751
  super(...arguments);
45243
- __privateAdd(this, _nullableString, __runInitializers(_init12, 8, this, null)), __runInitializers(_init12, 11, this);
45244
- __privateAdd(this, _undefinedNumber, __runInitializers(_init12, 12, this)), __runInitializers(_init12, 15, this);
45245
- __privateAdd(this, _longString, __runInitializers(_init12, 16, this, "Lorem ipsum ".repeat(50))), __runInitializers(_init12, 19, this);
45246
- __privateAdd(this, _specialChars, __runInitializers(_init12, 20, this, "!@#$%^&*()_+-=[]{}|;':\",./<>?`~")), __runInitializers(_init12, 23, this);
45247
- __privateAdd(this, _htmlString, __runInitializers(_init12, 24, this, '<script>alert("test")<\/script><b>Bold text</b>')), __runInitializers(_init12, 27, this);
45248
- __privateAdd(this, _infinityNumber, __runInitializers(_init12, 28, this, Infinity)), __runInitializers(_init12, 31, this);
45249
- __privateAdd(this, _nanNumber, __runInitializers(_init12, 32, this, NaN)), __runInitializers(_init12, 35, this);
45250
- __privateAdd(this, _veryLargeNumber, __runInitializers(_init12, 36, this, Number.MAX_SAFE_INTEGER)), __runInitializers(_init12, 39, this);
45251
- __privateAdd(this, _verySmallNumber, __runInitializers(_init12, 40, this, Number.MIN_SAFE_INTEGER)), __runInitializers(_init12, 43, this);
45252
- __privateAdd(this, _floatNumber, __runInitializers(_init12, 44, this, 3.14159265359)), __runInitializers(_init12, 47, this);
45253
- __privateAdd(this, _booleanString, __runInitializers(_init12, 48, this, "false")), __runInitializers(_init12, 51, this);
45254
- __privateAdd(this, _booleanNumber, __runInitializers(_init12, 52, this, 0)), __runInitializers(_init12, 55, this);
45255
- __privateAdd(this, _emptyString, __runInitializers(_init12, 56, this, "")), __runInitializers(_init12, 59, this);
45256
- __privateAdd(this, _emptyArray, __runInitializers(_init12, 60, this, [])), __runInitializers(_init12, 63, this);
45257
- __privateAdd(this, _emptyObject, __runInitializers(_init12, 64, this, {})), __runInitializers(_init12, 67, this);
45258
- __privateAdd(this, _circularRef, __runInitializers(_init12, 68, this, (() => {
45752
+ __privateAdd(this, _nullableString, __runInitializers(_init13, 8, this, null)), __runInitializers(_init13, 11, this);
45753
+ __privateAdd(this, _undefinedNumber, __runInitializers(_init13, 12, this)), __runInitializers(_init13, 15, this);
45754
+ __privateAdd(this, _longString, __runInitializers(_init13, 16, this, "Lorem ipsum ".repeat(50))), __runInitializers(_init13, 19, this);
45755
+ __privateAdd(this, _specialChars, __runInitializers(_init13, 20, this, "!@#$%^&*()_+-=[]{}|;':\",./<>?`~")), __runInitializers(_init13, 23, this);
45756
+ __privateAdd(this, _htmlString, __runInitializers(_init13, 24, this, '<script>alert("test")<\/script><b>Bold text</b>')), __runInitializers(_init13, 27, this);
45757
+ __privateAdd(this, _infinityNumber, __runInitializers(_init13, 28, this, Infinity)), __runInitializers(_init13, 31, this);
45758
+ __privateAdd(this, _nanNumber, __runInitializers(_init13, 32, this, NaN)), __runInitializers(_init13, 35, this);
45759
+ __privateAdd(this, _veryLargeNumber, __runInitializers(_init13, 36, this, Number.MAX_SAFE_INTEGER)), __runInitializers(_init13, 39, this);
45760
+ __privateAdd(this, _verySmallNumber, __runInitializers(_init13, 40, this, Number.MIN_SAFE_INTEGER)), __runInitializers(_init13, 43, this);
45761
+ __privateAdd(this, _floatNumber, __runInitializers(_init13, 44, this, 3.14159265359)), __runInitializers(_init13, 47, this);
45762
+ __privateAdd(this, _booleanString, __runInitializers(_init13, 48, this, "false")), __runInitializers(_init13, 51, this);
45763
+ __privateAdd(this, _booleanNumber, __runInitializers(_init13, 52, this, 0)), __runInitializers(_init13, 55, this);
45764
+ __privateAdd(this, _emptyString, __runInitializers(_init13, 56, this, "")), __runInitializers(_init13, 59, this);
45765
+ __privateAdd(this, _emptyArray, __runInitializers(_init13, 60, this, [])), __runInitializers(_init13, 63, this);
45766
+ __privateAdd(this, _emptyObject, __runInitializers(_init13, 64, this, {})), __runInitializers(_init13, 67, this);
45767
+ __privateAdd(this, _circularRef, __runInitializers(_init13, 68, this, (() => {
45259
45768
  const obj = { name: "circular" };
45260
45769
  obj.self = obj;
45261
45770
  return obj;
45262
- })())), __runInitializers(_init12, 71, this);
45771
+ })())), __runInitializers(_init13, 71, this);
45263
45772
  }
45264
45773
  formatValue(value2) {
45265
45774
  if (value2 === null) return "null";
@@ -45341,7 +45850,7 @@ var TestEdgeCases = class extends (_a12 = DeesElement, _nullableString_dec = [n5
45341
45850
  `;
45342
45851
  }
45343
45852
  };
45344
- _init12 = __decoratorStart(_a12);
45853
+ _init13 = __decoratorStart(_a13);
45345
45854
  _nullableString = new WeakMap();
45346
45855
  _undefinedNumber = new WeakMap();
45347
45856
  _longString = new WeakMap();
@@ -45358,23 +45867,23 @@ _emptyString = new WeakMap();
45358
45867
  _emptyArray = new WeakMap();
45359
45868
  _emptyObject = new WeakMap();
45360
45869
  _circularRef = new WeakMap();
45361
- __decorateElement(_init12, 4, "nullableString", _nullableString_dec, TestEdgeCases, _nullableString);
45362
- __decorateElement(_init12, 4, "undefinedNumber", _undefinedNumber_dec, TestEdgeCases, _undefinedNumber);
45363
- __decorateElement(_init12, 4, "longString", _longString_dec, TestEdgeCases, _longString);
45364
- __decorateElement(_init12, 4, "specialChars", _specialChars_dec, TestEdgeCases, _specialChars);
45365
- __decorateElement(_init12, 4, "htmlString", _htmlString_dec, TestEdgeCases, _htmlString);
45366
- __decorateElement(_init12, 4, "infinityNumber", _infinityNumber_dec, TestEdgeCases, _infinityNumber);
45367
- __decorateElement(_init12, 4, "nanNumber", _nanNumber_dec, TestEdgeCases, _nanNumber);
45368
- __decorateElement(_init12, 4, "veryLargeNumber", _veryLargeNumber_dec, TestEdgeCases, _veryLargeNumber);
45369
- __decorateElement(_init12, 4, "verySmallNumber", _verySmallNumber_dec, TestEdgeCases, _verySmallNumber);
45370
- __decorateElement(_init12, 4, "floatNumber", _floatNumber_dec, TestEdgeCases, _floatNumber);
45371
- __decorateElement(_init12, 4, "booleanString", _booleanString_dec, TestEdgeCases, _booleanString);
45372
- __decorateElement(_init12, 4, "booleanNumber", _booleanNumber_dec, TestEdgeCases, _booleanNumber);
45373
- __decorateElement(_init12, 4, "emptyString", _emptyString_dec, TestEdgeCases, _emptyString);
45374
- __decorateElement(_init12, 4, "emptyArray", _emptyArray_dec, TestEdgeCases, _emptyArray);
45375
- __decorateElement(_init12, 4, "emptyObject", _emptyObject_dec, TestEdgeCases, _emptyObject);
45376
- __decorateElement(_init12, 4, "circularRef", _circularRef_dec, TestEdgeCases, _circularRef);
45377
- TestEdgeCases = __decorateElement(_init12, 0, "TestEdgeCases", _TestEdgeCases_decorators, TestEdgeCases);
45870
+ __decorateElement(_init13, 4, "nullableString", _nullableString_dec, TestEdgeCases, _nullableString);
45871
+ __decorateElement(_init13, 4, "undefinedNumber", _undefinedNumber_dec, TestEdgeCases, _undefinedNumber);
45872
+ __decorateElement(_init13, 4, "longString", _longString_dec, TestEdgeCases, _longString);
45873
+ __decorateElement(_init13, 4, "specialChars", _specialChars_dec, TestEdgeCases, _specialChars);
45874
+ __decorateElement(_init13, 4, "htmlString", _htmlString_dec, TestEdgeCases, _htmlString);
45875
+ __decorateElement(_init13, 4, "infinityNumber", _infinityNumber_dec, TestEdgeCases, _infinityNumber);
45876
+ __decorateElement(_init13, 4, "nanNumber", _nanNumber_dec, TestEdgeCases, _nanNumber);
45877
+ __decorateElement(_init13, 4, "veryLargeNumber", _veryLargeNumber_dec, TestEdgeCases, _veryLargeNumber);
45878
+ __decorateElement(_init13, 4, "verySmallNumber", _verySmallNumber_dec, TestEdgeCases, _verySmallNumber);
45879
+ __decorateElement(_init13, 4, "floatNumber", _floatNumber_dec, TestEdgeCases, _floatNumber);
45880
+ __decorateElement(_init13, 4, "booleanString", _booleanString_dec, TestEdgeCases, _booleanString);
45881
+ __decorateElement(_init13, 4, "booleanNumber", _booleanNumber_dec, TestEdgeCases, _booleanNumber);
45882
+ __decorateElement(_init13, 4, "emptyString", _emptyString_dec, TestEdgeCases, _emptyString);
45883
+ __decorateElement(_init13, 4, "emptyArray", _emptyArray_dec, TestEdgeCases, _emptyArray);
45884
+ __decorateElement(_init13, 4, "emptyObject", _emptyObject_dec, TestEdgeCases, _emptyObject);
45885
+ __decorateElement(_init13, 4, "circularRef", _circularRef_dec, TestEdgeCases, _circularRef);
45886
+ TestEdgeCases = __decorateElement(_init13, 0, "TestEdgeCases", _TestEdgeCases_decorators, TestEdgeCases);
45378
45887
  __publicField(TestEdgeCases, "demo", () => x`<test-edgecases></test-edgecases>`);
45379
45888
  __publicField(TestEdgeCases, "styles", [
45380
45889
  i`
@@ -45415,12 +45924,12 @@ __publicField(TestEdgeCases, "styles", [
45415
45924
  }
45416
45925
  `
45417
45926
  ]);
45418
- __runInitializers(_init12, 1, TestEdgeCases);
45927
+ __runInitializers(_init13, 1, TestEdgeCases);
45419
45928
 
45420
45929
  // test/elements/test-nested.ts
45421
- var _TestNestedWrapper_decorators, _init13, _a13, _found_dec, _depth_dec, _message_dec, _b, _TestNestedTarget_decorators, _init14, _message, _depth, _found, _testId_dec, _c, _TestNested_decorators, _init15, _testId;
45930
+ var _TestNestedWrapper_decorators, _init14, _a14, _found_dec, _depth_dec, _message_dec, _b, _TestNestedTarget_decorators, _init15, _message, _depth, _found, _testId_dec, _c, _TestNested_decorators, _init16, _testId;
45422
45931
  _TestNestedWrapper_decorators = [t4("test-nested-wrapper")];
45423
- var TestNestedWrapper = class extends (_a13 = DeesElement) {
45932
+ var TestNestedWrapper = class extends (_a14 = DeesElement) {
45424
45933
  render() {
45425
45934
  return x`
45426
45935
  <div style="border: 1px dashed #ccc; padding: 10px; margin: 5px;">
@@ -45429,16 +45938,16 @@ var TestNestedWrapper = class extends (_a13 = DeesElement) {
45429
45938
  `;
45430
45939
  }
45431
45940
  };
45432
- _init13 = __decoratorStart(_a13);
45433
- TestNestedWrapper = __decorateElement(_init13, 0, "TestNestedWrapper", _TestNestedWrapper_decorators, TestNestedWrapper);
45434
- __runInitializers(_init13, 1, TestNestedWrapper);
45941
+ _init14 = __decoratorStart(_a14);
45942
+ TestNestedWrapper = __decorateElement(_init14, 0, "TestNestedWrapper", _TestNestedWrapper_decorators, TestNestedWrapper);
45943
+ __runInitializers(_init14, 1, TestNestedWrapper);
45435
45944
  _TestNestedTarget_decorators = [t4("test-nested-target")];
45436
45945
  var TestNestedTarget = class extends (_b = DeesElement, _message_dec = [n5({ type: String })], _depth_dec = [n5({ type: Number })], _found_dec = [n5({ type: Boolean })], _b) {
45437
45946
  constructor() {
45438
45947
  super(...arguments);
45439
- __privateAdd(this, _message, __runInitializers(_init14, 8, this, "I am deeply nested!")), __runInitializers(_init14, 11, this);
45440
- __privateAdd(this, _depth, __runInitializers(_init14, 12, this, 0)), __runInitializers(_init14, 15, this);
45441
- __privateAdd(this, _found, __runInitializers(_init14, 16, this, false)), __runInitializers(_init14, 19, this);
45948
+ __privateAdd(this, _message, __runInitializers(_init15, 8, this, "I am deeply nested!")), __runInitializers(_init15, 11, this);
45949
+ __privateAdd(this, _depth, __runInitializers(_init15, 12, this, 0)), __runInitializers(_init15, 15, this);
45950
+ __privateAdd(this, _found, __runInitializers(_init15, 16, this, false)), __runInitializers(_init15, 19, this);
45442
45951
  }
45443
45952
  render() {
45444
45953
  return x`
@@ -45451,14 +45960,14 @@ var TestNestedTarget = class extends (_b = DeesElement, _message_dec = [n5({ typ
45451
45960
  `;
45452
45961
  }
45453
45962
  };
45454
- _init14 = __decoratorStart(_b);
45963
+ _init15 = __decoratorStart(_b);
45455
45964
  _message = new WeakMap();
45456
45965
  _depth = new WeakMap();
45457
45966
  _found = new WeakMap();
45458
- __decorateElement(_init14, 4, "message", _message_dec, TestNestedTarget, _message);
45459
- __decorateElement(_init14, 4, "depth", _depth_dec, TestNestedTarget, _depth);
45460
- __decorateElement(_init14, 4, "found", _found_dec, TestNestedTarget, _found);
45461
- TestNestedTarget = __decorateElement(_init14, 0, "TestNestedTarget", _TestNestedTarget_decorators, TestNestedTarget);
45967
+ __decorateElement(_init15, 4, "message", _message_dec, TestNestedTarget, _message);
45968
+ __decorateElement(_init15, 4, "depth", _depth_dec, TestNestedTarget, _depth);
45969
+ __decorateElement(_init15, 4, "found", _found_dec, TestNestedTarget, _found);
45970
+ TestNestedTarget = __decorateElement(_init15, 0, "TestNestedTarget", _TestNestedTarget_decorators, TestNestedTarget);
45462
45971
  __publicField(TestNestedTarget, "styles", [
45463
45972
  i`
45464
45973
  :host {
@@ -45475,12 +45984,12 @@ __publicField(TestNestedTarget, "styles", [
45475
45984
  }
45476
45985
  `
45477
45986
  ]);
45478
- __runInitializers(_init14, 1, TestNestedTarget);
45987
+ __runInitializers(_init15, 1, TestNestedTarget);
45479
45988
  _TestNested_decorators = [t4("test-nested")];
45480
45989
  var TestNested = class extends (_c = DeesElement, _testId_dec = [n5({ type: String })], _c) {
45481
45990
  constructor() {
45482
45991
  super(...arguments);
45483
- __privateAdd(this, _testId, __runInitializers(_init15, 8, this, "nested-test")), __runInitializers(_init15, 11, this);
45992
+ __privateAdd(this, _testId, __runInitializers(_init16, 8, this, "nested-test")), __runInitializers(_init16, 11, this);
45484
45993
  }
45485
45994
  render() {
45486
45995
  return x`
@@ -45515,10 +46024,10 @@ var TestNested = class extends (_c = DeesElement, _testId_dec = [n5({ type: Stri
45515
46024
  `;
45516
46025
  }
45517
46026
  };
45518
- _init15 = __decoratorStart(_c);
46027
+ _init16 = __decoratorStart(_c);
45519
46028
  _testId = new WeakMap();
45520
- __decorateElement(_init15, 4, "testId", _testId_dec, TestNested, _testId);
45521
- TestNested = __decorateElement(_init15, 0, "TestNested", _TestNested_decorators, TestNested);
46029
+ __decorateElement(_init16, 4, "testId", _testId_dec, TestNested, _testId);
46030
+ TestNested = __decorateElement(_init16, 0, "TestNested", _TestNested_decorators, TestNested);
45522
46031
  __publicField(TestNested, "demo", () => x`
45523
46032
  <test-nested></test-nested>
45524
46033
  `);
@@ -45544,7 +46053,259 @@ __publicField(TestNested, "styles", [
45544
46053
  }
45545
46054
  `
45546
46055
  ]);
45547
- __runInitializers(_init15, 1, TestNested);
46056
+ __runInitializers(_init16, 1, TestNested);
46057
+
46058
+ // test/elements/test-button-primary.ts
46059
+ var _label_dec, _a15, _TestButtonPrimary_decorators, _init17, _label;
46060
+ _TestButtonPrimary_decorators = [t4("test-button-primary")];
46061
+ var TestButtonPrimary = class extends (_a15 = DeesElement, _label_dec = [n5({ type: String })], _a15) {
46062
+ constructor() {
46063
+ super(...arguments);
46064
+ __privateAdd(this, _label, __runInitializers(_init17, 8, this, "Button")), __runInitializers(_init17, 11, this);
46065
+ }
46066
+ render() {
46067
+ return x`<button><slot>${this.label}</slot></button>`;
46068
+ }
46069
+ };
46070
+ _init17 = __decoratorStart(_a15);
46071
+ _label = new WeakMap();
46072
+ __decorateElement(_init17, 4, "label", _label_dec, TestButtonPrimary, _label);
46073
+ TestButtonPrimary = __decorateElement(_init17, 0, "TestButtonPrimary", _TestButtonPrimary_decorators, TestButtonPrimary);
46074
+ // This groups the element with other "Buttons" in the sidebar
46075
+ __publicField(TestButtonPrimary, "demoGroup", "Buttons");
46076
+ __publicField(TestButtonPrimary, "demo", () => x`
46077
+ <test-button-primary>Click Me</test-button-primary>
46078
+ `);
46079
+ __publicField(TestButtonPrimary, "styles", [
46080
+ i`
46081
+ :host {
46082
+ display: inline-block;
46083
+ }
46084
+ button {
46085
+ background: #3b82f6;
46086
+ color: white;
46087
+ border: none;
46088
+ padding: 10px 20px;
46089
+ border-radius: 6px;
46090
+ font-size: 14px;
46091
+ cursor: pointer;
46092
+ transition: background 0.2s;
46093
+ }
46094
+ button:hover {
46095
+ background: #2563eb;
46096
+ }
46097
+ `
46098
+ ]);
46099
+ __runInitializers(_init17, 1, TestButtonPrimary);
46100
+
46101
+ // test/elements/test-button-secondary.ts
46102
+ var _label_dec2, _a16, _TestButtonSecondary_decorators, _init18, _label2;
46103
+ _TestButtonSecondary_decorators = [t4("test-button-secondary")];
46104
+ var TestButtonSecondary = class extends (_a16 = DeesElement, _label_dec2 = [n5({ type: String })], _a16) {
46105
+ constructor() {
46106
+ super(...arguments);
46107
+ __privateAdd(this, _label2, __runInitializers(_init18, 8, this, "Button")), __runInitializers(_init18, 11, this);
46108
+ }
46109
+ render() {
46110
+ return x`<button><slot>${this.label}</slot></button>`;
46111
+ }
46112
+ };
46113
+ _init18 = __decoratorStart(_a16);
46114
+ _label2 = new WeakMap();
46115
+ __decorateElement(_init18, 4, "label", _label_dec2, TestButtonSecondary, _label2);
46116
+ TestButtonSecondary = __decorateElement(_init18, 0, "TestButtonSecondary", _TestButtonSecondary_decorators, TestButtonSecondary);
46117
+ // Same group as test-button-primary - they'll appear together
46118
+ __publicField(TestButtonSecondary, "demoGroup", "Buttons");
46119
+ __publicField(TestButtonSecondary, "demo", () => x`
46120
+ <test-button-secondary>Secondary Action</test-button-secondary>
46121
+ `);
46122
+ __publicField(TestButtonSecondary, "styles", [
46123
+ i`
46124
+ :host {
46125
+ display: inline-block;
46126
+ }
46127
+ button {
46128
+ background: transparent;
46129
+ color: #3b82f6;
46130
+ border: 1px solid #3b82f6;
46131
+ padding: 10px 20px;
46132
+ border-radius: 6px;
46133
+ font-size: 14px;
46134
+ cursor: pointer;
46135
+ transition: all 0.2s;
46136
+ }
46137
+ button:hover {
46138
+ background: rgba(59, 130, 246, 0.1);
46139
+ }
46140
+ `
46141
+ ]);
46142
+ __runInitializers(_init18, 1, TestButtonSecondary);
46143
+
46144
+ // test/elements/test-button-danger.ts
46145
+ var _label_dec3, _a17, _TestButtonDanger_decorators, _init19, _label3;
46146
+ _TestButtonDanger_decorators = [t4("test-button-danger")];
46147
+ var TestButtonDanger = class extends (_a17 = DeesElement, _label_dec3 = [n5({ type: String })], _a17) {
46148
+ constructor() {
46149
+ super(...arguments);
46150
+ __privateAdd(this, _label3, __runInitializers(_init19, 8, this, "Delete")), __runInitializers(_init19, 11, this);
46151
+ }
46152
+ render() {
46153
+ return x`<button><slot>${this.label}</slot></button>`;
46154
+ }
46155
+ };
46156
+ _init19 = __decoratorStart(_a17);
46157
+ _label3 = new WeakMap();
46158
+ __decorateElement(_init19, 4, "label", _label_dec3, TestButtonDanger, _label3);
46159
+ TestButtonDanger = __decorateElement(_init19, 0, "TestButtonDanger", _TestButtonDanger_decorators, TestButtonDanger);
46160
+ // Same group as other buttons
46161
+ __publicField(TestButtonDanger, "demoGroup", "Buttons");
46162
+ __publicField(TestButtonDanger, "demo", () => x`
46163
+ <test-button-danger>Delete</test-button-danger>
46164
+ `);
46165
+ __publicField(TestButtonDanger, "styles", [
46166
+ i`
46167
+ :host {
46168
+ display: inline-block;
46169
+ }
46170
+ button {
46171
+ background: #ef4444;
46172
+ color: white;
46173
+ border: none;
46174
+ padding: 10px 20px;
46175
+ border-radius: 6px;
46176
+ font-size: 14px;
46177
+ cursor: pointer;
46178
+ transition: background 0.2s;
46179
+ }
46180
+ button:hover {
46181
+ background: #dc2626;
46182
+ }
46183
+ `
46184
+ ]);
46185
+ __runInitializers(_init19, 1, TestButtonDanger);
46186
+
46187
+ // test/elements/test-input-text.ts
46188
+ var _value_dec, _placeholder_dec, _a18, _TestInputText_decorators, _init20, _placeholder, _value;
46189
+ _TestInputText_decorators = [t4("test-input-text")];
46190
+ var TestInputText = class extends (_a18 = DeesElement, _placeholder_dec = [n5({ type: String })], _value_dec = [n5({ type: String })], _a18) {
46191
+ constructor() {
46192
+ super(...arguments);
46193
+ __privateAdd(this, _placeholder, __runInitializers(_init20, 8, this, "")), __runInitializers(_init20, 11, this);
46194
+ __privateAdd(this, _value, __runInitializers(_init20, 12, this, "")), __runInitializers(_init20, 15, this);
46195
+ }
46196
+ render() {
46197
+ return x`
46198
+ <input
46199
+ type="text"
46200
+ .placeholder=${this.placeholder}
46201
+ .value=${this.value}
46202
+ @input=${(e10) => this.value = e10.target.value}
46203
+ />
46204
+ `;
46205
+ }
46206
+ };
46207
+ _init20 = __decoratorStart(_a18);
46208
+ _placeholder = new WeakMap();
46209
+ _value = new WeakMap();
46210
+ __decorateElement(_init20, 4, "placeholder", _placeholder_dec, TestInputText, _placeholder);
46211
+ __decorateElement(_init20, 4, "value", _value_dec, TestInputText, _value);
46212
+ TestInputText = __decorateElement(_init20, 0, "TestInputText", _TestInputText_decorators, TestInputText);
46213
+ // Different group - "Inputs"
46214
+ __publicField(TestInputText, "demoGroup", "Inputs");
46215
+ __publicField(TestInputText, "demo", () => x`
46216
+ <test-input-text placeholder="Enter text..."></test-input-text>
46217
+ `);
46218
+ __publicField(TestInputText, "styles", [
46219
+ i`
46220
+ :host {
46221
+ display: inline-block;
46222
+ }
46223
+ input {
46224
+ background: #1a1a1a;
46225
+ color: #e5e5e5;
46226
+ border: 1px solid #333;
46227
+ padding: 10px 14px;
46228
+ border-radius: 6px;
46229
+ font-size: 14px;
46230
+ outline: none;
46231
+ transition: border-color 0.2s;
46232
+ min-width: 200px;
46233
+ }
46234
+ input:focus {
46235
+ border-color: #3b82f6;
46236
+ }
46237
+ input::placeholder {
46238
+ color: #666;
46239
+ }
46240
+ `
46241
+ ]);
46242
+ __runInitializers(_init20, 1, TestInputText);
46243
+
46244
+ // test/elements/test-input-checkbox.ts
46245
+ var _checked_dec, _label_dec4, _a19, _TestInputCheckbox_decorators, _init21, _label4, _checked;
46246
+ _TestInputCheckbox_decorators = [t4("test-input-checkbox")];
46247
+ var TestInputCheckbox = class extends (_a19 = DeesElement, _label_dec4 = [n5({ type: String })], _checked_dec = [n5({ type: Boolean })], _a19) {
46248
+ constructor() {
46249
+ super(...arguments);
46250
+ __privateAdd(this, _label4, __runInitializers(_init21, 8, this, "Checkbox")), __runInitializers(_init21, 11, this);
46251
+ __privateAdd(this, _checked, __runInitializers(_init21, 12, this, false)), __runInitializers(_init21, 15, this);
46252
+ }
46253
+ render() {
46254
+ return x`
46255
+ <div
46256
+ class="checkbox ${this.checked ? "checked" : ""}"
46257
+ @click=${() => this.checked = !this.checked}
46258
+ ></div>
46259
+ <span class="label">${this.label}</span>
46260
+ `;
46261
+ }
46262
+ };
46263
+ _init21 = __decoratorStart(_a19);
46264
+ _label4 = new WeakMap();
46265
+ _checked = new WeakMap();
46266
+ __decorateElement(_init21, 4, "label", _label_dec4, TestInputCheckbox, _label4);
46267
+ __decorateElement(_init21, 4, "checked", _checked_dec, TestInputCheckbox, _checked);
46268
+ TestInputCheckbox = __decorateElement(_init21, 0, "TestInputCheckbox", _TestInputCheckbox_decorators, TestInputCheckbox);
46269
+ // Same group as test-input-text
46270
+ __publicField(TestInputCheckbox, "demoGroup", "Inputs");
46271
+ __publicField(TestInputCheckbox, "demo", () => x`
46272
+ <test-input-checkbox label="Accept terms and conditions"></test-input-checkbox>
46273
+ `);
46274
+ __publicField(TestInputCheckbox, "styles", [
46275
+ i`
46276
+ :host {
46277
+ display: inline-flex;
46278
+ align-items: center;
46279
+ gap: 8px;
46280
+ cursor: pointer;
46281
+ }
46282
+ .checkbox {
46283
+ width: 18px;
46284
+ height: 18px;
46285
+ border: 1px solid #333;
46286
+ border-radius: 4px;
46287
+ background: #1a1a1a;
46288
+ display: flex;
46289
+ align-items: center;
46290
+ justify-content: center;
46291
+ transition: all 0.2s;
46292
+ }
46293
+ .checkbox.checked {
46294
+ background: #3b82f6;
46295
+ border-color: #3b82f6;
46296
+ }
46297
+ .checkbox.checked::after {
46298
+ content: '✓';
46299
+ color: white;
46300
+ font-size: 12px;
46301
+ }
46302
+ .label {
46303
+ color: #e5e5e5;
46304
+ font-size: 14px;
46305
+ }
46306
+ `
46307
+ ]);
46308
+ __runInitializers(_init21, 1, TestInputCheckbox);
45548
46309
 
45549
46310
  // test/views/index.ts
45550
46311
  var views_exports = {};
@@ -45555,13 +46316,13 @@ __export(views_exports, {
45555
46316
  });
45556
46317
 
45557
46318
  // test/views/view-dashboard.ts
45558
- var _notificationCount_dec, _title_dec, _a14, _ViewDashboard_decorators, _init16, _title, _notificationCount;
46319
+ var _notificationCount_dec, _title_dec, _a20, _ViewDashboard_decorators, _init22, _title, _notificationCount;
45559
46320
  _ViewDashboard_decorators = [t4("view-dashboard")];
45560
- var ViewDashboard = class extends (_a14 = DeesElement, _title_dec = [n5()], _notificationCount_dec = [n5({ type: Number })], _a14) {
46321
+ var ViewDashboard = class extends (_a20 = DeesElement, _title_dec = [n5()], _notificationCount_dec = [n5({ type: Number })], _a20) {
45561
46322
  constructor() {
45562
46323
  super(...arguments);
45563
- __privateAdd(this, _title, __runInitializers(_init16, 8, this, "Dashboard")), __runInitializers(_init16, 11, this);
45564
- __privateAdd(this, _notificationCount, __runInitializers(_init16, 12, this, 3)), __runInitializers(_init16, 15, this);
46324
+ __privateAdd(this, _title, __runInitializers(_init22, 8, this, "Dashboard")), __runInitializers(_init22, 11, this);
46325
+ __privateAdd(this, _notificationCount, __runInitializers(_init22, 12, this, 3)), __runInitializers(_init22, 15, this);
45565
46326
  }
45566
46327
  render() {
45567
46328
  return x`
@@ -45642,12 +46403,12 @@ var ViewDashboard = class extends (_a14 = DeesElement, _title_dec = [n5()], _not
45642
46403
  `;
45643
46404
  }
45644
46405
  };
45645
- _init16 = __decoratorStart(_a14);
46406
+ _init22 = __decoratorStart(_a20);
45646
46407
  _title = new WeakMap();
45647
46408
  _notificationCount = new WeakMap();
45648
- __decorateElement(_init16, 4, "title", _title_dec, ViewDashboard, _title);
45649
- __decorateElement(_init16, 4, "notificationCount", _notificationCount_dec, ViewDashboard, _notificationCount);
45650
- ViewDashboard = __decorateElement(_init16, 0, "ViewDashboard", _ViewDashboard_decorators, ViewDashboard);
46409
+ __decorateElement(_init22, 4, "title", _title_dec, ViewDashboard, _title);
46410
+ __decorateElement(_init22, 4, "notificationCount", _notificationCount_dec, ViewDashboard, _notificationCount);
46411
+ ViewDashboard = __decorateElement(_init22, 0, "ViewDashboard", _ViewDashboard_decorators, ViewDashboard);
45651
46412
  __publicField(ViewDashboard, "demo", () => x`<view-dashboard></view-dashboard>`);
45652
46413
  __publicField(ViewDashboard, "styles", [
45653
46414
  cssManager.defaultStyles,
@@ -45843,17 +46604,17 @@ __publicField(ViewDashboard, "styles", [
45843
46604
  }
45844
46605
  `
45845
46606
  ]);
45846
- __runInitializers(_init16, 1, ViewDashboard);
46607
+ __runInitializers(_init22, 1, ViewDashboard);
45847
46608
 
45848
46609
  // test/views/view-settings.ts
45849
- var _userEmail_dec, _userName_dec, _activeTab_dec, _a15, _ViewSettings_decorators, _init17, _activeTab, _userName, _userEmail;
46610
+ var _userEmail_dec, _userName_dec, _activeTab_dec, _a21, _ViewSettings_decorators, _init23, _activeTab, _userName, _userEmail;
45850
46611
  _ViewSettings_decorators = [t4("view-settings")];
45851
- var ViewSettings = class extends (_a15 = DeesElement, _activeTab_dec = [n5()], _userName_dec = [n5()], _userEmail_dec = [n5()], _a15) {
46612
+ var ViewSettings = class extends (_a21 = DeesElement, _activeTab_dec = [n5()], _userName_dec = [n5()], _userEmail_dec = [n5()], _a21) {
45852
46613
  constructor() {
45853
46614
  super(...arguments);
45854
- __privateAdd(this, _activeTab, __runInitializers(_init17, 8, this, "profile")), __runInitializers(_init17, 11, this);
45855
- __privateAdd(this, _userName, __runInitializers(_init17, 12, this, "John Doe")), __runInitializers(_init17, 15, this);
45856
- __privateAdd(this, _userEmail, __runInitializers(_init17, 16, this, "john@example.com")), __runInitializers(_init17, 19, this);
46615
+ __privateAdd(this, _activeTab, __runInitializers(_init23, 8, this, "profile")), __runInitializers(_init23, 11, this);
46616
+ __privateAdd(this, _userName, __runInitializers(_init23, 12, this, "John Doe")), __runInitializers(_init23, 15, this);
46617
+ __privateAdd(this, _userEmail, __runInitializers(_init23, 16, this, "john@example.com")), __runInitializers(_init23, 19, this);
45857
46618
  }
45858
46619
  handleTabClick(tab2) {
45859
46620
  this.activeTab = tab2;
@@ -46012,14 +46773,14 @@ var ViewSettings = class extends (_a15 = DeesElement, _activeTab_dec = [n5()], _
46012
46773
  `;
46013
46774
  }
46014
46775
  };
46015
- _init17 = __decoratorStart(_a15);
46776
+ _init23 = __decoratorStart(_a21);
46016
46777
  _activeTab = new WeakMap();
46017
46778
  _userName = new WeakMap();
46018
46779
  _userEmail = new WeakMap();
46019
- __decorateElement(_init17, 4, "activeTab", _activeTab_dec, ViewSettings, _activeTab);
46020
- __decorateElement(_init17, 4, "userName", _userName_dec, ViewSettings, _userName);
46021
- __decorateElement(_init17, 4, "userEmail", _userEmail_dec, ViewSettings, _userEmail);
46022
- ViewSettings = __decorateElement(_init17, 0, "ViewSettings", _ViewSettings_decorators, ViewSettings);
46780
+ __decorateElement(_init23, 4, "activeTab", _activeTab_dec, ViewSettings, _activeTab);
46781
+ __decorateElement(_init23, 4, "userName", _userName_dec, ViewSettings, _userName);
46782
+ __decorateElement(_init23, 4, "userEmail", _userEmail_dec, ViewSettings, _userEmail);
46783
+ ViewSettings = __decorateElement(_init23, 0, "ViewSettings", _ViewSettings_decorators, ViewSettings);
46023
46784
  __publicField(ViewSettings, "demo", [
46024
46785
  () => x`<view-settings></view-settings>`,
46025
46786
  () => x`<view-settings activeTab="notifications"></view-settings>`,
@@ -46280,17 +47041,17 @@ __publicField(ViewSettings, "styles", [
46280
47041
  }
46281
47042
  `
46282
47043
  ]);
46283
- __runInitializers(_init17, 1, ViewSettings);
47044
+ __runInitializers(_init23, 1, ViewSettings);
46284
47045
 
46285
47046
  // test/views/view-empty-state.ts
46286
- var _description_dec, _title_dec2, _variant_dec, _a16, _ViewEmptyState_decorators, _init18, _variant, _title2, _description;
47047
+ var _description_dec, _title_dec2, _variant_dec, _a22, _ViewEmptyState_decorators, _init24, _variant, _title2, _description;
46287
47048
  _ViewEmptyState_decorators = [t4("view-empty-state")];
46288
- var ViewEmptyState = class extends (_a16 = DeesElement, _variant_dec = [n5()], _title_dec2 = [n5()], _description_dec = [n5()], _a16) {
47049
+ var ViewEmptyState = class extends (_a22 = DeesElement, _variant_dec = [n5()], _title_dec2 = [n5()], _description_dec = [n5()], _a22) {
46289
47050
  constructor() {
46290
47051
  super(...arguments);
46291
- __privateAdd(this, _variant, __runInitializers(_init18, 8, this, "empty")), __runInitializers(_init18, 11, this);
46292
- __privateAdd(this, _title2, __runInitializers(_init18, 12, this, "")), __runInitializers(_init18, 15, this);
46293
- __privateAdd(this, _description, __runInitializers(_init18, 16, this, "")), __runInitializers(_init18, 19, this);
47052
+ __privateAdd(this, _variant, __runInitializers(_init24, 8, this, "empty")), __runInitializers(_init24, 11, this);
47053
+ __privateAdd(this, _title2, __runInitializers(_init24, 12, this, "")), __runInitializers(_init24, 15, this);
47054
+ __privateAdd(this, _description, __runInitializers(_init24, 16, this, "")), __runInitializers(_init24, 19, this);
46294
47055
  }
46295
47056
  getContent() {
46296
47057
  switch (this.variant) {
@@ -46351,14 +47112,14 @@ var ViewEmptyState = class extends (_a16 = DeesElement, _variant_dec = [n5()], _
46351
47112
  }
46352
47113
  }
46353
47114
  };
46354
- _init18 = __decoratorStart(_a16);
47115
+ _init24 = __decoratorStart(_a22);
46355
47116
  _variant = new WeakMap();
46356
47117
  _title2 = new WeakMap();
46357
47118
  _description = new WeakMap();
46358
- __decorateElement(_init18, 4, "variant", _variant_dec, ViewEmptyState, _variant);
46359
- __decorateElement(_init18, 4, "title", _title_dec2, ViewEmptyState, _title2);
46360
- __decorateElement(_init18, 4, "description", _description_dec, ViewEmptyState, _description);
46361
- ViewEmptyState = __decorateElement(_init18, 0, "ViewEmptyState", _ViewEmptyState_decorators, ViewEmptyState);
47119
+ __decorateElement(_init24, 4, "variant", _variant_dec, ViewEmptyState, _variant);
47120
+ __decorateElement(_init24, 4, "title", _title_dec2, ViewEmptyState, _title2);
47121
+ __decorateElement(_init24, 4, "description", _description_dec, ViewEmptyState, _description);
47122
+ ViewEmptyState = __decorateElement(_init24, 0, "ViewEmptyState", _ViewEmptyState_decorators, ViewEmptyState);
46362
47123
  __publicField(ViewEmptyState, "demo", [
46363
47124
  () => x`<view-empty-state></view-empty-state>`,
46364
47125
  () => x`<view-empty-state variant="no-results"></view-empty-state>`,
@@ -46538,7 +47299,7 @@ __publicField(ViewEmptyState, "styles", [
46538
47299
  }
46539
47300
  `
46540
47301
  ]);
46541
- __runInitializers(_init18, 1, ViewEmptyState);
47302
+ __runInitializers(_init24, 1, ViewEmptyState);
46542
47303
 
46543
47304
  // test/pages/index.ts
46544
47305
  var pages_exports = {};