url.js

"use strict";
/***************************************************
* Licensed Materials - Property of HCL.
* (c)Copyright HCL America, Inc. 2023-2024
****************************************************/
Object.defineProperty(exports, "__esModule", { value: true });
exports.urlQueryString = exports.urlOpen = exports.urlHistory = exports.urlGetHeader = exports.urlEncode = exports.urlDecode = exports._notes = void 0;
const tslib_1 = require("tslib");
/**
 * @file url
 * @module URL
 * @category URL
 */
const notesf_base = tslib_1.__importStar(require("../notes/url"));
const notesf = () => notesf_base;
exports._notes = notesf_base;
//-----------------------------
// Notes @functions URL
/**
 * Decodes a URL string into regular text.
 * @throws {Error} method not implemented
 * @TODO this needs to be implemented
 */
function urlDecode() {
    return notesf().URLDecode();
}
exports.urlDecode = urlDecode;
/**
 * Encodes a string into a URL-safe format.
 * @throws {Error} method not implemented
 * @TODO this needs to be implemented
 */
function urlEncode() {
    return notesf().URLEncode();
}
exports.urlEncode = urlEncode;
/**
 * Returns specific Hypertext Transfer Protocol (HTTP) header information from the
 * Uniform Resource Locator (URL). A URL is a text string used for identifying and
 * addressing a Web page.
 * @throws {Error} method not implemented
 * @TODO this needs to be implemented
 */
function urlGetHeader() {
    return notesf().URLGetHeader();
}
exports.urlGetHeader = urlGetHeader;
/**
 * Used for navigating, saving, and reloading a Uniform Resource Locator (URL)
 * history list. The URL history list keeps track of all the Web pages you have
 * visited. The history list is used for the Next and Previous buttons and for the
 * Web Tours.
 * @throws {Error} method not implemented
 * @TODO this needs to be implemented
 */
function urlHistory() {
    return notesf().URLHistory();
}
exports.urlHistory = urlHistory;
/**
 * Retrieves a World Wide Web page specified by its URL.
 * @throws {Error} method not implemented
 * @TODO this needs to be implemented
 */
function urlOpen() {
    return notesf().URLOpen();
}
exports.urlOpen = urlOpen;
/**
 * In a Web application, returns the current URL command and parameters, or the
 * value of one of the parameters.
 * @throws {Error} method not implemented
 * @TODO this needs to be implemented
 */
function urlQueryString() {
    return notesf().UrlQueryString();
}
exports.urlQueryString = urlQueryString;
//# sourceMappingURL=url.js.map