UNPKG

survey-creator-core

Version:

A framework-independent core package of the SurveyJS Survey Creator component. With Survey Creator, you can visually design complex, interactive JSON forms and surveys in a drag-and-drop interface.

207 lines (188 loc) 7.74 kB
/*! * SurveyJS Creator v2.5.4 * (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/ * Github: https://github.com/surveyjs/survey-creator * License: https://surveyjs.io/licensing */ (function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(); else if(typeof define === 'function' && define.amd) define("index", [], factory); else if(typeof exports === 'object') exports["index"] = factory(); else root["SurveyCreatorUIPreset"] = factory(); })(this, () => { return /******/ (() => { // webpackBootstrap /******/ "use strict"; /******/ var __webpack_modules__ = ({ /***/ "./src/ui-presets/advanced.ts": /*!************************************!*\ !*** ./src/ui-presets/advanced.ts ***! \************************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ Advanced: () => (/* binding */ Advanced), /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); var Advanced = { presetName: "advanced", json: { "tabs": { "items": [ { "name": "designer", "iconName": "icon-config" }, { "name": "preview", "iconName": "icon-preview" }, { "name": "logic", "iconName": "icon-logic-24x24" }, { "name": "json", "iconName": "icon-codeeditor-24x24" } ], "activeTab": "designer" }, } }; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Advanced); /***/ }), /***/ "./src/ui-presets/basic.ts": /*!*********************************!*\ !*** ./src/ui-presets/basic.ts ***! \*********************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ Basic: () => (/* binding */ Basic), /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); var Basic = { presetName: "basic", json: { "tabs": { "items": [ { "name": "designer", "iconName": "icon-config" }, { "name": "preview", "iconName": "icon-preview" }, { "name": "json", "iconName": "icon-codeeditor-24x24" } ], "activeTab": "designer" }, } }; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Basic); /***/ }), /***/ "./src/ui-presets/expert.ts": /*!**********************************!*\ !*** ./src/ui-presets/expert.ts ***! \**********************************/ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ Expert: () => (/* binding */ Expert), /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); var Expert = { presetName: "expert", json: {} }; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Expert); /***/ }) /******/ }); /************************************************************************/ /******/ // The module cache /******/ var __webpack_module_cache__ = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache /******/ var cachedModule = __webpack_module_cache__[moduleId]; /******/ if (cachedModule !== undefined) { /******/ return cachedModule.exports; /******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = __webpack_module_cache__[moduleId] = { /******/ // no module.id needed /******/ // no module.loaded needed /******/ exports: {} /******/ }; /******/ /******/ // Execute the module function /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); /******/ /******/ // Return the exports of the module /******/ return module.exports; /******/ } /******/ /************************************************************************/ /******/ /* webpack/runtime/define property getters */ /******/ (() => { /******/ // define getter functions for harmony exports /******/ __webpack_require__.d = (exports, definition) => { /******/ for(var key in definition) { /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); /******/ } /******/ } /******/ }; /******/ })(); /******/ /******/ /* webpack/runtime/hasOwnProperty shorthand */ /******/ (() => { /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) /******/ })(); /******/ /******/ /* webpack/runtime/make namespace object */ /******/ (() => { /******/ // define __esModule on exports /******/ __webpack_require__.r = (exports) => { /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); /******/ } /******/ Object.defineProperty(exports, '__esModule', { value: true }); /******/ }; /******/ })(); /******/ /************************************************************************/ var __webpack_exports__ = {}; // This entry needs to be wrapped in an IIFE because it needs to be isolated against other modules in the chunk. (() => { /*!*********************************!*\ !*** ./src/ui-presets/index.ts ***! \*********************************/ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ Advanced: () => (/* reexport safe */ _advanced__WEBPACK_IMPORTED_MODULE_1__["default"]), /* harmony export */ Basic: () => (/* reexport safe */ _basic__WEBPACK_IMPORTED_MODULE_0__["default"]), /* harmony export */ Expert: () => (/* reexport safe */ _expert__WEBPACK_IMPORTED_MODULE_2__["default"]), /* harmony export */ __surveyjs_internal_configs_hash: () => (/* binding */ __surveyjs_internal_configs_hash), /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); /* harmony import */ var _basic__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./basic */ "./src/ui-presets/basic.ts"); /* harmony import */ var _advanced__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./advanced */ "./src/ui-presets/advanced.ts"); /* harmony import */ var _expert__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./expert */ "./src/ui-presets/expert.ts"); var __surveyjs_internal_configs_hash = true; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ Basic: _basic__WEBPACK_IMPORTED_MODULE_0__["default"], Advanced: _advanced__WEBPACK_IMPORTED_MODULE_1__["default"], Expert: _expert__WEBPACK_IMPORTED_MODULE_2__["default"], __surveyjs_internal_configs_hash: __surveyjs_internal_configs_hash }); })(); /******/ return __webpack_exports__; /******/ })() ; }); //# sourceMappingURL=index.js.map