json-crud-ui-comp-table 1.3.4 → 1.4.1
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/bin/cli.js +1 -1
- package/bin/v3/commands/TableComp/template/v2/Index/Configs/Create/config.json +64 -64
- package/bin/v3/commands/TableComp/template/v2/Index/Configs/ShowAll/config.json +59 -59
- package/bin/v3/commands/TableComp/template/v2/Index/Configs/WithSearch/config.json +68 -68
- package/bin/v3/commands/TableComp/template/v2/Index/Configs/WithSerial/config.json +62 -62
- package/bin/v3/commands/TableComp/template/v3/Index/Configs/Create/config.json +64 -64
- package/bin/v3/commands/TableComp/template/v3/Index/Configs/ShowAll/config.json +59 -59
- package/bin/v3/commands/TableComp/template/v3/Index/Configs/WithSearch/config.json +68 -68
- package/bin/v3/commands/TableComp/template/v3/Index/Configs/WithSerial/config.json +68 -68
- package/bin/v3/commands/TableComp/template/v4/Index/Configs/Create/config.json +64 -64
- package/bin/v3/commands/TableComp/template/v4/Index/Configs/ShowAll/config.json +65 -65
- package/bin/v3/commands/TableComp/template/v4/Index/Configs/WithSearch/config.json +74 -74
- package/bin/v3/commands/TableComp/template/v4/Index/Configs/WithSerial/config.json +68 -68
- package/bin/v3/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/EscapeKey/keydownFunc.js +15 -15
- package/bin/v3/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/EscapeKey/start.js +7 -7
- package/bin/v3/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/UserHeaderHtmlId/clickFunc/confirmLogout.js +4 -4
- package/bin/v3/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/UserHeaderHtmlId/clickFunc/index.js +16 -16
- package/bin/v3/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/UserHeaderHtmlId/start.js +11 -11
- package/bin/v3/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/loginButtonId/clickFunc/api/postLogin.js +15 -15
- package/bin/v3/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/loginButtonId/clickFunc/credentials/getLoginPayload.js +9 -9
- package/bin/v3/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/loginButtonId/clickFunc/credentials/getPassword.js +4 -4
- package/bin/v3/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/loginButtonId/clickFunc/credentials/getUserName.js +4 -4
- package/bin/v3/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/loginButtonId/clickFunc/index.js +16 -16
- package/bin/v3/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/loginButtonId/clickFunc/ui/loginFailure/index.js +7 -7
- package/bin/v3/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/loginButtonId/clickFunc/ui/loginFailure/showLoginError.js +15 -15
- package/bin/v3/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/loginButtonId/clickFunc/ui/loginSuccess/hideLoginError.js +11 -11
- package/bin/v3/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/loginButtonId/clickFunc/ui/loginSuccess/index.js +11 -11
- package/bin/v3/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/start.js +10 -10
- package/bin/v3/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/ApplyMenuFromCookie/index.js +16 -16
- package/bin/v3/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/Common/AuthCookie/decodeJwt.js +10 -10
- package/bin/v3/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/Common/AuthCookie/deleteKSTokenCookie.js +5 -5
- package/bin/v3/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/Common/AuthCookie/getTokenFromCookie.js +7 -7
- package/bin/v3/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/Common/AuthCookie/getUserCode.js +12 -12
- package/bin/v3/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/Common/LoginModal/hide.js +7 -7
- package/bin/v3/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/Common/MenuState/applyLoggedInMenu.js +11 -11
- package/bin/v3/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/Common/MenuState/applyLoggedOutMenu.js +11 -11
- package/bin/v3/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/Common/MenuState/hideLoginMenu.js +8 -8
- package/bin/v3/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/Common/MenuState/hideUserMenu.js +8 -8
- package/bin/v3/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/Common/MenuState/resetUserHeader.js +8 -8
- package/bin/v3/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/Common/MenuState/showLoginMenu.js +8 -8
- package/bin/v3/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/Common/MenuState/showUserMenu.js +8 -8
- package/bin/v3/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/Common/MenuState/updateUserHeader.js +10 -10
- package/bin/v3/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/runAfterDomLoad.js +7 -7
- package/bin/{v2 → v4}/commands/TableComp/steps/AlterJson/index.js +0 -3
- package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/Configs/Create/config.json +64 -64
- package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/Configs/ShowAll/config.json +59 -59
- package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/Configs/WithSearch/config.json +68 -68
- package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/Configs/WithSerial/config.json +62 -62
- package/bin/v4/commands/TableComp/template/v3/Index/Configs/Create/config.json +65 -0
- package/bin/v4/commands/TableComp/template/v3/Index/Configs/ShowAll/config.json +60 -0
- package/bin/v4/commands/TableComp/template/v3/Index/Configs/WithSearch/config.json +69 -0
- package/bin/v4/commands/TableComp/template/v3/Index/Configs/WithSerial/config.json +69 -0
- package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/BuildTable/callKSSubTable.js +13 -0
- package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/BuildTable/callKSTable.js +11 -0
- package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/BuildTable/formSearchParamsFunc.js +8 -0
- package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/BuildTable/getKSTableConfig.js +27 -0
- package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/BuildTable/index.js +34 -0
- package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/AfterFetch/entryFile.js +7 -0
- package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/AfterFetch/status200.js +7 -0
- package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/AfterFetch/status401.js +23 -0
- package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/AfterFetch/status409.js +9 -0
- package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/AfterFetch/url.json +4 -0
- package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/fetchFuncs.js +12 -0
- package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/getUrl.json +3 -0
- package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/start.js +13 -0
- package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/clickFunc.js +46 -0
- package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/start.js +11 -0
- package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/ShowAllHtmlId/BuildTable/callKSTable.js +5 -0
- package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/ShowAllHtmlId/BuildTable/getKSTableConfig.js +7 -0
- package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/ShowAllHtmlId/BuildTable/index.js +10 -0
- package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/ShowAllHtmlId/clickFunc.js +24 -0
- package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/ShowAllHtmlId/start.js +11 -0
- package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/WithSearchHtmlId/BuildTable/callKSTable.js +5 -0
- package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/WithSearchHtmlId/BuildTable/getKSTableConfig.js +7 -0
- package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/WithSearchHtmlId/BuildTable/index.js +10 -0
- package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/WithSearchHtmlId/clickFunc.js +24 -0
- package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/WithSearchHtmlId/start.js +11 -0
- package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/WithSerialHtmlId/BuildTable/callKSTable.js +5 -0
- package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/WithSerialHtmlId/BuildTable/getKSTableConfig.js +18 -0
- package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/WithSerialHtmlId/BuildTable/index.js +10 -0
- package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/WithSerialHtmlId/clickFunc.js +24 -0
- package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/WithSerialHtmlId/start.js +11 -0
- package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/loginButtonId/clickFunc.js +47 -0
- package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/loginButtonId/start.js +11 -0
- package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/loginHeaderHtmlId/clickFunc.js +21 -0
- package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/loginHeaderHtmlId/start.js +11 -0
- package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/start.js +15 -0
- package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/CommonFuncs/afterHeadSave.js +33 -0
- package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/CommonFuncs/onSuccess.js +13 -0
- package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/buildHeader.js +12 -0
- package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/runAfterDomLoad.js +12 -0
- package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/start.js +7 -0
- package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/start.js +5 -0
- package/bin/v4/commands/TableComp/template/v3/Index/headers.json +51 -0
- package/bin/v4/commands/TableComp/template/v3/Index/start.js +7 -0
- package/bin/v4/commands/TableComp/template/v3/index.html +132 -0
- package/bin/v4/commands/TableComp/template/v3/script.js +276 -0
- package/bin/v4/commands/TableComp/template/v3/tailwind-3.css +1 -0
- package/bin/v4/commands/TableComp/template/v4/Index/Configs/Create/config.json +65 -0
- package/bin/v4/commands/TableComp/template/v4/Index/Configs/ShowAll/config.json +66 -0
- package/bin/v4/commands/TableComp/template/v4/Index/Configs/WithSearch/config.json +75 -0
- package/bin/v4/commands/TableComp/template/v4/Index/Configs/WithSerial/config.json +69 -0
- package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/BuildTable/callKSSubTable.js +13 -0
- package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/BuildTable/callKSTable.js +11 -0
- package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/BuildTable/formSearchParamsFunc.js +8 -0
- package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/BuildTable/getKSTableConfig.js +27 -0
- package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/BuildTable/index.js +34 -0
- package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/AfterFetch/entryFile.js +7 -0
- package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/AfterFetch/status200.js +7 -0
- package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/AfterFetch/status401.js +23 -0
- package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/AfterFetch/status409.js +9 -0
- package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/AfterFetch/url.json +4 -0
- package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/fetchFuncs.js +12 -0
- package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/getUrl.json +3 -0
- package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/start.js +13 -0
- package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/clickFunc.js +46 -0
- package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/start.js +11 -0
- package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/EscapeKey/keydownFunc.js +15 -0
- package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/EscapeKey/start.js +7 -0
- package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/ShowAllHtmlId/BuildTable/callKSTable.js +5 -0
- package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/ShowAllHtmlId/BuildTable/getKSTableConfig.js +12 -0
- package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/ShowAllHtmlId/BuildTable/index.js +10 -0
- package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/ShowAllHtmlId/clickFunc.js +24 -0
- package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/ShowAllHtmlId/start.js +11 -0
- package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/UserHeaderHtmlId/clickFunc/confirmLogout.js +4 -0
- package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/UserHeaderHtmlId/clickFunc/index.js +16 -0
- package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/UserHeaderHtmlId/start.js +11 -0
- package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/WithSearchHtmlId/BuildTable/callKSTable.js +5 -0
- package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/WithSearchHtmlId/BuildTable/getKSTableConfig.js +11 -0
- package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/WithSearchHtmlId/BuildTable/index.js +10 -0
- package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/WithSearchHtmlId/clickFunc.js +24 -0
- package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/WithSearchHtmlId/start.js +11 -0
- package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/WithSerialHtmlId/BuildTable/callKSTable.js +5 -0
- package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/WithSerialHtmlId/BuildTable/getKSTableConfig.js +12 -0
- package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/WithSerialHtmlId/BuildTable/index.js +10 -0
- package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/WithSerialHtmlId/clickFunc.js +24 -0
- package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/WithSerialHtmlId/start.js +11 -0
- package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/loginButtonId/clickFunc/api/postLogin.js +15 -0
- package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/loginButtonId/clickFunc/credentials/getLoginPayload.js +9 -0
- package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/loginButtonId/clickFunc/credentials/getPassword.js +4 -0
- package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/loginButtonId/clickFunc/credentials/getUserName.js +4 -0
- package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/loginButtonId/clickFunc/index.js +16 -0
- package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/loginButtonId/clickFunc/ui/loginFailure/index.js +7 -0
- package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/loginButtonId/clickFunc/ui/loginFailure/showLoginError.js +15 -0
- package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/loginButtonId/clickFunc/ui/loginSuccess/hideLoginError.js +11 -0
- package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/loginButtonId/clickFunc/ui/loginSuccess/index.js +11 -0
- package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/loginButtonId/clickFunc copy.js +74 -0
- package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/loginButtonId/start.js +11 -0
- package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/loginHeaderHtmlId/clickFunc.js +21 -0
- package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/loginHeaderHtmlId/start.js +11 -0
- package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/start.js +19 -0
- package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/ApplyMenuFromCookie/index.js +16 -0
- package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/Common/AuthCookie/decodeJwt.js +10 -0
- package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/Common/AuthCookie/deleteKSTokenCookie.js +5 -0
- package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/Common/AuthCookie/getTokenFromCookie.js +7 -0
- package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/Common/AuthCookie/getUserCode.js +12 -0
- package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/Common/LoginModal/hide.js +7 -0
- package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/Common/MenuState/applyLoggedInMenu.js +11 -0
- package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/Common/MenuState/applyLoggedOutMenu.js +11 -0
- package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/Common/MenuState/hideLoginMenu.js +8 -0
- package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/Common/MenuState/hideUserMenu.js +8 -0
- package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/Common/MenuState/resetUserHeader.js +8 -0
- package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/Common/MenuState/showLoginMenu.js +8 -0
- package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/Common/MenuState/showUserMenu.js +8 -0
- package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/Common/MenuState/updateUserHeader.js +10 -0
- package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/CommonFuncs/afterHeadSave.js +33 -0
- package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/CommonFuncs/onReadFail.js +10 -0
- package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/CommonFuncs/onSuccess.js +13 -0
- package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/buildHeader.js +12 -0
- package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/runAfterDomLoad.js +14 -0
- package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/start.js +7 -0
- package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/start.js +5 -0
- package/bin/v4/commands/TableComp/template/v4/Index/headers.json +63 -0
- package/bin/v4/commands/TableComp/template/v4/Index/start.js +7 -0
- package/bin/v4/commands/TableComp/template/v4/index.html +117 -0
- package/bin/v4/commands/TableComp/template/v4/script.js +278 -0
- package/bin/v4/commands/TableComp/template/v4/tailwind-3.css +1 -0
- package/package.json +1 -1
- /package/bin/{v2 → v4}/commands/TableComp/steps/AlterJson/updateColumnsConfig.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/steps/alterJson.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/steps/announce.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/steps/checks.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/steps/createProject.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/steps/locateDestination.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/steps/locateSource.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/Configs/Create/config.json +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/Configs/ShowAll/config.json +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/Configs/WithSearch/config.json +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/Configs/WithSerial/config.json +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/BuildTable/callKSSubTable.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/BuildTable/callKSTable.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/BuildTable/formSearchParamsFunc.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/BuildTable/getKSTableConfig.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/BuildTable/index.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/AfterFetch/entryFile.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/AfterFetch/status200.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/AfterFetch/status401.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/AfterFetch/status409.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/AfterFetch/url.json +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/fetchFuncs.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/getUrl.json +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/start.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/clickFunc.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/start.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/CreateHtmlId/BuildTable/callKSTable.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/CreateHtmlId/BuildTable/getKSTableConfig.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/CreateHtmlId/BuildTable/index.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/CreateHtmlId/clickFunc.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/CreateHtmlId/start.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/ShowAllHtmlId/BuildTable/callKSTable.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/ShowAllHtmlId/BuildTable/getKSTableConfig.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/ShowAllHtmlId/BuildTable/index.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/ShowAllHtmlId/clickFunc.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/ShowAllHtmlId/start.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/WithSearchHtmlId/BuildTable/callKSTable.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/WithSearchHtmlId/BuildTable/getKSTableConfig.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/WithSearchHtmlId/BuildTable/index.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/WithSearchHtmlId/clickFunc.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/WithSearchHtmlId/start.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/WithSerialHtmlId/BuildTable/callKSTable.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/WithSerialHtmlId/BuildTable/getKSTableConfig.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/WithSerialHtmlId/BuildTable/index.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/WithSerialHtmlId/clickFunc.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/WithSerialHtmlId/start.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/start.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/CommonFuncs/afterHeadSave.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/CommonFuncs/onSuccess.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/buildHeader.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/runAfterDomLoad.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/start.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/start.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/headers.json +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/start.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v1/index.html +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v1/script.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v1/tailwind-3.css +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/BuildTable/callKSSubTable.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/BuildTable/callKSTable.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/BuildTable/formSearchParamsFunc.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/BuildTable/getKSTableConfig.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/BuildTable/index.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/AfterFetch/entryFile.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/AfterFetch/status200.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/AfterFetch/status401.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/AfterFetch/status409.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/AfterFetch/url.json +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/fetchFuncs.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/getUrl.json +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/start.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/clickFunc.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/start.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/CreateHtmlId/BuildTable/callKSTable.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/CreateHtmlId/BuildTable/getKSTableConfig.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/CreateHtmlId/BuildTable/index.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/CreateHtmlId/clickFunc.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/CreateHtmlId/start.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/ShowAllHtmlId/BuildTable/callKSTable.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/ShowAllHtmlId/BuildTable/getKSTableConfig.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/ShowAllHtmlId/BuildTable/index.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/ShowAllHtmlId/clickFunc.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/ShowAllHtmlId/start.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/WithSearchHtmlId/BuildTable/callKSTable.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/WithSearchHtmlId/BuildTable/getKSTableConfig.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/WithSearchHtmlId/BuildTable/index.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/WithSearchHtmlId/clickFunc.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/WithSearchHtmlId/start.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/WithSerialHtmlId/BuildTable/callKSTable.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/WithSerialHtmlId/BuildTable/getKSTableConfig.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/WithSerialHtmlId/BuildTable/index.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/WithSerialHtmlId/clickFunc.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/WithSerialHtmlId/start.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/start.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/CommonFuncs/afterHeadSave.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/CommonFuncs/onSuccess.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/buildHeader.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/runAfterDomLoad.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/start.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/start.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/headers.json +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/start.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v2/index.html +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v2/script.js +0 -0
- /package/bin/{v2 → v4}/commands/TableComp/template/v2/tailwind-3.css +0 -0
- /package/bin/{v2 → v4}/commands/tableComp.js +0 -0
- /package/bin/{v2 → v4}/core/getAllVersions.js +0 -0
- /package/bin/{v2 → v4}/core/parseInput.js +0 -0
- /package/bin/{v2 → v4}/core/resolveCommand.js +0 -0
- /package/bin/{v2 → v4}/core/showUsage.js +0 -0
- /package/bin/{v2 → v4}/start.js +0 -0
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import getTokenFromCookie from "../Common/AuthCookie/getTokenFromCookie.js";
|
|
2
|
-
import applyLoggedInMenu from "../Common/MenuState/applyLoggedInMenu.js";
|
|
3
|
-
import applyLoggedOutMenu from "../Common/MenuState/applyLoggedOutMenu.js";
|
|
4
|
-
|
|
5
|
-
const applyMenuFromCookie = () => {
|
|
6
|
-
const token = getTokenFromCookie();
|
|
7
|
-
|
|
8
|
-
if (!token) {
|
|
9
|
-
applyLoggedOutMenu();
|
|
10
|
-
return;
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
applyLoggedInMenu();
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
export default applyMenuFromCookie;
|
|
1
|
+
import getTokenFromCookie from "../Common/AuthCookie/getTokenFromCookie.js";
|
|
2
|
+
import applyLoggedInMenu from "../Common/MenuState/applyLoggedInMenu.js";
|
|
3
|
+
import applyLoggedOutMenu from "../Common/MenuState/applyLoggedOutMenu.js";
|
|
4
|
+
|
|
5
|
+
const applyMenuFromCookie = () => {
|
|
6
|
+
const token = getTokenFromCookie();
|
|
7
|
+
|
|
8
|
+
if (!token) {
|
|
9
|
+
applyLoggedOutMenu();
|
|
10
|
+
return;
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
applyLoggedInMenu();
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export default applyMenuFromCookie;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
const decodeJwt = (token) => {
|
|
2
|
-
const [header, payload] = token.split(".");
|
|
3
|
-
|
|
4
|
-
return {
|
|
5
|
-
header: JSON.parse(atob(header)),
|
|
6
|
-
payload: atob(payload)
|
|
7
|
-
};
|
|
8
|
-
};
|
|
9
|
-
|
|
10
|
-
export default decodeJwt;
|
|
1
|
+
const decodeJwt = (token) => {
|
|
2
|
+
const [header, payload] = token.split(".");
|
|
3
|
+
|
|
4
|
+
return {
|
|
5
|
+
header: JSON.parse(atob(header)),
|
|
6
|
+
payload: atob(payload)
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
export default decodeJwt;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const deleteKSTokenCookie = () => {
|
|
2
|
-
document.cookie = "KSToken=; Max-Age=0; Path=/";
|
|
3
|
-
};
|
|
4
|
-
|
|
5
|
-
export default deleteKSTokenCookie;
|
|
1
|
+
const deleteKSTokenCookie = () => {
|
|
2
|
+
document.cookie = "KSToken=; Max-Age=0; Path=/";
|
|
3
|
+
};
|
|
4
|
+
|
|
5
|
+
export default deleteKSTokenCookie;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
const getTokenFromCookie = () =>
|
|
2
|
-
document.cookie
|
|
3
|
-
.split("; ")
|
|
4
|
-
.find(row => row.startsWith("KSToken="))
|
|
5
|
-
?.split("=")[1];
|
|
6
|
-
|
|
7
|
-
export default getTokenFromCookie;
|
|
1
|
+
const getTokenFromCookie = () =>
|
|
2
|
+
document.cookie
|
|
3
|
+
.split("; ")
|
|
4
|
+
.find(row => row.startsWith("KSToken="))
|
|
5
|
+
?.split("=")[1];
|
|
6
|
+
|
|
7
|
+
export default getTokenFromCookie;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import decodeJwt from "./decodeJwt.js";
|
|
2
|
-
import getTokenFromCookie from "./getTokenFromCookie.js";
|
|
3
|
-
|
|
4
|
-
const getUserCode = () => {
|
|
5
|
-
const token = getTokenFromCookie();
|
|
6
|
-
|
|
7
|
-
if (!token) return "";
|
|
8
|
-
|
|
9
|
-
return decodeJwt(token).payload;
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
export default getUserCode;
|
|
1
|
+
import decodeJwt from "./decodeJwt.js";
|
|
2
|
+
import getTokenFromCookie from "./getTokenFromCookie.js";
|
|
3
|
+
|
|
4
|
+
const getUserCode = () => {
|
|
5
|
+
const token = getTokenFromCookie();
|
|
6
|
+
|
|
7
|
+
if (!token) return "";
|
|
8
|
+
|
|
9
|
+
return decodeJwt(token).payload;
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
export default getUserCode;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
const hideLoginModal = () => {
|
|
2
|
-
document
|
|
3
|
-
.getElementById("loginModal")
|
|
4
|
-
.classList.add("hidden");
|
|
5
|
-
};
|
|
6
|
-
|
|
7
|
-
export default hideLoginModal;
|
|
1
|
+
const hideLoginModal = () => {
|
|
2
|
+
document
|
|
3
|
+
.getElementById("loginModal")
|
|
4
|
+
.classList.add("hidden");
|
|
5
|
+
};
|
|
6
|
+
|
|
7
|
+
export default hideLoginModal;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import hideLoginMenu from "./hideLoginMenu.js";
|
|
2
|
-
import showUserMenu from "./showUserMenu.js";
|
|
3
|
-
import updateUserHeader from "./updateUserHeader.js";
|
|
4
|
-
|
|
5
|
-
const applyLoggedInMenu = () => {
|
|
6
|
-
showUserMenu();
|
|
7
|
-
hideLoginMenu();
|
|
8
|
-
updateUserHeader();
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
export default applyLoggedInMenu;
|
|
1
|
+
import hideLoginMenu from "./hideLoginMenu.js";
|
|
2
|
+
import showUserMenu from "./showUserMenu.js";
|
|
3
|
+
import updateUserHeader from "./updateUserHeader.js";
|
|
4
|
+
|
|
5
|
+
const applyLoggedInMenu = () => {
|
|
6
|
+
showUserMenu();
|
|
7
|
+
hideLoginMenu();
|
|
8
|
+
updateUserHeader();
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
export default applyLoggedInMenu;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import hideUserMenu from "./hideUserMenu.js";
|
|
2
|
-
import resetUserHeader from "./resetUserHeader.js";
|
|
3
|
-
import showLoginMenu from "./showLoginMenu.js";
|
|
4
|
-
|
|
5
|
-
const applyLoggedOutMenu = () => {
|
|
6
|
-
hideUserMenu();
|
|
7
|
-
showLoginMenu();
|
|
8
|
-
resetUserHeader();
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
export default applyLoggedOutMenu;
|
|
1
|
+
import hideUserMenu from "./hideUserMenu.js";
|
|
2
|
+
import resetUserHeader from "./resetUserHeader.js";
|
|
3
|
+
import showLoginMenu from "./showLoginMenu.js";
|
|
4
|
+
|
|
5
|
+
const applyLoggedOutMenu = () => {
|
|
6
|
+
hideUserMenu();
|
|
7
|
+
showLoginMenu();
|
|
8
|
+
resetUserHeader();
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
export default applyLoggedOutMenu;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
const hideLoginMenu = () => {
|
|
2
|
-
document
|
|
3
|
-
.getElementById("loginHeaderHtmlId")
|
|
4
|
-
.closest("li")
|
|
5
|
-
.style.display = "none";
|
|
6
|
-
};
|
|
7
|
-
|
|
8
|
-
export default hideLoginMenu;
|
|
1
|
+
const hideLoginMenu = () => {
|
|
2
|
+
document
|
|
3
|
+
.getElementById("loginHeaderHtmlId")
|
|
4
|
+
.closest("li")
|
|
5
|
+
.style.display = "none";
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
export default hideLoginMenu;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
const hideUserMenu = () => {
|
|
2
|
-
document
|
|
3
|
-
.getElementById("UserHeaderHtmlId")
|
|
4
|
-
.closest("li")
|
|
5
|
-
.style.display = "none";
|
|
6
|
-
};
|
|
7
|
-
|
|
8
|
-
export default hideUserMenu;
|
|
1
|
+
const hideUserMenu = () => {
|
|
2
|
+
document
|
|
3
|
+
.getElementById("UserHeaderHtmlId")
|
|
4
|
+
.closest("li")
|
|
5
|
+
.style.display = "none";
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
export default hideUserMenu;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
const resetUserHeader = () => {
|
|
2
|
-
document
|
|
3
|
-
.getElementById("UserHeaderHtmlId")
|
|
4
|
-
.querySelector("span")
|
|
5
|
-
.textContent = "User";
|
|
6
|
-
};
|
|
7
|
-
|
|
8
|
-
export default resetUserHeader;
|
|
1
|
+
const resetUserHeader = () => {
|
|
2
|
+
document
|
|
3
|
+
.getElementById("UserHeaderHtmlId")
|
|
4
|
+
.querySelector("span")
|
|
5
|
+
.textContent = "User";
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
export default resetUserHeader;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
const showLoginMenu = () => {
|
|
2
|
-
document
|
|
3
|
-
.getElementById("loginHeaderHtmlId")
|
|
4
|
-
.closest("li")
|
|
5
|
-
.style.display = "";
|
|
6
|
-
};
|
|
7
|
-
|
|
8
|
-
export default showLoginMenu;
|
|
1
|
+
const showLoginMenu = () => {
|
|
2
|
+
document
|
|
3
|
+
.getElementById("loginHeaderHtmlId")
|
|
4
|
+
.closest("li")
|
|
5
|
+
.style.display = "";
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
export default showLoginMenu;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
const showUserMenu = () => {
|
|
2
|
-
document
|
|
3
|
-
.getElementById("UserHeaderHtmlId")
|
|
4
|
-
.closest("li")
|
|
5
|
-
.style.display = "";
|
|
6
|
-
};
|
|
7
|
-
|
|
8
|
-
export default showUserMenu;
|
|
1
|
+
const showUserMenu = () => {
|
|
2
|
+
document
|
|
3
|
+
.getElementById("UserHeaderHtmlId")
|
|
4
|
+
.closest("li")
|
|
5
|
+
.style.display = "";
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
export default showUserMenu;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import getUserCode from "../AuthCookie/getUserCode.js";
|
|
2
|
-
|
|
3
|
-
const updateUserHeader = () => {
|
|
4
|
-
document
|
|
5
|
-
.getElementById("UserHeaderHtmlId")
|
|
6
|
-
.querySelector("span")
|
|
7
|
-
.textContent = getUserCode();
|
|
8
|
-
};
|
|
9
|
-
|
|
10
|
-
export default updateUserHeader;
|
|
1
|
+
import getUserCode from "../AuthCookie/getUserCode.js";
|
|
2
|
+
|
|
3
|
+
const updateUserHeader = () => {
|
|
4
|
+
document
|
|
5
|
+
.getElementById("UserHeaderHtmlId")
|
|
6
|
+
.querySelector("span")
|
|
7
|
+
.textContent = getUserCode();
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
export default updateUserHeader;
|
package/bin/v3/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/runAfterDomLoad.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { buildHeader } from "./buildHeader.js";
|
|
2
|
-
import { hookAllListeners } from "./AddListeners/start.js";
|
|
3
|
-
import applyMenuFromCookie from "./ApplyMenuFromCookie/index.js";
|
|
1
|
+
import { buildHeader } from "./buildHeader.js";
|
|
2
|
+
import { hookAllListeners } from "./AddListeners/start.js";
|
|
3
|
+
import applyMenuFromCookie from "./ApplyMenuFromCookie/index.js";
|
|
4
4
|
|
|
5
5
|
const runAfterDomLoad = () => {
|
|
6
6
|
import("../../../script.js").then(fromPromise => {
|
|
7
|
-
buildHeader().then(fromPromise => {
|
|
8
|
-
applyMenuFromCookie();
|
|
9
|
-
hookAllListeners();
|
|
10
|
-
});
|
|
7
|
+
buildHeader().then(fromPromise => {
|
|
8
|
+
applyMenuFromCookie();
|
|
9
|
+
hookAllListeners();
|
|
10
|
+
});
|
|
11
11
|
});
|
|
12
12
|
};
|
|
13
13
|
|
|
@@ -33,9 +33,6 @@ const getShowAllConfigPath = ({ inDestination }) => {
|
|
|
33
33
|
};
|
|
34
34
|
|
|
35
35
|
const startFunc = ({ inDestination, tableName, fromConfigPath, showLog = false }) => {
|
|
36
|
-
console.log("aaaaaa : ", inDestination, tableName, fromConfigPath, showLog);
|
|
37
|
-
|
|
38
|
-
|
|
39
36
|
const columnsConfig = getSchemaConfig({ fromConfigPath, tableName, showLog });
|
|
40
37
|
|
|
41
38
|
const configRoot = getShowAllConfigPath({ inDestination });
|
|
@@ -1,65 +1,65 @@
|
|
|
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/LedgerNames/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": "LedgerName",
|
|
28
|
-
"title": "LedgerName",
|
|
29
|
-
"cellConfig": {
|
|
30
|
-
"width": "150px"
|
|
31
|
-
},
|
|
32
|
-
"isSearchable": false,
|
|
33
|
-
"dataListSource": "Dates.Date"
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
"columnName": "LedgerParentName",
|
|
37
|
-
"title": "Parent Name",
|
|
38
|
-
"cellConfig": {
|
|
39
|
-
"width": "100px"
|
|
40
|
-
},
|
|
41
|
-
"isSearchable": false,
|
|
42
|
-
"dataListSource": "AccountNames.AccountName"
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
"columnName": "GstRegistrationType",
|
|
46
|
-
"title": "Registration Type",
|
|
47
|
-
"cellConfig": {
|
|
48
|
-
"width": "100px"
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
"columnName": "PartyGSTIN",
|
|
53
|
-
"title": "GSTIN",
|
|
54
|
-
"cellConfig": {
|
|
55
|
-
"width": "100px",
|
|
56
|
-
"tableFooter": {}
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
],
|
|
60
|
-
"callbacks": {
|
|
61
|
-
"vertical": {
|
|
62
|
-
"onSuccess": "func"
|
|
63
|
-
}
|
|
64
|
-
}
|
|
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/LedgerNames/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": "LedgerName",
|
|
28
|
+
"title": "LedgerName",
|
|
29
|
+
"cellConfig": {
|
|
30
|
+
"width": "150px"
|
|
31
|
+
},
|
|
32
|
+
"isSearchable": false,
|
|
33
|
+
"dataListSource": "Dates.Date"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"columnName": "LedgerParentName",
|
|
37
|
+
"title": "Parent Name",
|
|
38
|
+
"cellConfig": {
|
|
39
|
+
"width": "100px"
|
|
40
|
+
},
|
|
41
|
+
"isSearchable": false,
|
|
42
|
+
"dataListSource": "AccountNames.AccountName"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"columnName": "GstRegistrationType",
|
|
46
|
+
"title": "Registration Type",
|
|
47
|
+
"cellConfig": {
|
|
48
|
+
"width": "100px"
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"columnName": "PartyGSTIN",
|
|
53
|
+
"title": "GSTIN",
|
|
54
|
+
"cellConfig": {
|
|
55
|
+
"width": "100px",
|
|
56
|
+
"tableFooter": {}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
],
|
|
60
|
+
"callbacks": {
|
|
61
|
+
"vertical": {
|
|
62
|
+
"onSuccess": "func"
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
65
|
}
|
|
@@ -1,60 +1,60 @@
|
|
|
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/V4/LedgerNames/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": "LedgerName",
|
|
28
|
-
"title": "LedgerName",
|
|
29
|
-
"cellConfig": {
|
|
30
|
-
"width": "150px"
|
|
31
|
-
},
|
|
32
|
-
"isSearchable": false,
|
|
33
|
-
"dataListSource": "Dates.Date"
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
"columnName": "LedgerParentName",
|
|
37
|
-
"title": "Parent Name",
|
|
38
|
-
"cellConfig": {
|
|
39
|
-
"width": "100px"
|
|
40
|
-
},
|
|
41
|
-
"isSearchable": false,
|
|
42
|
-
"dataListSource": "AccountNames.AccountName"
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
"columnName": "GstRegistrationType",
|
|
46
|
-
"title": "Registration Type",
|
|
47
|
-
"cellConfig": {
|
|
48
|
-
"width": "100px"
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
"columnName": "PartyGSTIN",
|
|
53
|
-
"title": "GSTIN",
|
|
54
|
-
"cellConfig": {
|
|
55
|
-
"width": "100px",
|
|
56
|
-
"tableFooter": {}
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
]
|
|
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/V4/LedgerNames/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": "LedgerName",
|
|
28
|
+
"title": "LedgerName",
|
|
29
|
+
"cellConfig": {
|
|
30
|
+
"width": "150px"
|
|
31
|
+
},
|
|
32
|
+
"isSearchable": false,
|
|
33
|
+
"dataListSource": "Dates.Date"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"columnName": "LedgerParentName",
|
|
37
|
+
"title": "Parent Name",
|
|
38
|
+
"cellConfig": {
|
|
39
|
+
"width": "100px"
|
|
40
|
+
},
|
|
41
|
+
"isSearchable": false,
|
|
42
|
+
"dataListSource": "AccountNames.AccountName"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"columnName": "GstRegistrationType",
|
|
46
|
+
"title": "Registration Type",
|
|
47
|
+
"cellConfig": {
|
|
48
|
+
"width": "100px"
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"columnName": "PartyGSTIN",
|
|
53
|
+
"title": "GSTIN",
|
|
54
|
+
"cellConfig": {
|
|
55
|
+
"width": "100px",
|
|
56
|
+
"tableFooter": {}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
]
|
|
60
60
|
}
|