@oneclick.dev/cms-kit 0.0.10 → 0.0.11
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.es.js
CHANGED
|
@@ -121644,8 +121644,10 @@ const _hoisted_7$5 = { key: 1 };
|
|
|
121644
121644
|
const _hoisted_8$3 = { class: "flex justify-end gap-2" };
|
|
121645
121645
|
const _sfc_main$25 = /* @__PURE__ */ defineComponent({
|
|
121646
121646
|
__name: "IntegrationActionBuilder",
|
|
121647
|
-
setup(__props) {
|
|
121648
|
-
|
|
121647
|
+
async setup(__props) {
|
|
121648
|
+
let __temp, __restore;
|
|
121649
|
+
const { builderState, onConfirm, onCancel } = ([__temp, __restore] = withAsyncContext(() => useIntegrationActionBuilder()), __temp = await __temp, __restore(), __temp);
|
|
121650
|
+
console.log("TESTJEEEE", builderState, builderState.value, onConfirm, onCancel);
|
|
121649
121651
|
const route = useRoute();
|
|
121650
121652
|
const { getProjectIntegrations } = useIntegrations();
|
|
121651
121653
|
const integrations = ref$1([]);
|
|
@@ -142315,8 +142317,8 @@ const __vite_glob_0_71 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.de
|
|
|
142315
142317
|
toggleVariants
|
|
142316
142318
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
142317
142319
|
function useCms() {
|
|
142318
|
-
const breadcrumbs = inject("breadcrumbs");
|
|
142319
|
-
const project = inject("currentProject");
|
|
142320
|
+
const breadcrumbs = inject$1("breadcrumbs");
|
|
142321
|
+
const project = inject$1("currentProject");
|
|
142320
142322
|
if (!breadcrumbs || !project) {
|
|
142321
142323
|
throw new Error("Not inside CMS context");
|
|
142322
142324
|
}
|