blixify-ui-web 0.4.185 → 0.4.187

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 (31) hide show
  1. package/lib/components/data/dataTemplate/index.d.ts.map +1 -1
  2. package/lib/components/data/dataTemplate/index.js +10 -6
  3. package/lib/components/data/dataTemplate/index.js.map +1 -1
  4. package/lib/components/data/dataTemplate/spaceModel.d.ts +1 -0
  5. package/lib/components/data/dataTemplate/spaceModel.d.ts.map +1 -1
  6. package/lib/components/data/dataWrapper/index.d.ts +1 -0
  7. package/lib/components/data/dataWrapper/index.d.ts.map +1 -1
  8. package/lib/components/data/dataWrapper/index.js +3 -1
  9. package/lib/components/data/dataWrapper/index.js.map +1 -1
  10. package/lib/components/data/testData.d.ts +3 -0
  11. package/lib/components/data/testData.d.ts.map +1 -1
  12. package/lib/components/data/testData.js +4 -1
  13. package/lib/components/data/testData.js.map +1 -1
  14. package/lib/components/data/testSchema.d.ts +3 -0
  15. package/lib/components/data/testSchema.d.ts.map +1 -1
  16. package/lib/components/data/testSchema.js +633 -1
  17. package/lib/components/data/testSchema.js.map +1 -1
  18. package/lib/components/display/modal/index.js +2 -2
  19. package/lib/components/display/table/index.d.ts +2 -0
  20. package/lib/components/display/table/index.d.ts.map +1 -1
  21. package/lib/components/display/table/index.js +10 -4
  22. package/lib/components/display/table/index.js.map +1 -1
  23. package/lib/components/navigation/header/index.d.ts +1 -0
  24. package/lib/components/navigation/header/index.d.ts.map +1 -1
  25. package/lib/components/navigation/header/index.js +2 -2
  26. package/lib/components/navigation/header/index.js.map +1 -1
  27. package/lib/components/structure/link/index.d.ts +1 -0
  28. package/lib/components/structure/link/index.d.ts.map +1 -1
  29. package/lib/components/structure/link/index.js +2 -2
  30. package/lib/components/structure/link/index.js.map +1 -1
  31. package/package.json +1 -1
@@ -1,6 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ProposalSchema = exports.ProjectSchema = void 0;
3
+ exports.KMProjectSchema = exports.OrganisationProfileSchema = exports.OrganisationSchema = exports.ProposalSchema = exports.ProjectSchema = void 0;
4
+ var testData_1 = require("./testData");
5
+ var clusterList = [];
4
6
  var Placeholder = {
5
7
  // Section A: Research Identification
6
8
  researchTitle: "Not more than 100 words",
@@ -1924,4 +1926,634 @@ exports.ProposalSchema = [
1924
1926
  type: "date",
1925
1927
  },
1926
1928
  ];
1929
+ var interestAreasSelection = [
1930
+ "Disaster Response",
1931
+ "Poverty & Inequality",
1932
+ "Resilience",
1933
+ "Environment",
1934
+ "Energy",
1935
+ "Gender Equality",
1936
+ ];
1937
+ var communitiesAreaSelection = [
1938
+ "Urban",
1939
+ "Suburban",
1940
+ "Rural",
1941
+ "B40",
1942
+ "Refugees",
1943
+ "Migrant Workers",
1944
+ "Orang Asli",
1945
+ "Orang Asal (Sabah & Sarawak)",
1946
+ "Persons with Disabilities",
1947
+ "Single Parent",
1948
+ "Children",
1949
+ "Senior Citizens",
1950
+ "Others",
1951
+ ];
1952
+ exports.OrganisationSchema = [
1953
+ {
1954
+ id: "name",
1955
+ name: "Name",
1956
+ type: "string",
1957
+ },
1958
+ {
1959
+ id: "shortName",
1960
+ name: "Abbreviation Name",
1961
+ type: "string",
1962
+ hide: true,
1963
+ },
1964
+ {
1965
+ id: "logo",
1966
+ name: "Logo",
1967
+ type: "image",
1968
+ imageCollectionName: testData_1.kmOrganisationId,
1969
+ imageFileName: "logo.png",
1970
+ },
1971
+ {
1972
+ id: "shortDesc",
1973
+ name: "Short Description",
1974
+ type: "string",
1975
+ hide: true,
1976
+ },
1977
+ {
1978
+ id: "email",
1979
+ name: "Email",
1980
+ type: "string",
1981
+ hide: true,
1982
+ },
1983
+ {
1984
+ id: "website",
1985
+ name: "Website",
1986
+ type: "string",
1987
+ },
1988
+ {
1989
+ id: "desc",
1990
+ name: "Description",
1991
+ type: "string",
1992
+ },
1993
+ {
1994
+ id: "contact",
1995
+ name: "Contact",
1996
+ type: "string",
1997
+ hide: true,
1998
+ },
1999
+ {
2000
+ id: "type",
2001
+ name: "Type",
2002
+ type: "list",
2003
+ listSelection: ["NGO", "Government", "Corporates"],
2004
+ listSelectionLabel: ["CSO", "Government", "Corporates"],
2005
+ },
2006
+ {
2007
+ id: "aids",
2008
+ name: "Aids",
2009
+ type: "multipleList",
2010
+ showTagSelections: true,
2011
+ listSelection: clusterList,
2012
+ hide: true,
2013
+ },
2014
+ {
2015
+ id: "interestAreas",
2016
+ name: "Interest Areas",
2017
+ type: "multipleList",
2018
+ showTagSelections: true,
2019
+ listSelection: interestAreasSelection,
2020
+ hide: true,
2021
+ },
2022
+ {
2023
+ id: "communities",
2024
+ name: "Communities",
2025
+ type: "multipleList",
2026
+ showTagSelections: true,
2027
+ listSelection: communitiesAreaSelection,
2028
+ hide: true,
2029
+ },
2030
+ {
2031
+ id: "communitiesOthers",
2032
+ name: "Communities Others",
2033
+ type: "string",
2034
+ optional: true,
2035
+ hide: true,
2036
+ },
2037
+ {
2038
+ id: "geography",
2039
+ name: "Geography",
2040
+ type: "address",
2041
+ hide: true,
2042
+ },
2043
+ {
2044
+ id: "mailingAddress",
2045
+ name: "Mailing Address",
2046
+ type: "string",
2047
+ hide: true,
2048
+ },
2049
+ {
2050
+ id: "inventory",
2051
+ name: "Inventory",
2052
+ type: "listObject",
2053
+ objectData: [
2054
+ {
2055
+ id: "title",
2056
+ name: "Title",
2057
+ type: "string",
2058
+ },
2059
+ {
2060
+ id: "value",
2061
+ name: "Value",
2062
+ type: "number",
2063
+ },
2064
+ ],
2065
+ },
2066
+ {
2067
+ id: "subOrganisations",
2068
+ name: "Sub Organisations",
2069
+ type: "listReference",
2070
+ referenceLabel: "name",
2071
+ referenceSpaceId: testData_1.kmOrganisationId,
2072
+ hide: true,
2073
+ optional: true,
2074
+ },
2075
+ {
2076
+ id: "parentOrg",
2077
+ name: "Parent Organisation",
2078
+ type: "boolean",
2079
+ optional: true,
2080
+ hide: true,
2081
+ },
2082
+ {
2083
+ id: "approved",
2084
+ name: "Approved",
2085
+ type: "boolean",
2086
+ optional: true,
2087
+ hide: true,
2088
+ },
2089
+ ];
2090
+ exports.OrganisationProfileSchema = [
2091
+ {
2092
+ id: "name",
2093
+ name: "Organization Official Name",
2094
+ type: "string",
2095
+ disabled: true,
2096
+ groupId: "Organisation Information",
2097
+ },
2098
+ {
2099
+ id: "shortName",
2100
+ name: "Abbreviation Name",
2101
+ type: "string",
2102
+ groupId: "Organisation Information",
2103
+ },
2104
+ {
2105
+ id: "shortDesc",
2106
+ name: "One Liner",
2107
+ type: "string",
2108
+ hide: true,
2109
+ groupId: "Organisation Information",
2110
+ },
2111
+ {
2112
+ id: "desc",
2113
+ name: "Description",
2114
+ type: "string",
2115
+ hide: true,
2116
+ groupId: "Organisation Information",
2117
+ },
2118
+ {
2119
+ id: "registrationNo",
2120
+ name: "Organisation Registration Number",
2121
+ type: "string",
2122
+ groupId: "Organisation Information",
2123
+ },
2124
+ {
2125
+ id: "establishedYear",
2126
+ name: "When The Organisation Was Established",
2127
+ type: "date",
2128
+ groupId: "Organisation Information",
2129
+ },
2130
+ {
2131
+ id: "contact",
2132
+ name: "Contact No",
2133
+ type: "string",
2134
+ groupId: "Organisation Contact",
2135
+ },
2136
+ {
2137
+ id: "email",
2138
+ name: "Organization Official Email",
2139
+ type: "string",
2140
+ groupId: "Organisation Contact",
2141
+ },
2142
+ {
2143
+ id: "website",
2144
+ name: "Website",
2145
+ type: "string",
2146
+ groupId: "Organisation Contact",
2147
+ },
2148
+ {
2149
+ id: "geography",
2150
+ name: "Official Address",
2151
+ type: "address",
2152
+ groupId: "Organisation Contact",
2153
+ },
2154
+ {
2155
+ id: "mailingAddress",
2156
+ name: "Mailing Address",
2157
+ type: "string",
2158
+ optional: true,
2159
+ groupId: "Organisation Contact",
2160
+ },
2161
+ {
2162
+ id: "type",
2163
+ name: "Organization Type",
2164
+ type: "list",
2165
+ listSelection: ["NGO", "Government", "Corporates"],
2166
+ listSelectionLabel: ["CSO", "Government", "Corporates"],
2167
+ disabled: true,
2168
+ groupId: "Organisation Information",
2169
+ },
2170
+ {
2171
+ id: "logo",
2172
+ name: "Organization Logo",
2173
+ type: "image",
2174
+ imageCollectionName: testData_1.kmOrganisationId,
2175
+ imageFileName: "logo.png",
2176
+ fileExtension: "image/*, capture=camera",
2177
+ groupId: "Organisation Information",
2178
+ },
2179
+ {
2180
+ id: "colorScheme",
2181
+ name: "Organisation Color Scheme",
2182
+ type: "list",
2183
+ listSelection: [
2184
+ "Red",
2185
+ "Orange",
2186
+ "Yellow",
2187
+ "Green",
2188
+ "Blue",
2189
+ "Indigo",
2190
+ "Violet",
2191
+ ],
2192
+ groupId: "Organisation Information",
2193
+ },
2194
+ {
2195
+ id: "fullTimeNo",
2196
+ name: "Number Of Full Time Employees",
2197
+ type: "number",
2198
+ groupId: "Organisation Statistic",
2199
+ optional: true,
2200
+ },
2201
+ {
2202
+ id: "partTimeNo",
2203
+ name: "Number Of Part Time Employees",
2204
+ type: "number",
2205
+ groupId: "Organisation Statistic",
2206
+ optional: true,
2207
+ },
2208
+ {
2209
+ id: "activeVolunteers",
2210
+ name: "Number Of Active Volunteers",
2211
+ type: "number",
2212
+ groupId: "Organisation Statistic",
2213
+ optional: true,
2214
+ },
2215
+ {
2216
+ id: "aids",
2217
+ name: "Cluster",
2218
+ type: "multipleList",
2219
+ showTagSelections: true,
2220
+ listSelection: clusterList,
2221
+ groupId: "Organisation Statistic",
2222
+ optional: true,
2223
+ },
2224
+ {
2225
+ id: "interestAreas",
2226
+ name: "Interest Areas",
2227
+ type: "multipleList",
2228
+ showTagSelections: true,
2229
+ listSelection: [
2230
+ "Disaster Response",
2231
+ "Poverty & Inequality",
2232
+ "Resilience",
2233
+ "Environment",
2234
+ "Energy",
2235
+ "Gender Equality",
2236
+ ],
2237
+ groupId: "Organisation Statistic",
2238
+ optional: true,
2239
+ },
2240
+ {
2241
+ id: "communities",
2242
+ name: "Interested Communities",
2243
+ type: "multipleList",
2244
+ showTagSelections: true,
2245
+ listSelection: [
2246
+ "Urban",
2247
+ "Suburban",
2248
+ "Rural",
2249
+ "B40",
2250
+ "Refugees",
2251
+ "Migrant Workers",
2252
+ "Orang Asli",
2253
+ "Orang Asal (Sabah & Sarawak)",
2254
+ "Persons with Disabilities",
2255
+ "Single Parent",
2256
+ "Children",
2257
+ "Senior Citizens",
2258
+ ],
2259
+ listNewValue: true,
2260
+ groupId: "Organisation Statistic",
2261
+ optional: true,
2262
+ },
2263
+ {
2264
+ id: "sdgList",
2265
+ name: "United Nations Sustainable Development Goals",
2266
+ type: "multipleList",
2267
+ showTagSelections: true,
2268
+ listSelection: [
2269
+ "No Poverty",
2270
+ "Zero Hunger",
2271
+ "Good Health and Well-being",
2272
+ "Quality Education",
2273
+ "Gender Equality",
2274
+ "Clean Water and Sanitation",
2275
+ "Affordable and Clean Energy",
2276
+ "Decent Work and Economic Growth",
2277
+ "Industry, Innovation, and Infrastructure",
2278
+ "Reduced Inequality",
2279
+ "Sustainable Cities and Communities",
2280
+ "Responsible Consumption and Production",
2281
+ "Climate Action",
2282
+ "Life Below Water",
2283
+ "Life on Land",
2284
+ "Peace, Justice, and Strong Institutions",
2285
+ "Partnerships for the Goals",
2286
+ ],
2287
+ groupId: "Organisation Statistic",
2288
+ optional: true,
2289
+ },
2290
+ {
2291
+ id: "inventory",
2292
+ name: "Inventory",
2293
+ type: "listObject",
2294
+ objectData: [
2295
+ {
2296
+ id: "title",
2297
+ name: "Title",
2298
+ type: "string",
2299
+ },
2300
+ {
2301
+ id: "value",
2302
+ name: "Value",
2303
+ type: "number",
2304
+ },
2305
+ ],
2306
+ },
2307
+ {
2308
+ id: "projectImplementedNo",
2309
+ name: "Number Of Projects Implemented By Organisation In Past 5 Years",
2310
+ type: "number",
2311
+ groupId: "Organisation Statistic",
2312
+ optional: true,
2313
+ },
2314
+ {
2315
+ id: "projectImplementedName",
2316
+ name: "Names Of Projects Implemented By Organisation In Past 5 Years",
2317
+ type: "multipleList",
2318
+ showTagSelections: true,
2319
+ listNewValue: true,
2320
+ groupId: "Organisation Statistic",
2321
+ optional: true,
2322
+ },
2323
+ {
2324
+ id: "donorSupportedNo",
2325
+ name: "Number Of Donors That Supported Organisation In Past 5 Years",
2326
+ type: "number",
2327
+ groupId: "Organisation Statistic",
2328
+ optional: true,
2329
+ },
2330
+ {
2331
+ id: "donorSupportedName",
2332
+ name: "Names Of Donors That Supported Organisation In Past 5 Years",
2333
+ type: "multipleList",
2334
+ showTagSelections: true,
2335
+ listNewValue: true,
2336
+ groupId: "Organisation Statistic",
2337
+ optional: true,
2338
+ },
2339
+ {
2340
+ id: "organisationBanner",
2341
+ name: "Organisation Banner",
2342
+ type: "multipleImage",
2343
+ imageCollectionName: testData_1.kmOrganisationId,
2344
+ imageFileName: "organisationBanner.png",
2345
+ fileExtension: "image/*, capture=camera",
2346
+ imageInputCapture: "environment",
2347
+ optional: true,
2348
+ groupId: "Attachments",
2349
+ },
2350
+ {
2351
+ id: "organisationImage",
2352
+ name: "Organisation Image",
2353
+ type: "multipleImage",
2354
+ imageCollectionName: testData_1.kmOrganisationId,
2355
+ imageFileName: "organisationImage.png",
2356
+ fileExtension: "image/*, capture=camera",
2357
+ imageInputCapture: "environment",
2358
+ optional: true,
2359
+ groupId: "Attachments",
2360
+ },
2361
+ {
2362
+ id: "organisationFile",
2363
+ name: "Organisation File",
2364
+ type: "multipleFile",
2365
+ imageCollectionName: testData_1.kmOrganisationId,
2366
+ imageFileName: "organisationFile.pdf",
2367
+ fileExtension: "pdf/*",
2368
+ optional: true,
2369
+ groupId: "Attachments",
2370
+ },
2371
+ ];
2372
+ exports.KMProjectSchema = [
2373
+ {
2374
+ id: "title",
2375
+ name: "Title",
2376
+ type: "string",
2377
+ tabId: "A. Project Information",
2378
+ groupId: "Project Information",
2379
+ },
2380
+ {
2381
+ id: "cover",
2382
+ name: "Cover Photo",
2383
+ type: "image",
2384
+ imageCollectionName: testData_1.kmProjectId,
2385
+ imageFileName: "cover.png",
2386
+ fileExtension: "image/*, capture=camera",
2387
+ imageInputCapture: "environment",
2388
+ optional: true,
2389
+ tabId: "A. Project Information",
2390
+ groupId: "Project Information",
2391
+ },
2392
+ {
2393
+ id: "aids",
2394
+ name: "Cluster",
2395
+ type: "list",
2396
+ listSelection: clusterList,
2397
+ tabId: "A. Project Information",
2398
+ groupId: "Project Information",
2399
+ },
2400
+ {
2401
+ id: "projectDate",
2402
+ name: "Project Date",
2403
+ type: "date",
2404
+ tabId: "A. Project Information",
2405
+ groupId: "Project Information",
2406
+ },
2407
+ {
2408
+ id: "description",
2409
+ name: "Background",
2410
+ type: "textArea",
2411
+ tabId: "A. Project Information",
2412
+ groupId: "Project Information",
2413
+ },
2414
+ {
2415
+ id: "progress",
2416
+ name: "Project Progress",
2417
+ type: "list",
2418
+ listSelection: ["In Progress", "Completed"],
2419
+ hide: true,
2420
+ tabId: "A. Project Information",
2421
+ groupId: "Project Information",
2422
+ },
2423
+ {
2424
+ id: "geography",
2425
+ name: "Project Address",
2426
+ type: "address",
2427
+ tabId: "A. Project Information",
2428
+ groupId: "Project Information",
2429
+ },
2430
+ {
2431
+ id: "organisation",
2432
+ name: "Organisation",
2433
+ type: "reference",
2434
+ referenceSpaceId: testData_1.kmOrganisationId,
2435
+ referenceLabel: "name",
2436
+ tabId: "A. Project Information",
2437
+ groupId: "Project Information",
2438
+ },
2439
+ {
2440
+ id: "interestAreas",
2441
+ name: "Interest Areas",
2442
+ type: "multipleList",
2443
+ showTagSelections: true,
2444
+ listSelection: interestAreasSelection,
2445
+ hide: true,
2446
+ tabId: "A. Project Information",
2447
+ groupId: "Project Information",
2448
+ },
2449
+ {
2450
+ id: "goal",
2451
+ name: "Goals",
2452
+ type: "textArea",
2453
+ hide: true,
2454
+ optional: true,
2455
+ tabId: "B. Project Details",
2456
+ groupId: "Project's Statistic",
2457
+ },
2458
+ {
2459
+ id: "recipient",
2460
+ name: "Recipient",
2461
+ type: "number",
2462
+ hide: true,
2463
+ tabId: "B. Project Details",
2464
+ groupId: "Project's Statistic",
2465
+ },
2466
+ {
2467
+ id: "fundNeeded",
2468
+ name: "Fund Needed",
2469
+ type: "number",
2470
+ optional: true,
2471
+ hide: true,
2472
+ tabId: "B. Project Details",
2473
+ groupId: "Project's Statistic",
2474
+ },
2475
+ {
2476
+ id: "causeId",
2477
+ name: "Disaster",
2478
+ type: "reference",
2479
+ referenceSpaceId: testData_1.kmCauseId,
2480
+ referenceLabel: "title",
2481
+ referenceQuery: [
2482
+ {
2483
+ queryId: "hide",
2484
+ type: "=",
2485
+ value: false,
2486
+ },
2487
+ ],
2488
+ optional: true,
2489
+ hide: true,
2490
+ tabId: "B. Project Details",
2491
+ groupId: "Project's Statistic",
2492
+ },
2493
+ {
2494
+ id: "communities",
2495
+ name: "Interested Communities",
2496
+ type: "multipleList",
2497
+ showTagSelections: true,
2498
+ listSelection: communitiesAreaSelection,
2499
+ listNewValue: true,
2500
+ hide: true,
2501
+ tabId: "B. Project Details",
2502
+ groupId: "Project Information",
2503
+ },
2504
+ {
2505
+ id: "communitiesOthers",
2506
+ name: "Communities Others",
2507
+ type: "string",
2508
+ optional: true,
2509
+ hide: true,
2510
+ tabId: "B. Project Details",
2511
+ groupId: "Project Information",
2512
+ },
2513
+ {
2514
+ id: "fundedBy",
2515
+ name: "Funded By",
2516
+ type: "listObject",
2517
+ objectData: [
2518
+ {
2519
+ id: "orgOthers",
2520
+ name: "Organisation - Others",
2521
+ type: "string",
2522
+ optional: true,
2523
+ },
2524
+ {
2525
+ id: "value",
2526
+ name: "Value RM",
2527
+ type: "number",
2528
+ },
2529
+ ],
2530
+ optional: true,
2531
+ hide: true,
2532
+ tabId: "B. Project Details",
2533
+ groupId: "Project's Statistic",
2534
+ },
2535
+ {
2536
+ id: "image",
2537
+ name: "Image",
2538
+ type: "multipleImage",
2539
+ imageCollectionName: testData_1.kmProjectId,
2540
+ imageFileName: "attachmentImage.png",
2541
+ fileExtension: "image/*, capture=camera",
2542
+ imageInputCapture: "environment",
2543
+ optional: true,
2544
+ tabId: "C. Attachments",
2545
+ groupId: "Attachment",
2546
+ },
2547
+ {
2548
+ id: "file",
2549
+ name: "File",
2550
+ type: "file",
2551
+ imageCollectionName: testData_1.kmProjectId,
2552
+ imageFileName: "file.pdf",
2553
+ optional: true,
2554
+ hide: true,
2555
+ tabId: "C. Attachments",
2556
+ groupId: "Attachment",
2557
+ },
2558
+ ];
1927
2559
  //# sourceMappingURL=testSchema.js.map