@vicacha-devs/medusa-plugin-stories 0.0.1 → 0.1.1
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.
|
@@ -4661,6 +4661,15 @@ var plugin = {
|
|
|
4661
4661
|
translationNs: config$2.translationNs,
|
|
4662
4662
|
permissions: void 0
|
|
4663
4663
|
},
|
|
4664
|
+
{
|
|
4665
|
+
label: config$3.label,
|
|
4666
|
+
icon: config$3.icon,
|
|
4667
|
+
path: "/stories/analytics",
|
|
4668
|
+
nested: void 0,
|
|
4669
|
+
rank: void 0,
|
|
4670
|
+
translationNs: config$3.translationNs,
|
|
4671
|
+
permissions: void 0
|
|
4672
|
+
},
|
|
4664
4673
|
{
|
|
4665
4674
|
label: config$1.label,
|
|
4666
4675
|
icon: config$1.icon,
|
|
@@ -4678,15 +4687,6 @@ var plugin = {
|
|
|
4678
4687
|
rank: void 0,
|
|
4679
4688
|
translationNs: config.translationNs,
|
|
4680
4689
|
permissions: void 0
|
|
4681
|
-
},
|
|
4682
|
-
{
|
|
4683
|
-
label: config$3.label,
|
|
4684
|
-
icon: config$3.icon,
|
|
4685
|
-
path: "/stories/analytics",
|
|
4686
|
-
nested: void 0,
|
|
4687
|
-
rank: void 0,
|
|
4688
|
-
translationNs: config$3.translationNs,
|
|
4689
|
-
permissions: void 0
|
|
4690
4690
|
}
|
|
4691
4691
|
] },
|
|
4692
4692
|
formModule: { customFields: {} },
|
|
@@ -2467,48 +2467,6 @@ var GuardedStoriesCanvasPage = () => /* @__PURE__ */ jsx(RbacGuard, {
|
|
|
2467
2467
|
permission: "stories.read",
|
|
2468
2468
|
children: /* @__PURE__ */ jsx(StoriesCanvasPage, {})
|
|
2469
2469
|
});
|
|
2470
|
-
// src/admin/routes/stories/stickers/page.tsx
|
|
2471
|
-
var StoriesStickersPage = () => {
|
|
2472
|
-
const studio = useStoriesStudio();
|
|
2473
|
-
return /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(Toaster, {}), /* @__PURE__ */ jsx(LayoutComposer, {
|
|
2474
|
-
widgetsZonePrefix: "stories.stickers",
|
|
2475
|
-
preferredLayoutId: CORE_LAYOUT_IDS.TWO_COLUMN,
|
|
2476
|
-
data: studio.selectedSlide,
|
|
2477
|
-
sections: {
|
|
2478
|
-
main: /* @__PURE__ */ jsx(LayoutComposer.Entry, {
|
|
2479
|
-
id: "StickerBuilderSection",
|
|
2480
|
-
children: /* @__PURE__ */ jsx(StickerBuilderSection, {
|
|
2481
|
-
selectedSlide: studio.selectedSlide,
|
|
2482
|
-
stickerForm: studio.stickerForm,
|
|
2483
|
-
onStickerFormChange: studio.setStickerForm,
|
|
2484
|
-
isSaving: studio.isSavingSticker,
|
|
2485
|
-
onAddSticker: () => void studio.handleAddSticker()
|
|
2486
|
-
})
|
|
2487
|
-
}),
|
|
2488
|
-
side: /* @__PURE__ */ jsx(LayoutComposer.Entry, {
|
|
2489
|
-
id: "StickerActiveListSection",
|
|
2490
|
-
children: /* @__PURE__ */ jsx(StickerActiveListSection, {
|
|
2491
|
-
selectedSlide: studio.selectedSlide,
|
|
2492
|
-
onRemoveSticker: (stickerId) => void studio.handleRemoveSticker(stickerId)
|
|
2493
|
-
})
|
|
2494
|
-
})
|
|
2495
|
-
}
|
|
2496
|
-
})] });
|
|
2497
|
-
};
|
|
2498
|
-
var Breadcrumb$1 = () => {
|
|
2499
|
-
const { t } = useTranslation();
|
|
2500
|
-
return t("tabs.stickers");
|
|
2501
|
-
};
|
|
2502
|
-
var config$1 = defineRouteConfig({
|
|
2503
|
-
label: "tabs.stickers",
|
|
2504
|
-
translationNs: "stories",
|
|
2505
|
-
icon: Tag
|
|
2506
|
-
});
|
|
2507
|
-
var handle$1 = { breadcrumb: () => /* @__PURE__ */ jsx(Breadcrumb$1, {}) };
|
|
2508
|
-
var GuardedStoriesStickersPage = () => /* @__PURE__ */ jsx(RbacGuard, {
|
|
2509
|
-
permission: "stories.read",
|
|
2510
|
-
children: /* @__PURE__ */ jsx(StoriesStickersPage, {})
|
|
2511
|
-
});
|
|
2512
2470
|
// src/admin/routes/stories/rings/page.tsx
|
|
2513
2471
|
var StoriesRingsPage = () => {
|
|
2514
2472
|
const navigate = useNavigate();
|
|
@@ -2547,16 +2505,16 @@ var StoriesRingsPage = () => {
|
|
|
2547
2505
|
}
|
|
2548
2506
|
})] });
|
|
2549
2507
|
};
|
|
2550
|
-
var Breadcrumb = () => {
|
|
2508
|
+
var Breadcrumb$1 = () => {
|
|
2551
2509
|
const { t } = useTranslation();
|
|
2552
2510
|
return t("ringsTab.previewTitle");
|
|
2553
2511
|
};
|
|
2554
|
-
var config = defineRouteConfig({
|
|
2512
|
+
var config$1 = defineRouteConfig({
|
|
2555
2513
|
label: "ringsTab.previewTitle",
|
|
2556
2514
|
translationNs: "stories",
|
|
2557
2515
|
icon: BuildingStorefront
|
|
2558
2516
|
});
|
|
2559
|
-
var handle = { breadcrumb: () => /* @__PURE__ */ jsx(Breadcrumb, {}) };
|
|
2517
|
+
var handle$1 = { breadcrumb: () => /* @__PURE__ */ jsx(Breadcrumb$1, {}) };
|
|
2560
2518
|
var GuardedStoriesRingsPage = () => /* @__PURE__ */ jsx(RbacGuard, {
|
|
2561
2519
|
permission: "stories.read",
|
|
2562
2520
|
children: /* @__PURE__ */ jsx(StoriesRingsPage, {})
|
|
@@ -2597,6 +2555,48 @@ var GuardedStoryRingCreateDrawer = () => /* @__PURE__ */ jsx(RbacGuard, {
|
|
|
2597
2555
|
permission: "stories.write",
|
|
2598
2556
|
children: /* @__PURE__ */ jsx(StoryRingCreateDrawer, {})
|
|
2599
2557
|
});
|
|
2558
|
+
// src/admin/routes/stories/stickers/page.tsx
|
|
2559
|
+
var StoriesStickersPage = () => {
|
|
2560
|
+
const studio = useStoriesStudio();
|
|
2561
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(Toaster, {}), /* @__PURE__ */ jsx(LayoutComposer, {
|
|
2562
|
+
widgetsZonePrefix: "stories.stickers",
|
|
2563
|
+
preferredLayoutId: CORE_LAYOUT_IDS.TWO_COLUMN,
|
|
2564
|
+
data: studio.selectedSlide,
|
|
2565
|
+
sections: {
|
|
2566
|
+
main: /* @__PURE__ */ jsx(LayoutComposer.Entry, {
|
|
2567
|
+
id: "StickerBuilderSection",
|
|
2568
|
+
children: /* @__PURE__ */ jsx(StickerBuilderSection, {
|
|
2569
|
+
selectedSlide: studio.selectedSlide,
|
|
2570
|
+
stickerForm: studio.stickerForm,
|
|
2571
|
+
onStickerFormChange: studio.setStickerForm,
|
|
2572
|
+
isSaving: studio.isSavingSticker,
|
|
2573
|
+
onAddSticker: () => void studio.handleAddSticker()
|
|
2574
|
+
})
|
|
2575
|
+
}),
|
|
2576
|
+
side: /* @__PURE__ */ jsx(LayoutComposer.Entry, {
|
|
2577
|
+
id: "StickerActiveListSection",
|
|
2578
|
+
children: /* @__PURE__ */ jsx(StickerActiveListSection, {
|
|
2579
|
+
selectedSlide: studio.selectedSlide,
|
|
2580
|
+
onRemoveSticker: (stickerId) => void studio.handleRemoveSticker(stickerId)
|
|
2581
|
+
})
|
|
2582
|
+
})
|
|
2583
|
+
}
|
|
2584
|
+
})] });
|
|
2585
|
+
};
|
|
2586
|
+
var Breadcrumb = () => {
|
|
2587
|
+
const { t } = useTranslation();
|
|
2588
|
+
return t("tabs.stickers");
|
|
2589
|
+
};
|
|
2590
|
+
var config = defineRouteConfig({
|
|
2591
|
+
label: "tabs.stickers",
|
|
2592
|
+
translationNs: "stories",
|
|
2593
|
+
icon: Tag
|
|
2594
|
+
});
|
|
2595
|
+
var handle = { breadcrumb: () => /* @__PURE__ */ jsx(Breadcrumb, {}) };
|
|
2596
|
+
var GuardedStoriesStickersPage = () => /* @__PURE__ */ jsx(RbacGuard, {
|
|
2597
|
+
permission: "stories.read",
|
|
2598
|
+
children: /* @__PURE__ */ jsx(StoriesStickersPage, {})
|
|
2599
|
+
});
|
|
2600
2600
|
var ar_default = {
|
|
2601
2601
|
nav: { "label": "استوديو القصص" },
|
|
2602
2602
|
header: {
|
|
@@ -4618,28 +4618,28 @@ var plugin = {
|
|
|
4618
4618
|
}
|
|
4619
4619
|
},
|
|
4620
4620
|
{
|
|
4621
|
-
Component:
|
|
4622
|
-
path: "/stories/
|
|
4621
|
+
Component: GuardedStoriesRingsPage,
|
|
4622
|
+
path: "/stories/rings",
|
|
4623
4623
|
handle: {
|
|
4624
4624
|
label: config$1.label,
|
|
4625
4625
|
translationNs: config$1.translationNs,
|
|
4626
4626
|
permissions: config$1.permissions,
|
|
4627
4627
|
...handle$1
|
|
4628
|
-
}
|
|
4628
|
+
},
|
|
4629
|
+
children: [{
|
|
4630
|
+
Component: GuardedStoryRingCreateDrawer,
|
|
4631
|
+
path: "/stories/rings/create"
|
|
4632
|
+
}]
|
|
4629
4633
|
},
|
|
4630
4634
|
{
|
|
4631
|
-
Component:
|
|
4632
|
-
path: "/stories/
|
|
4635
|
+
Component: GuardedStoriesStickersPage,
|
|
4636
|
+
path: "/stories/stickers",
|
|
4633
4637
|
handle: {
|
|
4634
4638
|
label: config.label,
|
|
4635
4639
|
translationNs: config.translationNs,
|
|
4636
4640
|
permissions: config.permissions,
|
|
4637
4641
|
...handle
|
|
4638
|
-
}
|
|
4639
|
-
children: [{
|
|
4640
|
-
Component: GuardedStoryRingCreateDrawer,
|
|
4641
|
-
path: "/stories/rings/create"
|
|
4642
|
-
}]
|
|
4642
|
+
}
|
|
4643
4643
|
}
|
|
4644
4644
|
] },
|
|
4645
4645
|
menuItemModule: { menuItems: [
|
|
@@ -4671,21 +4671,21 @@ var plugin = {
|
|
|
4671
4671
|
permissions: void 0
|
|
4672
4672
|
},
|
|
4673
4673
|
{
|
|
4674
|
-
label: config.label,
|
|
4675
|
-
icon: config.icon,
|
|
4674
|
+
label: config$1.label,
|
|
4675
|
+
icon: config$1.icon,
|
|
4676
4676
|
path: "/stories/rings",
|
|
4677
4677
|
nested: void 0,
|
|
4678
4678
|
rank: void 0,
|
|
4679
|
-
translationNs: config.translationNs,
|
|
4679
|
+
translationNs: config$1.translationNs,
|
|
4680
4680
|
permissions: void 0
|
|
4681
4681
|
},
|
|
4682
4682
|
{
|
|
4683
|
-
label: config
|
|
4684
|
-
icon: config
|
|
4683
|
+
label: config.label,
|
|
4684
|
+
icon: config.icon,
|
|
4685
4685
|
path: "/stories/stickers",
|
|
4686
4686
|
nested: void 0,
|
|
4687
4687
|
rank: void 0,
|
|
4688
|
-
translationNs: config
|
|
4688
|
+
translationNs: config.translationNs,
|
|
4689
4689
|
permissions: void 0
|
|
4690
4690
|
}
|
|
4691
4691
|
] },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vicacha-devs/medusa-plugin-stories",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Shoppable Stories, Highlights Rings & Interactive 9:16 Video/Image Player plugin for Medusa v2 — Story Groups, Multi-Slide Timelines, X/Y Product Hotspots, Interactive Stickers (Polls, Countdowns, Coupons), Conversion Funnel Analytics, Storefront React UI Kit, Typed SDK & 9:16 Admin Studio.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"highlights",
|
|
@@ -17,6 +17,11 @@
|
|
|
17
17
|
],
|
|
18
18
|
"license": "MIT",
|
|
19
19
|
"author": "Vicacha Devs",
|
|
20
|
+
"repository": {
|
|
21
|
+
"type": "git",
|
|
22
|
+
"url": "git+https://github.com/Vicacha-Devs/medusa-plugins.git",
|
|
23
|
+
"directory": "packages/stories"
|
|
24
|
+
},
|
|
20
25
|
"files": [
|
|
21
26
|
".medusa/server",
|
|
22
27
|
"src",
|