@3t-transform/threeteeui 0.0.4 → 0.0.5
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/cjs/{index-eb8fc323.js → index-8a7479e4.js} +22 -2
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/qualifications-list.cjs.entry.js +7149 -0
- package/dist/cjs/toolbar-02115550.js +864 -0
- package/dist/cjs/tttx-icon.cjs.entry.js +21 -0
- package/dist/cjs/tttx-page.cjs.entry.js +59 -58
- package/dist/cjs/tttx-worksheet.cjs.entry.js +4 -3
- package/dist/cjs/tttx.cjs.js +2 -2
- package/dist/cjs/{toolbar-656be6e6.js → ui.popover-27780a1d.js} +9546 -10229
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/components/tttx-icon/tttx-icon.css +89 -0
- package/dist/collection/components/components/tttx-icon/tttx-icon.js +59 -0
- package/dist/collection/components/components/tttx-icon/tttx-icon.stories.js +40 -0
- package/dist/collection/components/patterns/qualifications-list/qualifications-list.js +32 -0
- package/dist/collection/components/patterns/qualifications-list/qualifications-list.stories.js +7 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +2 -0
- package/dist/components/qualifications-list.d.ts +11 -0
- package/dist/components/qualifications-list.js +7162 -0
- package/dist/components/tttx-icon.d.ts +11 -0
- package/dist/components/tttx-icon.js +37 -0
- package/dist/components/tttx-page.js +2 -1
- package/dist/components/tttx-worksheet.js +1 -1
- package/dist/components/tttx-worksheet2.js +61 -33431
- package/dist/{esm/toolbar-cede4385.js → components/ui.popover.js} +9447 -10229
- package/dist/esm/{index-4c11a593.js → index-854ff56f.js} +22 -2
- package/dist/esm/loader.js +2 -2
- package/dist/esm/qualifications-list.entry.js +7145 -0
- package/dist/esm/toolbar-b147a3aa.js +862 -0
- package/dist/esm/tttx-icon.entry.js +17 -0
- package/dist/esm/tttx-page.entry.js +3 -2
- package/dist/esm/tttx-worksheet.entry.js +3 -2
- package/dist/esm/tttx.js +2 -2
- package/dist/esm/ui.popover-0c8f8d79.js +33449 -0
- package/dist/tttx/p-4f4963aa.entry.js +1 -0
- package/dist/tttx/p-69ca02f6.entry.js +1 -0
- package/dist/tttx/p-7244abd4.entry.js +1 -0
- package/dist/tttx/p-7eb8146c.entry.js +1 -0
- package/dist/tttx/p-81cad444.js +1 -0
- package/dist/tttx/p-955d89ac.js +1 -0
- package/dist/tttx/p-ddfeb0ba.js +2 -0
- package/dist/tttx/tttx.css +1 -1
- package/dist/tttx/tttx.esm.js +1 -1
- package/dist/types/components/components/tttx-icon/tttx-icon.d.ts +5 -0
- package/dist/types/components/components/tttx-icon/tttx-icon.stories.d.ts +24 -0
- package/dist/types/components/patterns/qualifications-list/qualifications-list.d.ts +6 -0
- package/dist/types/components/patterns/qualifications-list/qualifications-list.stories.d.ts +5 -0
- package/dist/types/components.d.ts +30 -0
- package/package.json +1 -1
- package/dist/tttx/p-2681b874.js +0 -2
- package/dist/tttx/p-285977b3.entry.js +0 -1
- package/dist/tttx/p-997a8339.entry.js +0 -1
- package/dist/tttx/p-d038fe18.js +0 -1
|
@@ -374,7 +374,11 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
374
374
|
1 /* VNODE_FLAGS.isSlotReference */;
|
|
375
375
|
}
|
|
376
376
|
}
|
|
377
|
-
if (newVNode.$
|
|
377
|
+
if (newVNode.$text$ !== null) {
|
|
378
|
+
// create text node
|
|
379
|
+
elm = newVNode.$elm$ = doc.createTextNode(newVNode.$text$);
|
|
380
|
+
}
|
|
381
|
+
else if (newVNode.$flags$ & 1 /* VNODE_FLAGS.isSlotReference */) {
|
|
378
382
|
// create a slot reference node
|
|
379
383
|
elm = newVNode.$elm$ =
|
|
380
384
|
doc.createTextNode('');
|
|
@@ -736,7 +740,9 @@ const patch = (oldVNode, newVNode) => {
|
|
|
736
740
|
const oldChildren = oldVNode.$children$;
|
|
737
741
|
const newChildren = newVNode.$children$;
|
|
738
742
|
const tag = newVNode.$tag$;
|
|
739
|
-
|
|
743
|
+
const text = newVNode.$text$;
|
|
744
|
+
let defaultHolder;
|
|
745
|
+
if (text === null) {
|
|
740
746
|
{
|
|
741
747
|
if (tag === 'slot')
|
|
742
748
|
;
|
|
@@ -753,6 +759,11 @@ const patch = (oldVNode, newVNode) => {
|
|
|
753
759
|
updateChildren(elm, oldChildren, newVNode, newChildren);
|
|
754
760
|
}
|
|
755
761
|
else if (newChildren !== null) {
|
|
762
|
+
// no old child vnodes, but there are new child vnodes to add
|
|
763
|
+
if (oldVNode.$text$ !== null) {
|
|
764
|
+
// the old vnode was text, so be sure to clear it out
|
|
765
|
+
elm.textContent = '';
|
|
766
|
+
}
|
|
756
767
|
// add the new vnode children
|
|
757
768
|
addVnodes(elm, null, newVNode, newChildren, 0, newChildren.length - 1);
|
|
758
769
|
}
|
|
@@ -761,6 +772,15 @@ const patch = (oldVNode, newVNode) => {
|
|
|
761
772
|
removeVnodes(oldChildren, 0, oldChildren.length - 1);
|
|
762
773
|
}
|
|
763
774
|
}
|
|
775
|
+
else if ((defaultHolder = elm['s-cr'])) {
|
|
776
|
+
// this element has slotted content
|
|
777
|
+
defaultHolder.parentNode.textContent = text;
|
|
778
|
+
}
|
|
779
|
+
else if (oldVNode.$text$ !== text) {
|
|
780
|
+
// update the text content for the text only vnode
|
|
781
|
+
// and also only if the text is different than before
|
|
782
|
+
elm.data = text;
|
|
783
|
+
}
|
|
764
784
|
};
|
|
765
785
|
const updateFallbackSlotVisibility = (elm) => {
|
|
766
786
|
// tslint:disable-next-line: prefer-const
|
package/dist/esm/loader.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-854ff56f.js';
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
4
|
Stencil Client Patch Esm v2.20.0 | MIT Licensed | https://stenciljs.com
|
|
@@ -10,7 +10,7 @@ const patchEsm = () => {
|
|
|
10
10
|
const defineCustomElements = (win, options) => {
|
|
11
11
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
12
12
|
return patchEsm().then(() => {
|
|
13
|
-
return bootstrapLazy([["tttx-
|
|
13
|
+
return bootstrapLazy([["tttx-page",[[4,"tttx-page",{"appName":[1,"app-name"],"pageTitle":[1,"page-title"],"lastUpdated":[1,"last-updated"],"manageAccountsUrl":[1,"manage-accounts-url"],"logoutUrl":[1,"logout-url"],"pageSize":[1,"page-size"],"helpUrl":[1,"help-url"]}]]],["qualifications-list",[[0,"qualifications-list"]]],["tttx-icon",[[0,"tttx-icon",{"name":[1],"color":[1]}]]],["tttx-worksheet",[[4,"tttx-worksheet",{"pageSize":[1,"page-size"]}]]]], options);
|
|
14
14
|
});
|
|
15
15
|
};
|
|
16
16
|
|