solid-ui 2.4.27-aa3408d0 → 2.4.27-b8d76ce5
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/index.html +1 -9
- package/dist/{main.js → solid-ui.js} +19 -11
- package/dist/solid-ui.js.map +1 -0
- package/dist/solid-ui.min.js +3 -0
- package/dist/solid-ui.min.js.LICENSE.txt +117 -0
- package/dist/solid-ui.min.js.map +1 -0
- package/lib/versionInfo.js +2 -2
- package/lib/versionInfo.js.map +1 -1
- package/lib/widgets/forms.js +3 -7
- package/lib/widgets/forms.js.map +1 -1
- package/package.json +5 -4
- package/dist/main.js.map +0 -1
package/lib/versionInfo.js
CHANGED
|
@@ -5,8 +5,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.versionInfo = void 0;
|
|
7
7
|
var versionInfo = {
|
|
8
|
-
buildTime: '2023-03-
|
|
9
|
-
commit: '
|
|
8
|
+
buildTime: '2023-03-29T17:00:53Z',
|
|
9
|
+
commit: 'b8d76ce5ee9d8285f2283aa0c7632dedbe2a3456',
|
|
10
10
|
npmInfo: {
|
|
11
11
|
'solid-ui': '2.4.27',
|
|
12
12
|
npm: '8.19.4',
|
package/lib/versionInfo.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"versionInfo.js","names":["versionInfo","buildTime","commit","npmInfo","npm","node","v8","uv","zlib","brotli","ares","modules","nghttp2","napi","llhttp","openssl","cldr","icu","tz","unicode","ngtcp2","nghttp3","exports"],"sources":["../src/versionInfo.ts"],"sourcesContent":["export const versionInfo = {\n buildTime: '2023-03-
|
|
1
|
+
{"version":3,"file":"versionInfo.js","names":["versionInfo","buildTime","commit","npmInfo","npm","node","v8","uv","zlib","brotli","ares","modules","nghttp2","napi","llhttp","openssl","cldr","icu","tz","unicode","ngtcp2","nghttp3","exports"],"sources":["../src/versionInfo.ts"],"sourcesContent":["export const versionInfo = {\n buildTime: '2023-03-29T17:00:53Z',\n commit: 'b8d76ce5ee9d8285f2283aa0c7632dedbe2a3456',\n npmInfo:\n{\n 'solid-ui': '2.4.27',\n npm: '8.19.4',\n node: '16.19.1',\n v8: '9.4.146.26-node.24',\n uv: '1.43.0',\n zlib: '1.2.11',\n brotli: '1.0.9',\n ares: '1.18.1',\n modules: '93',\n nghttp2: '1.47.0',\n napi: '8',\n llhttp: '6.0.10',\n openssl: '1.1.1t+quic',\n cldr: '41.0',\n icu: '71.1',\n tz: '2022f',\n unicode: '14.0',\n ngtcp2: '0.8.1',\n nghttp3: '0.7.0'\n}\n}\n"],"mappings":";;;;;;AAAO,IAAMA,WAAW,GAAG;EACzBC,SAAS,EAAE,sBAAsB;EACjCC,MAAM,EAAE,0CAA0C;EAClDC,OAAO,EACT;IACE,UAAU,EAAE,QAAQ;IACpBC,GAAG,EAAE,QAAQ;IACbC,IAAI,EAAE,SAAS;IACfC,EAAE,EAAE,oBAAoB;IACxBC,EAAE,EAAE,QAAQ;IACZC,IAAI,EAAE,QAAQ;IACdC,MAAM,EAAE,OAAO;IACfC,IAAI,EAAE,QAAQ;IACdC,OAAO,EAAE,IAAI;IACbC,OAAO,EAAE,QAAQ;IACjBC,IAAI,EAAE,GAAG;IACTC,MAAM,EAAE,QAAQ;IAChBC,OAAO,EAAE,aAAa;IACtBC,IAAI,EAAE,MAAM;IACZC,GAAG,EAAE,MAAM;IACXC,EAAE,EAAE,OAAO;IACXC,OAAO,EAAE,MAAM;IACfC,MAAM,EAAE,OAAO;IACfC,OAAO,EAAE;EACX;AACA,CAAC;AAAAC,OAAA,CAAAtB,WAAA,GAAAA,WAAA"}
|
package/lib/widgets/forms.js
CHANGED
|
@@ -892,11 +892,11 @@ _fieldFunction.field[ns.ui('Choice').uri] = function (dom, container, already, s
|
|
|
892
892
|
subForm: subForm,
|
|
893
893
|
disambiguate: false
|
|
894
894
|
};
|
|
895
|
-
function getSelectorOptions(
|
|
895
|
+
function getSelectorOptions() {
|
|
896
896
|
var possible = [];
|
|
897
897
|
var possibleProperties;
|
|
898
898
|
possible = kb.each(undefined, ns.rdf('type'), uiFrom, formDoc);
|
|
899
|
-
for (var x in findMembersNT(kb, uiFrom,
|
|
899
|
+
for (var x in findMembersNT(kb, uiFrom, dataDoc)) {
|
|
900
900
|
possible.push(kb.fromNT(x));
|
|
901
901
|
} // Use rdfs
|
|
902
902
|
|
|
@@ -928,10 +928,6 @@ _fieldFunction.field[ns.ui('Choice').uri] = function (dom, container, already, s
|
|
|
928
928
|
|
|
929
929
|
var multiSelect = kb.any(form, ui('multiselect')); // Optional
|
|
930
930
|
if (multiSelect) opts.multiSelect = true;
|
|
931
|
-
|
|
932
|
-
// options parameters
|
|
933
|
-
var dataSource = kb.any(form, ui('options'), kb.literal('search-full-store')).length ? null : dataDoc; // optional
|
|
934
|
-
|
|
935
931
|
var selector;
|
|
936
932
|
rhs.refresh = function () {
|
|
937
933
|
// from ui:property
|
|
@@ -939,7 +935,7 @@ _fieldFunction.field[ns.ui('Choice').uri] = function (dom, container, already, s
|
|
|
939
935
|
return object.value;
|
|
940
936
|
});
|
|
941
937
|
// from ui:from + ui:property
|
|
942
|
-
var possibleOptions = getSelectorOptions(
|
|
938
|
+
var possibleOptions = getSelectorOptions();
|
|
943
939
|
possibleOptions.push(selectedOptions);
|
|
944
940
|
possibleOptions = sortByLabel(possibleOptions);
|
|
945
941
|
selector = makeSelectForChoice(dom, rhs, kb, subject, property, possibleOptions, selectedOptions, uiFrom, opts, dataDoc, callbackFunction);
|