json-crud-ui-comp-table 1.2.5
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/LICENSE +21 -0
- package/README.md +151 -0
- package/bin/cli.js +12 -0
- package/bin/core/getLatestVersion.js +13 -0
- package/bin/core/loadRunner.js +9 -0
- package/bin/v1/commands/HeaderOnly/steps/alterJson.js +66 -0
- package/bin/v1/commands/HeaderOnly/steps/announce.js +3 -0
- package/bin/v1/commands/HeaderOnly/steps/checks.js +21 -0
- package/bin/v1/commands/HeaderOnly/steps/createProject.js +5 -0
- package/bin/v1/commands/HeaderOnly/steps/locateDestination.js +5 -0
- package/bin/v1/commands/HeaderOnly/steps/locateSource.js +32 -0
- package/bin/v1/commands/HeaderOnly/template/v5/Index/Configs/ShowAll/config.json +60 -0
- package/bin/v1/commands/HeaderOnly/template/v5/Index/Configs/WithSearch/config.json +66 -0
- package/bin/v1/commands/HeaderOnly/template/v5/Index/Configs/WithSerial/config.json +63 -0
- package/bin/v1/commands/HeaderOnly/template/v5/Index/FormLoad/DomContentLoaded/AddListeners/ImportHtmlId/FetchAsGet/AfterFetch/For200Res/entryFile.js +6 -0
- package/bin/v1/commands/HeaderOnly/template/v5/Index/FormLoad/DomContentLoaded/AddListeners/ImportHtmlId/FetchAsGet/AfterFetch/entryFile.js +11 -0
- package/bin/v1/commands/HeaderOnly/template/v5/Index/FormLoad/DomContentLoaded/AddListeners/ImportHtmlId/FetchAsGet/AfterFetch/status200.js +7 -0
- package/bin/v1/commands/HeaderOnly/template/v5/Index/FormLoad/DomContentLoaded/AddListeners/ImportHtmlId/FetchAsGet/AfterFetch/status401.js +23 -0
- package/bin/v1/commands/HeaderOnly/template/v5/Index/FormLoad/DomContentLoaded/AddListeners/ImportHtmlId/FetchAsGet/AfterFetch/status409.js +9 -0
- package/bin/v1/commands/HeaderOnly/template/v5/Index/FormLoad/DomContentLoaded/AddListeners/ImportHtmlId/FetchAsGet/AfterFetch/url.json +4 -0
- package/bin/v1/commands/HeaderOnly/template/v5/Index/FormLoad/DomContentLoaded/AddListeners/ImportHtmlId/FetchAsGet/fetchFuncs.js +12 -0
- package/bin/v1/commands/HeaderOnly/template/v5/Index/FormLoad/DomContentLoaded/AddListeners/ImportHtmlId/FetchAsGet/getUrl.json +3 -0
- package/bin/v1/commands/HeaderOnly/template/v5/Index/FormLoad/DomContentLoaded/AddListeners/ImportHtmlId/FetchAsGet/start.js +10 -0
- package/bin/v1/commands/HeaderOnly/template/v5/Index/FormLoad/DomContentLoaded/AddListeners/ImportHtmlId/FetchStockItems/AfterFetch/entryFile.js +11 -0
- package/bin/v1/commands/HeaderOnly/template/v5/Index/FormLoad/DomContentLoaded/AddListeners/ImportHtmlId/FetchStockItems/AfterFetch/status200.js +7 -0
- package/bin/v1/commands/HeaderOnly/template/v5/Index/FormLoad/DomContentLoaded/AddListeners/ImportHtmlId/FetchStockItems/AfterFetch/status401.js +23 -0
- package/bin/v1/commands/HeaderOnly/template/v5/Index/FormLoad/DomContentLoaded/AddListeners/ImportHtmlId/FetchStockItems/AfterFetch/status409.js +9 -0
- package/bin/v1/commands/HeaderOnly/template/v5/Index/FormLoad/DomContentLoaded/AddListeners/ImportHtmlId/FetchStockItems/AfterFetch/url.json +4 -0
- package/bin/v1/commands/HeaderOnly/template/v5/Index/FormLoad/DomContentLoaded/AddListeners/ImportHtmlId/FetchStockItems/fetchFuncs.js +12 -0
- package/bin/v1/commands/HeaderOnly/template/v5/Index/FormLoad/DomContentLoaded/AddListeners/ImportHtmlId/FetchStockItems/getUrl.json +4 -0
- package/bin/v1/commands/HeaderOnly/template/v5/Index/FormLoad/DomContentLoaded/AddListeners/ImportHtmlId/FetchStockItems/start.js +10 -0
- package/bin/v1/commands/HeaderOnly/template/v5/Index/FormLoad/DomContentLoaded/AddListeners/ImportHtmlId/clickFunc.js +9 -0
- package/bin/v1/commands/HeaderOnly/template/v5/Index/FormLoad/DomContentLoaded/AddListeners/ImportHtmlId/start.js +9 -0
- package/bin/v1/commands/HeaderOnly/template/v5/Index/FormLoad/DomContentLoaded/AddListeners/TallyDownId/clickFunc.js +7 -0
- package/bin/v1/commands/HeaderOnly/template/v5/Index/FormLoad/DomContentLoaded/AddListeners/TallyDownId/start.js +11 -0
- package/bin/v1/commands/HeaderOnly/template/v5/Index/FormLoad/DomContentLoaded/AddListeners/TallyUpId/clickFunc.js +7 -0
- package/bin/v1/commands/HeaderOnly/template/v5/Index/FormLoad/DomContentLoaded/AddListeners/TallyUpId/start.js +11 -0
- package/bin/v1/commands/HeaderOnly/template/v5/Index/FormLoad/DomContentLoaded/AddListeners/start.js +11 -0
- package/bin/v1/commands/HeaderOnly/template/v5/Index/FormLoad/DomContentLoaded/CommonFuncs/afterHeadSave.js +33 -0
- package/bin/v1/commands/HeaderOnly/template/v5/Index/FormLoad/DomContentLoaded/CommonFuncs/onSuccess.js +13 -0
- package/bin/v1/commands/HeaderOnly/template/v5/Index/FormLoad/DomContentLoaded/buildHeader.js +12 -0
- package/bin/v1/commands/HeaderOnly/template/v5/Index/FormLoad/DomContentLoaded/runAfterDomLoad.js +21 -0
- package/bin/v1/commands/HeaderOnly/template/v5/Index/FormLoad/DomContentLoaded/start.js +7 -0
- package/bin/v1/commands/HeaderOnly/template/v5/Index/FormLoad/start.js +5 -0
- package/bin/v1/commands/HeaderOnly/template/v5/Index/headers.json +68 -0
- package/bin/v1/commands/HeaderOnly/template/v5/Index/start.js +7 -0
- package/bin/v1/commands/HeaderOnly/template/v5/Index/tallyStatus.js +53 -0
- package/bin/v1/commands/HeaderOnly/template/v5/index.html +97 -0
- package/bin/v1/commands/HeaderOnly/template/v5/loadCss.js +55 -0
- package/bin/v1/commands/HeaderOnly/template/v5/loadJs.js +55 -0
- package/bin/v1/commands/HeaderOnly/template/v5/script.js +165 -0
- package/bin/v1/commands/HeaderOnly/template/v5/tailwind-3-min.css +1 -0
- package/bin/v1/commands/HeaderOnly/template/v5/tailwind-3.css +1063 -0
- package/bin/v1/commands/HeaderOnly/template/v6/Index/Configs/ShowAll/config.json +60 -0
- package/bin/v1/commands/HeaderOnly/template/v6/Index/Configs/WithSearch/config.json +66 -0
- package/bin/v1/commands/HeaderOnly/template/v6/Index/Configs/WithSerial/config.json +63 -0
- package/bin/v1/commands/HeaderOnly/template/v6/Index/FormLoad/DomContentLoaded/AddListeners/ImportHtmlId/FetchAsGet/AfterFetch/For200Res/entryFile.js +6 -0
- package/bin/v1/commands/HeaderOnly/template/v6/Index/FormLoad/DomContentLoaded/AddListeners/ImportHtmlId/FetchAsGet/AfterFetch/entryFile.js +11 -0
- package/bin/v1/commands/HeaderOnly/template/v6/Index/FormLoad/DomContentLoaded/AddListeners/ImportHtmlId/FetchAsGet/AfterFetch/status200.js +7 -0
- package/bin/v1/commands/HeaderOnly/template/v6/Index/FormLoad/DomContentLoaded/AddListeners/ImportHtmlId/FetchAsGet/AfterFetch/status401.js +23 -0
- package/bin/v1/commands/HeaderOnly/template/v6/Index/FormLoad/DomContentLoaded/AddListeners/ImportHtmlId/FetchAsGet/AfterFetch/status409.js +9 -0
- package/bin/v1/commands/HeaderOnly/template/v6/Index/FormLoad/DomContentLoaded/AddListeners/ImportHtmlId/FetchAsGet/AfterFetch/url.json +4 -0
- package/bin/v1/commands/HeaderOnly/template/v6/Index/FormLoad/DomContentLoaded/AddListeners/ImportHtmlId/FetchAsGet/fetchFuncs.js +12 -0
- package/bin/v1/commands/HeaderOnly/template/v6/Index/FormLoad/DomContentLoaded/AddListeners/ImportHtmlId/FetchAsGet/getUrl.json +3 -0
- package/bin/v1/commands/HeaderOnly/template/v6/Index/FormLoad/DomContentLoaded/AddListeners/ImportHtmlId/FetchAsGet/start.js +10 -0
- package/bin/v1/commands/HeaderOnly/template/v6/Index/FormLoad/DomContentLoaded/AddListeners/ImportHtmlId/FetchStockItems/AfterFetch/entryFile.js +11 -0
- package/bin/v1/commands/HeaderOnly/template/v6/Index/FormLoad/DomContentLoaded/AddListeners/ImportHtmlId/FetchStockItems/AfterFetch/status200.js +7 -0
- package/bin/v1/commands/HeaderOnly/template/v6/Index/FormLoad/DomContentLoaded/AddListeners/ImportHtmlId/FetchStockItems/AfterFetch/status401.js +23 -0
- package/bin/v1/commands/HeaderOnly/template/v6/Index/FormLoad/DomContentLoaded/AddListeners/ImportHtmlId/FetchStockItems/AfterFetch/status409.js +9 -0
- package/bin/v1/commands/HeaderOnly/template/v6/Index/FormLoad/DomContentLoaded/AddListeners/ImportHtmlId/FetchStockItems/AfterFetch/url.json +4 -0
- package/bin/v1/commands/HeaderOnly/template/v6/Index/FormLoad/DomContentLoaded/AddListeners/ImportHtmlId/FetchStockItems/fetchFuncs.js +12 -0
- package/bin/v1/commands/HeaderOnly/template/v6/Index/FormLoad/DomContentLoaded/AddListeners/ImportHtmlId/FetchStockItems/getUrl.json +4 -0
- package/bin/v1/commands/HeaderOnly/template/v6/Index/FormLoad/DomContentLoaded/AddListeners/ImportHtmlId/FetchStockItems/start.js +10 -0
- package/bin/v1/commands/HeaderOnly/template/v6/Index/FormLoad/DomContentLoaded/AddListeners/ImportHtmlId/clickFunc.js +9 -0
- package/bin/v1/commands/HeaderOnly/template/v6/Index/FormLoad/DomContentLoaded/AddListeners/ImportHtmlId/start.js +9 -0
- package/bin/v1/commands/HeaderOnly/template/v6/Index/FormLoad/DomContentLoaded/AddListeners/TallyDownId/clickFunc.js +7 -0
- package/bin/v1/commands/HeaderOnly/template/v6/Index/FormLoad/DomContentLoaded/AddListeners/TallyDownId/start.js +11 -0
- package/bin/v1/commands/HeaderOnly/template/v6/Index/FormLoad/DomContentLoaded/AddListeners/TallyUpId/clickFunc.js +7 -0
- package/bin/v1/commands/HeaderOnly/template/v6/Index/FormLoad/DomContentLoaded/AddListeners/TallyUpId/start.js +11 -0
- package/bin/v1/commands/HeaderOnly/template/v6/Index/FormLoad/DomContentLoaded/AddListeners/start.js +11 -0
- package/bin/v1/commands/HeaderOnly/template/v6/Index/FormLoad/DomContentLoaded/CommonFuncs/afterHeadSave.js +33 -0
- package/bin/v1/commands/HeaderOnly/template/v6/Index/FormLoad/DomContentLoaded/CommonFuncs/onSuccess.js +13 -0
- package/bin/v1/commands/HeaderOnly/template/v6/Index/FormLoad/DomContentLoaded/buildHeader.js +12 -0
- package/bin/v1/commands/HeaderOnly/template/v6/Index/FormLoad/DomContentLoaded/runAfterDomLoad.js +30 -0
- package/bin/v1/commands/HeaderOnly/template/v6/Index/FormLoad/DomContentLoaded/start.js +7 -0
- package/bin/v1/commands/HeaderOnly/template/v6/Index/FormLoad/start.js +5 -0
- package/bin/v1/commands/HeaderOnly/template/v6/Index/headers.json +68 -0
- package/bin/v1/commands/HeaderOnly/template/v6/Index/start.js +7 -0
- package/bin/v1/commands/HeaderOnly/template/v6/Index/tallyStatus.js +53 -0
- package/bin/v1/commands/HeaderOnly/template/v6/index.html +97 -0
- package/bin/v1/commands/HeaderOnly/template/v6/loadCss.js +55 -0
- package/bin/v1/commands/HeaderOnly/template/v6/loadJs.js +55 -0
- package/bin/v1/commands/HeaderOnly/template/v6/script.js +178 -0
- package/bin/v1/commands/HeaderOnly/template/v6/tailwind-3-min.css +1 -0
- package/bin/v1/commands/HeaderOnly/template/v6/tailwind-3.css +1063 -0
- package/bin/v1/commands/ShowAll/steps/announce.js +3 -0
- package/bin/v1/commands/ShowAll/steps/checks.js +21 -0
- package/bin/v1/commands/ShowAll/steps/createProject.js +5 -0
- package/bin/v1/commands/ShowAll/steps/locateDestination.js +5 -0
- package/bin/v1/commands/ShowAll/steps/locateSource.js +32 -0
- package/bin/v1/commands/ShowAll/steps/resolveFolderName.js +17 -0
- package/bin/v1/commands/ShowAll/template/v1/Index/FormLoad/DomContentLoaded/BuildTable/buildMenuItem.js +28 -0
- package/bin/v1/commands/ShowAll/template/v1/Index/FormLoad/DomContentLoaded/BuildTable/callKSTable.js +9 -0
- package/bin/v1/commands/ShowAll/template/v1/Index/FormLoad/DomContentLoaded/BuildTable/getKSTableConfig.js +15 -0
- package/bin/v1/commands/ShowAll/template/v1/Index/FormLoad/DomContentLoaded/BuildTable/index.js +12 -0
- package/bin/v1/commands/ShowAll/template/v1/Index/FormLoad/DomContentLoaded/start.js +5 -0
- package/bin/v1/commands/ShowAll/template/v1/Index/FormLoad/start.js +5 -0
- package/bin/v1/commands/ShowAll/template/v1/Index/start.js +7 -0
- package/bin/v1/commands/ShowAll/template/v1/config.json +77 -0
- package/bin/v1/commands/ShowAll/template/v1/index.html +51 -0
- package/bin/v1/commands/ShowAll/template/v2/Index/FormLoad/DomContentLoaded/BuildTable/callKSTable.js +12 -0
- package/bin/v1/commands/ShowAll/template/v2/Index/FormLoad/DomContentLoaded/BuildTable/getKSTableConfig.js +7 -0
- package/bin/v1/commands/ShowAll/template/v2/Index/FormLoad/DomContentLoaded/BuildTable/index.js +12 -0
- package/bin/v1/commands/ShowAll/template/v2/Index/FormLoad/DomContentLoaded/start.js +5 -0
- package/bin/v1/commands/ShowAll/template/v2/Index/FormLoad/start.js +5 -0
- package/bin/v1/commands/ShowAll/template/v2/Index/start.js +7 -0
- package/bin/v1/commands/ShowAll/template/v2/config.json +59 -0
- package/bin/v1/commands/ShowAll/template/v2/index.html +58 -0
- package/bin/v1/commands/ShowAllWithSerial/steps/announce.js +3 -0
- package/bin/v1/commands/ShowAllWithSerial/steps/checks.js +21 -0
- package/bin/v1/commands/ShowAllWithSerial/steps/createProject.js +5 -0
- package/bin/v1/commands/ShowAllWithSerial/steps/locateDestination.js +5 -0
- package/bin/v1/commands/ShowAllWithSerial/steps/locateSource.js +32 -0
- package/bin/v1/commands/ShowAllWithSerial/steps/resolveFolderName.js +17 -0
- package/bin/v1/commands/ShowAllWithSerial/template/v2/Index/FormLoad/DomContentLoaded/BuildTable/callKSTable.js +12 -0
- package/bin/v1/commands/ShowAllWithSerial/template/v2/Index/FormLoad/DomContentLoaded/BuildTable/getKSTableConfig.js +7 -0
- package/bin/v1/commands/ShowAllWithSerial/template/v2/Index/FormLoad/DomContentLoaded/BuildTable/index.js +12 -0
- package/bin/v1/commands/ShowAllWithSerial/template/v2/Index/FormLoad/DomContentLoaded/start.js +5 -0
- package/bin/v1/commands/ShowAllWithSerial/template/v2/Index/FormLoad/start.js +5 -0
- package/bin/v1/commands/ShowAllWithSerial/template/v2/Index/start.js +7 -0
- package/bin/v1/commands/ShowAllWithSerial/template/v2/config.json +59 -0
- package/bin/v1/commands/ShowAllWithSerial/template/v2/index.html +58 -0
- package/bin/v1/commands/ShowAllWithSerial/template/v3/Index/FormLoad/DomContentLoaded/BuildTable/callKSTable.js +12 -0
- package/bin/v1/commands/ShowAllWithSerial/template/v3/Index/FormLoad/DomContentLoaded/BuildTable/getKSTableConfig.js +7 -0
- package/bin/v1/commands/ShowAllWithSerial/template/v3/Index/FormLoad/DomContentLoaded/BuildTable/index.js +12 -0
- package/bin/v1/commands/ShowAllWithSerial/template/v3/Index/FormLoad/DomContentLoaded/start.js +5 -0
- package/bin/v1/commands/ShowAllWithSerial/template/v3/Index/FormLoad/start.js +5 -0
- package/bin/v1/commands/ShowAllWithSerial/template/v3/Index/start.js +7 -0
- package/bin/v1/commands/ShowAllWithSerial/template/v3/config.json +62 -0
- package/bin/v1/commands/ShowAllWithSerial/template/v3/index.html +58 -0
- package/bin/v1/commands/ShowAllWithSerialSearch/steps/announce.js +3 -0
- package/bin/v1/commands/ShowAllWithSerialSearch/steps/checks.js +21 -0
- package/bin/v1/commands/ShowAllWithSerialSearch/steps/createProject.js +5 -0
- package/bin/v1/commands/ShowAllWithSerialSearch/steps/locateDestination.js +5 -0
- package/bin/v1/commands/ShowAllWithSerialSearch/steps/locateSource.js +32 -0
- package/bin/v1/commands/ShowAllWithSerialSearch/steps/resolveFolderName.js +17 -0
- package/bin/v1/commands/ShowAllWithSerialSearch/template/v1/Index/FormLoad/DomContentLoaded/BuildTable/callKSTable.js +12 -0
- package/bin/v1/commands/ShowAllWithSerialSearch/template/v1/Index/FormLoad/DomContentLoaded/BuildTable/getKSTableConfig.js +7 -0
- package/bin/v1/commands/ShowAllWithSerialSearch/template/v1/Index/FormLoad/DomContentLoaded/BuildTable/index.js +12 -0
- package/bin/v1/commands/ShowAllWithSerialSearch/template/v1/Index/FormLoad/DomContentLoaded/start.js +5 -0
- package/bin/v1/commands/ShowAllWithSerialSearch/template/v1/Index/FormLoad/start.js +5 -0
- package/bin/v1/commands/ShowAllWithSerialSearch/template/v1/Index/start.js +7 -0
- package/bin/v1/commands/ShowAllWithSerialSearch/template/v1/config.json +65 -0
- package/bin/v1/commands/ShowAllWithSerialSearch/template/v1/index.html +58 -0
- package/bin/v1/commands/TableComp/steps/AlterJson/index.js +69 -0
- package/bin/v1/commands/TableComp/steps/AlterJson/updateColumnsConfig.js +35 -0
- package/bin/v1/commands/TableComp/steps/alterJson.js +66 -0
- package/bin/v1/commands/TableComp/steps/announce.js +3 -0
- package/bin/v1/commands/TableComp/steps/checks.js +21 -0
- package/bin/v1/commands/TableComp/steps/createProject.js +5 -0
- package/bin/v1/commands/TableComp/steps/locateDestination.js +5 -0
- package/bin/v1/commands/TableComp/steps/locateSource.js +32 -0
- package/bin/v1/commands/TableComp/template/v1/Index/Configs/ShowAll/config.json +45 -0
- package/bin/v1/commands/TableComp/template/v1/Index/Configs/WithSearch/config.json +54 -0
- package/bin/v1/commands/TableComp/template/v1/Index/Configs/WithSerial/config.json +48 -0
- package/bin/v1/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/BuildTable/callKSSubTable.js +13 -0
- package/bin/v1/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/BuildTable/callKSTable.js +11 -0
- package/bin/v1/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/BuildTable/formSearchParamsFunc.js +8 -0
- package/bin/v1/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/BuildTable/getKSTableConfig.js +27 -0
- package/bin/v1/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/BuildTable/index.js +34 -0
- package/bin/v1/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/AfterFetch/entryFile.js +7 -0
- package/bin/v1/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/AfterFetch/status200.js +7 -0
- package/bin/v1/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/AfterFetch/status401.js +23 -0
- package/bin/v1/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/AfterFetch/status409.js +9 -0
- package/bin/v1/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/AfterFetch/url.json +4 -0
- package/bin/v1/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/fetchFuncs.js +12 -0
- package/bin/v1/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/getUrl.json +3 -0
- package/bin/v1/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/start.js +13 -0
- package/bin/v1/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/clickFunc.js +46 -0
- package/bin/v1/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/start.js +11 -0
- package/bin/v1/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/ShowAllHtmlId/BuildTable/callKSTable.js +5 -0
- package/bin/v1/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/ShowAllHtmlId/BuildTable/getKSTableConfig.js +7 -0
- package/bin/v1/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/ShowAllHtmlId/BuildTable/index.js +10 -0
- package/bin/v1/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/ShowAllHtmlId/clickFunc.js +24 -0
- package/bin/v1/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/ShowAllHtmlId/start.js +11 -0
- package/bin/v1/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/WithSearchHtmlId/BuildTable/callKSTable.js +5 -0
- package/bin/v1/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/WithSearchHtmlId/BuildTable/getKSTableConfig.js +7 -0
- package/bin/v1/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/WithSearchHtmlId/BuildTable/index.js +10 -0
- package/bin/v1/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/WithSearchHtmlId/clickFunc.js +24 -0
- package/bin/v1/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/WithSearchHtmlId/start.js +11 -0
- package/bin/v1/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/WithSerialHtmlId/BuildTable/callKSTable.js +5 -0
- package/bin/v1/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/WithSerialHtmlId/BuildTable/getKSTableConfig.js +7 -0
- package/bin/v1/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/WithSerialHtmlId/BuildTable/index.js +10 -0
- package/bin/v1/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/WithSerialHtmlId/clickFunc.js +24 -0
- package/bin/v1/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/WithSerialHtmlId/start.js +11 -0
- package/bin/v1/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/start.js +15 -0
- package/bin/v1/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/CommonFuncs/afterHeadSave.js +33 -0
- package/bin/v1/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/CommonFuncs/onSuccess.js +13 -0
- package/bin/v1/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/buildHeader.js +12 -0
- package/bin/v1/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/runAfterDomLoad.js +12 -0
- package/bin/v1/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/start.js +7 -0
- package/bin/v1/commands/TableComp/template/v1/Index/FormLoad/start.js +5 -0
- package/bin/v1/commands/TableComp/template/v1/Index/headers.json +47 -0
- package/bin/v1/commands/TableComp/template/v1/Index/start.js +7 -0
- package/bin/v1/commands/TableComp/template/v1/index.html +97 -0
- package/bin/v1/commands/TableComp/template/v1/script.js +220 -0
- package/bin/v1/commands/TableComp/template/v1/tailwind-3.css +1 -0
- package/bin/v1/commands/TableComp/template/v2/Index/Configs/ShowAll/config.json +45 -0
- package/bin/v1/commands/TableComp/template/v2/Index/Configs/WithSearch/config.json +54 -0
- package/bin/v1/commands/TableComp/template/v2/Index/Configs/WithSerial/config.json +48 -0
- package/bin/v1/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/BuildTable/callKSSubTable.js +13 -0
- package/bin/v1/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/BuildTable/callKSTable.js +11 -0
- package/bin/v1/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/BuildTable/formSearchParamsFunc.js +8 -0
- package/bin/v1/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/BuildTable/getKSTableConfig.js +27 -0
- package/bin/v1/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/BuildTable/index.js +34 -0
- package/bin/v1/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/AfterFetch/entryFile.js +7 -0
- package/bin/v1/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/AfterFetch/status200.js +7 -0
- package/bin/v1/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/AfterFetch/status401.js +23 -0
- package/bin/v1/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/AfterFetch/status409.js +9 -0
- package/bin/v1/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/AfterFetch/url.json +4 -0
- package/bin/v1/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/fetchFuncs.js +12 -0
- package/bin/v1/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/getUrl.json +3 -0
- package/bin/v1/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/start.js +13 -0
- package/bin/v1/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/clickFunc.js +46 -0
- package/bin/v1/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/start.js +11 -0
- package/bin/v1/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/ShowAllHtmlId/BuildTable/callKSTable.js +5 -0
- package/bin/v1/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/ShowAllHtmlId/BuildTable/getKSTableConfig.js +7 -0
- package/bin/v1/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/ShowAllHtmlId/BuildTable/index.js +10 -0
- package/bin/v1/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/ShowAllHtmlId/clickFunc.js +24 -0
- package/bin/v1/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/ShowAllHtmlId/start.js +11 -0
- package/bin/v1/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/WithSearchHtmlId/BuildTable/callKSTable.js +5 -0
- package/bin/v1/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/WithSearchHtmlId/BuildTable/getKSTableConfig.js +7 -0
- package/bin/v1/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/WithSearchHtmlId/BuildTable/index.js +10 -0
- package/bin/v1/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/WithSearchHtmlId/clickFunc.js +24 -0
- package/bin/v1/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/WithSearchHtmlId/start.js +11 -0
- package/bin/v1/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/WithSerialHtmlId/BuildTable/callKSTable.js +5 -0
- package/bin/v1/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/WithSerialHtmlId/BuildTable/getKSTableConfig.js +7 -0
- package/bin/v1/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/WithSerialHtmlId/BuildTable/index.js +10 -0
- package/bin/v1/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/WithSerialHtmlId/clickFunc.js +24 -0
- package/bin/v1/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/WithSerialHtmlId/start.js +11 -0
- package/bin/v1/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/start.js +15 -0
- package/bin/v1/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/CommonFuncs/afterHeadSave.js +33 -0
- package/bin/v1/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/CommonFuncs/onSuccess.js +13 -0
- package/bin/v1/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/buildHeader.js +12 -0
- package/bin/v1/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/runAfterDomLoad.js +12 -0
- package/bin/v1/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/start.js +7 -0
- package/bin/v1/commands/TableComp/template/v2/Index/FormLoad/start.js +5 -0
- package/bin/v1/commands/TableComp/template/v2/Index/headers.json +47 -0
- package/bin/v1/commands/TableComp/template/v2/Index/start.js +7 -0
- package/bin/v1/commands/TableComp/template/v2/index.html +97 -0
- package/bin/v1/commands/TableComp/template/v2/script.js +220 -0
- package/bin/v1/commands/TableComp/template/v2/tailwind-3.css +1 -0
- package/bin/v1/commands/TableComp/template/v3/Index/Configs/Create/config.json +50 -0
- package/bin/v1/commands/TableComp/template/v3/Index/Configs/ShowAll/config.json +45 -0
- package/bin/v1/commands/TableComp/template/v3/Index/Configs/WithSearch/config.json +54 -0
- package/bin/v1/commands/TableComp/template/v3/Index/Configs/WithSerial/config.json +48 -0
- package/bin/v1/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/BuildTable/callKSSubTable.js +13 -0
- package/bin/v1/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/BuildTable/callKSTable.js +11 -0
- package/bin/v1/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/BuildTable/formSearchParamsFunc.js +8 -0
- package/bin/v1/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/BuildTable/getKSTableConfig.js +27 -0
- package/bin/v1/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/BuildTable/index.js +34 -0
- package/bin/v1/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/AfterFetch/entryFile.js +7 -0
- package/bin/v1/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/AfterFetch/status200.js +7 -0
- package/bin/v1/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/AfterFetch/status401.js +23 -0
- package/bin/v1/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/AfterFetch/status409.js +9 -0
- package/bin/v1/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/AfterFetch/url.json +4 -0
- package/bin/v1/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/fetchFuncs.js +12 -0
- package/bin/v1/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/getUrl.json +3 -0
- package/bin/v1/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/start.js +13 -0
- package/bin/v1/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/clickFunc.js +46 -0
- package/bin/v1/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/start.js +11 -0
- package/bin/v1/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/CreateHtmlId/BuildTable/callKSTable.js +5 -0
- package/bin/v1/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/CreateHtmlId/BuildTable/getKSTableConfig.js +16 -0
- package/bin/v1/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/CreateHtmlId/BuildTable/index.js +10 -0
- package/bin/v1/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/CreateHtmlId/clickFunc.js +24 -0
- package/bin/v1/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/CreateHtmlId/start.js +11 -0
- package/bin/v1/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/ShowAllHtmlId/BuildTable/callKSTable.js +5 -0
- package/bin/v1/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/ShowAllHtmlId/BuildTable/getKSTableConfig.js +7 -0
- package/bin/v1/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/ShowAllHtmlId/BuildTable/index.js +10 -0
- package/bin/v1/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/ShowAllHtmlId/clickFunc.js +24 -0
- package/bin/v1/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/ShowAllHtmlId/start.js +11 -0
- package/bin/v1/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/WithSearchHtmlId/BuildTable/callKSTable.js +5 -0
- package/bin/v1/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/WithSearchHtmlId/BuildTable/getKSTableConfig.js +7 -0
- package/bin/v1/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/WithSearchHtmlId/BuildTable/index.js +10 -0
- package/bin/v1/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/WithSearchHtmlId/clickFunc.js +24 -0
- package/bin/v1/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/WithSearchHtmlId/start.js +11 -0
- package/bin/v1/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/WithSerialHtmlId/BuildTable/callKSTable.js +5 -0
- package/bin/v1/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/WithSerialHtmlId/BuildTable/getKSTableConfig.js +7 -0
- package/bin/v1/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/WithSerialHtmlId/BuildTable/index.js +10 -0
- package/bin/v1/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/WithSerialHtmlId/clickFunc.js +24 -0
- package/bin/v1/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/WithSerialHtmlId/start.js +11 -0
- package/bin/v1/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/start.js +17 -0
- package/bin/v1/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/CommonFuncs/afterHeadSave.js +33 -0
- package/bin/v1/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/CommonFuncs/onSuccess.js +13 -0
- package/bin/v1/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/buildHeader.js +12 -0
- package/bin/v1/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/runAfterDomLoad.js +12 -0
- package/bin/v1/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/start.js +7 -0
- package/bin/v1/commands/TableComp/template/v3/Index/FormLoad/start.js +5 -0
- package/bin/v1/commands/TableComp/template/v3/Index/headers.json +61 -0
- package/bin/v1/commands/TableComp/template/v3/Index/start.js +7 -0
- package/bin/v1/commands/TableComp/template/v3/index.html +97 -0
- package/bin/v1/commands/TableComp/template/v3/script.js +274 -0
- package/bin/v1/commands/TableComp/template/v3/tailwind-3.css +1 -0
- package/bin/v1/commands/Vertical/steps/alterJson.js +66 -0
- package/bin/v1/commands/Vertical/steps/announce.js +3 -0
- package/bin/v1/commands/Vertical/steps/checks.js +21 -0
- package/bin/v1/commands/Vertical/steps/createProject.js +5 -0
- package/bin/v1/commands/Vertical/steps/locateDestination.js +5 -0
- package/bin/v1/commands/Vertical/steps/locateSource.js +32 -0
- package/bin/v1/commands/Vertical/template/v1/Index/Configs/ShowAll/config.json +60 -0
- package/bin/v1/commands/Vertical/template/v1/Index/Configs/WithSearch/config.json +66 -0
- package/bin/v1/commands/Vertical/template/v1/Index/Configs/WithSerial/config.json +63 -0
- package/bin/v1/commands/Vertical/template/v1/Index/Configs/create.json +101 -0
- package/bin/v1/commands/Vertical/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/CreateHtmlId/BuildTable/callKSSubTable.js +13 -0
- package/bin/v1/commands/Vertical/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/CreateHtmlId/BuildTable/callKSTable.js +11 -0
- package/bin/v1/commands/Vertical/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/CreateHtmlId/BuildTable/getKSTableConfig.js +27 -0
- package/bin/v1/commands/Vertical/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/CreateHtmlId/BuildTable/index.js +34 -0
- package/bin/v1/commands/Vertical/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/CreateHtmlId/clickFunc.js +7 -0
- package/bin/v1/commands/Vertical/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/CreateHtmlId/start.js +11 -0
- package/bin/v1/commands/Vertical/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/ImportHtmlId/FetchAsGet/AfterFetch/For200Res/entryFile.js +6 -0
- package/bin/v1/commands/Vertical/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/ImportHtmlId/FetchAsGet/AfterFetch/entryFile.js +11 -0
- package/bin/v1/commands/Vertical/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/ImportHtmlId/FetchAsGet/AfterFetch/status200.js +7 -0
- package/bin/v1/commands/Vertical/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/ImportHtmlId/FetchAsGet/AfterFetch/status401.js +23 -0
- package/bin/v1/commands/Vertical/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/ImportHtmlId/FetchAsGet/AfterFetch/status409.js +9 -0
- package/bin/v1/commands/Vertical/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/ImportHtmlId/FetchAsGet/AfterFetch/url.json +4 -0
- package/bin/v1/commands/Vertical/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/ImportHtmlId/FetchAsGet/fetchFuncs.js +12 -0
- package/bin/v1/commands/Vertical/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/ImportHtmlId/FetchAsGet/getUrl.json +3 -0
- package/bin/v1/commands/Vertical/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/ImportHtmlId/FetchAsGet/start.js +10 -0
- package/bin/v1/commands/Vertical/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/ImportHtmlId/FetchStockItems/AfterFetch/entryFile.js +11 -0
- package/bin/v1/commands/Vertical/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/ImportHtmlId/FetchStockItems/AfterFetch/status200.js +7 -0
- package/bin/v1/commands/Vertical/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/ImportHtmlId/FetchStockItems/AfterFetch/status401.js +23 -0
- package/bin/v1/commands/Vertical/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/ImportHtmlId/FetchStockItems/AfterFetch/status409.js +9 -0
- package/bin/v1/commands/Vertical/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/ImportHtmlId/FetchStockItems/AfterFetch/url.json +4 -0
- package/bin/v1/commands/Vertical/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/ImportHtmlId/FetchStockItems/fetchFuncs.js +12 -0
- package/bin/v1/commands/Vertical/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/ImportHtmlId/FetchStockItems/getUrl.json +4 -0
- package/bin/v1/commands/Vertical/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/ImportHtmlId/FetchStockItems/start.js +10 -0
- package/bin/v1/commands/Vertical/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/ImportHtmlId/clickFunc.js +9 -0
- package/bin/v1/commands/Vertical/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/ImportHtmlId/start.js +9 -0
- package/bin/v1/commands/Vertical/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/TallyDownId/clickFunc.js +7 -0
- package/bin/v1/commands/Vertical/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/TallyDownId/start.js +11 -0
- package/bin/v1/commands/Vertical/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/TallyUpId/clickFunc.js +7 -0
- package/bin/v1/commands/Vertical/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/TallyUpId/start.js +11 -0
- package/bin/v1/commands/Vertical/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/start.js +14 -0
- package/bin/v1/commands/Vertical/template/v1/Index/FormLoad/DomContentLoaded/CommonFuncs/afterHeadSave.js +33 -0
- package/bin/v1/commands/Vertical/template/v1/Index/FormLoad/DomContentLoaded/CommonFuncs/onSuccess.js +15 -0
- package/bin/v1/commands/Vertical/template/v1/Index/FormLoad/DomContentLoaded/buildHeader.js +12 -0
- package/bin/v1/commands/Vertical/template/v1/Index/FormLoad/DomContentLoaded/runAfterDomLoad.js +28 -0
- package/bin/v1/commands/Vertical/template/v1/Index/FormLoad/DomContentLoaded/start.js +7 -0
- package/bin/v1/commands/Vertical/template/v1/Index/FormLoad/start.js +5 -0
- package/bin/v1/commands/Vertical/template/v1/Index/headers.json +41 -0
- package/bin/v1/commands/Vertical/template/v1/Index/start.js +7 -0
- package/bin/v1/commands/Vertical/template/v1/Index/tallyStatus.js +53 -0
- package/bin/v1/commands/Vertical/template/v1/index.html +184 -0
- package/bin/v1/commands/Vertical/template/v1/loadCss.js +55 -0
- package/bin/v1/commands/Vertical/template/v1/loadJs.js +55 -0
- package/bin/v1/commands/Vertical/template/v1/script.js +124 -0
- package/bin/v1/commands/Vertical/template/v1/tailwind-3-min.css +1 -0
- package/bin/v1/commands/Vertical/template/v1/tailwind-3.css +1063 -0
- package/bin/v1/commands/WithHeader/steps/AlterJson/index.js +69 -0
- package/bin/v1/commands/WithHeader/steps/AlterJson/updateColumnsConfig.js +35 -0
- package/bin/v1/commands/WithHeader/steps/alterJson.js +66 -0
- package/bin/v1/commands/WithHeader/steps/announce.js +3 -0
- package/bin/v1/commands/WithHeader/steps/checks.js +21 -0
- package/bin/v1/commands/WithHeader/steps/createProject.js +5 -0
- package/bin/v1/commands/WithHeader/steps/locateDestination.js +5 -0
- package/bin/v1/commands/WithHeader/steps/locateSource.js +32 -0
- package/bin/v1/commands/WithHeader/template/v7/Index/Configs/ShowAll/config.json +60 -0
- package/bin/v1/commands/WithHeader/template/v7/Index/Configs/WithSearch/config.json +66 -0
- package/bin/v1/commands/WithHeader/template/v7/Index/Configs/WithSerial/config.json +63 -0
- package/bin/v1/commands/WithHeader/template/v7/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/BuildTable/callKSSubTable.js +13 -0
- package/bin/v1/commands/WithHeader/template/v7/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/BuildTable/callKSTable.js +11 -0
- package/bin/v1/commands/WithHeader/template/v7/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/BuildTable/formSearchParamsFunc.js +8 -0
- package/bin/v1/commands/WithHeader/template/v7/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/BuildTable/getKSTableConfig.js +27 -0
- package/bin/v1/commands/WithHeader/template/v7/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/BuildTable/index.js +34 -0
- package/bin/v1/commands/WithHeader/template/v7/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/AfterFetch/entryFile.js +7 -0
- package/bin/v1/commands/WithHeader/template/v7/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/AfterFetch/status200.js +7 -0
- package/bin/v1/commands/WithHeader/template/v7/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/AfterFetch/status401.js +23 -0
- package/bin/v1/commands/WithHeader/template/v7/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/AfterFetch/status409.js +9 -0
- package/bin/v1/commands/WithHeader/template/v7/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/AfterFetch/url.json +4 -0
- package/bin/v1/commands/WithHeader/template/v7/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/fetchFuncs.js +12 -0
- package/bin/v1/commands/WithHeader/template/v7/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/getUrl.json +3 -0
- package/bin/v1/commands/WithHeader/template/v7/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/start.js +13 -0
- package/bin/v1/commands/WithHeader/template/v7/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/clickFunc.js +46 -0
- package/bin/v1/commands/WithHeader/template/v7/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/start.js +11 -0
- package/bin/v1/commands/WithHeader/template/v7/Index/FormLoad/DomContentLoaded/AddListeners/ShowAllHtmlId/BuildTable/callKSTable.js +9 -0
- package/bin/v1/commands/WithHeader/template/v7/Index/FormLoad/DomContentLoaded/AddListeners/ShowAllHtmlId/BuildTable/getKSTableConfig.js +7 -0
- package/bin/v1/commands/WithHeader/template/v7/Index/FormLoad/DomContentLoaded/AddListeners/ShowAllHtmlId/BuildTable/index.js +10 -0
- package/bin/v1/commands/WithHeader/template/v7/Index/FormLoad/DomContentLoaded/AddListeners/ShowAllHtmlId/clickFunc.js +24 -0
- package/bin/v1/commands/WithHeader/template/v7/Index/FormLoad/DomContentLoaded/AddListeners/ShowAllHtmlId/start.js +11 -0
- package/bin/v1/commands/WithHeader/template/v7/Index/FormLoad/DomContentLoaded/AddListeners/WithSearchHtmlId/BuildTable/callKSTable.js +22 -0
- package/bin/v1/commands/WithHeader/template/v7/Index/FormLoad/DomContentLoaded/AddListeners/WithSearchHtmlId/BuildTable/getKSTableConfig.js +7 -0
- package/bin/v1/commands/WithHeader/template/v7/Index/FormLoad/DomContentLoaded/AddListeners/WithSearchHtmlId/BuildTable/index.js +10 -0
- package/bin/v1/commands/WithHeader/template/v7/Index/FormLoad/DomContentLoaded/AddListeners/WithSearchHtmlId/clickFunc.js +24 -0
- package/bin/v1/commands/WithHeader/template/v7/Index/FormLoad/DomContentLoaded/AddListeners/WithSearchHtmlId/start.js +11 -0
- package/bin/v1/commands/WithHeader/template/v7/Index/FormLoad/DomContentLoaded/AddListeners/WithSerialHtmlId/BuildTable/callKSTable.js +22 -0
- package/bin/v1/commands/WithHeader/template/v7/Index/FormLoad/DomContentLoaded/AddListeners/WithSerialHtmlId/BuildTable/getKSTableConfig.js +7 -0
- package/bin/v1/commands/WithHeader/template/v7/Index/FormLoad/DomContentLoaded/AddListeners/WithSerialHtmlId/BuildTable/index.js +10 -0
- package/bin/v1/commands/WithHeader/template/v7/Index/FormLoad/DomContentLoaded/AddListeners/WithSerialHtmlId/clickFunc.js +24 -0
- package/bin/v1/commands/WithHeader/template/v7/Index/FormLoad/DomContentLoaded/AddListeners/WithSerialHtmlId/start.js +11 -0
- package/bin/v1/commands/WithHeader/template/v7/Index/FormLoad/DomContentLoaded/AddListeners/start.js +15 -0
- package/bin/v1/commands/WithHeader/template/v7/Index/FormLoad/DomContentLoaded/AddListeners/toTallyId/FetchAsGet/AfterFetch/FetchAsPost/fetchFuncs.js +20 -0
- package/bin/v1/commands/WithHeader/template/v7/Index/FormLoad/DomContentLoaded/AddListeners/toTallyId/FetchAsGet/AfterFetch/FetchAsPost/getUrl.json +3 -0
- package/bin/v1/commands/WithHeader/template/v7/Index/FormLoad/DomContentLoaded/AddListeners/toTallyId/FetchAsGet/AfterFetch/FetchAsPost/start.js +13 -0
- package/bin/v1/commands/WithHeader/template/v7/Index/FormLoad/DomContentLoaded/AddListeners/toTallyId/FetchAsGet/AfterFetch/entryFile.js +16 -0
- package/bin/v1/commands/WithHeader/template/v7/Index/FormLoad/DomContentLoaded/AddListeners/toTallyId/FetchAsGet/AfterFetch/status200.js +7 -0
- package/bin/v1/commands/WithHeader/template/v7/Index/FormLoad/DomContentLoaded/AddListeners/toTallyId/FetchAsGet/AfterFetch/status401.js +23 -0
- package/bin/v1/commands/WithHeader/template/v7/Index/FormLoad/DomContentLoaded/AddListeners/toTallyId/FetchAsGet/AfterFetch/status409.js +9 -0
- package/bin/v1/commands/WithHeader/template/v7/Index/FormLoad/DomContentLoaded/AddListeners/toTallyId/FetchAsGet/AfterFetch/url.json +4 -0
- package/bin/v1/commands/WithHeader/template/v7/Index/FormLoad/DomContentLoaded/AddListeners/toTallyId/FetchAsGet/fetchFuncs.js +13 -0
- package/bin/v1/commands/WithHeader/template/v7/Index/FormLoad/DomContentLoaded/AddListeners/toTallyId/FetchAsGet/formSearchParamsFunc.js +8 -0
- package/bin/v1/commands/WithHeader/template/v7/Index/FormLoad/DomContentLoaded/AddListeners/toTallyId/FetchAsGet/getUrl.json +3 -0
- package/bin/v1/commands/WithHeader/template/v7/Index/FormLoad/DomContentLoaded/AddListeners/toTallyId/FetchAsGet/start.js +13 -0
- package/bin/v1/commands/WithHeader/template/v7/Index/FormLoad/DomContentLoaded/AddListeners/toTallyId/FetchAsPost/fetchFuncs.js +20 -0
- package/bin/v1/commands/WithHeader/template/v7/Index/FormLoad/DomContentLoaded/AddListeners/toTallyId/FetchAsPost/getUrl.json +3 -0
- package/bin/v1/commands/WithHeader/template/v7/Index/FormLoad/DomContentLoaded/AddListeners/toTallyId/FetchAsPost/start.js +10 -0
- package/bin/v1/commands/WithHeader/template/v7/Index/FormLoad/DomContentLoaded/AddListeners/toTallyId/clickFunc.js +17 -0
- package/bin/v1/commands/WithHeader/template/v7/Index/FormLoad/DomContentLoaded/AddListeners/toTallyId/start.js +11 -0
- package/bin/v1/commands/WithHeader/template/v7/Index/FormLoad/DomContentLoaded/CommonFuncs/afterHeadSave.js +33 -0
- package/bin/v1/commands/WithHeader/template/v7/Index/FormLoad/DomContentLoaded/CommonFuncs/onSuccess.js +13 -0
- package/bin/v1/commands/WithHeader/template/v7/Index/FormLoad/DomContentLoaded/buildHeader.js +12 -0
- package/bin/v1/commands/WithHeader/template/v7/Index/FormLoad/DomContentLoaded/runAfterDomLoad.js +10 -0
- package/bin/v1/commands/WithHeader/template/v7/Index/FormLoad/DomContentLoaded/start.js +7 -0
- package/bin/v1/commands/WithHeader/template/v7/Index/FormLoad/start.js +5 -0
- package/bin/v1/commands/WithHeader/template/v7/Index/headers.json +62 -0
- package/bin/v1/commands/WithHeader/template/v7/Index/start.js +7 -0
- package/bin/v1/commands/WithHeader/template/v7/index.html +97 -0
- package/bin/v1/commands/WithHeader/template/v7/script.js +44 -0
- package/bin/v1/commands/WithHeader/template/v7/tailwind-3.css +1 -0
- package/bin/v1/commands/WithHeader/template/v8/Index/Configs/ShowAll/config.json +60 -0
- package/bin/v1/commands/WithHeader/template/v8/Index/Configs/WithSearch/config.json +66 -0
- package/bin/v1/commands/WithHeader/template/v8/Index/Configs/WithSerial/config.json +63 -0
- package/bin/v1/commands/WithHeader/template/v8/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/BuildTable/callKSSubTable.js +13 -0
- package/bin/v1/commands/WithHeader/template/v8/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/BuildTable/callKSTable.js +11 -0
- package/bin/v1/commands/WithHeader/template/v8/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/BuildTable/formSearchParamsFunc.js +8 -0
- package/bin/v1/commands/WithHeader/template/v8/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/BuildTable/getKSTableConfig.js +27 -0
- package/bin/v1/commands/WithHeader/template/v8/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/BuildTable/index.js +34 -0
- package/bin/v1/commands/WithHeader/template/v8/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/AfterFetch/entryFile.js +7 -0
- package/bin/v1/commands/WithHeader/template/v8/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/AfterFetch/status200.js +7 -0
- package/bin/v1/commands/WithHeader/template/v8/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/AfterFetch/status401.js +23 -0
- package/bin/v1/commands/WithHeader/template/v8/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/AfterFetch/status409.js +9 -0
- package/bin/v1/commands/WithHeader/template/v8/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/AfterFetch/url.json +4 -0
- package/bin/v1/commands/WithHeader/template/v8/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/fetchFuncs.js +12 -0
- package/bin/v1/commands/WithHeader/template/v8/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/getUrl.json +3 -0
- package/bin/v1/commands/WithHeader/template/v8/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/start.js +13 -0
- package/bin/v1/commands/WithHeader/template/v8/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/clickFunc.js +46 -0
- package/bin/v1/commands/WithHeader/template/v8/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/start.js +11 -0
- package/bin/v1/commands/WithHeader/template/v8/Index/FormLoad/DomContentLoaded/AddListeners/ShowAllHtmlId/BuildTable/callKSTable.js +9 -0
- package/bin/v1/commands/WithHeader/template/v8/Index/FormLoad/DomContentLoaded/AddListeners/ShowAllHtmlId/BuildTable/getKSTableConfig.js +7 -0
- package/bin/v1/commands/WithHeader/template/v8/Index/FormLoad/DomContentLoaded/AddListeners/ShowAllHtmlId/BuildTable/index.js +10 -0
- package/bin/v1/commands/WithHeader/template/v8/Index/FormLoad/DomContentLoaded/AddListeners/ShowAllHtmlId/clickFunc.js +24 -0
- package/bin/v1/commands/WithHeader/template/v8/Index/FormLoad/DomContentLoaded/AddListeners/ShowAllHtmlId/start.js +11 -0
- package/bin/v1/commands/WithHeader/template/v8/Index/FormLoad/DomContentLoaded/AddListeners/WithSearchHtmlId/BuildTable/callKSTable.js +22 -0
- package/bin/v1/commands/WithHeader/template/v8/Index/FormLoad/DomContentLoaded/AddListeners/WithSearchHtmlId/BuildTable/getKSTableConfig.js +7 -0
- package/bin/v1/commands/WithHeader/template/v8/Index/FormLoad/DomContentLoaded/AddListeners/WithSearchHtmlId/BuildTable/index.js +10 -0
- package/bin/v1/commands/WithHeader/template/v8/Index/FormLoad/DomContentLoaded/AddListeners/WithSearchHtmlId/clickFunc.js +24 -0
- package/bin/v1/commands/WithHeader/template/v8/Index/FormLoad/DomContentLoaded/AddListeners/WithSearchHtmlId/start.js +11 -0
- package/bin/v1/commands/WithHeader/template/v8/Index/FormLoad/DomContentLoaded/AddListeners/WithSerialHtmlId/BuildTable/callKSTable.js +22 -0
- package/bin/v1/commands/WithHeader/template/v8/Index/FormLoad/DomContentLoaded/AddListeners/WithSerialHtmlId/BuildTable/getKSTableConfig.js +7 -0
- package/bin/v1/commands/WithHeader/template/v8/Index/FormLoad/DomContentLoaded/AddListeners/WithSerialHtmlId/BuildTable/index.js +10 -0
- package/bin/v1/commands/WithHeader/template/v8/Index/FormLoad/DomContentLoaded/AddListeners/WithSerialHtmlId/clickFunc.js +24 -0
- package/bin/v1/commands/WithHeader/template/v8/Index/FormLoad/DomContentLoaded/AddListeners/WithSerialHtmlId/start.js +11 -0
- package/bin/v1/commands/WithHeader/template/v8/Index/FormLoad/DomContentLoaded/AddListeners/start.js +15 -0
- package/bin/v1/commands/WithHeader/template/v8/Index/FormLoad/DomContentLoaded/AddListeners/toTallyId/FetchAsGet/AfterFetch/FetchAsPost/fetchFuncs.js +20 -0
- package/bin/v1/commands/WithHeader/template/v8/Index/FormLoad/DomContentLoaded/AddListeners/toTallyId/FetchAsGet/AfterFetch/FetchAsPost/getUrl.json +3 -0
- package/bin/v1/commands/WithHeader/template/v8/Index/FormLoad/DomContentLoaded/AddListeners/toTallyId/FetchAsGet/AfterFetch/FetchAsPost/start.js +13 -0
- package/bin/v1/commands/WithHeader/template/v8/Index/FormLoad/DomContentLoaded/AddListeners/toTallyId/FetchAsGet/AfterFetch/entryFile.js +16 -0
- package/bin/v1/commands/WithHeader/template/v8/Index/FormLoad/DomContentLoaded/AddListeners/toTallyId/FetchAsGet/AfterFetch/status200.js +7 -0
- package/bin/v1/commands/WithHeader/template/v8/Index/FormLoad/DomContentLoaded/AddListeners/toTallyId/FetchAsGet/AfterFetch/status401.js +23 -0
- package/bin/v1/commands/WithHeader/template/v8/Index/FormLoad/DomContentLoaded/AddListeners/toTallyId/FetchAsGet/AfterFetch/status409.js +9 -0
- package/bin/v1/commands/WithHeader/template/v8/Index/FormLoad/DomContentLoaded/AddListeners/toTallyId/FetchAsGet/AfterFetch/url.json +4 -0
- package/bin/v1/commands/WithHeader/template/v8/Index/FormLoad/DomContentLoaded/AddListeners/toTallyId/FetchAsGet/fetchFuncs.js +13 -0
- package/bin/v1/commands/WithHeader/template/v8/Index/FormLoad/DomContentLoaded/AddListeners/toTallyId/FetchAsGet/formSearchParamsFunc.js +8 -0
- package/bin/v1/commands/WithHeader/template/v8/Index/FormLoad/DomContentLoaded/AddListeners/toTallyId/FetchAsGet/getUrl.json +3 -0
- package/bin/v1/commands/WithHeader/template/v8/Index/FormLoad/DomContentLoaded/AddListeners/toTallyId/FetchAsGet/start.js +13 -0
- package/bin/v1/commands/WithHeader/template/v8/Index/FormLoad/DomContentLoaded/AddListeners/toTallyId/FetchAsPost/fetchFuncs.js +20 -0
- package/bin/v1/commands/WithHeader/template/v8/Index/FormLoad/DomContentLoaded/AddListeners/toTallyId/FetchAsPost/getUrl.json +3 -0
- package/bin/v1/commands/WithHeader/template/v8/Index/FormLoad/DomContentLoaded/AddListeners/toTallyId/FetchAsPost/start.js +10 -0
- package/bin/v1/commands/WithHeader/template/v8/Index/FormLoad/DomContentLoaded/AddListeners/toTallyId/clickFunc.js +17 -0
- package/bin/v1/commands/WithHeader/template/v8/Index/FormLoad/DomContentLoaded/AddListeners/toTallyId/start.js +11 -0
- package/bin/v1/commands/WithHeader/template/v8/Index/FormLoad/DomContentLoaded/CommonFuncs/afterHeadSave.js +33 -0
- package/bin/v1/commands/WithHeader/template/v8/Index/FormLoad/DomContentLoaded/CommonFuncs/onSuccess.js +13 -0
- package/bin/v1/commands/WithHeader/template/v8/Index/FormLoad/DomContentLoaded/buildHeader.js +12 -0
- package/bin/v1/commands/WithHeader/template/v8/Index/FormLoad/DomContentLoaded/runAfterDomLoad.js +10 -0
- package/bin/v1/commands/WithHeader/template/v8/Index/FormLoad/DomContentLoaded/start.js +7 -0
- package/bin/v1/commands/WithHeader/template/v8/Index/FormLoad/start.js +5 -0
- package/bin/v1/commands/WithHeader/template/v8/Index/headers.json +69 -0
- package/bin/v1/commands/WithHeader/template/v8/Index/start.js +7 -0
- package/bin/v1/commands/WithHeader/template/v8/index.html +97 -0
- package/bin/v1/commands/WithHeader/template/v8/script.js +44 -0
- package/bin/v1/commands/WithHeader/template/v8/tailwind-3.css +1 -0
- package/bin/v1/commands/headerOnly.js +54 -0
- package/bin/v1/commands/showAll.js +74 -0
- package/bin/v1/commands/showAllWithSerial.js +74 -0
- package/bin/v1/commands/showAllWithSerialSearch.js +74 -0
- package/bin/v1/commands/tableComp.js +69 -0
- package/bin/v1/commands/vertical.js +54 -0
- package/bin/v1/commands/withHeader.js +73 -0
- package/bin/v1/core/getAllVersions.js +12 -0
- package/bin/v1/core/parseInput.js +9 -0
- package/bin/v1/core/resolveCommand.js +16 -0
- package/bin/v1/core/showUsage.js +41 -0
- package/bin/v1/start.js +29 -0
- package/bin/v2/commands/TableComp/steps/AlterJson/index.js +50 -0
- package/bin/v2/commands/TableComp/steps/AlterJson/updateColumnsConfig.js +35 -0
- package/bin/v2/commands/TableComp/steps/alterJson.js +66 -0
- package/bin/v2/commands/TableComp/steps/announce.js +3 -0
- package/bin/v2/commands/TableComp/steps/checks.js +21 -0
- package/bin/v2/commands/TableComp/steps/createProject.js +5 -0
- package/bin/v2/commands/TableComp/steps/locateDestination.js +5 -0
- package/bin/v2/commands/TableComp/steps/locateSource.js +32 -0
- package/bin/v2/commands/TableComp/template/v1/Index/Configs/Create/config.json +50 -0
- package/bin/v2/commands/TableComp/template/v1/Index/Configs/ShowAll/config.json +45 -0
- package/bin/v2/commands/TableComp/template/v1/Index/Configs/WithSearch/config.json +54 -0
- package/bin/v2/commands/TableComp/template/v1/Index/Configs/WithSerial/config.json +48 -0
- package/bin/v2/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/BuildTable/callKSSubTable.js +13 -0
- package/bin/v2/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/BuildTable/callKSTable.js +11 -0
- package/bin/v2/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/BuildTable/formSearchParamsFunc.js +8 -0
- package/bin/v2/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/BuildTable/getKSTableConfig.js +27 -0
- package/bin/v2/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/BuildTable/index.js +34 -0
- package/bin/v2/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/AfterFetch/entryFile.js +7 -0
- package/bin/v2/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/AfterFetch/status200.js +7 -0
- package/bin/v2/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/AfterFetch/status401.js +23 -0
- package/bin/v2/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/AfterFetch/status409.js +9 -0
- package/bin/v2/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/AfterFetch/url.json +4 -0
- package/bin/v2/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/fetchFuncs.js +12 -0
- package/bin/v2/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/getUrl.json +3 -0
- package/bin/v2/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/start.js +13 -0
- package/bin/v2/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/clickFunc.js +46 -0
- package/bin/v2/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/start.js +11 -0
- package/bin/v2/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/CreateHtmlId/BuildTable/callKSTable.js +5 -0
- package/bin/v2/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/CreateHtmlId/BuildTable/getKSTableConfig.js +16 -0
- package/bin/v2/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/CreateHtmlId/BuildTable/index.js +10 -0
- package/bin/v2/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/CreateHtmlId/clickFunc.js +24 -0
- package/bin/v2/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/CreateHtmlId/start.js +11 -0
- package/bin/v2/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/ShowAllHtmlId/BuildTable/callKSTable.js +5 -0
- package/bin/v2/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/ShowAllHtmlId/BuildTable/getKSTableConfig.js +7 -0
- package/bin/v2/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/ShowAllHtmlId/BuildTable/index.js +10 -0
- package/bin/v2/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/ShowAllHtmlId/clickFunc.js +24 -0
- package/bin/v2/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/ShowAllHtmlId/start.js +11 -0
- package/bin/v2/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/WithSearchHtmlId/BuildTable/callKSTable.js +5 -0
- package/bin/v2/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/WithSearchHtmlId/BuildTable/getKSTableConfig.js +7 -0
- package/bin/v2/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/WithSearchHtmlId/BuildTable/index.js +10 -0
- package/bin/v2/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/WithSearchHtmlId/clickFunc.js +24 -0
- package/bin/v2/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/WithSearchHtmlId/start.js +11 -0
- package/bin/v2/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/WithSerialHtmlId/BuildTable/callKSTable.js +5 -0
- package/bin/v2/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/WithSerialHtmlId/BuildTable/getKSTableConfig.js +7 -0
- package/bin/v2/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/WithSerialHtmlId/BuildTable/index.js +10 -0
- package/bin/v2/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/WithSerialHtmlId/clickFunc.js +24 -0
- package/bin/v2/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/WithSerialHtmlId/start.js +11 -0
- package/bin/v2/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/start.js +17 -0
- package/bin/v2/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/CommonFuncs/afterHeadSave.js +33 -0
- package/bin/v2/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/CommonFuncs/onSuccess.js +13 -0
- package/bin/v2/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/buildHeader.js +12 -0
- package/bin/v2/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/runAfterDomLoad.js +12 -0
- package/bin/v2/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/start.js +7 -0
- package/bin/v2/commands/TableComp/template/v1/Index/FormLoad/start.js +5 -0
- package/bin/v2/commands/TableComp/template/v1/Index/headers.json +61 -0
- package/bin/v2/commands/TableComp/template/v1/Index/start.js +7 -0
- package/bin/v2/commands/TableComp/template/v1/index.html +97 -0
- package/bin/v2/commands/TableComp/template/v1/script.js +274 -0
- package/bin/v2/commands/TableComp/template/v1/tailwind-3.css +1 -0
- package/bin/v2/commands/tableComp.js +69 -0
- package/bin/v2/core/getAllVersions.js +12 -0
- package/bin/v2/core/parseInput.js +12 -0
- package/bin/v2/core/resolveCommand.js +16 -0
- package/bin/v2/core/showUsage.js +41 -0
- package/bin/v2/start.js +27 -0
- package/index.js +11 -0
- package/package.json +34 -0
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import allVersions from "./getAllVersions.js";
|
|
2
|
+
|
|
3
|
+
/*
|
|
4
|
+
json-crud-ui-table CLI – Dynamic Usage Renderer
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
export default function showUsage(version) {
|
|
8
|
+
const g = "\x1b[32m";
|
|
9
|
+
const y = "\x1b[33m";
|
|
10
|
+
const c = "\x1b[36m";
|
|
11
|
+
const gray = "\x1b[90m";
|
|
12
|
+
const r = "\x1b[0m";
|
|
13
|
+
|
|
14
|
+
const commandLines = Object.entries(allVersions)
|
|
15
|
+
.map(([name]) =>
|
|
16
|
+
` ${g}${name.padEnd(20)}${r}`
|
|
17
|
+
)
|
|
18
|
+
.join("\n");
|
|
19
|
+
|
|
20
|
+
const exampleLines = Object.entries(allVersions)
|
|
21
|
+
.map(([name]) =>
|
|
22
|
+
` ${gray}npx json-crud-ui-table ${name}${r}`
|
|
23
|
+
)
|
|
24
|
+
.join("\n");
|
|
25
|
+
|
|
26
|
+
console.log(`
|
|
27
|
+
${c}🚀 express-todo v${version}${r}
|
|
28
|
+
|
|
29
|
+
${y}Usage:${r}
|
|
30
|
+
${g}npx json-crud-ui-table${r} <command> [options]
|
|
31
|
+
|
|
32
|
+
${y}Commands:${r}
|
|
33
|
+
${commandLines}
|
|
34
|
+
|
|
35
|
+
${y}Examples:${r}
|
|
36
|
+
${exampleLines}
|
|
37
|
+
|
|
38
|
+
${y}Tip:${r}
|
|
39
|
+
${gray}npm i -g json-crud-ui-table${r}
|
|
40
|
+
`);
|
|
41
|
+
}
|
package/bin/v1/start.js
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import parseInput from "./core/parseInput.js";
|
|
2
|
+
import showUsage from './core/showUsage.js';
|
|
3
|
+
|
|
4
|
+
import resolveCommand from "./core/resolveCommand.js";
|
|
5
|
+
|
|
6
|
+
import pkg from '../../package.json' with { type: 'json' };
|
|
7
|
+
|
|
8
|
+
const version = pkg.version;
|
|
9
|
+
|
|
10
|
+
const run = async () => {
|
|
11
|
+
const input = parseInput();
|
|
12
|
+
|
|
13
|
+
if (!input.cmd) return showUsage(version);
|
|
14
|
+
|
|
15
|
+
if (input.action === "--help" || input.action === "-h" || input.action === "help") return showUsage(version);
|
|
16
|
+
|
|
17
|
+
const command = resolveCommand(input.cmd);
|
|
18
|
+
|
|
19
|
+
if (!command) return (console.log(`Unknown command: ${input.cmd}\n`), showUsage(version));
|
|
20
|
+
|
|
21
|
+
await command({
|
|
22
|
+
folderName: input.folderName,
|
|
23
|
+
tableName: input.tableName,
|
|
24
|
+
showLog: input.showLog,
|
|
25
|
+
toPath: input.toPath
|
|
26
|
+
});
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
export default run;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import fs from "fs";
|
|
2
|
+
import path from "path";
|
|
3
|
+
|
|
4
|
+
import updateColumnsConfig from "./updateColumnsConfig.js";
|
|
5
|
+
|
|
6
|
+
const readJson = (filePath) => {
|
|
7
|
+
return JSON.parse(fs.readFileSync(filePath, "utf8"));
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
const writeJson = (filePath, data) => {
|
|
11
|
+
fs.writeFileSync(filePath, JSON.stringify(data, null, 4));
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
const getSchemaConfig = ({ fromConfigPath, tableName, showLog }) => {
|
|
15
|
+
const schemaPath = path.join(
|
|
16
|
+
fromConfigPath,
|
|
17
|
+
`${tableName}.json`
|
|
18
|
+
);
|
|
19
|
+
|
|
20
|
+
const schemaPathAsJson = readJson(schemaPath);
|
|
21
|
+
|
|
22
|
+
if (showLog) if (!"columnsConfig" in schemaPathAsJson) console.log("columnsConfig not found in schema source");
|
|
23
|
+
|
|
24
|
+
return schemaPathAsJson?.columnsConfig;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
const getShowAllConfigPath = ({ inDestination }) => {
|
|
28
|
+
return path.join(
|
|
29
|
+
inDestination,
|
|
30
|
+
"Index",
|
|
31
|
+
"Configs"
|
|
32
|
+
);
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
const startFunc = ({ inDestination, tableName, fromConfigPath, showLog = false }) => {
|
|
36
|
+
console.log("aaaaaa : ", inDestination, tableName, fromConfigPath, showLog);
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
const columnsConfig = getSchemaConfig({ fromConfigPath, tableName, showLog });
|
|
40
|
+
|
|
41
|
+
const configRoot = getShowAllConfigPath({ inDestination });
|
|
42
|
+
|
|
43
|
+
updateColumnsConfig({
|
|
44
|
+
configRoot,
|
|
45
|
+
columnsConfig,
|
|
46
|
+
tableName
|
|
47
|
+
});
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
export default startFunc;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import fs from "fs";
|
|
2
|
+
import path from "path";
|
|
3
|
+
|
|
4
|
+
const readJson = (filePath) => {
|
|
5
|
+
return JSON.parse(fs.readFileSync(filePath, "utf8"));
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
const writeJson = (filePath, data) => {
|
|
9
|
+
fs.writeFileSync(filePath, JSON.stringify(data, null, 4));
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
const startFunc = ({ configRoot, columnsConfig, tableName }) => {
|
|
13
|
+
const folders = fs.readdirSync(configRoot, { withFileTypes: true });
|
|
14
|
+
|
|
15
|
+
for (const folder of folders) {
|
|
16
|
+
if (!folder.isDirectory()) continue;
|
|
17
|
+
|
|
18
|
+
const configPath = path.join(
|
|
19
|
+
configRoot,
|
|
20
|
+
folder.name,
|
|
21
|
+
"config.json"
|
|
22
|
+
);
|
|
23
|
+
|
|
24
|
+
if (!fs.existsSync(configPath)) continue;
|
|
25
|
+
|
|
26
|
+
const config = readJson(configPath);
|
|
27
|
+
|
|
28
|
+
config.columnsConfig = columnsConfig;
|
|
29
|
+
config.endPoints.read = `/Api/V1/${tableName}/ShowAll`;
|
|
30
|
+
|
|
31
|
+
writeJson(configPath, config);
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
export default startFunc;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import fs from "fs";
|
|
2
|
+
import path from "path";
|
|
3
|
+
|
|
4
|
+
const readJson = (filePath) => {
|
|
5
|
+
return JSON.parse(fs.readFileSync(filePath, "utf8"));
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
const writeJson = (filePath, data) => {
|
|
9
|
+
fs.writeFileSync(filePath, JSON.stringify(data, null, 4));
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
const getSchemaConfig = ({ fromConfigPath, tableName, showLog }) => {
|
|
13
|
+
const schemaPath = path.join(
|
|
14
|
+
fromConfigPath,
|
|
15
|
+
`${tableName}.json`
|
|
16
|
+
);
|
|
17
|
+
|
|
18
|
+
const schemaPathAsJson = readJson(schemaPath);
|
|
19
|
+
|
|
20
|
+
if (showLog) if (!"columnsConfig" in schemaPathAsJson) console.log("columnsConfig not found in schema source");
|
|
21
|
+
|
|
22
|
+
return schemaPathAsJson?.columnsConfig;
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
const getShowAllConfigPath = ({ inDestination }) => {
|
|
26
|
+
return path.join(
|
|
27
|
+
inDestination,
|
|
28
|
+
"Index",
|
|
29
|
+
"Configs"
|
|
30
|
+
);
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
const updateColumnsConfig = ({ configRoot, columnsConfig }) => {
|
|
34
|
+
const folders = fs.readdirSync(configRoot, { withFileTypes: true });
|
|
35
|
+
|
|
36
|
+
for (const folder of folders) {
|
|
37
|
+
if (!folder.isDirectory()) continue;
|
|
38
|
+
|
|
39
|
+
const configPath = path.join(
|
|
40
|
+
configRoot,
|
|
41
|
+
folder.name,
|
|
42
|
+
"config.json"
|
|
43
|
+
);
|
|
44
|
+
|
|
45
|
+
if (!fs.existsSync(configPath)) continue;
|
|
46
|
+
|
|
47
|
+
const config = readJson(configPath);
|
|
48
|
+
|
|
49
|
+
config.columnsConfig = columnsConfig;
|
|
50
|
+
|
|
51
|
+
writeJson(configPath, config);
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
export const alterJson = ({ inDestination, inToPath, tableName, fromConfigPath, showLog = false }) => {
|
|
56
|
+
const columnsConfig = getSchemaConfig({ fromConfigPath, tableName, showLog });
|
|
57
|
+
|
|
58
|
+
const configRoot = getShowAllConfigPath({ inDestination });
|
|
59
|
+
|
|
60
|
+
updateColumnsConfig({
|
|
61
|
+
configRoot,
|
|
62
|
+
columnsConfig
|
|
63
|
+
});
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
export default alterJson;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import fs from "fs";
|
|
2
|
+
import path from "path";
|
|
3
|
+
|
|
4
|
+
const validate = ({ toPath }) => {
|
|
5
|
+
const fullPath = toPath;
|
|
6
|
+
|
|
7
|
+
if (!fs.existsSync(fullPath)) {
|
|
8
|
+
return false;
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
const files = fs.readdirSync(fullPath);
|
|
12
|
+
|
|
13
|
+
if (files.length > 0) {
|
|
14
|
+
console.log("Folder should be empty");
|
|
15
|
+
return true;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
return false;
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
export default validate;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import fs from "fs";
|
|
2
|
+
|
|
3
|
+
import path from "path";
|
|
4
|
+
import { fileURLToPath } from "url";
|
|
5
|
+
|
|
6
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
7
|
+
const __dirname = path.dirname(__filename);
|
|
8
|
+
|
|
9
|
+
const templatePath = path.join(
|
|
10
|
+
__dirname,
|
|
11
|
+
"..",
|
|
12
|
+
"template"
|
|
13
|
+
);
|
|
14
|
+
|
|
15
|
+
const versions = fs
|
|
16
|
+
.readdirSync(templatePath)
|
|
17
|
+
.filter(item => item.startsWith("v"));
|
|
18
|
+
|
|
19
|
+
const highestVersion =
|
|
20
|
+
versions.sort().at(-1);
|
|
21
|
+
|
|
22
|
+
const sourceVersion =
|
|
23
|
+
highestVersion;
|
|
24
|
+
|
|
25
|
+
export const locateSource = () => {
|
|
26
|
+
return path.join(
|
|
27
|
+
__dirname,
|
|
28
|
+
"..",
|
|
29
|
+
"template",
|
|
30
|
+
sourceVersion
|
|
31
|
+
);
|
|
32
|
+
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
{
|
|
2
|
+
"containerId": "kSTableContainer",
|
|
3
|
+
"tableName": "",
|
|
4
|
+
"mode": "create",
|
|
5
|
+
"layout": {
|
|
6
|
+
"verticalPosition": "top",
|
|
7
|
+
"type": "table"
|
|
8
|
+
},
|
|
9
|
+
"endPoints": {
|
|
10
|
+
"create": "/Api/V1/StockItems/Insert",
|
|
11
|
+
"update": "",
|
|
12
|
+
"delete": "",
|
|
13
|
+
"read": "/Api/V1/StockItems/ShowAll",
|
|
14
|
+
"find": "",
|
|
15
|
+
"filter": "",
|
|
16
|
+
"dataLists": {}
|
|
17
|
+
},
|
|
18
|
+
"options": {
|
|
19
|
+
"enabledSections": [
|
|
20
|
+
"vertical",
|
|
21
|
+
"table",
|
|
22
|
+
"footer"
|
|
23
|
+
]
|
|
24
|
+
},
|
|
25
|
+
"columnsConfig": [
|
|
26
|
+
{
|
|
27
|
+
"columnName": "StockItemName",
|
|
28
|
+
"title": "StockItemName",
|
|
29
|
+
"cellConfig": {
|
|
30
|
+
"width": "150px"
|
|
31
|
+
},
|
|
32
|
+
"isSearchable": false,
|
|
33
|
+
"dataListSource": "Dates.Date"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"columnName": "StockBaseUnits",
|
|
37
|
+
"title": "StockBaseUnits",
|
|
38
|
+
"cellConfig": {
|
|
39
|
+
"width": "150px"
|
|
40
|
+
},
|
|
41
|
+
"isSearchable": false,
|
|
42
|
+
"dataListSource": "Dates.Date"
|
|
43
|
+
}
|
|
44
|
+
],
|
|
45
|
+
"callbacks": {
|
|
46
|
+
"vertical": {
|
|
47
|
+
"onSuccess": "func"
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"containerId": "kSTableContainer",
|
|
3
|
+
"tableName": "",
|
|
4
|
+
"mode": "create",
|
|
5
|
+
"layout": {
|
|
6
|
+
"verticalPosition": "top",
|
|
7
|
+
"type": "table"
|
|
8
|
+
},
|
|
9
|
+
"endPoints": {
|
|
10
|
+
"create": "",
|
|
11
|
+
"update": "",
|
|
12
|
+
"delete": "",
|
|
13
|
+
"read": "/Api/V1/StockItems/ShowAll",
|
|
14
|
+
"find": "",
|
|
15
|
+
"filter": "",
|
|
16
|
+
"dataLists": {}
|
|
17
|
+
},
|
|
18
|
+
"options": {
|
|
19
|
+
"enabledSections": [
|
|
20
|
+
"vertical",
|
|
21
|
+
"table",
|
|
22
|
+
"footer"
|
|
23
|
+
]
|
|
24
|
+
},
|
|
25
|
+
"columnsConfig": [
|
|
26
|
+
{
|
|
27
|
+
"columnName": "StockItemName",
|
|
28
|
+
"title": "StockItemName",
|
|
29
|
+
"cellConfig": {
|
|
30
|
+
"width": "150px"
|
|
31
|
+
},
|
|
32
|
+
"isSearchable": false,
|
|
33
|
+
"dataListSource": "Dates.Date"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"columnName": "StockBaseUnits",
|
|
37
|
+
"title": "StockBaseUnits",
|
|
38
|
+
"cellConfig": {
|
|
39
|
+
"width": "150px"
|
|
40
|
+
},
|
|
41
|
+
"isSearchable": false,
|
|
42
|
+
"dataListSource": "Dates.Date"
|
|
43
|
+
}
|
|
44
|
+
]
|
|
45
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
{
|
|
2
|
+
"containerId": "kSTableContainer",
|
|
3
|
+
"tableName": "Ledger Names",
|
|
4
|
+
"mode": "create",
|
|
5
|
+
"layout": {
|
|
6
|
+
"verticalPosition": "top",
|
|
7
|
+
"type": "table"
|
|
8
|
+
},
|
|
9
|
+
"endPoints": {
|
|
10
|
+
"create": "",
|
|
11
|
+
"update": "",
|
|
12
|
+
"delete": "",
|
|
13
|
+
"read": "/Api/V1/StockItems/ShowAll",
|
|
14
|
+
"find": "",
|
|
15
|
+
"filter": "",
|
|
16
|
+
"dataLists": {}
|
|
17
|
+
},
|
|
18
|
+
"options": {
|
|
19
|
+
"firstRow": {
|
|
20
|
+
"showSearch": true
|
|
21
|
+
},
|
|
22
|
+
"enabledSections": [
|
|
23
|
+
"vertical",
|
|
24
|
+
"table",
|
|
25
|
+
"footer"
|
|
26
|
+
],
|
|
27
|
+
"table": {
|
|
28
|
+
"showSerial": true,
|
|
29
|
+
"showFooterRows": true,
|
|
30
|
+
"showBalance": true,
|
|
31
|
+
"showTotals": true
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"columnsConfig": [
|
|
35
|
+
{
|
|
36
|
+
"columnName": "StockItemName",
|
|
37
|
+
"title": "StockItemName",
|
|
38
|
+
"cellConfig": {
|
|
39
|
+
"width": "150px"
|
|
40
|
+
},
|
|
41
|
+
"isSearchable": false,
|
|
42
|
+
"dataListSource": "Dates.Date"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"columnName": "StockBaseUnits",
|
|
46
|
+
"title": "StockBaseUnits",
|
|
47
|
+
"cellConfig": {
|
|
48
|
+
"width": "150px"
|
|
49
|
+
},
|
|
50
|
+
"isSearchable": false,
|
|
51
|
+
"dataListSource": "Dates.Date"
|
|
52
|
+
}
|
|
53
|
+
]
|
|
54
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"containerId": "kSTableContainer",
|
|
3
|
+
"tableName": "",
|
|
4
|
+
"mode": "create",
|
|
5
|
+
"layout": {
|
|
6
|
+
"verticalPosition": "top",
|
|
7
|
+
"type": "table"
|
|
8
|
+
},
|
|
9
|
+
"endPoints": {
|
|
10
|
+
"create": "",
|
|
11
|
+
"update": "",
|
|
12
|
+
"delete": "",
|
|
13
|
+
"read": "/Api/V1/StockItems/ShowAll",
|
|
14
|
+
"find": "",
|
|
15
|
+
"filter": "",
|
|
16
|
+
"dataLists": {}
|
|
17
|
+
},
|
|
18
|
+
"options": {
|
|
19
|
+
"enabledSections": [
|
|
20
|
+
"vertical",
|
|
21
|
+
"table",
|
|
22
|
+
"footer"
|
|
23
|
+
],
|
|
24
|
+
"table": {
|
|
25
|
+
"showSerial": true
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"columnsConfig": [
|
|
29
|
+
{
|
|
30
|
+
"columnName": "StockItemName",
|
|
31
|
+
"title": "StockItemName",
|
|
32
|
+
"cellConfig": {
|
|
33
|
+
"width": "150px"
|
|
34
|
+
},
|
|
35
|
+
"isSearchable": false,
|
|
36
|
+
"dataListSource": "Dates.Date"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"columnName": "StockBaseUnits",
|
|
40
|
+
"title": "StockBaseUnits",
|
|
41
|
+
"cellConfig": {
|
|
42
|
+
"width": "150px"
|
|
43
|
+
},
|
|
44
|
+
"isSearchable": false,
|
|
45
|
+
"dataListSource": "Dates.Date"
|
|
46
|
+
}
|
|
47
|
+
]
|
|
48
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { initTableWithFooter } from "/KSTableAi/V46/entry.js";
|
|
2
|
+
|
|
3
|
+
const callKSSubTable = async (config) => {
|
|
4
|
+
if (window?.KSTable) {
|
|
5
|
+
console.log("loaded from cdn");
|
|
6
|
+
|
|
7
|
+
return window.KSTable.initTableWithFooter(config);
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
return initTableWithFooter(config);
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export default callKSSubTable;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { formSearchParamsFunc } from "./formSearchParamsFunc.js";
|
|
2
|
+
|
|
3
|
+
const onSuccessFunc = async (res) => {
|
|
4
|
+
const fromReponse = await res.json();
|
|
5
|
+
console.log("fromReponse : ", fromReponse);
|
|
6
|
+
window.location.href = `../WithSubTable/index.html?pk=${fromReponse.pk}`;
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
export const getKSTableConfig = async ({ tableName }) => {
|
|
10
|
+
const config = await fetch("config.json");
|
|
11
|
+
// debugger;
|
|
12
|
+
const configJson = await config.json();
|
|
13
|
+
|
|
14
|
+
const pkFromParams = formSearchParamsFunc({ inKeyName: "pk" });
|
|
15
|
+
|
|
16
|
+
// configJson.tableName = tableName;
|
|
17
|
+
|
|
18
|
+
configJson.endPoints.read = `/Api/V4/${tableName}/ShowAll`;
|
|
19
|
+
// configJson.endPoints.filter = `/Api/V1/${tableName}/FilterColumns`;
|
|
20
|
+
configJson.endPoints.findFromParams = configJson.endPoints.findFromParams.replace("{pk}", pkFromParams);
|
|
21
|
+
|
|
22
|
+
configJson.callbacks.vertical.onSuccess = onSuccessFunc;
|
|
23
|
+
// configJson.endPoints.dataListEndpoints.AccountNames = `/Api/V1/${tableName}/Distinct/AccountName`;
|
|
24
|
+
// configJson.endPoints.dataListEndpoints.Dates = `/Api/V1/${tableName}/Distinct/Date`;
|
|
25
|
+
|
|
26
|
+
return configJson;
|
|
27
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { initCreate, initTableWithFooter } from "/KSTableAi/V4/entry.js";
|
|
2
|
+
import { formSearchParamsFunc } from "./formSearchParamsFunc.js";
|
|
3
|
+
|
|
4
|
+
const onSuccessFunc = async (res) => {
|
|
5
|
+
const fromReponse = await res.json();
|
|
6
|
+
console.log("fromReponse : ", fromReponse);
|
|
7
|
+
window.location.href = `../WithSubTable/index.html?pk=${fromReponse.pk}`;
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
const startFunc = async () => {
|
|
11
|
+
debugger;
|
|
12
|
+
const pkFromParams = formSearchParamsFunc({ inKeyName: "pk" });
|
|
13
|
+
|
|
14
|
+
const config = await fetch("Index/Configs/AddItem/config.json");
|
|
15
|
+
const configJson = await config.json();
|
|
16
|
+
|
|
17
|
+
configJson.endPoints.findFromParams = configJson.endPoints.findFromParams.replace("{pk}", pkFromParams);
|
|
18
|
+
configJson.callbacks.vertical.onSuccess = onSuccessFunc;
|
|
19
|
+
|
|
20
|
+
await initCreate(configJson);
|
|
21
|
+
|
|
22
|
+
const configForSubTable = await fetch("Index/Configs/AddItem/configForSubTable.json");
|
|
23
|
+
const configForSubTableJson = await configForSubTable.json();
|
|
24
|
+
|
|
25
|
+
const findColumn = configForSubTableJson.columnsConfig.find(element => {
|
|
26
|
+
return element.columnName === "ParentPk";
|
|
27
|
+
});
|
|
28
|
+
|
|
29
|
+
findColumn.defaultValue = pkFromParams;
|
|
30
|
+
|
|
31
|
+
await initTableWithFooter(configForSubTableJson);
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
export default startFunc;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
let StartFunc = ({ inResponse }) => {
|
|
2
|
+
// const jVarLocalRedirectUrl = ConfigJson.Protected.RedirectUrl;
|
|
3
|
+
|
|
4
|
+
// window.location.href = jVarLocalRedirectUrl;
|
|
5
|
+
|
|
6
|
+
jFLocalAddUrlParams({ inSuccessUrl: "../ShowAll/AsIs.html" });
|
|
7
|
+
// console.log("aaaaaaa : ", jVarLocalRedirectUrl);
|
|
8
|
+
// http://localhost:9113/V5/StudentNames/pages/ShowAll/AsIs.html#top
|
|
9
|
+
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
const jFLocalAddUrlParams = ({ inSuccessUrl }) => {
|
|
13
|
+
const jVarLocalRedirectUrl = ConfigJson.Protected.RedirectUrl;
|
|
14
|
+
|
|
15
|
+
const url = new URL(window.location.href);
|
|
16
|
+
|
|
17
|
+
let NewURl = new URL(jVarLocalRedirectUrl, url);
|
|
18
|
+
|
|
19
|
+
NewURl.searchParams.append('SuccessUrl', inSuccessUrl);
|
|
20
|
+
window.location.href = NewURl.href;
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
export { StartFunc };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import getUrlJson from './getUrl.json' with {type: 'json'};
|
|
2
|
+
|
|
3
|
+
let StartFunc = async ({ inPk }) => {
|
|
4
|
+
let jVarLocalGetEndPoint = `${getUrlJson.GetEndPoint}/${inPk}`;
|
|
5
|
+
|
|
6
|
+
let response = await fetch(jVarLocalGetEndPoint);
|
|
7
|
+
|
|
8
|
+
return await response;
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
export { StartFunc };
|
|
12
|
+
|