@nine-lab/nine-ux 0.1.81 → 0.1.82
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/nine-ux.umd.js +6 -5
- package/package.json +1 -1
package/dist/nine-ux.umd.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
(function(global, factory) {
|
|
2
2
|
typeof exports === "object" && typeof module !== "undefined" ? factory(require("@nine-lab/nine-util")) : typeof define === "function" && define.amd ? define(["@nine-lab/nine-util"], factory) : (global = typeof globalThis !== "undefined" ? globalThis : global || self, factory(global.nine));
|
|
3
|
-
})(this, function(
|
|
3
|
+
})(this, function(nine) {
|
|
4
4
|
"use strict";var __defProp = Object.defineProperty;
|
|
5
5
|
var __typeError = (msg) => {
|
|
6
6
|
throw TypeError(msg);
|
|
@@ -638,7 +638,7 @@ dialog.out { animation: nx-fade-out 0.3s forwards; }
|
|
|
638
638
|
// 1. 값만 깔끔하게 반환
|
|
639
639
|
get cssPath() {
|
|
640
640
|
var _a;
|
|
641
|
-
return ((_a =
|
|
641
|
+
return ((_a = nine.nine.config.ux) == null ? void 0 : _a.cssPath) || __privateGet(this, _localCssPath);
|
|
642
642
|
}
|
|
643
643
|
set cssPath(path) {
|
|
644
644
|
__privateSet(this, _localCssPath, path);
|
|
@@ -19372,7 +19372,7 @@ img.ProseMirror-separator {
|
|
|
19372
19372
|
const customImport = customPath ? `@import "${customPath}";` : "";
|
|
19373
19373
|
this.shadowRoot.innerHTML = `
|
|
19374
19374
|
<style>
|
|
19375
|
-
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-ux@${"0.1.
|
|
19375
|
+
@import "https://cdn.jsdelivr.net/npm/@nine-lab/nine-ux@${"0.1.82"}/dist/css/nineEditor.css";
|
|
19376
19376
|
${customImport}
|
|
19377
19377
|
</style>
|
|
19378
19378
|
|
|
@@ -19508,6 +19508,7 @@ img.ProseMirror-separator {
|
|
|
19508
19508
|
};
|
|
19509
19509
|
const sync = () => {
|
|
19510
19510
|
var _a;
|
|
19511
|
+
console.log(nine);
|
|
19511
19512
|
const { nativeOverride } = ((_a = nine == null ? void 0 : nine.config) == null ? void 0 : _a.ux) || {};
|
|
19512
19513
|
const targets = Array.isArray(nativeOverride) ? nativeOverride : nativeOverride === true ? ["alert", "confirm"] : [];
|
|
19513
19514
|
console.log(nine, targets);
|
|
@@ -19526,8 +19527,8 @@ img.ProseMirror-separator {
|
|
|
19526
19527
|
});
|
|
19527
19528
|
};
|
|
19528
19529
|
init();
|
|
19529
|
-
|
|
19530
|
-
|
|
19530
|
+
nine.nine.alert = nineUx.alert.bind(nineUx);
|
|
19531
|
+
nine.nine.confirm = nineUx.confirm.bind(nineUx);
|
|
19531
19532
|
if (typeof window !== "undefined") {
|
|
19532
19533
|
if (!customElements.get("nine-editor")) {
|
|
19533
19534
|
customElements.define("nine-editor", nineEditor);
|