@infuro/cms-core 1.0.70 → 1.0.71
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/admin.cjs +4 -4
- package/dist/admin.js +4 -4
- package/package.json +1 -1
package/dist/admin.cjs
CHANGED
|
@@ -895,7 +895,7 @@ var init_admin_config_context = __esm({
|
|
|
895
895
|
var CMS_VERSION;
|
|
896
896
|
var init_cms_version = __esm({
|
|
897
897
|
"src/lib/cms-version.ts"() {
|
|
898
|
-
CMS_VERSION = "1.0.
|
|
898
|
+
CMS_VERSION = "1.0.71" ;
|
|
899
899
|
}
|
|
900
900
|
});
|
|
901
901
|
function useCatalogCategories(enabled = true) {
|
|
@@ -25607,16 +25607,16 @@ function OrderDetailPage({ orderId }) {
|
|
|
25607
25607
|
className: "text-gray-900 font-mono text-xs break-all"
|
|
25608
25608
|
}, p.externalReference ?? "\u2014", p.metadata?.razorpayPaymentId && /* @__PURE__ */ React.createElement("span", {
|
|
25609
25609
|
className: "block mt-0.5"
|
|
25610
|
-
}, String(p.metadata.razorpayPaymentId))))))))), order.qrToken && /* @__PURE__ */ React.createElement("section", null, /* @__PURE__ */ React.createElement("h2", {
|
|
25610
|
+
}, String(p.metadata.razorpayPaymentId))))))))), (order.qrToken || order.orderNumber) && /* @__PURE__ */ React.createElement("section", null, /* @__PURE__ */ React.createElement("h2", {
|
|
25611
25611
|
className: "text-xs font-semibold text-gray-400 uppercase tracking-wider mb-2"
|
|
25612
25612
|
}, "Order QR Code"), /* @__PURE__ */ React.createElement("div", {
|
|
25613
25613
|
className: "min-w-0 border border-gray-200 rounded-lg p-4 bg-gray-50/50 flex flex-col items-center gap-2"
|
|
25614
25614
|
}, /* @__PURE__ */ React.createElement(reactQrCode.QRCode, {
|
|
25615
|
-
value: `${typeof window !== "undefined" ? window.location.origin : ""}/track/${order.qrToken}`,
|
|
25615
|
+
value: `${typeof window !== "undefined" ? window.location.origin : ""}/track/${order.qrToken || order.orderNumber}`,
|
|
25616
25616
|
size: 180
|
|
25617
25617
|
}), /* @__PURE__ */ React.createElement("p", {
|
|
25618
25618
|
className: "text-xs text-gray-400 break-all text-center"
|
|
25619
|
-
}, order.qrToken))))
|
|
25619
|
+
}, order.qrToken || order.orderNumber))))
|
|
25620
25620
|
}), renderOrderDetailFooter ? /* @__PURE__ */ React.createElement("div", {
|
|
25621
25621
|
className: "border-t border-gray-200 px-4 py-4 sm:px-6"
|
|
25622
25622
|
}, renderOrderDetailFooter(orderId)) : null, assignModalOpen && /* @__PURE__ */ React.createElement("div", {
|
package/dist/admin.js
CHANGED
|
@@ -861,7 +861,7 @@ var init_admin_config_context = __esm({
|
|
|
861
861
|
var CMS_VERSION;
|
|
862
862
|
var init_cms_version = __esm({
|
|
863
863
|
"src/lib/cms-version.ts"() {
|
|
864
|
-
CMS_VERSION = "1.0.
|
|
864
|
+
CMS_VERSION = "1.0.71" ;
|
|
865
865
|
}
|
|
866
866
|
});
|
|
867
867
|
function useCatalogCategories(enabled = true) {
|
|
@@ -25573,16 +25573,16 @@ function OrderDetailPage({ orderId }) {
|
|
|
25573
25573
|
className: "text-gray-900 font-mono text-xs break-all"
|
|
25574
25574
|
}, p.externalReference ?? "\u2014", p.metadata?.razorpayPaymentId && /* @__PURE__ */ React.createElement("span", {
|
|
25575
25575
|
className: "block mt-0.5"
|
|
25576
|
-
}, String(p.metadata.razorpayPaymentId))))))))), order.qrToken && /* @__PURE__ */ React.createElement("section", null, /* @__PURE__ */ React.createElement("h2", {
|
|
25576
|
+
}, String(p.metadata.razorpayPaymentId))))))))), (order.qrToken || order.orderNumber) && /* @__PURE__ */ React.createElement("section", null, /* @__PURE__ */ React.createElement("h2", {
|
|
25577
25577
|
className: "text-xs font-semibold text-gray-400 uppercase tracking-wider mb-2"
|
|
25578
25578
|
}, "Order QR Code"), /* @__PURE__ */ React.createElement("div", {
|
|
25579
25579
|
className: "min-w-0 border border-gray-200 rounded-lg p-4 bg-gray-50/50 flex flex-col items-center gap-2"
|
|
25580
25580
|
}, /* @__PURE__ */ React.createElement(QRCode, {
|
|
25581
|
-
value: `${typeof window !== "undefined" ? window.location.origin : ""}/track/${order.qrToken}`,
|
|
25581
|
+
value: `${typeof window !== "undefined" ? window.location.origin : ""}/track/${order.qrToken || order.orderNumber}`,
|
|
25582
25582
|
size: 180
|
|
25583
25583
|
}), /* @__PURE__ */ React.createElement("p", {
|
|
25584
25584
|
className: "text-xs text-gray-400 break-all text-center"
|
|
25585
|
-
}, order.qrToken))))
|
|
25585
|
+
}, order.qrToken || order.orderNumber))))
|
|
25586
25586
|
}), renderOrderDetailFooter ? /* @__PURE__ */ React.createElement("div", {
|
|
25587
25587
|
className: "border-t border-gray-200 px-4 py-4 sm:px-6"
|
|
25588
25588
|
}, renderOrderDetailFooter(orderId)) : null, assignModalOpen && /* @__PURE__ */ React.createElement("div", {
|