| @@ -1,60 +1,7 @@ | ||
| 1 | -var __create = Object.create; | |
| 2 | -var __defProp = Object.defineProperty; | |
| 3 | -var __getOwnPropDesc = Object.getOwnPropertyDescriptor; | |
| 4 | -var __getOwnPropNames = Object.getOwnPropertyNames; | |
| 5 | -var __getProtoOf = Object.getPrototypeOf; | |
| 6 | -var __hasOwnProp = Object.prototype.hasOwnProperty; | |
| 7 | -var __commonJS = (cb, mod) => function __require() { | |
| 8 | - return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports; | |
| 9 | -}; | |
| 10 | -var __copyProps = (to, from, except, desc) => { | |
| 11 | - if (from && typeof from === "object" || typeof from === "function") { | |
| 12 | - for (let key of __getOwnPropNames(from)) | |
| 13 | - if (!__hasOwnProp.call(to, key) && key !== except) | |
| 14 | - __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); | |
| 15 | - } | |
| 16 | - return to; | |
| 17 | -}; | |
| 18 | -var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps( | |
| 19 | - // If the importer is in node compatibility mode or this is not an ESM | |
| 20 | - // file that has been converted to a CommonJS file using a Babel- | |
| 21 | - // compatible transform (i.e. "__esModule" has not been set), then set | |
| 22 | - // "default" to the CommonJS "module.exports" for node compatibility. | |
| 23 | - isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, | |
| 24 | - mod | |
| 25 | -)); | |
| 26 | - | |
| 27 | -// package-external:@wordpress/primitives | |
| 28 | -var require_primitives = __commonJS({ | |
| 29 | - "package-external:@wordpress/primitives"(exports, module) { | |
| 30 | - module.exports = window.wp.primitives; | |
| 31 | - } | |
| 32 | -}); | |
| 33 | - | |
| 34 | -// vendor-external:react/jsx-runtime | |
| 35 | -var require_jsx_runtime = __commonJS({ | |
| 36 | - "vendor-external:react/jsx-runtime"(exports, module) { | |
| 37 | - module.exports = window.ReactJSXRuntime; | |
| 38 | - } | |
| 39 | -}); | |
| 40 | - | |
| 41 | -// packages/icons/build-module/library/wordpress.mjs | |
| 42 | -var import_primitives = __toESM(require_primitives(), 1); | |
| 43 | -var import_jsx_runtime = __toESM(require_jsx_runtime(), 1); | |
| 44 | -var wordpress_default = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_primitives.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_primitives.Path, { d: "M 22 12 C 22 6.49 17.51 2 12 2 C 6.48 2 2 6.49 2 12 C 2 17.52 6.48 22 12 22 C 17.51 22 22 17.52 22 12 M 9.78 17.37 L 6.37 8.22 C 6.92 8.2 7.54 8.14 7.54 8.14 C 8.04 8.08 7.98 7.01 7.48 7.03 C 7.48 7.03 6.03 7.14 5.11 7.14 C 4.93 7.14 4.74 7.14 4.53 7.13 C 6.12 4.69 8.87 3.11 12 3.11 C 14.33 3.11 16.45 3.98 18.05 5.45 C 17.37 5.34 16.4 5.84 16.4 7.03 C 16.4 7.77 16.85 8.39 17.3 9.13 C 17.65 9.74 17.85 10.49 17.85 11.59 C 17.85 13.08 16.45 16.59 16.45 16.59 L 13.42 8.22 C 13.96 8.2 14.24 8.05 14.24 8.05 C 14.74 8 14.68 6.8 14.18 6.83 C 14.18 6.83 12.74 6.95 11.8 6.95 C 10.93 6.95 9.47 6.83 9.47 6.83 C 8.97 6.8 8.91 8.03 9.41 8.05 L 10.33 8.13 L 11.59 11.54 L 9.78 17.37 M 19.41 12 C 19.65 11.36 20.15 10.13 19.84 7.75 C 20.54 9.04 20.89 10.46 20.89 12 C 20.89 15.29 19.16 18.24 16.49 19.78 C 17.46 17.19 18.43 14.58 19.41 12 M 8.1 20.09 C 5.12 18.65 3.11 15.53 3.11 12 C 3.11 10.7 3.34 9.52 3.83 8.41 C 5.25 12.3 6.67 16.2 8.1 20.09 M 12.13 13.46 L 14.71 20.44 C 13.85 20.73 12.95 20.89 12 20.89 C 11.21 20.89 10.43 20.78 9.71 20.56 C 10.52 18.18 11.33 15.82 12.13 13.46 L 12.13 13.46" }) }); | |
| 45 | - | |
| 46 | 1 | // widgets/hello-world/widget.ts |
| 47 | 2 | var widget_default = { |
| 48 | 3 | name: "core/hello-world", |
| 49 | - icon: wordpress_default, | |
| 50 | - attributes: [ | |
| 51 | - { | |
| 52 | - id: "message", | |
| 53 | - label: "Message", | |
| 54 | - type: "text" | |
| 55 | - } | |
| 56 | - ], | |
| 57 | 4 | example: { |
| 58 | 5 | attributes: { |
| 59 | 6 | message: "Hello World" |
| 60 | 7 | } |