kritzel-stencil 0.0.68 → 0.0.69

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.
@@ -3073,7 +3073,6 @@ const KritzelControls = class {
3073
3073
  });
3074
3074
  }
3075
3075
  async initializeEngine() {
3076
- await customElements.whenDefined('kritzel-engine');
3077
3076
  this.kritzelEngine = this.host.parentElement.querySelector('kritzel-engine');
3078
3077
  if (!this.kritzelEngine) {
3079
3078
  throw new Error('kritzel-engine not found in parent element.');
@@ -3135,11 +3134,11 @@ const KritzelControls = class {
3135
3134
  render() {
3136
3135
  var _a, _b;
3137
3136
  const hasNoConfig = ((_a = this.activeControl) === null || _a === void 0 ? void 0 : _a.config) === undefined || ((_b = this.activeControl) === null || _b === void 0 ? void 0 : _b.config) === null;
3138
- return (index.h(index.Host, { key: 'd8c7f3008daeb369d6fb4cc2c1e32388838f2b88' }, index.h("kritzel-utility-panel", { key: '3e573ebb72108c01bf74dcb26594e7dee719cd91', style: {
3137
+ return (index.h(index.Host, { key: '843ec6f6887dc821fe5de4373fa074320973750f' }, index.h("kritzel-utility-panel", { key: '80da8761a8d0fd9df9ddbc65f935a631e834f33a', style: {
3139
3138
  position: 'absolute',
3140
3139
  bottom: '56px',
3141
3140
  left: '12px',
3142
- }, onUndo: () => { var _a; return (_a = this.kritzelEngine) === null || _a === void 0 ? void 0 : _a.undo(); }, onRedo: () => { var _a; return (_a = this.kritzelEngine) === null || _a === void 0 ? void 0 : _a.redo(); }, onDelete: () => { var _a; return (_a = this.kritzelEngine) === null || _a === void 0 ? void 0 : _a.delete(); } }), index.h("div", { key: '25da2273ae62ed470b018f11abb32ac25c8a0fc5', class: "kritzel-controls" }, this.controls.map(control => {
3141
+ }, onUndo: () => { var _a; return (_a = this.kritzelEngine) === null || _a === void 0 ? void 0 : _a.undo(); }, onRedo: () => { var _a; return (_a = this.kritzelEngine) === null || _a === void 0 ? void 0 : _a.redo(); }, onDelete: () => { var _a; return (_a = this.kritzelEngine) === null || _a === void 0 ? void 0 : _a.delete(); } }), index.h("div", { key: 'fdb54d5e8098a738bf8f8391ee683b3615ec5530', class: "kritzel-controls" }, this.controls.map(control => {
3143
3142
  var _a, _b, _c, _d, _e, _f, _g, _h;
3144
3143
  if (control.type === 'tool') {
3145
3144
  return (index.h("button", { class: {