bruce-models 1.4.0 → 1.4.2
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/bruce-models.es5.js +6 -2
- package/dist/bruce-models.es5.js.map +1 -1
- package/dist/bruce-models.umd.js +6 -2
- package/dist/bruce-models.umd.js.map +1 -1
- package/dist/lib/entity/entity-tag.js +4 -2
- package/dist/lib/entity/entity-tag.js.map +1 -1
- package/dist/lib/markup/markup.js +2 -0
- package/dist/lib/markup/markup.js.map +1 -1
- package/dist/types/markup/markup.d.ts +6 -4
- package/package.json +1 -1
package/dist/bruce-models.umd.js
CHANGED
|
@@ -3457,7 +3457,9 @@
|
|
|
3457
3457
|
try {
|
|
3458
3458
|
const tags = yield prom;
|
|
3459
3459
|
const tag = tags.find((t) => t.ID === id);
|
|
3460
|
-
res(
|
|
3460
|
+
res({
|
|
3461
|
+
tag: tag
|
|
3462
|
+
});
|
|
3461
3463
|
}
|
|
3462
3464
|
catch (e) {
|
|
3463
3465
|
rej(e);
|
|
@@ -3468,7 +3470,7 @@
|
|
|
3468
3470
|
}
|
|
3469
3471
|
}
|
|
3470
3472
|
return {
|
|
3471
|
-
tags: (yield Promise.all(reqs)).filter(x => !!x)
|
|
3473
|
+
tags: (yield Promise.all(reqs)).map(x => x === null || x === void 0 ? void 0 : x.tag).filter(x => !!x)
|
|
3472
3474
|
};
|
|
3473
3475
|
});
|
|
3474
3476
|
}
|
|
@@ -6563,6 +6565,8 @@
|
|
|
6563
6565
|
// Embed, assume content is html.
|
|
6564
6566
|
// Make it take over the whole cell instead of padding it and such.
|
|
6565
6567
|
EItemType["Embed"] = "EMBED";
|
|
6568
|
+
// Content is expected to be an SVG or font-awesome icon.
|
|
6569
|
+
EItemType["Icon"] = "ICON";
|
|
6566
6570
|
})(EItemType = Div.EItemType || (Div.EItemType = {}));
|
|
6567
6571
|
let ItemAction;
|
|
6568
6572
|
(function (ItemAction) {
|