@apexcura/ui-components 0.0.9-Beta10 → 0.0.9-Beta11
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/index.d.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +3 -24
- package/dist/index.mjs +3 -24
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -362,33 +362,12 @@ var ButtonElement = () => /* @__PURE__ */ import_react12.default.createElement(i
|
|
|
362
362
|
var import_react13 = __toESM(require("react"));
|
|
363
363
|
var import_antd11 = require("antd");
|
|
364
364
|
var AddMoreTable = (props) => {
|
|
365
|
-
const
|
|
366
|
-
|
|
367
|
-
{ title: "Platform", dataIndex: "platform", key: "platform" },
|
|
368
|
-
{ title: "Version", dataIndex: "version", key: "version" },
|
|
369
|
-
{ title: "Upgraded", dataIndex: "upgradeNum", key: "upgradeNum" },
|
|
370
|
-
{ title: "Creator", dataIndex: "creator", key: "creator" },
|
|
371
|
-
{ title: "Date", dataIndex: "createdAt", key: "createdAt" },
|
|
372
|
-
{ title: "Action", key: "operation", render: () => /* @__PURE__ */ import_react13.default.createElement("a", null, "Publish") }
|
|
373
|
-
];
|
|
374
|
-
const data = [];
|
|
375
|
-
for (let i = 0; i < 3; ++i) {
|
|
376
|
-
data.push({
|
|
377
|
-
key: i.toString(),
|
|
378
|
-
name: "Screen",
|
|
379
|
-
platform: "iOS",
|
|
380
|
-
version: "10.3.4.5654",
|
|
381
|
-
upgradeNum: 500,
|
|
382
|
-
creator: "Jack",
|
|
383
|
-
createdAt: "2014-12-24 23:12:00"
|
|
384
|
-
});
|
|
385
|
-
}
|
|
365
|
+
const { thead } = props;
|
|
366
|
+
console.log(thead);
|
|
386
367
|
return /* @__PURE__ */ import_react13.default.createElement(import_react13.default.Fragment, null, /* @__PURE__ */ import_react13.default.createElement(
|
|
387
368
|
import_antd11.Table,
|
|
388
369
|
{
|
|
389
|
-
|
|
390
|
-
expandable: { defaultExpandedRowKeys: ["0"] },
|
|
391
|
-
dataSource: data
|
|
370
|
+
expandable: { defaultExpandedRowKeys: ["0"] }
|
|
392
371
|
}
|
|
393
372
|
));
|
|
394
373
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -315,33 +315,12 @@ var ButtonElement = () => /* @__PURE__ */ React11.createElement(Flex2, { gap: "s
|
|
|
315
315
|
import React12 from "react";
|
|
316
316
|
import { Table } from "antd";
|
|
317
317
|
var AddMoreTable = (props) => {
|
|
318
|
-
const
|
|
319
|
-
|
|
320
|
-
{ title: "Platform", dataIndex: "platform", key: "platform" },
|
|
321
|
-
{ title: "Version", dataIndex: "version", key: "version" },
|
|
322
|
-
{ title: "Upgraded", dataIndex: "upgradeNum", key: "upgradeNum" },
|
|
323
|
-
{ title: "Creator", dataIndex: "creator", key: "creator" },
|
|
324
|
-
{ title: "Date", dataIndex: "createdAt", key: "createdAt" },
|
|
325
|
-
{ title: "Action", key: "operation", render: () => /* @__PURE__ */ React12.createElement("a", null, "Publish") }
|
|
326
|
-
];
|
|
327
|
-
const data = [];
|
|
328
|
-
for (let i = 0; i < 3; ++i) {
|
|
329
|
-
data.push({
|
|
330
|
-
key: i.toString(),
|
|
331
|
-
name: "Screen",
|
|
332
|
-
platform: "iOS",
|
|
333
|
-
version: "10.3.4.5654",
|
|
334
|
-
upgradeNum: 500,
|
|
335
|
-
creator: "Jack",
|
|
336
|
-
createdAt: "2014-12-24 23:12:00"
|
|
337
|
-
});
|
|
338
|
-
}
|
|
318
|
+
const { thead } = props;
|
|
319
|
+
console.log(thead);
|
|
339
320
|
return /* @__PURE__ */ React12.createElement(React12.Fragment, null, /* @__PURE__ */ React12.createElement(
|
|
340
321
|
Table,
|
|
341
322
|
{
|
|
342
|
-
|
|
343
|
-
expandable: { defaultExpandedRowKeys: ["0"] },
|
|
344
|
-
dataSource: data
|
|
323
|
+
expandable: { defaultExpandedRowKeys: ["0"] }
|
|
345
324
|
}
|
|
346
325
|
));
|
|
347
326
|
};
|