solid-panes 3.5.28-c481e73e → 3.5.28-c77cd8eb
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/lib/tableViewPane.js +1 -1
- package/lib/tableViewPane.js.map +1 -1
- package/lib/versionInfo.js +2 -2
- package/lib/versionInfo.js.map +1 -1
- package/package.json +1 -1
- package/src/tableViewPane.js +1 -1
- package/src/versionInfo.ts +2 -2
package/lib/tableViewPane.js
CHANGED
|
@@ -24,7 +24,7 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
24
24
|
|
|
25
25
|
// ///////////////////////////////////////////////////////////////////
|
|
26
26
|
|
|
27
|
-
// Table view pane -- view of a class
|
|
27
|
+
// Table view pane -- view of a class asa table of properties of class members
|
|
28
28
|
|
|
29
29
|
var tableViewPane = {
|
|
30
30
|
icon: UI.icons.originalIconBase + 'table.png',
|
package/lib/tableViewPane.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tableViewPane.js","names":["tableViewPane","icon","UI","icons","originalIconBase","name","label","subject","context","store","session","any","undefined","ns","rdf","n","statementsMatching","length","utils","render","myDocument","dom","div","createElement","setAttribute","appendChild","table","tableClass"],"sources":["../src/tableViewPane.js"],"sourcesContent":["// Format an array of RDF statements as an HTML table.\n//\n// This can operate in one of three modes: when the class of object is given\n// or when the source document from which data is taken is given,\n// or if a prepared query object is given.\n// (In principle it could operate with neither class nor document\n// given but typically\n// there would be too much data.)\n// When the tableClass is not given, it looks for common classes in the data,\n// and gives the user the option.\n//\n// 2008 Written, Ilaria Liccardi\n// 2014 core functionality now in common/table.js -timbl\n\n// ///////////////////////////////////////////////////////////////////\n\n// Table view pane -- view of a class
|
|
1
|
+
{"version":3,"file":"tableViewPane.js","names":["tableViewPane","icon","UI","icons","originalIconBase","name","label","subject","context","store","session","any","undefined","ns","rdf","n","statementsMatching","length","utils","render","myDocument","dom","div","createElement","setAttribute","appendChild","table","tableClass"],"sources":["../src/tableViewPane.js"],"sourcesContent":["// Format an array of RDF statements as an HTML table.\n//\n// This can operate in one of three modes: when the class of object is given\n// or when the source document from which data is taken is given,\n// or if a prepared query object is given.\n// (In principle it could operate with neither class nor document\n// given but typically\n// there would be too much data.)\n// When the tableClass is not given, it looks for common classes in the data,\n// and gives the user the option.\n//\n// 2008 Written, Ilaria Liccardi\n// 2014 core functionality now in common/table.js -timbl\n\n// ///////////////////////////////////////////////////////////////////\n\n// Table view pane -- view of a class asa table of properties of class members\nimport * as UI from 'solid-ui'\n\nexport const tableViewPane = {\n icon: UI.icons.originalIconBase + 'table.png',\n\n name: 'tableOfClass',\n\n label: function (subject, context) {\n const store = context.session.store\n // if (!store.holds(subject, UI.ns.rdf('type'),UI.ns.rdfs('Class'))) return null\n if (!store.any(undefined, UI.ns.rdf('type'), subject)) {\n return null\n }\n const n = store.statementsMatching(undefined, UI.ns.rdf('type'), subject)\n .length\n if (n === 0) {\n // None, suppress pane\n return null\n }\n if (n > 15) {\n // @@ At the moment this pane can be slow with too many @@ fixme by using limits\n return null\n }\n return UI.utils.label(subject) + ' table'\n },\n\n render: function (subject, context) {\n const myDocument = context.dom\n const div = myDocument.createElement('div')\n div.setAttribute('class', 'tablePane')\n div.appendChild(UI.table(myDocument, { tableClass: subject }))\n return div\n }\n}\n"],"mappings":";;;;;;;AAiBA;AAA8B;AAAA;AAjB9B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAGO,IAAMA,aAAa,GAAI;EAC5BC,IAAI,EAAEC,EAAE,CAACC,KAAK,CAACC,gBAAgB,GAAG,WAAW;EAE7CC,IAAI,EAAE,cAAc;EAEpBC,KAAK,EAAE,eAAUC,OAAO,EAAEC,OAAO,EAAE;IACjC,IAAMC,KAAK,GAAGD,OAAO,CAACE,OAAO,CAACD,KAAK;IACnC;IACA,IAAI,CAACA,KAAK,CAACE,GAAG,CAACC,SAAS,EAAEV,EAAE,CAACW,EAAE,CAACC,GAAG,CAAC,MAAM,CAAC,EAAEP,OAAO,CAAC,EAAE;MACrD,OAAO,IAAI;IACb;IACA,IAAMQ,CAAC,GAAGN,KAAK,CAACO,kBAAkB,CAACJ,SAAS,EAAEV,EAAE,CAACW,EAAE,CAACC,GAAG,CAAC,MAAM,CAAC,EAAEP,OAAO,CAAC,CACtEU,MAAM;IACT,IAAIF,CAAC,KAAK,CAAC,EAAE;MACX;MACA,OAAO,IAAI;IACb;IACA,IAAIA,CAAC,GAAG,EAAE,EAAE;MACV;MACA,OAAO,IAAI;IACb;IACA,OAAOb,EAAE,CAACgB,KAAK,CAACZ,KAAK,CAACC,OAAO,CAAC,GAAG,QAAQ;EAC3C,CAAC;EAEDY,MAAM,EAAE,gBAAUZ,OAAO,EAAEC,OAAO,EAAE;IAClC,IAAMY,UAAU,GAAGZ,OAAO,CAACa,GAAG;IAC9B,IAAMC,GAAG,GAAGF,UAAU,CAACG,aAAa,CAAC,KAAK,CAAC;IAC3CD,GAAG,CAACE,YAAY,CAAC,OAAO,EAAE,WAAW,CAAC;IACtCF,GAAG,CAACG,WAAW,CAACvB,EAAE,CAACwB,KAAK,CAACN,UAAU,EAAE;MAAEO,UAAU,EAAEpB;IAAQ,CAAC,CAAC,CAAC;IAC9D,OAAOe,GAAG;EACZ;AACF,CAAC;AAAA"}
|
package/lib/versionInfo.js
CHANGED
|
@@ -5,8 +5,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports["default"] = void 0;
|
|
7
7
|
var _default = {
|
|
8
|
-
buildTime: "2023-02-01T21:
|
|
9
|
-
commit: "
|
|
8
|
+
buildTime: "2023-02-01T21:36:08Z",
|
|
9
|
+
commit: "c77cd8eb6a1ac75c651fa54874a3532fa10a87d1",
|
|
10
10
|
npmInfo: {
|
|
11
11
|
'solid-panes': '3.5.28',
|
|
12
12
|
npm: '8.19.3',
|
package/lib/versionInfo.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"versionInfo.js","names":["buildTime","commit","npmInfo","npm","node","v8","uv","zlib","brotli","ares","modules","nghttp2","napi","llhttp","openssl","cldr","icu","tz","unicode"],"sources":["../src/versionInfo.ts"],"sourcesContent":["export default {\nbuildTime: \"2023-02-01T21:
|
|
1
|
+
{"version":3,"file":"versionInfo.js","names":["buildTime","commit","npmInfo","npm","node","v8","uv","zlib","brotli","ares","modules","nghttp2","napi","llhttp","openssl","cldr","icu","tz","unicode"],"sources":["../src/versionInfo.ts"],"sourcesContent":["export default {\nbuildTime: \"2023-02-01T21:36:08Z\",\ncommit: \"c77cd8eb6a1ac75c651fa54874a3532fa10a87d1\",\nnpmInfo:\n{\n 'solid-panes': '3.5.28',\n npm: '8.19.3',\n node: '14.21.2',\n v8: '8.4.371.23-node.88',\n uv: '1.42.0',\n zlib: '1.2.11',\n brotli: '1.0.9',\n ares: '1.18.1',\n modules: '83',\n nghttp2: '1.42.0',\n napi: '8',\n llhttp: '2.1.6',\n openssl: '1.1.1s',\n cldr: '40.0',\n icu: '70.1',\n tz: '2022f',\n unicode: '14.0'\n}\n};\n"],"mappings":";;;;;;eAAe;EACfA,SAAS,EAAE,sBAAsB;EACjCC,MAAM,EAAE,0CAA0C;EAClDC,OAAO,EACP;IACE,aAAa,EAAE,QAAQ;IACvBC,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,OAAO;IACfC,OAAO,EAAE,QAAQ;IACjBC,IAAI,EAAE,MAAM;IACZC,GAAG,EAAE,MAAM;IACXC,EAAE,EAAE,OAAO;IACXC,OAAO,EAAE;EACX;AACA,CAAC;AAAA"}
|
package/package.json
CHANGED
package/src/tableViewPane.js
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
// ///////////////////////////////////////////////////////////////////
|
|
16
16
|
|
|
17
|
-
// Table view pane -- view of a class
|
|
17
|
+
// Table view pane -- view of a class asa table of properties of class members
|
|
18
18
|
import * as UI from 'solid-ui'
|
|
19
19
|
|
|
20
20
|
export const tableViewPane = {
|
package/src/versionInfo.ts
CHANGED