@oondemand/oon-core-front 0.3.38 → 0.3.39
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.js +55 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4972,6 +4972,60 @@ function OonApp({ config }) {
|
|
|
4972
4972
|
return /* @__PURE__ */ jsx36(OonProviders, { config, http, storage, children: /* @__PURE__ */ jsx36(RouterProvider, { router }) });
|
|
4973
4973
|
}
|
|
4974
4974
|
|
|
4975
|
+
// src/components/internal/pipelineBoardLayout.ts
|
|
4976
|
+
var PIPELINE_BOARD_STYLE_ID = "oon-core-pipeline-board-natural-height";
|
|
4977
|
+
var PIPELINE_BOARD_LAYOUT_CSS = `
|
|
4978
|
+
:where(*) > [data-oon-pipeline-board="true"] {
|
|
4979
|
+
height: auto !important;
|
|
4980
|
+
min-height: 420px;
|
|
4981
|
+
overflow-y: visible !important;
|
|
4982
|
+
align-items: stretch !important;
|
|
4983
|
+
}
|
|
4984
|
+
|
|
4985
|
+
:where(*) > [data-oon-pipeline-board="true"] > * {
|
|
4986
|
+
align-self: stretch;
|
|
4987
|
+
}
|
|
4988
|
+
|
|
4989
|
+
:where(*):has(> [data-oon-pipeline-board="true"]) {
|
|
4990
|
+
display: grid;
|
|
4991
|
+
grid-template-areas: "oon-pipeline-board";
|
|
4992
|
+
align-items: start;
|
|
4993
|
+
}
|
|
4994
|
+
|
|
4995
|
+
:where(*):has(> [data-oon-pipeline-board="true"]) > [data-oon-pipeline-board="true"] {
|
|
4996
|
+
grid-area: oon-pipeline-board;
|
|
4997
|
+
}
|
|
4998
|
+
|
|
4999
|
+
:where(*):has(> [data-oon-pipeline-board="true"]) > button[aria-label="Deslizar quadro para a esquerda"],
|
|
5000
|
+
:where(*):has(> [data-oon-pipeline-board="true"]) > button[aria-label="Deslizar quadro para a direita"] {
|
|
5001
|
+
grid-area: oon-pipeline-board;
|
|
5002
|
+
position: sticky !important;
|
|
5003
|
+
top: calc(50vh - 17px) !important;
|
|
5004
|
+
right: auto !important;
|
|
5005
|
+
left: auto !important;
|
|
5006
|
+
align-self: start;
|
|
5007
|
+
transform: none !important;
|
|
5008
|
+
z-index: 3;
|
|
5009
|
+
}
|
|
5010
|
+
|
|
5011
|
+
:where(*):has(> [data-oon-pipeline-board="true"]) > button[aria-label="Deslizar quadro para a esquerda"] {
|
|
5012
|
+
justify-self: start;
|
|
5013
|
+
margin-left: 8px;
|
|
5014
|
+
}
|
|
5015
|
+
|
|
5016
|
+
:where(*):has(> [data-oon-pipeline-board="true"]) > button[aria-label="Deslizar quadro para a direita"] {
|
|
5017
|
+
justify-self: end;
|
|
5018
|
+
margin-right: 8px;
|
|
5019
|
+
}
|
|
5020
|
+
`;
|
|
5021
|
+
function installPipelineBoardLayoutStyles(targetDocument = document) {
|
|
5022
|
+
if (targetDocument.getElementById(PIPELINE_BOARD_STYLE_ID)) return;
|
|
5023
|
+
const style = targetDocument.createElement("style");
|
|
5024
|
+
style.id = PIPELINE_BOARD_STYLE_ID;
|
|
5025
|
+
style.textContent = PIPELINE_BOARD_LAYOUT_CSS;
|
|
5026
|
+
targetDocument.head.appendChild(style);
|
|
5027
|
+
}
|
|
5028
|
+
|
|
4975
5029
|
// src/start.tsx
|
|
4976
5030
|
import { jsx as jsx37 } from "react/jsx-runtime";
|
|
4977
5031
|
function validateConfig(config) {
|
|
@@ -5002,6 +5056,7 @@ function hardenConsole(config) {
|
|
|
5002
5056
|
function start(config) {
|
|
5003
5057
|
validateConfig(config);
|
|
5004
5058
|
applyDocumentMeta(config);
|
|
5059
|
+
installPipelineBoardLayoutStyles();
|
|
5005
5060
|
hardenConsole(config);
|
|
5006
5061
|
const rootId = config.rootElementId ?? "root";
|
|
5007
5062
|
const el = document.getElementById(rootId);
|