nwl-components 0.1.3 → 1.0.2

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.
@@ -10107,6 +10107,7 @@ function createDOMPurify() {
10107
10107
  return DOMPurify;
10108
10108
  }
10109
10109
  var purify = createDOMPurify();
10110
+ var AnnotationCell_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => '.noEmpty[data-v-0dc3480c]:empty:before{content:"Empty";color:#fff6}\n')();
10110
10111
  const _sfc_main$b = {
10111
10112
  __name: "AnnotationCell",
10112
10113
  props: {
@@ -10147,6 +10148,7 @@ const _sfc_main$b = {
10147
10148
  contenteditable: editable,
10148
10149
  innerHTML: unref(formattedValue),
10149
10150
  value: unref(formattedValue),
10151
+ class: "noEmpty",
10150
10152
  onInput: ($event) => {
10151
10153
  emit("valueChange", [$event.currentTarget.textContent, __props.index, __props.selector]);
10152
10154
  }
@@ -10154,6 +10156,7 @@ const _sfc_main$b = {
10154
10156
  };
10155
10157
  }
10156
10158
  };
10159
+ var AnnotationCell = /* @__PURE__ */ _export_sfc$1(_sfc_main$b, [["__scopeId", "data-v-0dc3480c"]]);
10157
10160
  var ButtonsGroup_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".group[data-v-bbb3d5d6]{display:flex;align-items:center;border-left:1px solid #fff;border-right:1px solid #fff;border-radius:3px}.full-width[data-v-bbb3d5d6]{flex-basis:100%}.group[data-v-bbb3d5d6] button{border-left:0;margin:0;border-radius:0}.group[data-v-bbb3d5d6] button:last-child{border-right:0}\n")();
10158
10161
  const _sfc_main$a = {
10159
10162
  __name: "ButtonsGroup",
@@ -10473,8 +10476,8 @@ var vueResizable_umd_min = { exports: {} };
10473
10476
  });
10474
10477
  })(vueResizable_umd_min);
10475
10478
  var VueResizable = /* @__PURE__ */ getDefaultExportFromCjs(vueResizable_umd_min.exports);
10476
- var Editor_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".area[data-v-c5c08a7a]{position:relative}.show-tools[data-v-c5c08a7a]{width:32px;height:32px;border:thin solid #777;border-radius:50%;background-color:#333;display:flex;align-items:center;justify-content:center}.show-tools img[data-v-c5c08a7a]{width:28px}.tools[data-v-c5c08a7a]{position:absolute;z-index:11}.tools .palette[data-v-c5c08a7a]{width:100%;height:100%;min-width:274px;background-color:#000000b3;box-shadow:2px 2px 5px gray}.tools .palette .content[data-v-c5c08a7a] button,.tools .palette .content[data-v-c5c08a7a] .group{flex-grow:1;flex-shrink:1;margin:1px}.tools .palette .content[data-v-c5c08a7a] button{padding:3px 6px}.tools .palette .content[data-v-c5c08a7a] .group button{padding:3px 6px;margin:0}.tools .content[data-v-c5c08a7a]{padding:5px 10px;height:100%;display:flex;flex-direction:column}.header[data-v-c5c08a7a]{display:flex;background:#333;user-select:none;align-items:center}.header button[data-v-c5c08a7a]{appearance:none;border:0;background:transparent;padding:5px;display:flex;align-items:center}.header button img[data-v-c5c08a7a]{max-height:14px}.title[data-v-c5c08a7a]{margin-left:5px;margin-right:auto}.content-wrapper[data-v-c5c08a7a]{position:relative;width:100%;height:100%}\n")();
10477
- const _withScopeId$2 = (n) => (pushScopeId("data-v-c5c08a7a"), n = n(), popScopeId(), n);
10479
+ var Editor_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => '.area[data-v-7baa23fd]{position:relative}.show-tools[data-v-7baa23fd]{width:32px;height:32px;border:thin solid #777;border-radius:50%;background-color:#333;display:flex;align-items:center;justify-content:center}.show-tools img[data-v-7baa23fd]{width:28px}.tools[data-v-7baa23fd]{position:absolute;z-index:11}.tools .palette[data-v-7baa23fd]{width:100%;height:100%;min-width:274px;background-color:#000000b3;box-shadow:2px 2px 5px gray}.tools .palette .content[data-v-7baa23fd] button,.tools .palette .content[data-v-7baa23fd] .group{flex-grow:1;flex-shrink:1;margin:1px}.tools .palette .content[data-v-7baa23fd] button{padding:3px 6px}.tools .palette .content[data-v-7baa23fd] .group button{padding:3px 6px;margin:0}.tools .content[data-v-7baa23fd]{padding:5px 10px;height:100%;display:flex;flex-direction:column}.header[data-v-7baa23fd]{display:flex;background:#333;user-select:none;align-items:center}.header button[data-v-7baa23fd]{appearance:none;border:0;background:transparent;padding:5px;display:flex;align-items:center}.header button img[data-v-7baa23fd]{max-height:14px}.title[data-v-7baa23fd]{margin-left:5px;margin-right:auto}.content-wrapper[data-v-7baa23fd]{position:relative;width:100%;height:100%}[data-v-7baa23fd] .resizable-component{position:relative}[data-v-7baa23fd] .resizable-component:after{content:"";display:block;right:0;bottom:0;position:absolute;z-index:100;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAACC2lUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iWE1QIENvcmUgNS40LjAiPgogICA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPgogICAgICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgICAgICAgICB4bWxuczp0aWZmPSJodHRwOi8vbnMuYWRvYmUuY29tL3RpZmYvMS4wLyI+CiAgICAgICAgIDx0aWZmOlJlc29sdXRpb25Vbml0PjI8L3RpZmY6UmVzb2x1dGlvblVuaXQ+CiAgICAgICAgIDx0aWZmOkNvbXByZXNzaW9uPjE8L3RpZmY6Q29tcHJlc3Npb24+CiAgICAgICAgIDx0aWZmOk9yaWVudGF0aW9uPjE8L3RpZmY6T3JpZW50YXRpb24+CiAgICAgICAgIDx0aWZmOlBob3RvbWV0cmljSW50ZXJwcmV0YXRpb24+MjwvdGlmZjpQaG90b21ldHJpY0ludGVycHJldGF0aW9uPgogICAgICA8L3JkZjpEZXNjcmlwdGlvbj4KICAgPC9yZGY6UkRGPgo8L3g6eG1wbWV0YT4KD0UqkwAAACJJREFUCB1jYMABPn/+/B+rFA0l4EbDGVAXwPlwBroEkA8ARSMmcY29DXYAAAAASUVORK5CYII=);background-position:bottom right;background-repeat:no-repeat;pointer-events:none;opacity:.6;width:7px;height:7px}\n')();
10480
+ const _withScopeId$2 = (n) => (pushScopeId("data-v-7baa23fd"), n = n(), popScopeId(), n);
10478
10481
  const _hoisted_1$8 = { class: "content-wrapper" };
10479
10482
  const _hoisted_2$4 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("img", {
10480
10483
  src: _imports_0$2,
@@ -10589,6 +10592,7 @@ const _sfc_main$9 = {
10589
10592
  withDirectives(createVNode(unref(VueResizable), {
10590
10593
  active: ["rb", "b", "r"],
10591
10594
  "min-width": "275",
10595
+ "min-height": "275",
10592
10596
  width: 275,
10593
10597
  "onResize:end": onResizeEnd
10594
10598
  }, {
@@ -10626,7 +10630,7 @@ const _sfc_main$9 = {
10626
10630
  };
10627
10631
  }
10628
10632
  };
10629
- var Editor = /* @__PURE__ */ _export_sfc$1(_sfc_main$9, [["__scopeId", "data-v-c5c08a7a"]]);
10633
+ var Editor = /* @__PURE__ */ _export_sfc$1(_sfc_main$9, [["__scopeId", "data-v-7baa23fd"]]);
10630
10634
  var RangeSlider_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".range-slider[data-v-7b4d1dd8]{display:flex;align-items:center;justify-content:center;width:100%}input[type=range][data-v-7b4d1dd8]{-webkit-appearance:none;margin:18px 5px;width:100%;background:transparent}input[type=range][data-v-7b4d1dd8]:focus{outline:none}input[type=range][data-v-7b4d1dd8]::-webkit-slider-runnable-track{width:100%;height:1px;cursor:pointer;background:white;border:0}input[type=range][data-v-7b4d1dd8]::-webkit-slider-thumb{box-shadow:none;border:none;height:20px;width:20px;border-radius:50%;background:#ffffff;cursor:pointer;-webkit-appearance:none;margin-top:-10px}input[type=range][data-v-7b4d1dd8]:focus::-webkit-slider-runnable-track{background:white}input[type=range][data-v-7b4d1dd8]::-moz-range-track{width:100%;height:1px;background:#ffffff;cursor:pointer;box-shadow:none;border:none}input[type=range][data-v-7b4d1dd8]::-moz-range-thumb{box-shadow:none;border:none;height:20px;width:20px;border-radius:50%;background:white;cursor:pointer}input[type=range][data-v-7b4d1dd8]::-ms-track{width:100%;height:1px;cursor:pointer;background:transparent;border-color:transparent;border-width:16px 0;color:transparent}input[type=range][data-v-7b4d1dd8]::-ms-thumb{box-shadow:none;border:none;height:20px;width:20px;border-radius:50%;background:#ffffff;cursor:pointer}input[type=range][data-v-7b4d1dd8]:focus::-ms-fill-lower{background:white}input[type=range][data-v-7b4d1dd8]:focus::-ms-fill-upper{background:white}\n")();
10631
10635
  const _hoisted_1$7 = { class: "range-slider" };
10632
10636
  const _hoisted_2$3 = /* @__PURE__ */ createTextVNode("-");
@@ -10776,7 +10780,7 @@ const _sfc_main$5 = {
10776
10780
  key: `file_${index}`
10777
10781
  }, [
10778
10782
  (openBlock(true), createElementBlock(Fragment, null, renderList(keys.value, ([key, selector]) => {
10779
- return openBlock(), createBlock(_sfc_main$b, {
10783
+ return openBlock(), createBlock(AnnotationCell, {
10780
10784
  key: `${key}_${index}`,
10781
10785
  value: unref(get)(file, selector),
10782
10786
  selector,
@@ -11033,7 +11037,7 @@ const _sfc_main$1 = {
11033
11037
  }
11034
11038
  };
11035
11039
  var AdjustSettings = /* @__PURE__ */ _export_sfc$1(_sfc_main$1, [["__scopeId", "data-v-5f53e1ac"]]);
11036
- var ScriptConsole_vue_vue_type_style_index_0_lang = /* @__PURE__ */ (() => "#logScript{border:thin solid #777;border-radius:3px;width:100%;position:relative;height:100px}#logScript .codeflask__flatten{white-space:pre-wrap;word-wrap:break-word;caret-color:#fff;font-size:inherit}#logScript .codeflask{background:rgba(0,0,0,1)}\n")();
11040
+ var ScriptConsole_vue_vue_type_style_index_0_lang = /* @__PURE__ */ (() => "#logScript{border:thin solid #777;border-radius:3px;width:100%;position:relative;height:100%}#logScript .codeflask__flatten{white-space:pre-wrap;word-wrap:break-word;caret-color:#fff;font-size:inherit}#logScript .codeflask{background:rgba(0,0,0,1)}\n")();
11037
11041
  const _hoisted_1 = { id: "logScript" };
11038
11042
  const _sfc_main = {
11039
11043
  __name: "ScriptConsole",
@@ -11062,4 +11066,4 @@ const _sfc_main = {
11062
11066
  };
11063
11067
  }
11064
11068
  };
11065
- export { Access, AdjustSettings, _sfc_main$b as AnnotationCell, _sfc_main$o as Annotations, Autocomplete, Button, ButtonsGroup, Chat, Checkbox, Col, _sfc_main$q as Collaborators, Editor, _sfc_main$m as Files, Footer, Header, ImportFilesDialog, Nav, NewProjectPage, OntologySelector, ProjectInfo, ProjectPage, PureAnnotations, PureCollaborators, PureFiles, RangeSlider, Row, _sfc_main as ScriptConsole, Select, Settings, _sfc_main$g as SettingsPage, Tab, Table, Tabs, TextAnnotations, TextArea, TextInput, _sfc_main$f as UserPage, VolumeAnnotations, Wrapper };
11069
+ export { Access, AdjustSettings, AnnotationCell, _sfc_main$o as Annotations, Autocomplete, Button, ButtonsGroup, Chat, Checkbox, Col, _sfc_main$q as Collaborators, Editor, _sfc_main$m as Files, Footer, Header, ImportFilesDialog, Nav, NewProjectPage, OntologySelector, ProjectInfo, ProjectPage, PureAnnotations, PureCollaborators, PureFiles, RangeSlider, Row, _sfc_main as ScriptConsole, Select, Settings, _sfc_main$g as SettingsPage, Tab, Table, Tabs, TextAnnotations, TextArea, TextInput, _sfc_main$f as UserPage, VolumeAnnotations, Wrapper };