x-runtime-lib 0.2.11 → 0.2.12
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.
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { BaseProps, RefContext } from '../../../../types';
|
|
2
2
|
interface Props extends BaseProps {
|
|
3
|
+
id: string;
|
|
3
4
|
refContext: RefContext;
|
|
4
5
|
}
|
|
5
6
|
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<Props>>>, {}, {}>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const e = {
|
|
2
2
|
basic: "Basic",
|
|
3
3
|
button: "Button",
|
|
4
4
|
circularRef: "Circular Reference",
|
|
@@ -8,8 +8,9 @@ const t = {
|
|
|
8
8
|
compact: "Compact",
|
|
9
9
|
default: "Default",
|
|
10
10
|
density: "Density",
|
|
11
|
+
ref: "Reference",
|
|
11
12
|
settings: "Settings"
|
|
12
13
|
};
|
|
13
14
|
export {
|
|
14
|
-
|
|
15
|
+
e as default
|
|
15
16
|
};
|
package/dist/index.js
CHANGED
|
@@ -7239,6 +7239,7 @@ function Yi(e) {
|
|
|
7239
7239
|
const Jp = /* @__PURE__ */ Jr({
|
|
7240
7240
|
__name: "index",
|
|
7241
7241
|
props: {
|
|
7242
|
+
id: {},
|
|
7242
7243
|
refContext: {},
|
|
7243
7244
|
node: {},
|
|
7244
7245
|
outer: { type: Boolean }
|
|
@@ -7316,7 +7317,7 @@ const Jp = /* @__PURE__ */ Jr({
|
|
|
7316
7317
|
}) : console.assert(!1, `invalid data type dataType=${h}`);
|
|
7317
7318
|
} else
|
|
7318
7319
|
s.push(at("div", o.global.t("compNotAvail")));
|
|
7319
|
-
return at("div", { style: r.value }, s);
|
|
7320
|
+
return at("div", { id: n.id, style: r.value }, s);
|
|
7320
7321
|
};
|
|
7321
7322
|
return (s, h) => (Ki(), Zi(f));
|
|
7322
7323
|
}
|
|
@@ -7451,7 +7452,7 @@ const Jp = /* @__PURE__ */ Jr({
|
|
|
7451
7452
|
});
|
|
7452
7453
|
};
|
|
7453
7454
|
async function vd(e, n) {
|
|
7454
|
-
const o = await Qp(/* @__PURE__ */ Object.assign({ "./locales/en.ts": () => import("./en-
|
|
7455
|
+
const o = await Qp(/* @__PURE__ */ Object.assign({ "./locales/en.ts": () => import("./en-D9rbk89k.js"), "./locales/zhHans.ts": () => import("./zhHans-D_6IKsBL.js") }), `./locales/${n}.ts`);
|
|
7455
7456
|
return e.global.setLocaleMessage(n, o.default), Bt();
|
|
7456
7457
|
}
|
|
7457
7458
|
export {
|