@design.estate/dees-wcctools 3.4.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,19 +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 _searchQuery_dec, _collapsedSections_dec, _expandedElements_dec, _isNative_dec2, _dashboardRef_dec, _selectedType_dec, _selectedItem_dec, _a2, _WccSidebar_decorators, _init2, _selectedItem, _selectedType, _dashboardRef, _isNative2, _expandedElements, _collapsedSections, _searchQuery;
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()], _searchQuery_dec = [n5()], _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);
41677
- __privateAdd(this, _searchQuery, __runInitializers(_init2, 32, this, "")), __runInitializers(_init2, 35, 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);
41678
41863
  __publicField(this, "sectionsInitialized", false);
41679
41864
  }
41680
41865
  render() {
@@ -41803,7 +41988,7 @@ var WccSidebar = class extends (_a2 = DeesElement, _selectedItem_dec = [n5({ att
41803
41988
  }
41804
41989
 
41805
41990
  .selectOption.folder {
41806
- grid-template-columns: 16px 20px 1fr;
41991
+ grid-template-columns: 16px 1fr;
41807
41992
  }
41808
41993
 
41809
41994
  .selectOption .expand-icon {
@@ -41932,6 +42117,65 @@ var WccSidebar = class extends (_a2 = DeesElement, _selectedItem_dec = [n5({ att
41932
42117
  background: rgba(59, 130, 246, 0.3);
41933
42118
  border-radius: 2px;
41934
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
+ }
41935
42179
  </style>
41936
42180
  <div class="search-container">
41937
42181
  <input
@@ -41943,6 +42187,7 @@ var WccSidebar = class extends (_a2 = DeesElement, _selectedItem_dec = [n5({ att
41943
42187
  />
41944
42188
  </div>
41945
42189
  <div class="menu">
42190
+ ${this.renderPinnedSection()}
41946
42191
  ${this.renderSections()}
41947
42192
  </div>
41948
42193
  `;
@@ -41951,7 +42196,7 @@ var WccSidebar = class extends (_a2 = DeesElement, _selectedItem_dec = [n5({ att
41951
42196
  * Initialize collapsed sections from section config
41952
42197
  */
41953
42198
  initCollapsedSections() {
41954
- if (this.sectionsInitialized) return;
42199
+ if (this.sectionsInitialized || !this.dashboardRef?.sections) return;
41955
42200
  const collapsed = /* @__PURE__ */ new Set();
41956
42201
  for (const section of this.dashboardRef.sections) {
41957
42202
  if (section.collapsed) {
@@ -41961,12 +42206,99 @@ var WccSidebar = class extends (_a2 = DeesElement, _selectedItem_dec = [n5({ att
41961
42206
  this.collapsedSections = collapsed;
41962
42207
  this.sectionsInitialized = true;
41963
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
+ }
41964
42293
  /**
41965
42294
  * Render all sections
41966
42295
  */
41967
42296
  renderSections() {
42297
+ if (!this.dashboardRef?.sections) {
42298
+ return null;
42299
+ }
41968
42300
  this.initCollapsedSections();
41969
- return this.dashboardRef.sections.map((section, index2) => {
42301
+ return this.dashboardRef.sections.map((section) => {
41970
42302
  const entries = getSectionItems(section);
41971
42303
  const filteredEntries = entries.filter(([name]) => this.matchesSearch(name));
41972
42304
  if (filteredEntries.length === 0 && this.searchQuery) {
@@ -41997,13 +42329,15 @@ var WccSidebar = class extends (_a2 = DeesElement, _selectedItem_dec = [n5({ att
41997
42329
  const filteredEntries = entries.filter(([name]) => this.matchesSearch(name));
41998
42330
  if (section.type === "pages") {
41999
42331
  return filteredEntries.map(([pageName, item]) => {
42332
+ const isPinned = this.isPinned(section.name, pageName);
42000
42333
  return x`
42001
42334
  <div
42002
- class="selectOption ${this.selectedItem === item ? "selected" : ""}"
42335
+ class="selectOption ${this.selectedItem === item ? "selected" : ""} ${isPinned ? "pinned" : ""}"
42003
42336
  @click=${async () => {
42004
42337
  await dist_ts_exports25.DomTools.setupDomTools();
42005
42338
  this.selectItem("page", pageName, item, 0, section);
42006
42339
  }}
42340
+ @contextmenu=${(e10) => this.showContextMenu(e10, section.name, pageName)}
42007
42341
  >
42008
42342
  <i class="material-symbols-outlined">insert_drive_file</i>
42009
42343
  <div class="text">${this.highlightMatch(pageName)}</div>
@@ -42011,58 +42345,88 @@ var WccSidebar = class extends (_a2 = DeesElement, _selectedItem_dec = [n5({ att
42011
42345
  `;
42012
42346
  });
42013
42347
  } else {
42014
- return filteredEntries.map(([elementName, item]) => {
42015
- const anonItem = item;
42016
- const demoCount = anonItem.demo ? getDemoCount(anonItem.demo) : 0;
42017
- const isMultiDemo = anonItem.demo && hasMultipleDemos(anonItem.demo);
42018
- const isExpanded = this.expandedElements.has(elementName);
42019
- const isSelected = this.selectedItem === item;
42020
- if (isMultiDemo) {
42021
- return x`
42022
- <div
42023
- class="selectOption folder ${isExpanded ? "expanded" : ""} ${isSelected ? "selected" : ""}"
42024
- @click=${() => this.toggleExpanded(elementName)}
42025
- >
42026
- <i class="material-symbols-outlined expand-icon">chevron_right</i>
42027
- <i class="material-symbols-outlined">folder</i>
42028
- <div class="text">${this.highlightMatch(elementName)}</div>
42029
- </div>
42030
- ${isExpanded ? x`
42031
- <div class="demo-children">
42032
- ${Array.from({ length: demoCount }, (_3, i9) => {
42033
- const demoIndex = i9;
42034
- const isThisDemoSelected = isSelected && this.dashboardRef.selectedDemoIndex === demoIndex;
42035
- return x`
42036
- <div
42037
- class="demo-child ${isThisDemoSelected ? "selected" : ""}"
42038
- @click=${async () => {
42039
- await dist_ts_exports25.DomTools.setupDomTools();
42040
- this.selectItem("element", elementName, item, demoIndex, section);
42041
- }}
42042
- >
42043
- <i class="material-symbols-outlined">play_circle</i>
42044
- <div class="text">demo${demoIndex + 1}</div>
42045
- </div>
42046
- `;
42047
- })}
42048
- </div>
42049
- ` : null}
42050
- `;
42051
- } else {
42052
- return x`
42053
- <div
42054
- class="selectOption ${isSelected ? "selected" : ""}"
42055
- @click=${async () => {
42056
- await dist_ts_exports25.DomTools.setupDomTools();
42057
- this.selectItem("element", elementName, item, 0, section);
42058
- }}
42059
- >
42060
- <i class="material-symbols-outlined">featured_video</i>
42061
- <div class="text">${this.highlightMatch(elementName)}</div>
42062
- </div>
42063
- `;
42064
- }
42065
- });
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
+ `;
42066
42430
  }
42067
42431
  }
42068
42432
  toggleSectionCollapsed(sectionName) {
@@ -42105,7 +42469,7 @@ var WccSidebar = class extends (_a2 = DeesElement, _selectedItem_dec = [n5({ att
42105
42469
  }
42106
42470
  updated(changedProperties) {
42107
42471
  super.updated(changedProperties);
42108
- if (changedProperties.has("selectedItem") && this.selectedItem) {
42472
+ if (changedProperties.has("selectedItem") && this.selectedItem && this.dashboardRef?.sections) {
42109
42473
  for (const section of this.dashboardRef.sections) {
42110
42474
  if (section.type !== "elements") continue;
42111
42475
  const entries = getSectionItems(section);
@@ -42156,7 +42520,7 @@ var WccSidebar = class extends (_a2 = DeesElement, _selectedItem_dec = [n5({ att
42156
42520
  this.requestUpdate();
42157
42521
  }
42158
42522
  };
42159
- _init2 = __decoratorStart(_a2);
42523
+ _init3 = __decoratorStart(_a3);
42160
42524
  _selectedItem = new WeakMap();
42161
42525
  _selectedType = new WeakMap();
42162
42526
  _dashboardRef = new WeakMap();
@@ -42164,24 +42528,26 @@ _isNative2 = new WeakMap();
42164
42528
  _expandedElements = new WeakMap();
42165
42529
  _collapsedSections = new WeakMap();
42166
42530
  _searchQuery = new WeakMap();
42167
- __decorateElement(_init2, 4, "selectedItem", _selectedItem_dec, WccSidebar, _selectedItem);
42168
- __decorateElement(_init2, 4, "selectedType", _selectedType_dec, WccSidebar, _selectedType);
42169
- __decorateElement(_init2, 4, "dashboardRef", _dashboardRef_dec, WccSidebar, _dashboardRef);
42170
- __decorateElement(_init2, 4, "isNative", _isNative_dec2, WccSidebar, _isNative2);
42171
- __decorateElement(_init2, 4, "expandedElements", _expandedElements_dec, WccSidebar, _expandedElements);
42172
- __decorateElement(_init2, 4, "collapsedSections", _collapsedSections_dec, WccSidebar, _collapsedSections);
42173
- __decorateElement(_init2, 4, "searchQuery", _searchQuery_dec, WccSidebar, _searchQuery);
42174
- WccSidebar = __decorateElement(_init2, 0, "WccSidebar", _WccSidebar_decorators, WccSidebar);
42175
- __runInitializers(_init2, 1, WccSidebar);
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);
42176
42542
 
42177
42543
  // ts_web/elements/wcc-record-button.ts
42178
- var _duration_dec, _state_dec, _a3, _WccRecordButton_decorators, _init3, _state, _duration;
42544
+ var _duration_dec, _state_dec, _a4, _WccRecordButton_decorators, _init4, _state, _duration;
42179
42545
  _WccRecordButton_decorators = [t4("wcc-record-button")];
42180
- 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) {
42181
42547
  constructor() {
42182
42548
  super(...arguments);
42183
- __privateAdd(this, _state, __runInitializers(_init3, 8, this, "idle")), __runInitializers(_init3, 11, this);
42184
- __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);
42185
42551
  __publicField(this, "handleClick", () => {
42186
42552
  this.dispatchEvent(new CustomEvent("record-click", {
42187
42553
  bubbles: true,
@@ -42223,12 +42589,12 @@ var WccRecordButton = class extends (_a3 = DeesElement, _state_dec = [n5({ type:
42223
42589
  }
42224
42590
  }
42225
42591
  };
42226
- _init3 = __decoratorStart(_a3);
42592
+ _init4 = __decoratorStart(_a4);
42227
42593
  _state = new WeakMap();
42228
42594
  _duration = new WeakMap();
42229
- __decorateElement(_init3, 4, "state", _state_dec, WccRecordButton, _state);
42230
- __decorateElement(_init3, 4, "duration", _duration_dec, WccRecordButton, _duration);
42231
- 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);
42232
42598
  __publicField(WccRecordButton, "styles", [
42233
42599
  i`
42234
42600
  :host {
@@ -42281,7 +42647,7 @@ __publicField(WccRecordButton, "styles", [
42281
42647
  }
42282
42648
  `
42283
42649
  ]);
42284
- __runInitializers(_init3, 1, WccRecordButton);
42650
+ __runInitializers(_init4, 1, WccRecordButton);
42285
42651
 
42286
42652
  // ts_web/services/recorder.service.ts
42287
42653
  var RecorderService = class {
@@ -42556,25 +42922,25 @@ var RecorderService = class {
42556
42922
  };
42557
42923
 
42558
42924
  // ts_web/elements/wcc-recording-panel.ts
42559
- 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;
42560
42926
  _WccRecordingPanel_decorators = [t4("wcc-recording-panel")];
42561
- 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) {
42562
42928
  constructor() {
42563
42929
  super();
42564
- __privateAdd(this, _dashboardRef2, __runInitializers(_init4, 8, this)), __runInitializers(_init4, 11, this);
42565
- __privateAdd(this, _panelState, __runInitializers(_init4, 12, this, "options")), __runInitializers(_init4, 15, this);
42566
- __privateAdd(this, _recordingMode, __runInitializers(_init4, 16, this, "viewport")), __runInitializers(_init4, 19, this);
42567
- __privateAdd(this, _audioEnabled, __runInitializers(_init4, 20, this, false)), __runInitializers(_init4, 23, this);
42568
- __privateAdd(this, _selectedMicrophoneId, __runInitializers(_init4, 24, this, "")), __runInitializers(_init4, 27, this);
42569
- __privateAdd(this, _availableMicrophones, __runInitializers(_init4, 28, this, [])), __runInitializers(_init4, 31, this);
42570
- __privateAdd(this, _audioLevel, __runInitializers(_init4, 32, this, 0)), __runInitializers(_init4, 35, this);
42571
- __privateAdd(this, _recordingDuration, __runInitializers(_init4, 36, this, 0)), __runInitializers(_init4, 39, this);
42572
- __privateAdd(this, _previewVideoUrl, __runInitializers(_init4, 40, this, "")), __runInitializers(_init4, 43, this);
42573
- __privateAdd(this, _trimStart, __runInitializers(_init4, 44, this, 0)), __runInitializers(_init4, 47, this);
42574
- __privateAdd(this, _trimEnd, __runInitializers(_init4, 48, this, 0)), __runInitializers(_init4, 51, this);
42575
- __privateAdd(this, _videoDuration, __runInitializers(_init4, 52, this, 0)), __runInitializers(_init4, 55, this);
42576
- __privateAdd(this, _isDraggingTrim, __runInitializers(_init4, 56, this, null)), __runInitializers(_init4, 59, this);
42577
- __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);
42578
42944
  // Service instance
42579
42945
  __publicField(this, "recorderService");
42580
42946
  this.recorderService = new RecorderService({
@@ -42968,7 +43334,7 @@ var WccRecordingPanel = class extends (_a4 = DeesElement, _dashboardRef_dec2 = [
42968
43334
  }
42969
43335
  }
42970
43336
  };
42971
- _init4 = __decoratorStart(_a4);
43337
+ _init5 = __decoratorStart(_a5);
42972
43338
  _dashboardRef2 = new WeakMap();
42973
43339
  _panelState = new WeakMap();
42974
43340
  _recordingMode = new WeakMap();
@@ -42983,21 +43349,21 @@ _trimEnd = new WeakMap();
42983
43349
  _videoDuration = new WeakMap();
42984
43350
  _isDraggingTrim = new WeakMap();
42985
43351
  _isExporting = new WeakMap();
42986
- __decorateElement(_init4, 4, "dashboardRef", _dashboardRef_dec2, WccRecordingPanel, _dashboardRef2);
42987
- __decorateElement(_init4, 4, "panelState", _panelState_dec, WccRecordingPanel, _panelState);
42988
- __decorateElement(_init4, 4, "recordingMode", _recordingMode_dec, WccRecordingPanel, _recordingMode);
42989
- __decorateElement(_init4, 4, "audioEnabled", _audioEnabled_dec, WccRecordingPanel, _audioEnabled);
42990
- __decorateElement(_init4, 4, "selectedMicrophoneId", _selectedMicrophoneId_dec, WccRecordingPanel, _selectedMicrophoneId);
42991
- __decorateElement(_init4, 4, "availableMicrophones", _availableMicrophones_dec, WccRecordingPanel, _availableMicrophones);
42992
- __decorateElement(_init4, 4, "audioLevel", _audioLevel_dec, WccRecordingPanel, _audioLevel);
42993
- __decorateElement(_init4, 4, "recordingDuration", _recordingDuration_dec, WccRecordingPanel, _recordingDuration);
42994
- __decorateElement(_init4, 4, "previewVideoUrl", _previewVideoUrl_dec, WccRecordingPanel, _previewVideoUrl);
42995
- __decorateElement(_init4, 4, "trimStart", _trimStart_dec, WccRecordingPanel, _trimStart);
42996
- __decorateElement(_init4, 4, "trimEnd", _trimEnd_dec, WccRecordingPanel, _trimEnd);
42997
- __decorateElement(_init4, 4, "videoDuration", _videoDuration_dec, WccRecordingPanel, _videoDuration);
42998
- __decorateElement(_init4, 4, "isDraggingTrim", _isDraggingTrim_dec, WccRecordingPanel, _isDraggingTrim);
42999
- __decorateElement(_init4, 4, "isExporting", _isExporting_dec, WccRecordingPanel, _isExporting);
43000
- 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);
43001
43367
  __publicField(WccRecordingPanel, "styles", [
43002
43368
  i`
43003
43369
  :host {
@@ -43476,31 +43842,31 @@ __publicField(WccRecordingPanel, "styles", [
43476
43842
 
43477
43843
  `
43478
43844
  ]);
43479
- __runInitializers(_init4, 1, WccRecordingPanel);
43845
+ __runInitializers(_init5, 1, WccRecordingPanel);
43480
43846
 
43481
43847
  // ts_web/elements/wcc-properties.ts
43482
- 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;
43483
43849
  var environment = "native";
43484
43850
  var setEnvironment = (envArg) => {
43485
43851
  environment = envArg;
43486
43852
  };
43487
43853
  _WccProperties_decorators = [t4("wcc-properties")];
43488
- var WccProperties = class extends (_a5 = DeesElement, _dashboardRef_dec3 = [n5({
43854
+ var WccProperties = class extends (_a6 = DeesElement, _dashboardRef_dec3 = [n5({
43489
43855
  type: WccDashboard2
43490
- })], _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) {
43491
43857
  constructor() {
43492
43858
  super(...arguments);
43493
- __privateAdd(this, _dashboardRef3, __runInitializers(_init5, 8, this)), __runInitializers(_init5, 11, this);
43494
- __privateAdd(this, _selectedItem2, __runInitializers(_init5, 12, this)), __runInitializers(_init5, 15, this);
43495
- __privateAdd(this, _selectedViewport, __runInitializers(_init5, 16, this, "native")), __runInitializers(_init5, 19, this);
43496
- __privateAdd(this, _selectedTheme, __runInitializers(_init5, 20, this, "dark")), __runInitializers(_init5, 23, this);
43497
- __privateAdd(this, _warning, __runInitializers(_init5, 24, this, null)), __runInitializers(_init5, 27, this);
43498
- __privateAdd(this, _isNative3, __runInitializers(_init5, 28, this, false)), __runInitializers(_init5, 31, this);
43499
- __privateAdd(this, _propertyContent, __runInitializers(_init5, 32, this, [])), __runInitializers(_init5, 35, this);
43500
- __privateAdd(this, _editingProperties, __runInitializers(_init5, 36, this, [])), __runInitializers(_init5, 39, this);
43501
- __privateAdd(this, _showRecordingPanel, __runInitializers(_init5, 40, this, false)), __runInitializers(_init5, 43, this);
43502
- __privateAdd(this, _isRecording, __runInitializers(_init5, 44, this, false)), __runInitializers(_init5, 47, this);
43503
- __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);
43504
43870
  __publicField(this, "editorHeight", 300);
43505
43871
  }
43506
43872
  render() {
@@ -44455,7 +44821,7 @@ var WccProperties = class extends (_a5 = DeesElement, _dashboardRef_dec3 = [n5({
44455
44821
  }
44456
44822
  }
44457
44823
  };
44458
- _init5 = __decoratorStart(_a5);
44824
+ _init6 = __decoratorStart(_a6);
44459
44825
  _dashboardRef3 = new WeakMap();
44460
44826
  _selectedItem2 = new WeakMap();
44461
44827
  _selectedViewport = new WeakMap();
@@ -44467,22 +44833,22 @@ _editingProperties = new WeakMap();
44467
44833
  _showRecordingPanel = new WeakMap();
44468
44834
  _isRecording = new WeakMap();
44469
44835
  _recordingDuration2 = new WeakMap();
44470
- __decorateElement(_init5, 4, "dashboardRef", _dashboardRef_dec3, WccProperties, _dashboardRef3);
44471
- __decorateElement(_init5, 4, "selectedItem", _selectedItem_dec2, WccProperties, _selectedItem2);
44472
- __decorateElement(_init5, 4, "selectedViewport", _selectedViewport_dec, WccProperties, _selectedViewport);
44473
- __decorateElement(_init5, 4, "selectedTheme", _selectedTheme_dec, WccProperties, _selectedTheme);
44474
- __decorateElement(_init5, 4, "warning", _warning_dec, WccProperties, _warning);
44475
- __decorateElement(_init5, 4, "isNative", _isNative_dec3, WccProperties, _isNative3);
44476
- __decorateElement(_init5, 4, "propertyContent", _propertyContent_dec, WccProperties, _propertyContent);
44477
- __decorateElement(_init5, 4, "editingProperties", _editingProperties_dec, WccProperties, _editingProperties);
44478
- __decorateElement(_init5, 4, "showRecordingPanel", _showRecordingPanel_dec, WccProperties, _showRecordingPanel);
44479
- __decorateElement(_init5, 4, "isRecording", _isRecording_dec, WccProperties, _isRecording);
44480
- __decorateElement(_init5, 4, "recordingDuration", _recordingDuration_dec2, WccProperties, _recordingDuration2);
44481
- WccProperties = __decorateElement(_init5, 0, "WccProperties", _WccProperties_decorators, WccProperties);
44482
- __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);
44483
44849
 
44484
44850
  // ts_web/elements/wcc-dashboard.ts
44485
- var _wccFrame_dec, _warning_dec2, _searchQuery_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, _searchQuery2, _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;
44486
44852
  var getSectionItems = (section) => {
44487
44853
  let entries = Object.entries(section.items);
44488
44854
  if (section.filter) {
@@ -44494,23 +44860,24 @@ var getSectionItems = (section) => {
44494
44860
  return entries;
44495
44861
  };
44496
44862
  _WccDashboard_decorators = [t4("wcc-dashboard")];
44497
- 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()], _searchQuery_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) {
44498
44864
  constructor(config2) {
44499
44865
  super();
44500
- __privateAdd(this, _sections, __runInitializers(_init6, 8, this, [])), __runInitializers(_init6, 11, this);
44501
- __privateAdd(this, _selectedSection, __runInitializers(_init6, 12, this, null)), __runInitializers(_init6, 15, this);
44502
- __privateAdd(this, _selectedType2, __runInitializers(_init6, 16, this)), __runInitializers(_init6, 19, this);
44503
- __privateAdd(this, _selectedItemName, __runInitializers(_init6, 20, this)), __runInitializers(_init6, 23, this);
44504
- __privateAdd(this, _selectedItem3, __runInitializers(_init6, 24, this)), __runInitializers(_init6, 27, this);
44505
- __privateAdd(this, _selectedDemoIndex, __runInitializers(_init6, 28, this, 0)), __runInitializers(_init6, 31, this);
44506
- __privateAdd(this, _selectedViewport2, __runInitializers(_init6, 32, this, "desktop")), __runInitializers(_init6, 35, this);
44507
- __privateAdd(this, _selectedTheme2, __runInitializers(_init6, 36, this, "dark")), __runInitializers(_init6, 39, this);
44508
- __privateAdd(this, _searchQuery2, __runInitializers(_init6, 40, this, "")), __runInitializers(_init6, 43, this);
44509
- __privateAdd(this, _warning2, __runInitializers(_init6, 44, this, null)), __runInitializers(_init6, 47, 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);
44510
44877
  __publicField(this, "frameScrollY", 0);
44511
44878
  __publicField(this, "sidebarScrollY", 0);
44512
44879
  __publicField(this, "scrollPositionsApplied", false);
44513
- __privateAdd(this, _wccFrame, __runInitializers(_init6, 48, this)), __runInitializers(_init6, 51, this);
44880
+ __privateAdd(this, _wccFrame, __runInitializers(_init7, 52, this)), __runInitializers(_init7, 55, this);
44514
44881
  __publicField(this, "scrollUpdateTimeout");
44515
44882
  __publicField(this, "scrollListenersAttached", false);
44516
44883
  if (config2 && config2.sections) {
@@ -44557,6 +44924,7 @@ var WccDashboard2 = class extends (_a6 = DeesElement, _sections_dec = [n5()], _s
44557
44924
  .dashboardRef=${this}
44558
44925
  .selectedItem=${this.selectedItem}
44559
44926
  .searchQuery=${this.searchQuery}
44927
+ .pinnedItems=${this.pinnedItems}
44560
44928
  .isNative=${this.isNative}
44561
44929
  @selectedType=${(eventArg) => {
44562
44930
  this.selectedType = eventArg.detail;
@@ -44570,6 +44938,10 @@ var WccDashboard2 = class extends (_a6 = DeesElement, _sections_dec = [n5()], _s
44570
44938
  @searchChanged=${(eventArg) => {
44571
44939
  this.searchQuery = eventArg.detail;
44572
44940
  this.updateUrlWithScrollState();
44941
+ }}
44942
+ @pinnedChanged=${(eventArg) => {
44943
+ this.pinnedItems = eventArg.detail;
44944
+ this.updateUrlWithScrollState();
44573
44945
  }}
44574
44946
  ></wcc-sidebar>
44575
44947
  <wcc-properties
@@ -44656,6 +45028,7 @@ var WccDashboard2 = class extends (_a6 = DeesElement, _sections_dec = [n5()], _s
44656
45028
  const search2 = routeInfo.queryParams.search;
44657
45029
  const frameScrollY = routeInfo.queryParams.frameScrollY;
44658
45030
  const sidebarScrollY = routeInfo.queryParams.sidebarScrollY;
45031
+ const pinned = routeInfo.queryParams.pinned;
44659
45032
  if (search2) {
44660
45033
  this.searchQuery = search2;
44661
45034
  } else {
@@ -44667,11 +45040,22 @@ var WccDashboard2 = class extends (_a6 = DeesElement, _sections_dec = [n5()], _s
44667
45040
  if (sidebarScrollY) {
44668
45041
  this.sidebarScrollY = parseInt(sidebarScrollY);
44669
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
+ }
44670
45051
  setTimeout(() => {
44671
45052
  this.applyScrollPositions();
44672
45053
  }, 100);
44673
45054
  } else {
44674
45055
  this.searchQuery = "";
45056
+ if (this.pinnedItems.size > 0) {
45057
+ this.pinnedItems = /* @__PURE__ */ new Set();
45058
+ }
44675
45059
  }
44676
45060
  const domtoolsInstance = await dist_ts_exports25.elementBasic.setup();
44677
45061
  this.selectedTheme === "bright" ? domtoolsInstance.themeManager.goBright() : domtoolsInstance.themeManager.goDark();
@@ -44708,6 +45092,7 @@ var WccDashboard2 = class extends (_a6 = DeesElement, _sections_dec = [n5()], _s
44708
45092
  const search2 = routeInfo.queryParams.search;
44709
45093
  const frameScrollY = routeInfo.queryParams.frameScrollY;
44710
45094
  const sidebarScrollY = routeInfo.queryParams.sidebarScrollY;
45095
+ const pinned = routeInfo.queryParams.pinned;
44711
45096
  if (search2) {
44712
45097
  this.searchQuery = search2;
44713
45098
  } else {
@@ -44719,11 +45104,22 @@ var WccDashboard2 = class extends (_a6 = DeesElement, _sections_dec = [n5()], _s
44719
45104
  if (sidebarScrollY) {
44720
45105
  this.sidebarScrollY = parseInt(sidebarScrollY);
44721
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
+ }
44722
45115
  setTimeout(() => {
44723
45116
  this.applyScrollPositions();
44724
45117
  }, 100);
44725
45118
  } else {
44726
45119
  this.searchQuery = "";
45120
+ if (this.pinnedItems.size > 0) {
45121
+ this.pinnedItems = /* @__PURE__ */ new Set();
45122
+ }
44727
45123
  }
44728
45124
  const domtoolsInstance = await dist_ts_exports25.elementBasic.setup();
44729
45125
  this.selectedTheme === "bright" ? domtoolsInstance.themeManager.goBright() : domtoolsInstance.themeManager.goDark();
@@ -44791,6 +45187,9 @@ var WccDashboard2 = class extends (_a6 = DeesElement, _sections_dec = [n5()], _s
44791
45187
  if (this.sidebarScrollY > 0) {
44792
45188
  queryParams.set("sidebarScrollY", this.sidebarScrollY.toString());
44793
45189
  }
45190
+ if (this.pinnedItems.size > 0) {
45191
+ queryParams.set("pinned", Array.from(this.pinnedItems).join(","));
45192
+ }
44794
45193
  const queryString = queryParams.toString();
44795
45194
  const fullUrl = queryString ? `${baseUrl}?${queryString}` : baseUrl;
44796
45195
  this.domtools.router.pushUrl(fullUrl);
@@ -44834,6 +45233,9 @@ var WccDashboard2 = class extends (_a6 = DeesElement, _sections_dec = [n5()], _s
44834
45233
  if (this.sidebarScrollY > 0) {
44835
45234
  queryParams.set("sidebarScrollY", this.sidebarScrollY.toString());
44836
45235
  }
45236
+ if (this.pinnedItems.size > 0) {
45237
+ queryParams.set("pinned", Array.from(this.pinnedItems).join(","));
45238
+ }
44837
45239
  const queryString = queryParams.toString();
44838
45240
  const fullUrl = queryString ? `${baseUrl}?${queryString}` : baseUrl;
44839
45241
  window.history.replaceState(null, "", fullUrl);
@@ -44853,7 +45255,7 @@ var WccDashboard2 = class extends (_a6 = DeesElement, _sections_dec = [n5()], _s
44853
45255
  this.scrollPositionsApplied = true;
44854
45256
  }
44855
45257
  };
44856
- _init6 = __decoratorStart(_a6);
45258
+ _init7 = __decoratorStart(_a7);
44857
45259
  _sections = new WeakMap();
44858
45260
  _selectedSection = new WeakMap();
44859
45261
  _selectedType2 = new WeakMap();
@@ -44863,21 +45265,23 @@ _selectedDemoIndex = new WeakMap();
44863
45265
  _selectedViewport2 = new WeakMap();
44864
45266
  _selectedTheme2 = new WeakMap();
44865
45267
  _searchQuery2 = new WeakMap();
45268
+ _pinnedItems2 = new WeakMap();
44866
45269
  _warning2 = new WeakMap();
44867
45270
  _wccFrame = new WeakMap();
44868
- __decorateElement(_init6, 4, "sections", _sections_dec, WccDashboard2, _sections);
44869
- __decorateElement(_init6, 4, "selectedSection", _selectedSection_dec, WccDashboard2, _selectedSection);
44870
- __decorateElement(_init6, 4, "selectedType", _selectedType_dec2, WccDashboard2, _selectedType2);
44871
- __decorateElement(_init6, 4, "selectedItemName", _selectedItemName_dec, WccDashboard2, _selectedItemName);
44872
- __decorateElement(_init6, 4, "selectedItem", _selectedItem_dec3, WccDashboard2, _selectedItem3);
44873
- __decorateElement(_init6, 4, "selectedDemoIndex", _selectedDemoIndex_dec, WccDashboard2, _selectedDemoIndex);
44874
- __decorateElement(_init6, 4, "selectedViewport", _selectedViewport_dec2, WccDashboard2, _selectedViewport2);
44875
- __decorateElement(_init6, 4, "selectedTheme", _selectedTheme_dec2, WccDashboard2, _selectedTheme2);
44876
- __decorateElement(_init6, 4, "searchQuery", _searchQuery_dec2, WccDashboard2, _searchQuery2);
44877
- __decorateElement(_init6, 4, "warning", _warning_dec2, WccDashboard2, _warning2);
44878
- __decorateElement(_init6, 4, "wccFrame", _wccFrame_dec, WccDashboard2, _wccFrame);
44879
- WccDashboard2 = __decorateElement(_init6, 0, "WccDashboard", _WccDashboard_decorators, WccDashboard2);
44880
- __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);
44881
45285
 
44882
45286
  // ts_web/index.ts
44883
45287
  var convertLegacyToConfig = (elementsArg, pagesArg) => {
@@ -44923,16 +45327,21 @@ var setupWccTools = (configOrElements, pagesArg) => {
44923
45327
  // test/elements/index.ts
44924
45328
  var elements_exports = {};
44925
45329
  __export(elements_exports, {
45330
+ TestButtonDanger: () => TestButtonDanger,
45331
+ TestButtonPrimary: () => TestButtonPrimary,
45332
+ TestButtonSecondary: () => TestButtonSecondary,
44926
45333
  TestComplexTypes: () => TestComplexTypes,
44927
45334
  TestDemoelement: () => TestDemoelement,
44928
45335
  TestEdgeCases: () => TestEdgeCases,
45336
+ TestInputCheckbox: () => TestInputCheckbox,
45337
+ TestInputText: () => TestInputText,
44929
45338
  TestNested: () => TestNested,
44930
45339
  TestNoProps: () => TestNoProps,
44931
45340
  TestWithWrapper: () => TestWithWrapper
44932
45341
  });
44933
45342
 
44934
45343
  // test/elements/test-demoelement.ts
44935
- 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;
44936
45345
  var ETestEnum = /* @__PURE__ */ ((ETestEnum2) => {
44937
45346
  ETestEnum2["first"] = "first";
44938
45347
  ETestEnum2["second"] = "second";
@@ -44940,7 +45349,7 @@ var ETestEnum = /* @__PURE__ */ ((ETestEnum2) => {
44940
45349
  return ETestEnum2;
44941
45350
  })(ETestEnum || {});
44942
45351
  _TestDemoelement_decorators = [t4("test-demoelement")];
44943
- 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({
44944
45353
  type: String
44945
45354
  })], _notTypedAndNotInitizalized_dec = [n5()], _demoBoolean_dec = [n5({
44946
45355
  type: Boolean
@@ -44950,16 +45359,16 @@ var TestDemoelement = class extends (_a7 = DeesElement, _notTyped_dec = [n5()],
44950
45359
  type: Number
44951
45360
  })], _demoENum_dec = [n5({
44952
45361
  type: ETestEnum
44953
- })], _a7) {
45362
+ })], _a8) {
44954
45363
  constructor() {
44955
45364
  super();
44956
- __privateAdd(this, _notTyped, __runInitializers(_init7, 8, this, "hello")), __runInitializers(_init7, 11, this);
44957
- __privateAdd(this, _typedAndNotInitizalized, __runInitializers(_init7, 12, this)), __runInitializers(_init7, 15, this);
44958
- __privateAdd(this, _notTypedAndNotInitizalized, __runInitializers(_init7, 16, this)), __runInitializers(_init7, 19, this);
44959
- __privateAdd(this, _demoBoolean, __runInitializers(_init7, 20, this, false)), __runInitializers(_init7, 23, this);
44960
- __privateAdd(this, _demoString, __runInitializers(_init7, 24, this, "default demo string")), __runInitializers(_init7, 27, this);
44961
- __privateAdd(this, _demoNumber, __runInitializers(_init7, 28, this, 2)), __runInitializers(_init7, 31, this);
44962
- __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);
44963
45372
  }
44964
45373
  render() {
44965
45374
  return x`
@@ -44978,7 +45387,7 @@ var TestDemoelement = class extends (_a7 = DeesElement, _notTyped_dec = [n5()],
44978
45387
  `;
44979
45388
  }
44980
45389
  };
44981
- _init7 = __decoratorStart(_a7);
45390
+ _init8 = __decoratorStart(_a8);
44982
45391
  _notTyped = new WeakMap();
44983
45392
  _typedAndNotInitizalized = new WeakMap();
44984
45393
  _notTypedAndNotInitizalized = new WeakMap();
@@ -44986,14 +45395,14 @@ _demoBoolean = new WeakMap();
44986
45395
  _demoString = new WeakMap();
44987
45396
  _demoNumber = new WeakMap();
44988
45397
  _demoENum = new WeakMap();
44989
- __decorateElement(_init7, 4, "notTyped", _notTyped_dec, TestDemoelement, _notTyped);
44990
- __decorateElement(_init7, 4, "typedAndNotInitizalized", _typedAndNotInitizalized_dec, TestDemoelement, _typedAndNotInitizalized);
44991
- __decorateElement(_init7, 4, "notTypedAndNotInitizalized", _notTypedAndNotInitizalized_dec, TestDemoelement, _notTypedAndNotInitizalized);
44992
- __decorateElement(_init7, 4, "demoBoolean", _demoBoolean_dec, TestDemoelement, _demoBoolean);
44993
- __decorateElement(_init7, 4, "demoString", _demoString_dec, TestDemoelement, _demoString);
44994
- __decorateElement(_init7, 4, "demoNumber", _demoNumber_dec, TestDemoelement, _demoNumber);
44995
- __decorateElement(_init7, 4, "demoENum", _demoENum_dec, TestDemoelement, _demoENum);
44996
- 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);
44997
45406
  __publicField(TestDemoelement, "demo", [
44998
45407
  () => x`<test-demoelement>This is demo 1</test-demoelement>`,
44999
45408
  () => x`<test-demoelement>This is demo 2</test-demoelement>`,
@@ -45036,12 +45445,12 @@ __publicField(TestDemoelement, "styles", [
45036
45445
  }
45037
45446
  `
45038
45447
  ]);
45039
- __runInitializers(_init7, 1, TestDemoelement);
45448
+ __runInitializers(_init8, 1, TestDemoelement);
45040
45449
 
45041
45450
  // test/elements/test-noprops.ts
45042
- var _TestNoProps_decorators, _init8, _a8;
45451
+ var _TestNoProps_decorators, _init9, _a9;
45043
45452
  _TestNoProps_decorators = [t4("test-noprops")];
45044
- var TestNoProps = class extends (_a8 = DeesElement) {
45453
+ var TestNoProps = class extends (_a9 = DeesElement) {
45045
45454
  static demo = () => x`<test-noprops></test-noprops>`;
45046
45455
  static styles = [
45047
45456
  i`
@@ -45067,19 +45476,19 @@ var TestNoProps = class extends (_a8 = DeesElement) {
45067
45476
  `;
45068
45477
  }
45069
45478
  };
45070
- _init8 = __decoratorStart(_a8);
45071
- TestNoProps = __decorateElement(_init8, 0, "TestNoProps", _TestNoProps_decorators, TestNoProps);
45072
- __runInitializers(_init8, 1, TestNoProps);
45479
+ _init9 = __decoratorStart(_a9);
45480
+ TestNoProps = __decorateElement(_init9, 0, "TestNoProps", _TestNoProps_decorators, TestNoProps);
45481
+ __runInitializers(_init9, 1, TestNoProps);
45073
45482
 
45074
45483
  // test/elements/test-complextypes.ts
45075
- 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;
45076
45485
  _TestComplexTypes_decorators = [t4("test-complextypes")];
45077
- 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) {
45078
45487
  constructor() {
45079
45488
  super(...arguments);
45080
- __privateAdd(this, _stringArray, __runInitializers(_init9, 8, this, ["apple", "banana", "cherry"])), __runInitializers(_init9, 11, this);
45081
- __privateAdd(this, _numberArray, __runInitializers(_init9, 12, this, [1, 2, 3, 4, 5])), __runInitializers(_init9, 15, this);
45082
- __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, {
45083
45492
  name: "Default Name",
45084
45493
  age: 0,
45085
45494
  tags: [],
@@ -45088,16 +45497,16 @@ var TestComplexTypes = class extends (_a9 = DeesElement, _stringArray_dec = [n5(
45088
45497
  modified: /* @__PURE__ */ new Date(),
45089
45498
  author: "Unknown"
45090
45499
  }
45091
- })), __runInitializers(_init9, 19, this);
45092
- __privateAdd(this, _simpleObject, __runInitializers(_init9, 20, this, {
45500
+ })), __runInitializers(_init10, 19, this);
45501
+ __privateAdd(this, _simpleObject, __runInitializers(_init10, 20, this, {
45093
45502
  key1: "value1",
45094
45503
  key2: "value2",
45095
45504
  key3: 123
45096
- })), __runInitializers(_init9, 23, this);
45097
- __privateAdd(this, _functionProperty, __runInitializers(_init9, 24, this, () => {
45505
+ })), __runInitializers(_init10, 23, this);
45506
+ __privateAdd(this, _functionProperty, __runInitializers(_init10, 24, this, () => {
45098
45507
  console.log("This is a function property");
45099
- })), __runInitializers(_init9, 27, this);
45100
- __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);
45101
45510
  }
45102
45511
  render() {
45103
45512
  return x`
@@ -45133,20 +45542,20 @@ var TestComplexTypes = class extends (_a9 = DeesElement, _stringArray_dec = [n5(
45133
45542
  `;
45134
45543
  }
45135
45544
  };
45136
- _init9 = __decoratorStart(_a9);
45545
+ _init10 = __decoratorStart(_a10);
45137
45546
  _stringArray = new WeakMap();
45138
45547
  _numberArray = new WeakMap();
45139
45548
  _complexData = new WeakMap();
45140
45549
  _simpleObject = new WeakMap();
45141
45550
  _functionProperty = new WeakMap();
45142
45551
  _dateProperty = new WeakMap();
45143
- __decorateElement(_init9, 4, "stringArray", _stringArray_dec, TestComplexTypes, _stringArray);
45144
- __decorateElement(_init9, 4, "numberArray", _numberArray_dec, TestComplexTypes, _numberArray);
45145
- __decorateElement(_init9, 4, "complexData", _complexData_dec, TestComplexTypes, _complexData);
45146
- __decorateElement(_init9, 4, "simpleObject", _simpleObject_dec, TestComplexTypes, _simpleObject);
45147
- __decorateElement(_init9, 4, "functionProperty", _functionProperty_dec, TestComplexTypes, _functionProperty);
45148
- __decorateElement(_init9, 4, "dateProperty", _dateProperty_dec, TestComplexTypes, _dateProperty);
45149
- 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);
45150
45559
  __publicField(TestComplexTypes, "demo", () => x`
45151
45560
  <test-complextypes
45152
45561
  .complexData=${{
@@ -45193,15 +45602,15 @@ __publicField(TestComplexTypes, "styles", [
45193
45602
  }
45194
45603
  `
45195
45604
  ]);
45196
- __runInitializers(_init9, 1, TestComplexTypes);
45605
+ __runInitializers(_init10, 1, TestComplexTypes);
45197
45606
 
45198
45607
  // ts_demotools/demotools.ts
45199
- var _runAfterRender_dec, _a10, _DeesDemoWrapper_decorators, _init10, _runAfterRender;
45608
+ var _runAfterRender_dec, _a11, _DeesDemoWrapper_decorators, _init11, _runAfterRender;
45200
45609
  _DeesDemoWrapper_decorators = [t4("dees-demowrapper")];
45201
- 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) {
45202
45611
  constructor() {
45203
45612
  super(...arguments);
45204
- __privateAdd(this, _runAfterRender, __runInitializers(_init10, 8, this)), __runInitializers(_init10, 11, this);
45613
+ __privateAdd(this, _runAfterRender, __runInitializers(_init11, 8, this)), __runInitializers(_init11, 11, this);
45205
45614
  }
45206
45615
  render() {
45207
45616
  return x`
@@ -45220,10 +45629,10 @@ var DeesDemoWrapper = class extends (_a10 = DeesElement, _runAfterRender_dec = [
45220
45629
  }
45221
45630
  }
45222
45631
  };
45223
- _init10 = __decoratorStart(_a10);
45632
+ _init11 = __decoratorStart(_a11);
45224
45633
  _runAfterRender = new WeakMap();
45225
- __decorateElement(_init10, 4, "runAfterRender", _runAfterRender_dec, DeesDemoWrapper, _runAfterRender);
45226
- 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);
45227
45636
  __publicField(DeesDemoWrapper, "styles", [
45228
45637
  i`
45229
45638
  :host {
@@ -45231,17 +45640,17 @@ __publicField(DeesDemoWrapper, "styles", [
45231
45640
  }
45232
45641
  `
45233
45642
  ]);
45234
- __runInitializers(_init10, 1, DeesDemoWrapper);
45643
+ __runInitializers(_init11, 1, DeesDemoWrapper);
45235
45644
 
45236
45645
  // test/elements/test-withwrapper.ts
45237
- 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;
45238
45647
  _TestWithWrapper_decorators = [t4("test-withwrapper")];
45239
- 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) {
45240
45649
  constructor() {
45241
45650
  super(...arguments);
45242
- __privateAdd(this, _dynamicValue, __runInitializers(_init11, 8, this, "Initial value")), __runInitializers(_init11, 11, this);
45243
- __privateAdd(this, _counter, __runInitializers(_init11, 12, this, 0)), __runInitializers(_init11, 15, this);
45244
- __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);
45245
45654
  }
45246
45655
  render() {
45247
45656
  return x`
@@ -45265,14 +45674,14 @@ var TestWithWrapper = class extends (_a11 = DeesElement, _dynamicValue_dec = [n5
45265
45674
  `;
45266
45675
  }
45267
45676
  };
45268
- _init11 = __decoratorStart(_a11);
45677
+ _init12 = __decoratorStart(_a12);
45269
45678
  _dynamicValue = new WeakMap();
45270
45679
  _counter = new WeakMap();
45271
45680
  _isActive = new WeakMap();
45272
- __decorateElement(_init11, 4, "dynamicValue", _dynamicValue_dec, TestWithWrapper, _dynamicValue);
45273
- __decorateElement(_init11, 4, "counter", _counter_dec, TestWithWrapper, _counter);
45274
- __decorateElement(_init11, 4, "isActive", _isActive_dec, TestWithWrapper, _isActive);
45275
- 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);
45276
45685
  __publicField(TestWithWrapper, "demo", () => x`
45277
45686
  <dees-demowrapper .runAfterRender=${async (wrapper) => {
45278
45687
  console.log("DemoWrapper: Found wrapper element", wrapper);
@@ -45332,34 +45741,34 @@ __publicField(TestWithWrapper, "styles", [
45332
45741
  }
45333
45742
  `
45334
45743
  ]);
45335
- __runInitializers(_init11, 1, TestWithWrapper);
45744
+ __runInitializers(_init12, 1, TestWithWrapper);
45336
45745
 
45337
45746
  // test/elements/test-edgecases.ts
45338
- 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;
45339
45748
  _TestEdgeCases_decorators = [t4("test-edgecases")];
45340
- 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) {
45341
45750
  constructor() {
45342
45751
  super(...arguments);
45343
- __privateAdd(this, _nullableString, __runInitializers(_init12, 8, this, null)), __runInitializers(_init12, 11, this);
45344
- __privateAdd(this, _undefinedNumber, __runInitializers(_init12, 12, this)), __runInitializers(_init12, 15, this);
45345
- __privateAdd(this, _longString, __runInitializers(_init12, 16, this, "Lorem ipsum ".repeat(50))), __runInitializers(_init12, 19, this);
45346
- __privateAdd(this, _specialChars, __runInitializers(_init12, 20, this, "!@#$%^&*()_+-=[]{}|;':\",./<>?`~")), __runInitializers(_init12, 23, this);
45347
- __privateAdd(this, _htmlString, __runInitializers(_init12, 24, this, '<script>alert("test")<\/script><b>Bold text</b>')), __runInitializers(_init12, 27, this);
45348
- __privateAdd(this, _infinityNumber, __runInitializers(_init12, 28, this, Infinity)), __runInitializers(_init12, 31, this);
45349
- __privateAdd(this, _nanNumber, __runInitializers(_init12, 32, this, NaN)), __runInitializers(_init12, 35, this);
45350
- __privateAdd(this, _veryLargeNumber, __runInitializers(_init12, 36, this, Number.MAX_SAFE_INTEGER)), __runInitializers(_init12, 39, this);
45351
- __privateAdd(this, _verySmallNumber, __runInitializers(_init12, 40, this, Number.MIN_SAFE_INTEGER)), __runInitializers(_init12, 43, this);
45352
- __privateAdd(this, _floatNumber, __runInitializers(_init12, 44, this, 3.14159265359)), __runInitializers(_init12, 47, this);
45353
- __privateAdd(this, _booleanString, __runInitializers(_init12, 48, this, "false")), __runInitializers(_init12, 51, this);
45354
- __privateAdd(this, _booleanNumber, __runInitializers(_init12, 52, this, 0)), __runInitializers(_init12, 55, this);
45355
- __privateAdd(this, _emptyString, __runInitializers(_init12, 56, this, "")), __runInitializers(_init12, 59, this);
45356
- __privateAdd(this, _emptyArray, __runInitializers(_init12, 60, this, [])), __runInitializers(_init12, 63, this);
45357
- __privateAdd(this, _emptyObject, __runInitializers(_init12, 64, this, {})), __runInitializers(_init12, 67, this);
45358
- __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, (() => {
45359
45768
  const obj = { name: "circular" };
45360
45769
  obj.self = obj;
45361
45770
  return obj;
45362
- })())), __runInitializers(_init12, 71, this);
45771
+ })())), __runInitializers(_init13, 71, this);
45363
45772
  }
45364
45773
  formatValue(value2) {
45365
45774
  if (value2 === null) return "null";
@@ -45441,7 +45850,7 @@ var TestEdgeCases = class extends (_a12 = DeesElement, _nullableString_dec = [n5
45441
45850
  `;
45442
45851
  }
45443
45852
  };
45444
- _init12 = __decoratorStart(_a12);
45853
+ _init13 = __decoratorStart(_a13);
45445
45854
  _nullableString = new WeakMap();
45446
45855
  _undefinedNumber = new WeakMap();
45447
45856
  _longString = new WeakMap();
@@ -45458,23 +45867,23 @@ _emptyString = new WeakMap();
45458
45867
  _emptyArray = new WeakMap();
45459
45868
  _emptyObject = new WeakMap();
45460
45869
  _circularRef = new WeakMap();
45461
- __decorateElement(_init12, 4, "nullableString", _nullableString_dec, TestEdgeCases, _nullableString);
45462
- __decorateElement(_init12, 4, "undefinedNumber", _undefinedNumber_dec, TestEdgeCases, _undefinedNumber);
45463
- __decorateElement(_init12, 4, "longString", _longString_dec, TestEdgeCases, _longString);
45464
- __decorateElement(_init12, 4, "specialChars", _specialChars_dec, TestEdgeCases, _specialChars);
45465
- __decorateElement(_init12, 4, "htmlString", _htmlString_dec, TestEdgeCases, _htmlString);
45466
- __decorateElement(_init12, 4, "infinityNumber", _infinityNumber_dec, TestEdgeCases, _infinityNumber);
45467
- __decorateElement(_init12, 4, "nanNumber", _nanNumber_dec, TestEdgeCases, _nanNumber);
45468
- __decorateElement(_init12, 4, "veryLargeNumber", _veryLargeNumber_dec, TestEdgeCases, _veryLargeNumber);
45469
- __decorateElement(_init12, 4, "verySmallNumber", _verySmallNumber_dec, TestEdgeCases, _verySmallNumber);
45470
- __decorateElement(_init12, 4, "floatNumber", _floatNumber_dec, TestEdgeCases, _floatNumber);
45471
- __decorateElement(_init12, 4, "booleanString", _booleanString_dec, TestEdgeCases, _booleanString);
45472
- __decorateElement(_init12, 4, "booleanNumber", _booleanNumber_dec, TestEdgeCases, _booleanNumber);
45473
- __decorateElement(_init12, 4, "emptyString", _emptyString_dec, TestEdgeCases, _emptyString);
45474
- __decorateElement(_init12, 4, "emptyArray", _emptyArray_dec, TestEdgeCases, _emptyArray);
45475
- __decorateElement(_init12, 4, "emptyObject", _emptyObject_dec, TestEdgeCases, _emptyObject);
45476
- __decorateElement(_init12, 4, "circularRef", _circularRef_dec, TestEdgeCases, _circularRef);
45477
- 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);
45478
45887
  __publicField(TestEdgeCases, "demo", () => x`<test-edgecases></test-edgecases>`);
45479
45888
  __publicField(TestEdgeCases, "styles", [
45480
45889
  i`
@@ -45515,12 +45924,12 @@ __publicField(TestEdgeCases, "styles", [
45515
45924
  }
45516
45925
  `
45517
45926
  ]);
45518
- __runInitializers(_init12, 1, TestEdgeCases);
45927
+ __runInitializers(_init13, 1, TestEdgeCases);
45519
45928
 
45520
45929
  // test/elements/test-nested.ts
45521
- 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;
45522
45931
  _TestNestedWrapper_decorators = [t4("test-nested-wrapper")];
45523
- var TestNestedWrapper = class extends (_a13 = DeesElement) {
45932
+ var TestNestedWrapper = class extends (_a14 = DeesElement) {
45524
45933
  render() {
45525
45934
  return x`
45526
45935
  <div style="border: 1px dashed #ccc; padding: 10px; margin: 5px;">
@@ -45529,16 +45938,16 @@ var TestNestedWrapper = class extends (_a13 = DeesElement) {
45529
45938
  `;
45530
45939
  }
45531
45940
  };
45532
- _init13 = __decoratorStart(_a13);
45533
- TestNestedWrapper = __decorateElement(_init13, 0, "TestNestedWrapper", _TestNestedWrapper_decorators, TestNestedWrapper);
45534
- __runInitializers(_init13, 1, TestNestedWrapper);
45941
+ _init14 = __decoratorStart(_a14);
45942
+ TestNestedWrapper = __decorateElement(_init14, 0, "TestNestedWrapper", _TestNestedWrapper_decorators, TestNestedWrapper);
45943
+ __runInitializers(_init14, 1, TestNestedWrapper);
45535
45944
  _TestNestedTarget_decorators = [t4("test-nested-target")];
45536
45945
  var TestNestedTarget = class extends (_b = DeesElement, _message_dec = [n5({ type: String })], _depth_dec = [n5({ type: Number })], _found_dec = [n5({ type: Boolean })], _b) {
45537
45946
  constructor() {
45538
45947
  super(...arguments);
45539
- __privateAdd(this, _message, __runInitializers(_init14, 8, this, "I am deeply nested!")), __runInitializers(_init14, 11, this);
45540
- __privateAdd(this, _depth, __runInitializers(_init14, 12, this, 0)), __runInitializers(_init14, 15, this);
45541
- __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);
45542
45951
  }
45543
45952
  render() {
45544
45953
  return x`
@@ -45551,14 +45960,14 @@ var TestNestedTarget = class extends (_b = DeesElement, _message_dec = [n5({ typ
45551
45960
  `;
45552
45961
  }
45553
45962
  };
45554
- _init14 = __decoratorStart(_b);
45963
+ _init15 = __decoratorStart(_b);
45555
45964
  _message = new WeakMap();
45556
45965
  _depth = new WeakMap();
45557
45966
  _found = new WeakMap();
45558
- __decorateElement(_init14, 4, "message", _message_dec, TestNestedTarget, _message);
45559
- __decorateElement(_init14, 4, "depth", _depth_dec, TestNestedTarget, _depth);
45560
- __decorateElement(_init14, 4, "found", _found_dec, TestNestedTarget, _found);
45561
- 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);
45562
45971
  __publicField(TestNestedTarget, "styles", [
45563
45972
  i`
45564
45973
  :host {
@@ -45575,12 +45984,12 @@ __publicField(TestNestedTarget, "styles", [
45575
45984
  }
45576
45985
  `
45577
45986
  ]);
45578
- __runInitializers(_init14, 1, TestNestedTarget);
45987
+ __runInitializers(_init15, 1, TestNestedTarget);
45579
45988
  _TestNested_decorators = [t4("test-nested")];
45580
45989
  var TestNested = class extends (_c = DeesElement, _testId_dec = [n5({ type: String })], _c) {
45581
45990
  constructor() {
45582
45991
  super(...arguments);
45583
- __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);
45584
45993
  }
45585
45994
  render() {
45586
45995
  return x`
@@ -45615,10 +46024,10 @@ var TestNested = class extends (_c = DeesElement, _testId_dec = [n5({ type: Stri
45615
46024
  `;
45616
46025
  }
45617
46026
  };
45618
- _init15 = __decoratorStart(_c);
46027
+ _init16 = __decoratorStart(_c);
45619
46028
  _testId = new WeakMap();
45620
- __decorateElement(_init15, 4, "testId", _testId_dec, TestNested, _testId);
45621
- 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);
45622
46031
  __publicField(TestNested, "demo", () => x`
45623
46032
  <test-nested></test-nested>
45624
46033
  `);
@@ -45644,7 +46053,259 @@ __publicField(TestNested, "styles", [
45644
46053
  }
45645
46054
  `
45646
46055
  ]);
45647
- __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);
45648
46309
 
45649
46310
  // test/views/index.ts
45650
46311
  var views_exports = {};
@@ -45655,13 +46316,13 @@ __export(views_exports, {
45655
46316
  });
45656
46317
 
45657
46318
  // test/views/view-dashboard.ts
45658
- var _notificationCount_dec, _title_dec, _a14, _ViewDashboard_decorators, _init16, _title, _notificationCount;
46319
+ var _notificationCount_dec, _title_dec, _a20, _ViewDashboard_decorators, _init22, _title, _notificationCount;
45659
46320
  _ViewDashboard_decorators = [t4("view-dashboard")];
45660
- 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) {
45661
46322
  constructor() {
45662
46323
  super(...arguments);
45663
- __privateAdd(this, _title, __runInitializers(_init16, 8, this, "Dashboard")), __runInitializers(_init16, 11, this);
45664
- __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);
45665
46326
  }
45666
46327
  render() {
45667
46328
  return x`
@@ -45742,12 +46403,12 @@ var ViewDashboard = class extends (_a14 = DeesElement, _title_dec = [n5()], _not
45742
46403
  `;
45743
46404
  }
45744
46405
  };
45745
- _init16 = __decoratorStart(_a14);
46406
+ _init22 = __decoratorStart(_a20);
45746
46407
  _title = new WeakMap();
45747
46408
  _notificationCount = new WeakMap();
45748
- __decorateElement(_init16, 4, "title", _title_dec, ViewDashboard, _title);
45749
- __decorateElement(_init16, 4, "notificationCount", _notificationCount_dec, ViewDashboard, _notificationCount);
45750
- 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);
45751
46412
  __publicField(ViewDashboard, "demo", () => x`<view-dashboard></view-dashboard>`);
45752
46413
  __publicField(ViewDashboard, "styles", [
45753
46414
  cssManager.defaultStyles,
@@ -45943,17 +46604,17 @@ __publicField(ViewDashboard, "styles", [
45943
46604
  }
45944
46605
  `
45945
46606
  ]);
45946
- __runInitializers(_init16, 1, ViewDashboard);
46607
+ __runInitializers(_init22, 1, ViewDashboard);
45947
46608
 
45948
46609
  // test/views/view-settings.ts
45949
- 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;
45950
46611
  _ViewSettings_decorators = [t4("view-settings")];
45951
- 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) {
45952
46613
  constructor() {
45953
46614
  super(...arguments);
45954
- __privateAdd(this, _activeTab, __runInitializers(_init17, 8, this, "profile")), __runInitializers(_init17, 11, this);
45955
- __privateAdd(this, _userName, __runInitializers(_init17, 12, this, "John Doe")), __runInitializers(_init17, 15, this);
45956
- __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);
45957
46618
  }
45958
46619
  handleTabClick(tab2) {
45959
46620
  this.activeTab = tab2;
@@ -46112,14 +46773,14 @@ var ViewSettings = class extends (_a15 = DeesElement, _activeTab_dec = [n5()], _
46112
46773
  `;
46113
46774
  }
46114
46775
  };
46115
- _init17 = __decoratorStart(_a15);
46776
+ _init23 = __decoratorStart(_a21);
46116
46777
  _activeTab = new WeakMap();
46117
46778
  _userName = new WeakMap();
46118
46779
  _userEmail = new WeakMap();
46119
- __decorateElement(_init17, 4, "activeTab", _activeTab_dec, ViewSettings, _activeTab);
46120
- __decorateElement(_init17, 4, "userName", _userName_dec, ViewSettings, _userName);
46121
- __decorateElement(_init17, 4, "userEmail", _userEmail_dec, ViewSettings, _userEmail);
46122
- 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);
46123
46784
  __publicField(ViewSettings, "demo", [
46124
46785
  () => x`<view-settings></view-settings>`,
46125
46786
  () => x`<view-settings activeTab="notifications"></view-settings>`,
@@ -46380,17 +47041,17 @@ __publicField(ViewSettings, "styles", [
46380
47041
  }
46381
47042
  `
46382
47043
  ]);
46383
- __runInitializers(_init17, 1, ViewSettings);
47044
+ __runInitializers(_init23, 1, ViewSettings);
46384
47045
 
46385
47046
  // test/views/view-empty-state.ts
46386
- 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;
46387
47048
  _ViewEmptyState_decorators = [t4("view-empty-state")];
46388
- 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) {
46389
47050
  constructor() {
46390
47051
  super(...arguments);
46391
- __privateAdd(this, _variant, __runInitializers(_init18, 8, this, "empty")), __runInitializers(_init18, 11, this);
46392
- __privateAdd(this, _title2, __runInitializers(_init18, 12, this, "")), __runInitializers(_init18, 15, this);
46393
- __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);
46394
47055
  }
46395
47056
  getContent() {
46396
47057
  switch (this.variant) {
@@ -46451,14 +47112,14 @@ var ViewEmptyState = class extends (_a16 = DeesElement, _variant_dec = [n5()], _
46451
47112
  }
46452
47113
  }
46453
47114
  };
46454
- _init18 = __decoratorStart(_a16);
47115
+ _init24 = __decoratorStart(_a22);
46455
47116
  _variant = new WeakMap();
46456
47117
  _title2 = new WeakMap();
46457
47118
  _description = new WeakMap();
46458
- __decorateElement(_init18, 4, "variant", _variant_dec, ViewEmptyState, _variant);
46459
- __decorateElement(_init18, 4, "title", _title_dec2, ViewEmptyState, _title2);
46460
- __decorateElement(_init18, 4, "description", _description_dec, ViewEmptyState, _description);
46461
- 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);
46462
47123
  __publicField(ViewEmptyState, "demo", [
46463
47124
  () => x`<view-empty-state></view-empty-state>`,
46464
47125
  () => x`<view-empty-state variant="no-results"></view-empty-state>`,
@@ -46638,7 +47299,7 @@ __publicField(ViewEmptyState, "styles", [
46638
47299
  }
46639
47300
  `
46640
47301
  ]);
46641
- __runInitializers(_init18, 1, ViewEmptyState);
47302
+ __runInitializers(_init24, 1, ViewEmptyState);
46642
47303
 
46643
47304
  // test/pages/index.ts
46644
47305
  var pages_exports = {};