diff --git a/src/HIP Interface/SignAndLogin/SignIn/SignIn.js b/src/HIP Interface/SignAndLogin/SignIn/SignIn.js index 23ff98b..64d0fb7 100644 --- a/src/HIP Interface/SignAndLogin/SignIn/SignIn.js +++ b/src/HIP Interface/SignAndLogin/SignIn/SignIn.js @@ -22,9 +22,9 @@ export default function SignIN() { useEffect(() => { // Parse URL query parameters and populate form fields if they exist const params = new URLSearchParams(window.location.search); - const healthcare_id = params.get("healthcare_id"); - const password = params.get("pass"); - const license = params.get("license"); + const healthcare_id = params.get("healthcare_id") || "GuestUser-001"; + const license = params.get("license") || "GuestUser-001"; + const password = params.get("pass") || "12345"; if (healthcare_id || password) { SetFormData((prev) => ({ diff --git a/static_healthcare/asset-manifest.json b/static_healthcare/asset-manifest.json index 1837645..def3f49 100644 --- a/static_healthcare/asset-manifest.json +++ b/static_healthcare/asset-manifest.json @@ -1,15 +1,15 @@ { "files": { "main.css": "/healthcare/static/css/main.2bc66790.css", - "main.js": "/healthcare/static/js/main.7a261209.js", + "main.js": "/healthcare/static/js/main.881e8db6.js", "static/media/LoginPageImage.jpg": "/healthcare/static/media/LoginPageImage.69100f83c95ebda21129.jpg", "static/media/BharatSevaLogo1.png": "/healthcare/static/media/BharatSevaLogo1.f9eb3a6fa2dd4d2d70b6.png", "index.html": "/healthcare/index.html", "main.2bc66790.css.map": "/healthcare/static/css/main.2bc66790.css.map", - "main.7a261209.js.map": "/healthcare/static/js/main.7a261209.js.map" + "main.881e8db6.js.map": "/healthcare/static/js/main.881e8db6.js.map" }, "entrypoints": [ "static/css/main.2bc66790.css", - "static/js/main.7a261209.js" + "static/js/main.881e8db6.js" ] } \ No newline at end of file diff --git a/static_healthcare/index.html b/static_healthcare/index.html index 8c755d5..0ff8e80 100644 --- a/static_healthcare/index.html +++ b/static_healthcare/index.html @@ -1 +1 @@ -
a||125d?(a.sortIndex=c,f(t,a),null===h(r)&&a===h(t)&&(B?(E(L),L=-1):B=!0,K(H,c-d))):(a.sortIndex=e,f(r,a),A||z||(A=!0,I(J)));return a};\nexports.unstable_shouldYield=M;exports.unstable_wrapCallback=function(a){var b=y;return function(){var c=y;y=b;try{return a.apply(this,arguments)}finally{y=c}}};\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/scheduler.production.min.js');\n} else {\n module.exports = require('./cjs/scheduler.development.js');\n}\n","\"use strict\";\n\n(function(){\n\n var\n buf,\n bufIdx = 0,\n hexBytes = [],\n i\n ;\n\n // Pre-calculate toString(16) for speed\n for (i = 0; i < 256; i++) {\n hexBytes[i] = (i + 0x100).toString(16).substr(1);\n }\n\n // Buffer random numbers for speed\n // Reduce memory usage by decreasing this number (min 16)\n // or improve speed by increasing this number (try 16384)\n uuid.BUFFER_SIZE = 4096;\n\n // Binary uuids\n uuid.bin = uuidBin;\n\n // Clear buffer\n uuid.clearBuffer = function() {\n buf = null;\n bufIdx = 0;\n };\n\n // Test for uuid\n uuid.test = function(uuid) {\n if (typeof uuid === 'string') {\n return /^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(uuid);\n }\n return false;\n };\n\n // Node & Browser support\n var crypt0;\n if (typeof crypto !== 'undefined') {\n crypt0 = crypto;\n } else if( (typeof window !== 'undefined') && (typeof window.msCrypto !== 'undefined')) {\n crypt0 = window.msCrypto; // IE11\n }\n\n if ((typeof module !== 'undefined') && (typeof require === 'function')) {\n crypt0 = crypt0 || require('crypto');\n module.exports = uuid;\n } else if (typeof window !== 'undefined') {\n window.uuid = uuid;\n }\n\n // Use best available PRNG\n // Also expose this so you can override it.\n uuid.randomBytes = (function(){\n if (crypt0) {\n if (crypt0.randomBytes) {\n return crypt0.randomBytes;\n }\n if (crypt0.getRandomValues) {\n if (typeof Uint8Array.prototype.slice !== 'function') {\n return function(n) {\n var bytes = new Uint8Array(n);\n crypt0.getRandomValues(bytes);\n return Array.from(bytes);\n };\n }\n return function(n) {\n var bytes = new Uint8Array(n);\n crypt0.getRandomValues(bytes);\n return bytes;\n };\n }\n }\n return function(n) {\n var i, r = [];\n for (i = 0; i < n; i++) {\n r.push(Math.floor(Math.random() * 256));\n }\n return r;\n };\n })();\n\n // Buffer some random bytes for speed\n function randomBytesBuffered(n) {\n if (!buf || ((bufIdx + n) > uuid.BUFFER_SIZE)) {\n bufIdx = 0;\n buf = uuid.randomBytes(uuid.BUFFER_SIZE);\n }\n return buf.slice(bufIdx, bufIdx += n);\n }\n\n // uuid.bin\n function uuidBin() {\n var b = randomBytesBuffered(16);\n b[6] = (b[6] & 0x0f) | 0x40;\n b[8] = (b[8] & 0x3f) | 0x80;\n return b;\n }\n\n // String UUIDv4 (Random)\n function uuid() {\n var b = uuidBin();\n return hexBytes[b[0]] + hexBytes[b[1]] +\n hexBytes[b[2]] + hexBytes[b[3]] + '-' +\n hexBytes[b[4]] + hexBytes[b[5]] + '-' +\n hexBytes[b[6]] + hexBytes[b[7]] + '-' +\n hexBytes[b[8]] + hexBytes[b[9]] + '-' +\n hexBytes[b[10]] + hexBytes[b[11]] +\n hexBytes[b[12]] + hexBytes[b[13]] +\n hexBytes[b[14]] + hexBytes[b[15]]\n ;\n }\n\n})();\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","var getProto = Object.getPrototypeOf ? (obj) => (Object.getPrototypeOf(obj)) : (obj) => (obj.__proto__);\nvar leafPrototypes;\n// create a fake namespace object\n// mode & 1: value is a module id, require it\n// mode & 2: merge all properties of value into the ns\n// mode & 4: return value when already ns object\n// mode & 16: return value when it's Promise-like\n// mode & 8|1: behave like require\n__webpack_require__.t = function(value, mode) {\n\tif(mode & 1) value = this(value);\n\tif(mode & 8) return value;\n\tif(typeof value === 'object' && value) {\n\t\tif((mode & 4) && value.__esModule) return value;\n\t\tif((mode & 16) && typeof value.then === 'function') return value;\n\t}\n\tvar ns = Object.create(null);\n\t__webpack_require__.r(ns);\n\tvar def = {};\n\tleafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];\n\tfor(var current = mode & 2 && value; typeof current == 'object' && !~leafPrototypes.indexOf(current); current = getProto(current)) {\n\t\tObject.getOwnPropertyNames(current).forEach((key) => (def[key] = () => (value[key])));\n\t}\n\tdef['default'] = () => (value);\n\t__webpack_require__.d(ns, def);\n\treturn ns;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.p = \"/healthcare/\";","////////////////////////////////////////////////////////////////////////////////\n//#region Types and Constants\n////////////////////////////////////////////////////////////////////////////////\n\n/**\n * Actions represent the type of change to a location value.\n */\nexport enum Action {\n /**\n * A POP indicates a change to an arbitrary index in the history stack, such\n * as a back or forward navigation. It does not describe the direction of the\n * navigation, only that the current index changed.\n *\n * Note: This is the default action for newly created history objects.\n */\n Pop = \"POP\",\n\n /**\n * A PUSH indicates a new entry being added to the history stack, such as when\n * a link is clicked and a new page loads. When this happens, all subsequent\n * entries in the stack are lost.\n */\n Push = \"PUSH\",\n\n /**\n * A REPLACE indicates the entry at the current index in the history stack\n * being replaced by a new one.\n */\n Replace = \"REPLACE\",\n}\n\n/**\n * The pathname, search, and hash values of a URL.\n */\nexport interface Path {\n /**\n * A URL pathname, beginning with a /.\n */\n pathname: string;\n\n /**\n * A URL search string, beginning with a ?.\n */\n search: string;\n\n /**\n * A URL fragment identifier, beginning with a #.\n */\n hash: string;\n}\n\n/**\n * An entry in a history stack. A location contains information about the\n * URL path, as well as possibly some arbitrary state and a key.\n */\nexport interface Location extends Path {\n /**\n * A value of arbitrary data associated with this location.\n */\n state: any;\n\n /**\n * A unique string associated with this location. May be used to safely store\n * and retrieve data in some other storage API, like `localStorage`.\n *\n * Note: This value is always \"default\" on the initial location.\n */\n key: string;\n}\n\n/**\n * A change to the current location.\n */\nexport interface Update {\n /**\n * The action that triggered the change.\n */\n action: Action;\n\n /**\n * The new location.\n */\n location: Location;\n\n /**\n * The delta between this location and the former location in the history stack\n */\n delta: number | null;\n}\n\n/**\n * A function that receives notifications about location changes.\n */\nexport interface Listener {\n (update: Update): void;\n}\n\n/**\n * Describes a location that is the destination of some navigation, either via\n * `history.push` or `history.replace`. May be either a URL or the pieces of a\n * URL path.\n */\nexport type To = string | Partial