PageSourceSearch

https://cecindia.in/build/assets/IaNo-C9JV-RoE.js

js cecindia.in collected 2026-10-07 19:33:48 UTC 9,734 bytes, 83 lines download raw bytes

1var __defProp = Object.defineProperty;
2var __getOwnPropSymbols = Object.getOwnPropertySymbols;
3var __hasOwnProp = Object.prototype.hasOwnProperty;
4var __propIsEnum = Object.prototype.propertyIsEnumerable;
5var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6var __spreadValues = (a2, b) => {
7  for (var prop in b || (b = {}))
8    if (__hasOwnProp.call(b, prop))
9      __defNormalProp(a2, prop, b[prop]);
10  if (__getOwnPropSymbols)
11    for (var prop of __getOwnPropSymbols(b)) {
12      if (__propIsEnum.call(b, prop))
13        __defNormalProp(a2, prop, b[prop]);
14    }
15  return a2;
16};
17import { u as C, r as d, j as e, B as a, aB as N, x, a as c, m as z } from "./app-BVOYVG7k.js";
18import { g as v, a as S, F as Y } from "./Fotter-D9hKnV4b.js";
19import { TopHeaderBar as A } from "./PowerAndFunction-iKhfHBCE.js";
20import { d as h } from "./dayjs.min-TyjuensG.js";
21import { u as w } from "./use-form-CWrXXJu-.js";
22import { C as g } from "./Container-BmHsjLWI.js";
23import { T as k } from "./Title-AEHZf_Pl.js";
24import { F as i, A as F, T as p, I as R } from "./CustomLink-XGyApNzz.js";
25import { I as D, a as O, b as E } from "./IconGraph-CvcoWEup.js";
26import { S as y } from "./Select-BvO4GYK6.js";
27import { T as I } from "./TextInput-CNmGFmvf.js";
28import { I as W } from "./IconRefresh-D3eNe4HJ.js";
29import { I as L } from "./IconSearch-BvAEZ284.js";
30import { T as s } from "./Table-CCCk1iFc.js";
31import { B } from "./Badge-B4uWhfqf.js";
32import "./createReactComponent-CgpWWcBx.js";
33import "./Divider-CUwLyUiu.js";
34import "./iconBase-Dq-k2Yhi.js";
35import "./ActionIcon-WquhAb2j.js";
36import "./Slider-BrKlO7kV.js";
37import "./Slider.module.css-DjQY2pQj.js";
38import "./clamp-DTmYCdls.js";
39import "./use-uncontrolled--dmjAI3_.js";
40import "./Popover-JBdGCrAF.js";
41import "./IconWorld-DP4C7mZs.js";
42import "./use-disclosure-SDaMh0AC.js";
43import "./IconUser-CocHp8Ap.js";
44import "./IconMenu2-CwOtYA5H.js";
45import "./Menu-nVDi7ttA.js";
46import "./get-auto-contrast-value-Da6zqqWm.js";
47import "./IconEye-3TvrA47U.js";
48import "./InputBase-8b8fiagz.js";
49import "./CheckIcon-DTYd4mBF.js";
50const _e = ({ data: T }) => {
51  var _a, _b, _c;
52  const t = C(), [j, _] = d.useState(null), [n, b] = d.useState({ ia_no: "", ia_year: "", case_type: "", status: "" }), l = w({ initialValues: { ia_no: "", ia_year: "", case_type: "", status: "" } }), u = (r) => () => {
53    z.open({ title: e.jsx(i, { gap: 20, align: "center", style: { color: t.colors.primary[9] }, children: e.jsx(x, { href: "/", children: e.jsx(R, { className: "nav_logo", style: { height: "50px" }, src: "/assets/images/logo_main.png" }) }) }), centered: true, size: "xl", styles: { content: { minWidth: "1400px" } }, children: e.jsx(a, { children: e.jsx("iframe", { src: `${r}`, style: { width: "100%", border: "1px solid " + t.colors.primary[1], borderRadius: "8px", overflow: "hidden", minHeight: "calc(100vh - 70px)" } }) }) });
54  }, P = l.onSubmit((r) => {
55    v("report-ia-no", _), b(r);
56  });
57  function f(r) {
58    var _a2;
59    return typeof r < "u" && (n.ia_no && (r = r.filter((o) => {
60      var _a3;
61      return (_a3 = o.ia_no) == null ? void 0 : _a3.includes(n.ia_no);
62    })), n.ia_year && (r = r.filter((o) => {
63      var _a3;
64      return (_a3 = o.ia_year) == null ? void 0 : _a3.includes(n.ia_year);
65    })), ((_a2 = n.case_type) != null ? _a2 : 0) && (r = r.filter((o) => {
66      var _a3;
67      return (_a3 = o.case_no) == null ? void 0 : _a3.includes(n.case_type);
68    })), n.status && (r = r.filter((o) => {
69      var _a3, _b2;
70      return (_b2 = (_a3 = o.status) == null ? void 0 : _a3.toUpperCase()) == null ? void 0 : _b2.includes(n.status);
71    }))), r;
72  }
73  return e.jsxs(a, { children: [e.jsx(A, { title: "", menuActiveLink: "" }), e.jsx(N, { title: "IA No. " }), e.jsxs(g, { mt: "lg", style: { minHeight: "300px", borderRadius: "4px", padding: "20px 30px", background: t.colors.primary[0] }, size: "lg", children: [e.jsx(k, { c: t.colors.dark[9], order: 2, fw: "normal", td: "underline", tt: "uppercase", ta: "center", children: "Reports" }), e.jsxs(i, { justify: "center", mt: "lg", gap: "md", children: [e.jsx(x, { href: "/case-status/application-no", children: e.jsx(c, { variant: "light", style: { border: "1px solid " + t.colors.primary[1] }, size: "md", px: "md", children: e.jsxs(i, { align: "center", gap: "md", children: [e.jsx(D, { size: 20 }), e.jsx(a, { children: "Application No" })] }) }) }), e.jsx(x, { href: "/case-status/ia-no", children: e.jsx(c, { variant: "filled", style: { border: "2px  dashed" + t.colors.primary[1] }, size: "md", px: "md", children: e.jsxs(i, { align: "center", gap: "md", children: [e.jsx(O, { size: 20 }), e.jsx(a, { children: "IA No." })] }) }) }), e.jsx(x, { href: "/case-status/party-name", children: e.jsx(c, { variant: "light", style: { border: "1px solid " + t.colors.primary[1] }, size: "md", px: "md", children: e.jsxs(i, { align: "center", gap: "md", children: [e.jsx(E, { size: 20 }), e.jsx(a, { children: "Party Name" })] }) }) })] }), e.jsx("form", { method: "POST", onSubmit: P, children: e.jsx(i, { justify: "center", mt: "lg", 
73children: e.jsxs(i, { gap: "sm", justify: "center", mt: "lg", direction: "column", style: { maxWidth: "min(100%,500px)", minWidth: "min(100%,500px)", backgroundColor: "white", backgroundImage: 'url("/casestudy-pattern.svg")', borderRadius: "8px", border: "1px solid " + t.colors.primary[1], boxShadow: "var(--mantine-shadow-sm)" }, p: "lg", children: [e.jsx(y, __spreadValues({ size: "md", placeholder: "Petition No", label: "Petition No:", data: ["WRIT PETITION (CIVIL) 202 of 1995", "WRIT PETITION (CIVIL) 435 of 2012", "WRIT PETITION (CIVIL) 562 of 2009", "WRIT PETITION (CIVIL) 4677 of 1985", "WRIT PETITION (CIVIL) 13381 of 1984", "WRIT PETITION (CIVIL) 114 of 2014", "SLP (C) NO.", "CIVIL APPEAL NO.", "Any Others"] }, l.getInputProps("case_type"))), e.jsx(I, __spreadValues({ size: "md", width: "300px", placeholder: "Enter IA No", label: "IA No:" }, l.getInputProps("ia_no"))), e.jsx(I, __spreadValues({ size: "md", placeholder: "Select IA Year", label: "IA Year:" }, l.getInputProps("ia_year"))), e.jsx(y, __spreadValues({ size: "md", placeholder: "Select Status", data: ["pending", "disposed"].map((r) => r.toUpperCase()), label: "Status:" }, l.getInputProps("status"))), e.jsxs(i, { justify: "space-evenly", gap: "md", children: [e.jsx(c, { fullWidth: true, variant: "light", style: { border: "1px solid " + t.colors.primary[1] }, size: "md", px: "md", mt: "lg", children: e.jsxs(i, { align: "center", gap: "sm", children: [e.jsx(W, { size: 20 }), e.jsx(a, { children: "Reset" })] }) }), e.jsx(c, { fullWidth: true, variant: "filled", style: { border: "1px solid " + t.colors.primary[1] }, size: "md", px: "md", mt: "lg", type: "submit", children: e.jsxs(i, { align: "center", gap: "sm", children: [e.jsx(L, { size: 20 }), e.jsx(a, { children: "Search" })] }) })] })] }) }) })] }), e.jsx(g, { style: { marginTop: "80px" }, size: "xl", children: ((_b = f((_a = (j != null ? j : []).data) != null ? _a : [])) == null ? void 0 : _b.length) ? e.jsxs(s, { striped: true, withColumnBorders: true, style: { boxShadow: "var(--mantine-shadow-sm)", borderRadius: "8px", overflow: "hidden", border: "1px solid " + t.colors.primary[1] }, children: [e.jsx(s.Thead, { style: { background: t.colors.primary[9], color: "white" }, children: e.jsxs(s.Tr, { children: [e.jsx(s.Th, { children: "IA No" }), e.jsx(s.Th, { children: "P. No" }), e.jsx(s.Th, { children: "Applicant Name" }), e.jsx(s.Th, { children: "CEC Report" }), e.jsx(s.Th, { children: "Order of the Hon'ble Court" }), e.jsx(s.Th, { children: "Status" })] }) }), e.jsx(s.Tbody, { children: (_c = f((j != null ? j : []).data)) == null ? void 0 : _c.map((r, o) => {
74    var _a2;
75    return e.jsxs(s.Tr, { children: [e.jsx(s.Td, { children: r.ia_no }), e.jsx(s.Td, { children: r.case_no }), e.jsx(s.Td, { children: r.pet_name }), e.jsx(s.Td, { children: e.jsx(i, { justify: "center", children: e.jsx(F, { c: "blue", td: "underline", onClick: u(r.cec_document_link), children: "view" }) }) }), e.jsx(s.Td, { children: typeof r.court_order_document_date == "object" ? e.jsx(d.Fragment, { children: (_a2 = r.court_order_document_date) == null ? void 0 : _a2.map((M, m) => {
76      var _a3, _b2, _c2;
77      return e.jsx(d.Fragment, { children: e.jsx(i, { justify: "center", td: "underline", c: "blue", style: { cursor: "pointer" }, children: h((_a3 = r.court_order_document_date[m]) != null ? _a3 : "").format("DD/MM/YYYY") === "01/01/1950" ? e.jsx(p, { c: "dark", td: "none", style: { cursor: "unset" }, children: "-" }) : e.jsx(p, { variant: "light", size: "sm", onClick: u((_b2 = r.court_order_document_link[m]) != null ? _b2 : ""), children: h((_c2 = r.court_order_document_date[m]) != null ? _c2 : "").format("DD/MM/YYYY") }) }) }, m);
78    }) }) : e.jsx(d.Fragment, { children: e.jsx(i, { justify: "center", td: "underline", c: "blue", style: { cursor: "pointer" }, children: h(r.court_order_document_date).format("DD/MM/YYYY") === "01/01/1950" ? e.jsx(p, { c: "dark", td: "none", style: { cursor: "unset" }, children: "-" }) : e.jsx(p, { variant: "light", size: "sm", onClick: u(r.court_order_document_link), children: h(r.court_order_document_date).format("DD/MM/YYYY") }) }) }) }), e.jsx(s.Td, { children: e.jsx(B, { variant: "dot", children: r.status }) })] }, o);
79  }) })] }) : typeof T < "u" ? e.jsxs(a, { style: { textAlign: "center" }, children: [e.jsx(S, { style: { height: "100px", width: "100px", color: t.colors.primary[9] } }), e.jsx(p, { ta: "center", size: "lg", fw: "bold", c: t.colors.dark[8], children: "N
79o Data Found" })] }) : e.jsx(e.Fragment, {}) }), e.jsx(Y, {})] });
80};
81export {
82  _e as default
83};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.