@signature.digital/catalog 1.4.0 → 1.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.
@@ -2189,7 +2189,7 @@ var require_sweet_scroll = __commonJS({
2189
2189
  hash: null
2190
2190
  };
2191
2191
  this.loop = function(time) {
2192
- var _a11 = _this, $el = _a11.$el, ctx = _a11.ctx;
2192
+ var _a12 = _this, $el = _a12.$el, ctx = _a12.ctx;
2193
2193
  if (!ctx.start) {
2194
2194
  ctx.start = time;
2195
2195
  }
@@ -2285,7 +2285,7 @@ var require_sweet_scroll = __commonJS({
2285
2285
  if (!canUseDOM) {
2286
2286
  return;
2287
2287
  }
2288
- var _a11 = this, $el = _a11.$el, ctx = _a11.ctx, currentOptions = _a11.opts;
2288
+ var _a12 = this, $el = _a12.$el, ctx = _a12.ctx, currentOptions = _a12.opts;
2289
2289
  var $trigger = ctx.$trigger;
2290
2290
  var opts = __assign2({}, currentOptions, options || {});
2291
2291
  var optOffset = opts.offset, vertical = opts.vertical, horizontal = opts.horizontal;
@@ -2352,7 +2352,7 @@ var require_sweet_scroll = __commonJS({
2352
2352
  if (gotoEnd === void 0) {
2353
2353
  gotoEnd = false;
2354
2354
  }
2355
- var _a11 = this, $el = _a11.$el, ctx = _a11.ctx;
2355
+ var _a12 = this, $el = _a12.$el, ctx = _a12.ctx;
2356
2356
  var pos = ctx.pos;
2357
2357
  if (!$el || !ctx.progress) {
2358
2358
  return;
@@ -2408,7 +2408,7 @@ var require_sweet_scroll = __commonJS({
2408
2408
  ctx.id = SweetScroll3.raf(this.loop);
2409
2409
  };
2410
2410
  SweetScroll3.prototype.complete = function() {
2411
- var _a11 = this, $el = _a11.$el, ctx = _a11.ctx;
2411
+ var _a12 = this, $el = _a12.$el, ctx = _a12.ctx;
2412
2412
  var hash = ctx.hash, cancel = ctx.cancel, opts = ctx.opts, pos = ctx.pos, $trigger = ctx.$trigger;
2413
2413
  if (!$el || !opts) {
2414
2414
  return;
@@ -2434,18 +2434,18 @@ var require_sweet_scroll = __commonJS({
2434
2434
  for (var _i = 2; _i < arguments.length; _i++) {
2435
2435
  args[_i - 2] = arguments[_i];
2436
2436
  }
2437
- var _a11;
2437
+ var _a12;
2438
2438
  var callback = options[type5];
2439
2439
  var callbackResult;
2440
2440
  var methodResult;
2441
2441
  if (isFunction2(callback)) {
2442
2442
  callbackResult = callback.apply(this, args.concat([this]));
2443
2443
  }
2444
- methodResult = (_a11 = this)["on" + (type5[0].toUpperCase() + type5.slice(1))].apply(_a11, args);
2444
+ methodResult = (_a12 = this)["on" + (type5[0].toUpperCase() + type5.slice(1))].apply(_a12, args);
2445
2445
  return callbackResult !== void 0 ? callbackResult : methodResult;
2446
2446
  };
2447
2447
  SweetScroll3.prototype.bind = function(click, stop) {
2448
- var _a11 = this, $el = _a11.$el, opts = _a11.ctx.opts;
2448
+ var _a12 = this, $el = _a12.$el, opts = _a12.ctx.opts;
2449
2449
  if ($el) {
2450
2450
  if (click) {
2451
2451
  addEvent($el, CONTAINER_CLICK_EVENT, this.handleClick, false);
@@ -2456,7 +2456,7 @@ var require_sweet_scroll = __commonJS({
2456
2456
  }
2457
2457
  };
2458
2458
  SweetScroll3.prototype.unbind = function(click, stop) {
2459
- var _a11 = this, $el = _a11.$el, opts = _a11.ctx.opts;
2459
+ var _a12 = this, $el = _a12.$el, opts = _a12.ctx.opts;
2460
2460
  if ($el) {
2461
2461
  if (click) {
2462
2462
  removeEvent($el, CONTAINER_CLICK_EVENT, this.handleClick, false);
@@ -40593,7 +40593,7 @@ var Subscription = (function() {
40593
40593
  }
40594
40594
  __name(Subscription2, "Subscription");
40595
40595
  Subscription2.prototype.unsubscribe = function() {
40596
- var e_1, _a11, e_2, _b;
40596
+ var e_1, _a12, e_2, _b;
40597
40597
  var errors;
40598
40598
  if (!this.closed) {
40599
40599
  this.closed = true;
@@ -40610,7 +40610,7 @@ var Subscription = (function() {
40610
40610
  e_1 = { error: e_1_1 };
40611
40611
  } finally {
40612
40612
  try {
40613
- if (_parentage_1_1 && !_parentage_1_1.done && (_a11 = _parentage_1.return)) _a11.call(_parentage_1);
40613
+ if (_parentage_1_1 && !_parentage_1_1.done && (_a12 = _parentage_1.return)) _a12.call(_parentage_1);
40614
40614
  } finally {
40615
40615
  if (e_1) throw e_1.error;
40616
40616
  }
@@ -40660,7 +40660,7 @@ var Subscription = (function() {
40660
40660
  }
40661
40661
  };
40662
40662
  Subscription2.prototype.add = function(teardown) {
40663
- var _a11;
40663
+ var _a12;
40664
40664
  if (teardown && teardown !== this) {
40665
40665
  if (this.closed) {
40666
40666
  execFinalizer(teardown);
@@ -40671,7 +40671,7 @@ var Subscription = (function() {
40671
40671
  }
40672
40672
  teardown._addParent(this);
40673
40673
  }
40674
- (this._finalizers = (_a11 = this._finalizers) !== null && _a11 !== void 0 ? _a11 : []).push(teardown);
40674
+ (this._finalizers = (_a12 = this._finalizers) !== null && _a12 !== void 0 ? _a12 : []).push(teardown);
40675
40675
  }
40676
40676
  }
40677
40677
  };
@@ -40797,7 +40797,7 @@ function errorContext(cb) {
40797
40797
  }
40798
40798
  cb();
40799
40799
  if (isRoot) {
40800
- var _a11 = context, errorThrown = _a11.errorThrown, error = _a11.error;
40800
+ var _a12 = context, errorThrown = _a12.errorThrown, error = _a12.error;
40801
40801
  context = null;
40802
40802
  if (errorThrown) {
40803
40803
  throw error;
@@ -41041,7 +41041,7 @@ var Observable = (function() {
41041
41041
  var _this = this;
41042
41042
  var subscriber = isSubscriber(observerOrNext) ? observerOrNext : new SafeSubscriber(observerOrNext, error, complete);
41043
41043
  errorContext(function() {
41044
- var _a11 = _this, operator = _a11.operator, source = _a11.source;
41044
+ var _a12 = _this, operator = _a12.operator, source = _a12.source;
41045
41045
  subscriber.add(operator ? operator.call(subscriber, source) : source ? _this._subscribe(subscriber) : _this._trySubscribe(subscriber));
41046
41046
  });
41047
41047
  return subscriber;
@@ -41073,8 +41073,8 @@ var Observable = (function() {
41073
41073
  });
41074
41074
  };
41075
41075
  Observable2.prototype._subscribe = function(subscriber) {
41076
- var _a11;
41077
- return (_a11 = this.source) === null || _a11 === void 0 ? void 0 : _a11.subscribe(subscriber);
41076
+ var _a12;
41077
+ return (_a12 = this.source) === null || _a12 === void 0 ? void 0 : _a12.subscribe(subscriber);
41078
41078
  };
41079
41079
  Observable2.prototype[observable] = function() {
41080
41080
  return this;
@@ -41106,8 +41106,8 @@ var Observable = (function() {
41106
41106
  return Observable2;
41107
41107
  })();
41108
41108
  function getPromiseCtor(promiseCtor) {
41109
- var _a11;
41110
- return (_a11 = promiseCtor !== null && promiseCtor !== void 0 ? promiseCtor : config.Promise) !== null && _a11 !== void 0 ? _a11 : Promise;
41109
+ var _a12;
41110
+ return (_a12 = promiseCtor !== null && promiseCtor !== void 0 ? promiseCtor : config.Promise) !== null && _a12 !== void 0 ? _a12 : Promise;
41111
41111
  }
41112
41112
  __name(getPromiseCtor, "getPromiseCtor");
41113
41113
  function isObserver(value2) {
@@ -41180,11 +41180,11 @@ var OperatorSubscriber = (function(_super) {
41180
41180
  }
41181
41181
  __name(OperatorSubscriber2, "OperatorSubscriber");
41182
41182
  OperatorSubscriber2.prototype.unsubscribe = function() {
41183
- var _a11;
41183
+ var _a12;
41184
41184
  if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) {
41185
41185
  var closed_1 = this.closed;
41186
41186
  _super.prototype.unsubscribe.call(this);
41187
- !closed_1 && ((_a11 = this.onFinalize) === null || _a11 === void 0 ? void 0 : _a11.call(this));
41187
+ !closed_1 && ((_a12 = this.onFinalize) === null || _a12 === void 0 ? void 0 : _a12.call(this));
41188
41188
  }
41189
41189
  };
41190
41190
  return OperatorSubscriber2;
@@ -41226,7 +41226,7 @@ var Subject = (function(_super) {
41226
41226
  Subject2.prototype.next = function(value2) {
41227
41227
  var _this = this;
41228
41228
  errorContext(function() {
41229
- var e_1, _a11;
41229
+ var e_1, _a12;
41230
41230
  _this._throwIfClosed();
41231
41231
  if (!_this.isStopped) {
41232
41232
  if (!_this.currentObservers) {
@@ -41241,7 +41241,7 @@ var Subject = (function(_super) {
41241
41241
  e_1 = { error: e_1_1 };
41242
41242
  } finally {
41243
41243
  try {
41244
- if (_c && !_c.done && (_a11 = _b.return)) _a11.call(_b);
41244
+ if (_c && !_c.done && (_a12 = _b.return)) _a12.call(_b);
41245
41245
  } finally {
41246
41246
  if (e_1) throw e_1.error;
41247
41247
  }
@@ -41282,8 +41282,8 @@ var Subject = (function(_super) {
41282
41282
  };
41283
41283
  Object.defineProperty(Subject2.prototype, "observed", {
41284
41284
  get: /* @__PURE__ */ __name(function() {
41285
- var _a11;
41286
- return ((_a11 = this.observers) === null || _a11 === void 0 ? void 0 : _a11.length) > 0;
41285
+ var _a12;
41286
+ return ((_a12 = this.observers) === null || _a12 === void 0 ? void 0 : _a12.length) > 0;
41287
41287
  }, "get"),
41288
41288
  enumerable: false,
41289
41289
  configurable: true
@@ -41299,7 +41299,7 @@ var Subject = (function(_super) {
41299
41299
  };
41300
41300
  Subject2.prototype._innerSubscribe = function(subscriber) {
41301
41301
  var _this = this;
41302
- var _a11 = this, hasError = _a11.hasError, isStopped = _a11.isStopped, observers = _a11.observers;
41302
+ var _a12 = this, hasError = _a12.hasError, isStopped = _a12.isStopped, observers = _a12.observers;
41303
41303
  if (hasError || isStopped) {
41304
41304
  return EMPTY_SUBSCRIPTION;
41305
41305
  }
@@ -41311,7 +41311,7 @@ var Subject = (function(_super) {
41311
41311
  });
41312
41312
  };
41313
41313
  Subject2.prototype._checkFinalizedStatuses = function(subscriber) {
41314
- var _a11 = this, hasError = _a11.hasError, thrownError = _a11.thrownError, isStopped = _a11.isStopped;
41314
+ var _a12 = this, hasError = _a12.hasError, thrownError = _a12.thrownError, isStopped = _a12.isStopped;
41315
41315
  if (hasError) {
41316
41316
  subscriber.error(thrownError);
41317
41317
  } else if (isStopped) {
@@ -41338,20 +41338,20 @@ var AnonymousSubject = (function(_super) {
41338
41338
  }
41339
41339
  __name(AnonymousSubject2, "AnonymousSubject");
41340
41340
  AnonymousSubject2.prototype.next = function(value2) {
41341
- var _a11, _b;
41342
- (_b = (_a11 = this.destination) === null || _a11 === void 0 ? void 0 : _a11.next) === null || _b === void 0 ? void 0 : _b.call(_a11, value2);
41341
+ var _a12, _b;
41342
+ (_b = (_a12 = this.destination) === null || _a12 === void 0 ? void 0 : _a12.next) === null || _b === void 0 ? void 0 : _b.call(_a12, value2);
41343
41343
  };
41344
41344
  AnonymousSubject2.prototype.error = function(err) {
41345
- var _a11, _b;
41346
- (_b = (_a11 = this.destination) === null || _a11 === void 0 ? void 0 : _a11.error) === null || _b === void 0 ? void 0 : _b.call(_a11, err);
41345
+ var _a12, _b;
41346
+ (_b = (_a12 = this.destination) === null || _a12 === void 0 ? void 0 : _a12.error) === null || _b === void 0 ? void 0 : _b.call(_a12, err);
41347
41347
  };
41348
41348
  AnonymousSubject2.prototype.complete = function() {
41349
- var _a11, _b;
41350
- (_b = (_a11 = this.destination) === null || _a11 === void 0 ? void 0 : _a11.complete) === null || _b === void 0 ? void 0 : _b.call(_a11);
41349
+ var _a12, _b;
41350
+ (_b = (_a12 = this.destination) === null || _a12 === void 0 ? void 0 : _a12.complete) === null || _b === void 0 ? void 0 : _b.call(_a12);
41351
41351
  };
41352
41352
  AnonymousSubject2.prototype._subscribe = function(subscriber) {
41353
- var _a11, _b;
41354
- return (_b = (_a11 = this.source) === null || _a11 === void 0 ? void 0 : _a11.subscribe(subscriber)) !== null && _b !== void 0 ? _b : EMPTY_SUBSCRIPTION;
41353
+ var _a12, _b;
41354
+ return (_b = (_a12 = this.source) === null || _a12 === void 0 ? void 0 : _a12.subscribe(subscriber)) !== null && _b !== void 0 ? _b : EMPTY_SUBSCRIPTION;
41355
41355
  };
41356
41356
  return AnonymousSubject2;
41357
41357
  })(Subject);
@@ -41378,7 +41378,7 @@ var BehaviorSubject = (function(_super) {
41378
41378
  return subscription;
41379
41379
  };
41380
41380
  BehaviorSubject2.prototype.getValue = function() {
41381
- var _a11 = this, hasError = _a11.hasError, thrownError = _a11.thrownError, _value = _a11._value;
41381
+ var _a12 = this, hasError = _a12.hasError, thrownError = _a12.thrownError, _value = _a12._value;
41382
41382
  if (hasError) {
41383
41383
  throw thrownError;
41384
41384
  }
@@ -41425,7 +41425,7 @@ var ReplaySubject = (function(_super) {
41425
41425
  }
41426
41426
  __name(ReplaySubject2, "ReplaySubject");
41427
41427
  ReplaySubject2.prototype.next = function(value2) {
41428
- var _a11 = this, isStopped = _a11.isStopped, _buffer = _a11._buffer, _infiniteTimeWindow = _a11._infiniteTimeWindow, _timestampProvider = _a11._timestampProvider, _windowTime = _a11._windowTime;
41428
+ var _a12 = this, isStopped = _a12.isStopped, _buffer = _a12._buffer, _infiniteTimeWindow = _a12._infiniteTimeWindow, _timestampProvider = _a12._timestampProvider, _windowTime = _a12._windowTime;
41429
41429
  if (!isStopped) {
41430
41430
  _buffer.push(value2);
41431
41431
  !_infiniteTimeWindow && _buffer.push(_timestampProvider.now() + _windowTime);
@@ -41437,7 +41437,7 @@ var ReplaySubject = (function(_super) {
41437
41437
  this._throwIfClosed();
41438
41438
  this._trimBuffer();
41439
41439
  var subscription = this._innerSubscribe(subscriber);
41440
- var _a11 = this, _infiniteTimeWindow = _a11._infiniteTimeWindow, _buffer = _a11._buffer;
41440
+ var _a12 = this, _infiniteTimeWindow = _a12._infiniteTimeWindow, _buffer = _a12._buffer;
41441
41441
  var copy = _buffer.slice();
41442
41442
  for (var i11 = 0; i11 < copy.length && !subscriber.closed; i11 += _infiniteTimeWindow ? 1 : 2) {
41443
41443
  subscriber.next(copy[i11]);
@@ -41446,7 +41446,7 @@ var ReplaySubject = (function(_super) {
41446
41446
  return subscription;
41447
41447
  };
41448
41448
  ReplaySubject2.prototype._trimBuffer = function() {
41449
- var _a11 = this, _bufferSize = _a11._bufferSize, _timestampProvider = _a11._timestampProvider, _buffer = _a11._buffer, _infiniteTimeWindow = _a11._infiniteTimeWindow;
41449
+ var _a12 = this, _bufferSize = _a12._bufferSize, _timestampProvider = _a12._timestampProvider, _buffer = _a12._buffer, _infiniteTimeWindow = _a12._infiniteTimeWindow;
41450
41450
  var adjustedBufferSize = (_infiniteTimeWindow ? 1 : 2) * _bufferSize;
41451
41451
  _bufferSize < Infinity && adjustedBufferSize < _buffer.length && _buffer.splice(0, _buffer.length - adjustedBufferSize);
41452
41452
  if (!_infiniteTimeWindow) {
@@ -41509,7 +41509,7 @@ var AsyncAction = (function(_super) {
41509
41509
  }
41510
41510
  __name(AsyncAction2, "AsyncAction");
41511
41511
  AsyncAction2.prototype.schedule = function(state, delay2) {
41512
- var _a11;
41512
+ var _a12;
41513
41513
  if (delay2 === void 0) {
41514
41514
  delay2 = 0;
41515
41515
  }
@@ -41524,7 +41524,7 @@ var AsyncAction = (function(_super) {
41524
41524
  }
41525
41525
  this.pending = true;
41526
41526
  this.delay = delay2;
41527
- this.id = (_a11 = this.id) !== null && _a11 !== void 0 ? _a11 : this.requestAsyncId(scheduler, this.id, delay2);
41527
+ this.id = (_a12 = this.id) !== null && _a12 !== void 0 ? _a12 : this.requestAsyncId(scheduler, this.id, delay2);
41528
41528
  return this;
41529
41529
  };
41530
41530
  AsyncAction2.prototype.requestAsyncId = function(scheduler, _id, delay2) {
@@ -41573,7 +41573,7 @@ var AsyncAction = (function(_super) {
41573
41573
  };
41574
41574
  AsyncAction2.prototype.unsubscribe = function() {
41575
41575
  if (!this.closed) {
41576
- var _a11 = this, id = _a11.id, scheduler = _a11.scheduler;
41576
+ var _a12 = this, id = _a12.id, scheduler = _a12.scheduler;
41577
41577
  var actions = scheduler.actions;
41578
41578
  this.work = this.state = this.scheduler = null;
41579
41579
  this.pending = false;
@@ -41721,7 +41721,7 @@ __name(isIterable, "isIterable");
41721
41721
  // node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/util/isReadableStreamLike.js
41722
41722
  function readableStreamLikeToAsyncGenerator(readableStream) {
41723
41723
  return __asyncGenerator(this, arguments, /* @__PURE__ */ __name(function readableStreamLikeToAsyncGenerator_1() {
41724
- var reader, _a11, value2, done;
41724
+ var reader, _a12, value2, done;
41725
41725
  return __generator(this, function(_b) {
41726
41726
  switch (_b.label) {
41727
41727
  case 0:
@@ -41734,7 +41734,7 @@ function readableStreamLikeToAsyncGenerator(readableStream) {
41734
41734
  if (false) return [3, 8];
41735
41735
  return [4, __await(reader.read())];
41736
41736
  case 3:
41737
- _a11 = _b.sent(), value2 = _a11.value, done = _a11.done;
41737
+ _a12 = _b.sent(), value2 = _a12.value, done = _a12.done;
41738
41738
  if (!done) return [3, 5];
41739
41739
  return [4, __await(void 0)];
41740
41740
  case 4:
@@ -41825,7 +41825,7 @@ function fromPromise(promise) {
41825
41825
  __name(fromPromise, "fromPromise");
41826
41826
  function fromIterable(iterable) {
41827
41827
  return new Observable(function(subscriber) {
41828
- var e_1, _a11;
41828
+ var e_1, _a12;
41829
41829
  try {
41830
41830
  for (var iterable_1 = __values(iterable), iterable_1_1 = iterable_1.next(); !iterable_1_1.done; iterable_1_1 = iterable_1.next()) {
41831
41831
  var value2 = iterable_1_1.value;
@@ -41838,7 +41838,7 @@ function fromIterable(iterable) {
41838
41838
  e_1 = { error: e_1_1 };
41839
41839
  } finally {
41840
41840
  try {
41841
- if (iterable_1_1 && !iterable_1_1.done && (_a11 = iterable_1.return)) _a11.call(iterable_1);
41841
+ if (iterable_1_1 && !iterable_1_1.done && (_a12 = iterable_1.return)) _a12.call(iterable_1);
41842
41842
  } finally {
41843
41843
  if (e_1) throw e_1.error;
41844
41844
  }
@@ -41861,7 +41861,7 @@ function fromReadableStreamLike(readableStream) {
41861
41861
  __name(fromReadableStreamLike, "fromReadableStreamLike");
41862
41862
  function process2(asyncIterable, subscriber) {
41863
41863
  var asyncIterable_1, asyncIterable_1_1;
41864
- var e_2, _a11;
41864
+ var e_2, _a12;
41865
41865
  return __awaiter(this, void 0, void 0, function() {
41866
41866
  var value2, e_2_1;
41867
41867
  return __generator(this, function(_b) {
@@ -41890,8 +41890,8 @@ function process2(asyncIterable, subscriber) {
41890
41890
  return [3, 11];
41891
41891
  case 6:
41892
41892
  _b.trys.push([6, , 9, 10]);
41893
- if (!(asyncIterable_1_1 && !asyncIterable_1_1.done && (_a11 = asyncIterable_1.return))) return [3, 8];
41894
- return [4, _a11.call(asyncIterable_1)];
41893
+ if (!(asyncIterable_1_1 && !asyncIterable_1_1.done && (_a12 = asyncIterable_1.return))) return [3, 8];
41894
+ return [4, _a12.call(asyncIterable_1)];
41895
41895
  case 7:
41896
41896
  _b.sent();
41897
41897
  _b.label = 8;
@@ -42007,11 +42007,11 @@ function scheduleIterable(input, scheduler) {
42007
42007
  executeSchedule(subscriber, scheduler, function() {
42008
42008
  iterator2 = input[iterator]();
42009
42009
  executeSchedule(subscriber, scheduler, function() {
42010
- var _a11;
42010
+ var _a12;
42011
42011
  var value2;
42012
42012
  var done;
42013
42013
  try {
42014
- _a11 = iterator2.next(), value2 = _a11.value, done = _a11.done;
42014
+ _a12 = iterator2.next(), value2 = _a12.value, done = _a12.done;
42015
42015
  } catch (err) {
42016
42016
  subscriber.error(err);
42017
42017
  return;
@@ -42174,7 +42174,7 @@ function combineLatest() {
42174
42174
  }
42175
42175
  var scheduler = popScheduler(args);
42176
42176
  var resultSelector = popResultSelector(args);
42177
- var _a11 = argsArgArrayOrObject(args), observables = _a11.args, keys2 = _a11.keys;
42177
+ var _a12 = argsArgArrayOrObject(args), observables = _a12.args, keys2 = _a12.keys;
42178
42178
  if (observables.length === 0) {
42179
42179
  return from([], scheduler);
42180
42180
  }
@@ -42348,11 +42348,11 @@ function fromEvent(target, eventName, options, resultSelector) {
42348
42348
  if (resultSelector) {
42349
42349
  return fromEvent(target, eventName, options).pipe(mapOneOrManyArgs(resultSelector));
42350
42350
  }
42351
- var _a11 = __read(isEventTarget(target) ? eventTargetMethods.map(function(methodName) {
42351
+ var _a12 = __read(isEventTarget(target) ? eventTargetMethods.map(function(methodName) {
42352
42352
  return function(handler2) {
42353
42353
  return target[methodName](eventName, handler2, options);
42354
42354
  };
42355
- }) : isNodeStyleEventEmitter(target) ? nodeEventEmitterMethods.map(toCommonHandlerRegistry(target, eventName)) : isJQueryStyleEventEmitter(target) ? jqueryMethods.map(toCommonHandlerRegistry(target, eventName)) : [], 2), add2 = _a11[0], remove2 = _a11[1];
42355
+ }) : isNodeStyleEventEmitter(target) ? nodeEventEmitterMethods.map(toCommonHandlerRegistry(target, eventName)) : isJQueryStyleEventEmitter(target) ? jqueryMethods.map(toCommonHandlerRegistry(target, eventName)) : [], 2), add2 = _a12[0], remove2 = _a12[1];
42356
42356
  if (!add2) {
42357
42357
  if (isArrayLike(target)) {
42358
42358
  return mergeMap(function(subTarget) {
@@ -42493,7 +42493,7 @@ function bufferCount(bufferSize, startBufferEvery) {
42493
42493
  var buffers = [];
42494
42494
  var count2 = 0;
42495
42495
  source.subscribe(createOperatorSubscriber(subscriber, function(value2) {
42496
- var e_1, _a11, e_2, _b;
42496
+ var e_1, _a12, e_2, _b;
42497
42497
  var toEmit = null;
42498
42498
  if (count2++ % startBufferEvery === 0) {
42499
42499
  buffers.push([]);
@@ -42511,7 +42511,7 @@ function bufferCount(bufferSize, startBufferEvery) {
42511
42511
  e_1 = { error: e_1_1 };
42512
42512
  } finally {
42513
42513
  try {
42514
- if (buffers_1_1 && !buffers_1_1.done && (_a11 = buffers_1.return)) _a11.call(buffers_1);
42514
+ if (buffers_1_1 && !buffers_1_1.done && (_a12 = buffers_1.return)) _a12.call(buffers_1);
42515
42515
  } finally {
42516
42516
  if (e_1) throw e_1.error;
42517
42517
  }
@@ -42534,7 +42534,7 @@ function bufferCount(bufferSize, startBufferEvery) {
42534
42534
  }
42535
42535
  }
42536
42536
  }, function() {
42537
- var e_3, _a11;
42537
+ var e_3, _a12;
42538
42538
  try {
42539
42539
  for (var buffers_2 = __values(buffers), buffers_2_1 = buffers_2.next(); !buffers_2_1.done; buffers_2_1 = buffers_2.next()) {
42540
42540
  var buffer2 = buffers_2_1.value;
@@ -42544,7 +42544,7 @@ function bufferCount(bufferSize, startBufferEvery) {
42544
42544
  e_3 = { error: e_3_1 };
42545
42545
  } finally {
42546
42546
  try {
42547
- if (buffers_2_1 && !buffers_2_1.done && (_a11 = buffers_2.return)) _a11.call(buffers_2);
42547
+ if (buffers_2_1 && !buffers_2_1.done && (_a12 = buffers_2.return)) _a12.call(buffers_2);
42548
42548
  } finally {
42549
42549
  if (e_3) throw e_3.error;
42550
42550
  }
@@ -42559,12 +42559,12 @@ __name(bufferCount, "bufferCount");
42559
42559
 
42560
42560
  // node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/operators/bufferTime.js
42561
42561
  function bufferTime(bufferTimeSpan) {
42562
- var _a11, _b;
42562
+ var _a12, _b;
42563
42563
  var otherArgs = [];
42564
42564
  for (var _i = 1; _i < arguments.length; _i++) {
42565
42565
  otherArgs[_i - 1] = arguments[_i];
42566
42566
  }
42567
- var scheduler = (_a11 = popScheduler(otherArgs)) !== null && _a11 !== void 0 ? _a11 : asyncScheduler;
42567
+ var scheduler = (_a12 = popScheduler(otherArgs)) !== null && _a12 !== void 0 ? _a12 : asyncScheduler;
42568
42568
  var bufferCreationInterval = (_b = otherArgs[0]) !== null && _b !== void 0 ? _b : null;
42569
42569
  var maxBufferSize = otherArgs[1] || Infinity;
42570
42570
  return operate(function(source, subscriber) {
@@ -42599,7 +42599,7 @@ function bufferTime(bufferTimeSpan) {
42599
42599
  }
42600
42600
  startBuffer();
42601
42601
  var bufferTimeSubscriber = createOperatorSubscriber(subscriber, function(value2) {
42602
- var e_1, _a12;
42602
+ var e_1, _a13;
42603
42603
  var recordsCopy = bufferRecords.slice();
42604
42604
  try {
42605
42605
  for (var recordsCopy_1 = __values(recordsCopy), recordsCopy_1_1 = recordsCopy_1.next(); !recordsCopy_1_1.done; recordsCopy_1_1 = recordsCopy_1.next()) {
@@ -42612,7 +42612,7 @@ function bufferTime(bufferTimeSpan) {
42612
42612
  e_1 = { error: e_1_1 };
42613
42613
  } finally {
42614
42614
  try {
42615
- if (recordsCopy_1_1 && !recordsCopy_1_1.done && (_a12 = recordsCopy_1.return)) _a12.call(recordsCopy_1);
42615
+ if (recordsCopy_1_1 && !recordsCopy_1_1.done && (_a13 = recordsCopy_1.return)) _a13.call(recordsCopy_1);
42616
42616
  } finally {
42617
42617
  if (e_1) throw e_1.error;
42618
42618
  }
@@ -42740,9 +42740,9 @@ function share(options) {
42740
42740
  if (options === void 0) {
42741
42741
  options = {};
42742
42742
  }
42743
- var _a11 = options.connector, connector = _a11 === void 0 ? function() {
42743
+ var _a12 = options.connector, connector = _a12 === void 0 ? function() {
42744
42744
  return new Subject();
42745
- } : _a11, _b = options.resetOnError, resetOnError = _b === void 0 ? true : _b, _c = options.resetOnComplete, resetOnComplete = _c === void 0 ? true : _c, _d = options.resetOnRefCountZero, resetOnRefCountZero = _d === void 0 ? true : _d;
42745
+ } : _a12, _b = options.resetOnError, resetOnError = _b === void 0 ? true : _b, _c = options.resetOnComplete, resetOnComplete = _c === void 0 ? true : _c, _d = options.resetOnRefCountZero, resetOnRefCountZero = _d === void 0 ? true : _d;
42746
42746
  return function(wrapperSource) {
42747
42747
  var connection;
42748
42748
  var resetConnection;
@@ -42825,11 +42825,11 @@ __name(handleReset, "handleReset");
42825
42825
 
42826
42826
  // node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/operators/shareReplay.js
42827
42827
  function shareReplay(configOrBufferSize, windowTime2, scheduler) {
42828
- var _a11, _b, _c;
42828
+ var _a12, _b, _c;
42829
42829
  var bufferSize;
42830
42830
  var refCount2 = false;
42831
42831
  if (configOrBufferSize && typeof configOrBufferSize === "object") {
42832
- _a11 = configOrBufferSize.bufferSize, bufferSize = _a11 === void 0 ? Infinity : _a11, _b = configOrBufferSize.windowTime, windowTime2 = _b === void 0 ? Infinity : _b, _c = configOrBufferSize.refCount, refCount2 = _c === void 0 ? false : _c, scheduler = configOrBufferSize.scheduler;
42832
+ _a12 = configOrBufferSize.bufferSize, bufferSize = _a12 === void 0 ? Infinity : _a12, _b = configOrBufferSize.windowTime, windowTime2 = _b === void 0 ? Infinity : _b, _c = configOrBufferSize.refCount, refCount2 = _c === void 0 ? false : _c, scheduler = configOrBufferSize.scheduler;
42833
42833
  } else {
42834
42834
  bufferSize = configOrBufferSize !== null && configOrBufferSize !== void 0 ? configOrBufferSize : Infinity;
42835
42835
  }
@@ -42871,7 +42871,7 @@ __name(takeUntil, "takeUntil");
42871
42871
  // node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/esm5/internal/operators/throttle.js
42872
42872
  function throttle(durationSelector, config3) {
42873
42873
  return operate(function(source, subscriber) {
42874
- var _a11 = config3 !== null && config3 !== void 0 ? config3 : {}, _b = _a11.leading, leading = _b === void 0 ? true : _b, _c = _a11.trailing, trailing = _c === void 0 ? false : _c;
42874
+ var _a12 = config3 !== null && config3 !== void 0 ? config3 : {}, _b = _a12.leading, leading = _b === void 0 ? true : _b, _c = _a12.trailing, trailing = _c === void 0 ? false : _c;
42875
42875
  var hasValue = false;
42876
42876
  var sendValue = null;
42877
42877
  var throttled = null;
@@ -91531,6 +91531,7 @@ var setupWccTools = /* @__PURE__ */ __name((configOrElements, pagesArg) => {
91531
91531
  // ts_web/elements/index.ts
91532
91532
  var elements_exports = {};
91533
91533
  __export(elements_exports, {
91534
+ SdigContextmenu: () => SdigContextmenu,
91534
91535
  SdigWorkspace: () => SdigWorkspace,
91535
91536
  SdigWorkspaceAudit: () => SdigWorkspaceAudit,
91536
91537
  SdigWorkspaceCompose: () => SdigWorkspaceCompose,
@@ -91553,10 +91554,222 @@ __export(elements_exports, {
91553
91554
  workspaceDemoFrame: () => workspaceDemoFrame
91554
91555
  });
91555
91556
 
91557
+ // ts_web/elements/sdig-contextmenu/sdig-contextmenu.ts
91558
+ var _position_dec, _actions_dec, _title_dec, _anchorY_dec, _anchorX_dec, _a, _SdigContextmenu_decorators, _init, _anchorX, _anchorY, _title, _actions, _position;
91559
+ _SdigContextmenu_decorators = [customElement("sdig-contextmenu")];
91560
+ var _SdigContextmenu = class _SdigContextmenu extends (_a = DeesElement, _anchorX_dec = [n5({ type: Number })], _anchorY_dec = [n5({ type: Number })], _title_dec = [n5({ type: String })], _actions_dec = [n5({ attribute: false })], _position_dec = [r5()], _a) {
91561
+ constructor() {
91562
+ super(...arguments);
91563
+ __privateAdd(this, _anchorX, __runInitializers(_init, 8, this, 0)), __runInitializers(_init, 11, this);
91564
+ __privateAdd(this, _anchorY, __runInitializers(_init, 12, this, 0)), __runInitializers(_init, 15, this);
91565
+ __privateAdd(this, _title, __runInitializers(_init, 16, this, "")), __runInitializers(_init, 19, this);
91566
+ __privateAdd(this, _actions, __runInitializers(_init, 20, this, [])), __runInitializers(_init, 23, this);
91567
+ __privateAdd(this, _position, __runInitializers(_init, 24, this, { x: 0, y: 0, ready: false })), __runInitializers(_init, 27, this);
91568
+ __publicField(this, "positionUpdateFrame", null);
91569
+ __publicField(this, "connectedCallback", /* @__PURE__ */ __name(async () => {
91570
+ await super.connectedCallback();
91571
+ window.addEventListener("resize", this.queuePositionUpdate);
91572
+ }, "connectedCallback"));
91573
+ __publicField(this, "disconnectedCallback", /* @__PURE__ */ __name(async () => {
91574
+ window.removeEventListener("resize", this.queuePositionUpdate);
91575
+ if (this.positionUpdateFrame !== null) {
91576
+ globalThis.cancelAnimationFrame(this.positionUpdateFrame);
91577
+ this.positionUpdateFrame = null;
91578
+ }
91579
+ await super.disconnectedCallback();
91580
+ }, "disconnectedCallback"));
91581
+ __publicField(this, "queuePositionUpdate", /* @__PURE__ */ __name(() => {
91582
+ if (this.positionUpdateFrame !== null) return;
91583
+ this.positionUpdateFrame = globalThis.requestAnimationFrame(() => {
91584
+ this.positionUpdateFrame = null;
91585
+ this.positionMenu();
91586
+ });
91587
+ }, "queuePositionUpdate"));
91588
+ }
91589
+ updated() {
91590
+ this.queuePositionUpdate();
91591
+ }
91592
+ positionMenu() {
91593
+ const menu = this.shadowRoot?.querySelector(".menu");
91594
+ if (!menu) return;
91595
+ const margin = 8;
91596
+ const gap = 4;
91597
+ const rect = menu.getBoundingClientRect();
91598
+ const viewportWidth = globalThis.innerWidth;
91599
+ const viewportHeight = globalThis.innerHeight;
91600
+ const spaceRight = viewportWidth - this.anchorX - margin;
91601
+ const spaceLeft = this.anchorX - margin;
91602
+ const spaceBelow = viewportHeight - this.anchorY - margin;
91603
+ const spaceAbove = this.anchorY - margin;
91604
+ let x4 = this.anchorX + gap;
91605
+ let y4 = this.anchorY + gap;
91606
+ if (spaceRight < rect.width + gap && spaceLeft > spaceRight) {
91607
+ x4 = this.anchorX - rect.width - gap;
91608
+ }
91609
+ if (spaceBelow < rect.height + gap && spaceAbove > spaceBelow) {
91610
+ y4 = this.anchorY - rect.height - gap;
91611
+ }
91612
+ const maxX = Math.max(margin, viewportWidth - rect.width - margin);
91613
+ const maxY = Math.max(margin, viewportHeight - rect.height - margin);
91614
+ const nextPosition = {
91615
+ x: Math.round(Math.max(margin, Math.min(maxX, x4))),
91616
+ y: Math.round(Math.max(margin, Math.min(maxY, y4))),
91617
+ ready: true
91618
+ };
91619
+ if (this.position.x !== nextPosition.x || this.position.y !== nextPosition.y || this.position.ready !== nextPosition.ready) {
91620
+ this.position = nextPosition;
91621
+ }
91622
+ }
91623
+ selectAction(action) {
91624
+ if (action.disabled) return;
91625
+ this.dispatchEvent(new CustomEvent("contextmenu-action", {
91626
+ detail: { id: action.id, action },
91627
+ bubbles: true,
91628
+ composed: true
91629
+ }));
91630
+ }
91631
+ render() {
91632
+ const x4 = this.position.ready ? this.position.x : this.anchorX;
91633
+ const y4 = this.position.ready ? this.position.y : this.anchorY;
91634
+ return b2`
91635
+ <div class="menu" style="left: ${x4}px; top: ${y4}px; visibility: ${this.position.ready ? "visible" : "hidden"};" @click=${(event) => event.stopPropagation()} @contextmenu=${(event) => event.preventDefault()}>
91636
+ ${this.title ? b2`<div class="title">${this.title}</div>` : ""}
91637
+ ${this.actions.map((action) => b2`
91638
+ <button class="action ${action.danger ? "danger" : ""}" ?disabled=${action.disabled} @click=${() => this.selectAction(action)}>
91639
+ <span class="action-mark ${action.selected ? "selected" : ""}"></span>
91640
+ <span class="action-copy">
91641
+ <span class="action-label">${action.label}</span>
91642
+ ${action.description ? b2`<span class="action-description">${action.description}</span>` : ""}
91643
+ </span>
91644
+ </button>
91645
+ `)}
91646
+ </div>
91647
+ `;
91648
+ }
91649
+ };
91650
+ _init = __decoratorStart(_a);
91651
+ _anchorX = new WeakMap();
91652
+ _anchorY = new WeakMap();
91653
+ _title = new WeakMap();
91654
+ _actions = new WeakMap();
91655
+ _position = new WeakMap();
91656
+ __decorateElement(_init, 4, "anchorX", _anchorX_dec, _SdigContextmenu, _anchorX);
91657
+ __decorateElement(_init, 4, "anchorY", _anchorY_dec, _SdigContextmenu, _anchorY);
91658
+ __decorateElement(_init, 4, "title", _title_dec, _SdigContextmenu, _title);
91659
+ __decorateElement(_init, 4, "actions", _actions_dec, _SdigContextmenu, _actions);
91660
+ __decorateElement(_init, 4, "position", _position_dec, _SdigContextmenu, _position);
91661
+ _SdigContextmenu = __decorateElement(_init, 0, "SdigContextmenu", _SdigContextmenu_decorators, _SdigContextmenu);
91662
+ __name(_SdigContextmenu, "SdigContextmenu");
91663
+ __publicField(_SdigContextmenu, "demo", /* @__PURE__ */ __name(() => b2`
91664
+ <div style="position: relative; min-height: 260px; padding: 24px; --bg-card: hsl(0 0% 7%); --bg-input: hsl(0 0% 9%); --border: hsl(0 0% 14.9%); --border-subtle: hsl(0 0% 11%); --text: hsl(0 0% 98%); --text-sec: hsl(0 0% 63.9%); --text-muted: hsl(0 0% 48%); --hover: rgba(255,255,255,0.06); --error: #ef4444;">
91665
+ <sdig-contextmenu
91666
+ .anchorX=${80}
91667
+ .anchorY=${70}
91668
+ .title=${"Recipient"}
91669
+ .actions=${[
91670
+ { id: "signer", label: "Needs signature", selected: true },
91671
+ { id: "copy", label: "Final copy only" },
91672
+ { id: "updates", label: "Every step update" }
91673
+ ]}
91674
+ ></sdig-contextmenu>
91675
+ </div>
91676
+ `, "demo"));
91677
+ __publicField(_SdigContextmenu, "demoGroups", ["Signature Digital Primitives"]);
91678
+ __publicField(_SdigContextmenu, "styles", i`
91679
+ :host { display: contents; }
91680
+
91681
+ .menu {
91682
+ position: fixed;
91683
+ z-index: 1000;
91684
+ min-width: 190px;
91685
+ max-width: min(280px, calc(100vw - 16px));
91686
+ padding: 6px;
91687
+ border: 1px solid var(--border, hsl(0 0% 14.9%));
91688
+ border-radius: 8px;
91689
+ background: var(--bg-card, hsl(0 0% 7%));
91690
+ color: var(--text, hsl(0 0% 98%));
91691
+ box-shadow: 0 16px 42px rgba(0,0,0,0.36);
91692
+ box-sizing: border-box;
91693
+ }
91694
+
91695
+ .title {
91696
+ padding: 7px 8px;
91697
+ margin-bottom: 4px;
91698
+ border-bottom: 1px solid var(--border-subtle, hsl(0 0% 11%));
91699
+ font-size: 11px;
91700
+ font-weight: 700;
91701
+ color: var(--text-sec, hsl(0 0% 63.9%));
91702
+ }
91703
+
91704
+ .action {
91705
+ width: 100%;
91706
+ min-height: 34px;
91707
+ padding: 8px;
91708
+ border: 0;
91709
+ border-radius: 6px;
91710
+ background: transparent;
91711
+ color: var(--text-sec, hsl(0 0% 63.9%));
91712
+ display: flex;
91713
+ align-items: center;
91714
+ gap: 8px;
91715
+ text-align: left;
91716
+ font: inherit;
91717
+ font-size: 11px;
91718
+ cursor: pointer;
91719
+ }
91720
+
91721
+ .action:hover { background: var(--hover, rgba(255,255,255,0.06)); color: var(--text, hsl(0 0% 98%)); }
91722
+ .action.danger { color: var(--error, #ef4444); }
91723
+ .action[disabled] { opacity: 0.45; cursor: not-allowed; }
91724
+ .action[disabled]:hover { background: transparent; color: var(--text-sec, hsl(0 0% 63.9%)); }
91725
+
91726
+ .action-mark {
91727
+ width: 12px;
91728
+ height: 12px;
91729
+ display: inline-flex;
91730
+ align-items: center;
91731
+ justify-content: center;
91732
+ flex-shrink: 0;
91733
+ }
91734
+
91735
+ .action-mark.selected::before {
91736
+ content: '';
91737
+ width: 7px;
91738
+ height: 4px;
91739
+ border-left: 1.5px solid currentColor;
91740
+ border-bottom: 1.5px solid currentColor;
91741
+ transform: rotate(-45deg) translate(1px, -1px);
91742
+ }
91743
+
91744
+ .action-copy {
91745
+ min-width: 0;
91746
+ display: flex;
91747
+ flex-direction: column;
91748
+ gap: 2px;
91749
+ }
91750
+
91751
+ .action-label {
91752
+ overflow: hidden;
91753
+ white-space: nowrap;
91754
+ text-overflow: ellipsis;
91755
+ }
91756
+
91757
+ .action-description {
91758
+ overflow: hidden;
91759
+ white-space: nowrap;
91760
+ text-overflow: ellipsis;
91761
+ color: var(--text-muted, hsl(0 0% 48%));
91762
+ font-size: 10px;
91763
+ line-height: 1.25;
91764
+ }
91765
+ `);
91766
+ __runInitializers(_init, 1, _SdigContextmenu);
91767
+ var SdigContextmenu = _SdigContextmenu;
91768
+
91556
91769
  // ts_web/elements/sdig-signbox/sdig-signbox.ts
91557
- var _SignBox_decorators, _init, _a;
91770
+ var _SignBox_decorators, _init2, _a2;
91558
91771
  _SignBox_decorators = [customElement("sdig-signbox")];
91559
- var SignBox = class extends (_a = DeesElement) {
91772
+ var SignBox = class extends (_a2 = DeesElement) {
91560
91773
  static {
91561
91774
  __name(this, "SignBox");
91562
91775
  }
@@ -91656,9 +91869,9 @@ var SignBox = class extends (_a = DeesElement) {
91656
91869
  `;
91657
91870
  }
91658
91871
  };
91659
- _init = __decoratorStart(_a);
91660
- SignBox = __decorateElement(_init, 0, "SignBox", _SignBox_decorators, SignBox);
91661
- __runInitializers(_init, 1, SignBox);
91872
+ _init2 = __decoratorStart(_a2);
91873
+ SignBox = __decorateElement(_init2, 0, "SignBox", _SignBox_decorators, SignBox);
91874
+ __runInitializers(_init2, 1, SignBox);
91662
91875
 
91663
91876
  // node_modules/.pnpm/signature_pad@5.1.3/node_modules/signature_pad/dist/signature_pad.js
91664
91877
  var Point = class {
@@ -92447,9 +92660,9 @@ var SignaturePad = class _SignaturePad extends SignatureEventTarget {
92447
92660
  var signaturePad = SignaturePad;
92448
92661
 
92449
92662
  // ts_web/elements/sdig-signpad/sdig-signpad.ts
92450
- var _SignPad_decorators, _init2, _a2;
92663
+ var _SignPad_decorators, _init3, _a3;
92451
92664
  _SignPad_decorators = [customElement("sdig-signpad")];
92452
- var SignPad = class extends (_a2 = DeesElement) {
92665
+ var SignPad = class extends (_a3 = DeesElement) {
92453
92666
  static {
92454
92667
  __name(this, "SignPad");
92455
92668
  }
@@ -92543,9 +92756,9 @@ var SignPad = class extends (_a2 = DeesElement) {
92543
92756
  await this.fromData(data);
92544
92757
  }
92545
92758
  };
92546
- _init2 = __decoratorStart(_a2);
92547
- SignPad = __decorateElement(_init2, 0, "SignPad", _SignPad_decorators, SignPad);
92548
- __runInitializers(_init2, 1, SignPad);
92759
+ _init3 = __decoratorStart(_a3);
92760
+ SignPad = __decorateElement(_init3, 0, "SignPad", _SignPad_decorators, SignPad);
92761
+ __runInitializers(_init3, 1, SignPad);
92549
92762
 
92550
92763
  // node_modules/.pnpm/@design.estate+dees-catalog@3.81.0_@tiptap+pm@2.27.2/node_modules/@design.estate/dees-catalog/ts_web/elements/00theme.ts
92551
92764
  var themeDefaults = {
@@ -131883,7 +132096,7 @@ var demoFunc = /* @__PURE__ */ __name(() => {
131883
132096
  }, "demoFunc");
131884
132097
 
131885
132098
  // node_modules/.pnpm/@design.estate+dees-catalog@3.81.0_@tiptap+pm@2.27.2/node_modules/@design.estate/dees-catalog/ts_web/elements/00group-utility/dees-icon/dees-icon.ts
131886
- var _strokeWidth_dec, _color_dec, _iconSize_dec, _icon_dec, _iconFA_dec, _a3, _DeesIcon_decorators, _init3, _iconFA, _icon, _iconSize, _color, _strokeWidth;
132099
+ var _strokeWidth_dec, _color_dec, _iconSize_dec, _icon_dec, _iconFA_dec, _a4, _DeesIcon_decorators, _init4, _iconFA, _icon, _iconSize, _color, _strokeWidth;
131887
132100
  var faIcons2 = {
131888
132101
  // normal
131889
132102
  arrowRight: faArrowRight,
@@ -131957,7 +132170,7 @@ function limitCacheSize() {
131957
132170
  }
131958
132171
  __name(limitCacheSize, "limitCacheSize");
131959
132172
  _DeesIcon_decorators = [customElement("dees-icon")];
131960
- var _DeesIcon = class _DeesIcon extends (_a3 = DeesElement, _iconFA_dec = [n5({
132173
+ var _DeesIcon = class _DeesIcon extends (_a4 = DeesElement, _iconFA_dec = [n5({
131961
132174
  type: String,
131962
132175
  converter: {
131963
132176
  // Convert attribute string to property (for reflected attributes)
@@ -131971,14 +132184,14 @@ var _DeesIcon = class _DeesIcon extends (_a3 = DeesElement, _iconFA_dec = [n5({
131971
132184
  fromAttribute: /* @__PURE__ */ __name((value2) => value2, "fromAttribute"),
131972
132185
  toAttribute: /* @__PURE__ */ __name((value2) => value2, "toAttribute")
131973
132186
  }
131974
- })], _iconSize_dec = [n5({ type: Number })], _color_dec = [n5({ type: String })], _strokeWidth_dec = [n5({ type: Number })], _a3) {
132187
+ })], _iconSize_dec = [n5({ type: Number })], _color_dec = [n5({ type: String })], _strokeWidth_dec = [n5({ type: Number })], _a4) {
131975
132188
  constructor() {
131976
132189
  super();
131977
- __privateAdd(this, _iconFA, __runInitializers(_init3, 8, this)), __runInitializers(_init3, 11, this);
131978
- __privateAdd(this, _icon, __runInitializers(_init3, 12, this)), __runInitializers(_init3, 15, this);
131979
- __privateAdd(this, _iconSize, __runInitializers(_init3, 16, this)), __runInitializers(_init3, 19, this);
131980
- __privateAdd(this, _color, __runInitializers(_init3, 20, this, "currentColor")), __runInitializers(_init3, 23, this);
131981
- __privateAdd(this, _strokeWidth, __runInitializers(_init3, 24, this, 2)), __runInitializers(_init3, 27, this);
132190
+ __privateAdd(this, _iconFA, __runInitializers(_init4, 8, this)), __runInitializers(_init4, 11, this);
132191
+ __privateAdd(this, _icon, __runInitializers(_init4, 12, this)), __runInitializers(_init4, 15, this);
132192
+ __privateAdd(this, _iconSize, __runInitializers(_init4, 16, this)), __runInitializers(_init4, 19, this);
132193
+ __privateAdd(this, _color, __runInitializers(_init4, 20, this, "currentColor")), __runInitializers(_init4, 23, this);
132194
+ __privateAdd(this, _strokeWidth, __runInitializers(_init4, 24, this, 2)), __runInitializers(_init4, 27, this);
131982
132195
  // For tracking when we need to re-render
131983
132196
  __publicField(this, "lastIcon", null);
131984
132197
  __publicField(this, "lastIconSize", null);
@@ -132133,18 +132346,18 @@ var _DeesIcon = class _DeesIcon extends (_a3 = DeesElement, _iconFA_dec = [n5({
132133
132346
  this.lastStrokeWidth = null;
132134
132347
  }
132135
132348
  };
132136
- _init3 = __decoratorStart(_a3);
132349
+ _init4 = __decoratorStart(_a4);
132137
132350
  _iconFA = new WeakMap();
132138
132351
  _icon = new WeakMap();
132139
132352
  _iconSize = new WeakMap();
132140
132353
  _color = new WeakMap();
132141
132354
  _strokeWidth = new WeakMap();
132142
- __decorateElement(_init3, 4, "iconFA", _iconFA_dec, _DeesIcon, _iconFA);
132143
- __decorateElement(_init3, 4, "icon", _icon_dec, _DeesIcon, _icon);
132144
- __decorateElement(_init3, 4, "iconSize", _iconSize_dec, _DeesIcon, _iconSize);
132145
- __decorateElement(_init3, 4, "color", _color_dec, _DeesIcon, _color);
132146
- __decorateElement(_init3, 4, "strokeWidth", _strokeWidth_dec, _DeesIcon, _strokeWidth);
132147
- _DeesIcon = __decorateElement(_init3, 0, "DeesIcon", _DeesIcon_decorators, _DeesIcon);
132355
+ __decorateElement(_init4, 4, "iconFA", _iconFA_dec, _DeesIcon, _iconFA);
132356
+ __decorateElement(_init4, 4, "icon", _icon_dec, _DeesIcon, _icon);
132357
+ __decorateElement(_init4, 4, "iconSize", _iconSize_dec, _DeesIcon, _iconSize);
132358
+ __decorateElement(_init4, 4, "color", _color_dec, _DeesIcon, _color);
132359
+ __decorateElement(_init4, 4, "strokeWidth", _strokeWidth_dec, _DeesIcon, _strokeWidth);
132360
+ _DeesIcon = __decorateElement(_init4, 0, "DeesIcon", _DeesIcon_decorators, _DeesIcon);
132148
132361
  __name(_DeesIcon, "DeesIcon");
132149
132362
  __publicField(_DeesIcon, "demo", demoFunc);
132150
132363
  __publicField(_DeesIcon, "demoGroups", ["Utility"]);
@@ -132172,7 +132385,7 @@ __publicField(_DeesIcon, "styles", [
132172
132385
  }
132173
132386
  `
132174
132387
  ]);
132175
- __runInitializers(_init3, 1, _DeesIcon);
132388
+ __runInitializers(_init4, 1, _DeesIcon);
132176
132389
  var DeesIcon = _DeesIcon;
132177
132390
 
132178
132391
  // ts_web/elements/sdig-workspace/sdig-workspace.shared.ts
@@ -132590,14 +132803,14 @@ function requestWorkspaceView(element4, view2) {
132590
132803
  __name(requestWorkspaceView, "requestWorkspaceView");
132591
132804
 
132592
132805
  // ts_web/elements/sdig-workspace/sdig-workspace-inbox.ts
132593
- var _search_dec, _filter_dec, _density_dec, _a4, _SdigWorkspaceInbox_decorators, _init4, _density, _filter, _search;
132806
+ var _search_dec, _filter_dec, _density_dec, _a5, _SdigWorkspaceInbox_decorators, _init5, _density, _filter, _search;
132594
132807
  _SdigWorkspaceInbox_decorators = [customElement("sdig-workspace-inbox")];
132595
- var _SdigWorkspaceInbox = class _SdigWorkspaceInbox extends (_a4 = DeesElement, _density_dec = [n5({ type: String })], _filter_dec = [r5()], _search_dec = [r5()], _a4) {
132808
+ var _SdigWorkspaceInbox = class _SdigWorkspaceInbox extends (_a5 = DeesElement, _density_dec = [n5({ type: String })], _filter_dec = [r5()], _search_dec = [r5()], _a5) {
132596
132809
  constructor() {
132597
132810
  super(...arguments);
132598
- __privateAdd(this, _density, __runInitializers(_init4, 8, this, "comfortable")), __runInitializers(_init4, 11, this);
132599
- __privateAdd(this, _filter, __runInitializers(_init4, 12, this, "all")), __runInitializers(_init4, 15, this);
132600
- __privateAdd(this, _search, __runInitializers(_init4, 16, this, "")), __runInitializers(_init4, 19, this);
132811
+ __privateAdd(this, _density, __runInitializers(_init5, 8, this, "comfortable")), __runInitializers(_init5, 11, this);
132812
+ __privateAdd(this, _filter, __runInitializers(_init5, 12, this, "all")), __runInitializers(_init5, 15, this);
132813
+ __privateAdd(this, _search, __runInitializers(_init5, 16, this, "")), __runInitializers(_init5, 19, this);
132601
132814
  }
132602
132815
  get filteredDocuments() {
132603
132816
  return demoDocuments.filter((doc) => this.filter === "all" || doc.status === this.filter).filter((doc) => !this.search || doc.title.toLowerCase().includes(this.search.toLowerCase()));
@@ -132664,14 +132877,14 @@ var _SdigWorkspaceInbox = class _SdigWorkspaceInbox extends (_a4 = DeesElement,
132664
132877
  `;
132665
132878
  }
132666
132879
  };
132667
- _init4 = __decoratorStart(_a4);
132880
+ _init5 = __decoratorStart(_a5);
132668
132881
  _density = new WeakMap();
132669
132882
  _filter = new WeakMap();
132670
132883
  _search = new WeakMap();
132671
- __decorateElement(_init4, 4, "density", _density_dec, _SdigWorkspaceInbox, _density);
132672
- __decorateElement(_init4, 4, "filter", _filter_dec, _SdigWorkspaceInbox, _filter);
132673
- __decorateElement(_init4, 4, "search", _search_dec, _SdigWorkspaceInbox, _search);
132674
- _SdigWorkspaceInbox = __decorateElement(_init4, 0, "SdigWorkspaceInbox", _SdigWorkspaceInbox_decorators, _SdigWorkspaceInbox);
132884
+ __decorateElement(_init5, 4, "density", _density_dec, _SdigWorkspaceInbox, _density);
132885
+ __decorateElement(_init5, 4, "filter", _filter_dec, _SdigWorkspaceInbox, _filter);
132886
+ __decorateElement(_init5, 4, "search", _search_dec, _SdigWorkspaceInbox, _search);
132887
+ _SdigWorkspaceInbox = __decorateElement(_init5, 0, "SdigWorkspaceInbox", _SdigWorkspaceInbox_decorators, _SdigWorkspaceInbox);
132675
132888
  __name(_SdigWorkspaceInbox, "SdigWorkspaceInbox");
132676
132889
  __publicField(_SdigWorkspaceInbox, "demo", /* @__PURE__ */ __name(() => workspaceDemoFrame(b2`<sdig-workspace-inbox></sdig-workspace-inbox>`), "demo"));
132677
132890
  __publicField(_SdigWorkspaceInbox, "demoGroups", ["Signature Digital Workspace"]);
@@ -132701,11 +132914,11 @@ __publicField(_SdigWorkspaceInbox, "styles", [workspaceBaseStyles, i`
132701
132914
  .metric-value { font-family: 'Plus Jakarta Sans', Inter, sans-serif; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
132702
132915
  @media (max-width: 920px) { .filterbar { padding: 12px 16px; display: block; } .searchbox { width: 100%; margin-bottom: 10px; } .stats-grid { grid-template-columns: 1fr; } }
132703
132916
  `]);
132704
- __runInitializers(_init4, 1, _SdigWorkspaceInbox);
132917
+ __runInitializers(_init5, 1, _SdigWorkspaceInbox);
132705
132918
  var SdigWorkspaceInbox = _SdigWorkspaceInbox;
132706
132919
 
132707
132920
  // ts_web/elements/sdig-workspace/sdig-workspace-compose.ts
132708
- var _recipientContextMenu_dec, _signingOrderDrag_dec, _fields_dec, _recipients_dec, _selectedFieldId_dec, _activeRecipient_dec, _step_dec, _a5, _SdigWorkspaceCompose_decorators, _init5, _step, _activeRecipient, _selectedFieldId, _recipients, _fields, _signingOrderDrag, _recipientContextMenu;
132921
+ var _recipientContextMenu_dec, _signingOrderDrag_dec, _fields_dec, _recipients_dec, _selectedFieldId_dec, _activeRecipient_dec, _step_dec, _a6, _SdigWorkspaceCompose_decorators, _init6, _step, _activeRecipient, _selectedFieldId, _recipients, _fields, _signingOrderDrag, _recipientContextMenu;
132709
132922
  var fieldDefinitions = [
132710
132923
  { type: "signature", icon: "sign", label: "Signature", w: 200, h: 50 },
132711
132924
  { type: "initials", icon: "type", label: "Initials", w: 120, h: 32 },
@@ -132720,16 +132933,16 @@ var recipientRoleDefinitions = [
132720
132933
  { role: "updates", label: "Every step update", shortLabel: "Updates", description: "Receives notifications for every routing step." }
132721
132934
  ];
132722
132935
  _SdigWorkspaceCompose_decorators = [customElement("sdig-workspace-compose")];
132723
- var _SdigWorkspaceCompose = class _SdigWorkspaceCompose extends (_a5 = DeesElement, _step_dec = [r5()], _activeRecipient_dec = [r5()], _selectedFieldId_dec = [r5()], _recipients_dec = [r5()], _fields_dec = [r5()], _signingOrderDrag_dec = [r5()], _recipientContextMenu_dec = [r5()], _a5) {
132936
+ var _SdigWorkspaceCompose = class _SdigWorkspaceCompose extends (_a6 = DeesElement, _step_dec = [r5()], _activeRecipient_dec = [r5()], _selectedFieldId_dec = [r5()], _recipients_dec = [r5()], _fields_dec = [r5()], _signingOrderDrag_dec = [r5()], _recipientContextMenu_dec = [r5()], _a6) {
132724
132937
  constructor() {
132725
132938
  super(...arguments);
132726
- __privateAdd(this, _step, __runInitializers(_init5, 8, this, 2)), __runInitializers(_init5, 11, this);
132727
- __privateAdd(this, _activeRecipient, __runInitializers(_init5, 12, this, 0)), __runInitializers(_init5, 15, this);
132728
- __privateAdd(this, _selectedFieldId, __runInitializers(_init5, 16, this, null)), __runInitializers(_init5, 19, this);
132729
- __privateAdd(this, _recipients, __runInitializers(_init5, 20, this, [...demoRecipients])), __runInitializers(_init5, 23, this);
132730
- __privateAdd(this, _fields, __runInitializers(_init5, 24, this, [...demoFields])), __runInitializers(_init5, 27, this);
132731
- __privateAdd(this, _signingOrderDrag, __runInitializers(_init5, 28, this, null)), __runInitializers(_init5, 31, this);
132732
- __privateAdd(this, _recipientContextMenu, __runInitializers(_init5, 32, this, null)), __runInitializers(_init5, 35, this);
132939
+ __privateAdd(this, _step, __runInitializers(_init6, 8, this, 2)), __runInitializers(_init6, 11, this);
132940
+ __privateAdd(this, _activeRecipient, __runInitializers(_init6, 12, this, 0)), __runInitializers(_init6, 15, this);
132941
+ __privateAdd(this, _selectedFieldId, __runInitializers(_init6, 16, this, null)), __runInitializers(_init6, 19, this);
132942
+ __privateAdd(this, _recipients, __runInitializers(_init6, 20, this, [...demoRecipients])), __runInitializers(_init6, 23, this);
132943
+ __privateAdd(this, _fields, __runInitializers(_init6, 24, this, [...demoFields])), __runInitializers(_init6, 27, this);
132944
+ __privateAdd(this, _signingOrderDrag, __runInitializers(_init6, 28, this, null)), __runInitializers(_init6, 31, this);
132945
+ __privateAdd(this, _recipientContextMenu, __runInitializers(_init6, 32, this, null)), __runInitializers(_init6, 35, this);
132733
132946
  __publicField(this, "draggedFieldDefinition", null);
132734
132947
  __publicField(this, "draggedFieldGrabOffset", null);
132735
132948
  __publicField(this, "fieldInteraction", null);
@@ -132903,6 +133116,21 @@ var _SdigWorkspaceCompose = class _SdigWorkspaceCompose extends (_a5 = DeesEleme
132903
133116
  window.removeEventListener("click", this.closeRecipientContextMenu);
132904
133117
  setTimeout(() => window.addEventListener("click", this.closeRecipientContextMenu, { once: true }), 0);
132905
133118
  }
133119
+ recipientContextMenuActions(recipient) {
133120
+ const signerCount = this.signingRecipients().length;
133121
+ return recipientRoleDefinitions.map((roleDefinition) => ({
133122
+ id: roleDefinition.role,
133123
+ label: roleDefinition.label,
133124
+ selected: recipient.role === roleDefinition.role,
133125
+ disabled: recipient.role === "signer" && roleDefinition.role !== "signer" && signerCount <= 1
133126
+ }));
133127
+ }
133128
+ handleRecipientContextMenuAction(event, recipient) {
133129
+ const role = event.detail.id;
133130
+ if (!recipientRoleDefinitions.some((roleDefinition) => roleDefinition.role === role)) return;
133131
+ this.updateRecipientRole(recipient.id, role);
133132
+ this.closeRecipientContextMenu();
133133
+ }
132906
133134
  startFieldInteraction(event, field, mode, handle3) {
132907
133135
  if (event.button !== 0) return;
132908
133136
  const page = this.shadowRoot?.querySelector(".document-page");
@@ -133079,14 +133307,15 @@ var _SdigWorkspaceCompose = class _SdigWorkspaceCompose extends (_a5 = DeesEleme
133079
133307
  if (!this.recipientContextMenu) return b2``;
133080
133308
  const recipient = this.recipients.find((currentRecipient) => currentRecipient.id === this.recipientContextMenu?.recipientId);
133081
133309
  if (!recipient) return b2``;
133082
- const signerCount = this.signingRecipients().length;
133083
- return b2`<div class="recipient-context-menu" style="left: ${this.recipientContextMenu.x}px; top: ${this.recipientContextMenu.y}px;" @click=${(event) => event.stopPropagation()}>
133084
- <div class="recipient-context-title">${recipient.name}</div>
133085
- ${recipientRoleDefinitions.map((roleDefinition) => b2`<button class="context-action" ?disabled=${recipient.role === "signer" && roleDefinition.role !== "signer" && signerCount <= 1} @click=${() => {
133086
- this.updateRecipientRole(recipient.id, roleDefinition.role);
133087
- this.closeRecipientContextMenu();
133088
- }}>${recipient.role === roleDefinition.role ? icon3("check", 12) : b2`<span style="width: 12px;"></span>`}<span>${roleDefinition.label}</span></button>`)}
133089
- </div>`;
133310
+ return b2`
133311
+ <sdig-contextmenu
133312
+ .anchorX=${this.recipientContextMenu.x}
133313
+ .anchorY=${this.recipientContextMenu.y}
133314
+ .title=${recipient.name}
133315
+ .actions=${this.recipientContextMenuActions(recipient)}
133316
+ @contextmenu-action=${(event) => this.handleRecipientContextMenuAction(event, recipient)}
133317
+ ></sdig-contextmenu>
133318
+ `;
133090
133319
  }
133091
133320
  renderStepper() {
133092
133321
  const labels = ["Upload", "Place fields", "Recipients & routing", "Review & send"];
@@ -133136,7 +133365,7 @@ var _SdigWorkspaceCompose = class _SdigWorkspaceCompose extends (_a5 = DeesEleme
133136
133365
  `;
133137
133366
  }
133138
133367
  };
133139
- _init5 = __decoratorStart(_a5);
133368
+ _init6 = __decoratorStart(_a6);
133140
133369
  _step = new WeakMap();
133141
133370
  _activeRecipient = new WeakMap();
133142
133371
  _selectedFieldId = new WeakMap();
@@ -133144,14 +133373,14 @@ _recipients = new WeakMap();
133144
133373
  _fields = new WeakMap();
133145
133374
  _signingOrderDrag = new WeakMap();
133146
133375
  _recipientContextMenu = new WeakMap();
133147
- __decorateElement(_init5, 4, "step", _step_dec, _SdigWorkspaceCompose, _step);
133148
- __decorateElement(_init5, 4, "activeRecipient", _activeRecipient_dec, _SdigWorkspaceCompose, _activeRecipient);
133149
- __decorateElement(_init5, 4, "selectedFieldId", _selectedFieldId_dec, _SdigWorkspaceCompose, _selectedFieldId);
133150
- __decorateElement(_init5, 4, "recipients", _recipients_dec, _SdigWorkspaceCompose, _recipients);
133151
- __decorateElement(_init5, 4, "fields", _fields_dec, _SdigWorkspaceCompose, _fields);
133152
- __decorateElement(_init5, 4, "signingOrderDrag", _signingOrderDrag_dec, _SdigWorkspaceCompose, _signingOrderDrag);
133153
- __decorateElement(_init5, 4, "recipientContextMenu", _recipientContextMenu_dec, _SdigWorkspaceCompose, _recipientContextMenu);
133154
- _SdigWorkspaceCompose = __decorateElement(_init5, 0, "SdigWorkspaceCompose", _SdigWorkspaceCompose_decorators, _SdigWorkspaceCompose);
133376
+ __decorateElement(_init6, 4, "step", _step_dec, _SdigWorkspaceCompose, _step);
133377
+ __decorateElement(_init6, 4, "activeRecipient", _activeRecipient_dec, _SdigWorkspaceCompose, _activeRecipient);
133378
+ __decorateElement(_init6, 4, "selectedFieldId", _selectedFieldId_dec, _SdigWorkspaceCompose, _selectedFieldId);
133379
+ __decorateElement(_init6, 4, "recipients", _recipients_dec, _SdigWorkspaceCompose, _recipients);
133380
+ __decorateElement(_init6, 4, "fields", _fields_dec, _SdigWorkspaceCompose, _fields);
133381
+ __decorateElement(_init6, 4, "signingOrderDrag", _signingOrderDrag_dec, _SdigWorkspaceCompose, _signingOrderDrag);
133382
+ __decorateElement(_init6, 4, "recipientContextMenu", _recipientContextMenu_dec, _SdigWorkspaceCompose, _recipientContextMenu);
133383
+ _SdigWorkspaceCompose = __decorateElement(_init6, 0, "SdigWorkspaceCompose", _SdigWorkspaceCompose_decorators, _SdigWorkspaceCompose);
133155
133384
  __name(_SdigWorkspaceCompose, "SdigWorkspaceCompose");
133156
133385
  __publicField(_SdigWorkspaceCompose, "demo", /* @__PURE__ */ __name(() => workspaceDemoFrame(b2`<sdig-workspace-compose></sdig-workspace-compose>`), "demo"));
133157
133386
  __publicField(_SdigWorkspaceCompose, "demoGroups", ["Signature Digital Workspace"]);
@@ -133187,11 +133416,6 @@ __publicField(_SdigWorkspaceCompose, "styles", [workspaceBaseStyles, i`
133187
133416
  .signing-placeholder { position: absolute; left: 0; right: 0; top: var(--routing-top); height: var(--routing-row-height); border: 1.5px dashed var(--accent); border-radius: 6px; background: transparent; pointer-events: none; transition: top 0.16s ease; }
133188
133417
  .signing-drag-overlay { position: absolute; left: 0; right: 0; z-index: 6; top: var(--routing-top); margin-bottom: 0; cursor: grabbing; pointer-events: none; border-color: var(--accent); box-shadow: 0 10px 28px rgba(0,0,0,0.28); transform: scale(1.015); }
133189
133418
  .role-hint { margin-top: -2px; margin-bottom: 10px; font-size: 10px; line-height: 1.45; color: var(--text-muted); }
133190
- .recipient-context-menu { position: fixed; z-index: 100; min-width: 190px; padding: 6px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg-card); box-shadow: 0 16px 42px rgba(0,0,0,0.36); }
133191
- .recipient-context-title { padding: 7px 8px; font-size: 11px; font-weight: 700; color: var(--text-sec); border-bottom: 1px solid var(--border-subtle); margin-bottom: 4px; }
133192
- .context-action { width: 100%; padding: 8px; border-radius: 6px; background: transparent; color: var(--text-sec); display: flex; align-items: center; gap: 8px; text-align: left; font-size: 11px; }
133193
- .context-action:hover { background: var(--hover); color: var(--text); }
133194
- .context-action[disabled] { opacity: 0.45; cursor: not-allowed; }
133195
133419
  .page-drop-target { outline: 1px dashed transparent; outline-offset: 8px; }
133196
133420
  .page-drop-target.drag-over { outline-color: var(--accent); }
133197
133421
  .field-box { user-select: none; touch-action: none; }
@@ -133215,17 +133439,17 @@ __publicField(_SdigWorkspaceCompose, "styles", [workspaceBaseStyles, i`
133215
133439
  .field-control input:focus, .field-control select:focus { border-color: var(--accent); }
133216
133440
  @media (max-width: 920px) { .compose-workspace { flex-direction: column; overflow: auto; } .palette, .right-panel { width: 100%; border: 0; border-bottom: 1px solid var(--border-subtle); } .document-page { width: 560px; } }
133217
133441
  `]);
133218
- __runInitializers(_init5, 1, _SdigWorkspaceCompose);
133442
+ __runInitializers(_init6, 1, _SdigWorkspaceCompose);
133219
133443
  var SdigWorkspaceCompose = _SdigWorkspaceCompose;
133220
133444
 
133221
133445
  // ts_web/elements/sdig-workspace/sdig-workspace-sign.ts
133222
- var _signedFieldIds_dec, _activeFieldId_dec, _a6, _SdigWorkspaceSign_decorators, _init6, _activeFieldId, _signedFieldIds;
133446
+ var _signedFieldIds_dec, _activeFieldId_dec, _a7, _SdigWorkspaceSign_decorators, _init7, _activeFieldId, _signedFieldIds;
133223
133447
  _SdigWorkspaceSign_decorators = [customElement("sdig-workspace-sign")];
133224
- var _SdigWorkspaceSign = class _SdigWorkspaceSign extends (_a6 = DeesElement, _activeFieldId_dec = [r5()], _signedFieldIds_dec = [r5()], _a6) {
133448
+ var _SdigWorkspaceSign = class _SdigWorkspaceSign extends (_a7 = DeesElement, _activeFieldId_dec = [r5()], _signedFieldIds_dec = [r5()], _a7) {
133225
133449
  constructor() {
133226
133450
  super(...arguments);
133227
- __privateAdd(this, _activeFieldId, __runInitializers(_init6, 8, this, "f1")), __runInitializers(_init6, 11, this);
133228
- __privateAdd(this, _signedFieldIds, __runInitializers(_init6, 12, this, [])), __runInitializers(_init6, 15, this);
133451
+ __privateAdd(this, _activeFieldId, __runInitializers(_init7, 8, this, "f1")), __runInitializers(_init7, 11, this);
133452
+ __privateAdd(this, _signedFieldIds, __runInitializers(_init7, 12, this, [])), __runInitializers(_init7, 15, this);
133229
133453
  }
133230
133454
  get signFields() {
133231
133455
  return demoFields.slice(0, 3);
@@ -133285,12 +133509,12 @@ var _SdigWorkspaceSign = class _SdigWorkspaceSign extends (_a6 = DeesElement, _a
133285
133509
  `;
133286
133510
  }
133287
133511
  };
133288
- _init6 = __decoratorStart(_a6);
133512
+ _init7 = __decoratorStart(_a7);
133289
133513
  _activeFieldId = new WeakMap();
133290
133514
  _signedFieldIds = new WeakMap();
133291
- __decorateElement(_init6, 4, "activeFieldId", _activeFieldId_dec, _SdigWorkspaceSign, _activeFieldId);
133292
- __decorateElement(_init6, 4, "signedFieldIds", _signedFieldIds_dec, _SdigWorkspaceSign, _signedFieldIds);
133293
- _SdigWorkspaceSign = __decorateElement(_init6, 0, "SdigWorkspaceSign", _SdigWorkspaceSign_decorators, _SdigWorkspaceSign);
133515
+ __decorateElement(_init7, 4, "activeFieldId", _activeFieldId_dec, _SdigWorkspaceSign, _activeFieldId);
133516
+ __decorateElement(_init7, 4, "signedFieldIds", _signedFieldIds_dec, _SdigWorkspaceSign, _signedFieldIds);
133517
+ _SdigWorkspaceSign = __decorateElement(_init7, 0, "SdigWorkspaceSign", _SdigWorkspaceSign_decorators, _SdigWorkspaceSign);
133294
133518
  __name(_SdigWorkspaceSign, "SdigWorkspaceSign");
133295
133519
  __publicField(_SdigWorkspaceSign, "demo", /* @__PURE__ */ __name(() => workspaceDemoFrame(b2`<sdig-workspace-sign></sdig-workspace-sign>`), "demo"));
133296
133520
  __publicField(_SdigWorkspaceSign, "demoGroups", ["Signature Digital Workspace"]);
@@ -133304,13 +133528,13 @@ __publicField(_SdigWorkspaceSign, "styles", [workspaceBaseStyles, i`
133304
133528
  .sign-panel { width: 320px; border-left: 1px solid var(--border); background: var(--bg-card); padding: 20px; overflow: auto; flex-shrink: 0; }
133305
133529
  @media (max-width: 920px) { .recipient-header .actions { display: none; } .sign-layout { flex-direction: column; overflow: auto; } .sign-panel { width: 100%; border-left: 0; border-top: 1px solid var(--border); } .document-page { width: 560px; } }
133306
133530
  `]);
133307
- __runInitializers(_init6, 1, _SdigWorkspaceSign);
133531
+ __runInitializers(_init7, 1, _SdigWorkspaceSign);
133308
133532
  var SdigWorkspaceSign = _SdigWorkspaceSign;
133309
133533
 
133310
133534
  // ts_web/elements/sdig-workspace/sdig-workspace-audit.ts
133311
- var _SdigWorkspaceAudit_decorators, _init7, _a7;
133535
+ var _SdigWorkspaceAudit_decorators, _init8, _a8;
133312
133536
  _SdigWorkspaceAudit_decorators = [customElement("sdig-workspace-audit")];
133313
- var SdigWorkspaceAudit = class extends (_a7 = DeesElement) {
133537
+ var SdigWorkspaceAudit = class extends (_a8 = DeesElement) {
133314
133538
  static {
133315
133539
  __name(this, "SdigWorkspaceAudit");
133316
133540
  }
@@ -133338,14 +133562,14 @@ var SdigWorkspaceAudit = class extends (_a7 = DeesElement) {
133338
133562
  `;
133339
133563
  }
133340
133564
  };
133341
- _init7 = __decoratorStart(_a7);
133342
- SdigWorkspaceAudit = __decorateElement(_init7, 0, "SdigWorkspaceAudit", _SdigWorkspaceAudit_decorators, SdigWorkspaceAudit);
133343
- __runInitializers(_init7, 1, SdigWorkspaceAudit);
133565
+ _init8 = __decoratorStart(_a8);
133566
+ SdigWorkspaceAudit = __decorateElement(_init8, 0, "SdigWorkspaceAudit", _SdigWorkspaceAudit_decorators, SdigWorkspaceAudit);
133567
+ __runInitializers(_init8, 1, SdigWorkspaceAudit);
133344
133568
 
133345
133569
  // ts_web/elements/sdig-workspace/sdig-workspace-developers.ts
133346
- var _SdigWorkspaceDevelopers_decorators, _init8, _a8;
133570
+ var _SdigWorkspaceDevelopers_decorators, _init9, _a9;
133347
133571
  _SdigWorkspaceDevelopers_decorators = [customElement("sdig-workspace-developers")];
133348
- var SdigWorkspaceDevelopers = class extends (_a8 = DeesElement) {
133572
+ var SdigWorkspaceDevelopers = class extends (_a9 = DeesElement) {
133349
133573
  static {
133350
133574
  __name(this, "SdigWorkspaceDevelopers");
133351
133575
  }
@@ -133383,47 +133607,47 @@ await sig.documents.send({
133383
133607
  `;
133384
133608
  }
133385
133609
  };
133386
- _init8 = __decoratorStart(_a8);
133387
- SdigWorkspaceDevelopers = __decorateElement(_init8, 0, "SdigWorkspaceDevelopers", _SdigWorkspaceDevelopers_decorators, SdigWorkspaceDevelopers);
133388
- __runInitializers(_init8, 1, SdigWorkspaceDevelopers);
133610
+ _init9 = __decoratorStart(_a9);
133611
+ SdigWorkspaceDevelopers = __decorateElement(_init9, 0, "SdigWorkspaceDevelopers", _SdigWorkspaceDevelopers_decorators, SdigWorkspaceDevelopers);
133612
+ __runInitializers(_init9, 1, SdigWorkspaceDevelopers);
133389
133613
 
133390
133614
  // ts_web/elements/sdig-workspace/sdig-workspace-placeholder.ts
133391
- var _subtitle_dec, _label_dec, _a9, _SdigWorkspacePlaceholder_decorators, _init9, _label, _subtitle;
133615
+ var _subtitle_dec, _label_dec, _a10, _SdigWorkspacePlaceholder_decorators, _init10, _label, _subtitle;
133392
133616
  _SdigWorkspacePlaceholder_decorators = [customElement("sdig-workspace-placeholder")];
133393
- var _SdigWorkspacePlaceholder = class _SdigWorkspacePlaceholder extends (_a9 = DeesElement, _label_dec = [n5({ type: String })], _subtitle_dec = [n5({ type: String })], _a9) {
133617
+ var _SdigWorkspacePlaceholder = class _SdigWorkspacePlaceholder extends (_a10 = DeesElement, _label_dec = [n5({ type: String })], _subtitle_dec = [n5({ type: String })], _a10) {
133394
133618
  constructor() {
133395
133619
  super(...arguments);
133396
- __privateAdd(this, _label, __runInitializers(_init9, 8, this, "Section")), __runInitializers(_init9, 11, this);
133397
- __privateAdd(this, _subtitle, __runInitializers(_init9, 12, this, "Coming soon")), __runInitializers(_init9, 15, this);
133620
+ __privateAdd(this, _label, __runInitializers(_init10, 8, this, "Section")), __runInitializers(_init10, 11, this);
133621
+ __privateAdd(this, _subtitle, __runInitializers(_init10, 12, this, "Coming soon")), __runInitializers(_init10, 15, this);
133398
133622
  }
133399
133623
  render() {
133400
133624
  return b2`${topBar({ breadcrumb: ["signature.digital", this.label], title: this.label, subtitle: pill("coming soon") })}<div class="content-scroll" style="display: flex; align-items: center; justify-content: center; flex-direction: column; color: var(--text-muted); gap: 8px;">${icon3("folder", 32)}<div style="font-size: 13px; color: var(--text-sec);">${this.label}</div><div style="font-size: 11px;">${this.subtitle}</div></div>`;
133401
133625
  }
133402
133626
  };
133403
- _init9 = __decoratorStart(_a9);
133627
+ _init10 = __decoratorStart(_a10);
133404
133628
  _label = new WeakMap();
133405
133629
  _subtitle = new WeakMap();
133406
- __decorateElement(_init9, 4, "label", _label_dec, _SdigWorkspacePlaceholder, _label);
133407
- __decorateElement(_init9, 4, "subtitle", _subtitle_dec, _SdigWorkspacePlaceholder, _subtitle);
133408
- _SdigWorkspacePlaceholder = __decorateElement(_init9, 0, "SdigWorkspacePlaceholder", _SdigWorkspacePlaceholder_decorators, _SdigWorkspacePlaceholder);
133630
+ __decorateElement(_init10, 4, "label", _label_dec, _SdigWorkspacePlaceholder, _label);
133631
+ __decorateElement(_init10, 4, "subtitle", _subtitle_dec, _SdigWorkspacePlaceholder, _subtitle);
133632
+ _SdigWorkspacePlaceholder = __decorateElement(_init10, 0, "SdigWorkspacePlaceholder", _SdigWorkspacePlaceholder_decorators, _SdigWorkspacePlaceholder);
133409
133633
  __name(_SdigWorkspacePlaceholder, "SdigWorkspacePlaceholder");
133410
133634
  __publicField(_SdigWorkspacePlaceholder, "demo", /* @__PURE__ */ __name(() => workspaceDemoFrame(b2`<sdig-workspace-placeholder label="Templates" subtitle="Reusable agreement templates"></sdig-workspace-placeholder>`), "demo"));
133411
133635
  __publicField(_SdigWorkspacePlaceholder, "demoGroups", ["Signature Digital Workspace"]);
133412
133636
  __publicField(_SdigWorkspacePlaceholder, "styles", [workspaceBaseStyles]);
133413
- __runInitializers(_init9, 1, _SdigWorkspacePlaceholder);
133637
+ __runInitializers(_init10, 1, _SdigWorkspacePlaceholder);
133414
133638
  var SdigWorkspacePlaceholder = _SdigWorkspacePlaceholder;
133415
133639
 
133416
133640
  // ts_web/elements/sdig-workspace/sdig-workspace.ts
133417
- var _view_dec, _initialView_dec, _theme_dec, _density_dec2, _accent_dec, _a10, _SdigWorkspace_decorators, _init10, _accent, _density2, _theme, _initialView, _view;
133641
+ var _view_dec, _initialView_dec, _theme_dec, _density_dec2, _accent_dec, _a11, _SdigWorkspace_decorators, _init11, _accent, _density2, _theme, _initialView, _view;
133418
133642
  _SdigWorkspace_decorators = [customElement("sdig-workspace")];
133419
- var _SdigWorkspace = class _SdigWorkspace extends (_a10 = DeesElement, _accent_dec = [n5({ type: String })], _density_dec2 = [n5({ type: String })], _theme_dec = [n5({ type: String, reflect: true })], _initialView_dec = [n5({ type: String })], _view_dec = [r5()], _a10) {
133643
+ var _SdigWorkspace = class _SdigWorkspace extends (_a11 = DeesElement, _accent_dec = [n5({ type: String })], _density_dec2 = [n5({ type: String })], _theme_dec = [n5({ type: String, reflect: true })], _initialView_dec = [n5({ type: String })], _view_dec = [r5()], _a11) {
133420
133644
  constructor() {
133421
133645
  super(...arguments);
133422
- __privateAdd(this, _accent, __runInitializers(_init10, 8, this, "#3b82f6")), __runInitializers(_init10, 11, this);
133423
- __privateAdd(this, _density2, __runInitializers(_init10, 12, this, "comfortable")), __runInitializers(_init10, 15, this);
133424
- __privateAdd(this, _theme, __runInitializers(_init10, 16, this, "dark")), __runInitializers(_init10, 19, this);
133425
- __privateAdd(this, _initialView, __runInitializers(_init10, 20, this, "inbox")), __runInitializers(_init10, 23, this);
133426
- __privateAdd(this, _view, __runInitializers(_init10, 24, this, "inbox")), __runInitializers(_init10, 27, this);
133646
+ __privateAdd(this, _accent, __runInitializers(_init11, 8, this, "#3b82f6")), __runInitializers(_init11, 11, this);
133647
+ __privateAdd(this, _density2, __runInitializers(_init11, 12, this, "comfortable")), __runInitializers(_init11, 15, this);
133648
+ __privateAdd(this, _theme, __runInitializers(_init11, 16, this, "dark")), __runInitializers(_init11, 19, this);
133649
+ __privateAdd(this, _initialView, __runInitializers(_init11, 20, this, "inbox")), __runInitializers(_init11, 23, this);
133650
+ __privateAdd(this, _view, __runInitializers(_init11, 24, this, "inbox")), __runInitializers(_init11, 27, this);
133427
133651
  __publicField(this, "connectedCallback", /* @__PURE__ */ __name(async () => {
133428
133652
  await super.connectedCallback();
133429
133653
  this.view = this.initialView || "inbox";
@@ -133494,18 +133718,18 @@ var _SdigWorkspace = class _SdigWorkspace extends (_a10 = DeesElement, _accent_d
133494
133718
  return b2`<div class="workspace ${this.density === "compact" ? "compact" : ""}" style="--accent: ${this.accent};" data-screen-label=${this.view}>${this.renderSidebar()}<main class="main">${this.renderView()}<div class="statusbar"><span style="display: inline-flex; align-items: center; gap: 5px;"><span style="width: 6px; height: 6px; border-radius: 50%; background: var(--success);"></span>api.signature.digital</span><span>eu-central-1</span><span>4 sigs queued</span><div style="flex: 1;"></div><span style="color: var(--accent);">Open Source · MIT</span><span>v0.42.1</span><span>${icon3("git", 11)} main</span></div></main></div>`;
133495
133719
  }
133496
133720
  };
133497
- _init10 = __decoratorStart(_a10);
133721
+ _init11 = __decoratorStart(_a11);
133498
133722
  _accent = new WeakMap();
133499
133723
  _density2 = new WeakMap();
133500
133724
  _theme = new WeakMap();
133501
133725
  _initialView = new WeakMap();
133502
133726
  _view = new WeakMap();
133503
- __decorateElement(_init10, 4, "accent", _accent_dec, _SdigWorkspace, _accent);
133504
- __decorateElement(_init10, 4, "density", _density_dec2, _SdigWorkspace, _density2);
133505
- __decorateElement(_init10, 4, "theme", _theme_dec, _SdigWorkspace, _theme);
133506
- __decorateElement(_init10, 4, "initialView", _initialView_dec, _SdigWorkspace, _initialView);
133507
- __decorateElement(_init10, 4, "view", _view_dec, _SdigWorkspace, _view);
133508
- _SdigWorkspace = __decorateElement(_init10, 0, "SdigWorkspace", _SdigWorkspace_decorators, _SdigWorkspace);
133727
+ __decorateElement(_init11, 4, "accent", _accent_dec, _SdigWorkspace, _accent);
133728
+ __decorateElement(_init11, 4, "density", _density_dec2, _SdigWorkspace, _density2);
133729
+ __decorateElement(_init11, 4, "theme", _theme_dec, _SdigWorkspace, _theme);
133730
+ __decorateElement(_init11, 4, "initialView", _initialView_dec, _SdigWorkspace, _initialView);
133731
+ __decorateElement(_init11, 4, "view", _view_dec, _SdigWorkspace, _view);
133732
+ _SdigWorkspace = __decorateElement(_init11, 0, "SdigWorkspace", _SdigWorkspace_decorators, _SdigWorkspace);
133509
133733
  __name(_SdigWorkspace, "SdigWorkspace");
133510
133734
  __publicField(_SdigWorkspace, "demo", /* @__PURE__ */ __name(() => b2`<sdig-workspace></sdig-workspace>`, "demo"));
133511
133735
  __publicField(_SdigWorkspace, "demoGroups", ["Signature Digital Workspace"]);
@@ -133589,7 +133813,7 @@ __publicField(_SdigWorkspace, "styles", i`
133589
133813
  .statusbar { height: 24px; flex-shrink: 0; border-top: 1px solid var(--border-subtle); background: var(--bg); display: flex; align-items: center; padding: 0 16px; gap: 16px; font-size: 10px; color: var(--text-dim); font-family: 'Intel One Mono', ui-monospace, SFMono-Regular, Menlo, monospace; }
133590
133814
  @media (max-width: 920px) { .workspace { flex-direction: column; min-height: 100vh; } .sidebar { width: 100%; height: auto; border-right: 0; border-bottom: 1px solid var(--border-subtle); } .brand, .workspace-card, .github-card, .user-card { display: none; } .nav-block { display: flex; overflow-x: auto; padding: 8px; } .nav-item { width: auto; margin: 0 2px; } .statusbar { display: none; } }
133591
133815
  `);
133592
- __runInitializers(_init10, 1, _SdigWorkspace);
133816
+ __runInitializers(_init11, 1, _SdigWorkspace);
133593
133817
  var SdigWorkspace = _SdigWorkspace;
133594
133818
 
133595
133819
  // ts_web/pages/index.ts