ninegrid2 6.1242.0 → 6.1244.0
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/bundle.cjs.js +0 -37
- package/dist/bundle.esm.js +0 -37
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/index.js +1 -1
package/dist/bundle.cjs.js
CHANGED
|
@@ -122246,43 +122246,6 @@ class nxPanel extends nxDiv {
|
|
|
122246
122246
|
|
|
122247
122247
|
customElements.define("nx-panel", nxPanel);
|
|
122248
122248
|
|
|
122249
|
-
class nxPanel2 extends nxDiv2 {
|
|
122250
|
-
|
|
122251
|
-
constructor() {
|
|
122252
|
-
super();
|
|
122253
|
-
}
|
|
122254
|
-
|
|
122255
|
-
connectedCallback() {
|
|
122256
|
-
if (super.connectedCallback()) this.#init();
|
|
122257
|
-
}
|
|
122258
|
-
|
|
122259
|
-
#init = () => {
|
|
122260
|
-
const caption = this.getAttribute("caption");
|
|
122261
|
-
const columns = this.getAttribute("columns") || "";
|
|
122262
|
-
|
|
122263
|
-
const htmlTmpl = document.createElement("template");
|
|
122264
|
-
htmlTmpl.innerHTML = `
|
|
122265
|
-
<style>
|
|
122266
|
-
@import "https://cdn.jsdelivr.net/npm/ninegrid@${ninegrid.version}/dist/css/nxPanel.css";
|
|
122267
|
-
${ninegrid.getCustomPath(this,"nxPanel.css")}
|
|
122268
|
-
</style>
|
|
122269
|
-
|
|
122270
|
-
<div class="head ${caption ? '' : 'hide'}">
|
|
122271
|
-
<div class="caption"><span>${caption}</span></div>
|
|
122272
|
-
</div>
|
|
122273
|
-
<div class="body">
|
|
122274
|
-
<nx-layout2 columns="${columns}">
|
|
122275
|
-
${this.originContents}
|
|
122276
|
-
</nx-layout2>
|
|
122277
|
-
</div>
|
|
122278
|
-
`;
|
|
122279
|
-
|
|
122280
|
-
this.appendChild(htmlTmpl.content.cloneNode(true));
|
|
122281
|
-
}
|
|
122282
|
-
}
|
|
122283
|
-
|
|
122284
|
-
customElements.define("nx-panel2", nxPanel2);
|
|
122285
|
-
|
|
122286
122249
|
class nxButtons extends nxDiv {
|
|
122287
122250
|
|
|
122288
122251
|
constructor() {
|
package/dist/bundle.esm.js
CHANGED
|
@@ -122242,43 +122242,6 @@ class nxPanel extends nxDiv {
|
|
|
122242
122242
|
|
|
122243
122243
|
customElements.define("nx-panel", nxPanel);
|
|
122244
122244
|
|
|
122245
|
-
class nxPanel2 extends nxDiv2 {
|
|
122246
|
-
|
|
122247
|
-
constructor() {
|
|
122248
|
-
super();
|
|
122249
|
-
}
|
|
122250
|
-
|
|
122251
|
-
connectedCallback() {
|
|
122252
|
-
if (super.connectedCallback()) this.#init();
|
|
122253
|
-
}
|
|
122254
|
-
|
|
122255
|
-
#init = () => {
|
|
122256
|
-
const caption = this.getAttribute("caption");
|
|
122257
|
-
const columns = this.getAttribute("columns") || "";
|
|
122258
|
-
|
|
122259
|
-
const htmlTmpl = document.createElement("template");
|
|
122260
|
-
htmlTmpl.innerHTML = `
|
|
122261
|
-
<style>
|
|
122262
|
-
@import "https://cdn.jsdelivr.net/npm/ninegrid@${ninegrid.version}/dist/css/nxPanel.css";
|
|
122263
|
-
${ninegrid.getCustomPath(this,"nxPanel.css")}
|
|
122264
|
-
</style>
|
|
122265
|
-
|
|
122266
|
-
<div class="head ${caption ? '' : 'hide'}">
|
|
122267
|
-
<div class="caption"><span>${caption}</span></div>
|
|
122268
|
-
</div>
|
|
122269
|
-
<div class="body">
|
|
122270
|
-
<nx-layout2 columns="${columns}">
|
|
122271
|
-
${this.originContents}
|
|
122272
|
-
</nx-layout2>
|
|
122273
|
-
</div>
|
|
122274
|
-
`;
|
|
122275
|
-
|
|
122276
|
-
this.appendChild(htmlTmpl.content.cloneNode(true));
|
|
122277
|
-
}
|
|
122278
|
-
}
|
|
122279
|
-
|
|
122280
|
-
customElements.define("nx-panel2", nxPanel2);
|
|
122281
|
-
|
|
122282
122245
|
class nxButtons extends nxDiv {
|
|
122283
122246
|
|
|
122284
122247
|
constructor() {
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
package/src/index.js
CHANGED