mol_plot_all 1.2.1804 → 1.2.1806

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/node.mjs CHANGED
@@ -3247,14 +3247,14 @@ var $;
3247
3247
  class $mol_view_selection extends $mol_object {
3248
3248
  static focused(next, notify) {
3249
3249
  const parents = [];
3250
- let element = next?.[0] ?? $mol_dom_context.document.activeElement;
3250
+ let element = next?.[0] ?? $mol_dom.document.activeElement;
3251
3251
  while (element?.shadowRoot) {
3252
3252
  element = element.shadowRoot.activeElement;
3253
3253
  }
3254
3254
  while (element) {
3255
3255
  parents.push(element);
3256
3256
  const parent = element.parentNode;
3257
- if (parent instanceof ShadowRoot)
3257
+ if (parent instanceof $mol_dom.ShadowRoot)
3258
3258
  element = parent.host;
3259
3259
  else
3260
3260
  element = parent;
@@ -3266,7 +3266,7 @@ var $;
3266
3266
  if (element)
3267
3267
  element.focus();
3268
3268
  else
3269
- $mol_dom_context.blur();
3269
+ $mol_dom.blur();
3270
3270
  });
3271
3271
  return parents;
3272
3272
  }
package/node.test.js CHANGED
@@ -3238,14 +3238,14 @@ var $;
3238
3238
  class $mol_view_selection extends $mol_object {
3239
3239
  static focused(next, notify) {
3240
3240
  const parents = [];
3241
- let element = next?.[0] ?? $mol_dom_context.document.activeElement;
3241
+ let element = next?.[0] ?? $mol_dom.document.activeElement;
3242
3242
  while (element?.shadowRoot) {
3243
3243
  element = element.shadowRoot.activeElement;
3244
3244
  }
3245
3245
  while (element) {
3246
3246
  parents.push(element);
3247
3247
  const parent = element.parentNode;
3248
- if (parent instanceof ShadowRoot)
3248
+ if (parent instanceof $mol_dom.ShadowRoot)
3249
3249
  element = parent.host;
3250
3250
  else
3251
3251
  element = parent;
@@ -3257,7 +3257,7 @@ var $;
3257
3257
  if (element)
3258
3258
  element.focus();
3259
3259
  else
3260
- $mol_dom_context.blur();
3260
+ $mol_dom.blur();
3261
3261
  });
3262
3262
  return parents;
3263
3263
  }