Add some css and js files to git source

This commit is contained in:
2025-08-20 18:17:13 +03:30
parent 4bc2b0d09c
commit 3482af2994
11 changed files with 91300 additions and 0 deletions
@@ -0,0 +1,114 @@
/******/ var __webpack_modules__ = ({
/***/ "./src/clipboard/copy-text.ts":
/*!************************************!*\
!*** ./src/clipboard/copy-text.ts ***!
\************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ copyText: () => (/* binding */ copyText)
/* harmony export */ });
const copyText = async function (text) {
await navigator.clipboard
.writeText(text)
.catch(function (error) {
alert(error);
});
};
/***/ }),
/***/ "./src/clipboard/index.ts":
/*!********************************!*\
!*** ./src/clipboard/index.ts ***!
\********************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ copyText: () => (/* reexport safe */ _copy_text__WEBPACK_IMPORTED_MODULE_0__.copyText)
/* harmony export */ });
/* harmony import */ var _copy_text__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./copy-text */ "./src/clipboard/copy-text.ts");
/***/ })
/******/ });
/************************************************************************/
/******/ // 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/clipboard.ts ***!
\**************************/
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ copyText: () => (/* reexport safe */ _clipboard___WEBPACK_IMPORTED_MODULE_0__.copyText)
/* harmony export */ });
/* harmony import */ var _clipboard___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./clipboard/ */ "./src/clipboard/index.ts");
})();
const __webpack_exports__copyText = __webpack_exports__.copyText;
export { __webpack_exports__copyText as copyText };
//# sourceMappingURL=clipboard.entry.js.map
@@ -0,0 +1 @@
{"version":3,"file":"clipboard.entry.js","mappings":";;;;;;;;;;;;AAAO,MAAM,QAAQ,GAAG,KAAK,WAAW,IAAI;IACxC,MAAM,SAAS,CAAC,SAAS;SACpB,SAAS,CAAC,IAAI,CAAC;SACf,KAAK,CAAC,UAAU,KAAK;QAClB,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC,CAAC,CAAC;AACX,CAAC;;;;;;;;;;;;;;;;ACN2B;;;;;;;SCA5B;SACA;;SAEA;SACA;SACA;SACA;SACA;SACA;SACA;SACA;SACA;SACA;SACA;SACA;SACA;;SAEA;SACA;;SAEA;SACA;SACA;;;;;UCtBA;UACA;UACA;UACA;UACA,yCAAyC,wCAAwC;UACjF;UACA;UACA,E;;;;;UCPA,wF;;;;;UCAA;UACA;UACA;UACA,uDAAuD,iBAAiB;UACxE;UACA,gDAAgD,aAAa;UAC7D,E;;;;;;;;;;;;;;;ACN6B","sources":["webpack://elsa-studio-dom-interop/./src/clipboard/copy-text.ts","webpack://elsa-studio-dom-interop/./src/clipboard/index.ts","webpack://elsa-studio-dom-interop/webpack/bootstrap","webpack://elsa-studio-dom-interop/webpack/runtime/define property getters","webpack://elsa-studio-dom-interop/webpack/runtime/hasOwnProperty shorthand","webpack://elsa-studio-dom-interop/webpack/runtime/make namespace object","webpack://elsa-studio-dom-interop/./src/clipboard.ts"],"sourcesContent":["export const copyText = async function (text) {\n await navigator.clipboard\n .writeText(text)\n .catch(function (error) {\n alert(error);\n });\n}","export * from './copy-text';","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","export * from \"./clipboard/\";"],"names":[],"sourceRoot":""}
@@ -0,0 +1,212 @@
/******/ var __webpack_modules__ = ({
/***/ "./src/dom/element/click-element.ts":
/*!******************************************!*\
!*** ./src/dom/element/click-element.ts ***!
\******************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ clickElement: () => (/* binding */ clickElement)
/* harmony export */ });
/* harmony import */ var _get_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./get-element */ "./src/dom/element/get-element.ts");
function clickElement(elementOrQuerySelector) {
const element = (0,_get_element__WEBPACK_IMPORTED_MODULE_0__.getElement)(elementOrQuerySelector);
element.click();
}
/***/ }),
/***/ "./src/dom/element/get-bounding-client-rect.ts":
/*!*****************************************************!*\
!*** ./src/dom/element/get-bounding-client-rect.ts ***!
\*****************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ getBoundingClientRect: () => (/* binding */ getBoundingClientRect)
/* harmony export */ });
/* harmony import */ var _get_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./get-element */ "./src/dom/element/get-element.ts");
function getBoundingClientRect(elementOrQuerySelector) {
const element = (0,_get_element__WEBPACK_IMPORTED_MODULE_0__.getElement)(elementOrQuerySelector);
return element.getBoundingClientRect();
}
/***/ }),
/***/ "./src/dom/element/get-element.ts":
/*!****************************************!*\
!*** ./src/dom/element/get-element.ts ***!
\****************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ getElement: () => (/* binding */ getElement)
/* harmony export */ });
function getElement(elementOrQuerySelector) {
return typeof elementOrQuerySelector === 'string' ? document.querySelector(elementOrQuerySelector) : elementOrQuerySelector;
}
/***/ }),
/***/ "./src/dom/element/get-visible-height.ts":
/*!***********************************************!*\
!*** ./src/dom/element/get-visible-height.ts ***!
\***********************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ getVisibleHeight: () => (/* binding */ getVisibleHeight)
/* harmony export */ });
/* harmony import */ var _get_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./get-element */ "./src/dom/element/get-element.ts");
function getVisibleHeight(elementOrQuerySelector) {
const element = (0,_get_element__WEBPACK_IMPORTED_MODULE_0__.getElement)(elementOrQuerySelector);
if (!element)
return 0;
const rect = element.getBoundingClientRect();
const windowHeight = window.innerHeight;
if (rect.bottom > windowHeight) {
const visibleHeight = windowHeight - rect.top;
return visibleHeight > 0 ? visibleHeight : 0;
}
return rect.height;
}
/***/ }),
/***/ "./src/dom/element/index.ts":
/*!**********************************!*\
!*** ./src/dom/element/index.ts ***!
\**********************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ clickElement: () => (/* reexport safe */ _click_element__WEBPACK_IMPORTED_MODULE_0__.clickElement),
/* harmony export */ getBoundingClientRect: () => (/* reexport safe */ _get_bounding_client_rect__WEBPACK_IMPORTED_MODULE_1__.getBoundingClientRect),
/* harmony export */ getElement: () => (/* reexport safe */ _get_element__WEBPACK_IMPORTED_MODULE_2__.getElement),
/* harmony export */ getVisibleHeight: () => (/* reexport safe */ _get_visible_height__WEBPACK_IMPORTED_MODULE_3__.getVisibleHeight)
/* harmony export */ });
/* harmony import */ var _click_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./click-element */ "./src/dom/element/click-element.ts");
/* harmony import */ var _get_bounding_client_rect__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./get-bounding-client-rect */ "./src/dom/element/get-bounding-client-rect.ts");
/* harmony import */ var _get_element__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./get-element */ "./src/dom/element/get-element.ts");
/* harmony import */ var _get_visible_height__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./get-visible-height */ "./src/dom/element/get-visible-height.ts");
/***/ }),
/***/ "./src/dom/index.ts":
/*!**************************!*\
!*** ./src/dom/index.ts ***!
\**************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ clickElement: () => (/* reexport safe */ _element__WEBPACK_IMPORTED_MODULE_0__.clickElement),
/* harmony export */ getBoundingClientRect: () => (/* reexport safe */ _element__WEBPACK_IMPORTED_MODULE_0__.getBoundingClientRect),
/* harmony export */ getElement: () => (/* reexport safe */ _element__WEBPACK_IMPORTED_MODULE_0__.getElement),
/* harmony export */ getVisibleHeight: () => (/* reexport safe */ _element__WEBPACK_IMPORTED_MODULE_0__.getVisibleHeight)
/* harmony export */ });
/* harmony import */ var _element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./element */ "./src/dom/element/index.ts");
/***/ })
/******/ });
/************************************************************************/
/******/ // 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/dom.ts ***!
\********************/
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ clickElement: () => (/* reexport safe */ _dom___WEBPACK_IMPORTED_MODULE_0__.clickElement),
/* harmony export */ getBoundingClientRect: () => (/* reexport safe */ _dom___WEBPACK_IMPORTED_MODULE_0__.getBoundingClientRect),
/* harmony export */ getElement: () => (/* reexport safe */ _dom___WEBPACK_IMPORTED_MODULE_0__.getElement),
/* harmony export */ getVisibleHeight: () => (/* reexport safe */ _dom___WEBPACK_IMPORTED_MODULE_0__.getVisibleHeight)
/* harmony export */ });
/* harmony import */ var _dom___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./dom/ */ "./src/dom/index.ts");
})();
const __webpack_exports__clickElement = __webpack_exports__.clickElement;
const __webpack_exports__getBoundingClientRect = __webpack_exports__.getBoundingClientRect;
const __webpack_exports__getElement = __webpack_exports__.getElement;
const __webpack_exports__getVisibleHeight = __webpack_exports__.getVisibleHeight;
export { __webpack_exports__clickElement as clickElement, __webpack_exports__getBoundingClientRect as getBoundingClientRect, __webpack_exports__getElement as getElement, __webpack_exports__getVisibleHeight as getVisibleHeight };
//# sourceMappingURL=dom.entry.js.map
@@ -0,0 +1 @@
{"version":3,"file":"dom.entry.js","mappings":";;;;;;;;;;;;;AAAyC;AAElC,SAAS,YAAY,CAAC,sBAAwC;IACjE,MAAM,OAAO,GAAG,wDAAU,CAAC,sBAAsB,CAAgB,CAAC;IAElE,OAAO,CAAC,KAAK,EAAE,CAAC;AACpB,CAAC;;;;;;;;;;;;;;;;ACNwC;AAElC,SAAS,qBAAqB,CAAC,sBAAwC;IAC1E,MAAM,OAAO,GAAG,wDAAU,CAAC,sBAAsB,CAAC,CAAC;IACnD,OAAO,OAAO,CAAC,qBAAqB,EAAE,CAAC;AAC3C,CAAC;;;;;;;;;;;;;;;ACLM,SAAS,UAAU,CAAC,sBAAwC;IAC/D,OAAO,OAAO,sBAAsB,KAAK,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,sBAAsB,CAAC;AAChI,CAAC;;;;;;;;;;;;;;;;ACFwC;AAElC,SAAS,gBAAgB,CAAC,sBAAwC;IACrE,MAAM,OAAO,GAAG,wDAAU,CAAC,sBAAsB,CAAC,CAAC;IAEnD,IAAG,CAAC,OAAO;QACP,OAAO,CAAC,CAAC;IAEb,MAAM,IAAI,GAAG,OAAO,CAAC,qBAAqB,EAAE,CAAC;IAC7C,MAAM,YAAY,GAAG,MAAM,CAAC,WAAW,CAAC;IAExC,IAAI,IAAI,CAAC,MAAM,GAAG,YAAY,EAAE,CAAC;QAC7B,MAAM,aAAa,GAAG,YAAY,GAAG,IAAI,CAAC,GAAG,CAAC;QAC9C,OAAO,aAAa,GAAG,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC;IACjD,CAAC;IAED,OAAO,IAAI,CAAC,MAAM,CAAC;AACvB,CAAC;;;;;;;;;;;;;;;;;;;;;;ACjB+B;AACW;AACb;AACO;;;;;;;;;;;;;;;;;;;ACHX;;;;;;;SCA1B;SACA;;SAEA;SACA;SACA;SACA;SACA;SACA;SACA;SACA;SACA;SACA;SACA;SACA;SACA;;SAEA;SACA;;SAEA;SACA;SACA;;;;;UCtBA;UACA;UACA;UACA;UACA,yCAAyC,wCAAwC;UACjF;UACA;UACA,E;;;;;UCPA,wF;;;;;UCAA;UACA;UACA;UACA,uDAAuD,iBAAiB;UACxE;UACA,gDAAgD,aAAa;UAC7D,E;;;;;;;;;;;;;;;;;;ACNuB","sources":["webpack://elsa-studio-dom-interop/./src/dom/element/click-element.ts","webpack://elsa-studio-dom-interop/./src/dom/element/get-bounding-client-rect.ts","webpack://elsa-studio-dom-interop/./src/dom/element/get-element.ts","webpack://elsa-studio-dom-interop/./src/dom/element/get-visible-height.ts","webpack://elsa-studio-dom-interop/./src/dom/element/index.ts","webpack://elsa-studio-dom-interop/./src/dom/index.ts","webpack://elsa-studio-dom-interop/webpack/bootstrap","webpack://elsa-studio-dom-interop/webpack/runtime/define property getters","webpack://elsa-studio-dom-interop/webpack/runtime/hasOwnProperty shorthand","webpack://elsa-studio-dom-interop/webpack/runtime/make namespace object","webpack://elsa-studio-dom-interop/./src/dom.ts"],"sourcesContent":["import {getElement} from \"./get-element\";\n\nexport function clickElement(elementOrQuerySelector: Element | string) {\n const element = getElement(elementOrQuerySelector) as HTMLElement;\n \n element.click();\n}","import {getElement} from \"./get-element\";\n\nexport function getBoundingClientRect(elementOrQuerySelector: Element | string): DOMRect {\n const element = getElement(elementOrQuerySelector);\n return element.getBoundingClientRect();\n}","export function getElement(elementOrQuerySelector: Element | string): Element {\n return typeof elementOrQuerySelector === 'string' ? document.querySelector(elementOrQuerySelector) : elementOrQuerySelector;\n}","import {getElement} from \"./get-element\";\n\nexport function getVisibleHeight(elementOrQuerySelector: Element | string): number {\n const element = getElement(elementOrQuerySelector);\n \n if(!element)\n return 0;\n \n const rect = element.getBoundingClientRect();\n const windowHeight = window.innerHeight;\n\n if (rect.bottom > windowHeight) {\n const visibleHeight = windowHeight - rect.top;\n return visibleHeight > 0 ? visibleHeight : 0;\n }\n\n return rect.height;\n}","export * from './click-element';\nexport * from './get-bounding-client-rect';\nexport * from './get-element';\nexport * from './get-visible-height';\n\n","export * from './element';","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","export * from \"./dom/\";"],"names":[],"sourceRoot":""}
@@ -0,0 +1,118 @@
/******/ var __webpack_modules__ = ({
/***/ "./src/files/download-file-from-stream.ts":
/*!************************************************!*\
!*** ./src/files/download-file-from-stream.ts ***!
\************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ downloadFileFromStream: () => (/* binding */ downloadFileFromStream)
/* harmony export */ });
const downloadFileFromStream = async (fileName, contentStreamReference) => {
const arrayBuffer = await contentStreamReference.arrayBuffer();
const blob = new Blob([arrayBuffer]);
const url = URL.createObjectURL(blob);
const anchorElement = document.createElement('a');
anchorElement.href = url;
anchorElement.download = fileName ?? '';
anchorElement.click();
anchorElement.remove();
URL.revokeObjectURL(url);
};
/***/ }),
/***/ "./src/files/index.ts":
/*!****************************!*\
!*** ./src/files/index.ts ***!
\****************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ downloadFileFromStream: () => (/* reexport safe */ _download_file_from_stream__WEBPACK_IMPORTED_MODULE_0__.downloadFileFromStream)
/* harmony export */ });
/* harmony import */ var _download_file_from_stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./download-file-from-stream */ "./src/files/download-file-from-stream.ts");
/***/ })
/******/ });
/************************************************************************/
/******/ // 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/files.ts ***!
\**********************/
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ downloadFileFromStream: () => (/* reexport safe */ _files___WEBPACK_IMPORTED_MODULE_0__.downloadFileFromStream)
/* harmony export */ });
/* harmony import */ var _files___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./files/ */ "./src/files/index.ts");
})();
const __webpack_exports__downloadFileFromStream = __webpack_exports__.downloadFileFromStream;
export { __webpack_exports__downloadFileFromStream as downloadFileFromStream };
//# sourceMappingURL=files.entry.js.map
@@ -0,0 +1 @@
{"version":3,"file":"files.entry.js","mappings":";;;;;;;;;;;;AAAO,MAAM,sBAAsB,GAAG,KAAK,EAAE,QAAQ,EAAE,sBAAsB,EAAE,EAAE;IAC7E,MAAM,WAAW,GAAG,MAAM,sBAAsB,CAAC,WAAW,EAAE,CAAC;IAC/D,MAAM,IAAI,GAAG,IAAI,IAAI,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC;IACrC,MAAM,GAAG,GAAG,GAAG,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC;IACtC,MAAM,aAAa,GAAG,QAAQ,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC;IAClD,aAAa,CAAC,IAAI,GAAG,GAAG,CAAC;IACzB,aAAa,CAAC,QAAQ,GAAG,QAAQ,IAAI,EAAE,CAAC;IACxC,aAAa,CAAC,KAAK,EAAE,CAAC;IACtB,aAAa,CAAC,MAAM,EAAE,CAAC;IACvB,GAAG,CAAC,eAAe,CAAC,GAAG,CAAC,CAAC;AAC7B,CAAC;;;;;;;;;;;;;;;;ACV2C;;;;;;;SCA5C;SACA;;SAEA;SACA;SACA;SACA;SACA;SACA;SACA;SACA;SACA;SACA;SACA;SACA;SACA;;SAEA;SACA;;SAEA;SACA;SACA;;;;;UCtBA;UACA;UACA;UACA;UACA,yCAAyC,wCAAwC;UACjF;UACA;UACA,E;;;;;UCPA,wF;;;;;UCAA;UACA;UACA;UACA,uDAAuD,iBAAiB;UACxE;UACA,gDAAgD,aAAa;UAC7D,E;;;;;;;;;;;;;;;ACNyB","sources":["webpack://elsa-studio-dom-interop/./src/files/download-file-from-stream.ts","webpack://elsa-studio-dom-interop/./src/files/index.ts","webpack://elsa-studio-dom-interop/webpack/bootstrap","webpack://elsa-studio-dom-interop/webpack/runtime/define property getters","webpack://elsa-studio-dom-interop/webpack/runtime/hasOwnProperty shorthand","webpack://elsa-studio-dom-interop/webpack/runtime/make namespace object","webpack://elsa-studio-dom-interop/./src/files.ts"],"sourcesContent":["export const downloadFileFromStream = async (fileName, contentStreamReference) => {\n const arrayBuffer = await contentStreamReference.arrayBuffer();\n const blob = new Blob([arrayBuffer]);\n const url = URL.createObjectURL(blob);\n const anchorElement = document.createElement('a');\n anchorElement.href = url;\n anchorElement.download = fileName ?? '';\n anchorElement.click();\n anchorElement.remove();\n URL.revokeObjectURL(url);\n}","export * from './download-file-from-stream';","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","export * from \"./files/\";"],"names":[],"sourceRoot":""}
@@ -0,0 +1,101 @@
.elsa-flowchart-diagram-designer-v2 .x6-graph-background {
background-color: var(--mud-palette-surface);
}
.elsa-flowchart-diagram-designer-v2 .x6-widget-selection-box {
border: dashed 2px var(--mud-palette-gray-light);
box-shadow: none;
}
.elsa-flowchart-diagram-designer-v2 .x6-widget-selection-inner {
border: dashed 2px var(--mud-palette-gray-light);
box-shadow: none;
}
.elsa-flowchart-diagram-designer-v2 .x6-widget-transform {
border: none;
}
.elsa-flowchart-diagram-designer-v2 .elsa-snapline .x6-widget-snapline-horizontal,
.elsa-flowchart-diagram-designer-v2 .elsa-snapline .x6-widget-snapline-vertical {
stroke: var(--mud-palette-secondary);
}
.elsa-flowchart-diagram-designer-v2 .elsa-activity-wrapper-badge {
}
.elsa-flowchart-diagram-designer-v2 .elsa-activity-wrapper-badge.has-retries .mud-badge-wrapper .mud-badge {
background-color: #FFEB3B !important;
}
.elsa-flowchart-diagram-designer-v2 .elsa-activity {
height: 100%;
}
/* Use equal 16px padding all around */
.elsa-flowchart-diagram-designer-v2 .activity-grid {
display: grid;
grid-template-columns: auto 1fr auto;
align-items: center;
column-gap: 12px;
padding: 16px; /* top/right/bottom/left = 16px */
border-radius: 8px;
}
/* Icon container */
.elsa-flowchart-diagram-designer-v2 .activity-icon {
background-color: #1976d2;
width: 42px;
height: 42px;
min-width: 42px; /* enforce at least 42px */
min-height: 42px;
flex: none; /* don’t let flex or grid shrink it */
display: flex;
align-items: center;
justify-content: center;
border-radius: 4px;
}
/* Middle content (label, type, ports, description) */
.elsa-flowchart-diagram-designer-v2 .activity-content {
display: flex;
flex-direction: column;
justify-content: center;
}
/* First line: activity label stays default color */
.elsa-flowchart-diagram-designer-v2 .activity-label {
white-space: nowrap;
}
/* Second line: lighter grey to mimic original */
.elsa-flowchart-diagram-designer-v2 .activity-type {
color: var(--mud-palette-gray-light);
font-size: 0.75rem; /* slightly smaller */
white-space: nowrap;
}
/* Embedded ports row */
.elsa-flowchart-diagram-designer-v2 .activity-ports {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-top: 4px;
}
.elsa-flowchart-diagram-designer-v2 .activity-ports .mud-input.mud-input-outlined .mud-input-outlined-border {
border-style: dashed !important;
}
/* Optional description below */
.elsa-flowchart-diagram-designer-v2 .activity-description {
margin-top: 4px;
font-size: 0.75rem;
color: #666;
}
/* Menu on the right: vertically center */
.elsa-flowchart-diagram-designer-v2 .activity-menu {
align-self: center;
}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,26 @@
.elsa-flowchart-diagram-designer-v1 .x6-graph-background {
background-color: var(--mud-palette-background);
}
.elsa-flowchart-diagram-designer-v1 .x6-widget-selection-box {
border: 2px dashed var(--mud-palette-secondary);
}
.elsa-flowchart-diagram-designer-v1 .x6-widget-selection-inner {
border: 1px solid var(--mud-palette-secondary);
}
.elsa-flowchart-diagram-designer-v1 .elsa-snapline .x6-widget-snapline-horizontal,
.elsa-flowchart-diagram-designer-v1 .elsa-snapline .x6-widget-snapline-vertical {
stroke: var(--mud-palette-secondary);
}
.elsa-flowchart-diagram-designer-v1 .elsa-activity {
border-left: solid 6px var(--mud-palette-info);
filter: drop-shadow(0 4px 3px rgb(0 0 0 / 0.07)) drop-shadow(0 2px 2px rgb(0 0 0 / 0.06));
height: 100%;
}
.elsa-flowchart-diagram-designer-v1 .elsa-activity-wrapper-badge.has-retries .mud-badge-wrapper .mud-badge {
background-color: #FFEB3B !important;
}
@@ -0,0 +1,101 @@
.elsa-flowchart-diagram-designer-v2 .x6-graph-background {
background-color: var(--mud-palette-surface);
}
.elsa-flowchart-diagram-designer-v2 .x6-widget-selection-box {
border: dashed 2px var(--mud-palette-gray-light);
box-shadow: none;
}
.elsa-flowchart-diagram-designer-v2 .x6-widget-selection-inner {
border: dashed 2px var(--mud-palette-gray-light);
box-shadow: none;
}
.elsa-flowchart-diagram-designer-v2 .x6-widget-transform {
border: none;
}
.elsa-flowchart-diagram-designer-v2 .elsa-snapline .x6-widget-snapline-horizontal,
.elsa-flowchart-diagram-designer-v2 .elsa-snapline .x6-widget-snapline-vertical {
stroke: var(--mud-palette-secondary);
}
.elsa-flowchart-diagram-designer-v2 .elsa-activity-wrapper-badge {
}
.elsa-flowchart-diagram-designer-v2 .elsa-activity-wrapper-badge.has-retries .mud-badge-wrapper .mud-badge {
background-color: #FFEB3B !important;
}
.elsa-flowchart-diagram-designer-v2 .elsa-activity {
height: 100%;
}
/* Use equal 16px padding all around */
.elsa-flowchart-diagram-designer-v2 .activity-grid {
display: grid;
grid-template-columns: auto 1fr auto;
align-items: center;
column-gap: 12px;
padding: 16px; /* top/right/bottom/left = 16px */
border-radius: 8px;
}
/* Icon container */
.elsa-flowchart-diagram-designer-v2 .activity-icon {
background-color: #1976d2;
width: 42px;
height: 42px;
min-width: 42px; /* enforce at least 42px */
min-height: 42px;
flex: none; /* don’t let flex or grid shrink it */
display: flex;
align-items: center;
justify-content: center;
border-radius: 4px;
}
/* Middle content (label, type, ports, description) */
.elsa-flowchart-diagram-designer-v2 .activity-content {
display: flex;
flex-direction: column;
justify-content: center;
}
/* First line: activity label stays default color */
.elsa-flowchart-diagram-designer-v2 .activity-label {
white-space: nowrap;
}
/* Second line: lighter grey to mimic original */
.elsa-flowchart-diagram-designer-v2 .activity-type {
color: var(--mud-palette-gray-light);
font-size: 0.75rem; /* slightly smaller */
white-space: nowrap;
}
/* Embedded ports row */
.elsa-flowchart-diagram-designer-v2 .activity-ports {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-top: 4px;
}
.elsa-flowchart-diagram-designer-v2 .activity-ports .mud-input.mud-input-outlined .mud-input-outlined-border {
border-style: dashed !important;
}
/* Optional description below */
.elsa-flowchart-diagram-designer-v2 .activity-description {
margin-top: 4px;
font-size: 0.75rem;
color: #666;
}
/* Menu on the right: vertically center */
.elsa-flowchart-diagram-designer-v2 .activity-menu {
align-self: center;
}