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.
Files changed (289) hide show
  1. package/bin/cli.js +1 -1
  2. package/bin/v3/commands/TableComp/template/v2/Index/Configs/Create/config.json +64 -64
  3. package/bin/v3/commands/TableComp/template/v2/Index/Configs/ShowAll/config.json +59 -59
  4. package/bin/v3/commands/TableComp/template/v2/Index/Configs/WithSearch/config.json +68 -68
  5. package/bin/v3/commands/TableComp/template/v2/Index/Configs/WithSerial/config.json +62 -62
  6. package/bin/v3/commands/TableComp/template/v3/Index/Configs/Create/config.json +64 -64
  7. package/bin/v3/commands/TableComp/template/v3/Index/Configs/ShowAll/config.json +59 -59
  8. package/bin/v3/commands/TableComp/template/v3/Index/Configs/WithSearch/config.json +68 -68
  9. package/bin/v3/commands/TableComp/template/v3/Index/Configs/WithSerial/config.json +68 -68
  10. package/bin/v3/commands/TableComp/template/v4/Index/Configs/Create/config.json +64 -64
  11. package/bin/v3/commands/TableComp/template/v4/Index/Configs/ShowAll/config.json +65 -65
  12. package/bin/v3/commands/TableComp/template/v4/Index/Configs/WithSearch/config.json +74 -74
  13. package/bin/v3/commands/TableComp/template/v4/Index/Configs/WithSerial/config.json +68 -68
  14. package/bin/v3/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/EscapeKey/keydownFunc.js +15 -15
  15. package/bin/v3/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/EscapeKey/start.js +7 -7
  16. package/bin/v3/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/UserHeaderHtmlId/clickFunc/confirmLogout.js +4 -4
  17. package/bin/v3/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/UserHeaderHtmlId/clickFunc/index.js +16 -16
  18. package/bin/v3/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/UserHeaderHtmlId/start.js +11 -11
  19. package/bin/v3/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/loginButtonId/clickFunc/api/postLogin.js +15 -15
  20. package/bin/v3/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/loginButtonId/clickFunc/credentials/getLoginPayload.js +9 -9
  21. package/bin/v3/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/loginButtonId/clickFunc/credentials/getPassword.js +4 -4
  22. package/bin/v3/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/loginButtonId/clickFunc/credentials/getUserName.js +4 -4
  23. package/bin/v3/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/loginButtonId/clickFunc/index.js +16 -16
  24. package/bin/v3/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/loginButtonId/clickFunc/ui/loginFailure/index.js +7 -7
  25. package/bin/v3/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/loginButtonId/clickFunc/ui/loginFailure/showLoginError.js +15 -15
  26. package/bin/v3/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/loginButtonId/clickFunc/ui/loginSuccess/hideLoginError.js +11 -11
  27. package/bin/v3/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/loginButtonId/clickFunc/ui/loginSuccess/index.js +11 -11
  28. package/bin/v3/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/start.js +10 -10
  29. package/bin/v3/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/ApplyMenuFromCookie/index.js +16 -16
  30. package/bin/v3/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/Common/AuthCookie/decodeJwt.js +10 -10
  31. package/bin/v3/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/Common/AuthCookie/deleteKSTokenCookie.js +5 -5
  32. package/bin/v3/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/Common/AuthCookie/getTokenFromCookie.js +7 -7
  33. package/bin/v3/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/Common/AuthCookie/getUserCode.js +12 -12
  34. package/bin/v3/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/Common/LoginModal/hide.js +7 -7
  35. package/bin/v3/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/Common/MenuState/applyLoggedInMenu.js +11 -11
  36. package/bin/v3/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/Common/MenuState/applyLoggedOutMenu.js +11 -11
  37. package/bin/v3/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/Common/MenuState/hideLoginMenu.js +8 -8
  38. package/bin/v3/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/Common/MenuState/hideUserMenu.js +8 -8
  39. package/bin/v3/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/Common/MenuState/resetUserHeader.js +8 -8
  40. package/bin/v3/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/Common/MenuState/showLoginMenu.js +8 -8
  41. package/bin/v3/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/Common/MenuState/showUserMenu.js +8 -8
  42. package/bin/v3/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/Common/MenuState/updateUserHeader.js +10 -10
  43. package/bin/v3/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/runAfterDomLoad.js +7 -7
  44. package/bin/{v2 → v4}/commands/TableComp/steps/AlterJson/index.js +0 -3
  45. package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/Configs/Create/config.json +64 -64
  46. package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/Configs/ShowAll/config.json +59 -59
  47. package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/Configs/WithSearch/config.json +68 -68
  48. package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/Configs/WithSerial/config.json +62 -62
  49. package/bin/v4/commands/TableComp/template/v3/Index/Configs/Create/config.json +65 -0
  50. package/bin/v4/commands/TableComp/template/v3/Index/Configs/ShowAll/config.json +60 -0
  51. package/bin/v4/commands/TableComp/template/v3/Index/Configs/WithSearch/config.json +69 -0
  52. package/bin/v4/commands/TableComp/template/v3/Index/Configs/WithSerial/config.json +69 -0
  53. package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/BuildTable/callKSSubTable.js +13 -0
  54. package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/BuildTable/callKSTable.js +11 -0
  55. package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/BuildTable/formSearchParamsFunc.js +8 -0
  56. package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/BuildTable/getKSTableConfig.js +27 -0
  57. package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/BuildTable/index.js +34 -0
  58. package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/AfterFetch/entryFile.js +7 -0
  59. package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/AfterFetch/status200.js +7 -0
  60. package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/AfterFetch/status401.js +23 -0
  61. package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/AfterFetch/status409.js +9 -0
  62. package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/AfterFetch/url.json +4 -0
  63. package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/fetchFuncs.js +12 -0
  64. package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/getUrl.json +3 -0
  65. package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/start.js +13 -0
  66. package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/clickFunc.js +46 -0
  67. package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/start.js +11 -0
  68. package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/ShowAllHtmlId/BuildTable/callKSTable.js +5 -0
  69. package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/ShowAllHtmlId/BuildTable/getKSTableConfig.js +7 -0
  70. package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/ShowAllHtmlId/BuildTable/index.js +10 -0
  71. package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/ShowAllHtmlId/clickFunc.js +24 -0
  72. package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/ShowAllHtmlId/start.js +11 -0
  73. package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/WithSearchHtmlId/BuildTable/callKSTable.js +5 -0
  74. package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/WithSearchHtmlId/BuildTable/getKSTableConfig.js +7 -0
  75. package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/WithSearchHtmlId/BuildTable/index.js +10 -0
  76. package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/WithSearchHtmlId/clickFunc.js +24 -0
  77. package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/WithSearchHtmlId/start.js +11 -0
  78. package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/WithSerialHtmlId/BuildTable/callKSTable.js +5 -0
  79. package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/WithSerialHtmlId/BuildTable/getKSTableConfig.js +18 -0
  80. package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/WithSerialHtmlId/BuildTable/index.js +10 -0
  81. package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/WithSerialHtmlId/clickFunc.js +24 -0
  82. package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/WithSerialHtmlId/start.js +11 -0
  83. package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/loginButtonId/clickFunc.js +47 -0
  84. package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/loginButtonId/start.js +11 -0
  85. package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/loginHeaderHtmlId/clickFunc.js +21 -0
  86. package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/loginHeaderHtmlId/start.js +11 -0
  87. package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/AddListeners/start.js +15 -0
  88. package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/CommonFuncs/afterHeadSave.js +33 -0
  89. package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/CommonFuncs/onSuccess.js +13 -0
  90. package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/buildHeader.js +12 -0
  91. package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/runAfterDomLoad.js +12 -0
  92. package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/DomContentLoaded/start.js +7 -0
  93. package/bin/v4/commands/TableComp/template/v3/Index/FormLoad/start.js +5 -0
  94. package/bin/v4/commands/TableComp/template/v3/Index/headers.json +51 -0
  95. package/bin/v4/commands/TableComp/template/v3/Index/start.js +7 -0
  96. package/bin/v4/commands/TableComp/template/v3/index.html +132 -0
  97. package/bin/v4/commands/TableComp/template/v3/script.js +276 -0
  98. package/bin/v4/commands/TableComp/template/v3/tailwind-3.css +1 -0
  99. package/bin/v4/commands/TableComp/template/v4/Index/Configs/Create/config.json +65 -0
  100. package/bin/v4/commands/TableComp/template/v4/Index/Configs/ShowAll/config.json +66 -0
  101. package/bin/v4/commands/TableComp/template/v4/Index/Configs/WithSearch/config.json +75 -0
  102. package/bin/v4/commands/TableComp/template/v4/Index/Configs/WithSerial/config.json +69 -0
  103. package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/BuildTable/callKSSubTable.js +13 -0
  104. package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/BuildTable/callKSTable.js +11 -0
  105. package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/BuildTable/formSearchParamsFunc.js +8 -0
  106. package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/BuildTable/getKSTableConfig.js +27 -0
  107. package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/BuildTable/index.js +34 -0
  108. package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/AfterFetch/entryFile.js +7 -0
  109. package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/AfterFetch/status200.js +7 -0
  110. package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/AfterFetch/status401.js +23 -0
  111. package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/AfterFetch/status409.js +9 -0
  112. package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/AfterFetch/url.json +4 -0
  113. package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/fetchFuncs.js +12 -0
  114. package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/getUrl.json +3 -0
  115. package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/start.js +13 -0
  116. package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/clickFunc.js +46 -0
  117. package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/start.js +11 -0
  118. package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/EscapeKey/keydownFunc.js +15 -0
  119. package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/EscapeKey/start.js +7 -0
  120. package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/ShowAllHtmlId/BuildTable/callKSTable.js +5 -0
  121. package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/ShowAllHtmlId/BuildTable/getKSTableConfig.js +12 -0
  122. package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/ShowAllHtmlId/BuildTable/index.js +10 -0
  123. package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/ShowAllHtmlId/clickFunc.js +24 -0
  124. package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/ShowAllHtmlId/start.js +11 -0
  125. package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/UserHeaderHtmlId/clickFunc/confirmLogout.js +4 -0
  126. package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/UserHeaderHtmlId/clickFunc/index.js +16 -0
  127. package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/UserHeaderHtmlId/start.js +11 -0
  128. package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/WithSearchHtmlId/BuildTable/callKSTable.js +5 -0
  129. package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/WithSearchHtmlId/BuildTable/getKSTableConfig.js +11 -0
  130. package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/WithSearchHtmlId/BuildTable/index.js +10 -0
  131. package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/WithSearchHtmlId/clickFunc.js +24 -0
  132. package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/WithSearchHtmlId/start.js +11 -0
  133. package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/WithSerialHtmlId/BuildTable/callKSTable.js +5 -0
  134. package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/WithSerialHtmlId/BuildTable/getKSTableConfig.js +12 -0
  135. package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/WithSerialHtmlId/BuildTable/index.js +10 -0
  136. package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/WithSerialHtmlId/clickFunc.js +24 -0
  137. package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/WithSerialHtmlId/start.js +11 -0
  138. package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/loginButtonId/clickFunc/api/postLogin.js +15 -0
  139. package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/loginButtonId/clickFunc/credentials/getLoginPayload.js +9 -0
  140. package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/loginButtonId/clickFunc/credentials/getPassword.js +4 -0
  141. package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/loginButtonId/clickFunc/credentials/getUserName.js +4 -0
  142. package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/loginButtonId/clickFunc/index.js +16 -0
  143. package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/loginButtonId/clickFunc/ui/loginFailure/index.js +7 -0
  144. package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/loginButtonId/clickFunc/ui/loginFailure/showLoginError.js +15 -0
  145. package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/loginButtonId/clickFunc/ui/loginSuccess/hideLoginError.js +11 -0
  146. package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/loginButtonId/clickFunc/ui/loginSuccess/index.js +11 -0
  147. package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/loginButtonId/clickFunc copy.js +74 -0
  148. package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/loginButtonId/start.js +11 -0
  149. package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/loginHeaderHtmlId/clickFunc.js +21 -0
  150. package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/loginHeaderHtmlId/start.js +11 -0
  151. package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/AddListeners/start.js +19 -0
  152. package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/ApplyMenuFromCookie/index.js +16 -0
  153. package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/Common/AuthCookie/decodeJwt.js +10 -0
  154. package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/Common/AuthCookie/deleteKSTokenCookie.js +5 -0
  155. package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/Common/AuthCookie/getTokenFromCookie.js +7 -0
  156. package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/Common/AuthCookie/getUserCode.js +12 -0
  157. package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/Common/LoginModal/hide.js +7 -0
  158. package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/Common/MenuState/applyLoggedInMenu.js +11 -0
  159. package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/Common/MenuState/applyLoggedOutMenu.js +11 -0
  160. package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/Common/MenuState/hideLoginMenu.js +8 -0
  161. package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/Common/MenuState/hideUserMenu.js +8 -0
  162. package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/Common/MenuState/resetUserHeader.js +8 -0
  163. package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/Common/MenuState/showLoginMenu.js +8 -0
  164. package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/Common/MenuState/showUserMenu.js +8 -0
  165. package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/Common/MenuState/updateUserHeader.js +10 -0
  166. package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/CommonFuncs/afterHeadSave.js +33 -0
  167. package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/CommonFuncs/onReadFail.js +10 -0
  168. package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/CommonFuncs/onSuccess.js +13 -0
  169. package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/buildHeader.js +12 -0
  170. package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/runAfterDomLoad.js +14 -0
  171. package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/DomContentLoaded/start.js +7 -0
  172. package/bin/v4/commands/TableComp/template/v4/Index/FormLoad/start.js +5 -0
  173. package/bin/v4/commands/TableComp/template/v4/Index/headers.json +63 -0
  174. package/bin/v4/commands/TableComp/template/v4/Index/start.js +7 -0
  175. package/bin/v4/commands/TableComp/template/v4/index.html +117 -0
  176. package/bin/v4/commands/TableComp/template/v4/script.js +278 -0
  177. package/bin/v4/commands/TableComp/template/v4/tailwind-3.css +1 -0
  178. package/package.json +1 -1
  179. /package/bin/{v2 → v4}/commands/TableComp/steps/AlterJson/updateColumnsConfig.js +0 -0
  180. /package/bin/{v2 → v4}/commands/TableComp/steps/alterJson.js +0 -0
  181. /package/bin/{v2 → v4}/commands/TableComp/steps/announce.js +0 -0
  182. /package/bin/{v2 → v4}/commands/TableComp/steps/checks.js +0 -0
  183. /package/bin/{v2 → v4}/commands/TableComp/steps/createProject.js +0 -0
  184. /package/bin/{v2 → v4}/commands/TableComp/steps/locateDestination.js +0 -0
  185. /package/bin/{v2 → v4}/commands/TableComp/steps/locateSource.js +0 -0
  186. /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/Configs/Create/config.json +0 -0
  187. /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/Configs/ShowAll/config.json +0 -0
  188. /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/Configs/WithSearch/config.json +0 -0
  189. /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/Configs/WithSerial/config.json +0 -0
  190. /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/BuildTable/callKSSubTable.js +0 -0
  191. /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/BuildTable/callKSTable.js +0 -0
  192. /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/BuildTable/formSearchParamsFunc.js +0 -0
  193. /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/BuildTable/getKSTableConfig.js +0 -0
  194. /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/BuildTable/index.js +0 -0
  195. /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/AfterFetch/entryFile.js +0 -0
  196. /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/AfterFetch/status200.js +0 -0
  197. /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/AfterFetch/status401.js +0 -0
  198. /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/AfterFetch/status409.js +0 -0
  199. /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/AfterFetch/url.json +0 -0
  200. /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/fetchFuncs.js +0 -0
  201. /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/getUrl.json +0 -0
  202. /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/start.js +0 -0
  203. /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/clickFunc.js +0 -0
  204. /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/start.js +0 -0
  205. /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/CreateHtmlId/BuildTable/callKSTable.js +0 -0
  206. /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/CreateHtmlId/BuildTable/getKSTableConfig.js +0 -0
  207. /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/CreateHtmlId/BuildTable/index.js +0 -0
  208. /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/CreateHtmlId/clickFunc.js +0 -0
  209. /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/CreateHtmlId/start.js +0 -0
  210. /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/ShowAllHtmlId/BuildTable/callKSTable.js +0 -0
  211. /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/ShowAllHtmlId/BuildTable/getKSTableConfig.js +0 -0
  212. /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/ShowAllHtmlId/BuildTable/index.js +0 -0
  213. /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/ShowAllHtmlId/clickFunc.js +0 -0
  214. /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/ShowAllHtmlId/start.js +0 -0
  215. /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/WithSearchHtmlId/BuildTable/callKSTable.js +0 -0
  216. /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/WithSearchHtmlId/BuildTable/getKSTableConfig.js +0 -0
  217. /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/WithSearchHtmlId/BuildTable/index.js +0 -0
  218. /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/WithSearchHtmlId/clickFunc.js +0 -0
  219. /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/WithSearchHtmlId/start.js +0 -0
  220. /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/WithSerialHtmlId/BuildTable/callKSTable.js +0 -0
  221. /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/WithSerialHtmlId/BuildTable/getKSTableConfig.js +0 -0
  222. /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/WithSerialHtmlId/BuildTable/index.js +0 -0
  223. /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/WithSerialHtmlId/clickFunc.js +0 -0
  224. /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/WithSerialHtmlId/start.js +0 -0
  225. /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/AddListeners/start.js +0 -0
  226. /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/CommonFuncs/afterHeadSave.js +0 -0
  227. /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/CommonFuncs/onSuccess.js +0 -0
  228. /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/buildHeader.js +0 -0
  229. /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/runAfterDomLoad.js +0 -0
  230. /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/DomContentLoaded/start.js +0 -0
  231. /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/FormLoad/start.js +0 -0
  232. /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/headers.json +0 -0
  233. /package/bin/{v2 → v4}/commands/TableComp/template/v1/Index/start.js +0 -0
  234. /package/bin/{v2 → v4}/commands/TableComp/template/v1/index.html +0 -0
  235. /package/bin/{v2 → v4}/commands/TableComp/template/v1/script.js +0 -0
  236. /package/bin/{v2 → v4}/commands/TableComp/template/v1/tailwind-3.css +0 -0
  237. /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/BuildTable/callKSSubTable.js +0 -0
  238. /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/BuildTable/callKSTable.js +0 -0
  239. /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/BuildTable/formSearchParamsFunc.js +0 -0
  240. /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/BuildTable/getKSTableConfig.js +0 -0
  241. /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/BuildTable/index.js +0 -0
  242. /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/AfterFetch/entryFile.js +0 -0
  243. /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/AfterFetch/status200.js +0 -0
  244. /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/AfterFetch/status401.js +0 -0
  245. /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/AfterFetch/status409.js +0 -0
  246. /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/AfterFetch/url.json +0 -0
  247. /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/fetchFuncs.js +0 -0
  248. /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/getUrl.json +0 -0
  249. /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/FetchAsGet/start.js +0 -0
  250. /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/clickFunc.js +0 -0
  251. /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/AddItemHtmlId/start.js +0 -0
  252. /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/CreateHtmlId/BuildTable/callKSTable.js +0 -0
  253. /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/CreateHtmlId/BuildTable/getKSTableConfig.js +0 -0
  254. /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/CreateHtmlId/BuildTable/index.js +0 -0
  255. /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/CreateHtmlId/clickFunc.js +0 -0
  256. /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/CreateHtmlId/start.js +0 -0
  257. /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/ShowAllHtmlId/BuildTable/callKSTable.js +0 -0
  258. /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/ShowAllHtmlId/BuildTable/getKSTableConfig.js +0 -0
  259. /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/ShowAllHtmlId/BuildTable/index.js +0 -0
  260. /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/ShowAllHtmlId/clickFunc.js +0 -0
  261. /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/ShowAllHtmlId/start.js +0 -0
  262. /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/WithSearchHtmlId/BuildTable/callKSTable.js +0 -0
  263. /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/WithSearchHtmlId/BuildTable/getKSTableConfig.js +0 -0
  264. /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/WithSearchHtmlId/BuildTable/index.js +0 -0
  265. /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/WithSearchHtmlId/clickFunc.js +0 -0
  266. /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/WithSearchHtmlId/start.js +0 -0
  267. /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/WithSerialHtmlId/BuildTable/callKSTable.js +0 -0
  268. /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/WithSerialHtmlId/BuildTable/getKSTableConfig.js +0 -0
  269. /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/WithSerialHtmlId/BuildTable/index.js +0 -0
  270. /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/WithSerialHtmlId/clickFunc.js +0 -0
  271. /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/WithSerialHtmlId/start.js +0 -0
  272. /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/AddListeners/start.js +0 -0
  273. /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/CommonFuncs/afterHeadSave.js +0 -0
  274. /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/CommonFuncs/onSuccess.js +0 -0
  275. /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/buildHeader.js +0 -0
  276. /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/runAfterDomLoad.js +0 -0
  277. /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/DomContentLoaded/start.js +0 -0
  278. /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/FormLoad/start.js +0 -0
  279. /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/headers.json +0 -0
  280. /package/bin/{v2 → v4}/commands/TableComp/template/v2/Index/start.js +0 -0
  281. /package/bin/{v2 → v4}/commands/TableComp/template/v2/index.html +0 -0
  282. /package/bin/{v2 → v4}/commands/TableComp/template/v2/script.js +0 -0
  283. /package/bin/{v2 → v4}/commands/TableComp/template/v2/tailwind-3.css +0 -0
  284. /package/bin/{v2 → v4}/commands/tableComp.js +0 -0
  285. /package/bin/{v2 → v4}/core/getAllVersions.js +0 -0
  286. /package/bin/{v2 → v4}/core/parseInput.js +0 -0
  287. /package/bin/{v2 → v4}/core/resolveCommand.js +0 -0
  288. /package/bin/{v2 → v4}/core/showUsage.js +0 -0
  289. /package/bin/{v2 → v4}/start.js +0 -0
@@ -1,69 +1,69 @@
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/LedgerNames/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": "LedgerName",
37
- "title": "LedgerName",
38
- "cellConfig": {
39
- "width": "150px"
40
- },
41
- "isSearchable": false,
42
- "dataListSource": "Dates.Date"
43
- },
44
- {
45
- "columnName": "LedgerParentName",
46
- "title": "Parent Name",
47
- "cellConfig": {
48
- "width": "100px"
49
- },
50
- "isSearchable": false,
51
- "dataListSource": "AccountNames.AccountName"
52
- },
53
- {
54
- "columnName": "GstRegistrationType",
55
- "title": "Registration Type",
56
- "cellConfig": {
57
- "width": "100px"
58
- }
59
- },
60
- {
61
- "columnName": "PartyGSTIN",
62
- "title": "GSTIN",
63
- "cellConfig": {
64
- "width": "100px",
65
- "tableFooter": {}
66
- }
67
- }
68
- ]
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/LedgerNames/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": "LedgerName",
37
+ "title": "LedgerName",
38
+ "cellConfig": {
39
+ "width": "150px"
40
+ },
41
+ "isSearchable": false,
42
+ "dataListSource": "Dates.Date"
43
+ },
44
+ {
45
+ "columnName": "LedgerParentName",
46
+ "title": "Parent Name",
47
+ "cellConfig": {
48
+ "width": "100px"
49
+ },
50
+ "isSearchable": false,
51
+ "dataListSource": "AccountNames.AccountName"
52
+ },
53
+ {
54
+ "columnName": "GstRegistrationType",
55
+ "title": "Registration Type",
56
+ "cellConfig": {
57
+ "width": "100px"
58
+ }
59
+ },
60
+ {
61
+ "columnName": "PartyGSTIN",
62
+ "title": "GSTIN",
63
+ "cellConfig": {
64
+ "width": "100px",
65
+ "tableFooter": {}
66
+ }
67
+ }
68
+ ]
69
69
  }
@@ -1,63 +1,63 @@
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
- "table": {
25
- "showSerial": true
26
- }
27
- },
28
- "columnsConfig": [
29
- {
30
- "columnName": "LedgerName",
31
- "title": "LedgerName",
32
- "cellConfig": {
33
- "width": "150px"
34
- },
35
- "isSearchable": false,
36
- "dataListSource": "Dates.Date"
37
- },
38
- {
39
- "columnName": "LedgerParentName",
40
- "title": "Parent Name",
41
- "cellConfig": {
42
- "width": "100px"
43
- },
44
- "isSearchable": false,
45
- "dataListSource": "AccountNames.AccountName"
46
- },
47
- {
48
- "columnName": "GstRegistrationType",
49
- "title": "Registration Type",
50
- "cellConfig": {
51
- "width": "100px"
52
- }
53
- },
54
- {
55
- "columnName": "PartyGSTIN",
56
- "title": "GSTIN",
57
- "cellConfig": {
58
- "width": "100px",
59
- "tableFooter": {}
60
- }
61
- }
62
- ]
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
+ "table": {
25
+ "showSerial": true
26
+ }
27
+ },
28
+ "columnsConfig": [
29
+ {
30
+ "columnName": "LedgerName",
31
+ "title": "LedgerName",
32
+ "cellConfig": {
33
+ "width": "150px"
34
+ },
35
+ "isSearchable": false,
36
+ "dataListSource": "Dates.Date"
37
+ },
38
+ {
39
+ "columnName": "LedgerParentName",
40
+ "title": "Parent Name",
41
+ "cellConfig": {
42
+ "width": "100px"
43
+ },
44
+ "isSearchable": false,
45
+ "dataListSource": "AccountNames.AccountName"
46
+ },
47
+ {
48
+ "columnName": "GstRegistrationType",
49
+ "title": "Registration Type",
50
+ "cellConfig": {
51
+ "width": "100px"
52
+ }
53
+ },
54
+ {
55
+ "columnName": "PartyGSTIN",
56
+ "title": "GSTIN",
57
+ "cellConfig": {
58
+ "width": "100px",
59
+ "tableFooter": {}
60
+ }
61
+ }
62
+ ]
63
63
  }
@@ -0,0 +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
+ }
65
+ }
@@ -0,0 +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
+ ]
60
+ }
@@ -0,0 +1,69 @@
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/LedgerNames/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": "LedgerName",
37
+ "title": "LedgerName",
38
+ "cellConfig": {
39
+ "width": "150px"
40
+ },
41
+ "isSearchable": false,
42
+ "dataListSource": "Dates.Date"
43
+ },
44
+ {
45
+ "columnName": "LedgerParentName",
46
+ "title": "Parent Name",
47
+ "cellConfig": {
48
+ "width": "100px"
49
+ },
50
+ "isSearchable": false,
51
+ "dataListSource": "AccountNames.AccountName"
52
+ },
53
+ {
54
+ "columnName": "GstRegistrationType",
55
+ "title": "Registration Type",
56
+ "cellConfig": {
57
+ "width": "100px"
58
+ }
59
+ },
60
+ {
61
+ "columnName": "PartyGSTIN",
62
+ "title": "GSTIN",
63
+ "cellConfig": {
64
+ "width": "100px",
65
+ "tableFooter": {}
66
+ }
67
+ }
68
+ ]
69
+ }
@@ -0,0 +1,69 @@
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": "/Protected/V1/LedgerNames/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": "LedgerName",
31
+ "title": "LedgerName",
32
+ "cellConfig": {
33
+ "width": "150px"
34
+ },
35
+ "isSearchable": false,
36
+ "dataListSource": "Dates.Date"
37
+ },
38
+ {
39
+ "columnName": "LedgerParentName",
40
+ "title": "Parent Name",
41
+ "cellConfig": {
42
+ "width": "100px"
43
+ },
44
+ "isSearchable": false,
45
+ "dataListSource": "AccountNames.AccountName"
46
+ },
47
+ {
48
+ "columnName": "GstRegistrationType",
49
+ "title": "Registration Type",
50
+ "cellConfig": {
51
+ "width": "100px"
52
+ }
53
+ },
54
+ {
55
+ "columnName": "PartyGSTIN",
56
+ "title": "GSTIN",
57
+ "cellConfig": {
58
+ "width": "100px",
59
+ "tableFooter": {}
60
+ }
61
+ }
62
+ ],
63
+ "callbacks": {
64
+ "table": {
65
+ "onDelete": "function",
66
+ "onReadFail": "function"
67
+ }
68
+ }
69
+ }
@@ -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,11 @@
1
+ import { initCreate } from "/KSTableAi/V45/entry.js";
2
+
3
+ export const callKSTable = async (config) => {
4
+ if (window?.KSTable) {
5
+ console.log("loaded from cdn");
6
+
7
+ return window.KSTable.initCreate(config);
8
+ };
9
+
10
+ return initCreate(config);
11
+ };
@@ -0,0 +1,8 @@
1
+ const formSearchParamsFunc = ({ inKeyName }) => {
2
+ const params = new URLSearchParams(window.location.search);
3
+ const pk = params.get(inKeyName);
4
+
5
+ return pk;
6
+ };
7
+
8
+ export { formSearchParamsFunc };
@@ -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,7 @@
1
+ let StartFunc = async ({ inResponse, inPk }) => {
2
+ if (inResponse.status === 200) {
3
+ return await inResponse.json();
4
+ };
5
+ };
6
+
7
+ export { StartFunc };
@@ -0,0 +1,7 @@
1
+ import { StartFunc as StartFuncFor200Res } from "./For200Res/entryFile.js";
2
+
3
+ let StartFunc = ({ inResponseAsJson }) => {
4
+ StartFuncFor200Res({ inResponseAsJson });
5
+ };
6
+
7
+ export { 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 };