2025-12-08 14:35:28 +07:00
|
|
|
const o = /* @__PURE__ */ (() => {
|
|
|
|
|
function a(t) {
|
|
|
|
|
const s = $("#status_" + t);
|
|
|
|
|
s.html('<span class="loading loading-bars loading-sm"></span><span class="ml-[3px]">Processing...</span>'), setTimeout(() => {
|
|
|
|
|
s.html("");
|
|
|
|
|
}, 1e3);
|
|
|
|
|
}
|
|
|
|
|
function n(t) {
|
|
|
|
|
const s = $("#js-status-hottype-" + t);
|
|
|
|
|
s.html('<span class="loading loading-bars loading-sm"></span><span class="ml-[3px]">Processing...</span>'), setTimeout(() => {
|
|
|
|
|
s.html("");
|
|
|
|
|
}, 1e3);
|
|
|
|
|
}
|
|
|
|
|
return {
|
|
|
|
|
addProductToCategory: a,
|
|
|
|
|
markProductAsHot: n
|
|
|
|
|
};
|
2025-12-07 15:58:07 +07:00
|
|
|
})();
|
2025-12-08 14:35:28 +07:00
|
|
|
export {
|
|
|
|
|
o as default
|
|
|
|
|
};
|