@powerhousedao/service-offering 1.0.0-dev.24 → 1.0.0-dev.28
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/README.md +58 -164
- package/package.json +39 -57
- package/dist/document-models/document-models.d.ts +0 -3
- package/dist/document-models/document-models.d.ts.map +0 -1
- package/dist/document-models/document-models.js +0 -12
- package/dist/document-models/facet/gen/schema/types.d.ts +0 -195
- package/dist/document-models/facet/gen/schema/types.d.ts.map +0 -1
- package/dist/document-models/facet/gen/schema/types.js +0 -1
- package/dist/document-models/facet/gen/schema/zod.d.ts +0 -18
- package/dist/document-models/facet/gen/schema/zod.d.ts.map +0 -1
- package/dist/document-models/facet/gen/schema/zod.js +0 -69
- package/dist/document-models/facet/index.d.ts +0 -3
- package/dist/document-models/facet/index.d.ts.map +0 -1
- package/dist/document-models/facet/index.js +0 -2
- package/dist/document-models/facet/upgrades/index.d.ts +0 -3
- package/dist/document-models/facet/upgrades/index.d.ts.map +0 -1
- package/dist/document-models/facet/upgrades/index.js +0 -2
- package/dist/document-models/facet/upgrades/upgrade-manifest.d.ts +0 -4
- package/dist/document-models/facet/upgrades/upgrade-manifest.d.ts.map +0 -1
- package/dist/document-models/facet/upgrades/upgrade-manifest.js +0 -7
- package/dist/document-models/facet/upgrades/versions.d.ts +0 -3
- package/dist/document-models/facet/upgrades/versions.d.ts.map +0 -1
- package/dist/document-models/facet/upgrades/versions.js +0 -2
- package/dist/document-models/facet/v1/actions.d.ts +0 -20
- package/dist/document-models/facet/v1/actions.d.ts.map +0 -1
- package/dist/document-models/facet/v1/actions.js +0 -8
- package/dist/document-models/facet/v1/gen/actions.d.ts +0 -6
- package/dist/document-models/facet/v1/gen/actions.d.ts.map +0 -1
- package/dist/document-models/facet/v1/gen/actions.js +0 -2
- package/dist/document-models/facet/v1/gen/controller.d.ts +0 -4
- package/dist/document-models/facet/v1/gen/controller.d.ts.map +0 -1
- package/dist/document-models/facet/v1/gen/controller.js +0 -3
- package/dist/document-models/facet/v1/gen/creators.d.ts +0 -5
- package/dist/document-models/facet/v1/gen/creators.d.ts.map +0 -1
- package/dist/document-models/facet/v1/gen/creators.js +0 -4
- package/dist/document-models/facet/v1/gen/document-model.d.ts +0 -3
- package/dist/document-models/facet/v1/gen/document-model.d.ts.map +0 -1
- package/dist/document-models/facet/v1/gen/document-model.js +0 -134
- package/dist/document-models/facet/v1/gen/document-schema.d.ts +0 -56
- package/dist/document-models/facet/v1/gen/document-schema.d.ts.map +0 -1
- package/dist/document-models/facet/v1/gen/document-schema.js +0 -33
- package/dist/document-models/facet/v1/gen/document-type.d.ts +0 -2
- package/dist/document-models/facet/v1/gen/document-type.d.ts.map +0 -1
- package/dist/document-models/facet/v1/gen/document-type.js +0 -1
- package/dist/document-models/facet/v1/gen/facet-management/actions.d.ts +0 -12
- package/dist/document-models/facet/v1/gen/facet-management/actions.d.ts.map +0 -1
- package/dist/document-models/facet/v1/gen/facet-management/actions.js +0 -1
- package/dist/document-models/facet/v1/gen/facet-management/creators.d.ts +0 -5
- package/dist/document-models/facet/v1/gen/facet-management/creators.d.ts.map +0 -1
- package/dist/document-models/facet/v1/gen/facet-management/creators.js +0 -4
- package/dist/document-models/facet/v1/gen/facet-management/error.d.ts +0 -2
- package/dist/document-models/facet/v1/gen/facet-management/error.d.ts.map +0 -1
- package/dist/document-models/facet/v1/gen/facet-management/error.js +0 -1
- package/dist/document-models/facet/v1/gen/facet-management/operations.d.ts +0 -8
- package/dist/document-models/facet/v1/gen/facet-management/operations.d.ts.map +0 -1
- package/dist/document-models/facet/v1/gen/facet-management/operations.js +0 -1
- package/dist/document-models/facet/v1/gen/index.d.ts +0 -14
- package/dist/document-models/facet/v1/gen/index.d.ts.map +0 -1
- package/dist/document-models/facet/v1/gen/index.js +0 -13
- package/dist/document-models/facet/v1/gen/option-management/actions.d.ts +0 -20
- package/dist/document-models/facet/v1/gen/option-management/actions.d.ts.map +0 -1
- package/dist/document-models/facet/v1/gen/option-management/actions.js +0 -1
- package/dist/document-models/facet/v1/gen/option-management/creators.d.ts +0 -7
- package/dist/document-models/facet/v1/gen/option-management/creators.d.ts.map +0 -1
- package/dist/document-models/facet/v1/gen/option-management/creators.js +0 -6
- package/dist/document-models/facet/v1/gen/option-management/error.d.ts +0 -28
- package/dist/document-models/facet/v1/gen/option-management/error.d.ts.map +0 -1
- package/dist/document-models/facet/v1/gen/option-management/error.js +0 -23
- package/dist/document-models/facet/v1/gen/option-management/operations.d.ts +0 -10
- package/dist/document-models/facet/v1/gen/option-management/operations.d.ts.map +0 -1
- package/dist/document-models/facet/v1/gen/option-management/operations.js +0 -1
- package/dist/document-models/facet/v1/gen/ph-factories.d.ts +0 -23
- package/dist/document-models/facet/v1/gen/ph-factories.d.ts.map +0 -1
- package/dist/document-models/facet/v1/gen/ph-factories.js +0 -51
- package/dist/document-models/facet/v1/gen/reducer.d.ts +0 -3
- package/dist/document-models/facet/v1/gen/reducer.d.ts.map +0 -1
- package/dist/document-models/facet/v1/gen/reducer.js +0 -44
- package/dist/document-models/facet/v1/gen/schema/index.d.ts +0 -3
- package/dist/document-models/facet/v1/gen/schema/index.d.ts.map +0 -1
- package/dist/document-models/facet/v1/gen/schema/index.js +0 -2
- package/dist/document-models/facet/v1/gen/schema/types.d.ts +0 -195
- package/dist/document-models/facet/v1/gen/schema/types.d.ts.map +0 -1
- package/dist/document-models/facet/v1/gen/schema/types.js +0 -1
- package/dist/document-models/facet/v1/gen/schema/zod.d.ts +0 -18
- package/dist/document-models/facet/v1/gen/schema/zod.d.ts.map +0 -1
- package/dist/document-models/facet/v1/gen/schema/zod.js +0 -69
- package/dist/document-models/facet/v1/gen/types.d.ts +0 -12
- package/dist/document-models/facet/v1/gen/types.d.ts.map +0 -1
- package/dist/document-models/facet/v1/gen/types.js +0 -1
- package/dist/document-models/facet/v1/gen/utils.d.ts +0 -15
- package/dist/document-models/facet/v1/gen/utils.d.ts.map +0 -1
- package/dist/document-models/facet/v1/gen/utils.js +0 -55
- package/dist/document-models/facet/v1/hooks.d.ts +0 -14
- package/dist/document-models/facet/v1/hooks.d.ts.map +0 -1
- package/dist/document-models/facet/v1/hooks.js +0 -25
- package/dist/document-models/facet/v1/index.d.ts +0 -6
- package/dist/document-models/facet/v1/index.d.ts.map +0 -1
- package/dist/document-models/facet/v1/index.js +0 -5
- package/dist/document-models/facet/v1/module.d.ts +0 -5
- package/dist/document-models/facet/v1/module.d.ts.map +0 -1
- package/dist/document-models/facet/v1/module.js +0 -14
- package/dist/document-models/facet/v1/src/index.d.ts +0 -2
- package/dist/document-models/facet/v1/src/index.d.ts.map +0 -1
- package/dist/document-models/facet/v1/src/index.js +0 -1
- package/dist/document-models/facet/v1/src/reducers/facet-management.d.ts +0 -3
- package/dist/document-models/facet/v1/src/reducers/facet-management.d.ts.map +0 -1
- package/dist/document-models/facet/v1/src/reducers/facet-management.js +0 -10
- package/dist/document-models/facet/v1/src/reducers/option-management.d.ts +0 -3
- package/dist/document-models/facet/v1/src/reducers/option-management.d.ts.map +0 -1
- package/dist/document-models/facet/v1/src/reducers/option-management.js +0 -56
- package/dist/document-models/facet/v1/src/utils.d.ts +0 -2
- package/dist/document-models/facet/v1/src/utils.d.ts.map +0 -1
- package/dist/document-models/facet/v1/src/utils.js +0 -1
- package/dist/document-models/facet/v1/tests/document-model.test.d.ts +0 -10
- package/dist/document-models/facet/v1/tests/document-model.test.d.ts.map +0 -1
- package/dist/document-models/facet/v1/tests/document-model.test.js +0 -104
- package/dist/document-models/facet/v1/tests/facet-management.test.d.ts +0 -2
- package/dist/document-models/facet/v1/tests/facet-management.test.d.ts.map +0 -1
- package/dist/document-models/facet/v1/tests/facet-management.test.js +0 -25
- package/dist/document-models/facet/v1/tests/option-management.test.d.ts +0 -2
- package/dist/document-models/facet/v1/tests/option-management.test.d.ts.map +0 -1
- package/dist/document-models/facet/v1/tests/option-management.test.js +0 -45
- package/dist/document-models/facet/v1/utils.d.ts +0 -14
- package/dist/document-models/facet/v1/utils.d.ts.map +0 -1
- package/dist/document-models/facet/v1/utils.js +0 -7
- package/dist/document-models/index.d.ts +0 -6
- package/dist/document-models/index.d.ts.map +0 -1
- package/dist/document-models/index.js +0 -5
- package/dist/document-models/resource-instance/gen/schema/types.d.ts +0 -272
- package/dist/document-models/resource-instance/gen/schema/types.d.ts.map +0 -1
- package/dist/document-models/resource-instance/gen/schema/types.js +0 -1
- package/dist/document-models/resource-instance/gen/schema/zod.d.ts +0 -44
- package/dist/document-models/resource-instance/gen/schema/zod.d.ts.map +0 -1
- package/dist/document-models/resource-instance/gen/schema/zod.js +0 -187
- package/dist/document-models/resource-instance/index.d.ts +0 -3
- package/dist/document-models/resource-instance/index.d.ts.map +0 -1
- package/dist/document-models/resource-instance/index.js +0 -2
- package/dist/document-models/resource-instance/upgrades/index.d.ts +0 -3
- package/dist/document-models/resource-instance/upgrades/index.d.ts.map +0 -1
- package/dist/document-models/resource-instance/upgrades/index.js +0 -2
- package/dist/document-models/resource-instance/upgrades/upgrade-manifest.d.ts +0 -4
- package/dist/document-models/resource-instance/upgrades/upgrade-manifest.d.ts.map +0 -1
- package/dist/document-models/resource-instance/upgrades/upgrade-manifest.js +0 -7
- package/dist/document-models/resource-instance/upgrades/versions.d.ts +0 -3
- package/dist/document-models/resource-instance/upgrades/versions.d.ts.map +0 -1
- package/dist/document-models/resource-instance/upgrades/versions.js +0 -2
- package/dist/document-models/resource-instance/v1/actions.d.ts +0 -33
- package/dist/document-models/resource-instance/v1/actions.d.ts.map +0 -1
- package/dist/document-models/resource-instance/v1/actions.js +0 -8
- package/dist/document-models/resource-instance/v1/gen/actions.d.ts +0 -6
- package/dist/document-models/resource-instance/v1/gen/actions.d.ts.map +0 -1
- package/dist/document-models/resource-instance/v1/gen/actions.js +0 -2
- package/dist/document-models/resource-instance/v1/gen/configuration-management/actions.d.ts +0 -20
- package/dist/document-models/resource-instance/v1/gen/configuration-management/actions.d.ts.map +0 -1
- package/dist/document-models/resource-instance/v1/gen/configuration-management/actions.js +0 -1
- package/dist/document-models/resource-instance/v1/gen/configuration-management/creators.d.ts +0 -7
- package/dist/document-models/resource-instance/v1/gen/configuration-management/creators.d.ts.map +0 -1
- package/dist/document-models/resource-instance/v1/gen/configuration-management/creators.js +0 -6
- package/dist/document-models/resource-instance/v1/gen/configuration-management/error.d.ts +0 -35
- package/dist/document-models/resource-instance/v1/gen/configuration-management/error.d.ts.map +0 -1
- package/dist/document-models/resource-instance/v1/gen/configuration-management/error.js +0 -32
- package/dist/document-models/resource-instance/v1/gen/configuration-management/operations.d.ts +0 -10
- package/dist/document-models/resource-instance/v1/gen/configuration-management/operations.d.ts.map +0 -1
- package/dist/document-models/resource-instance/v1/gen/configuration-management/operations.js +0 -1
- package/dist/document-models/resource-instance/v1/gen/controller.d.ts +0 -4
- package/dist/document-models/resource-instance/v1/gen/controller.d.ts.map +0 -1
- package/dist/document-models/resource-instance/v1/gen/controller.js +0 -3
- package/dist/document-models/resource-instance/v1/gen/creators.d.ts +0 -5
- package/dist/document-models/resource-instance/v1/gen/creators.d.ts.map +0 -1
- package/dist/document-models/resource-instance/v1/gen/creators.js +0 -4
- package/dist/document-models/resource-instance/v1/gen/document-model.d.ts +0 -3
- package/dist/document-models/resource-instance/v1/gen/document-model.d.ts.map +0 -1
- package/dist/document-models/resource-instance/v1/gen/document-model.js +0 -394
- package/dist/document-models/resource-instance/v1/gen/document-schema.d.ts +0 -107
- package/dist/document-models/resource-instance/v1/gen/document-schema.d.ts.map +0 -1
- package/dist/document-models/resource-instance/v1/gen/document-schema.js +0 -33
- package/dist/document-models/resource-instance/v1/gen/document-type.d.ts +0 -2
- package/dist/document-models/resource-instance/v1/gen/document-type.d.ts.map +0 -1
- package/dist/document-models/resource-instance/v1/gen/document-type.js +0 -1
- package/dist/document-models/resource-instance/v1/gen/index.d.ts +0 -14
- package/dist/document-models/resource-instance/v1/gen/index.d.ts.map +0 -1
- package/dist/document-models/resource-instance/v1/gen/index.js +0 -13
- package/dist/document-models/resource-instance/v1/gen/instance-management/actions.d.ts +0 -64
- package/dist/document-models/resource-instance/v1/gen/instance-management/actions.d.ts.map +0 -1
- package/dist/document-models/resource-instance/v1/gen/instance-management/actions.js +0 -1
- package/dist/document-models/resource-instance/v1/gen/instance-management/creators.d.ts +0 -18
- package/dist/document-models/resource-instance/v1/gen/instance-management/creators.d.ts.map +0 -1
- package/dist/document-models/resource-instance/v1/gen/instance-management/creators.js +0 -17
- package/dist/document-models/resource-instance/v1/gen/instance-management/error.d.ts +0 -99
- package/dist/document-models/resource-instance/v1/gen/instance-management/error.d.ts.map +0 -1
- package/dist/document-models/resource-instance/v1/gen/instance-management/error.js +0 -112
- package/dist/document-models/resource-instance/v1/gen/instance-management/operations.d.ts +0 -21
- package/dist/document-models/resource-instance/v1/gen/instance-management/operations.d.ts.map +0 -1
- package/dist/document-models/resource-instance/v1/gen/instance-management/operations.js +0 -1
- package/dist/document-models/resource-instance/v1/gen/ph-factories.d.ts +0 -23
- package/dist/document-models/resource-instance/v1/gen/ph-factories.d.ts.map +0 -1
- package/dist/document-models/resource-instance/v1/gen/ph-factories.js +0 -68
- package/dist/document-models/resource-instance/v1/gen/reducer.d.ts +0 -3
- package/dist/document-models/resource-instance/v1/gen/reducer.d.ts.map +0 -1
- package/dist/document-models/resource-instance/v1/gen/reducer.js +0 -109
- package/dist/document-models/resource-instance/v1/gen/schema/index.d.ts +0 -3
- package/dist/document-models/resource-instance/v1/gen/schema/index.d.ts.map +0 -1
- package/dist/document-models/resource-instance/v1/gen/schema/index.js +0 -2
- package/dist/document-models/resource-instance/v1/gen/schema/types.d.ts +0 -272
- package/dist/document-models/resource-instance/v1/gen/schema/types.d.ts.map +0 -1
- package/dist/document-models/resource-instance/v1/gen/schema/types.js +0 -1
- package/dist/document-models/resource-instance/v1/gen/schema/zod.d.ts +0 -44
- package/dist/document-models/resource-instance/v1/gen/schema/zod.d.ts.map +0 -1
- package/dist/document-models/resource-instance/v1/gen/schema/zod.js +0 -187
- package/dist/document-models/resource-instance/v1/gen/types.d.ts +0 -12
- package/dist/document-models/resource-instance/v1/gen/types.d.ts.map +0 -1
- package/dist/document-models/resource-instance/v1/gen/types.js +0 -1
- package/dist/document-models/resource-instance/v1/gen/utils.d.ts +0 -15
- package/dist/document-models/resource-instance/v1/gen/utils.d.ts.map +0 -1
- package/dist/document-models/resource-instance/v1/gen/utils.js +0 -72
- package/dist/document-models/resource-instance/v1/hooks.d.ts +0 -14
- package/dist/document-models/resource-instance/v1/hooks.d.ts.map +0 -1
- package/dist/document-models/resource-instance/v1/hooks.js +0 -25
- package/dist/document-models/resource-instance/v1/index.d.ts +0 -6
- package/dist/document-models/resource-instance/v1/index.d.ts.map +0 -1
- package/dist/document-models/resource-instance/v1/index.js +0 -5
- package/dist/document-models/resource-instance/v1/module.d.ts +0 -5
- package/dist/document-models/resource-instance/v1/module.d.ts.map +0 -1
- package/dist/document-models/resource-instance/v1/module.js +0 -14
- package/dist/document-models/resource-instance/v1/src/index.d.ts +0 -2
- package/dist/document-models/resource-instance/v1/src/index.d.ts.map +0 -1
- package/dist/document-models/resource-instance/v1/src/index.js +0 -1
- package/dist/document-models/resource-instance/v1/src/reducers/configuration-management.d.ts +0 -3
- package/dist/document-models/resource-instance/v1/src/reducers/configuration-management.d.ts.map +0 -1
- package/dist/document-models/resource-instance/v1/src/reducers/configuration-management.js +0 -77
- package/dist/document-models/resource-instance/v1/src/reducers/instance-management.d.ts +0 -3
- package/dist/document-models/resource-instance/v1/src/reducers/instance-management.d.ts.map +0 -1
- package/dist/document-models/resource-instance/v1/src/reducers/instance-management.js +0 -141
- package/dist/document-models/resource-instance/v1/src/utils.d.ts +0 -2
- package/dist/document-models/resource-instance/v1/src/utils.d.ts.map +0 -1
- package/dist/document-models/resource-instance/v1/src/utils.js +0 -1
- package/dist/document-models/resource-instance/v1/tests/configuration-management.test.d.ts +0 -2
- package/dist/document-models/resource-instance/v1/tests/configuration-management.test.d.ts.map +0 -1
- package/dist/document-models/resource-instance/v1/tests/configuration-management.test.js +0 -45
- package/dist/document-models/resource-instance/v1/tests/document-model.test.d.ts +0 -10
- package/dist/document-models/resource-instance/v1/tests/document-model.test.d.ts.map +0 -1
- package/dist/document-models/resource-instance/v1/tests/document-model.test.js +0 -104
- package/dist/document-models/resource-instance/v1/tests/instance-management.test.d.ts +0 -2
- package/dist/document-models/resource-instance/v1/tests/instance-management.test.d.ts.map +0 -1
- package/dist/document-models/resource-instance/v1/tests/instance-management.test.js +0 -155
- package/dist/document-models/resource-instance/v1/utils.d.ts +0 -14
- package/dist/document-models/resource-instance/v1/utils.d.ts.map +0 -1
- package/dist/document-models/resource-instance/v1/utils.js +0 -7
- package/dist/document-models/resource-template/gen/schema/types.d.ts +0 -371
- package/dist/document-models/resource-template/gen/schema/types.d.ts.map +0 -1
- package/dist/document-models/resource-template/gen/schema/types.js +0 -1
- package/dist/document-models/resource-template/gen/schema/zod.d.ts +0 -52
- package/dist/document-models/resource-template/gen/schema/zod.d.ts.map +0 -1
- package/dist/document-models/resource-template/gen/schema/zod.js +0 -312
- package/dist/document-models/resource-template/index.d.ts +0 -3
- package/dist/document-models/resource-template/index.d.ts.map +0 -1
- package/dist/document-models/resource-template/index.js +0 -2
- package/dist/document-models/resource-template/upgrades/index.d.ts +0 -3
- package/dist/document-models/resource-template/upgrades/index.d.ts.map +0 -1
- package/dist/document-models/resource-template/upgrades/index.js +0 -2
- package/dist/document-models/resource-template/upgrades/upgrade-manifest.d.ts +0 -4
- package/dist/document-models/resource-template/upgrades/upgrade-manifest.d.ts.map +0 -1
- package/dist/document-models/resource-template/upgrades/upgrade-manifest.js +0 -7
- package/dist/document-models/resource-template/upgrades/versions.d.ts +0 -3
- package/dist/document-models/resource-template/upgrades/versions.d.ts.map +0 -1
- package/dist/document-models/resource-template/upgrades/versions.js +0 -2
- package/dist/document-models/resource-template/v1/actions.d.ts +0 -43
- package/dist/document-models/resource-template/v1/actions.d.ts.map +0 -1
- package/dist/document-models/resource-template/v1/actions.js +0 -13
- package/dist/document-models/resource-template/v1/gen/actions.d.ts +0 -16
- package/dist/document-models/resource-template/v1/gen/actions.d.ts.map +0 -1
- package/dist/document-models/resource-template/v1/gen/actions.js +0 -7
- package/dist/document-models/resource-template/v1/gen/audience-management/actions.d.ts +0 -12
- package/dist/document-models/resource-template/v1/gen/audience-management/actions.d.ts.map +0 -1
- package/dist/document-models/resource-template/v1/gen/audience-management/actions.js +0 -1
- package/dist/document-models/resource-template/v1/gen/audience-management/creators.d.ts +0 -5
- package/dist/document-models/resource-template/v1/gen/audience-management/creators.d.ts.map +0 -1
- package/dist/document-models/resource-template/v1/gen/audience-management/creators.js +0 -4
- package/dist/document-models/resource-template/v1/gen/audience-management/error.d.ts +0 -21
- package/dist/document-models/resource-template/v1/gen/audience-management/error.d.ts.map +0 -1
- package/dist/document-models/resource-template/v1/gen/audience-management/error.js +0 -16
- package/dist/document-models/resource-template/v1/gen/audience-management/operations.d.ts +0 -8
- package/dist/document-models/resource-template/v1/gen/audience-management/operations.d.ts.map +0 -1
- package/dist/document-models/resource-template/v1/gen/audience-management/operations.js +0 -1
- package/dist/document-models/resource-template/v1/gen/content-section-management/actions.d.ts +0 -20
- package/dist/document-models/resource-template/v1/gen/content-section-management/actions.d.ts.map +0 -1
- package/dist/document-models/resource-template/v1/gen/content-section-management/actions.js +0 -1
- package/dist/document-models/resource-template/v1/gen/content-section-management/creators.d.ts +0 -7
- package/dist/document-models/resource-template/v1/gen/content-section-management/creators.d.ts.map +0 -1
- package/dist/document-models/resource-template/v1/gen/content-section-management/creators.js +0 -6
- package/dist/document-models/resource-template/v1/gen/content-section-management/error.d.ts +0 -2
- package/dist/document-models/resource-template/v1/gen/content-section-management/error.d.ts.map +0 -1
- package/dist/document-models/resource-template/v1/gen/content-section-management/error.js +0 -1
- package/dist/document-models/resource-template/v1/gen/content-section-management/operations.d.ts +0 -10
- package/dist/document-models/resource-template/v1/gen/content-section-management/operations.d.ts.map +0 -1
- package/dist/document-models/resource-template/v1/gen/content-section-management/operations.js +0 -1
- package/dist/document-models/resource-template/v1/gen/controller.d.ts +0 -4
- package/dist/document-models/resource-template/v1/gen/controller.d.ts.map +0 -1
- package/dist/document-models/resource-template/v1/gen/controller.js +0 -3
- package/dist/document-models/resource-template/v1/gen/creators.d.ts +0 -15
- package/dist/document-models/resource-template/v1/gen/creators.d.ts.map +0 -1
- package/dist/document-models/resource-template/v1/gen/creators.js +0 -14
- package/dist/document-models/resource-template/v1/gen/document-model.d.ts +0 -3
- package/dist/document-models/resource-template/v1/gen/document-model.d.ts.map +0 -1
- package/dist/document-models/resource-template/v1/gen/document-model.js +0 -516
- package/dist/document-models/resource-template/v1/gen/document-schema.d.ts +0 -98
- package/dist/document-models/resource-template/v1/gen/document-schema.d.ts.map +0 -1
- package/dist/document-models/resource-template/v1/gen/document-schema.js +0 -33
- package/dist/document-models/resource-template/v1/gen/document-type.d.ts +0 -2
- package/dist/document-models/resource-template/v1/gen/document-type.d.ts.map +0 -1
- package/dist/document-models/resource-template/v1/gen/document-type.js +0 -1
- package/dist/document-models/resource-template/v1/gen/facet-targeting/actions.d.ts +0 -20
- package/dist/document-models/resource-template/v1/gen/facet-targeting/actions.d.ts.map +0 -1
- package/dist/document-models/resource-template/v1/gen/facet-targeting/actions.js +0 -1
- package/dist/document-models/resource-template/v1/gen/facet-targeting/creators.d.ts +0 -7
- package/dist/document-models/resource-template/v1/gen/facet-targeting/creators.d.ts.map +0 -1
- package/dist/document-models/resource-template/v1/gen/facet-targeting/creators.js +0 -6
- package/dist/document-models/resource-template/v1/gen/facet-targeting/error.d.ts +0 -28
- package/dist/document-models/resource-template/v1/gen/facet-targeting/error.d.ts.map +0 -1
- package/dist/document-models/resource-template/v1/gen/facet-targeting/error.js +0 -23
- package/dist/document-models/resource-template/v1/gen/facet-targeting/operations.d.ts +0 -10
- package/dist/document-models/resource-template/v1/gen/facet-targeting/operations.d.ts.map +0 -1
- package/dist/document-models/resource-template/v1/gen/facet-targeting/operations.js +0 -1
- package/dist/document-models/resource-template/v1/gen/index.d.ts +0 -19
- package/dist/document-models/resource-template/v1/gen/index.d.ts.map +0 -1
- package/dist/document-models/resource-template/v1/gen/index.js +0 -18
- package/dist/document-models/resource-template/v1/gen/option-group-management/actions.d.ts +0 -32
- package/dist/document-models/resource-template/v1/gen/option-group-management/actions.d.ts.map +0 -1
- package/dist/document-models/resource-template/v1/gen/option-group-management/actions.js +0 -1
- package/dist/document-models/resource-template/v1/gen/option-group-management/creators.d.ts +0 -10
- package/dist/document-models/resource-template/v1/gen/option-group-management/creators.d.ts.map +0 -1
- package/dist/document-models/resource-template/v1/gen/option-group-management/creators.js +0 -9
- package/dist/document-models/resource-template/v1/gen/option-group-management/error.d.ts +0 -28
- package/dist/document-models/resource-template/v1/gen/option-group-management/error.d.ts.map +0 -1
- package/dist/document-models/resource-template/v1/gen/option-group-management/error.js +0 -23
- package/dist/document-models/resource-template/v1/gen/option-group-management/operations.d.ts +0 -13
- package/dist/document-models/resource-template/v1/gen/option-group-management/operations.d.ts.map +0 -1
- package/dist/document-models/resource-template/v1/gen/option-group-management/operations.js +0 -1
- package/dist/document-models/resource-template/v1/gen/ph-factories.d.ts +0 -23
- package/dist/document-models/resource-template/v1/gen/ph-factories.d.ts.map +0 -1
- package/dist/document-models/resource-template/v1/gen/ph-factories.js +0 -65
- package/dist/document-models/resource-template/v1/gen/reducer.d.ts +0 -3
- package/dist/document-models/resource-template/v1/gen/reducer.d.ts.map +0 -1
- package/dist/document-models/resource-template/v1/gen/reducer.js +0 -164
- package/dist/document-models/resource-template/v1/gen/schema/index.d.ts +0 -3
- package/dist/document-models/resource-template/v1/gen/schema/index.d.ts.map +0 -1
- package/dist/document-models/resource-template/v1/gen/schema/index.js +0 -2
- package/dist/document-models/resource-template/v1/gen/schema/types.d.ts +0 -378
- package/dist/document-models/resource-template/v1/gen/schema/types.d.ts.map +0 -1
- package/dist/document-models/resource-template/v1/gen/schema/types.js +0 -1
- package/dist/document-models/resource-template/v1/gen/schema/zod.d.ts +0 -53
- package/dist/document-models/resource-template/v1/gen/schema/zod.d.ts.map +0 -1
- package/dist/document-models/resource-template/v1/gen/schema/zod.js +0 -321
- package/dist/document-models/resource-template/v1/gen/service-category-management/actions.d.ts +0 -12
- package/dist/document-models/resource-template/v1/gen/service-category-management/actions.d.ts.map +0 -1
- package/dist/document-models/resource-template/v1/gen/service-category-management/actions.js +0 -1
- package/dist/document-models/resource-template/v1/gen/service-category-management/creators.d.ts +0 -5
- package/dist/document-models/resource-template/v1/gen/service-category-management/creators.d.ts.map +0 -1
- package/dist/document-models/resource-template/v1/gen/service-category-management/creators.js +0 -4
- package/dist/document-models/resource-template/v1/gen/service-category-management/error.d.ts +0 -2
- package/dist/document-models/resource-template/v1/gen/service-category-management/error.d.ts.map +0 -1
- package/dist/document-models/resource-template/v1/gen/service-category-management/error.js +0 -1
- package/dist/document-models/resource-template/v1/gen/service-category-management/operations.d.ts +0 -8
- package/dist/document-models/resource-template/v1/gen/service-category-management/operations.d.ts.map +0 -1
- package/dist/document-models/resource-template/v1/gen/service-category-management/operations.js +0 -1
- package/dist/document-models/resource-template/v1/gen/service-management/actions.d.ts +0 -24
- package/dist/document-models/resource-template/v1/gen/service-management/actions.d.ts.map +0 -1
- package/dist/document-models/resource-template/v1/gen/service-management/actions.js +0 -1
- package/dist/document-models/resource-template/v1/gen/service-management/creators.d.ts +0 -8
- package/dist/document-models/resource-template/v1/gen/service-management/creators.d.ts.map +0 -1
- package/dist/document-models/resource-template/v1/gen/service-management/creators.js +0 -7
- package/dist/document-models/resource-template/v1/gen/service-management/error.d.ts +0 -52
- package/dist/document-models/resource-template/v1/gen/service-management/error.d.ts.map +0 -1
- package/dist/document-models/resource-template/v1/gen/service-management/error.js +0 -49
- package/dist/document-models/resource-template/v1/gen/service-management/operations.d.ts +0 -11
- package/dist/document-models/resource-template/v1/gen/service-management/operations.d.ts.map +0 -1
- package/dist/document-models/resource-template/v1/gen/service-management/operations.js +0 -1
- package/dist/document-models/resource-template/v1/gen/template-management/actions.d.ts +0 -24
- package/dist/document-models/resource-template/v1/gen/template-management/actions.d.ts.map +0 -1
- package/dist/document-models/resource-template/v1/gen/template-management/actions.js +0 -1
- package/dist/document-models/resource-template/v1/gen/template-management/creators.d.ts +0 -8
- package/dist/document-models/resource-template/v1/gen/template-management/creators.d.ts.map +0 -1
- package/dist/document-models/resource-template/v1/gen/template-management/creators.js +0 -7
- package/dist/document-models/resource-template/v1/gen/template-management/error.d.ts +0 -2
- package/dist/document-models/resource-template/v1/gen/template-management/error.d.ts.map +0 -1
- package/dist/document-models/resource-template/v1/gen/template-management/error.js +0 -1
- package/dist/document-models/resource-template/v1/gen/template-management/operations.d.ts +0 -11
- package/dist/document-models/resource-template/v1/gen/template-management/operations.d.ts.map +0 -1
- package/dist/document-models/resource-template/v1/gen/template-management/operations.js +0 -1
- package/dist/document-models/resource-template/v1/gen/types.d.ts +0 -12
- package/dist/document-models/resource-template/v1/gen/types.d.ts.map +0 -1
- package/dist/document-models/resource-template/v1/gen/types.js +0 -1
- package/dist/document-models/resource-template/v1/gen/utils.d.ts +0 -15
- package/dist/document-models/resource-template/v1/gen/utils.d.ts.map +0 -1
- package/dist/document-models/resource-template/v1/gen/utils.js +0 -69
- package/dist/document-models/resource-template/v1/hooks.d.ts +0 -14
- package/dist/document-models/resource-template/v1/hooks.d.ts.map +0 -1
- package/dist/document-models/resource-template/v1/hooks.js +0 -25
- package/dist/document-models/resource-template/v1/index.d.ts +0 -6
- package/dist/document-models/resource-template/v1/index.d.ts.map +0 -1
- package/dist/document-models/resource-template/v1/index.js +0 -5
- package/dist/document-models/resource-template/v1/module.d.ts +0 -5
- package/dist/document-models/resource-template/v1/module.d.ts.map +0 -1
- package/dist/document-models/resource-template/v1/module.js +0 -14
- package/dist/document-models/resource-template/v1/src/index.d.ts +0 -2
- package/dist/document-models/resource-template/v1/src/index.d.ts.map +0 -1
- package/dist/document-models/resource-template/v1/src/index.js +0 -1
- package/dist/document-models/resource-template/v1/src/reducers/audience-management.d.ts +0 -3
- package/dist/document-models/resource-template/v1/src/reducers/audience-management.d.ts.map +0 -1
- package/dist/document-models/resource-template/v1/src/reducers/audience-management.js +0 -17
- package/dist/document-models/resource-template/v1/src/reducers/content-section-management.d.ts +0 -3
- package/dist/document-models/resource-template/v1/src/reducers/content-section-management.d.ts.map +0 -1
- package/dist/document-models/resource-template/v1/src/reducers/content-section-management.js +0 -44
- package/dist/document-models/resource-template/v1/src/reducers/facet-targeting.d.ts +0 -3
- package/dist/document-models/resource-template/v1/src/reducers/facet-targeting.d.ts.map +0 -1
- package/dist/document-models/resource-template/v1/src/reducers/facet-targeting.js +0 -47
- package/dist/document-models/resource-template/v1/src/reducers/option-group-management.d.ts +0 -3
- package/dist/document-models/resource-template/v1/src/reducers/option-group-management.d.ts.map +0 -1
- package/dist/document-models/resource-template/v1/src/reducers/option-group-management.js +0 -66
- package/dist/document-models/resource-template/v1/src/reducers/service-category-management.d.ts +0 -3
- package/dist/document-models/resource-template/v1/src/reducers/service-category-management.d.ts.map +0 -1
- package/dist/document-models/resource-template/v1/src/reducers/service-category-management.js +0 -10
- package/dist/document-models/resource-template/v1/src/reducers/service-management.d.ts +0 -3
- package/dist/document-models/resource-template/v1/src/reducers/service-management.d.ts.map +0 -1
- package/dist/document-models/resource-template/v1/src/reducers/service-management.js +0 -71
- package/dist/document-models/resource-template/v1/src/reducers/template-management.d.ts +0 -3
- package/dist/document-models/resource-template/v1/src/reducers/template-management.d.ts.map +0 -1
- package/dist/document-models/resource-template/v1/src/reducers/template-management.js +0 -39
- package/dist/document-models/resource-template/v1/src/utils.d.ts +0 -2
- package/dist/document-models/resource-template/v1/src/utils.d.ts.map +0 -1
- package/dist/document-models/resource-template/v1/src/utils.js +0 -1
- package/dist/document-models/resource-template/v1/tests/audience-management.test.d.ts +0 -2
- package/dist/document-models/resource-template/v1/tests/audience-management.test.d.ts.map +0 -1
- package/dist/document-models/resource-template/v1/tests/audience-management.test.js +0 -25
- package/dist/document-models/resource-template/v1/tests/content-section-management.test.d.ts +0 -2
- package/dist/document-models/resource-template/v1/tests/content-section-management.test.d.ts.map +0 -1
- package/dist/document-models/resource-template/v1/tests/content-section-management.test.js +0 -45
- package/dist/document-models/resource-template/v1/tests/document-model.test.d.ts +0 -10
- package/dist/document-models/resource-template/v1/tests/document-model.test.d.ts.map +0 -1
- package/dist/document-models/resource-template/v1/tests/document-model.test.js +0 -104
- package/dist/document-models/resource-template/v1/tests/facet-targeting.test.d.ts +0 -2
- package/dist/document-models/resource-template/v1/tests/facet-targeting.test.d.ts.map +0 -1
- package/dist/document-models/resource-template/v1/tests/facet-targeting.test.js +0 -45
- package/dist/document-models/resource-template/v1/tests/option-group-management.test.d.ts +0 -2
- package/dist/document-models/resource-template/v1/tests/option-group-management.test.d.ts.map +0 -1
- package/dist/document-models/resource-template/v1/tests/option-group-management.test.js +0 -75
- package/dist/document-models/resource-template/v1/tests/service-category-management.test.d.ts +0 -2
- package/dist/document-models/resource-template/v1/tests/service-category-management.test.d.ts.map +0 -1
- package/dist/document-models/resource-template/v1/tests/service-category-management.test.js +0 -25
- package/dist/document-models/resource-template/v1/tests/service-management.test.d.ts +0 -2
- package/dist/document-models/resource-template/v1/tests/service-management.test.d.ts.map +0 -1
- package/dist/document-models/resource-template/v1/tests/service-management.test.js +0 -55
- package/dist/document-models/resource-template/v1/tests/template-management.test.d.ts +0 -2
- package/dist/document-models/resource-template/v1/tests/template-management.test.d.ts.map +0 -1
- package/dist/document-models/resource-template/v1/tests/template-management.test.js +0 -55
- package/dist/document-models/resource-template/v1/utils.d.ts +0 -14
- package/dist/document-models/resource-template/v1/utils.d.ts.map +0 -1
- package/dist/document-models/resource-template/v1/utils.js +0 -7
- package/dist/document-models/service-offering/gen/schema/types.d.ts +0 -526
- package/dist/document-models/service-offering/gen/schema/types.d.ts.map +0 -1
- package/dist/document-models/service-offering/gen/schema/types.js +0 -1
- package/dist/document-models/service-offering/gen/schema/zod.d.ts +0 -114
- package/dist/document-models/service-offering/gen/schema/zod.d.ts.map +0 -1
- package/dist/document-models/service-offering/gen/schema/zod.js +0 -539
- package/dist/document-models/service-offering/index.d.ts +0 -3
- package/dist/document-models/service-offering/index.d.ts.map +0 -1
- package/dist/document-models/service-offering/index.js +0 -2
- package/dist/document-models/service-offering/upgrades/index.d.ts +0 -3
- package/dist/document-models/service-offering/upgrades/index.d.ts.map +0 -1
- package/dist/document-models/service-offering/upgrades/index.js +0 -2
- package/dist/document-models/service-offering/upgrades/upgrade-manifest.d.ts +0 -4
- package/dist/document-models/service-offering/upgrades/upgrade-manifest.d.ts.map +0 -1
- package/dist/document-models/service-offering/upgrades/upgrade-manifest.js +0 -7
- package/dist/document-models/service-offering/upgrades/versions.d.ts +0 -3
- package/dist/document-models/service-offering/upgrades/versions.d.ts.map +0 -1
- package/dist/document-models/service-offering/upgrades/versions.js +0 -2
- package/dist/document-models/service-offering/v1/actions.d.ts +0 -50
- package/dist/document-models/service-offering/v1/actions.d.ts.map +0 -1
- package/dist/document-models/service-offering/v1/actions.js +0 -10
- package/dist/document-models/service-offering/v1/gen/actions.d.ts +0 -10
- package/dist/document-models/service-offering/v1/gen/actions.d.ts.map +0 -1
- package/dist/document-models/service-offering/v1/gen/actions.js +0 -4
- package/dist/document-models/service-offering/v1/gen/controller.d.ts +0 -4
- package/dist/document-models/service-offering/v1/gen/controller.d.ts.map +0 -1
- package/dist/document-models/service-offering/v1/gen/controller.js +0 -3
- package/dist/document-models/service-offering/v1/gen/creators.d.ts +0 -9
- package/dist/document-models/service-offering/v1/gen/creators.d.ts.map +0 -1
- package/dist/document-models/service-offering/v1/gen/creators.js +0 -8
- package/dist/document-models/service-offering/v1/gen/document-model.d.ts +0 -3
- package/dist/document-models/service-offering/v1/gen/document-model.d.ts.map +0 -1
- package/dist/document-models/service-offering/v1/gen/document-model.js +0 -691
- package/dist/document-models/service-offering/v1/gen/document-schema.d.ts +0 -86
- package/dist/document-models/service-offering/v1/gen/document-schema.d.ts.map +0 -1
- package/dist/document-models/service-offering/v1/gen/document-schema.js +0 -33
- package/dist/document-models/service-offering/v1/gen/document-type.d.ts +0 -2
- package/dist/document-models/service-offering/v1/gen/document-type.d.ts.map +0 -1
- package/dist/document-models/service-offering/v1/gen/document-type.js +0 -1
- package/dist/document-models/service-offering/v1/gen/index.d.ts +0 -16
- package/dist/document-models/service-offering/v1/gen/index.d.ts.map +0 -1
- package/dist/document-models/service-offering/v1/gen/index.js +0 -15
- package/dist/document-models/service-offering/v1/gen/offering/actions.d.ts +0 -48
- package/dist/document-models/service-offering/v1/gen/offering/actions.d.ts.map +0 -1
- package/dist/document-models/service-offering/v1/gen/offering/actions.js +0 -1
- package/dist/document-models/service-offering/v1/gen/offering/creators.d.ts +0 -14
- package/dist/document-models/service-offering/v1/gen/offering/creators.d.ts.map +0 -1
- package/dist/document-models/service-offering/v1/gen/offering/creators.js +0 -13
- package/dist/document-models/service-offering/v1/gen/offering/error.d.ts +0 -42
- package/dist/document-models/service-offering/v1/gen/offering/error.d.ts.map +0 -1
- package/dist/document-models/service-offering/v1/gen/offering/error.js +0 -37
- package/dist/document-models/service-offering/v1/gen/offering/operations.d.ts +0 -17
- package/dist/document-models/service-offering/v1/gen/offering/operations.d.ts.map +0 -1
- package/dist/document-models/service-offering/v1/gen/offering/operations.js +0 -1
- package/dist/document-models/service-offering/v1/gen/option-groups/actions.d.ts +0 -36
- package/dist/document-models/service-offering/v1/gen/option-groups/actions.d.ts.map +0 -1
- package/dist/document-models/service-offering/v1/gen/option-groups/actions.js +0 -1
- package/dist/document-models/service-offering/v1/gen/option-groups/creators.d.ts +0 -11
- package/dist/document-models/service-offering/v1/gen/option-groups/creators.d.ts.map +0 -1
- package/dist/document-models/service-offering/v1/gen/option-groups/creators.js +0 -10
- package/dist/document-models/service-offering/v1/gen/option-groups/error.d.ts +0 -56
- package/dist/document-models/service-offering/v1/gen/option-groups/error.d.ts.map +0 -1
- package/dist/document-models/service-offering/v1/gen/option-groups/error.js +0 -53
- package/dist/document-models/service-offering/v1/gen/option-groups/operations.d.ts +0 -14
- package/dist/document-models/service-offering/v1/gen/option-groups/operations.d.ts.map +0 -1
- package/dist/document-models/service-offering/v1/gen/option-groups/operations.js +0 -1
- package/dist/document-models/service-offering/v1/gen/ph-factories.d.ts +0 -23
- package/dist/document-models/service-offering/v1/gen/ph-factories.d.ts.map +0 -1
- package/dist/document-models/service-offering/v1/gen/ph-factories.js +0 -61
- package/dist/document-models/service-offering/v1/gen/reducer.d.ts +0 -3
- package/dist/document-models/service-offering/v1/gen/reducer.d.ts.map +0 -1
- package/dist/document-models/service-offering/v1/gen/reducer.js +0 -196
- package/dist/document-models/service-offering/v1/gen/schema/index.d.ts +0 -3
- package/dist/document-models/service-offering/v1/gen/schema/index.d.ts.map +0 -1
- package/dist/document-models/service-offering/v1/gen/schema/index.js +0 -2
- package/dist/document-models/service-offering/v1/gen/schema/types.d.ts +0 -533
- package/dist/document-models/service-offering/v1/gen/schema/types.d.ts.map +0 -1
- package/dist/document-models/service-offering/v1/gen/schema/types.js +0 -1
- package/dist/document-models/service-offering/v1/gen/schema/zod.d.ts +0 -115
- package/dist/document-models/service-offering/v1/gen/schema/zod.d.ts.map +0 -1
- package/dist/document-models/service-offering/v1/gen/schema/zod.js +0 -548
- package/dist/document-models/service-offering/v1/gen/services/actions.d.ts +0 -16
- package/dist/document-models/service-offering/v1/gen/services/actions.d.ts.map +0 -1
- package/dist/document-models/service-offering/v1/gen/services/actions.js +0 -1
- package/dist/document-models/service-offering/v1/gen/services/creators.d.ts +0 -6
- package/dist/document-models/service-offering/v1/gen/services/creators.d.ts.map +0 -1
- package/dist/document-models/service-offering/v1/gen/services/creators.js +0 -5
- package/dist/document-models/service-offering/v1/gen/services/error.d.ts +0 -21
- package/dist/document-models/service-offering/v1/gen/services/error.d.ts.map +0 -1
- package/dist/document-models/service-offering/v1/gen/services/error.js +0 -16
- package/dist/document-models/service-offering/v1/gen/services/operations.d.ts +0 -9
- package/dist/document-models/service-offering/v1/gen/services/operations.d.ts.map +0 -1
- package/dist/document-models/service-offering/v1/gen/services/operations.js +0 -1
- package/dist/document-models/service-offering/v1/gen/tiers/actions.d.ts +0 -60
- package/dist/document-models/service-offering/v1/gen/tiers/actions.d.ts.map +0 -1
- package/dist/document-models/service-offering/v1/gen/tiers/actions.js +0 -1
- package/dist/document-models/service-offering/v1/gen/tiers/creators.d.ts +0 -17
- package/dist/document-models/service-offering/v1/gen/tiers/creators.d.ts.map +0 -1
- package/dist/document-models/service-offering/v1/gen/tiers/creators.js +0 -16
- package/dist/document-models/service-offering/v1/gen/tiers/error.d.ts +0 -113
- package/dist/document-models/service-offering/v1/gen/tiers/error.d.ts.map +0 -1
- package/dist/document-models/service-offering/v1/gen/tiers/error.js +0 -119
- package/dist/document-models/service-offering/v1/gen/tiers/operations.d.ts +0 -20
- package/dist/document-models/service-offering/v1/gen/tiers/operations.d.ts.map +0 -1
- package/dist/document-models/service-offering/v1/gen/tiers/operations.js +0 -1
- package/dist/document-models/service-offering/v1/gen/types.d.ts +0 -12
- package/dist/document-models/service-offering/v1/gen/types.d.ts.map +0 -1
- package/dist/document-models/service-offering/v1/gen/types.js +0 -1
- package/dist/document-models/service-offering/v1/gen/utils.d.ts +0 -15
- package/dist/document-models/service-offering/v1/gen/utils.d.ts.map +0 -1
- package/dist/document-models/service-offering/v1/gen/utils.js +0 -65
- package/dist/document-models/service-offering/v1/hooks.d.ts +0 -14
- package/dist/document-models/service-offering/v1/hooks.d.ts.map +0 -1
- package/dist/document-models/service-offering/v1/hooks.js +0 -25
- package/dist/document-models/service-offering/v1/index.d.ts +0 -6
- package/dist/document-models/service-offering/v1/index.d.ts.map +0 -1
- package/dist/document-models/service-offering/v1/index.js +0 -5
- package/dist/document-models/service-offering/v1/module.d.ts +0 -5
- package/dist/document-models/service-offering/v1/module.d.ts.map +0 -1
- package/dist/document-models/service-offering/v1/module.js +0 -14
- package/dist/document-models/service-offering/v1/src/index.d.ts +0 -2
- package/dist/document-models/service-offering/v1/src/index.d.ts.map +0 -1
- package/dist/document-models/service-offering/v1/src/index.js +0 -1
- package/dist/document-models/service-offering/v1/src/reducers/offering.d.ts +0 -3
- package/dist/document-models/service-offering/v1/src/reducers/offering.d.ts.map +0 -1
- package/dist/document-models/service-offering/v1/src/reducers/offering.js +0 -89
- package/dist/document-models/service-offering/v1/src/reducers/option-groups.d.ts +0 -3
- package/dist/document-models/service-offering/v1/src/reducers/option-groups.d.ts.map +0 -1
- package/dist/document-models/service-offering/v1/src/reducers/option-groups.js +0 -212
- package/dist/document-models/service-offering/v1/src/reducers/services.d.ts +0 -3
- package/dist/document-models/service-offering/v1/src/reducers/services.d.ts.map +0 -1
- package/dist/document-models/service-offering/v1/src/reducers/services.js +0 -40
- package/dist/document-models/service-offering/v1/src/reducers/tiers.d.ts +0 -3
- package/dist/document-models/service-offering/v1/src/reducers/tiers.d.ts.map +0 -1
- package/dist/document-models/service-offering/v1/src/reducers/tiers.js +0 -216
- package/dist/document-models/service-offering/v1/src/utils.d.ts +0 -61
- package/dist/document-models/service-offering/v1/src/utils.d.ts.map +0 -1
- package/dist/document-models/service-offering/v1/src/utils.js +0 -176
- package/dist/document-models/service-offering/v1/tests/document-model.test.d.ts +0 -10
- package/dist/document-models/service-offering/v1/tests/document-model.test.d.ts.map +0 -1
- package/dist/document-models/service-offering/v1/tests/document-model.test.js +0 -104
- package/dist/document-models/service-offering/v1/tests/offering.test.d.ts +0 -2
- package/dist/document-models/service-offering/v1/tests/offering.test.d.ts.map +0 -1
- package/dist/document-models/service-offering/v1/tests/offering.test.js +0 -115
- package/dist/document-models/service-offering/v1/tests/option-groups.test.d.ts +0 -2
- package/dist/document-models/service-offering/v1/tests/option-groups.test.d.ts.map +0 -1
- package/dist/document-models/service-offering/v1/tests/option-groups.test.js +0 -85
- package/dist/document-models/service-offering/v1/tests/services.test.d.ts +0 -2
- package/dist/document-models/service-offering/v1/tests/services.test.d.ts.map +0 -1
- package/dist/document-models/service-offering/v1/tests/services.test.js +0 -35
- package/dist/document-models/service-offering/v1/tests/tiers.test.d.ts +0 -2
- package/dist/document-models/service-offering/v1/tests/tiers.test.d.ts.map +0 -1
- package/dist/document-models/service-offering/v1/tests/tiers.test.js +0 -145
- package/dist/document-models/service-offering/v1/utils.d.ts +0 -17
- package/dist/document-models/service-offering/v1/utils.d.ts.map +0 -1
- package/dist/document-models/service-offering/v1/utils.js +0 -7
- package/dist/document-models/subscription-instance/gen/schema/types.d.ts +0 -552
- package/dist/document-models/subscription-instance/gen/schema/types.d.ts.map +0 -1
- package/dist/document-models/subscription-instance/gen/schema/types.js +0 -1
- package/dist/document-models/subscription-instance/gen/schema/zod.d.ts +0 -109
- package/dist/document-models/subscription-instance/gen/schema/zod.d.ts.map +0 -1
- package/dist/document-models/subscription-instance/gen/schema/zod.js +0 -556
- package/dist/document-models/subscription-instance/index.d.ts +0 -3
- package/dist/document-models/subscription-instance/index.d.ts.map +0 -1
- package/dist/document-models/subscription-instance/index.js +0 -2
- package/dist/document-models/subscription-instance/upgrades/index.d.ts +0 -3
- package/dist/document-models/subscription-instance/upgrades/index.d.ts.map +0 -1
- package/dist/document-models/subscription-instance/upgrades/index.js +0 -2
- package/dist/document-models/subscription-instance/upgrades/upgrade-manifest.d.ts +0 -4
- package/dist/document-models/subscription-instance/upgrades/upgrade-manifest.d.ts.map +0 -1
- package/dist/document-models/subscription-instance/upgrades/upgrade-manifest.js +0 -7
- package/dist/document-models/subscription-instance/upgrades/versions.d.ts +0 -3
- package/dist/document-models/subscription-instance/upgrades/versions.d.ts.map +0 -1
- package/dist/document-models/subscription-instance/upgrades/versions.js +0 -2
- package/dist/document-models/subscription-instance/v1/actions.d.ts +0 -53
- package/dist/document-models/subscription-instance/v1/actions.d.ts.map +0 -1
- package/dist/document-models/subscription-instance/v1/actions.js +0 -11
- package/dist/document-models/subscription-instance/v1/gen/actions.d.ts +0 -12
- package/dist/document-models/subscription-instance/v1/gen/actions.d.ts.map +0 -1
- package/dist/document-models/subscription-instance/v1/gen/actions.js +0 -5
- package/dist/document-models/subscription-instance/v1/gen/controller.d.ts +0 -4
- package/dist/document-models/subscription-instance/v1/gen/controller.d.ts.map +0 -1
- package/dist/document-models/subscription-instance/v1/gen/controller.js +0 -3
- package/dist/document-models/subscription-instance/v1/gen/creators.d.ts +0 -11
- package/dist/document-models/subscription-instance/v1/gen/creators.d.ts.map +0 -1
- package/dist/document-models/subscription-instance/v1/gen/creators.js +0 -10
- package/dist/document-models/subscription-instance/v1/gen/customer/actions.d.ts +0 -12
- package/dist/document-models/subscription-instance/v1/gen/customer/actions.d.ts.map +0 -1
- package/dist/document-models/subscription-instance/v1/gen/customer/actions.js +0 -1
- package/dist/document-models/subscription-instance/v1/gen/customer/creators.d.ts +0 -5
- package/dist/document-models/subscription-instance/v1/gen/customer/creators.d.ts.map +0 -1
- package/dist/document-models/subscription-instance/v1/gen/customer/creators.js +0 -4
- package/dist/document-models/subscription-instance/v1/gen/customer/error.d.ts +0 -2
- package/dist/document-models/subscription-instance/v1/gen/customer/error.d.ts.map +0 -1
- package/dist/document-models/subscription-instance/v1/gen/customer/error.js +0 -1
- package/dist/document-models/subscription-instance/v1/gen/customer/operations.d.ts +0 -8
- package/dist/document-models/subscription-instance/v1/gen/customer/operations.d.ts.map +0 -1
- package/dist/document-models/subscription-instance/v1/gen/customer/operations.js +0 -1
- package/dist/document-models/subscription-instance/v1/gen/document-model.d.ts +0 -3
- package/dist/document-models/subscription-instance/v1/gen/document-model.d.ts.map +0 -1
- package/dist/document-models/subscription-instance/v1/gen/document-model.js +0 -736
- package/dist/document-models/subscription-instance/v1/gen/document-schema.d.ts +0 -134
- package/dist/document-models/subscription-instance/v1/gen/document-schema.d.ts.map +0 -1
- package/dist/document-models/subscription-instance/v1/gen/document-schema.js +0 -33
- package/dist/document-models/subscription-instance/v1/gen/document-type.d.ts +0 -2
- package/dist/document-models/subscription-instance/v1/gen/document-type.d.ts.map +0 -1
- package/dist/document-models/subscription-instance/v1/gen/document-type.js +0 -1
- package/dist/document-models/subscription-instance/v1/gen/index.d.ts +0 -17
- package/dist/document-models/subscription-instance/v1/gen/index.d.ts.map +0 -1
- package/dist/document-models/subscription-instance/v1/gen/index.js +0 -16
- package/dist/document-models/subscription-instance/v1/gen/metrics/actions.d.ts +0 -28
- package/dist/document-models/subscription-instance/v1/gen/metrics/actions.d.ts.map +0 -1
- package/dist/document-models/subscription-instance/v1/gen/metrics/actions.js +0 -1
- package/dist/document-models/subscription-instance/v1/gen/metrics/creators.d.ts +0 -9
- package/dist/document-models/subscription-instance/v1/gen/metrics/creators.d.ts.map +0 -1
- package/dist/document-models/subscription-instance/v1/gen/metrics/creators.js +0 -8
- package/dist/document-models/subscription-instance/v1/gen/metrics/error.d.ts +0 -74
- package/dist/document-models/subscription-instance/v1/gen/metrics/error.d.ts.map +0 -1
- package/dist/document-models/subscription-instance/v1/gen/metrics/error.js +0 -86
- package/dist/document-models/subscription-instance/v1/gen/metrics/operations.d.ts +0 -12
- package/dist/document-models/subscription-instance/v1/gen/metrics/operations.d.ts.map +0 -1
- package/dist/document-models/subscription-instance/v1/gen/metrics/operations.js +0 -1
- package/dist/document-models/subscription-instance/v1/gen/ph-factories.d.ts +0 -23
- package/dist/document-models/subscription-instance/v1/gen/ph-factories.d.ts.map +0 -1
- package/dist/document-models/subscription-instance/v1/gen/ph-factories.js +0 -77
- package/dist/document-models/subscription-instance/v1/gen/reducer.d.ts +0 -3
- package/dist/document-models/subscription-instance/v1/gen/reducer.d.ts.map +0 -1
- package/dist/document-models/subscription-instance/v1/gen/reducer.js +0 -212
- package/dist/document-models/subscription-instance/v1/gen/schema/index.d.ts +0 -3
- package/dist/document-models/subscription-instance/v1/gen/schema/index.d.ts.map +0 -1
- package/dist/document-models/subscription-instance/v1/gen/schema/index.js +0 -2
- package/dist/document-models/subscription-instance/v1/gen/schema/types.d.ts +0 -552
- package/dist/document-models/subscription-instance/v1/gen/schema/types.d.ts.map +0 -1
- package/dist/document-models/subscription-instance/v1/gen/schema/types.js +0 -1
- package/dist/document-models/subscription-instance/v1/gen/schema/zod.d.ts +0 -109
- package/dist/document-models/subscription-instance/v1/gen/schema/zod.d.ts.map +0 -1
- package/dist/document-models/subscription-instance/v1/gen/schema/zod.js +0 -556
- package/dist/document-models/subscription-instance/v1/gen/service/actions.d.ts +0 -40
- package/dist/document-models/subscription-instance/v1/gen/service/actions.d.ts.map +0 -1
- package/dist/document-models/subscription-instance/v1/gen/service/actions.js +0 -1
- package/dist/document-models/subscription-instance/v1/gen/service/creators.d.ts +0 -12
- package/dist/document-models/subscription-instance/v1/gen/service/creators.d.ts.map +0 -1
- package/dist/document-models/subscription-instance/v1/gen/service/creators.js +0 -11
- package/dist/document-models/subscription-instance/v1/gen/service/error.d.ts +0 -63
- package/dist/document-models/subscription-instance/v1/gen/service/error.d.ts.map +0 -1
- package/dist/document-models/subscription-instance/v1/gen/service/error.js +0 -60
- package/dist/document-models/subscription-instance/v1/gen/service/operations.d.ts +0 -15
- package/dist/document-models/subscription-instance/v1/gen/service/operations.d.ts.map +0 -1
- package/dist/document-models/subscription-instance/v1/gen/service/operations.js +0 -1
- package/dist/document-models/subscription-instance/v1/gen/service-group/actions.d.ts +0 -24
- package/dist/document-models/subscription-instance/v1/gen/service-group/actions.d.ts.map +0 -1
- package/dist/document-models/subscription-instance/v1/gen/service-group/actions.js +0 -1
- package/dist/document-models/subscription-instance/v1/gen/service-group/creators.d.ts +0 -8
- package/dist/document-models/subscription-instance/v1/gen/service-group/creators.d.ts.map +0 -1
- package/dist/document-models/subscription-instance/v1/gen/service-group/creators.js +0 -7
- package/dist/document-models/subscription-instance/v1/gen/service-group/error.d.ts +0 -40
- package/dist/document-models/subscription-instance/v1/gen/service-group/error.d.ts.map +0 -1
- package/dist/document-models/subscription-instance/v1/gen/service-group/error.js +0 -39
- package/dist/document-models/subscription-instance/v1/gen/service-group/operations.d.ts +0 -11
- package/dist/document-models/subscription-instance/v1/gen/service-group/operations.d.ts.map +0 -1
- package/dist/document-models/subscription-instance/v1/gen/service-group/operations.js +0 -1
- package/dist/document-models/subscription-instance/v1/gen/subscription/actions.d.ts +0 -72
- package/dist/document-models/subscription-instance/v1/gen/subscription/actions.d.ts.map +0 -1
- package/dist/document-models/subscription-instance/v1/gen/subscription/actions.js +0 -1
- package/dist/document-models/subscription-instance/v1/gen/subscription/creators.d.ts +0 -20
- package/dist/document-models/subscription-instance/v1/gen/subscription/creators.d.ts.map +0 -1
- package/dist/document-models/subscription-instance/v1/gen/subscription/creators.js +0 -19
- package/dist/document-models/subscription-instance/v1/gen/subscription/error.d.ts +0 -56
- package/dist/document-models/subscription-instance/v1/gen/subscription/error.d.ts.map +0 -1
- package/dist/document-models/subscription-instance/v1/gen/subscription/error.js +0 -51
- package/dist/document-models/subscription-instance/v1/gen/subscription/operations.d.ts +0 -23
- package/dist/document-models/subscription-instance/v1/gen/subscription/operations.d.ts.map +0 -1
- package/dist/document-models/subscription-instance/v1/gen/subscription/operations.js +0 -1
- package/dist/document-models/subscription-instance/v1/gen/types.d.ts +0 -12
- package/dist/document-models/subscription-instance/v1/gen/types.d.ts.map +0 -1
- package/dist/document-models/subscription-instance/v1/gen/types.js +0 -1
- package/dist/document-models/subscription-instance/v1/gen/utils.d.ts +0 -15
- package/dist/document-models/subscription-instance/v1/gen/utils.d.ts.map +0 -1
- package/dist/document-models/subscription-instance/v1/gen/utils.js +0 -81
- package/dist/document-models/subscription-instance/v1/hooks.d.ts +0 -14
- package/dist/document-models/subscription-instance/v1/hooks.d.ts.map +0 -1
- package/dist/document-models/subscription-instance/v1/hooks.js +0 -25
- package/dist/document-models/subscription-instance/v1/index.d.ts +0 -6
- package/dist/document-models/subscription-instance/v1/index.d.ts.map +0 -1
- package/dist/document-models/subscription-instance/v1/index.js +0 -5
- package/dist/document-models/subscription-instance/v1/module.d.ts +0 -5
- package/dist/document-models/subscription-instance/v1/module.d.ts.map +0 -1
- package/dist/document-models/subscription-instance/v1/module.js +0 -14
- package/dist/document-models/subscription-instance/v1/src/index.d.ts +0 -2
- package/dist/document-models/subscription-instance/v1/src/index.d.ts.map +0 -1
- package/dist/document-models/subscription-instance/v1/src/index.js +0 -1
- package/dist/document-models/subscription-instance/v1/src/reducers/customer.d.ts +0 -3
- package/dist/document-models/subscription-instance/v1/src/reducers/customer.d.ts.map +0 -1
- package/dist/document-models/subscription-instance/v1/src/reducers/customer.js +0 -9
- package/dist/document-models/subscription-instance/v1/src/reducers/metrics.d.ts +0 -3
- package/dist/document-models/subscription-instance/v1/src/reducers/metrics.d.ts.map +0 -1
- package/dist/document-models/subscription-instance/v1/src/reducers/metrics.js +0 -97
- package/dist/document-models/subscription-instance/v1/src/reducers/service-group.d.ts +0 -3
- package/dist/document-models/subscription-instance/v1/src/reducers/service-group.d.ts.map +0 -1
- package/dist/document-models/subscription-instance/v1/src/reducers/service-group.js +0 -133
- package/dist/document-models/subscription-instance/v1/src/reducers/service.d.ts +0 -3
- package/dist/document-models/subscription-instance/v1/src/reducers/service.d.ts.map +0 -1
- package/dist/document-models/subscription-instance/v1/src/reducers/service.js +0 -155
- package/dist/document-models/subscription-instance/v1/src/reducers/subscription.d.ts +0 -3
- package/dist/document-models/subscription-instance/v1/src/reducers/subscription.d.ts.map +0 -1
- package/dist/document-models/subscription-instance/v1/src/reducers/subscription.js +0 -275
- package/dist/document-models/subscription-instance/v1/src/reducers/utils.d.ts +0 -7
- package/dist/document-models/subscription-instance/v1/src/reducers/utils.d.ts.map +0 -1
- package/dist/document-models/subscription-instance/v1/src/reducers/utils.js +0 -15
- package/dist/document-models/subscription-instance/v1/src/utils.d.ts +0 -2
- package/dist/document-models/subscription-instance/v1/src/utils.d.ts.map +0 -1
- package/dist/document-models/subscription-instance/v1/src/utils.js +0 -1
- package/dist/document-models/subscription-instance/v1/tests/customer.test.d.ts +0 -2
- package/dist/document-models/subscription-instance/v1/tests/customer.test.d.ts.map +0 -1
- package/dist/document-models/subscription-instance/v1/tests/customer.test.js +0 -25
- package/dist/document-models/subscription-instance/v1/tests/document-model.test.d.ts +0 -10
- package/dist/document-models/subscription-instance/v1/tests/document-model.test.d.ts.map +0 -1
- package/dist/document-models/subscription-instance/v1/tests/document-model.test.js +0 -104
- package/dist/document-models/subscription-instance/v1/tests/metrics.test.d.ts +0 -2
- package/dist/document-models/subscription-instance/v1/tests/metrics.test.d.ts.map +0 -1
- package/dist/document-models/subscription-instance/v1/tests/metrics.test.js +0 -152
- package/dist/document-models/subscription-instance/v1/tests/service-group.test.d.ts +0 -2
- package/dist/document-models/subscription-instance/v1/tests/service-group.test.d.ts.map +0 -1
- package/dist/document-models/subscription-instance/v1/tests/service-group.test.js +0 -55
- package/dist/document-models/subscription-instance/v1/tests/service.test.d.ts +0 -2
- package/dist/document-models/subscription-instance/v1/tests/service.test.d.ts.map +0 -1
- package/dist/document-models/subscription-instance/v1/tests/service.test.js +0 -95
- package/dist/document-models/subscription-instance/v1/tests/subscription.test.d.ts +0 -2
- package/dist/document-models/subscription-instance/v1/tests/subscription.test.d.ts.map +0 -1
- package/dist/document-models/subscription-instance/v1/tests/subscription.test.js +0 -175
- package/dist/document-models/subscription-instance/v1/utils.d.ts +0 -14
- package/dist/document-models/subscription-instance/v1/utils.d.ts.map +0 -1
- package/dist/document-models/subscription-instance/v1/utils.js +0 -7
- package/dist/document-models/upgrade-manifests.d.ts +0 -3
- package/dist/document-models/upgrade-manifests.d.ts.map +0 -1
- package/dist/document-models/upgrade-manifests.js +0 -12
- package/dist/editors/editors.d.ts +0 -3
- package/dist/editors/editors.d.ts.map +0 -1
- package/dist/editors/editors.js +0 -10
- package/dist/editors/index.d.ts +0 -5
- package/dist/editors/index.d.ts.map +0 -1
- package/dist/editors/index.js +0 -4
- package/dist/editors/resource-instance-editor/components/OperatorProfilePanel.d.ts +0 -11
- package/dist/editors/resource-instance-editor/components/OperatorProfilePanel.d.ts.map +0 -1
- package/dist/editors/resource-instance-editor/components/OperatorProfilePanel.js +0 -28
- package/dist/editors/resource-instance-editor/editor.d.ts +0 -2
- package/dist/editors/resource-instance-editor/editor.d.ts.map +0 -1
- package/dist/editors/resource-instance-editor/editor.js +0 -1301
- package/dist/editors/resource-instance-editor/hooks/useBuilderProfiles.d.ts +0 -15
- package/dist/editors/resource-instance-editor/hooks/useBuilderProfiles.d.ts.map +0 -1
- package/dist/editors/resource-instance-editor/hooks/useBuilderProfiles.js +0 -85
- package/dist/editors/resource-instance-editor/module.d.ts +0 -4
- package/dist/editors/resource-instance-editor/module.d.ts.map +0 -1
- package/dist/editors/resource-instance-editor/module.js +0 -10
- package/dist/editors/resource-instance-editor/types.d.ts +0 -2
- package/dist/editors/resource-instance-editor/types.d.ts.map +0 -1
- package/dist/editors/resource-instance-editor/types.js +0 -1
- package/dist/editors/resource-instance-editor/utils/graphql-client.d.ts +0 -6
- package/dist/editors/resource-instance-editor/utils/graphql-client.d.ts.map +0 -1
- package/dist/editors/resource-instance-editor/utils/graphql-client.js +0 -5
- package/dist/editors/resource-template-editor/components/FacetTargeting.d.ts +0 -9
- package/dist/editors/resource-template-editor/components/FacetTargeting.d.ts.map +0 -1
- package/dist/editors/resource-template-editor/components/FacetTargeting.js +0 -958
- package/dist/editors/resource-template-editor/components/TemplateInfo.d.ts +0 -9
- package/dist/editors/resource-template-editor/components/TemplateInfo.d.ts.map +0 -1
- package/dist/editors/resource-template-editor/components/TemplateInfo.js +0 -2217
- package/dist/editors/resource-template-editor/components/markdown-editor.d.ts +0 -12
- package/dist/editors/resource-template-editor/components/markdown-editor.d.ts.map +0 -1
- package/dist/editors/resource-template-editor/components/markdown-editor.js +0 -130
- package/dist/editors/resource-template-editor/editor.d.ts +0 -2
- package/dist/editors/resource-template-editor/editor.d.ts.map +0 -1
- package/dist/editors/resource-template-editor/editor.js +0 -146
- package/dist/editors/resource-template-editor/module.d.ts +0 -4
- package/dist/editors/resource-template-editor/module.d.ts.map +0 -1
- package/dist/editors/resource-template-editor/module.js +0 -10
- package/dist/editors/service-offering-editor/components/ConfirmDialog.d.ts +0 -12
- package/dist/editors/service-offering-editor/components/ConfirmDialog.d.ts.map +0 -1
- package/dist/editors/service-offering-editor/components/ConfirmDialog.js +0 -20
- package/dist/editors/service-offering-editor/components/EditName.d.ts +0 -3
- package/dist/editors/service-offering-editor/components/EditName.d.ts.map +0 -1
- package/dist/editors/service-offering-editor/components/EditName.js +0 -31
- package/dist/editors/service-offering-editor/components/InfoIcon.d.ts +0 -8
- package/dist/editors/service-offering-editor/components/InfoIcon.d.ts.map +0 -1
- package/dist/editors/service-offering-editor/components/InfoIcon.js +0 -5
- package/dist/editors/service-offering-editor/components/MarkdownPreview.d.ts +0 -8
- package/dist/editors/service-offering-editor/components/MarkdownPreview.d.ts.map +0 -1
- package/dist/editors/service-offering-editor/components/MarkdownPreview.js +0 -47
- package/dist/editors/service-offering-editor/components/OfferingProgress.d.ts +0 -13
- package/dist/editors/service-offering-editor/components/OfferingProgress.d.ts.map +0 -1
- package/dist/editors/service-offering-editor/components/OfferingProgress.js +0 -228
- package/dist/editors/service-offering-editor/components/ResourceTemplateSelector.d.ts +0 -9
- package/dist/editors/service-offering-editor/components/ResourceTemplateSelector.d.ts.map +0 -1
- package/dist/editors/service-offering-editor/components/ResourceTemplateSelector.js +0 -485
- package/dist/editors/service-offering-editor/components/ServiceCatalog.d.ts +0 -9
- package/dist/editors/service-offering-editor/components/ServiceCatalog.d.ts.map +0 -1
- package/dist/editors/service-offering-editor/components/ServiceCatalog.js +0 -928
- package/dist/editors/service-offering-editor/components/TheMatrix.d.ts +0 -9
- package/dist/editors/service-offering-editor/components/TheMatrix.d.ts.map +0 -1
- package/dist/editors/service-offering-editor/components/TheMatrix.js +0 -1392
- package/dist/editors/service-offering-editor/components/TierDefinition.d.ts +0 -9
- package/dist/editors/service-offering-editor/components/TierDefinition.d.ts.map +0 -1
- package/dist/editors/service-offering-editor/components/TierDefinition.js +0 -230
- package/dist/editors/service-offering-editor/components/TierPricingOptionsPanel.d.ts +0 -11
- package/dist/editors/service-offering-editor/components/TierPricingOptionsPanel.d.ts.map +0 -1
- package/dist/editors/service-offering-editor/components/TierPricingOptionsPanel.js +0 -58
- package/dist/editors/service-offering-editor/components/pricing-utils.d.ts +0 -38
- package/dist/editors/service-offering-editor/components/pricing-utils.d.ts.map +0 -1
- package/dist/editors/service-offering-editor/components/pricing-utils.js +0 -140
- package/dist/editors/service-offering-editor/editor.css +0 -119
- package/dist/editors/service-offering-editor/editor.d.ts +0 -4
- package/dist/editors/service-offering-editor/editor.d.ts.map +0 -1
- package/dist/editors/service-offering-editor/editor.js +0 -79
- package/dist/editors/service-offering-editor/hooks/useRemoteResourceTemplates.d.ts +0 -17
- package/dist/editors/service-offering-editor/hooks/useRemoteResourceTemplates.d.ts.map +0 -1
- package/dist/editors/service-offering-editor/hooks/useRemoteResourceTemplates.js +0 -49
- package/dist/editors/service-offering-editor/hooks/useServiceOfferingDocument.d.ts +0 -13
- package/dist/editors/service-offering-editor/hooks/useServiceOfferingDocument.d.ts.map +0 -1
- package/dist/editors/service-offering-editor/hooks/useServiceOfferingDocument.js +0 -36
- package/dist/editors/service-offering-editor/module.d.ts +0 -4
- package/dist/editors/service-offering-editor/module.d.ts.map +0 -1
- package/dist/editors/service-offering-editor/module.js +0 -10
- package/dist/editors/service-offering-editor/utils/graphql-client.d.ts +0 -6
- package/dist/editors/service-offering-editor/utils/graphql-client.d.ts.map +0 -1
- package/dist/editors/service-offering-editor/utils/graphql-client.js +0 -5
- package/dist/editors/subscription-instance-editor/components/BillingPanel.d.ts +0 -11
- package/dist/editors/subscription-instance-editor/components/BillingPanel.d.ts.map +0 -1
- package/dist/editors/subscription-instance-editor/components/BillingPanel.js +0 -50
- package/dist/editors/subscription-instance-editor/components/CustomerInfo.d.ts +0 -11
- package/dist/editors/subscription-instance-editor/components/CustomerInfo.d.ts.map +0 -1
- package/dist/editors/subscription-instance-editor/components/CustomerInfo.js +0 -56
- package/dist/editors/subscription-instance-editor/components/ImportServiceConfigButton.d.ts +0 -17
- package/dist/editors/subscription-instance-editor/components/ImportServiceConfigButton.d.ts.map +0 -1
- package/dist/editors/subscription-instance-editor/components/ImportServiceConfigButton.js +0 -37
- package/dist/editors/subscription-instance-editor/components/MetricActions.d.ts +0 -21
- package/dist/editors/subscription-instance-editor/components/MetricActions.d.ts.map +0 -1
- package/dist/editors/subscription-instance-editor/components/MetricActions.js +0 -71
- package/dist/editors/subscription-instance-editor/components/MockDataButton.d.ts +0 -9
- package/dist/editors/subscription-instance-editor/components/MockDataButton.d.ts.map +0 -1
- package/dist/editors/subscription-instance-editor/components/MockDataButton.js +0 -254
- package/dist/editors/subscription-instance-editor/components/ModeToggle.d.ts +0 -8
- package/dist/editors/subscription-instance-editor/components/ModeToggle.d.ts.map +0 -1
- package/dist/editors/subscription-instance-editor/components/ModeToggle.js +0 -4
- package/dist/editors/subscription-instance-editor/components/OperatorNotes.d.ts +0 -9
- package/dist/editors/subscription-instance-editor/components/OperatorNotes.d.ts.map +0 -1
- package/dist/editors/subscription-instance-editor/components/OperatorNotes.js +0 -17
- package/dist/editors/subscription-instance-editor/components/ServicesPanel.d.ts +0 -11
- package/dist/editors/subscription-instance-editor/components/ServicesPanel.d.ts.map +0 -1
- package/dist/editors/subscription-instance-editor/components/ServicesPanel.js +0 -40
- package/dist/editors/subscription-instance-editor/components/StatusBadge.d.ts +0 -7
- package/dist/editors/subscription-instance-editor/components/StatusBadge.d.ts.map +0 -1
- package/dist/editors/subscription-instance-editor/components/StatusBadge.js +0 -26
- package/dist/editors/subscription-instance-editor/components/SubscriptionActions.d.ts +0 -11
- package/dist/editors/subscription-instance-editor/components/SubscriptionActions.d.ts.map +0 -1
- package/dist/editors/subscription-instance-editor/components/SubscriptionActions.js +0 -87
- package/dist/editors/subscription-instance-editor/components/SubscriptionHeader.d.ts +0 -11
- package/dist/editors/subscription-instance-editor/components/SubscriptionHeader.d.ts.map +0 -1
- package/dist/editors/subscription-instance-editor/components/SubscriptionHeader.js +0 -51
- package/dist/editors/subscription-instance-editor/components/billing-utils.d.ts +0 -61
- package/dist/editors/subscription-instance-editor/components/billing-utils.d.ts.map +0 -1
- package/dist/editors/subscription-instance-editor/components/billing-utils.js +0 -169
- package/dist/editors/subscription-instance-editor/components/mapOfferingToSubscription.d.ts +0 -32
- package/dist/editors/subscription-instance-editor/components/mapOfferingToSubscription.d.ts.map +0 -1
- package/dist/editors/subscription-instance-editor/components/mapOfferingToSubscription.js +0 -202
- package/dist/editors/subscription-instance-editor/editor.d.ts +0 -2
- package/dist/editors/subscription-instance-editor/editor.d.ts.map +0 -1
- package/dist/editors/subscription-instance-editor/editor.js +0 -2589
- package/dist/editors/subscription-instance-editor/module.d.ts +0 -4
- package/dist/editors/subscription-instance-editor/module.d.ts.map +0 -1
- package/dist/editors/subscription-instance-editor/module.js +0 -10
- package/dist/editors/subscription-instance-editor/types.d.ts +0 -3
- package/dist/editors/subscription-instance-editor/types.d.ts.map +0 -1
- package/dist/editors/subscription-instance-editor/types.js +0 -1
- package/dist/editors/utils/graphql-client.d.ts +0 -83
- package/dist/editors/utils/graphql-client.d.ts.map +0 -1
- package/dist/editors/utils/graphql-client.js +0 -197
- package/dist/index.d.ts +0 -7
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -6
- package/dist/powerhouse.manifest.json +0 -69
- package/dist/processors/factory.d.ts +0 -8
- package/dist/processors/factory.d.ts.map +0 -1
- package/dist/processors/factory.js +0 -39
- package/dist/processors/index.d.ts +0 -6
- package/dist/processors/index.d.ts.map +0 -1
- package/dist/processors/index.js +0 -5
- package/dist/style.css +0 -3562
- package/dist/subgraphs/index.d.ts +0 -2
- package/dist/subgraphs/index.d.ts.map +0 -1
- package/dist/subgraphs/index.js +0 -1
- package/dist/subgraphs/resources-services/index.d.ts +0 -11
- package/dist/subgraphs/resources-services/index.d.ts.map +0 -1
- package/dist/subgraphs/resources-services/index.js +0 -11
- package/dist/subgraphs/resources-services/resolvers.d.ts +0 -3
- package/dist/subgraphs/resources-services/resolvers.d.ts.map +0 -1
- package/dist/subgraphs/resources-services/resolvers.js +0 -732
- package/dist/subgraphs/resources-services/schema.d.ts +0 -3
- package/dist/subgraphs/resources-services/schema.d.ts.map +0 -1
- package/dist/subgraphs/resources-services/schema.js +0 -348
- package/dist/vite.config.d.ts +0 -3
- package/dist/vite.config.d.ts.map +0 -1
- package/dist/vite.config.js +0 -13
|
@@ -1,2217 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
-
import { useState, useEffect, useRef } from "react";
|
|
3
|
-
import { generateId } from "document-model/core";
|
|
4
|
-
import { updateTemplateInfo, updateTemplateStatus, setOperator, setWeight, addTargetAudience, removeTargetAudience, setSetupServices, setRecurringServices, addFaq, updateFaq, deleteFaq, reorderFaqs, addContentSection, updateContentSection, deleteContentSection, reorderContentSections, } from "../../../document-models/resource-template/v1/gen/creators.js";
|
|
5
|
-
import { MarkdownEditor } from "./markdown-editor.js";
|
|
6
|
-
const STATUS_OPTIONS = [
|
|
7
|
-
{ value: "DRAFT", label: "Draft", color: "slate" },
|
|
8
|
-
{ value: "COMING_SOON", label: "Coming Soon", color: "sky" },
|
|
9
|
-
{ value: "ACTIVE", label: "Active", color: "emerald" },
|
|
10
|
-
{ value: "DEPRECATED", label: "Deprecated", color: "rose" },
|
|
11
|
-
];
|
|
12
|
-
const AUDIENCE_PRESETS = [
|
|
13
|
-
{ label: "Builders", color: "#0ea5e9" },
|
|
14
|
-
{ label: "Networks", color: "#10b981" },
|
|
15
|
-
];
|
|
16
|
-
const SETUP_SERVICE_TEMPLATES = {
|
|
17
|
-
"Legal Services": [
|
|
18
|
-
{
|
|
19
|
-
title: "Swiss association entity",
|
|
20
|
-
description: "Legal entity formation as a Swiss association",
|
|
21
|
-
icon: "🏛️",
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
title: "Registered address (Zug)",
|
|
25
|
-
description: "Official registered address in Zug, Switzerland",
|
|
26
|
-
icon: "📍",
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
title: "Legal document templates",
|
|
30
|
-
description: "Access to standardized legal document templates",
|
|
31
|
-
icon: "📋",
|
|
32
|
-
},
|
|
33
|
-
],
|
|
34
|
-
};
|
|
35
|
-
const RECURRING_SERVICE_TEMPLATES = {
|
|
36
|
-
"Operations & Finance": [
|
|
37
|
-
{
|
|
38
|
-
title: "Invoice management",
|
|
39
|
-
description: "Professional invoice processing and management",
|
|
40
|
-
icon: "📄",
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
title: "Annual tax filing",
|
|
44
|
-
description: "Yearly tax preparation and filing services",
|
|
45
|
-
icon: "💰",
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
title: "Monthly accounting & close",
|
|
49
|
-
description: "Monthly bookkeeping and financial close",
|
|
50
|
-
icon: "📊",
|
|
51
|
-
},
|
|
52
|
-
],
|
|
53
|
-
"Contributor & Payments": [
|
|
54
|
-
{
|
|
55
|
-
title: "Contributor operations",
|
|
56
|
-
description: "Management of contributor payments and operations",
|
|
57
|
-
icon: "👥",
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
title: "Multi-currency payouts",
|
|
61
|
-
description: "Support for payments in multiple currencies",
|
|
62
|
-
icon: "💱",
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
title: "Multiple entities",
|
|
66
|
-
description: "Support for managing multiple legal entities",
|
|
67
|
-
icon: "🏢",
|
|
68
|
-
},
|
|
69
|
-
],
|
|
70
|
-
"Support & Advisory": [
|
|
71
|
-
{
|
|
72
|
-
title: "Dedicated ops support",
|
|
73
|
-
description: "Dedicated operations support team",
|
|
74
|
-
icon: "🎯",
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
title: "Dedicated account manager",
|
|
78
|
-
description: "Personal point of contact for all needs",
|
|
79
|
-
icon: "👤",
|
|
80
|
-
},
|
|
81
|
-
],
|
|
82
|
-
};
|
|
83
|
-
export function TemplateInfo({ document, dispatch }) {
|
|
84
|
-
const { state } = document;
|
|
85
|
-
const globalState = state.global;
|
|
86
|
-
const [formData, setFormData] = useState({
|
|
87
|
-
title: globalState.title || "",
|
|
88
|
-
subtitle: globalState.subtitle || "",
|
|
89
|
-
summary: globalState.summary || "",
|
|
90
|
-
description: globalState.description || "",
|
|
91
|
-
operatorId: globalState.operatorId || "",
|
|
92
|
-
thumbnailUrl: globalState.thumbnailUrl || "",
|
|
93
|
-
infoLink: globalState.infoLink || "",
|
|
94
|
-
status: globalState.status,
|
|
95
|
-
});
|
|
96
|
-
const [newSetupService, setNewSetupService] = useState("");
|
|
97
|
-
const [newRecurringService, setNewRecurringService] = useState("");
|
|
98
|
-
const [newAudienceLabel, setNewAudienceLabel] = useState("");
|
|
99
|
-
const [showAudienceInput, setShowAudienceInput] = useState(false);
|
|
100
|
-
const [showSetupTemplates, setShowSetupTemplates] = useState(false);
|
|
101
|
-
const [showRecurringTemplates, setShowRecurringTemplates] = useState(false);
|
|
102
|
-
const [newFaqQuestion, setNewFaqQuestion] = useState("");
|
|
103
|
-
const [newFaqAnswer, setNewFaqAnswer] = useState("");
|
|
104
|
-
const [editingFaqId, setEditingFaqId] = useState(null);
|
|
105
|
-
const [editingFaqQuestion, setEditingFaqQuestion] = useState("");
|
|
106
|
-
const [editingFaqAnswer, setEditingFaqAnswer] = useState("");
|
|
107
|
-
const [newSectionTitle, setNewSectionTitle] = useState("");
|
|
108
|
-
const [newSectionContent, setNewSectionContent] = useState("");
|
|
109
|
-
const [editingSectionId, setEditingSectionId] = useState(null);
|
|
110
|
-
const [editingSectionTitle, setEditingSectionTitle] = useState("");
|
|
111
|
-
const [editingSectionContent, setEditingSectionContent] = useState("");
|
|
112
|
-
const [expandedSections, setExpandedSections] = useState(new Set());
|
|
113
|
-
const setupServiceInputRef = useRef(null);
|
|
114
|
-
const recurringServiceInputRef = useRef(null);
|
|
115
|
-
useEffect(() => {
|
|
116
|
-
setFormData({
|
|
117
|
-
title: globalState.title || "",
|
|
118
|
-
subtitle: globalState.subtitle || "",
|
|
119
|
-
summary: globalState.summary || "",
|
|
120
|
-
description: globalState.description || "",
|
|
121
|
-
operatorId: globalState.operatorId || "",
|
|
122
|
-
thumbnailUrl: globalState.thumbnailUrl || "",
|
|
123
|
-
infoLink: globalState.infoLink || "",
|
|
124
|
-
status: globalState.status,
|
|
125
|
-
});
|
|
126
|
-
}, [
|
|
127
|
-
globalState.title,
|
|
128
|
-
globalState.subtitle,
|
|
129
|
-
globalState.summary,
|
|
130
|
-
globalState.description,
|
|
131
|
-
globalState.operatorId,
|
|
132
|
-
globalState.thumbnailUrl,
|
|
133
|
-
globalState.infoLink,
|
|
134
|
-
globalState.status,
|
|
135
|
-
]);
|
|
136
|
-
const handleFieldChange = (field, value) => {
|
|
137
|
-
setFormData((prev) => ({ ...prev, [field]: value }));
|
|
138
|
-
};
|
|
139
|
-
const handleInfoBlur = () => {
|
|
140
|
-
const changes = {};
|
|
141
|
-
let hasChanges = false;
|
|
142
|
-
if (formData.title !== globalState.title) {
|
|
143
|
-
changes.title = formData.title;
|
|
144
|
-
hasChanges = true;
|
|
145
|
-
}
|
|
146
|
-
if (formData.summary !== globalState.summary) {
|
|
147
|
-
changes.summary = formData.summary;
|
|
148
|
-
hasChanges = true;
|
|
149
|
-
}
|
|
150
|
-
if (formData.description !== (globalState.description || "")) {
|
|
151
|
-
changes.description = formData.description || null;
|
|
152
|
-
hasChanges = true;
|
|
153
|
-
}
|
|
154
|
-
if (formData.thumbnailUrl !== (globalState.thumbnailUrl || "")) {
|
|
155
|
-
changes.thumbnailUrl = formData.thumbnailUrl || null;
|
|
156
|
-
hasChanges = true;
|
|
157
|
-
}
|
|
158
|
-
if (formData.infoLink !== (globalState.infoLink || "")) {
|
|
159
|
-
changes.infoLink = formData.infoLink || null;
|
|
160
|
-
hasChanges = true;
|
|
161
|
-
}
|
|
162
|
-
if (formData.subtitle !== (globalState.subtitle || "")) {
|
|
163
|
-
changes.subtitle = formData.subtitle || null;
|
|
164
|
-
hasChanges = true;
|
|
165
|
-
}
|
|
166
|
-
if (hasChanges) {
|
|
167
|
-
dispatch(updateTemplateInfo({
|
|
168
|
-
...changes,
|
|
169
|
-
lastModified: new Date().toISOString(),
|
|
170
|
-
}));
|
|
171
|
-
}
|
|
172
|
-
};
|
|
173
|
-
const handleOperatorBlur = () => {
|
|
174
|
-
if (formData.operatorId !== globalState.operatorId) {
|
|
175
|
-
dispatch(setOperator({
|
|
176
|
-
operatorId: formData.operatorId,
|
|
177
|
-
lastModified: new Date().toISOString(),
|
|
178
|
-
}));
|
|
179
|
-
}
|
|
180
|
-
};
|
|
181
|
-
const handleStatusChange = (value) => {
|
|
182
|
-
const status = value;
|
|
183
|
-
setFormData((prev) => ({ ...prev, status }));
|
|
184
|
-
dispatch(updateTemplateStatus({
|
|
185
|
-
status,
|
|
186
|
-
lastModified: new Date().toISOString(),
|
|
187
|
-
}));
|
|
188
|
-
};
|
|
189
|
-
const handleAddAudience = (label, color) => {
|
|
190
|
-
if (!label.trim())
|
|
191
|
-
return;
|
|
192
|
-
dispatch(addTargetAudience({
|
|
193
|
-
id: generateId(),
|
|
194
|
-
label: label.trim(),
|
|
195
|
-
color: color || null,
|
|
196
|
-
lastModified: new Date().toISOString(),
|
|
197
|
-
}));
|
|
198
|
-
setNewAudienceLabel("");
|
|
199
|
-
setShowAudienceInput(false);
|
|
200
|
-
};
|
|
201
|
-
const handleRemoveAudience = (id) => {
|
|
202
|
-
dispatch(removeTargetAudience({
|
|
203
|
-
id,
|
|
204
|
-
lastModified: new Date().toISOString(),
|
|
205
|
-
}));
|
|
206
|
-
};
|
|
207
|
-
const handleAddSetupService = () => {
|
|
208
|
-
if (!newSetupService.trim())
|
|
209
|
-
return;
|
|
210
|
-
const updatedServices = [
|
|
211
|
-
...globalState.setupServices,
|
|
212
|
-
newSetupService.trim(),
|
|
213
|
-
];
|
|
214
|
-
dispatch(setSetupServices({
|
|
215
|
-
services: updatedServices,
|
|
216
|
-
lastModified: new Date().toISOString(),
|
|
217
|
-
}));
|
|
218
|
-
setNewSetupService("");
|
|
219
|
-
setupServiceInputRef.current?.focus();
|
|
220
|
-
};
|
|
221
|
-
const handleRemoveSetupService = (index) => {
|
|
222
|
-
const updatedServices = globalState.setupServices.filter((_, i) => i !== index);
|
|
223
|
-
dispatch(setSetupServices({
|
|
224
|
-
services: updatedServices,
|
|
225
|
-
lastModified: new Date().toISOString(),
|
|
226
|
-
}));
|
|
227
|
-
};
|
|
228
|
-
const handleAddRecurringService = () => {
|
|
229
|
-
if (!newRecurringService.trim())
|
|
230
|
-
return;
|
|
231
|
-
const updatedServices = [
|
|
232
|
-
...globalState.recurringServices,
|
|
233
|
-
newRecurringService.trim(),
|
|
234
|
-
];
|
|
235
|
-
dispatch(setRecurringServices({
|
|
236
|
-
services: updatedServices,
|
|
237
|
-
lastModified: new Date().toISOString(),
|
|
238
|
-
}));
|
|
239
|
-
setNewRecurringService("");
|
|
240
|
-
recurringServiceInputRef.current?.focus();
|
|
241
|
-
};
|
|
242
|
-
const handleRemoveRecurringService = (index) => {
|
|
243
|
-
const updatedServices = globalState.recurringServices.filter((_, i) => i !== index);
|
|
244
|
-
dispatch(setRecurringServices({
|
|
245
|
-
services: updatedServices,
|
|
246
|
-
lastModified: new Date().toISOString(),
|
|
247
|
-
}));
|
|
248
|
-
};
|
|
249
|
-
const handleAddSetupFromTemplate = (template) => {
|
|
250
|
-
if (globalState.setupServices.includes(template.title))
|
|
251
|
-
return;
|
|
252
|
-
const updatedServices = [...globalState.setupServices, template.title];
|
|
253
|
-
dispatch(setSetupServices({
|
|
254
|
-
services: updatedServices,
|
|
255
|
-
lastModified: new Date().toISOString(),
|
|
256
|
-
}));
|
|
257
|
-
};
|
|
258
|
-
const handleAddRecurringFromTemplate = (template) => {
|
|
259
|
-
if (globalState.recurringServices.includes(template.title))
|
|
260
|
-
return;
|
|
261
|
-
const updatedServices = [...globalState.recurringServices, template.title];
|
|
262
|
-
dispatch(setRecurringServices({
|
|
263
|
-
services: updatedServices,
|
|
264
|
-
lastModified: new Date().toISOString(),
|
|
265
|
-
}));
|
|
266
|
-
};
|
|
267
|
-
const handleMoveSetupService = (index, direction) => {
|
|
268
|
-
const newIndex = direction === "up" ? index - 1 : index + 1;
|
|
269
|
-
if (newIndex < 0 || newIndex >= globalState.setupServices.length)
|
|
270
|
-
return;
|
|
271
|
-
const reorderedServices = [...globalState.setupServices];
|
|
272
|
-
[reorderedServices[index], reorderedServices[newIndex]] = [
|
|
273
|
-
reorderedServices[newIndex],
|
|
274
|
-
reorderedServices[index],
|
|
275
|
-
];
|
|
276
|
-
dispatch(setSetupServices({
|
|
277
|
-
services: reorderedServices,
|
|
278
|
-
lastModified: new Date().toISOString(),
|
|
279
|
-
}));
|
|
280
|
-
};
|
|
281
|
-
const handleMoveRecurringService = (index, direction) => {
|
|
282
|
-
const newIndex = direction === "up" ? index - 1 : index + 1;
|
|
283
|
-
if (newIndex < 0 || newIndex >= globalState.recurringServices.length)
|
|
284
|
-
return;
|
|
285
|
-
const reorderedServices = [...globalState.recurringServices];
|
|
286
|
-
[reorderedServices[index], reorderedServices[newIndex]] = [
|
|
287
|
-
reorderedServices[newIndex],
|
|
288
|
-
reorderedServices[index],
|
|
289
|
-
];
|
|
290
|
-
dispatch(setRecurringServices({
|
|
291
|
-
services: reorderedServices,
|
|
292
|
-
lastModified: new Date().toISOString(),
|
|
293
|
-
}));
|
|
294
|
-
};
|
|
295
|
-
// FAQ Handlers
|
|
296
|
-
const faqFields = globalState.faqFields || [];
|
|
297
|
-
const sortedFaqs = [...faqFields].sort((a, b) => a.displayOrder - b.displayOrder);
|
|
298
|
-
const handleAddFaq = () => {
|
|
299
|
-
if (!newFaqQuestion.trim() || !newFaqAnswer.trim())
|
|
300
|
-
return;
|
|
301
|
-
dispatch(addFaq({
|
|
302
|
-
id: generateId(),
|
|
303
|
-
question: newFaqQuestion.trim(),
|
|
304
|
-
answer: newFaqAnswer.trim(),
|
|
305
|
-
displayOrder: faqFields.length,
|
|
306
|
-
}));
|
|
307
|
-
setNewFaqQuestion("");
|
|
308
|
-
setNewFaqAnswer("");
|
|
309
|
-
};
|
|
310
|
-
const handleMoveFaq = (index, direction) => {
|
|
311
|
-
const newIndex = direction === "up" ? index - 1 : index + 1;
|
|
312
|
-
if (newIndex < 0 || newIndex >= sortedFaqs.length)
|
|
313
|
-
return;
|
|
314
|
-
const reorderedIds = sortedFaqs.map((f) => f.id);
|
|
315
|
-
[reorderedIds[index], reorderedIds[newIndex]] = [
|
|
316
|
-
reorderedIds[newIndex],
|
|
317
|
-
reorderedIds[index],
|
|
318
|
-
];
|
|
319
|
-
dispatch(reorderFaqs({
|
|
320
|
-
faqIds: reorderedIds,
|
|
321
|
-
lastModified: new Date().toISOString(),
|
|
322
|
-
}));
|
|
323
|
-
};
|
|
324
|
-
const handleStartEditFaq = (faq) => {
|
|
325
|
-
setEditingFaqId(faq.id);
|
|
326
|
-
setEditingFaqQuestion(faq.question || "");
|
|
327
|
-
setEditingFaqAnswer(faq.answer || "");
|
|
328
|
-
};
|
|
329
|
-
const handleSaveFaqEdit = () => {
|
|
330
|
-
if (!editingFaqId || !editingFaqQuestion.trim() || !editingFaqAnswer.trim())
|
|
331
|
-
return;
|
|
332
|
-
dispatch(updateFaq({
|
|
333
|
-
id: editingFaqId,
|
|
334
|
-
question: editingFaqQuestion.trim(),
|
|
335
|
-
answer: editingFaqAnswer.trim(),
|
|
336
|
-
}));
|
|
337
|
-
setEditingFaqId(null);
|
|
338
|
-
setEditingFaqQuestion("");
|
|
339
|
-
setEditingFaqAnswer("");
|
|
340
|
-
};
|
|
341
|
-
const handleCancelFaqEdit = () => {
|
|
342
|
-
setEditingFaqId(null);
|
|
343
|
-
setEditingFaqQuestion("");
|
|
344
|
-
setEditingFaqAnswer("");
|
|
345
|
-
};
|
|
346
|
-
const handleDeleteFaq = (id) => {
|
|
347
|
-
dispatch(deleteFaq({
|
|
348
|
-
id,
|
|
349
|
-
}));
|
|
350
|
-
};
|
|
351
|
-
// Content Section Handlers
|
|
352
|
-
const contentSections = globalState.contentSections;
|
|
353
|
-
const sortedSections = [...contentSections].sort((a, b) => a.displayOrder - b.displayOrder);
|
|
354
|
-
const handleAddContentSection = () => {
|
|
355
|
-
if (!newSectionTitle.trim() || !newSectionContent.trim())
|
|
356
|
-
return;
|
|
357
|
-
dispatch(addContentSection({
|
|
358
|
-
id: generateId(),
|
|
359
|
-
title: newSectionTitle.trim(),
|
|
360
|
-
content: newSectionContent.trim(),
|
|
361
|
-
displayOrder: contentSections.length,
|
|
362
|
-
lastModified: new Date().toISOString(),
|
|
363
|
-
}));
|
|
364
|
-
setNewSectionTitle("");
|
|
365
|
-
setNewSectionContent("");
|
|
366
|
-
};
|
|
367
|
-
const handleStartEditSection = (section) => {
|
|
368
|
-
setEditingSectionId(section.id);
|
|
369
|
-
setEditingSectionTitle(section.title);
|
|
370
|
-
setEditingSectionContent(section.content);
|
|
371
|
-
};
|
|
372
|
-
const handleSaveSectionEdit = () => {
|
|
373
|
-
if (!editingSectionId ||
|
|
374
|
-
!editingSectionTitle.trim() ||
|
|
375
|
-
!editingSectionContent.trim())
|
|
376
|
-
return;
|
|
377
|
-
dispatch(updateContentSection({
|
|
378
|
-
id: editingSectionId,
|
|
379
|
-
title: editingSectionTitle.trim(),
|
|
380
|
-
content: editingSectionContent.trim(),
|
|
381
|
-
lastModified: new Date().toISOString(),
|
|
382
|
-
}));
|
|
383
|
-
setEditingSectionId(null);
|
|
384
|
-
setEditingSectionTitle("");
|
|
385
|
-
setEditingSectionContent("");
|
|
386
|
-
};
|
|
387
|
-
const handleCancelSectionEdit = () => {
|
|
388
|
-
setEditingSectionId(null);
|
|
389
|
-
setEditingSectionTitle("");
|
|
390
|
-
setEditingSectionContent("");
|
|
391
|
-
};
|
|
392
|
-
const handleDeleteContentSection = (id) => {
|
|
393
|
-
dispatch(deleteContentSection({
|
|
394
|
-
id,
|
|
395
|
-
lastModified: new Date().toISOString(),
|
|
396
|
-
}));
|
|
397
|
-
};
|
|
398
|
-
const handleMoveSection = (index, direction) => {
|
|
399
|
-
const newIndex = direction === "up" ? index - 1 : index + 1;
|
|
400
|
-
if (newIndex < 0 || newIndex >= sortedSections.length)
|
|
401
|
-
return;
|
|
402
|
-
const reorderedIds = sortedSections.map((s) => s.id);
|
|
403
|
-
[reorderedIds[index], reorderedIds[newIndex]] = [
|
|
404
|
-
reorderedIds[newIndex],
|
|
405
|
-
reorderedIds[index],
|
|
406
|
-
];
|
|
407
|
-
dispatch(reorderContentSections({
|
|
408
|
-
sectionIds: reorderedIds,
|
|
409
|
-
lastModified: new Date().toISOString(),
|
|
410
|
-
}));
|
|
411
|
-
};
|
|
412
|
-
const toggleSectionExpanded = (id) => {
|
|
413
|
-
setExpandedSections((prev) => {
|
|
414
|
-
const next = new Set(prev);
|
|
415
|
-
if (next.has(id)) {
|
|
416
|
-
next.delete(id);
|
|
417
|
-
}
|
|
418
|
-
else {
|
|
419
|
-
next.add(id);
|
|
420
|
-
}
|
|
421
|
-
return next;
|
|
422
|
-
});
|
|
423
|
-
};
|
|
424
|
-
const currentStatus = STATUS_OPTIONS.find((s) => s.value === formData.status);
|
|
425
|
-
const availablePresets = AUDIENCE_PRESETS.filter((preset) => !globalState.targetAudiences.some((a) => a.label === preset.label));
|
|
426
|
-
return (_jsxs(_Fragment, { children: [_jsx("style", { children: styles }), _jsxs("div", { className: "template-editor", children: [_jsxs("section", { className: "template-editor__hero", children: [_jsxs("div", { className: "template-editor__thumbnail-area", children: [_jsxs("div", { className: "template-editor__thumbnail", style: {
|
|
427
|
-
backgroundImage: formData.thumbnailUrl
|
|
428
|
-
? `url(${formData.thumbnailUrl})`
|
|
429
|
-
: undefined,
|
|
430
|
-
}, children: [!formData.thumbnailUrl && (_jsxs("div", { className: "template-editor__thumbnail-placeholder", children: [_jsxs("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", children: [_jsx("rect", { x: "3", y: "3", width: "18", height: "18", rx: "2" }), _jsx("circle", { cx: "8.5", cy: "8.5", r: "1.5" }), _jsx("path", { d: "M21 15l-5-5L5 21" })] }), _jsx("span", { children: "Add Thumbnail" })] })), formData.thumbnailUrl && (_jsx("div", { className: `template-editor__status-badge template-editor__status-badge--${currentStatus?.color}`, children: currentStatus?.label }))] }), _jsx("div", { className: "template-editor__thumbnail-input", children: _jsx("input", { type: "text", value: formData.thumbnailUrl, onChange: (e) => handleFieldChange("thumbnailUrl", e.target.value), onBlur: handleInfoBlur, placeholder: "https://example.com/image.jpg", className: "template-editor__input template-editor__input--sm" }) })] }), _jsxs("div", { className: "template-editor__identity", children: [_jsxs("div", { className: "template-editor__title-row", children: [_jsx("input", { type: "text", value: formData.title, onChange: (e) => handleFieldChange("title", e.target.value), onBlur: handleInfoBlur, className: "template-editor__title-input", placeholder: "Product Title" }), _jsxs("div", { className: "template-editor__status-select", children: [_jsx("select", { value: formData.status, onChange: (e) => handleStatusChange(e.target.value), className: "template-editor__select", "data-status": currentStatus?.color, children: STATUS_OPTIONS.map((option) => (_jsx("option", { value: option.value, children: option.label }, option.value))) }), _jsx("span", { className: `template-editor__status-indicator template-editor__status-indicator--${currentStatus?.color}` })] })] }), _jsx("input", { type: "text", value: formData.subtitle, onChange: (e) => handleFieldChange("subtitle", e.target.value), onBlur: handleInfoBlur, className: "template-editor__title-input", placeholder: "Subtitle / Tagline", style: {
|
|
431
|
-
fontSize: "0.95rem",
|
|
432
|
-
fontWeight: 400,
|
|
433
|
-
color: "var(--rt-slate-600, #475569)",
|
|
434
|
-
marginTop: "-4px",
|
|
435
|
-
} }), _jsxs("div", { className: "template-editor__audiences", children: [globalState.targetAudiences.map((audience) => (_jsxs("span", { className: "template-editor__audience-tag", style: audience.color
|
|
436
|
-
? {
|
|
437
|
-
backgroundColor: `${audience.color}15`,
|
|
438
|
-
borderColor: `${audience.color}40`,
|
|
439
|
-
color: audience.color,
|
|
440
|
-
}
|
|
441
|
-
: undefined, children: [audience.label, _jsx("button", { type: "button", onClick: () => handleRemoveAudience(audience.id), className: "template-editor__audience-remove", children: _jsx("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", children: _jsx("path", { d: "M18 6L6 18M6 6l12 12", strokeWidth: "2" }) }) })] }, audience.id))), showAudienceInput ? (_jsxs("div", { className: "template-editor__audience-input-wrap", children: [_jsx("input", { type: "text", value: newAudienceLabel, onChange: (e) => setNewAudienceLabel(e.target.value), onKeyDown: (e) => {
|
|
442
|
-
if (e.key === "Enter")
|
|
443
|
-
handleAddAudience(newAudienceLabel);
|
|
444
|
-
if (e.key === "Escape")
|
|
445
|
-
setShowAudienceInput(false);
|
|
446
|
-
}, placeholder: "Audience name...", className: "template-editor__audience-input", autoFocus: true }), _jsx("button", { type: "button", onClick: () => handleAddAudience(newAudienceLabel), className: "template-editor__audience-add-btn", children: "Add" })] })) : (_jsxs("button", { type: "button", onClick: () => setShowAudienceInput(true), className: "template-editor__add-audience-btn", children: [_jsx("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", children: _jsx("path", { d: "M12 5v14M5 12h14", strokeWidth: "2" }) }), "Add Audience"] }))] }), availablePresets.length > 0 && (_jsxs("div", { className: "template-editor__audience-presets", children: [_jsx("span", { className: "template-editor__presets-label", children: "Quick add:" }), availablePresets.slice(0, 4).map((preset) => (_jsx("button", { type: "button", onClick: () => handleAddAudience(preset.label, preset.color), className: "template-editor__preset-btn", style: { color: preset.color }, children: preset.label }, preset.label)))] })), _jsx("textarea", { value: formData.summary, onChange: (e) => handleFieldChange("summary", e.target.value), onBlur: handleInfoBlur, className: "template-editor__summary", placeholder: "Brief summary of your product...", rows: 2 }), _jsxs("div", { style: {
|
|
447
|
-
display: "flex",
|
|
448
|
-
alignItems: "center",
|
|
449
|
-
gap: "8px",
|
|
450
|
-
marginTop: "8px",
|
|
451
|
-
}, children: [_jsx("label", { style: {
|
|
452
|
-
fontSize: "0.75rem",
|
|
453
|
-
fontWeight: 600,
|
|
454
|
-
textTransform: "uppercase",
|
|
455
|
-
letterSpacing: "0.05em",
|
|
456
|
-
color: "var(--rt-slate-500, #64748b)",
|
|
457
|
-
whiteSpace: "nowrap",
|
|
458
|
-
}, children: "Sort Weight" }), _jsx("input", { type: "number", value: globalState.weight ?? "", onChange: (e) => {
|
|
459
|
-
const val = e.target.value === "" ? null : parseInt(e.target.value, 10);
|
|
460
|
-
dispatch(setWeight({
|
|
461
|
-
weight: Number.isNaN(val) ? null : val,
|
|
462
|
-
lastModified: new Date().toISOString(),
|
|
463
|
-
}));
|
|
464
|
-
}, placeholder: "\u2014", style: {
|
|
465
|
-
width: "72px",
|
|
466
|
-
padding: "4px 8px",
|
|
467
|
-
fontSize: "0.8125rem",
|
|
468
|
-
border: "1px solid var(--rt-slate-200, #e2e8f0)",
|
|
469
|
-
borderRadius: "6px",
|
|
470
|
-
outline: "none",
|
|
471
|
-
textAlign: "center",
|
|
472
|
-
fontFamily: "var(--rt-font-mono, monospace)",
|
|
473
|
-
} }), _jsx("span", { style: {
|
|
474
|
-
fontSize: "0.6875rem",
|
|
475
|
-
color: "var(--rt-slate-400, #94a3b8)",
|
|
476
|
-
}, children: "Lower = higher priority" })] })] })] }), _jsxs("section", { className: "template-editor__card template-editor__card--full", children: [_jsxs("div", { className: "template-editor__card-header", children: [_jsx("div", { className: "template-editor__card-icon template-editor__card-icon--violet", children: _jsx("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.75", children: _jsx("path", { d: "M4 6h16M4 12h16M4 18h10" }) }) }), _jsxs("div", { children: [_jsx("h3", { className: "template-editor__card-title", children: "Description" }), _jsx("p", { className: "template-editor__card-subtitle", children: "Detailed description of your product" })] })] }), _jsx(MarkdownEditor, { label: "", height: 350, value: formData.description, onChange: (value) => handleFieldChange("description", value), onBlur: handleInfoBlur })] }), _jsxs("section", { className: "template-editor__card template-editor__card--full", children: [_jsxs("div", { className: "template-editor__card-header", children: [_jsx("div", { className: "template-editor__card-icon template-editor__card-icon--indigo", children: _jsx("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.75", children: _jsx("path", { d: "M4 6h16M4 10h16M4 14h10M4 18h6" }) }) }), _jsxs("div", { children: [_jsx("h3", { className: "template-editor__card-title", children: "Expandable Content Sections" }), _jsx("p", { className: "template-editor__card-subtitle", children: "Add long-form article content with expandable titles" })] })] }), _jsx("div", { className: "template-editor__sections-list", children: sortedSections.map((section, index) => (_jsx("div", { className: `template-editor__section-item ${editingSectionId === section.id ? "template-editor__section-item--editing" : ""}`, children: editingSectionId === section.id ? (_jsxs("div", { className: "template-editor__section-edit-form", children: [_jsx("input", { type: "text", value: editingSectionTitle, onChange: (e) => setEditingSectionTitle(e.target.value), className: "template-editor__section-edit-title", placeholder: "Section title", autoFocus: true }), _jsx("textarea", { value: editingSectionContent, onChange: (e) => setEditingSectionContent(e.target.value), className: "template-editor__section-edit-content", placeholder: "Section content...", rows: 6 }), _jsxs("div", { className: "template-editor__section-edit-actions", children: [_jsx("button", { type: "button", onClick: handleSaveSectionEdit, className: "template-editor__section-save-btn", children: "Save" }), _jsx("button", { type: "button", onClick: handleCancelSectionEdit, className: "template-editor__section-cancel-btn", children: "Cancel" })] })] })) : (_jsxs(_Fragment, { children: [_jsxs("div", { className: "template-editor__section-reorder", children: [_jsx("button", { type: "button", onClick: () => handleMoveSection(index, "up"), className: "template-editor__section-reorder-btn", disabled: index === 0, title: "Move up", children: _jsx("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: _jsx("path", { d: "M18 15l-6-6-6 6" }) }) }), _jsx("button", { type: "button", onClick: () => handleMoveSection(index, "down"), className: "template-editor__section-reorder-btn", disabled: index === sortedSections.length - 1, title: "Move down", children: _jsx("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: _jsx("path", { d: "M6 9l6 6 6-6" }) }) })] }), _jsx("button", { type: "button", onClick: () => toggleSectionExpanded(section.id), className: "template-editor__section-toggle", children: _jsx("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", className: `template-editor__section-chevron ${expandedSections.has(section.id) ? "template-editor__section-chevron--expanded" : ""}`, children: _jsx("path", { d: "M6 9l6 6 6-6" }) }) }), _jsxs("div", { className: "template-editor__section-main", children: [_jsxs("div", { className: "template-editor__section-header", onClick: () => toggleSectionExpanded(section.id), children: [_jsx("span", { className: "template-editor__section-title", children: section.title }), _jsx("span", { className: "template-editor__section-preview", children: section.content.length > 80
|
|
477
|
-
? `${section.content.substring(0, 80)}...`
|
|
478
|
-
: section.content })] }), expandedSections.has(section.id) && (_jsx("div", { className: "template-editor__section-content", children: section.content }))] }), _jsxs("div", { className: "template-editor__section-actions", children: [_jsx("button", { type: "button", onClick: () => handleStartEditSection(section), className: "template-editor__section-action-btn", title: "Edit section", children: _jsxs("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: [_jsx("path", { d: "M11 4H4a2 2 0 00-2 2v14a2 2 0 002 2h14a2 2 0 002-2v-7" }), _jsx("path", { d: "M18.5 2.5a2.121 2.121 0 013 3L12 15l-4 1 1-4 9.5-9.5z" })] }) }), _jsx("button", { type: "button", onClick: () => handleDeleteContentSection(section.id), className: "template-editor__section-action-btn template-editor__section-action-btn--delete", title: "Delete section", children: _jsx("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: _jsx("path", { d: "M3 6h18M19 6v14a2 2 0 01-2 2H7a2 2 0 01-2-2V6M8 6V4a2 2 0 012-2h4a2 2 0 012 2v2" }) }) })] })] })) }, section.id))) }), _jsxs("div", { className: "template-editor__section-add-form", children: [_jsx("input", { type: "text", value: newSectionTitle, onChange: (e) => setNewSectionTitle(e.target.value), placeholder: "New section title...", className: "template-editor__section-new-title" }), _jsx("textarea", { value: newSectionContent, onChange: (e) => setNewSectionContent(e.target.value), placeholder: "Section content (long-form article content)...", className: "template-editor__section-new-content", rows: 4 }), (newSectionTitle || newSectionContent) && (_jsxs("button", { type: "button", onClick: handleAddContentSection, className: "template-editor__section-add-btn", disabled: !newSectionTitle.trim() || !newSectionContent.trim(), children: [_jsx("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", children: _jsx("path", { d: "M12 5v14M5 12h14", strokeWidth: "2" }) }), "Add Section"] }))] })] }), _jsxs("section", { className: "template-editor__card template-editor__card--full", children: [_jsxs("div", { className: "template-editor__card-header", children: [_jsx("div", { className: "template-editor__card-icon template-editor__card-icon--sky", children: _jsxs("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.75", children: [_jsx("circle", { cx: "12", cy: "12", r: "10" }), _jsx("path", { d: "M9.09 9a3 3 0 015.83 1c0 2-3 3-3 3" }), _jsx("path", { d: "M12 17h.01" })] }) }), _jsxs("div", { children: [_jsx("h3", { className: "template-editor__card-title", children: "Frequently Asked Questions" }), _jsx("p", { className: "template-editor__card-subtitle", children: "Common questions and answers about this product" })] })] }), _jsx("div", { className: "template-editor__faq-list", children: sortedFaqs.map((faq, index) => (_jsx("div", { className: `template-editor__faq-item ${editingFaqId === faq.id ? "template-editor__faq-item--editing" : ""}`, children: editingFaqId === faq.id ? (_jsxs("div", { className: "template-editor__faq-edit-form", children: [_jsx("input", { type: "text", value: editingFaqQuestion, onChange: (e) => setEditingFaqQuestion(e.target.value), className: "template-editor__faq-edit-question", placeholder: "Question", autoFocus: true }), _jsx("textarea", { value: editingFaqAnswer, onChange: (e) => setEditingFaqAnswer(e.target.value), className: "template-editor__faq-edit-answer", placeholder: "Answer", rows: 3 }), _jsxs("div", { className: "template-editor__faq-edit-actions", children: [_jsx("button", { type: "button", onClick: handleSaveFaqEdit, className: "template-editor__faq-save-btn", children: "Save" }), _jsx("button", { type: "button", onClick: handleCancelFaqEdit, className: "template-editor__faq-cancel-btn", children: "Cancel" })] })] })) : (_jsxs(_Fragment, { children: [_jsxs("div", { className: "template-editor__faq-reorder", children: [_jsx("button", { type: "button", onClick: () => handleMoveFaq(index, "up"), className: "template-editor__faq-reorder-btn", disabled: index === 0, title: "Move up", children: _jsx("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: _jsx("path", { d: "M18 15l-6-6-6 6" }) }) }), _jsx("button", { type: "button", onClick: () => handleMoveFaq(index, "down"), className: "template-editor__faq-reorder-btn", disabled: index === sortedFaqs.length - 1, title: "Move down", children: _jsx("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: _jsx("path", { d: "M6 9l6 6 6-6" }) }) })] }), _jsx("div", { className: "template-editor__faq-number", children: index + 1 }), _jsxs("div", { className: "template-editor__faq-content", children: [_jsx("div", { className: "template-editor__faq-question", children: faq.question }), _jsx("div", { className: "template-editor__faq-answer", children: faq.answer })] }), _jsxs("div", { className: "template-editor__faq-actions", children: [_jsx("button", { type: "button", onClick: () => handleStartEditFaq(faq), className: "template-editor__faq-action-btn", title: "Edit FAQ", children: _jsxs("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: [_jsx("path", { d: "M11 4H4a2 2 0 00-2 2v14a2 2 0 002 2h14a2 2 0 002-2v-7" }), _jsx("path", { d: "M18.5 2.5a2.121 2.121 0 013 3L12 15l-4 1 1-4 9.5-9.5z" })] }) }), _jsx("button", { type: "button", onClick: () => handleDeleteFaq(faq.id), className: "template-editor__faq-action-btn template-editor__faq-action-btn--delete", title: "Delete FAQ", children: _jsx("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: _jsx("path", { d: "M3 6h18M19 6v14a2 2 0 01-2 2H7a2 2 0 01-2-2V6M8 6V4a2 2 0 012-2h4a2 2 0 012 2v2" }) }) })] })] })) }, faq.id))) }), _jsxs("div", { className: "template-editor__faq-add-form", children: [_jsx("input", { type: "text", value: newFaqQuestion, onChange: (e) => setNewFaqQuestion(e.target.value), placeholder: "New question...", className: "template-editor__faq-new-question" }), _jsx("textarea", { value: newFaqAnswer, onChange: (e) => setNewFaqAnswer(e.target.value), placeholder: "Answer to the question...", className: "template-editor__faq-new-answer", rows: 2 }), (newFaqQuestion || newFaqAnswer) && (_jsxs("button", { type: "button", onClick: handleAddFaq, className: "template-editor__faq-add-btn", disabled: !newFaqQuestion.trim() || !newFaqAnswer.trim(), children: [_jsx("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", children: _jsx("path", { d: "M12 5v14M5 12h14", strokeWidth: "2" }) }), "Add FAQ"] }))] })] }), _jsxs("div", { className: "template-editor__section-divider", children: [_jsxs("div", { className: "template-editor__section-badge", children: [_jsxs("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: [_jsx("path", { d: "M12 2L2 7l10 5 10-5-10-5z" }), _jsx("path", { d: "M2 17l10 5 10-5" }), _jsx("path", { d: "M2 12l10 5 10-5" })] }), "Services Information"] }), _jsx("div", { className: "template-editor__section-divider-line" })] }), _jsxs("div", { className: "template-editor__grid", children: [_jsxs("section", { className: "template-editor__card", children: [_jsxs("div", { className: "template-editor__card-header", children: [_jsx("div", { className: "template-editor__card-icon template-editor__card-icon--emerald", children: _jsxs("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.75", children: [_jsx("path", { d: "M12 2L2 7l10 5 10-5-10-5z" }), _jsx("path", { d: "M2 17l10 5 10-5" }), _jsx("path", { d: "M2 12l10 5 10-5" })] }) }), _jsxs("div", { children: [_jsx("h3", { className: "template-editor__card-title", children: "Formation & Setup" }), _jsx("p", { className: "template-editor__card-subtitle", children: "One-time setup services" })] }), _jsxs("button", { type: "button", onClick: () => setShowSetupTemplates(!showSetupTemplates), className: `template-editor__templates-toggle ${showSetupTemplates ? "template-editor__templates-toggle--active" : ""}`, children: [_jsx("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: _jsx("path", { d: "M4 4h6v6H4zM14 4h6v6h-6zM4 14h6v6H4zM14 14h6v6h-6z" }) }), "Templates"] })] }), showSetupTemplates && (_jsx("div", { className: "template-editor__templates-panel", children: Object.entries(SETUP_SERVICE_TEMPLATES).map(([category, templates]) => (_jsxs("div", { className: "template-editor__template-category", children: [_jsx("span", { className: "template-editor__template-category-label", children: category }), _jsx("div", { className: "template-editor__template-items", children: templates.map((template) => {
|
|
479
|
-
const isAdded = globalState.setupServices.includes(template.title);
|
|
480
|
-
return (_jsxs("button", { type: "button", onClick: () => handleAddSetupFromTemplate(template), disabled: isAdded, className: `template-editor__template-item ${isAdded ? "template-editor__template-item--added" : ""}`, title: template.description, children: [_jsx("span", { className: "template-editor__template-icon", children: template.icon }), _jsx("span", { className: "template-editor__template-title", children: template.title }), isAdded && (_jsx("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.5", className: "template-editor__template-check", children: _jsx("path", { d: "M5 12l5 5L20 7" }) }))] }, template.title));
|
|
481
|
-
}) })] }, category))) })), _jsxs("div", { className: "template-editor__services", children: [globalState.setupServices.map((service, index) => (_jsxs("div", { className: "template-editor__service", children: [_jsxs("div", { className: "template-editor__service-reorder", children: [_jsx("button", { type: "button", onClick: () => handleMoveSetupService(index, "up"), className: "template-editor__service-reorder-btn", disabled: index === 0, title: "Move up", children: _jsx("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: _jsx("path", { d: "M18 15l-6-6-6 6" }) }) }), _jsx("button", { type: "button", onClick: () => handleMoveSetupService(index, "down"), className: "template-editor__service-reorder-btn", disabled: index === globalState.setupServices.length - 1, title: "Move down", children: _jsx("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: _jsx("path", { d: "M6 9l6 6 6-6" }) }) })] }), _jsx("span", { className: "template-editor__service-bullet" }), _jsx("span", { className: "template-editor__service-text", children: service }), _jsx("button", { type: "button", onClick: () => handleRemoveSetupService(index), className: "template-editor__service-remove", children: _jsx("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", children: _jsx("path", { d: "M18 6L6 18M6 6l12 12", strokeWidth: "2" }) }) })] }, index))), _jsxs("div", { className: "template-editor__add-service", children: [_jsx("span", { className: "template-editor__service-bullet template-editor__service-bullet--ghost" }), _jsx("input", { ref: setupServiceInputRef, type: "text", value: newSetupService, onChange: (e) => setNewSetupService(e.target.value), onKeyDown: (e) => {
|
|
482
|
-
if (e.key === "Enter")
|
|
483
|
-
handleAddSetupService();
|
|
484
|
-
}, placeholder: "Add a setup service...", className: "template-editor__service-new-input" }), newSetupService && (_jsx("button", { type: "button", onClick: handleAddSetupService, className: "template-editor__service-add-btn", children: _jsx("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", children: _jsx("path", { d: "M12 5v14M5 12h14", strokeWidth: "2" }) }) }))] })] })] }), _jsxs("section", { className: "template-editor__card", children: [_jsxs("div", { className: "template-editor__card-header", children: [_jsx("div", { className: "template-editor__card-icon template-editor__card-icon--amber", children: _jsxs("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.75", children: [_jsx("path", { d: "M12 8v4l3 3" }), _jsx("circle", { cx: "12", cy: "12", r: "9" })] }) }), _jsxs("div", { children: [_jsx("h3", { className: "template-editor__card-title", children: "Recurring Services" }), _jsx("p", { className: "template-editor__card-subtitle", children: "Ongoing services included" })] }), _jsxs("button", { type: "button", onClick: () => setShowRecurringTemplates(!showRecurringTemplates), className: `template-editor__templates-toggle template-editor__templates-toggle--amber ${showRecurringTemplates ? "template-editor__templates-toggle--active" : ""}`, children: [_jsx("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: _jsx("path", { d: "M4 4h6v6H4zM14 4h6v6h-6zM4 14h6v6H4zM14 14h6v6h-6z" }) }), "Templates"] })] }), showRecurringTemplates && (_jsx("div", { className: "template-editor__templates-panel template-editor__templates-panel--amber", children: Object.entries(RECURRING_SERVICE_TEMPLATES).map(([category, templates]) => (_jsxs("div", { className: "template-editor__template-category", children: [_jsx("span", { className: "template-editor__template-category-label", children: category }), _jsx("div", { className: "template-editor__template-items", children: templates.map((template) => {
|
|
485
|
-
const isAdded = globalState.recurringServices.includes(template.title);
|
|
486
|
-
return (_jsxs("button", { type: "button", onClick: () => handleAddRecurringFromTemplate(template), disabled: isAdded, className: `template-editor__template-item template-editor__template-item--amber ${isAdded ? "template-editor__template-item--added" : ""}`, title: template.description, children: [_jsx("span", { className: "template-editor__template-icon", children: template.icon }), _jsx("span", { className: "template-editor__template-title", children: template.title }), isAdded && (_jsx("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.5", className: "template-editor__template-check", children: _jsx("path", { d: "M5 12l5 5L20 7" }) }))] }, template.title));
|
|
487
|
-
}) })] }, category))) })), _jsxs("div", { className: "template-editor__services", children: [globalState.recurringServices.map((service, index) => (_jsxs("div", { className: "template-editor__service", children: [_jsxs("div", { className: "template-editor__service-reorder", children: [_jsx("button", { type: "button", onClick: () => handleMoveRecurringService(index, "up"), className: "template-editor__service-reorder-btn", disabled: index === 0, title: "Move up", children: _jsx("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: _jsx("path", { d: "M18 15l-6-6-6 6" }) }) }), _jsx("button", { type: "button", onClick: () => handleMoveRecurringService(index, "down"), className: "template-editor__service-reorder-btn", disabled: index === globalState.recurringServices.length - 1, title: "Move down", children: _jsx("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", children: _jsx("path", { d: "M6 9l6 6 6-6" }) }) })] }), _jsx("span", { className: "template-editor__service-bullet template-editor__service-bullet--recurring" }), _jsx("span", { className: "template-editor__service-text", children: service }), _jsx("button", { type: "button", onClick: () => handleRemoveRecurringService(index), className: "template-editor__service-remove", children: _jsx("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", children: _jsx("path", { d: "M18 6L6 18M6 6l12 12", strokeWidth: "2" }) }) })] }, index))), _jsxs("div", { className: "template-editor__add-service", children: [_jsx("span", { className: "template-editor__service-bullet template-editor__service-bullet--ghost" }), _jsx("input", { ref: recurringServiceInputRef, type: "text", value: newRecurringService, onChange: (e) => setNewRecurringService(e.target.value), onKeyDown: (e) => {
|
|
488
|
-
if (e.key === "Enter")
|
|
489
|
-
handleAddRecurringService();
|
|
490
|
-
}, placeholder: "Add a recurring service...", className: "template-editor__service-new-input" }), newRecurringService && (_jsx("button", { type: "button", onClick: handleAddRecurringService, className: "template-editor__service-add-btn", children: _jsx("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", children: _jsx("path", { d: "M12 5v14M5 12h14", strokeWidth: "2" }) }) }))] })] })] })] }), _jsxs("section", { className: "template-editor__metadata", children: [_jsxs("div", { className: "template-editor__meta-field", children: [_jsx("label", { className: "template-editor__label", children: "Operator ID" }), _jsx("input", { type: "text", value: formData.operatorId, onChange: (e) => handleFieldChange("operatorId", e.target.value), onBlur: handleOperatorBlur, className: "template-editor__input template-editor__input--mono", placeholder: "operator-123" })] }), _jsxs("div", { className: "template-editor__meta-field", children: [_jsx("label", { className: "template-editor__label", children: "More Info Link" }), _jsx("input", { type: "text", value: formData.infoLink, onChange: (e) => handleFieldChange("infoLink", e.target.value), onBlur: handleInfoBlur, className: "template-editor__input", placeholder: "https://example.com/more-info" })] })] })] })] }));
|
|
491
|
-
}
|
|
492
|
-
const styles = `
|
|
493
|
-
@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600;700&display=swap');
|
|
494
|
-
|
|
495
|
-
.template-editor {
|
|
496
|
-
--te-font: 'Instrument Sans', system-ui, sans-serif;
|
|
497
|
-
--te-mono: 'DM Mono', 'SF Mono', monospace;
|
|
498
|
-
|
|
499
|
-
--te-ink: #1a1f36;
|
|
500
|
-
--te-ink-light: #4a5578;
|
|
501
|
-
--te-ink-muted: #8792a8;
|
|
502
|
-
--te-surface: #ffffff;
|
|
503
|
-
--te-surface-raised: #fafbfc;
|
|
504
|
-
--te-border: #e4e8f0;
|
|
505
|
-
--te-border-light: #f0f2f7;
|
|
506
|
-
|
|
507
|
-
--te-violet: #7c5cff;
|
|
508
|
-
--te-violet-light: #f4f1ff;
|
|
509
|
-
--te-amber: #f59e0b;
|
|
510
|
-
--te-amber-light: #fef7e6;
|
|
511
|
-
--te-emerald: #10b981;
|
|
512
|
-
--te-emerald-light: #e8faf3;
|
|
513
|
-
--te-sky: #0ea5e9;
|
|
514
|
-
--te-sky-light: #e8f7fc;
|
|
515
|
-
--te-rose: #f43f5e;
|
|
516
|
-
--te-rose-light: #fef1f3;
|
|
517
|
-
--te-slate: #64748b;
|
|
518
|
-
--te-slate-light: #f1f5f9;
|
|
519
|
-
--te-teal: #14b8a6;
|
|
520
|
-
--te-teal-light: #ccfbf1;
|
|
521
|
-
|
|
522
|
-
font-family: var(--te-font);
|
|
523
|
-
display: flex;
|
|
524
|
-
flex-direction: column;
|
|
525
|
-
gap: 24px;
|
|
526
|
-
}
|
|
527
|
-
|
|
528
|
-
/* Hero Section */
|
|
529
|
-
.template-editor__hero {
|
|
530
|
-
display: grid;
|
|
531
|
-
grid-template-columns: 160px 1fr;
|
|
532
|
-
gap: 28px;
|
|
533
|
-
background: var(--te-surface);
|
|
534
|
-
border-radius: 16px;
|
|
535
|
-
padding: 24px;
|
|
536
|
-
box-shadow: 0 1px 3px rgba(26, 31, 54, 0.04), 0 4px 16px rgba(26, 31, 54, 0.06);
|
|
537
|
-
border-left: 4px solid var(--te-teal);
|
|
538
|
-
}
|
|
539
|
-
|
|
540
|
-
.template-editor__thumbnail-area {
|
|
541
|
-
display: flex;
|
|
542
|
-
flex-direction: column;
|
|
543
|
-
gap: 12px;
|
|
544
|
-
}
|
|
545
|
-
|
|
546
|
-
.template-editor__thumbnail {
|
|
547
|
-
width: 160px;
|
|
548
|
-
height: 120px;
|
|
549
|
-
border-radius: 12px;
|
|
550
|
-
background: linear-gradient(135deg, var(--te-border-light) 0%, var(--te-border) 100%);
|
|
551
|
-
background-size: cover;
|
|
552
|
-
background-position: center;
|
|
553
|
-
position: relative;
|
|
554
|
-
overflow: hidden;
|
|
555
|
-
transition: transform 0.2s ease;
|
|
556
|
-
}
|
|
557
|
-
|
|
558
|
-
.template-editor__thumbnail:hover {
|
|
559
|
-
transform: scale(1.02);
|
|
560
|
-
}
|
|
561
|
-
|
|
562
|
-
.template-editor__thumbnail-placeholder {
|
|
563
|
-
position: absolute;
|
|
564
|
-
inset: 0;
|
|
565
|
-
display: flex;
|
|
566
|
-
flex-direction: column;
|
|
567
|
-
align-items: center;
|
|
568
|
-
justify-content: center;
|
|
569
|
-
gap: 8px;
|
|
570
|
-
color: var(--te-ink-muted);
|
|
571
|
-
font-size: 0.75rem;
|
|
572
|
-
font-weight: 500;
|
|
573
|
-
}
|
|
574
|
-
|
|
575
|
-
.template-editor__thumbnail-placeholder svg {
|
|
576
|
-
width: 32px;
|
|
577
|
-
height: 32px;
|
|
578
|
-
opacity: 0.5;
|
|
579
|
-
}
|
|
580
|
-
|
|
581
|
-
.template-editor__status-badge {
|
|
582
|
-
position: absolute;
|
|
583
|
-
top: 8px;
|
|
584
|
-
left: 8px;
|
|
585
|
-
padding: 4px 10px;
|
|
586
|
-
font-size: 0.625rem;
|
|
587
|
-
font-weight: 700;
|
|
588
|
-
text-transform: uppercase;
|
|
589
|
-
letter-spacing: 0.05em;
|
|
590
|
-
border-radius: 100px;
|
|
591
|
-
backdrop-filter: blur(8px);
|
|
592
|
-
}
|
|
593
|
-
|
|
594
|
-
.template-editor__status-badge--emerald {
|
|
595
|
-
background: rgba(16, 185, 129, 0.9);
|
|
596
|
-
color: white;
|
|
597
|
-
}
|
|
598
|
-
|
|
599
|
-
.template-editor__status-badge--sky {
|
|
600
|
-
background: rgba(14, 165, 233, 0.9);
|
|
601
|
-
color: white;
|
|
602
|
-
}
|
|
603
|
-
|
|
604
|
-
.template-editor__status-badge--slate {
|
|
605
|
-
background: rgba(100, 116, 139, 0.9);
|
|
606
|
-
color: white;
|
|
607
|
-
}
|
|
608
|
-
|
|
609
|
-
.template-editor__status-badge--rose {
|
|
610
|
-
background: rgba(244, 63, 94, 0.9);
|
|
611
|
-
color: white;
|
|
612
|
-
}
|
|
613
|
-
|
|
614
|
-
.template-editor__thumbnail-input {
|
|
615
|
-
width: 100%;
|
|
616
|
-
}
|
|
617
|
-
|
|
618
|
-
.template-editor__identity {
|
|
619
|
-
display: flex;
|
|
620
|
-
flex-direction: column;
|
|
621
|
-
gap: 16px;
|
|
622
|
-
}
|
|
623
|
-
|
|
624
|
-
.template-editor__title-row {
|
|
625
|
-
display: flex;
|
|
626
|
-
align-items: center;
|
|
627
|
-
gap: 16px;
|
|
628
|
-
}
|
|
629
|
-
|
|
630
|
-
.template-editor__title-input {
|
|
631
|
-
flex: 1;
|
|
632
|
-
font-family: var(--te-font);
|
|
633
|
-
font-size: 1.75rem;
|
|
634
|
-
font-weight: 700;
|
|
635
|
-
color: var(--te-ink);
|
|
636
|
-
background: transparent;
|
|
637
|
-
border: none;
|
|
638
|
-
outline: none;
|
|
639
|
-
padding: 0;
|
|
640
|
-
letter-spacing: -0.02em;
|
|
641
|
-
}
|
|
642
|
-
|
|
643
|
-
.template-editor__title-input::placeholder {
|
|
644
|
-
color: var(--te-ink-muted);
|
|
645
|
-
}
|
|
646
|
-
|
|
647
|
-
.template-editor__status-select {
|
|
648
|
-
position: relative;
|
|
649
|
-
display: flex;
|
|
650
|
-
align-items: center;
|
|
651
|
-
}
|
|
652
|
-
|
|
653
|
-
.template-editor__select {
|
|
654
|
-
appearance: none;
|
|
655
|
-
font-family: var(--te-font);
|
|
656
|
-
font-size: 0.8125rem;
|
|
657
|
-
font-weight: 600;
|
|
658
|
-
padding: 8px 32px 8px 28px;
|
|
659
|
-
border-radius: 100px;
|
|
660
|
-
border: 1.5px solid var(--te-border);
|
|
661
|
-
background: var(--te-surface-raised);
|
|
662
|
-
color: var(--te-ink-light);
|
|
663
|
-
cursor: pointer;
|
|
664
|
-
transition: all 0.15s ease;
|
|
665
|
-
}
|
|
666
|
-
|
|
667
|
-
.template-editor__select:hover {
|
|
668
|
-
border-color: var(--te-ink-muted);
|
|
669
|
-
}
|
|
670
|
-
|
|
671
|
-
.template-editor__select:focus {
|
|
672
|
-
outline: none;
|
|
673
|
-
border-color: var(--te-teal);
|
|
674
|
-
box-shadow: 0 0 0 3px var(--te-teal-light);
|
|
675
|
-
}
|
|
676
|
-
|
|
677
|
-
.template-editor__status-indicator {
|
|
678
|
-
position: absolute;
|
|
679
|
-
left: 10px;
|
|
680
|
-
width: 8px;
|
|
681
|
-
height: 8px;
|
|
682
|
-
border-radius: 50%;
|
|
683
|
-
pointer-events: none;
|
|
684
|
-
}
|
|
685
|
-
|
|
686
|
-
.template-editor__status-indicator--emerald { background: var(--te-emerald); }
|
|
687
|
-
.template-editor__status-indicator--sky { background: var(--te-sky); }
|
|
688
|
-
.template-editor__status-indicator--slate { background: var(--te-slate); }
|
|
689
|
-
.template-editor__status-indicator--rose { background: var(--te-rose); }
|
|
690
|
-
|
|
691
|
-
/* Audiences */
|
|
692
|
-
.template-editor__audiences {
|
|
693
|
-
display: flex;
|
|
694
|
-
flex-wrap: wrap;
|
|
695
|
-
align-items: center;
|
|
696
|
-
gap: 8px;
|
|
697
|
-
}
|
|
698
|
-
|
|
699
|
-
.template-editor__audience-tag {
|
|
700
|
-
display: inline-flex;
|
|
701
|
-
align-items: center;
|
|
702
|
-
gap: 6px;
|
|
703
|
-
padding: 6px 12px;
|
|
704
|
-
font-size: 0.8125rem;
|
|
705
|
-
font-weight: 600;
|
|
706
|
-
border-radius: 100px;
|
|
707
|
-
background: var(--te-teal-light);
|
|
708
|
-
border: 1px solid rgba(20, 184, 166, 0.2);
|
|
709
|
-
color: var(--te-teal);
|
|
710
|
-
transition: all 0.15s ease;
|
|
711
|
-
}
|
|
712
|
-
|
|
713
|
-
.template-editor__audience-remove {
|
|
714
|
-
display: flex;
|
|
715
|
-
align-items: center;
|
|
716
|
-
justify-content: center;
|
|
717
|
-
width: 16px;
|
|
718
|
-
height: 16px;
|
|
719
|
-
padding: 0;
|
|
720
|
-
background: transparent;
|
|
721
|
-
border: none;
|
|
722
|
-
cursor: pointer;
|
|
723
|
-
opacity: 0.6;
|
|
724
|
-
transition: opacity 0.15s ease;
|
|
725
|
-
}
|
|
726
|
-
|
|
727
|
-
.template-editor__audience-remove:hover {
|
|
728
|
-
opacity: 1;
|
|
729
|
-
}
|
|
730
|
-
|
|
731
|
-
.template-editor__audience-remove svg {
|
|
732
|
-
width: 12px;
|
|
733
|
-
height: 12px;
|
|
734
|
-
}
|
|
735
|
-
|
|
736
|
-
.template-editor__add-audience-btn {
|
|
737
|
-
display: inline-flex;
|
|
738
|
-
align-items: center;
|
|
739
|
-
gap: 4px;
|
|
740
|
-
padding: 6px 12px;
|
|
741
|
-
font-family: var(--te-font);
|
|
742
|
-
font-size: 0.8125rem;
|
|
743
|
-
font-weight: 500;
|
|
744
|
-
color: var(--te-ink-muted);
|
|
745
|
-
background: transparent;
|
|
746
|
-
border: 1.5px dashed var(--te-border);
|
|
747
|
-
border-radius: 100px;
|
|
748
|
-
cursor: pointer;
|
|
749
|
-
transition: all 0.15s ease;
|
|
750
|
-
}
|
|
751
|
-
|
|
752
|
-
.template-editor__add-audience-btn:hover {
|
|
753
|
-
border-color: var(--te-ink-muted);
|
|
754
|
-
color: var(--te-ink-light);
|
|
755
|
-
}
|
|
756
|
-
|
|
757
|
-
.template-editor__add-audience-btn svg {
|
|
758
|
-
width: 14px;
|
|
759
|
-
height: 14px;
|
|
760
|
-
}
|
|
761
|
-
|
|
762
|
-
.template-editor__audience-input-wrap {
|
|
763
|
-
display: flex;
|
|
764
|
-
align-items: center;
|
|
765
|
-
gap: 6px;
|
|
766
|
-
}
|
|
767
|
-
|
|
768
|
-
.template-editor__audience-input {
|
|
769
|
-
width: 140px;
|
|
770
|
-
padding: 6px 12px;
|
|
771
|
-
font-family: var(--te-font);
|
|
772
|
-
font-size: 0.8125rem;
|
|
773
|
-
border: 1.5px solid var(--te-teal);
|
|
774
|
-
border-radius: 100px;
|
|
775
|
-
outline: none;
|
|
776
|
-
background: var(--te-surface);
|
|
777
|
-
}
|
|
778
|
-
|
|
779
|
-
.template-editor__audience-add-btn {
|
|
780
|
-
padding: 6px 12px;
|
|
781
|
-
font-family: var(--te-font);
|
|
782
|
-
font-size: 0.75rem;
|
|
783
|
-
font-weight: 600;
|
|
784
|
-
color: white;
|
|
785
|
-
background: var(--te-teal);
|
|
786
|
-
border: none;
|
|
787
|
-
border-radius: 100px;
|
|
788
|
-
cursor: pointer;
|
|
789
|
-
transition: background 0.15s ease;
|
|
790
|
-
}
|
|
791
|
-
|
|
792
|
-
.template-editor__audience-add-btn:hover {
|
|
793
|
-
background: #0d9488;
|
|
794
|
-
}
|
|
795
|
-
|
|
796
|
-
.template-editor__audience-presets {
|
|
797
|
-
display: flex;
|
|
798
|
-
align-items: center;
|
|
799
|
-
gap: 8px;
|
|
800
|
-
padding-top: 4px;
|
|
801
|
-
}
|
|
802
|
-
|
|
803
|
-
.template-editor__presets-label {
|
|
804
|
-
font-size: 0.75rem;
|
|
805
|
-
color: var(--te-ink-muted);
|
|
806
|
-
}
|
|
807
|
-
|
|
808
|
-
.template-editor__preset-btn {
|
|
809
|
-
font-family: var(--te-font);
|
|
810
|
-
font-size: 0.75rem;
|
|
811
|
-
font-weight: 500;
|
|
812
|
-
padding: 4px 8px;
|
|
813
|
-
background: transparent;
|
|
814
|
-
border: none;
|
|
815
|
-
cursor: pointer;
|
|
816
|
-
opacity: 0.7;
|
|
817
|
-
transition: opacity 0.15s ease;
|
|
818
|
-
}
|
|
819
|
-
|
|
820
|
-
.template-editor__preset-btn:hover {
|
|
821
|
-
opacity: 1;
|
|
822
|
-
}
|
|
823
|
-
|
|
824
|
-
.template-editor__summary {
|
|
825
|
-
width: 100%;
|
|
826
|
-
font-family: var(--te-font);
|
|
827
|
-
font-size: 0.9375rem;
|
|
828
|
-
line-height: 1.6;
|
|
829
|
-
color: var(--te-ink-light);
|
|
830
|
-
background: transparent;
|
|
831
|
-
border: none;
|
|
832
|
-
outline: none;
|
|
833
|
-
resize: none;
|
|
834
|
-
padding: 0;
|
|
835
|
-
}
|
|
836
|
-
|
|
837
|
-
.template-editor__summary::placeholder {
|
|
838
|
-
color: var(--te-ink-muted);
|
|
839
|
-
}
|
|
840
|
-
|
|
841
|
-
/* Section Divider */
|
|
842
|
-
.template-editor__section-divider {
|
|
843
|
-
display: flex;
|
|
844
|
-
align-items: center;
|
|
845
|
-
gap: 16px;
|
|
846
|
-
margin: 8px 0;
|
|
847
|
-
}
|
|
848
|
-
|
|
849
|
-
.template-editor__section-divider-line {
|
|
850
|
-
flex: 1;
|
|
851
|
-
height: 1px;
|
|
852
|
-
background: linear-gradient(90deg, transparent, var(--te-border), transparent);
|
|
853
|
-
}
|
|
854
|
-
|
|
855
|
-
.template-editor__section-badge {
|
|
856
|
-
display: inline-flex;
|
|
857
|
-
align-items: center;
|
|
858
|
-
gap: 8px;
|
|
859
|
-
padding: 10px 20px;
|
|
860
|
-
background: linear-gradient(135deg, var(--te-emerald-light) 0%, var(--te-teal-light) 100%);
|
|
861
|
-
color: var(--te-emerald);
|
|
862
|
-
border-radius: 100px;
|
|
863
|
-
font-size: 0.8125rem;
|
|
864
|
-
font-weight: 600;
|
|
865
|
-
letter-spacing: 0.02em;
|
|
866
|
-
white-space: nowrap;
|
|
867
|
-
}
|
|
868
|
-
|
|
869
|
-
.template-editor__section-badge svg {
|
|
870
|
-
width: 16px;
|
|
871
|
-
height: 16px;
|
|
872
|
-
}
|
|
873
|
-
|
|
874
|
-
/* Grid Cards */
|
|
875
|
-
.template-editor__grid {
|
|
876
|
-
display: grid;
|
|
877
|
-
grid-template-columns: 1fr 1fr;
|
|
878
|
-
gap: 20px;
|
|
879
|
-
}
|
|
880
|
-
|
|
881
|
-
.template-editor__card {
|
|
882
|
-
background: var(--te-surface);
|
|
883
|
-
border-radius: 16px;
|
|
884
|
-
padding: 24px;
|
|
885
|
-
box-shadow: 0 1px 3px rgba(26, 31, 54, 0.04), 0 4px 16px rgba(26, 31, 54, 0.06);
|
|
886
|
-
}
|
|
887
|
-
|
|
888
|
-
.template-editor__card-header {
|
|
889
|
-
display: flex;
|
|
890
|
-
align-items: flex-start;
|
|
891
|
-
gap: 14px;
|
|
892
|
-
margin-bottom: 20px;
|
|
893
|
-
}
|
|
894
|
-
|
|
895
|
-
.template-editor__card-icon {
|
|
896
|
-
width: 40px;
|
|
897
|
-
height: 40px;
|
|
898
|
-
border-radius: 10px;
|
|
899
|
-
display: flex;
|
|
900
|
-
align-items: center;
|
|
901
|
-
justify-content: center;
|
|
902
|
-
flex-shrink: 0;
|
|
903
|
-
}
|
|
904
|
-
|
|
905
|
-
.template-editor__card-icon svg {
|
|
906
|
-
width: 20px;
|
|
907
|
-
height: 20px;
|
|
908
|
-
}
|
|
909
|
-
|
|
910
|
-
.template-editor__card-icon--violet {
|
|
911
|
-
background: var(--te-violet-light);
|
|
912
|
-
color: var(--te-violet);
|
|
913
|
-
}
|
|
914
|
-
|
|
915
|
-
.template-editor__card-icon--amber {
|
|
916
|
-
background: var(--te-amber-light);
|
|
917
|
-
color: var(--te-amber);
|
|
918
|
-
}
|
|
919
|
-
|
|
920
|
-
.template-editor__card-icon--emerald {
|
|
921
|
-
background: var(--te-emerald-light);
|
|
922
|
-
color: var(--te-emerald);
|
|
923
|
-
}
|
|
924
|
-
|
|
925
|
-
.template-editor__card--full {
|
|
926
|
-
grid-column: 1 / -1;
|
|
927
|
-
}
|
|
928
|
-
|
|
929
|
-
.template-editor__card-title {
|
|
930
|
-
font-size: 1rem;
|
|
931
|
-
font-weight: 600;
|
|
932
|
-
color: var(--te-ink);
|
|
933
|
-
margin: 0 0 2px;
|
|
934
|
-
}
|
|
935
|
-
|
|
936
|
-
.template-editor__card-subtitle {
|
|
937
|
-
font-size: 0.8125rem;
|
|
938
|
-
color: var(--te-ink-muted);
|
|
939
|
-
margin: 0;
|
|
940
|
-
}
|
|
941
|
-
|
|
942
|
-
.template-editor__textarea {
|
|
943
|
-
width: 100%;
|
|
944
|
-
font-family: var(--te-font);
|
|
945
|
-
font-size: 0.9375rem;
|
|
946
|
-
line-height: 1.7;
|
|
947
|
-
color: var(--te-ink);
|
|
948
|
-
background: var(--te-surface-raised);
|
|
949
|
-
border: 1.5px solid var(--te-border-light);
|
|
950
|
-
border-radius: 12px;
|
|
951
|
-
padding: 16px;
|
|
952
|
-
resize: vertical;
|
|
953
|
-
transition: all 0.15s ease;
|
|
954
|
-
}
|
|
955
|
-
|
|
956
|
-
.template-editor__textarea:hover {
|
|
957
|
-
border-color: var(--te-border);
|
|
958
|
-
}
|
|
959
|
-
|
|
960
|
-
.template-editor__textarea:focus {
|
|
961
|
-
outline: none;
|
|
962
|
-
border-color: var(--te-teal);
|
|
963
|
-
box-shadow: 0 0 0 3px var(--te-teal-light);
|
|
964
|
-
}
|
|
965
|
-
|
|
966
|
-
.template-editor__textarea::placeholder {
|
|
967
|
-
color: var(--te-ink-muted);
|
|
968
|
-
}
|
|
969
|
-
|
|
970
|
-
/* Services */
|
|
971
|
-
.template-editor__services {
|
|
972
|
-
display: flex;
|
|
973
|
-
flex-direction: column;
|
|
974
|
-
gap: 8px;
|
|
975
|
-
}
|
|
976
|
-
|
|
977
|
-
.template-editor__service {
|
|
978
|
-
display: flex;
|
|
979
|
-
align-items: center;
|
|
980
|
-
gap: 10px;
|
|
981
|
-
padding: 10px 12px;
|
|
982
|
-
background: var(--te-surface-raised);
|
|
983
|
-
border-radius: 8px;
|
|
984
|
-
transition: background 0.15s ease;
|
|
985
|
-
}
|
|
986
|
-
|
|
987
|
-
.template-editor__service:hover {
|
|
988
|
-
background: var(--te-border-light);
|
|
989
|
-
}
|
|
990
|
-
|
|
991
|
-
.template-editor__service-bullet {
|
|
992
|
-
width: 6px;
|
|
993
|
-
height: 6px;
|
|
994
|
-
border-radius: 50%;
|
|
995
|
-
background: var(--te-emerald);
|
|
996
|
-
flex-shrink: 0;
|
|
997
|
-
}
|
|
998
|
-
|
|
999
|
-
.template-editor__service-bullet--recurring {
|
|
1000
|
-
background: var(--te-amber);
|
|
1001
|
-
}
|
|
1002
|
-
|
|
1003
|
-
.template-editor__service-bullet--ghost {
|
|
1004
|
-
background: var(--te-border);
|
|
1005
|
-
}
|
|
1006
|
-
|
|
1007
|
-
.template-editor__service-text {
|
|
1008
|
-
flex: 1;
|
|
1009
|
-
font-size: 0.875rem;
|
|
1010
|
-
color: var(--te-ink);
|
|
1011
|
-
}
|
|
1012
|
-
|
|
1013
|
-
.template-editor__service-remove {
|
|
1014
|
-
display: flex;
|
|
1015
|
-
align-items: center;
|
|
1016
|
-
justify-content: center;
|
|
1017
|
-
width: 24px;
|
|
1018
|
-
height: 24px;
|
|
1019
|
-
padding: 0;
|
|
1020
|
-
background: transparent;
|
|
1021
|
-
border: none;
|
|
1022
|
-
border-radius: 6px;
|
|
1023
|
-
cursor: pointer;
|
|
1024
|
-
color: var(--te-ink-muted);
|
|
1025
|
-
opacity: 0;
|
|
1026
|
-
transition: all 0.15s ease;
|
|
1027
|
-
}
|
|
1028
|
-
|
|
1029
|
-
.template-editor__service:hover .template-editor__service-remove {
|
|
1030
|
-
opacity: 1;
|
|
1031
|
-
}
|
|
1032
|
-
|
|
1033
|
-
.template-editor__service-remove:hover {
|
|
1034
|
-
background: var(--te-rose-light);
|
|
1035
|
-
color: var(--te-rose);
|
|
1036
|
-
}
|
|
1037
|
-
|
|
1038
|
-
.template-editor__service-remove svg {
|
|
1039
|
-
width: 14px;
|
|
1040
|
-
height: 14px;
|
|
1041
|
-
}
|
|
1042
|
-
|
|
1043
|
-
.template-editor__service-reorder {
|
|
1044
|
-
display: flex;
|
|
1045
|
-
flex-direction: column;
|
|
1046
|
-
gap: 2px;
|
|
1047
|
-
opacity: 0;
|
|
1048
|
-
transition: opacity 0.15s ease;
|
|
1049
|
-
}
|
|
1050
|
-
|
|
1051
|
-
.template-editor__service:hover .template-editor__service-reorder {
|
|
1052
|
-
opacity: 1;
|
|
1053
|
-
}
|
|
1054
|
-
|
|
1055
|
-
.template-editor__service-reorder-btn {
|
|
1056
|
-
display: flex;
|
|
1057
|
-
align-items: center;
|
|
1058
|
-
justify-content: center;
|
|
1059
|
-
width: 18px;
|
|
1060
|
-
height: 14px;
|
|
1061
|
-
padding: 0;
|
|
1062
|
-
background: transparent;
|
|
1063
|
-
border: none;
|
|
1064
|
-
border-radius: 3px;
|
|
1065
|
-
cursor: pointer;
|
|
1066
|
-
color: var(--te-ink-muted);
|
|
1067
|
-
transition: all 0.15s ease;
|
|
1068
|
-
}
|
|
1069
|
-
|
|
1070
|
-
.template-editor__service-reorder-btn:hover:not(:disabled) {
|
|
1071
|
-
background: var(--te-emerald-light);
|
|
1072
|
-
color: var(--te-emerald);
|
|
1073
|
-
}
|
|
1074
|
-
|
|
1075
|
-
.template-editor__service-reorder-btn:disabled {
|
|
1076
|
-
opacity: 0.3;
|
|
1077
|
-
cursor: not-allowed;
|
|
1078
|
-
}
|
|
1079
|
-
|
|
1080
|
-
.template-editor__service-reorder-btn svg {
|
|
1081
|
-
width: 12px;
|
|
1082
|
-
height: 12px;
|
|
1083
|
-
}
|
|
1084
|
-
|
|
1085
|
-
.template-editor__add-service {
|
|
1086
|
-
display: flex;
|
|
1087
|
-
align-items: center;
|
|
1088
|
-
gap: 10px;
|
|
1089
|
-
padding: 10px 12px;
|
|
1090
|
-
background: transparent;
|
|
1091
|
-
border: 1.5px dashed var(--te-border);
|
|
1092
|
-
border-radius: 8px;
|
|
1093
|
-
transition: all 0.15s ease;
|
|
1094
|
-
}
|
|
1095
|
-
|
|
1096
|
-
.template-editor__add-service:focus-within {
|
|
1097
|
-
border-color: var(--te-teal);
|
|
1098
|
-
border-style: solid;
|
|
1099
|
-
}
|
|
1100
|
-
|
|
1101
|
-
.template-editor__service-new-input {
|
|
1102
|
-
flex: 1;
|
|
1103
|
-
font-family: var(--te-font);
|
|
1104
|
-
font-size: 0.875rem;
|
|
1105
|
-
background: transparent;
|
|
1106
|
-
border: none;
|
|
1107
|
-
outline: none;
|
|
1108
|
-
color: var(--te-ink);
|
|
1109
|
-
}
|
|
1110
|
-
|
|
1111
|
-
.template-editor__service-new-input::placeholder {
|
|
1112
|
-
color: var(--te-ink-muted);
|
|
1113
|
-
}
|
|
1114
|
-
|
|
1115
|
-
.template-editor__service-add-btn {
|
|
1116
|
-
display: flex;
|
|
1117
|
-
align-items: center;
|
|
1118
|
-
justify-content: center;
|
|
1119
|
-
width: 28px;
|
|
1120
|
-
height: 28px;
|
|
1121
|
-
padding: 0;
|
|
1122
|
-
background: var(--te-teal);
|
|
1123
|
-
border: none;
|
|
1124
|
-
border-radius: 6px;
|
|
1125
|
-
cursor: pointer;
|
|
1126
|
-
color: white;
|
|
1127
|
-
transition: background 0.15s ease;
|
|
1128
|
-
}
|
|
1129
|
-
|
|
1130
|
-
.template-editor__service-add-btn:hover {
|
|
1131
|
-
background: #0d9488;
|
|
1132
|
-
}
|
|
1133
|
-
|
|
1134
|
-
.template-editor__service-add-btn svg {
|
|
1135
|
-
width: 16px;
|
|
1136
|
-
height: 16px;
|
|
1137
|
-
}
|
|
1138
|
-
|
|
1139
|
-
/* Metadata */
|
|
1140
|
-
.template-editor__metadata {
|
|
1141
|
-
display: grid;
|
|
1142
|
-
grid-template-columns: 1fr 1fr;
|
|
1143
|
-
gap: 20px;
|
|
1144
|
-
background: var(--te-surface);
|
|
1145
|
-
border-radius: 16px;
|
|
1146
|
-
padding: 24px;
|
|
1147
|
-
box-shadow: 0 1px 3px rgba(26, 31, 54, 0.04), 0 4px 16px rgba(26, 31, 54, 0.06);
|
|
1148
|
-
}
|
|
1149
|
-
|
|
1150
|
-
.template-editor__meta-field {
|
|
1151
|
-
display: flex;
|
|
1152
|
-
flex-direction: column;
|
|
1153
|
-
gap: 8px;
|
|
1154
|
-
}
|
|
1155
|
-
|
|
1156
|
-
.template-editor__label {
|
|
1157
|
-
font-size: 0.6875rem;
|
|
1158
|
-
font-weight: 700;
|
|
1159
|
-
text-transform: uppercase;
|
|
1160
|
-
letter-spacing: 0.06em;
|
|
1161
|
-
color: var(--te-ink-muted);
|
|
1162
|
-
}
|
|
1163
|
-
|
|
1164
|
-
.template-editor__input {
|
|
1165
|
-
width: 100%;
|
|
1166
|
-
font-family: var(--te-font);
|
|
1167
|
-
font-size: 0.9375rem;
|
|
1168
|
-
padding: 12px 16px;
|
|
1169
|
-
background: var(--te-surface-raised);
|
|
1170
|
-
border: 1.5px solid var(--te-border-light);
|
|
1171
|
-
border-radius: 10px;
|
|
1172
|
-
color: var(--te-ink);
|
|
1173
|
-
transition: all 0.15s ease;
|
|
1174
|
-
}
|
|
1175
|
-
|
|
1176
|
-
.template-editor__input:hover {
|
|
1177
|
-
border-color: var(--te-border);
|
|
1178
|
-
}
|
|
1179
|
-
|
|
1180
|
-
.template-editor__input:focus {
|
|
1181
|
-
outline: none;
|
|
1182
|
-
border-color: var(--te-teal);
|
|
1183
|
-
box-shadow: 0 0 0 3px var(--te-teal-light);
|
|
1184
|
-
}
|
|
1185
|
-
|
|
1186
|
-
.template-editor__input::placeholder {
|
|
1187
|
-
color: var(--te-ink-muted);
|
|
1188
|
-
}
|
|
1189
|
-
|
|
1190
|
-
.template-editor__input--sm {
|
|
1191
|
-
font-size: 0.8125rem;
|
|
1192
|
-
padding: 8px 12px;
|
|
1193
|
-
}
|
|
1194
|
-
|
|
1195
|
-
.template-editor__input--mono {
|
|
1196
|
-
font-family: var(--te-mono);
|
|
1197
|
-
font-size: 0.875rem;
|
|
1198
|
-
}
|
|
1199
|
-
|
|
1200
|
-
/* Facet Targeting */
|
|
1201
|
-
.template-editor__facets {
|
|
1202
|
-
background: var(--te-surface);
|
|
1203
|
-
border-radius: 16px;
|
|
1204
|
-
padding: 24px;
|
|
1205
|
-
box-shadow: 0 1px 3px rgba(26, 31, 54, 0.04), 0 4px 16px rgba(26, 31, 54, 0.06);
|
|
1206
|
-
}
|
|
1207
|
-
|
|
1208
|
-
.template-editor__facets-header {
|
|
1209
|
-
display: flex;
|
|
1210
|
-
align-items: flex-start;
|
|
1211
|
-
gap: 14px;
|
|
1212
|
-
margin-bottom: 20px;
|
|
1213
|
-
}
|
|
1214
|
-
|
|
1215
|
-
.template-editor__card-icon--sky {
|
|
1216
|
-
background: var(--te-sky-light);
|
|
1217
|
-
color: var(--te-sky);
|
|
1218
|
-
}
|
|
1219
|
-
|
|
1220
|
-
.template-editor__facets-grid {
|
|
1221
|
-
display: grid;
|
|
1222
|
-
grid-template-columns: repeat(2, 1fr);
|
|
1223
|
-
gap: 16px;
|
|
1224
|
-
}
|
|
1225
|
-
|
|
1226
|
-
.template-editor__facet-card {
|
|
1227
|
-
background: var(--te-surface-raised);
|
|
1228
|
-
border: 1px solid var(--te-border-light);
|
|
1229
|
-
border-radius: 12px;
|
|
1230
|
-
padding: 16px;
|
|
1231
|
-
transition: border-color 0.15s ease;
|
|
1232
|
-
}
|
|
1233
|
-
|
|
1234
|
-
.template-editor__facet-card:hover {
|
|
1235
|
-
border-color: var(--te-border);
|
|
1236
|
-
}
|
|
1237
|
-
|
|
1238
|
-
.template-editor__facet-header {
|
|
1239
|
-
display: flex;
|
|
1240
|
-
align-items: center;
|
|
1241
|
-
justify-content: space-between;
|
|
1242
|
-
margin-bottom: 6px;
|
|
1243
|
-
}
|
|
1244
|
-
|
|
1245
|
-
.template-editor__facet-label {
|
|
1246
|
-
font-size: 0.875rem;
|
|
1247
|
-
font-weight: 600;
|
|
1248
|
-
color: var(--te-ink);
|
|
1249
|
-
}
|
|
1250
|
-
|
|
1251
|
-
.template-editor__facet-clear {
|
|
1252
|
-
font-family: var(--te-font);
|
|
1253
|
-
font-size: 0.75rem;
|
|
1254
|
-
font-weight: 500;
|
|
1255
|
-
padding: 4px 8px;
|
|
1256
|
-
background: transparent;
|
|
1257
|
-
border: none;
|
|
1258
|
-
color: var(--te-ink-muted);
|
|
1259
|
-
cursor: pointer;
|
|
1260
|
-
transition: color 0.15s ease;
|
|
1261
|
-
}
|
|
1262
|
-
|
|
1263
|
-
.template-editor__facet-clear:hover {
|
|
1264
|
-
color: var(--te-rose);
|
|
1265
|
-
}
|
|
1266
|
-
|
|
1267
|
-
.template-editor__facet-desc {
|
|
1268
|
-
font-size: 0.75rem;
|
|
1269
|
-
color: var(--te-ink-muted);
|
|
1270
|
-
margin: 0 0 12px;
|
|
1271
|
-
}
|
|
1272
|
-
|
|
1273
|
-
.template-editor__facet-options {
|
|
1274
|
-
display: flex;
|
|
1275
|
-
flex-direction: column;
|
|
1276
|
-
gap: 6px;
|
|
1277
|
-
}
|
|
1278
|
-
|
|
1279
|
-
.template-editor__facet-option {
|
|
1280
|
-
display: flex;
|
|
1281
|
-
align-items: center;
|
|
1282
|
-
gap: 10px;
|
|
1283
|
-
padding: 8px 12px;
|
|
1284
|
-
font-family: var(--te-font);
|
|
1285
|
-
font-size: 0.8125rem;
|
|
1286
|
-
color: var(--te-ink-light);
|
|
1287
|
-
background: var(--te-surface);
|
|
1288
|
-
border: 1.5px solid var(--te-border-light);
|
|
1289
|
-
border-radius: 8px;
|
|
1290
|
-
cursor: pointer;
|
|
1291
|
-
transition: all 0.15s ease;
|
|
1292
|
-
}
|
|
1293
|
-
|
|
1294
|
-
.template-editor__facet-option:hover {
|
|
1295
|
-
border-color: var(--te-border);
|
|
1296
|
-
background: var(--te-surface);
|
|
1297
|
-
}
|
|
1298
|
-
|
|
1299
|
-
.template-editor__facet-option--selected {
|
|
1300
|
-
border-color: var(--te-teal);
|
|
1301
|
-
background: var(--te-teal-light);
|
|
1302
|
-
color: var(--te-ink);
|
|
1303
|
-
}
|
|
1304
|
-
|
|
1305
|
-
.template-editor__facet-option--selected:hover {
|
|
1306
|
-
border-color: var(--te-teal);
|
|
1307
|
-
background: var(--te-teal-light);
|
|
1308
|
-
}
|
|
1309
|
-
|
|
1310
|
-
.template-editor__facet-checkbox {
|
|
1311
|
-
display: flex;
|
|
1312
|
-
align-items: center;
|
|
1313
|
-
justify-content: center;
|
|
1314
|
-
width: 18px;
|
|
1315
|
-
height: 18px;
|
|
1316
|
-
border-radius: 4px;
|
|
1317
|
-
background: var(--te-surface);
|
|
1318
|
-
border: 1.5px solid var(--te-border);
|
|
1319
|
-
transition: all 0.15s ease;
|
|
1320
|
-
}
|
|
1321
|
-
|
|
1322
|
-
.template-editor__facet-option--selected .template-editor__facet-checkbox {
|
|
1323
|
-
background: var(--te-teal);
|
|
1324
|
-
border-color: var(--te-teal);
|
|
1325
|
-
}
|
|
1326
|
-
|
|
1327
|
-
.template-editor__facet-checkbox svg {
|
|
1328
|
-
width: 12px;
|
|
1329
|
-
height: 12px;
|
|
1330
|
-
color: white;
|
|
1331
|
-
}
|
|
1332
|
-
|
|
1333
|
-
/* Templates Panel */
|
|
1334
|
-
.template-editor__templates-toggle {
|
|
1335
|
-
display: inline-flex;
|
|
1336
|
-
align-items: center;
|
|
1337
|
-
gap: 6px;
|
|
1338
|
-
margin-left: auto;
|
|
1339
|
-
padding: 6px 12px;
|
|
1340
|
-
font-family: var(--te-font);
|
|
1341
|
-
font-size: 0.75rem;
|
|
1342
|
-
font-weight: 600;
|
|
1343
|
-
color: var(--te-emerald);
|
|
1344
|
-
background: var(--te-emerald-light);
|
|
1345
|
-
border: 1.5px solid transparent;
|
|
1346
|
-
border-radius: 100px;
|
|
1347
|
-
cursor: pointer;
|
|
1348
|
-
transition: all 0.15s ease;
|
|
1349
|
-
}
|
|
1350
|
-
|
|
1351
|
-
.template-editor__templates-toggle svg {
|
|
1352
|
-
width: 14px;
|
|
1353
|
-
height: 14px;
|
|
1354
|
-
}
|
|
1355
|
-
|
|
1356
|
-
.template-editor__templates-toggle:hover {
|
|
1357
|
-
border-color: var(--te-emerald);
|
|
1358
|
-
}
|
|
1359
|
-
|
|
1360
|
-
.template-editor__templates-toggle--active {
|
|
1361
|
-
background: var(--te-emerald);
|
|
1362
|
-
color: white;
|
|
1363
|
-
}
|
|
1364
|
-
|
|
1365
|
-
.template-editor__templates-toggle--amber {
|
|
1366
|
-
color: var(--te-amber);
|
|
1367
|
-
background: var(--te-amber-light);
|
|
1368
|
-
}
|
|
1369
|
-
|
|
1370
|
-
.template-editor__templates-toggle--amber:hover {
|
|
1371
|
-
border-color: var(--te-amber);
|
|
1372
|
-
}
|
|
1373
|
-
|
|
1374
|
-
.template-editor__templates-toggle--amber.template-editor__templates-toggle--active {
|
|
1375
|
-
background: var(--te-amber);
|
|
1376
|
-
color: white;
|
|
1377
|
-
}
|
|
1378
|
-
|
|
1379
|
-
.template-editor__templates-panel {
|
|
1380
|
-
background: var(--te-emerald-light);
|
|
1381
|
-
border: 1px solid rgba(16, 185, 129, 0.2);
|
|
1382
|
-
border-radius: 12px;
|
|
1383
|
-
padding: 16px;
|
|
1384
|
-
margin-bottom: 16px;
|
|
1385
|
-
animation: templatesPanelSlide 0.2s ease-out;
|
|
1386
|
-
}
|
|
1387
|
-
|
|
1388
|
-
.template-editor__templates-panel--amber {
|
|
1389
|
-
background: var(--te-amber-light);
|
|
1390
|
-
border-color: rgba(245, 158, 11, 0.2);
|
|
1391
|
-
}
|
|
1392
|
-
|
|
1393
|
-
@keyframes templatesPanelSlide {
|
|
1394
|
-
from {
|
|
1395
|
-
opacity: 0;
|
|
1396
|
-
transform: translateY(-8px);
|
|
1397
|
-
}
|
|
1398
|
-
to {
|
|
1399
|
-
opacity: 1;
|
|
1400
|
-
transform: translateY(0);
|
|
1401
|
-
}
|
|
1402
|
-
}
|
|
1403
|
-
|
|
1404
|
-
.template-editor__template-category {
|
|
1405
|
-
margin-bottom: 12px;
|
|
1406
|
-
}
|
|
1407
|
-
|
|
1408
|
-
.template-editor__template-category:last-child {
|
|
1409
|
-
margin-bottom: 0;
|
|
1410
|
-
}
|
|
1411
|
-
|
|
1412
|
-
.template-editor__template-category-label {
|
|
1413
|
-
display: block;
|
|
1414
|
-
font-size: 0.6875rem;
|
|
1415
|
-
font-weight: 700;
|
|
1416
|
-
text-transform: uppercase;
|
|
1417
|
-
letter-spacing: 0.05em;
|
|
1418
|
-
color: var(--te-ink-muted);
|
|
1419
|
-
margin-bottom: 8px;
|
|
1420
|
-
}
|
|
1421
|
-
|
|
1422
|
-
.template-editor__template-items {
|
|
1423
|
-
display: flex;
|
|
1424
|
-
flex-wrap: wrap;
|
|
1425
|
-
gap: 6px;
|
|
1426
|
-
}
|
|
1427
|
-
|
|
1428
|
-
.template-editor__template-item {
|
|
1429
|
-
display: inline-flex;
|
|
1430
|
-
align-items: center;
|
|
1431
|
-
gap: 6px;
|
|
1432
|
-
padding: 6px 10px;
|
|
1433
|
-
font-family: var(--te-font);
|
|
1434
|
-
font-size: 0.8125rem;
|
|
1435
|
-
font-weight: 500;
|
|
1436
|
-
color: var(--te-ink);
|
|
1437
|
-
background: var(--te-surface);
|
|
1438
|
-
border: 1.5px solid var(--te-border-light);
|
|
1439
|
-
border-radius: 8px;
|
|
1440
|
-
cursor: pointer;
|
|
1441
|
-
transition: all 0.15s ease;
|
|
1442
|
-
}
|
|
1443
|
-
|
|
1444
|
-
.template-editor__template-item:hover:not(:disabled) {
|
|
1445
|
-
border-color: var(--te-emerald);
|
|
1446
|
-
background: white;
|
|
1447
|
-
transform: translateY(-1px);
|
|
1448
|
-
box-shadow: 0 2px 8px rgba(16, 185, 129, 0.15);
|
|
1449
|
-
}
|
|
1450
|
-
|
|
1451
|
-
.template-editor__template-item--amber:hover:not(:disabled) {
|
|
1452
|
-
border-color: var(--te-amber);
|
|
1453
|
-
box-shadow: 0 2px 8px rgba(245, 158, 11, 0.15);
|
|
1454
|
-
}
|
|
1455
|
-
|
|
1456
|
-
.template-editor__template-item--added {
|
|
1457
|
-
background: var(--te-emerald-light);
|
|
1458
|
-
border-color: var(--te-emerald);
|
|
1459
|
-
color: var(--te-emerald);
|
|
1460
|
-
cursor: default;
|
|
1461
|
-
}
|
|
1462
|
-
|
|
1463
|
-
.template-editor__template-item--amber.template-editor__template-item--added {
|
|
1464
|
-
background: var(--te-amber-light);
|
|
1465
|
-
border-color: var(--te-amber);
|
|
1466
|
-
color: var(--te-amber);
|
|
1467
|
-
}
|
|
1468
|
-
|
|
1469
|
-
.template-editor__template-icon {
|
|
1470
|
-
font-size: 0.875rem;
|
|
1471
|
-
}
|
|
1472
|
-
|
|
1473
|
-
.template-editor__template-title {
|
|
1474
|
-
white-space: nowrap;
|
|
1475
|
-
}
|
|
1476
|
-
|
|
1477
|
-
.template-editor__template-check {
|
|
1478
|
-
width: 14px;
|
|
1479
|
-
height: 14px;
|
|
1480
|
-
margin-left: 2px;
|
|
1481
|
-
}
|
|
1482
|
-
|
|
1483
|
-
/* FAQ Section */
|
|
1484
|
-
.template-editor__faq-list {
|
|
1485
|
-
display: flex;
|
|
1486
|
-
flex-direction: column;
|
|
1487
|
-
gap: 12px;
|
|
1488
|
-
margin-bottom: 16px;
|
|
1489
|
-
}
|
|
1490
|
-
|
|
1491
|
-
.template-editor__faq-item {
|
|
1492
|
-
display: flex;
|
|
1493
|
-
align-items: flex-start;
|
|
1494
|
-
gap: 16px;
|
|
1495
|
-
padding: 16px;
|
|
1496
|
-
background: var(--te-surface-raised);
|
|
1497
|
-
border: 1.5px solid var(--te-border-light);
|
|
1498
|
-
border-radius: 12px;
|
|
1499
|
-
transition: all 0.15s ease;
|
|
1500
|
-
}
|
|
1501
|
-
|
|
1502
|
-
.template-editor__faq-item:hover {
|
|
1503
|
-
border-color: var(--te-border);
|
|
1504
|
-
}
|
|
1505
|
-
|
|
1506
|
-
.template-editor__faq-item--editing {
|
|
1507
|
-
border-color: var(--te-sky);
|
|
1508
|
-
background: var(--te-sky-light);
|
|
1509
|
-
}
|
|
1510
|
-
|
|
1511
|
-
.template-editor__faq-number {
|
|
1512
|
-
display: flex;
|
|
1513
|
-
align-items: center;
|
|
1514
|
-
justify-content: center;
|
|
1515
|
-
width: 28px;
|
|
1516
|
-
height: 28px;
|
|
1517
|
-
background: var(--te-sky-light);
|
|
1518
|
-
color: var(--te-sky);
|
|
1519
|
-
font-size: 0.8125rem;
|
|
1520
|
-
font-weight: 700;
|
|
1521
|
-
border-radius: 8px;
|
|
1522
|
-
flex-shrink: 0;
|
|
1523
|
-
}
|
|
1524
|
-
|
|
1525
|
-
.template-editor__faq-content {
|
|
1526
|
-
flex: 1;
|
|
1527
|
-
min-width: 0;
|
|
1528
|
-
}
|
|
1529
|
-
|
|
1530
|
-
.template-editor__faq-question {
|
|
1531
|
-
font-size: 0.9375rem;
|
|
1532
|
-
font-weight: 600;
|
|
1533
|
-
color: var(--te-ink);
|
|
1534
|
-
margin-bottom: 6px;
|
|
1535
|
-
line-height: 1.4;
|
|
1536
|
-
}
|
|
1537
|
-
|
|
1538
|
-
.template-editor__faq-answer {
|
|
1539
|
-
font-size: 0.875rem;
|
|
1540
|
-
color: var(--te-ink-light);
|
|
1541
|
-
line-height: 1.6;
|
|
1542
|
-
}
|
|
1543
|
-
|
|
1544
|
-
.template-editor__faq-actions {
|
|
1545
|
-
display: flex;
|
|
1546
|
-
gap: 6px;
|
|
1547
|
-
opacity: 0;
|
|
1548
|
-
transition: opacity 0.15s ease;
|
|
1549
|
-
}
|
|
1550
|
-
|
|
1551
|
-
.template-editor__faq-item:hover .template-editor__faq-actions {
|
|
1552
|
-
opacity: 1;
|
|
1553
|
-
}
|
|
1554
|
-
|
|
1555
|
-
.template-editor__faq-action-btn {
|
|
1556
|
-
display: flex;
|
|
1557
|
-
align-items: center;
|
|
1558
|
-
justify-content: center;
|
|
1559
|
-
width: 32px;
|
|
1560
|
-
height: 32px;
|
|
1561
|
-
padding: 0;
|
|
1562
|
-
background: var(--te-surface);
|
|
1563
|
-
border: 1.5px solid var(--te-border-light);
|
|
1564
|
-
border-radius: 8px;
|
|
1565
|
-
cursor: pointer;
|
|
1566
|
-
color: var(--te-ink-muted);
|
|
1567
|
-
transition: all 0.15s ease;
|
|
1568
|
-
}
|
|
1569
|
-
|
|
1570
|
-
.template-editor__faq-action-btn:hover {
|
|
1571
|
-
border-color: var(--te-sky);
|
|
1572
|
-
color: var(--te-sky);
|
|
1573
|
-
background: var(--te-sky-light);
|
|
1574
|
-
}
|
|
1575
|
-
|
|
1576
|
-
.template-editor__faq-action-btn--delete:hover {
|
|
1577
|
-
border-color: var(--te-rose);
|
|
1578
|
-
color: var(--te-rose);
|
|
1579
|
-
background: var(--te-rose-light);
|
|
1580
|
-
}
|
|
1581
|
-
|
|
1582
|
-
.template-editor__faq-action-btn svg {
|
|
1583
|
-
width: 16px;
|
|
1584
|
-
height: 16px;
|
|
1585
|
-
}
|
|
1586
|
-
|
|
1587
|
-
.template-editor__faq-reorder {
|
|
1588
|
-
display: flex;
|
|
1589
|
-
flex-direction: column;
|
|
1590
|
-
gap: 2px;
|
|
1591
|
-
opacity: 0;
|
|
1592
|
-
transition: opacity 0.15s ease;
|
|
1593
|
-
}
|
|
1594
|
-
|
|
1595
|
-
.template-editor__faq-item:hover .template-editor__faq-reorder {
|
|
1596
|
-
opacity: 1;
|
|
1597
|
-
}
|
|
1598
|
-
|
|
1599
|
-
.template-editor__faq-reorder-btn {
|
|
1600
|
-
display: flex;
|
|
1601
|
-
align-items: center;
|
|
1602
|
-
justify-content: center;
|
|
1603
|
-
width: 20px;
|
|
1604
|
-
height: 16px;
|
|
1605
|
-
padding: 0;
|
|
1606
|
-
background: transparent;
|
|
1607
|
-
border: none;
|
|
1608
|
-
border-radius: 4px;
|
|
1609
|
-
cursor: pointer;
|
|
1610
|
-
color: var(--te-ink-muted);
|
|
1611
|
-
transition: all 0.15s ease;
|
|
1612
|
-
}
|
|
1613
|
-
|
|
1614
|
-
.template-editor__faq-reorder-btn:hover:not(:disabled) {
|
|
1615
|
-
background: var(--te-sky-light);
|
|
1616
|
-
color: var(--te-sky);
|
|
1617
|
-
}
|
|
1618
|
-
|
|
1619
|
-
.template-editor__faq-reorder-btn:disabled {
|
|
1620
|
-
opacity: 0.3;
|
|
1621
|
-
cursor: not-allowed;
|
|
1622
|
-
}
|
|
1623
|
-
|
|
1624
|
-
.template-editor__faq-reorder-btn svg {
|
|
1625
|
-
width: 14px;
|
|
1626
|
-
height: 14px;
|
|
1627
|
-
}
|
|
1628
|
-
|
|
1629
|
-
.template-editor__faq-edit-form {
|
|
1630
|
-
flex: 1;
|
|
1631
|
-
display: flex;
|
|
1632
|
-
flex-direction: column;
|
|
1633
|
-
gap: 10px;
|
|
1634
|
-
}
|
|
1635
|
-
|
|
1636
|
-
.template-editor__faq-edit-question {
|
|
1637
|
-
font-family: var(--te-font);
|
|
1638
|
-
font-size: 0.9375rem;
|
|
1639
|
-
font-weight: 600;
|
|
1640
|
-
padding: 10px 14px;
|
|
1641
|
-
background: var(--te-surface);
|
|
1642
|
-
border: 1.5px solid var(--te-border);
|
|
1643
|
-
border-radius: 8px;
|
|
1644
|
-
color: var(--te-ink);
|
|
1645
|
-
}
|
|
1646
|
-
|
|
1647
|
-
.template-editor__faq-edit-question:focus {
|
|
1648
|
-
outline: none;
|
|
1649
|
-
border-color: var(--te-sky);
|
|
1650
|
-
}
|
|
1651
|
-
|
|
1652
|
-
.template-editor__faq-edit-answer {
|
|
1653
|
-
font-family: var(--te-font);
|
|
1654
|
-
font-size: 0.875rem;
|
|
1655
|
-
padding: 10px 14px;
|
|
1656
|
-
background: var(--te-surface);
|
|
1657
|
-
border: 1.5px solid var(--te-border);
|
|
1658
|
-
border-radius: 8px;
|
|
1659
|
-
color: var(--te-ink);
|
|
1660
|
-
resize: vertical;
|
|
1661
|
-
min-height: 60px;
|
|
1662
|
-
}
|
|
1663
|
-
|
|
1664
|
-
.template-editor__faq-edit-answer:focus {
|
|
1665
|
-
outline: none;
|
|
1666
|
-
border-color: var(--te-sky);
|
|
1667
|
-
}
|
|
1668
|
-
|
|
1669
|
-
.template-editor__faq-edit-actions {
|
|
1670
|
-
display: flex;
|
|
1671
|
-
gap: 8px;
|
|
1672
|
-
justify-content: flex-end;
|
|
1673
|
-
}
|
|
1674
|
-
|
|
1675
|
-
.template-editor__faq-save-btn {
|
|
1676
|
-
padding: 8px 16px;
|
|
1677
|
-
font-family: var(--te-font);
|
|
1678
|
-
font-size: 0.8125rem;
|
|
1679
|
-
font-weight: 600;
|
|
1680
|
-
color: white;
|
|
1681
|
-
background: var(--te-sky);
|
|
1682
|
-
border: none;
|
|
1683
|
-
border-radius: 8px;
|
|
1684
|
-
cursor: pointer;
|
|
1685
|
-
transition: background 0.15s ease;
|
|
1686
|
-
}
|
|
1687
|
-
|
|
1688
|
-
.template-editor__faq-save-btn:hover {
|
|
1689
|
-
background: #0284c7;
|
|
1690
|
-
}
|
|
1691
|
-
|
|
1692
|
-
.template-editor__faq-cancel-btn {
|
|
1693
|
-
padding: 8px 16px;
|
|
1694
|
-
font-family: var(--te-font);
|
|
1695
|
-
font-size: 0.8125rem;
|
|
1696
|
-
font-weight: 600;
|
|
1697
|
-
color: var(--te-ink-light);
|
|
1698
|
-
background: var(--te-surface);
|
|
1699
|
-
border: 1.5px solid var(--te-border);
|
|
1700
|
-
border-radius: 8px;
|
|
1701
|
-
cursor: pointer;
|
|
1702
|
-
transition: all 0.15s ease;
|
|
1703
|
-
}
|
|
1704
|
-
|
|
1705
|
-
.template-editor__faq-cancel-btn:hover {
|
|
1706
|
-
background: var(--te-surface-raised);
|
|
1707
|
-
border-color: var(--te-ink-muted);
|
|
1708
|
-
}
|
|
1709
|
-
|
|
1710
|
-
.template-editor__faq-add-form {
|
|
1711
|
-
display: flex;
|
|
1712
|
-
flex-direction: column;
|
|
1713
|
-
gap: 10px;
|
|
1714
|
-
padding: 16px;
|
|
1715
|
-
background: var(--te-surface-raised);
|
|
1716
|
-
border: 1.5px dashed var(--te-border);
|
|
1717
|
-
border-radius: 12px;
|
|
1718
|
-
}
|
|
1719
|
-
|
|
1720
|
-
.template-editor__faq-new-question {
|
|
1721
|
-
font-family: var(--te-font);
|
|
1722
|
-
font-size: 0.9375rem;
|
|
1723
|
-
padding: 10px 14px;
|
|
1724
|
-
background: var(--te-surface);
|
|
1725
|
-
border: 1.5px solid var(--te-border-light);
|
|
1726
|
-
border-radius: 8px;
|
|
1727
|
-
color: var(--te-ink);
|
|
1728
|
-
transition: all 0.15s ease;
|
|
1729
|
-
}
|
|
1730
|
-
|
|
1731
|
-
.template-editor__faq-new-question:hover {
|
|
1732
|
-
border-color: var(--te-border);
|
|
1733
|
-
}
|
|
1734
|
-
|
|
1735
|
-
.template-editor__faq-new-question:focus {
|
|
1736
|
-
outline: none;
|
|
1737
|
-
border-color: var(--te-sky);
|
|
1738
|
-
box-shadow: 0 0 0 3px var(--te-sky-light);
|
|
1739
|
-
}
|
|
1740
|
-
|
|
1741
|
-
.template-editor__faq-new-question::placeholder {
|
|
1742
|
-
color: var(--te-ink-muted);
|
|
1743
|
-
}
|
|
1744
|
-
|
|
1745
|
-
.template-editor__faq-new-answer {
|
|
1746
|
-
font-family: var(--te-font);
|
|
1747
|
-
font-size: 0.875rem;
|
|
1748
|
-
padding: 10px 14px;
|
|
1749
|
-
background: var(--te-surface);
|
|
1750
|
-
border: 1.5px solid var(--te-border-light);
|
|
1751
|
-
border-radius: 8px;
|
|
1752
|
-
color: var(--te-ink);
|
|
1753
|
-
resize: vertical;
|
|
1754
|
-
min-height: 60px;
|
|
1755
|
-
transition: all 0.15s ease;
|
|
1756
|
-
}
|
|
1757
|
-
|
|
1758
|
-
.template-editor__faq-new-answer:hover {
|
|
1759
|
-
border-color: var(--te-border);
|
|
1760
|
-
}
|
|
1761
|
-
|
|
1762
|
-
.template-editor__faq-new-answer:focus {
|
|
1763
|
-
outline: none;
|
|
1764
|
-
border-color: var(--te-sky);
|
|
1765
|
-
box-shadow: 0 0 0 3px var(--te-sky-light);
|
|
1766
|
-
}
|
|
1767
|
-
|
|
1768
|
-
.template-editor__faq-new-answer::placeholder {
|
|
1769
|
-
color: var(--te-ink-muted);
|
|
1770
|
-
}
|
|
1771
|
-
|
|
1772
|
-
.template-editor__faq-add-btn {
|
|
1773
|
-
display: inline-flex;
|
|
1774
|
-
align-items: center;
|
|
1775
|
-
justify-content: center;
|
|
1776
|
-
gap: 8px;
|
|
1777
|
-
padding: 10px 20px;
|
|
1778
|
-
font-family: var(--te-font);
|
|
1779
|
-
font-size: 0.875rem;
|
|
1780
|
-
font-weight: 600;
|
|
1781
|
-
color: white;
|
|
1782
|
-
background: var(--te-sky);
|
|
1783
|
-
border: none;
|
|
1784
|
-
border-radius: 8px;
|
|
1785
|
-
cursor: pointer;
|
|
1786
|
-
align-self: flex-start;
|
|
1787
|
-
transition: all 0.15s ease;
|
|
1788
|
-
}
|
|
1789
|
-
|
|
1790
|
-
.template-editor__faq-add-btn:hover:not(:disabled) {
|
|
1791
|
-
background: #0284c7;
|
|
1792
|
-
}
|
|
1793
|
-
|
|
1794
|
-
.template-editor__faq-add-btn:disabled {
|
|
1795
|
-
opacity: 0.5;
|
|
1796
|
-
cursor: not-allowed;
|
|
1797
|
-
}
|
|
1798
|
-
|
|
1799
|
-
.template-editor__faq-add-btn svg {
|
|
1800
|
-
width: 16px;
|
|
1801
|
-
height: 16px;
|
|
1802
|
-
}
|
|
1803
|
-
|
|
1804
|
-
/* Content Sections */
|
|
1805
|
-
.template-editor__card-icon--indigo {
|
|
1806
|
-
background: #eef2ff;
|
|
1807
|
-
color: #6366f1;
|
|
1808
|
-
}
|
|
1809
|
-
|
|
1810
|
-
.template-editor__sections-list {
|
|
1811
|
-
display: flex;
|
|
1812
|
-
flex-direction: column;
|
|
1813
|
-
gap: 12px;
|
|
1814
|
-
margin-bottom: 16px;
|
|
1815
|
-
}
|
|
1816
|
-
|
|
1817
|
-
.template-editor__section-item {
|
|
1818
|
-
display: flex;
|
|
1819
|
-
align-items: flex-start;
|
|
1820
|
-
gap: 12px;
|
|
1821
|
-
padding: 16px;
|
|
1822
|
-
background: var(--te-surface-raised);
|
|
1823
|
-
border: 1.5px solid var(--te-border-light);
|
|
1824
|
-
border-radius: 12px;
|
|
1825
|
-
transition: all 0.15s ease;
|
|
1826
|
-
}
|
|
1827
|
-
|
|
1828
|
-
.template-editor__section-item:hover {
|
|
1829
|
-
border-color: var(--te-border);
|
|
1830
|
-
}
|
|
1831
|
-
|
|
1832
|
-
.template-editor__section-item--editing {
|
|
1833
|
-
border-color: #6366f1;
|
|
1834
|
-
background: #eef2ff;
|
|
1835
|
-
}
|
|
1836
|
-
|
|
1837
|
-
.template-editor__section-reorder {
|
|
1838
|
-
display: flex;
|
|
1839
|
-
flex-direction: column;
|
|
1840
|
-
gap: 2px;
|
|
1841
|
-
opacity: 0;
|
|
1842
|
-
transition: opacity 0.15s ease;
|
|
1843
|
-
}
|
|
1844
|
-
|
|
1845
|
-
.template-editor__section-item:hover .template-editor__section-reorder {
|
|
1846
|
-
opacity: 1;
|
|
1847
|
-
}
|
|
1848
|
-
|
|
1849
|
-
.template-editor__section-reorder-btn {
|
|
1850
|
-
display: flex;
|
|
1851
|
-
align-items: center;
|
|
1852
|
-
justify-content: center;
|
|
1853
|
-
width: 20px;
|
|
1854
|
-
height: 16px;
|
|
1855
|
-
padding: 0;
|
|
1856
|
-
background: transparent;
|
|
1857
|
-
border: none;
|
|
1858
|
-
border-radius: 4px;
|
|
1859
|
-
cursor: pointer;
|
|
1860
|
-
color: var(--te-ink-muted);
|
|
1861
|
-
transition: all 0.15s ease;
|
|
1862
|
-
}
|
|
1863
|
-
|
|
1864
|
-
.template-editor__section-reorder-btn:hover:not(:disabled) {
|
|
1865
|
-
background: #e0e7ff;
|
|
1866
|
-
color: #6366f1;
|
|
1867
|
-
}
|
|
1868
|
-
|
|
1869
|
-
.template-editor__section-reorder-btn:disabled {
|
|
1870
|
-
opacity: 0.3;
|
|
1871
|
-
cursor: not-allowed;
|
|
1872
|
-
}
|
|
1873
|
-
|
|
1874
|
-
.template-editor__section-reorder-btn svg {
|
|
1875
|
-
width: 14px;
|
|
1876
|
-
height: 14px;
|
|
1877
|
-
}
|
|
1878
|
-
|
|
1879
|
-
.template-editor__section-toggle {
|
|
1880
|
-
display: flex;
|
|
1881
|
-
align-items: center;
|
|
1882
|
-
justify-content: center;
|
|
1883
|
-
width: 28px;
|
|
1884
|
-
height: 28px;
|
|
1885
|
-
padding: 0;
|
|
1886
|
-
background: var(--te-surface);
|
|
1887
|
-
border: 1.5px solid var(--te-border-light);
|
|
1888
|
-
border-radius: 8px;
|
|
1889
|
-
cursor: pointer;
|
|
1890
|
-
color: var(--te-ink-muted);
|
|
1891
|
-
flex-shrink: 0;
|
|
1892
|
-
transition: all 0.15s ease;
|
|
1893
|
-
}
|
|
1894
|
-
|
|
1895
|
-
.template-editor__section-toggle:hover {
|
|
1896
|
-
border-color: #6366f1;
|
|
1897
|
-
color: #6366f1;
|
|
1898
|
-
background: #eef2ff;
|
|
1899
|
-
}
|
|
1900
|
-
|
|
1901
|
-
.template-editor__section-chevron {
|
|
1902
|
-
width: 16px;
|
|
1903
|
-
height: 16px;
|
|
1904
|
-
transition: transform 0.2s ease;
|
|
1905
|
-
}
|
|
1906
|
-
|
|
1907
|
-
.template-editor__section-chevron--expanded {
|
|
1908
|
-
transform: rotate(180deg);
|
|
1909
|
-
}
|
|
1910
|
-
|
|
1911
|
-
.template-editor__section-main {
|
|
1912
|
-
flex: 1;
|
|
1913
|
-
min-width: 0;
|
|
1914
|
-
cursor: pointer;
|
|
1915
|
-
}
|
|
1916
|
-
|
|
1917
|
-
.template-editor__section-header {
|
|
1918
|
-
display: flex;
|
|
1919
|
-
flex-direction: column;
|
|
1920
|
-
gap: 4px;
|
|
1921
|
-
}
|
|
1922
|
-
|
|
1923
|
-
.template-editor__section-title {
|
|
1924
|
-
font-size: 0.9375rem;
|
|
1925
|
-
font-weight: 600;
|
|
1926
|
-
color: var(--te-ink);
|
|
1927
|
-
line-height: 1.4;
|
|
1928
|
-
}
|
|
1929
|
-
|
|
1930
|
-
.template-editor__section-preview {
|
|
1931
|
-
font-size: 0.8125rem;
|
|
1932
|
-
color: var(--te-ink-muted);
|
|
1933
|
-
line-height: 1.5;
|
|
1934
|
-
display: -webkit-box;
|
|
1935
|
-
-webkit-line-clamp: 2;
|
|
1936
|
-
-webkit-box-orient: vertical;
|
|
1937
|
-
overflow: hidden;
|
|
1938
|
-
}
|
|
1939
|
-
|
|
1940
|
-
.template-editor__section-content {
|
|
1941
|
-
margin-top: 12px;
|
|
1942
|
-
padding-top: 12px;
|
|
1943
|
-
border-top: 1px solid var(--te-border-light);
|
|
1944
|
-
font-size: 0.875rem;
|
|
1945
|
-
color: var(--te-ink-light);
|
|
1946
|
-
line-height: 1.7;
|
|
1947
|
-
white-space: pre-wrap;
|
|
1948
|
-
animation: sectionExpand 0.2s ease-out;
|
|
1949
|
-
}
|
|
1950
|
-
|
|
1951
|
-
@keyframes sectionExpand {
|
|
1952
|
-
from {
|
|
1953
|
-
opacity: 0;
|
|
1954
|
-
max-height: 0;
|
|
1955
|
-
}
|
|
1956
|
-
to {
|
|
1957
|
-
opacity: 1;
|
|
1958
|
-
max-height: 1000px;
|
|
1959
|
-
}
|
|
1960
|
-
}
|
|
1961
|
-
|
|
1962
|
-
.template-editor__section-actions {
|
|
1963
|
-
display: flex;
|
|
1964
|
-
gap: 6px;
|
|
1965
|
-
opacity: 0;
|
|
1966
|
-
transition: opacity 0.15s ease;
|
|
1967
|
-
flex-shrink: 0;
|
|
1968
|
-
}
|
|
1969
|
-
|
|
1970
|
-
.template-editor__section-item:hover .template-editor__section-actions {
|
|
1971
|
-
opacity: 1;
|
|
1972
|
-
}
|
|
1973
|
-
|
|
1974
|
-
.template-editor__section-action-btn {
|
|
1975
|
-
display: flex;
|
|
1976
|
-
align-items: center;
|
|
1977
|
-
justify-content: center;
|
|
1978
|
-
width: 32px;
|
|
1979
|
-
height: 32px;
|
|
1980
|
-
padding: 0;
|
|
1981
|
-
background: var(--te-surface);
|
|
1982
|
-
border: 1.5px solid var(--te-border-light);
|
|
1983
|
-
border-radius: 8px;
|
|
1984
|
-
cursor: pointer;
|
|
1985
|
-
color: var(--te-ink-muted);
|
|
1986
|
-
transition: all 0.15s ease;
|
|
1987
|
-
}
|
|
1988
|
-
|
|
1989
|
-
.template-editor__section-action-btn:hover {
|
|
1990
|
-
border-color: #6366f1;
|
|
1991
|
-
color: #6366f1;
|
|
1992
|
-
background: #eef2ff;
|
|
1993
|
-
}
|
|
1994
|
-
|
|
1995
|
-
.template-editor__section-action-btn--delete:hover {
|
|
1996
|
-
border-color: var(--te-rose);
|
|
1997
|
-
color: var(--te-rose);
|
|
1998
|
-
background: var(--te-rose-light);
|
|
1999
|
-
}
|
|
2000
|
-
|
|
2001
|
-
.template-editor__section-action-btn svg {
|
|
2002
|
-
width: 16px;
|
|
2003
|
-
height: 16px;
|
|
2004
|
-
}
|
|
2005
|
-
|
|
2006
|
-
.template-editor__section-edit-form {
|
|
2007
|
-
flex: 1;
|
|
2008
|
-
display: flex;
|
|
2009
|
-
flex-direction: column;
|
|
2010
|
-
gap: 10px;
|
|
2011
|
-
}
|
|
2012
|
-
|
|
2013
|
-
.template-editor__section-edit-title {
|
|
2014
|
-
font-family: var(--te-font);
|
|
2015
|
-
font-size: 0.9375rem;
|
|
2016
|
-
font-weight: 600;
|
|
2017
|
-
padding: 10px 14px;
|
|
2018
|
-
background: var(--te-surface);
|
|
2019
|
-
border: 1.5px solid var(--te-border);
|
|
2020
|
-
border-radius: 8px;
|
|
2021
|
-
color: var(--te-ink);
|
|
2022
|
-
}
|
|
2023
|
-
|
|
2024
|
-
.template-editor__section-edit-title:focus {
|
|
2025
|
-
outline: none;
|
|
2026
|
-
border-color: #6366f1;
|
|
2027
|
-
}
|
|
2028
|
-
|
|
2029
|
-
.template-editor__section-edit-content {
|
|
2030
|
-
font-family: var(--te-font);
|
|
2031
|
-
font-size: 0.875rem;
|
|
2032
|
-
padding: 10px 14px;
|
|
2033
|
-
background: var(--te-surface);
|
|
2034
|
-
border: 1.5px solid var(--te-border);
|
|
2035
|
-
border-radius: 8px;
|
|
2036
|
-
color: var(--te-ink);
|
|
2037
|
-
resize: vertical;
|
|
2038
|
-
min-height: 120px;
|
|
2039
|
-
line-height: 1.6;
|
|
2040
|
-
}
|
|
2041
|
-
|
|
2042
|
-
.template-editor__section-edit-content:focus {
|
|
2043
|
-
outline: none;
|
|
2044
|
-
border-color: #6366f1;
|
|
2045
|
-
}
|
|
2046
|
-
|
|
2047
|
-
.template-editor__section-edit-actions {
|
|
2048
|
-
display: flex;
|
|
2049
|
-
gap: 8px;
|
|
2050
|
-
justify-content: flex-end;
|
|
2051
|
-
}
|
|
2052
|
-
|
|
2053
|
-
.template-editor__section-save-btn {
|
|
2054
|
-
padding: 8px 16px;
|
|
2055
|
-
font-family: var(--te-font);
|
|
2056
|
-
font-size: 0.8125rem;
|
|
2057
|
-
font-weight: 600;
|
|
2058
|
-
color: white;
|
|
2059
|
-
background: #6366f1;
|
|
2060
|
-
border: none;
|
|
2061
|
-
border-radius: 8px;
|
|
2062
|
-
cursor: pointer;
|
|
2063
|
-
transition: background 0.15s ease;
|
|
2064
|
-
}
|
|
2065
|
-
|
|
2066
|
-
.template-editor__section-save-btn:hover {
|
|
2067
|
-
background: #4f46e5;
|
|
2068
|
-
}
|
|
2069
|
-
|
|
2070
|
-
.template-editor__section-cancel-btn {
|
|
2071
|
-
padding: 8px 16px;
|
|
2072
|
-
font-family: var(--te-font);
|
|
2073
|
-
font-size: 0.8125rem;
|
|
2074
|
-
font-weight: 600;
|
|
2075
|
-
color: var(--te-ink-light);
|
|
2076
|
-
background: var(--te-surface);
|
|
2077
|
-
border: 1.5px solid var(--te-border);
|
|
2078
|
-
border-radius: 8px;
|
|
2079
|
-
cursor: pointer;
|
|
2080
|
-
transition: all 0.15s ease;
|
|
2081
|
-
}
|
|
2082
|
-
|
|
2083
|
-
.template-editor__section-cancel-btn:hover {
|
|
2084
|
-
background: var(--te-surface-raised);
|
|
2085
|
-
border-color: var(--te-ink-muted);
|
|
2086
|
-
}
|
|
2087
|
-
|
|
2088
|
-
.template-editor__section-add-form {
|
|
2089
|
-
display: flex;
|
|
2090
|
-
flex-direction: column;
|
|
2091
|
-
gap: 10px;
|
|
2092
|
-
padding: 16px;
|
|
2093
|
-
background: var(--te-surface-raised);
|
|
2094
|
-
border: 1.5px dashed var(--te-border);
|
|
2095
|
-
border-radius: 12px;
|
|
2096
|
-
}
|
|
2097
|
-
|
|
2098
|
-
.template-editor__section-new-title {
|
|
2099
|
-
font-family: var(--te-font);
|
|
2100
|
-
font-size: 0.9375rem;
|
|
2101
|
-
font-weight: 600;
|
|
2102
|
-
padding: 10px 14px;
|
|
2103
|
-
background: var(--te-surface);
|
|
2104
|
-
border: 1.5px solid var(--te-border-light);
|
|
2105
|
-
border-radius: 8px;
|
|
2106
|
-
color: var(--te-ink);
|
|
2107
|
-
transition: all 0.15s ease;
|
|
2108
|
-
}
|
|
2109
|
-
|
|
2110
|
-
.template-editor__section-new-title:hover {
|
|
2111
|
-
border-color: var(--te-border);
|
|
2112
|
-
}
|
|
2113
|
-
|
|
2114
|
-
.template-editor__section-new-title:focus {
|
|
2115
|
-
outline: none;
|
|
2116
|
-
border-color: #6366f1;
|
|
2117
|
-
box-shadow: 0 0 0 3px #eef2ff;
|
|
2118
|
-
}
|
|
2119
|
-
|
|
2120
|
-
.template-editor__section-new-title::placeholder {
|
|
2121
|
-
color: var(--te-ink-muted);
|
|
2122
|
-
font-weight: 400;
|
|
2123
|
-
}
|
|
2124
|
-
|
|
2125
|
-
.template-editor__section-new-content {
|
|
2126
|
-
font-family: var(--te-font);
|
|
2127
|
-
font-size: 0.875rem;
|
|
2128
|
-
padding: 10px 14px;
|
|
2129
|
-
background: var(--te-surface);
|
|
2130
|
-
border: 1.5px solid var(--te-border-light);
|
|
2131
|
-
border-radius: 8px;
|
|
2132
|
-
color: var(--te-ink);
|
|
2133
|
-
resize: vertical;
|
|
2134
|
-
min-height: 100px;
|
|
2135
|
-
line-height: 1.6;
|
|
2136
|
-
transition: all 0.15s ease;
|
|
2137
|
-
}
|
|
2138
|
-
|
|
2139
|
-
.template-editor__section-new-content:hover {
|
|
2140
|
-
border-color: var(--te-border);
|
|
2141
|
-
}
|
|
2142
|
-
|
|
2143
|
-
.template-editor__section-new-content:focus {
|
|
2144
|
-
outline: none;
|
|
2145
|
-
border-color: #6366f1;
|
|
2146
|
-
box-shadow: 0 0 0 3px #eef2ff;
|
|
2147
|
-
}
|
|
2148
|
-
|
|
2149
|
-
.template-editor__section-new-content::placeholder {
|
|
2150
|
-
color: var(--te-ink-muted);
|
|
2151
|
-
}
|
|
2152
|
-
|
|
2153
|
-
.template-editor__section-add-btn {
|
|
2154
|
-
display: inline-flex;
|
|
2155
|
-
align-items: center;
|
|
2156
|
-
justify-content: center;
|
|
2157
|
-
gap: 8px;
|
|
2158
|
-
padding: 10px 20px;
|
|
2159
|
-
font-family: var(--te-font);
|
|
2160
|
-
font-size: 0.875rem;
|
|
2161
|
-
font-weight: 600;
|
|
2162
|
-
color: white;
|
|
2163
|
-
background: #6366f1;
|
|
2164
|
-
border: none;
|
|
2165
|
-
border-radius: 8px;
|
|
2166
|
-
cursor: pointer;
|
|
2167
|
-
align-self: flex-start;
|
|
2168
|
-
transition: all 0.15s ease;
|
|
2169
|
-
}
|
|
2170
|
-
|
|
2171
|
-
.template-editor__section-add-btn:hover:not(:disabled) {
|
|
2172
|
-
background: #4f46e5;
|
|
2173
|
-
}
|
|
2174
|
-
|
|
2175
|
-
.template-editor__section-add-btn:disabled {
|
|
2176
|
-
opacity: 0.5;
|
|
2177
|
-
cursor: not-allowed;
|
|
2178
|
-
}
|
|
2179
|
-
|
|
2180
|
-
.template-editor__section-add-btn svg {
|
|
2181
|
-
width: 16px;
|
|
2182
|
-
height: 16px;
|
|
2183
|
-
}
|
|
2184
|
-
|
|
2185
|
-
/* Responsive */
|
|
2186
|
-
@media (max-width: 900px) {
|
|
2187
|
-
.template-editor__hero {
|
|
2188
|
-
grid-template-columns: 1fr;
|
|
2189
|
-
}
|
|
2190
|
-
|
|
2191
|
-
.template-editor__thumbnail-area {
|
|
2192
|
-
flex-direction: row;
|
|
2193
|
-
align-items: flex-start;
|
|
2194
|
-
}
|
|
2195
|
-
|
|
2196
|
-
.template-editor__thumbnail {
|
|
2197
|
-
width: 120px;
|
|
2198
|
-
height: 90px;
|
|
2199
|
-
}
|
|
2200
|
-
|
|
2201
|
-
.template-editor__thumbnail-input {
|
|
2202
|
-
flex: 1;
|
|
2203
|
-
}
|
|
2204
|
-
|
|
2205
|
-
.template-editor__grid {
|
|
2206
|
-
grid-template-columns: 1fr;
|
|
2207
|
-
}
|
|
2208
|
-
|
|
2209
|
-
.template-editor__metadata {
|
|
2210
|
-
grid-template-columns: 1fr;
|
|
2211
|
-
}
|
|
2212
|
-
|
|
2213
|
-
.template-editor__facets-grid {
|
|
2214
|
-
grid-template-columns: 1fr;
|
|
2215
|
-
}
|
|
2216
|
-
}
|
|
2217
|
-
`;
|