nwl-components 0.0.18 → 0.0.19
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/dist/nwl-components.es.js +30 -34
- package/dist/nwl-components.umd.js +10 -10
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -428,7 +428,7 @@ const _hoisted_4$d = /* @__PURE__ */ _withScopeId$a(() => /* @__PURE__ */ create
|
|
|
428
428
|
/* @__PURE__ */ createElementVNode("th", null, "Name")
|
|
429
429
|
])
|
|
430
430
|
], -1));
|
|
431
|
-
const _hoisted_5$
|
|
431
|
+
const _hoisted_5$a = ["onBlur"];
|
|
432
432
|
const _hoisted_6$8 = { class: "actions" };
|
|
433
433
|
const _hoisted_7$8 = /* @__PURE__ */ createTextVNode(" Import ");
|
|
434
434
|
const _hoisted_8$8 = /* @__PURE__ */ createTextVNode(" Cancel ");
|
|
@@ -456,7 +456,7 @@ const _sfc_main$s = {
|
|
|
456
456
|
createElementVNode("td", {
|
|
457
457
|
contentEditable: "true",
|
|
458
458
|
onBlur: ($event) => file.source = $event.currentTarget.textContent
|
|
459
|
-
}, toDisplayString(file.source), 41, _hoisted_5$
|
|
459
|
+
}, toDisplayString(file.source), 41, _hoisted_5$a),
|
|
460
460
|
createElementVNode("td", null, toDisplayString(file.name), 1)
|
|
461
461
|
]);
|
|
462
462
|
}), 128))
|
|
@@ -6770,7 +6770,7 @@ const _hoisted_3$c = /* @__PURE__ */ _withScopeId$9(() => /* @__PURE__ */ create
|
|
|
6770
6770
|
const _hoisted_4$c = [
|
|
6771
6771
|
_hoisted_3$c
|
|
6772
6772
|
];
|
|
6773
|
-
const _hoisted_5$
|
|
6773
|
+
const _hoisted_5$9 = { class: "description" };
|
|
6774
6774
|
const _hoisted_6$7 = ["href"];
|
|
6775
6775
|
const _hoisted_7$7 = /* @__PURE__ */ createTextVNode(" by ");
|
|
6776
6776
|
const _hoisted_8$7 = ["href"];
|
|
@@ -6825,7 +6825,7 @@ const _sfc_main$q = {
|
|
|
6825
6825
|
href: `/project/${unref(project).shortname}`
|
|
6826
6826
|
}, _hoisted_4$c, 8, _hoisted_2$e)
|
|
6827
6827
|
]),
|
|
6828
|
-
createElementVNode("div", _hoisted_5$
|
|
6828
|
+
createElementVNode("div", _hoisted_5$9, [
|
|
6829
6829
|
createElementVNode("a", {
|
|
6830
6830
|
href: `/project/${unref(project).shortname}`
|
|
6831
6831
|
}, [
|
|
@@ -6900,7 +6900,7 @@ const _hoisted_1$j = ["data-level"];
|
|
|
6900
6900
|
const _hoisted_2$d = ["title"];
|
|
6901
6901
|
const _hoisted_3$b = ["title"];
|
|
6902
6902
|
const _hoisted_4$b = ["title"];
|
|
6903
|
-
const _hoisted_5$
|
|
6903
|
+
const _hoisted_5$8 = ["title"];
|
|
6904
6904
|
const _sfc_main$p = {
|
|
6905
6905
|
props: {
|
|
6906
6906
|
collaborator: Object,
|
|
@@ -6936,7 +6936,7 @@ const _sfc_main$p = {
|
|
|
6936
6936
|
onClick: _cache[3] || (_cache[3] = ($event) => _ctx.$emit("updateAccess", __props.collaborator, __props.type, 4)),
|
|
6937
6937
|
class: "remove",
|
|
6938
6938
|
title: `remove ${__props.type}`
|
|
6939
|
-
}, null, 8, _hoisted_5$
|
|
6939
|
+
}, null, 8, _hoisted_5$8)
|
|
6940
6940
|
], 8, _hoisted_1$j);
|
|
6941
6941
|
};
|
|
6942
6942
|
}
|
|
@@ -7483,7 +7483,7 @@ const _hoisted_3$a = /* @__PURE__ */ _withScopeId$8(() => /* @__PURE__ */ create
|
|
|
7483
7483
|
])
|
|
7484
7484
|
], -1));
|
|
7485
7485
|
const _hoisted_4$a = ["onClick"];
|
|
7486
|
-
const _hoisted_5$
|
|
7486
|
+
const _hoisted_5$7 = { style: { "position": "relative" } };
|
|
7487
7487
|
const _hoisted_6$6 = { class: "actions" };
|
|
7488
7488
|
const _hoisted_7$6 = /* @__PURE__ */ createTextVNode(" + ");
|
|
7489
7489
|
const _hoisted_8$6 = /* @__PURE__ */ createTextVNode(" - ");
|
|
@@ -7555,7 +7555,7 @@ const _sfc_main$o = {
|
|
|
7555
7555
|
class: normalizeClass({ selected: selected.value === idx }),
|
|
7556
7556
|
onClick: ($event) => handleRowClick($event, idx)
|
|
7557
7557
|
}, [
|
|
7558
|
-
createElementVNode("td", _hoisted_5$
|
|
7558
|
+
createElementVNode("td", _hoisted_5$7, [
|
|
7559
7559
|
createVNode(Autocomplete, {
|
|
7560
7560
|
onInput: unref(handleUserSearch),
|
|
7561
7561
|
onSelect: handleUserSelect,
|
|
@@ -7687,7 +7687,7 @@ const _hoisted_3$9 = /* @__PURE__ */ _withScopeId$7(() => /* @__PURE__ */ create
|
|
|
7687
7687
|
])
|
|
7688
7688
|
], -1));
|
|
7689
7689
|
const _hoisted_4$9 = ["onClick"];
|
|
7690
|
-
const _hoisted_5$
|
|
7690
|
+
const _hoisted_5$6 = ["value", "selected"];
|
|
7691
7691
|
const _hoisted_6$5 = ["value", "selected"];
|
|
7692
7692
|
const _hoisted_7$5 = { class: "actions" };
|
|
7693
7693
|
const _hoisted_8$5 = /* @__PURE__ */ createTextVNode(" + ");
|
|
@@ -7781,7 +7781,7 @@ const _sfc_main$m = {
|
|
|
7781
7781
|
key: `${annotation.name}${opt}`,
|
|
7782
7782
|
value: opt,
|
|
7783
7783
|
selected: opt === annotation.type
|
|
7784
|
-
}, toDisplayString(opt), 9, _hoisted_5$
|
|
7784
|
+
}, toDisplayString(opt), 9, _hoisted_5$6);
|
|
7785
7785
|
}), 128))
|
|
7786
7786
|
]),
|
|
7787
7787
|
_: 2
|
|
@@ -7884,7 +7884,7 @@ const _hoisted_3$8 = /* @__PURE__ */ _withScopeId$6(() => /* @__PURE__ */ create
|
|
|
7884
7884
|
])
|
|
7885
7885
|
], -1));
|
|
7886
7886
|
const _hoisted_4$8 = ["onClick"];
|
|
7887
|
-
const _hoisted_5$
|
|
7887
|
+
const _hoisted_5$5 = ["onBlur", "onKeyup"];
|
|
7888
7888
|
const _hoisted_6$4 = { class: "actions" };
|
|
7889
7889
|
const _hoisted_7$4 = /* @__PURE__ */ _withScopeId$6(() => /* @__PURE__ */ createElementVNode("img", {
|
|
7890
7890
|
src: _imports_0$4,
|
|
@@ -7950,7 +7950,7 @@ const _sfc_main$k = {
|
|
|
7950
7950
|
placeholder: "File URL",
|
|
7951
7951
|
onBlur: ($event) => handleSourceChange(file, $event.currentTarget.textContent),
|
|
7952
7952
|
onKeyup: withKeys(($event) => handleSourceChange(file, $event.currentTarget.textContent), ["enter"])
|
|
7953
|
-
}, toDisplayString(file.source), 41, _hoisted_5$
|
|
7953
|
+
}, toDisplayString(file.source), 41, _hoisted_5$5)
|
|
7954
7954
|
]),
|
|
7955
7955
|
createElementVNode("td", null, [
|
|
7956
7956
|
createVNode(TextInput, {
|
|
@@ -8150,7 +8150,7 @@ const _hoisted_4$7 = /* @__PURE__ */ _withScopeId$5(() => /* @__PURE__ */ create
|
|
|
8150
8150
|
alt: "settings",
|
|
8151
8151
|
src: _imports_1
|
|
8152
8152
|
}, null, -1));
|
|
8153
|
-
const _hoisted_5$
|
|
8153
|
+
const _hoisted_5$4 = [
|
|
8154
8154
|
_hoisted_4$7
|
|
8155
8155
|
];
|
|
8156
8156
|
const _hoisted_6$3 = ["href"];
|
|
@@ -8216,7 +8216,7 @@ const _sfc_main$g = {
|
|
|
8216
8216
|
unref(displaySettings) && unref(project) != null ? (openBlock(), createElementBlock("a", {
|
|
8217
8217
|
key: 0,
|
|
8218
8218
|
href: `/project/${unref(project).shortname}/settings`
|
|
8219
|
-
}, _hoisted_5$
|
|
8219
|
+
}, _hoisted_5$4, 8, _hoisted_3$7)) : createCommentVNode("", true),
|
|
8220
8220
|
createElementVNode("a", {
|
|
8221
8221
|
href: unref(searchURL),
|
|
8222
8222
|
target: "_blank"
|
|
@@ -8395,7 +8395,7 @@ const _hoisted_1$9 = { class: "title" };
|
|
|
8395
8395
|
const _hoisted_2$5 = { class: "container" };
|
|
8396
8396
|
const _hoisted_3$5 = { class: "inner" };
|
|
8397
8397
|
const _hoisted_4$5 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("h1", null, "Create a new project", -1));
|
|
8398
|
-
const _hoisted_5$
|
|
8398
|
+
const _hoisted_5$3 = { class: "warning" };
|
|
8399
8399
|
const _hoisted_6$2 = /* @__PURE__ */ createTextVNode(" The project ");
|
|
8400
8400
|
const _hoisted_7$2 = ["href"];
|
|
8401
8401
|
const _hoisted_8$2 = /* @__PURE__ */ createTextVNode(" already exists ");
|
|
@@ -8441,7 +8441,7 @@ const _sfc_main$b = {
|
|
|
8441
8441
|
}),
|
|
8442
8442
|
placeholder: "Enter the project short name"
|
|
8443
8443
|
}, null, 32),
|
|
8444
|
-
withDirectives(createElementVNode("div", _hoisted_5$
|
|
8444
|
+
withDirectives(createElementVNode("div", _hoisted_5$3, [
|
|
8445
8445
|
_hoisted_6$2,
|
|
8446
8446
|
createElementVNode("a", {
|
|
8447
8447
|
href: `/project/${_ctx.value}`
|
|
@@ -9083,7 +9083,7 @@ var pane = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["render", _sfc_render$1]])
|
|
|
9083
9083
|
var splitpanes = "";
|
|
9084
9084
|
var ProjectPage_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
9085
9085
|
var ProjectPage_vue_vue_type_style_index_1_lang = "";
|
|
9086
|
-
const _withScopeId$2 = (n) => (pushScopeId("data-v-
|
|
9086
|
+
const _withScopeId$2 = (n) => (pushScopeId("data-v-063963fc"), n = n(), popScopeId(), n);
|
|
9087
9087
|
const _hoisted_1$8 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("span", { class: "title" }, "Project name", -1));
|
|
9088
9088
|
const _hoisted_2$4 = { class: "left-header" };
|
|
9089
9089
|
const _hoisted_3$4 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("img", {
|
|
@@ -9093,6 +9093,7 @@ const _hoisted_3$4 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ create
|
|
|
9093
9093
|
const _hoisted_4$4 = [
|
|
9094
9094
|
_hoisted_3$4
|
|
9095
9095
|
];
|
|
9096
|
+
const _hoisted_5$2 = { class: "leftContent" };
|
|
9096
9097
|
const _sfc_main$9 = {
|
|
9097
9098
|
props: {
|
|
9098
9099
|
project: {
|
|
@@ -9144,7 +9145,9 @@ const _sfc_main$9 = {
|
|
|
9144
9145
|
})
|
|
9145
9146
|
}, _hoisted_4$4)
|
|
9146
9147
|
]),
|
|
9147
|
-
|
|
9148
|
+
createElementVNode("div", _hoisted_5$2, [
|
|
9149
|
+
renderSlot(_ctx.$slots, "left", {}, void 0, true)
|
|
9150
|
+
])
|
|
9148
9151
|
]),
|
|
9149
9152
|
_: 3
|
|
9150
9153
|
}, 8, ["size"])) : createCommentVNode("", true),
|
|
@@ -9168,7 +9171,7 @@ const _sfc_main$9 = {
|
|
|
9168
9171
|
};
|
|
9169
9172
|
}
|
|
9170
9173
|
};
|
|
9171
|
-
var ProjectPage = /* @__PURE__ */ _export_sfc$1(_sfc_main$9, [["__scopeId", "data-v-
|
|
9174
|
+
var ProjectPage = /* @__PURE__ */ _export_sfc$1(_sfc_main$9, [["__scopeId", "data-v-063963fc"]]);
|
|
9172
9175
|
/*! @license DOMPurify 2.3.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.3.6/LICENSE */
|
|
9173
9176
|
function _toConsumableArray(arr) {
|
|
9174
9177
|
if (Array.isArray(arr)) {
|
|
@@ -10002,16 +10005,13 @@ var purify = createDOMPurify();
|
|
|
10002
10005
|
const _hoisted_1$7 = ["innerHTML"];
|
|
10003
10006
|
const _sfc_main$8 = {
|
|
10004
10007
|
props: {
|
|
10005
|
-
value:
|
|
10006
|
-
type: String,
|
|
10007
|
-
required: true
|
|
10008
|
-
},
|
|
10008
|
+
value: String,
|
|
10009
10009
|
index: {
|
|
10010
10010
|
type: Number,
|
|
10011
10011
|
required: true
|
|
10012
10012
|
},
|
|
10013
10013
|
selector: {
|
|
10014
|
-
type: String,
|
|
10014
|
+
type: [String, Array],
|
|
10015
10015
|
required: true
|
|
10016
10016
|
},
|
|
10017
10017
|
linkPrefix: String
|
|
@@ -10215,10 +10215,10 @@ const _sfc_main$5 = {
|
|
|
10215
10215
|
emits: ["input"],
|
|
10216
10216
|
setup(__props, { emit }) {
|
|
10217
10217
|
const props = __props;
|
|
10218
|
-
const innerValue = ref(props.
|
|
10218
|
+
const innerValue = ref(props.modelValue);
|
|
10219
10219
|
watch(innerValue, (value) => emit("input", value));
|
|
10220
|
-
watch(props
|
|
10221
|
-
innerValue.value =
|
|
10220
|
+
watch(props, () => {
|
|
10221
|
+
innerValue.value = props.modelValue;
|
|
10222
10222
|
});
|
|
10223
10223
|
const handleInput = ($event) => {
|
|
10224
10224
|
innerValue.value = parseInt($event.target.value);
|
|
@@ -10263,7 +10263,7 @@ const _sfc_main$5 = {
|
|
|
10263
10263
|
};
|
|
10264
10264
|
}
|
|
10265
10265
|
};
|
|
10266
|
-
var RangeSlider = /* @__PURE__ */ _export_sfc$1(_sfc_main$5, [["__scopeId", "data-v-
|
|
10266
|
+
var RangeSlider = /* @__PURE__ */ _export_sfc$1(_sfc_main$5, [["__scopeId", "data-v-a36f63f0"]]);
|
|
10267
10267
|
var Row_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
10268
10268
|
const _sfc_main$4 = {
|
|
10269
10269
|
props: {
|
|
@@ -10352,10 +10352,6 @@ var VolumeAnnotations_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
|
10352
10352
|
const _hoisted_1$2 = ["onClick"];
|
|
10353
10353
|
const _sfc_main$2 = {
|
|
10354
10354
|
props: {
|
|
10355
|
-
projectName: {
|
|
10356
|
-
type: String,
|
|
10357
|
-
required: true
|
|
10358
|
-
},
|
|
10359
10355
|
annotations: {
|
|
10360
10356
|
type: Array,
|
|
10361
10357
|
required: true
|
|
@@ -10376,7 +10372,7 @@ const _sfc_main$2 = {
|
|
|
10376
10372
|
});
|
|
10377
10373
|
return (_ctx, _cache) => {
|
|
10378
10374
|
const _component_Table = resolveComponent("Table");
|
|
10379
|
-
return openBlock(), createBlock(_component_Table, { id: "
|
|
10375
|
+
return openBlock(), createBlock(_component_Table, { id: "volAnnotations" }, {
|
|
10380
10376
|
default: withCtx(() => [
|
|
10381
10377
|
createElementVNode("thead", null, [
|
|
10382
10378
|
createElementVNode("tr", null, [
|
|
@@ -10409,7 +10405,7 @@ const _sfc_main$2 = {
|
|
|
10409
10405
|
};
|
|
10410
10406
|
}
|
|
10411
10407
|
};
|
|
10412
|
-
var VolumeAnnotations = /* @__PURE__ */ _export_sfc$1(_sfc_main$2, [["__scopeId", "data-v-
|
|
10408
|
+
var VolumeAnnotations = /* @__PURE__ */ _export_sfc$1(_sfc_main$2, [["__scopeId", "data-v-274b8246"]]);
|
|
10413
10409
|
var OntologySelector_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
10414
10410
|
const _withScopeId = (n) => (pushScopeId("data-v-57794ff7"), n = n(), popScopeId(), n);
|
|
10415
10411
|
const _hoisted_1$1 = {
|