@microsoft/windows-admin-center-sdk 4.167.0 → 4.232.0
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/angular/esm2020/src/controls/accordion/accordion-panel/accordion-panel.component.mjs +36 -12
- package/angular/esm2020/src/controls/form/form-field/array/array-form-field-accessibility-manager.service.mjs +59 -0
- package/angular/esm2020/src/controls/form/form-field/array/array-form-field.component.mjs +24 -35
- package/angular/esm2020/src/controls/form/form-field/form-field-accessibility-manager-base.service.mjs +105 -0
- package/angular/esm2020/src/controls/form/form-field/list/list-form-field-accessibility-manager.service.mjs +38 -0
- package/angular/esm2020/src/controls/form/form-field/list/list-form-field.component.mjs +56 -38
- package/angular/esm2020/src/controls/form/form-field/ordered-list/ordered-list-form-field-accessibility-manager.service.mjs +54 -0
- package/angular/esm2020/src/controls/form/form-field/ordered-list/ordered-list-form-field.component.mjs +67 -67
- package/angular/esm2020/src/controls/form/forms.module.mjs +19 -2
- package/angular/esm2020/src/controls/page-alert-bar/page-alert-bar.component.mjs +4 -4
- package/angular/esm2020/src/controls/snap-in-extension/snap-in-extension.component.mjs +1 -1
- package/angular/esm2020/src/controls/wizard/models/wizard-step-snap-in-output.mjs +1 -1
- package/angular/esm2020/src/controls/wizard-lite/wizard-navigation-button/wizard-navigation-button.component.mjs +3 -3
- package/angular/esm2020/src/data/extension-broker/snap-in-listener.mjs +80 -0
- package/angular/esm2020/src/data/index.mjs +2 -1
- package/angular/fesm2015/microsoft-windows-admin-center-sdk-angular.mjs +539 -167
- package/angular/fesm2015/microsoft-windows-admin-center-sdk-angular.mjs.map +1 -1
- package/angular/fesm2020/microsoft-windows-admin-center-sdk-angular.mjs +521 -167
- package/angular/fesm2020/microsoft-windows-admin-center-sdk-angular.mjs.map +1 -1
- package/angular/src/controls/accordion/accordion-panel/accordion-panel.component.d.ts +13 -4
- package/angular/src/controls/form/form-field/array/array-form-field-accessibility-manager.service.d.ts +38 -0
- package/angular/src/controls/form/form-field/array/array-form-field.component.d.ts +3 -1
- package/angular/src/controls/form/form-field/form-field-accessibility-manager-base.service.d.ts +37 -0
- package/angular/src/controls/form/form-field/list/list-form-field-accessibility-manager.service.d.ts +25 -0
- package/angular/src/controls/form/form-field/list/list-form-field.component.d.ts +12 -2
- package/angular/src/controls/form/form-field/ordered-list/ordered-list-form-field-accessibility-manager.service.d.ts +37 -0
- package/angular/src/controls/form/form-field/ordered-list/ordered-list-form-field.component.d.ts +12 -8
- package/angular/src/controls/wizard/models/wizard-step-snap-in-output.d.ts +1 -1
- package/{core → angular/src}/data/extension-broker/snap-in-listener.d.ts +49 -46
- package/angular/src/data/index.d.ts +1 -0
- package/core/async/cancellation.js +312 -0
- package/core/async/index.js +312 -0
- package/core/async/progress.js +312 -0
- package/core/azure/azure-constants.js +312 -0
- package/core/azure/azure-logging.js +312 -0
- package/core/azure/azure-manager.js +312 -0
- package/core/azure/models/aadAppConfig-data.js +312 -0
- package/core/azure/models/azureArcStatusEnum.js +312 -0
- package/core/azure/models/azureTokenResult-data.js +312 -0
- package/core/azure/resources/deployment-operation-request-body.js +312 -0
- package/core/azure/resources/deployment-operation-response.js +312 -0
- package/core/azure/resources/location-data.js +315 -0
- package/core/azure/resources/resource-group-data.js +312 -0
- package/core/azure/resources/subscription-data.js +312 -0
- package/core/base/data-store/browser-storage-data-store.js +315 -0
- package/core/base/data-store/cached-data-store.js +312 -0
- package/core/base/data-store/data-store.js +312 -0
- package/core/base/data-store/local-data-store.js +312 -0
- package/core/base/data-store/memory-data-store.js +312 -0
- package/core/base/data-store/session-data-store.js +312 -0
- package/core/base/date/date-like.js +312 -0
- package/core/base/date/date-range.js +312 -0
- package/core/base/date/date-time.js +312 -0
- package/core/base/date/date-type.js +312 -0
- package/core/base/date/time-unit.js +312 -0
- package/core/base/decorators/base.js +312 -0
- package/core/base/decorators/debounce.decorators.js +312 -0
- package/core/base/decorators/delay.decorator.js +315 -0
- package/core/base/decorators/yield.decorator.js +312 -0
- package/core/base/environment.js +312 -0
- package/core/base/json.js +312 -0
- package/core/base/msft-sme.mock.js +316 -0
- package/core/base/polyfills/array.js +315 -0
- package/core/base/polyfills/string.js +312 -0
- package/core/base/rxjs-lifetime-manager.js +312 -0
- package/core/base/utilities.js +312 -0
- package/core/base/versioned-object.js +312 -0
- package/core/data/accessibility-manager.js +312 -0
- package/core/data/active-directory/active-directory.js +312 -0
- package/core/data/active-directory/models/account-info.js +312 -0
- package/core/data/active-directory/models/active-directory-search-options.js +312 -0
- package/core/data/active-directory/models/search-type.js +312 -0
- package/core/data/animation.js +312 -0
- package/core/data/app-context.js +312 -0
- package/core/data/asset-manager.js +315 -0
- package/core/data/base64-array-buffer.js +312 -0
- package/core/data/batch-connection.js +312 -0
- package/core/data/cim-connection.js +312 -0
- package/core/data/cim-stream.js +312 -0
- package/core/data/cim.js +312 -0
- package/core/data/column-picker.js +312 -0
- package/core/data/cookie.js +312 -0
- package/core/data/core-environment.js +315 -0
- package/core/data/crypto.js +312 -0
- package/core/data/deployment-share.js +312 -0
- package/core/data/disposable.js +312 -0
- package/core/data/electron.js +315 -0
- package/core/data/error-extended.js +312 -0
- package/core/data/extension-broker/dialog-listener.js +312 -0
- package/core/data/extension-broker/extension-broker.js +312 -0
- package/core/data/extension-broker/extension-listener.js +312 -0
- package/core/data/extension-broker/model/extension-broker-request-payload.js +312 -0
- package/core/data/extension-broker/model/extension-broker-response-error.js +312 -0
- package/core/data/extension-broker/model/extension-broker-response-payload.js +312 -0
- package/core/data/extension-broker/model/extension-entries.js +315 -0
- package/core/data/extension-broker/model/extension-instance.js +315 -0
- package/core/data/extension-broker/model/extension-rect.js +312 -0
- package/core/data/extension-broker/model/extension-search-options.js +312 -0
- package/core/data/extension-broker/service-listener.js +312 -0
- package/core/data/extension-broker/worker-listener.js +312 -0
- package/core/data/extension-broker/worker-set.js +312 -0
- package/core/data/file-transfer.js +312 -0
- package/core/data/gateway-connection.js +312 -0
- package/core/data/gateway-status.js +312 -0
- package/core/data/gateway-url-builder.js +312 -0
- package/core/data/gateway-url-translator.js +316 -0
- package/core/data/gateway-urls.js +312 -0
- package/core/data/globalization.js +315 -0
- package/core/data/http-constants.js +315 -0
- package/core/data/http.js +312 -0
- package/core/data/jobs/jobs-manager.js +312 -0
- package/core/data/jobs/models/job-credentials.js +312 -0
- package/core/data/jobs/models/job-node.js +312 -0
- package/core/data/jobs/models/job-paginated-response.js +315 -0
- package/core/data/jobs/models/job-pagination-options.js +315 -0
- package/core/data/jobs/models/job.js +312 -0
- package/core/data/jobs/models/node-job.js +312 -0
- package/core/data/jobs/models/powershell-job.js +312 -0
- package/core/data/language.js +315 -0
- package/core/data/lifetime-data.js +312 -0
- package/core/data/localization-manager.js +312 -0
- package/core/data/native-q.js +312 -0
- package/core/data/net.d.ts.map +1 -1
- package/core/data/net.js +313 -1
- package/core/data/net.js.map +1 -1
- package/core/data/node-connection.d.ts.map +1 -1
- package/core/data/node-connection.js +312 -0
- package/core/data/node-connection.js.map +1 -1
- package/core/data/node-extension-install.js +312 -0
- package/core/data/powershell-alternate.js +312 -0
- package/core/data/powershell-batch.js +312 -0
- package/core/data/powershell-connection.js +312 -0
- package/core/data/powershell-crypto.js +312 -0
- package/core/data/powershell-stream.js +312 -0
- package/core/data/powershell.js +312 -0
- package/core/data/query-cache.js +312 -0
- package/core/data/resource-cache.js +312 -0
- package/core/data/schedule-reboot.js +312 -0
- package/core/data/settings-manager.js +312 -0
- package/core/data/settings-manger.mock.js +312 -0
- package/core/data/sme-extension.js +312 -0
- package/core/data/ssh-stream.js +312 -0
- package/core/data/units.js +312 -0
- package/core/data/uri-builder.js +315 -0
- package/core/data/wdac-operations.js +312 -0
- package/core/data/websocket-stream.js +312 -0
- package/core/diagnostics/error-monitor.js +312 -0
- package/core/diagnostics/log-level.js +312 -0
- package/core/diagnostics/log-record.js +312 -0
- package/core/diagnostics/logging-constants.js +312 -0
- package/core/diagnostics/logging.js +312 -0
- package/core/diagnostics/logging.mock.js +312 -0
- package/core/diagnostics/sme-web-telemetry-models.js +312 -0
- package/core/diagnostics/sme-web-telemetry.d.ts +1 -2
- package/core/diagnostics/sme-web-telemetry.d.ts.map +1 -1
- package/core/diagnostics/sme-web-telemetry.js +336 -15
- package/core/diagnostics/sme-web-telemetry.js.map +1 -1
- package/core/diagnostics/telemetry-control-type.js +312 -0
- package/core/diagnostics/telemetry-options.js +312 -0
- package/core/diagnostics/telemetry-record.js +312 -0
- package/core/dom/dom.js +312 -0
- package/core/frame/frame-connection.js +312 -0
- package/core/frame/frame-connection.mock.js +312 -0
- package/core/frame/shell-navigation-connection.js +312 -0
- package/core/generated/powershell-scripts.js +312 -0
- package/core/generated/strings.js +312 -0
- package/core/host/host-core-manager.js +312 -0
- package/core/host/host-core-message-type.js +312 -0
- package/core/host/host-core-messages.js +312 -0
- package/core/index.d.ts +0 -1
- package/core/index.d.ts.map +1 -1
- package/core/index.js +312 -1
- package/core/index.js.map +1 -1
- package/core/manifest/environment-modules.js +312 -0
- package/core/manifest/manifest-loader.js +312 -0
- package/core/notification/client-notification-instance.js +312 -0
- package/core/notification/client-notification.js +312 -0
- package/core/notification/notification-connection.js +312 -0
- package/core/notification/notification-link-type.js +312 -0
- package/core/notification/notification-manager.js +312 -0
- package/core/notification/notification-message.js +312 -0
- package/core/notification/notification-state.js +312 -0
- package/core/notification/notification.js +312 -0
- package/core/notification/powershell-notification.js +312 -0
- package/core/notification/socket-signalr.js +312 -0
- package/core/notification/work-item-connection.js +312 -0
- package/core/notification/work-item-manager.js +312 -0
- package/core/notification/work-item-request.js +312 -0
- package/core/performance/performance-profile-data-type.js +312 -0
- package/core/performance/performance-profile-data.js +312 -0
- package/core/performance/performance-profile-database.js +312 -0
- package/core/performance/performance-profile-record.js +312 -0
- package/core/performance/performance-profile.d.ts.map +1 -1
- package/core/performance/performance-profile.js +321 -9
- package/core/performance/performance-profile.js.map +1 -1
- package/core/performance/performance-tracker.js +312 -0
- package/core/polyfills.js +312 -0
- package/core/resources/scripts/public/crypto/Get-DecryptedDataFromNode.ps1 +216 -0
- package/core/resources/scripts/public/crypto/Get-EncryptionJWKOnNode.ps1 +216 -0
- package/core/resources/scripts/public/inventory/Get-CimWin32LogicalDisk.ps1 +218 -0
- package/core/resources/scripts/public/inventory/Get-CimWin32NetworkAdapter.ps1 +216 -0
- package/core/resources/scripts/public/inventory/Get-CimWin32PhysicalMemory.ps1 +216 -0
- package/core/resources/scripts/public/inventory/Get-CimWin32Processor.ps1 +216 -0
- package/core/resources/scripts/public/inventory/Get-ClusterInventory.ps1 +216 -0
- package/core/resources/scripts/public/inventory/Get-ClusterNodes.ps1 +216 -0
- package/core/resources/scripts/public/inventory/Get-ServerInventory.ps1 +216 -0
- package/core/rpc/alive/rpc-alive-client.js +312 -0
- package/core/rpc/alive/rpc-alive-handler.js +312 -0
- package/core/rpc/alive/rpc-alive-model.js +315 -0
- package/core/rpc/alive/rpc-alive-subject-server.js +312 -0
- package/core/rpc/alive/rpc-observable-alive-client.js +312 -0
- package/core/rpc/alive/rpc-observable-alive-model.js +312 -0
- package/core/rpc/alive/rpc-observable-alive-server.js +312 -0
- package/core/rpc/azure/rpc-azure-model.js +312 -0
- package/core/rpc/azure/rpc-azure-request-client.js +312 -0
- package/core/rpc/azure/rpc-azure-request-handler.js +312 -0
- package/core/rpc/azure/rpc-azure-request-subject-server.js +312 -0
- package/core/rpc/azure/rpc-azure-response-client.js +312 -0
- package/core/rpc/azure/rpc-azure-response-handler.js +315 -0
- package/core/rpc/credssp/rpc-credssp-model.js +312 -0
- package/core/rpc/credssp/rpc-credssp-request-client.js +312 -0
- package/core/rpc/credssp/rpc-credssp-request-handler.js +315 -0
- package/core/rpc/credssp/rpc-credssp-request-subject-server.js +312 -0
- package/core/rpc/credssp/rpc-credssp-response-client.js +312 -0
- package/core/rpc/credssp/rpc-credssp-response-handler.js +315 -0
- package/core/rpc/dialog/rpc-dialog-client.js +312 -0
- package/core/rpc/dialog/rpc-dialog-handler.js +312 -0
- package/core/rpc/dialog/rpc-dialog-model.js +312 -0
- package/core/rpc/dialog/rpc-dialog-subject-server.js +315 -0
- package/core/rpc/electron/rpc-electron-model.js +312 -0
- package/core/rpc/electron/rpc-electron-request-client.js +312 -0
- package/core/rpc/electron/rpc-electron-request-handler.js +312 -0
- package/core/rpc/electron/rpc-electron-request-subject-server.js +312 -0
- package/core/rpc/electron/rpc-electron-response-client.js +312 -0
- package/core/rpc/electron/rpc-electron-response-handler.js +312 -0
- package/core/rpc/elevate/rpc-observable-elevate-client.js +312 -0
- package/core/rpc/elevate/rpc-observable-elevate-model.js +312 -0
- package/core/rpc/elevate/rpc-observable-elevate-server.js +312 -0
- package/core/rpc/error-monitor/rpc-observable-error-monitor-client.js +312 -0
- package/core/rpc/error-monitor/rpc-observable-error-monitor-model.js +315 -0
- package/core/rpc/error-monitor/rpc-observable-error-monitor-server.js +312 -0
- package/core/rpc/extension-broker/rpc-extension-broker-model.js +315 -0
- package/core/rpc/extension-broker/rpc-extension-broker-module-request-subject-server.js +315 -0
- package/core/rpc/extension-broker/rpc-extension-broker-request-client.js +312 -0
- package/core/rpc/extension-broker/rpc-extension-broker-request-handler.js +312 -0
- package/core/rpc/extension-broker/rpc-extension-broker-request-subject-server.js +312 -0
- package/core/rpc/extension-broker/rpc-extension-broker-response-client.js +312 -0
- package/core/rpc/extension-broker/rpc-extension-broker-response-handler.js +312 -0
- package/core/rpc/extension-data/rpc-observable-extension-data-client.js +312 -0
- package/core/rpc/extension-data/rpc-observable-extension-data-model.js +312 -0
- package/core/rpc/extension-data/rpc-observable-extension-data-server.js +312 -0
- package/core/rpc/forward/rpc-forward-auto-client.js +312 -0
- package/core/rpc/forward/rpc-forward-down-client.js +315 -0
- package/core/rpc/forward/rpc-forward-down-handler.js +312 -0
- package/core/rpc/forward/rpc-forward-model.js +312 -0
- package/core/rpc/forward/rpc-forward-up-client.js +312 -0
- package/core/rpc/forward/rpc-forward-up-handler.js +312 -0
- package/core/rpc/forward/rpc-forward-up-subject-server.js +312 -0
- package/core/rpc/log/rpc-log-client.js +312 -0
- package/core/rpc/log/rpc-log-handler.js +312 -0
- package/core/rpc/log/rpc-log-model.js +312 -0
- package/core/rpc/log/rpc-log-subject-server.js +312 -0
- package/core/rpc/notification/rpc-notification-client.js +312 -0
- package/core/rpc/notification/rpc-notification-handler.js +312 -0
- package/core/rpc/notification/rpc-notification-model.js +312 -0
- package/core/rpc/notification/rpc-notification-subject-server.js +312 -0
- package/core/rpc/overlay/rpc-overlay-close-client.js +312 -0
- package/core/rpc/overlay/rpc-overlay-close-handler.js +312 -0
- package/core/rpc/overlay/rpc-overlay-model.js +312 -0
- package/core/rpc/overlay/rpc-overlay-open-client.js +315 -0
- package/core/rpc/overlay/rpc-overlay-open-handler.js +312 -0
- package/core/rpc/overlay/rpc-overlay-open-subject-server.js +312 -0
- package/core/rpc/performance/rpc-observable-performance-client.js +312 -0
- package/core/rpc/performance/rpc-observable-performance-config-client.js +312 -0
- package/core/rpc/performance/rpc-observable-performance-config-server.js +312 -0
- package/core/rpc/performance/rpc-observable-performance-model.js +312 -0
- package/core/rpc/performance/rpc-observable-performance-server.js +312 -0
- package/core/rpc/report/rpc-report-client.js +312 -0
- package/core/rpc/report/rpc-report-handler.js +312 -0
- package/core/rpc/report/rpc-report-model.js +312 -0
- package/core/rpc/report/rpc-report-subject-server.js +315 -0
- package/core/rpc/rpc-base.js +312 -0
- package/core/rpc/rpc-channel.js +312 -0
- package/core/rpc/rpc-forwarder.js +312 -0
- package/core/rpc/rpc-inbound-client.js +312 -0
- package/core/rpc/rpc-inbound.js +312 -0
- package/core/rpc/rpc-manager.js +312 -0
- package/core/rpc/rpc-module-subject-server.js +315 -0
- package/core/rpc/rpc-observable-client.js +312 -0
- package/core/rpc/rpc-observable-request.js +312 -0
- package/core/rpc/rpc-observable-result.js +312 -0
- package/core/rpc/rpc-observable-server.js +312 -0
- package/core/rpc/rpc-outbound-client.js +312 -0
- package/core/rpc/rpc-outbound.js +312 -0
- package/core/rpc/rpc-subject-server.js +312 -0
- package/core/rpc/rpc.js +312 -0
- package/core/rpc/seek/rpc-seek-client.js +312 -0
- package/core/rpc/seek/rpc-seek-handler.js +315 -0
- package/core/rpc/seek/rpc-seek-model.js +312 -0
- package/core/rpc/settings/rpc-settings-client.js +315 -0
- package/core/rpc/settings/rpc-settings-handler.js +312 -0
- package/core/rpc/settings/rpc-settings-model.js +312 -0
- package/core/rpc/settings/rpc-settings-subject-server.js +312 -0
- package/core/rpc/shell-navigate/rpc-shell-navigate-client.js +312 -0
- package/core/rpc/shell-navigate/rpc-shell-navigate-handler.js +312 -0
- package/core/rpc/shell-navigate/rpc-shell-navigate-model.js +312 -0
- package/core/rpc/shell-navigate/rpc-shell-navigate-subject-server.js +312 -0
- package/core/rpc/sme-extension/rpc-sme-extension-model.js +315 -0
- package/core/rpc/sme-extension/rpc-sme-extension-request-client.js +312 -0
- package/core/rpc/sme-extension/rpc-sme-extension-request-handler.js +312 -0
- package/core/rpc/sme-extension/rpc-sme-extension-request-subject-server.js +312 -0
- package/core/rpc/sme-extension/rpc-sme-extension-response-client.js +312 -0
- package/core/rpc/sme-extension/rpc-sme-extension-response-handler.js +312 -0
- package/core/rpc/telemetry/rpc-telemetry-client.js +312 -0
- package/core/rpc/telemetry/rpc-telemetry-handler.js +315 -0
- package/core/rpc/telemetry/rpc-telemetry-model.js +312 -0
- package/core/rpc/telemetry/rpc-telemetry-subject-server.js +312 -0
- package/core/rpc/update-data/rpc-update-data-client.js +312 -0
- package/core/rpc/update-data/rpc-update-data-handler.js +312 -0
- package/core/rpc/update-data/rpc-update-data-model.js +312 -0
- package/core/rpc/update-data/rpc-update-data-subject-server.js +312 -0
- package/core/rpc/update-theme/rpc-observable-update-theme-client.js +312 -0
- package/core/rpc/update-theme/rpc-observable-update-theme-model.js +312 -0
- package/core/rpc/update-theme/rpc-observable-update-theme-server.js +312 -0
- package/core/rpc/work-item/rpc-work-item-client.js +312 -0
- package/core/rpc/work-item/rpc-work-item-handler.js +312 -0
- package/core/rpc/work-item/rpc-work-item-model.js +312 -0
- package/core/rpc/work-item/rpc-work-item-subject-server.js +312 -0
- package/core/rpc/work-item-find/rpc-work-item-find-client.js +312 -0
- package/core/rpc/work-item-find/rpc-work-item-find-handler.js +312 -0
- package/core/rpc/work-item-find/rpc-work-item-find-model.js +312 -0
- package/core/rpc/work-item-find/rpc-work-item-find-subject-server.js +312 -0
- package/core/security/active-connection.js +312 -0
- package/core/security/authorization-manager.js +312 -0
- package/core/security/connection-manager-settings/common-connection-settings.js +315 -0
- package/core/security/connection-manager-settings/connection-settings.js +312 -0
- package/core/security/connection-manager.js +312 -0
- package/core/security/connection-stream.js +312 -0
- package/core/security/connection.js +312 -0
- package/core/security/credssp-manager.js +312 -0
- package/core/security/sign-on-manager.js +312 -0
- package/core/security/tag-manager.js +312 -0
- package/core/security/tool-condition-validator.js +312 -0
- package/core/security/tool-connection-query.js +312 -0
- package/core/security/user-principal.js +312 -0
- package/core/shared/cluster-inventory/cluster-inventory-cache.js +312 -0
- package/core/shared/cluster-inventory/cluster-inventory.js +312 -0
- package/core/shared/cluster-inventory/cluster-node-inventory.js +312 -0
- package/core/shared/gateway-inventory/gateway-inventory-cache.js +312 -0
- package/core/shared/gateway-inventory/gateway-inventory-detail-cache.js +312 -0
- package/core/shared/gateway-inventory/gateway-inventory-detail.js +312 -0
- package/core/shared/gateway-inventory/gateway-inventory.js +312 -0
- package/core/shared/inventory-query-caches.js +312 -0
- package/core/shared/server-inventory/server-inventory-cache.js +312 -0
- package/core/shared/server-inventory/server-inventory-detail-cache.js +312 -0
- package/core/shared/server-inventory/server-inventory-detail.js +315 -0
- package/core/shared/server-inventory/server-inventory.js +312 -0
- package/core/shared/shared-cache.js +312 -0
- package/core/shared/tool-inventory/tool-inventory-cache.js +312 -0
- package/core/shared/tool-inventory/tool-inventory.js +312 -0
- package/core/special.js +315 -0
- package/core/test-utilities/accessibility-tester.js +312 -0
- package/core/test-utilities/console.mock.js +312 -0
- package/core/test-utilities/jasmine-axe-matcher.js +312 -0
- package/core/test-utilities/wait-async.js +312 -0
- package/core/test.js +312 -0
- package/core/testing.js +312 -0
- package/core/workflow/persistent-local-storage.js +312 -0
- package/core/workflow/persistent-work-item-apply-state.js +316 -0
- package/core/workflow/persistent-work-item-state.js +312 -0
- package/core/workflow/persistent-work-item.js +315 -0
- package/core/workflow/persistent-workflow-builder.js +312 -0
- package/core/workflow/persistent-workflow-context.js +312 -0
- package/core/workflow/persistent-workflow-runner.js +312 -0
- package/core/workflow/persistent-workflow-snapshot.js +312 -0
- package/core/workflow/persistent-workflow-store.js +312 -0
- package/core/workflow/persistent-workflow.js +312 -0
- package/package.json +4 -4
- package/styles/fonts/SegoeUI/Bold/SegoeUIBold-5.27.woff +0 -0
- package/styles/fonts/SegoeUI/Light/SegoeUILight-5.27.woff +0 -0
- package/styles/fonts/SegoeUI/Normal/SegoeUI-5.27.woff +0 -0
- package/styles/fonts/SegoeUI/SemiBold/SegoeUISemiBold-5.27.woff +0 -0
- package/styles/fonts/SegoeUI/SemiLight/SegoeUISemiLight-5.27.woff +0 -0
- package/styles/fonts/ServMDL2/ServMDL2-4.66.woff +0 -0
- package/tools/build/webpack/index-html.transform.js +312 -0
- package/tools/build/webpack/shell.index-html.transform.js +312 -0
- package/tools/build/webpack/shell.webpack.config.js +312 -0
- package/tools/build/webpack/webpack.config.js +312 -0
- package/tools/code-formatter/.eslintrc.base.json +2 -1
- package/tools/code-formatter/lint.js +312 -0
- package/tools/code-formatter/utilities.js +316 -0
- package/tools/gulp-doc-generator/index.js +312 -0
- package/tools/gulp-manifest-resource/index.js +312 -0
- package/tools/gulp-manifest-validator/index.js +312 -0
- package/tools/gulp-merge-json-in-folders/index.js +312 -0
- package/tools/gulp-merge-json-in-folders/json-merge.js +312 -0
- package/tools/gulp-ps-cim/index.js +315 -0
- package/tools/gulp-ps-code/index.d.ts.map +1 -1
- package/tools/gulp-ps-code/index.js +323 -2
- package/tools/gulp-ps-code/index.js.map +1 -1
- package/tools/gulp-ps-code/ps-code-convert.js +312 -0
- package/tools/gulp-ps-manifest/index.js +312 -0
- package/tools/gulp-ps-module/index.d.ts.map +1 -1
- package/tools/gulp-ps-module/index.js +327 -3
- package/tools/gulp-ps-module/index.js.map +1 -1
- package/tools/gulp-ps-resjson/index.js +315 -0
- package/tools/gulp-resjson/index.js +315 -0
- package/tools/gulp-resjson/resjson-convert.js +312 -0
- package/tools/gulp-schema-form/index.js +312 -0
- package/tools/gulp-svg-code/index.js +312 -0
- package/tools/gulp-svg-code/svg-code-convert.js +312 -0
- package/tools/gulp-update-notes-resource/index.js +312 -0
- package/tools/module-template/build/increment-package-version.ps1 +216 -0
- package/tools/module-template/build/push-incremented-version.ps1 +216 -1
- package/tools/module-template/build/update-powershell-code.ps1 +216 -0
- package/tools/module-template/gulpfile.ts/common/clean.ts +2 -0
- package/tools/module-template/gulpfile.ts/common/pack.ts +17 -5
- package/tools/module-template/gulpfile.ts/common/powershell.ts +40 -2
- package/tools/pack-nuget/index.d.ts.map +1 -1
- package/tools/pack-nuget/index.js +321 -3
- package/tools/pack-nuget/index.js.map +1 -1
- package/tools/scripts/Invoke-PesterTest.ps1 +216 -0
- package/tools/scripts/New-ExtensionPackage.ps1 +373 -6
- package/tools/scripts/Search-NonAsciiText.ps1 +216 -0
- package/tools/scripts/package-information/README.md +3 -0
- package/tools/scripts/package-information/ms-logo.png +0 -0
- package/tools/test-runner/index.js +312 -0
- package/tools/utilities/index.js +312 -0
- package/tools/wac-cli/src/angular15/configs/angular-json-config.js +312 -0
- package/tools/wac-cli/src/angular15/configs/ci-build-yml-config.js +315 -0
- package/tools/wac-cli/src/angular15/configs/config.js +312 -0
- package/tools/wac-cli/src/angular15/configs/eslint-auto-fix-config.js +312 -0
- package/tools/wac-cli/src/angular15/configs/git-ignore-config.js +312 -0
- package/tools/wac-cli/src/angular15/configs/jasmine-test-config.js +315 -0
- package/tools/wac-cli/src/angular15/configs/package-json-config.js +312 -0
- package/tools/wac-cli/src/angular15/configs/replace-config.js +315 -0
- package/tools/wac-cli/src/angular15/configs/tsconfig-config.js +312 -0
- package/tools/wac-cli/src/angular15/configs/ui-test-automation-lagacy-config.js +312 -0
- package/tools/wac-cli/src/angular15/main.js +312 -0
- package/tools/wac-cli/src/angular15/upgrader/angular-json-upgrader.js +316 -0
- package/tools/wac-cli/src/angular15/upgrader/audit/ajax-response-updater.js +312 -0
- package/tools/wac-cli/src/angular15/upgrader/audit/css-syntax-error-updater.js +312 -0
- package/tools/wac-cli/src/angular15/upgrader/audit/declare-override-updater.js +312 -0
- package/tools/wac-cli/src/angular15/upgrader/audit/error-updater-angular15.js +312 -0
- package/tools/wac-cli/src/angular15/upgrader/audit/form-control-updater.js +312 -0
- package/tools/wac-cli/src/angular15/upgrader/audit/iif-updater-util.js +312 -0
- package/tools/wac-cli/src/angular15/upgrader/audit/load-children-callback-updater.js +315 -0
- package/tools/wac-cli/src/angular15/upgrader/audit/log-parser.js +312 -0
- package/tools/wac-cli/src/angular15/upgrader/audit/observable-throw-updater.js +312 -0
- package/tools/wac-cli/src/angular15/upgrader/audit/parameter-count-violation-updater.js +312 -0
- package/tools/wac-cli/src/angular15/upgrader/audit/string-replace-updater.js +312 -0
- package/tools/wac-cli/src/angular15/upgrader/audit/subjuct-next-updater-util.js +312 -0
- package/tools/wac-cli/src/angular15/upgrader/ci-build-yml-upgrader.js +312 -0
- package/tools/wac-cli/src/angular15/upgrader/eslint-auto-fix-upgrader.js +312 -0
- package/tools/wac-cli/src/angular15/upgrader/file-replacement-upgrader.js +312 -0
- package/tools/wac-cli/src/angular15/upgrader/git-ignore-upgrader.js +312 -0
- package/tools/wac-cli/src/angular15/upgrader/jasmine-test-upgrader.js +312 -0
- package/tools/wac-cli/src/angular15/upgrader/package-json-upgrader.js +312 -0
- package/tools/wac-cli/src/angular15/upgrader/remove-upgrader.js +315 -0
- package/tools/wac-cli/src/angular15/upgrader/replace-upgrader.js +312 -0
- package/tools/wac-cli/src/angular15/upgrader/tsconfig-upgrader.js +312 -0
- package/tools/wac-cli/src/angular15/upgrader/ui-test-automation-legacy-upgrader.js +312 -0
- package/tools/wac-cli/src/angular15/upgrader/version-json-upgrader.js +312 -0
- package/tools/wac-cli/src/angular15/utils/add-item.js +312 -0
- package/tools/wac-cli/src/angular15/utils/command-runner.js +312 -0
- package/tools/wac-cli/src/angular15/utils/file-comparison.js +315 -0
- package/tools/wac-cli/src/angular15/utils/file-replacement.js +312 -0
- package/tools/wac-cli/src/angular15/utils/file-writer.js +312 -0
- package/tools/wac-cli/src/angular15/utils/logger.js +312 -0
- package/tools/wac-cli/src/angular15/utils/main-debugger.js +312 -0
- package/tools/wac-cli/src/angular15/utils/relative-path.js +312 -0
- package/tools/wac-cli/src/angular15/utils/remove-item.js +312 -0
- package/tools/wac-cli/src/angular15/utils/space-generator.js +312 -0
- package/tools/wac-cli/src/angular15/utils/update-shell-references.js +316 -0
- package/tools/wac-cli/src/common.js +312 -0
- package/tools/wac-cli/src/create/main.js +312 -0
- package/tools/wac-cli/src/eslint/main.js +312 -0
- package/tools/wac-cli/src/index.js +312 -0
- package/tools/wac-cli/src/upgrade/error-updater.js +312 -0
- package/tools/wac-cli/src/upgrade/error-updaters/component-selector-updater.js +315 -0
- package/tools/wac-cli/src/upgrade/error-updaters/only-arrow-functions-updater.js +315 -0
- package/tools/wac-cli/src/upgrade/error-updaters/updater-lookup.js +312 -0
- package/tools/wac-cli/src/upgrade/file-updater.js +312 -0
- package/tools/wac-cli/src/upgrade/get-files.js +312 -0
- package/tools/wac-cli/src/upgrade/main.js +312 -0
- package/tools/wac-cli/src/upgrade/models/error-result.js +312 -0
- package/tools/wac-cli/src/upgrade/models/updater-interface.js +312 -0
- package/tools/wac-cli/src/upgrade/package-updater.js +312 -0
- package/tools/wac-cli/templates/wac-template/src/favicon.ico +0 -0
- package/tools/wac-cli/templates/wac-template/src/karma.conf.js +312 -0
- package/tools/wac-cli/templates/wac-template/src/resources/scripts/Get-Error.ps1 +216 -0
- package/tools/wac-cli/templates/wac-template/src/resources/scripts/Get-Exception.ps1 +216 -0
- package/tools/wac-cli/templates/wac-template/src/resources/scripts/Get-Process.ps1 +216 -1
- package/tools/wac-cli/templates/wac-template/src/resources/scripts/Get-Service.ps1 +216 -1
- package/tools/wac-cli/templates/wac-template/src/resources/scripts/Get-WinRmState.ps1 +216 -1
- package/core/data/extension-broker/snap-in-listener.d.ts.map +0 -1
- package/core/data/extension-broker/snap-in-listener.js +0 -73
- package/core/data/extension-broker/snap-in-listener.js.map +0 -1
- package/microsoft-windows-admin-center-sdk-4.167.0.tgz +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../packages/tools/gulp-ps-module/index.ts"],"names":[],"mappings":"","file":"index.d.ts","sourcesContent":["'use strict';\r\n\r\nimport log from 'fancy-log';\r\nimport pluginError from 'plugin-error';\r\nimport through2 from 'through2';\r\nimport Vinyl from 'vinyl';\r\nimport * as util from '../utilities';\r\n\r\nconst PLUGIN_NAME = 'gulp-ps-module';\r\n\r\nfunction getDefinition(\r\n name: string, version: string, guid: string, functionsList: string, localScripts: string[], externalScripts: string[]) {\r\n const definition =\r\n `#\r\n# Module manifest for module '{{Name}}'\r\n#\r\n\r\n@{\r\n\r\n# Script module or binary module file associated with this manifest.\r\nRootModule = '{{Name}}.psm1'\r\n\r\n# Version number of this module.\r\nModuleVersion = '{{Version}}'\r\n\r\n# Supported PSEditions\r\n# CompatiblePSEditions = @()\r\n\r\n# ID used to uniquely identify this module\r\nGUID = '{{Guid}}'\r\n\r\n# Author of this module\r\nAuthor = 'SME'\r\n\r\n# Company or vendor of this module\r\nCompanyName = 'Microsoft'\r\n\r\n# Copyright statement for this module\r\nCopyright = '(c) 2018 Microsoft. All rights reserved.'\r\n\r\n# Description of the functionality provided by this module\r\n# Description = ''\r\n\r\n# Minimum version of the Windows PowerShell engine required by this module\r\nPowerShellVersion = '5.0'\r\n\r\n# Name of the Windows PowerShell host required by this module\r\n# PowerShellHostName = ''\r\n\r\n# Minimum version of the Windows PowerShell host required by this module\r\n# PowerShellHostVersion = ''\r\n\r\n# Minimum version of Microsoft .NET Framework required by this module. This prerequisite is valid for the PowerShell Desktop edition only.\r\n# DotNetFrameworkVersion = ''\r\n\r\n# Minimum version of the common language runtime (CLR) required by this module. This prerequisite is valid for the PowerShell Desktop edition only.\r\n# CLRVersion = ''\r\n\r\n# Processor architecture (None, X86, Amd64) required by this module\r\n# ProcessorArchitecture = ''\r\n\r\n# Modules that must be imported into the global environment prior to importing this module\r\n# RequiredModules = @()\r\n\r\n# Assemblies that must be loaded prior to importing this module\r\n# RequiredAssemblies = @()\r\n\r\n# Script files (.ps1) that are run in the caller's environment prior to importing this module.\r\n# ScriptsToProcess = @()\r\n\r\n# Type files (.ps1xml) to be loaded when importing this module\r\n# TypesToProcess = @()\r\n\r\n# Format files (.ps1xml) to be loaded when importing this module\r\n# FormatsToProcess = @()\r\n\r\n# Modules to import as nested modules of the module specified in RootModule/ModuleToProcess\r\nNestedModules = @()\r\n\r\n# Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export.\r\nFunctionsToExport = @(\r\n{{FunctionsList}}\r\n)\r\n\r\n# Function attributes: {{FunctionAttributes}}\r\n\r\n# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.\r\nCmdletsToExport = @()\r\n\r\n# Variables to export from this module\r\nVariablesToExport = '*'\r\n\r\n# Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export.\r\nAliasesToExport = @()\r\n\r\n# DSC resources to export from this module\r\n# DscResourcesToExport = @()\r\n\r\n# List of all modules packaged with this module\r\n# ModuleList = @()\r\n\r\n# List of all files packaged with this module\r\n# FileList = @()\r\n\r\n# Private data to pass to the module specified in RootModule/ModuleToProcess. This may also contain a PSData hashtable with additional module metadata used by PowerShell.\r\nPrivateData = @{\r\n\r\n PSData = @{\r\n\r\n # Tags applied to this module. These help with module discovery in online galleries.\r\n # Tags = @()\r\n\r\n # A URL to the license for this module.\r\n # LicenseUri = ''\r\n\r\n # A URL to the main website for this project.\r\n # ProjectUri = ''\r\n\r\n # A URL to an icon representing this module.\r\n # IconUri = ''\r\n\r\n # ReleaseNotes of this module\r\n # ReleaseNotes = ''\r\n\r\n } # End of PSData hashtable\r\n\r\n} # End of PrivateData hashtable\r\n\r\n# HelpInfo URI of this module\r\n# HelpInfoURI = ''\r\n\r\n# Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix.\r\n# DefaultCommandPrefix = ''\r\n\r\n}\r\n\r\n`;\r\n\r\n const attributes = JSON.stringify({ localScripts, externalScripts });\r\n\r\n // calling {{Name}} twice since it's used two times on the template.\r\n return definition\r\n .split('\\n')\r\n .join('\\r\\n')\r\n .replace('{{Name}}', name)\r\n .replace('{{Name}}', name)\r\n .replace('{{Version}}', version)\r\n .replace('{{Guid}}', guid)\r\n .replace('{{FunctionsList}}', functionsList)\r\n .replace('{{FunctionAttributes}}', attributes);\r\n}\r\n\r\nfunction gulpPowerShellModule(options) {\r\n //\r\n // (Options):\r\n //\r\n // name.\r\n // name of module: string;\r\n // version.\r\n // version of module: string; (default: 0.0.0)\r\n // guid.\r\n // GUID string of module: string\r\n //\r\n\r\n // override options settings if not specified.\r\n options = Object.assign({ version: '0.0.0' }, options || {});\r\n\r\n const scriptCollection: any = {};\r\n const localScripts: string[] = [];\r\n const externalScripts: string[] = [];\r\n\r\n return through2.obj(\r\n /**\r\n * Transform\r\n */\r\n function (file, encoding, callback) {\r\n try {\r\n if (!options.name) {\r\n throw new Error('gulp-ps-module requires \"name\" option: PowerShell module name.');\r\n }\r\n\r\n if (!options.guid) {\r\n throw new Error('gulp-ps-module requires \"guid\" option: PowerShell module identification.');\r\n }\r\n\r\n let scriptName: string = file.relative.replace('.ps1', '');\r\n const lastIndex = scriptName.lastIndexOf('\\\\');\r\n if (lastIndex > 0) {\r\n // remove any relative folder name.\r\n scriptName = scriptName.substring(lastIndex + 1);\r\n }\r\n\r\n if (options.prefixName) {\r\n const hyphenSeparatorIndex = scriptName.indexOf('-');\r\n const prefixName = options.prefixName;\r\n const verb = scriptName.substring(0, hyphenSeparatorIndex);\r\n const target = scriptName.substring(hyphenSeparatorIndex + 1);\r\n scriptName = verb + '-' + prefixName + target;\r\n }\r\n\r\n scriptCollection[scriptName] = file.contents.toString();\r\n const external = file.path.indexOf('\\\\node_modules\\\\') >= 0;\r\n if (external) {\r\n externalScripts.push(scriptName);\r\n } else {\r\n localScripts.push(scriptName);\r\n }\r\n\r\n return callback();\r\n } catch (e) {\r\n const error = (!e.plugin || (e.plugin !== PLUGIN_NAME)) ?\r\n util.extendError(new pluginError({ plugin: PLUGIN_NAME, message: e.message }), e) : e;\r\n log.error(error);\r\n }\r\n },\r\n /**\r\n * Flush\r\n */\r\n function (callback) {\r\n try {\r\n localScripts.sort();\r\n externalScripts.sort();\r\n\r\n let contents = '';\r\n let scriptList = '';\r\n for (const scriptName of localScripts.concat(externalScripts)) {\r\n if (scriptCollection.hasOwnProperty(scriptName)) {\r\n contents += 'function ' + scriptName + ' {\\r\\n';\r\n contents += scriptCollection[scriptName];\r\n contents += '\\r\\n}\\r\\n';\r\n contents += '## [END] ' + scriptName + ' ##\\r\\n';\r\n scriptList += '\\r\\n \\'' + scriptName + '\\',';\r\n }\r\n }\r\n\r\n const psm1File = new Vinyl({\r\n cwd: './',\r\n path: options.name + '.psm1',\r\n contents: Buffer.from(contents, 'utf8')\r\n });\r\n this.push(psm1File);\r\n\r\n const definition = getDefinition(\r\n options.name,\r\n options.version,\r\n options.guid,\r\n scriptList.substring(2, scriptList.length - 1),\r\n localScripts,\r\n externalScripts);\r\n const psd1File = new Vinyl({\r\n cwd: './',\r\n path: options.name + '.psd1',\r\n contents: Buffer.from(definition, 'utf8')\r\n });\r\n this.push(psd1File);\r\n } catch (e) {\r\n const error = (!e.plugin || (e.plugin !== PLUGIN_NAME)) ?\r\n util.extendError(new pluginError({ plugin: PLUGIN_NAME, message: e.message }), e) : e;\r\n log.error(error);\r\n }\r\n\r\n callback();\r\n });\r\n}\r\n\r\nmodule.exports = gulpPowerShellModule;\r\n"]}
|
|
1
|
+
{"version":3,"sources":["../../../packages/tools/gulp-ps-module/index.ts"],"names":[],"mappings":"","file":"index.d.ts","sourcesContent":["'use strict';\r\n\r\nimport log from 'fancy-log';\r\nimport pluginError from 'plugin-error';\r\nimport through2 from 'through2';\r\nimport Vinyl from 'vinyl';\r\nimport * as util from '../utilities';\r\n\r\nconst PLUGIN_NAME = 'gulp-ps-module';\r\n\r\nfunction getDefinition(\r\n name: string, version: string, guid: string, functionsList: string, localScripts: string[], externalScripts: string[]) {\r\n const definition =\r\n `#\r\n# Module manifest for module '{{Name}}'\r\n#\r\n\r\n@{\r\n\r\n# Script module or binary module file associated with this manifest.\r\nRootModule = '{{Name}}.psm1'\r\n\r\n# Version number of this module.\r\nModuleVersion = '{{Version}}'\r\n\r\n# Supported PSEditions\r\n# CompatiblePSEditions = @()\r\n\r\n# ID used to uniquely identify this module\r\nGUID = '{{Guid}}'\r\n\r\n# Author of this module\r\nAuthor = 'SME'\r\n\r\n# Company or vendor of this module\r\nCompanyName = 'Microsoft'\r\n\r\n# Copyright statement for this module\r\nCopyright = '(c) 2018 Microsoft. All rights reserved.'\r\n\r\n# Description of the functionality provided by this module\r\n# Description = ''\r\n\r\n# Minimum version of the Windows PowerShell engine required by this module\r\nPowerShellVersion = '5.0'\r\n\r\n# Name of the Windows PowerShell host required by this module\r\n# PowerShellHostName = ''\r\n\r\n# Minimum version of the Windows PowerShell host required by this module\r\n# PowerShellHostVersion = ''\r\n\r\n# Minimum version of Microsoft .NET Framework required by this module. This prerequisite is valid for the PowerShell Desktop edition only.\r\n# DotNetFrameworkVersion = ''\r\n\r\n# Minimum version of the common language runtime (CLR) required by this module. This prerequisite is valid for the PowerShell Desktop edition only.\r\n# CLRVersion = ''\r\n\r\n# Processor architecture (None, X86, Amd64) required by this module\r\n# ProcessorArchitecture = ''\r\n\r\n# Modules that must be imported into the global environment prior to importing this module\r\n# RequiredModules = @()\r\n\r\n# Assemblies that must be loaded prior to importing this module\r\n# RequiredAssemblies = @()\r\n\r\n# Script files (.ps1) that are run in the caller's environment prior to importing this module.\r\n# ScriptsToProcess = @()\r\n\r\n# Type files (.ps1xml) to be loaded when importing this module\r\n# TypesToProcess = @()\r\n\r\n# Format files (.ps1xml) to be loaded when importing this module\r\n# FormatsToProcess = @()\r\n\r\n# Modules to import as nested modules of the module specified in RootModule/ModuleToProcess\r\nNestedModules = @()\r\n\r\n# Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export.\r\nFunctionsToExport = @(\r\n{{FunctionsList}}\r\n)\r\n\r\n# Function attributes: {{FunctionAttributes}}\r\n\r\n# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.\r\nCmdletsToExport = @()\r\n\r\n# Variables to export from this module\r\nVariablesToExport = '*'\r\n\r\n# Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export.\r\nAliasesToExport = @()\r\n\r\n# DSC resources to export from this module\r\n# DscResourcesToExport = @()\r\n\r\n# List of all modules packaged with this module\r\n# ModuleList = @()\r\n\r\n# List of all files packaged with this module\r\n# FileList = @()\r\n\r\n# Private data to pass to the module specified in RootModule/ModuleToProcess. This may also contain a PSData hashtable with additional module metadata used by PowerShell.\r\nPrivateData = @{\r\n\r\n PSData = @{\r\n\r\n # Tags applied to this module. These help with module discovery in online galleries.\r\n # Tags = @()\r\n\r\n # A URL to the license for this module.\r\n # LicenseUri = ''\r\n\r\n # A URL to the main website for this project.\r\n # ProjectUri = ''\r\n\r\n # A URL to an icon representing this module.\r\n # IconUri = ''\r\n\r\n # ReleaseNotes of this module\r\n # ReleaseNotes = ''\r\n\r\n } # End of PSData hashtable\r\n\r\n} # End of PrivateData hashtable\r\n\r\n# HelpInfo URI of this module\r\n# HelpInfoURI = ''\r\n\r\n# Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix.\r\n# DefaultCommandPrefix = ''\r\n\r\n}\r\n\r\n`;\r\n\r\n const attributes = JSON.stringify({ localScripts, externalScripts });\r\n\r\n // calling {{Name}} twice since it's used two times on the template.\r\n return definition\r\n .split('\\n')\r\n .join('\\r\\n')\r\n .replace('{{Name}}', name)\r\n .replace('{{Name}}', name)\r\n .replace('{{Version}}', version)\r\n .replace('{{Guid}}', guid)\r\n .replace('{{FunctionsList}}', functionsList)\r\n .replace('{{FunctionAttributes}}', attributes);\r\n}\r\n\r\nfunction gulpPowerShellModule(options) {\r\n //\r\n // (Options):\r\n //\r\n // name.\r\n // name of module: string;\r\n // version.\r\n // version of module: string; (default: 0.0.0)\r\n // guid.\r\n // GUID string of module: string\r\n //\r\n\r\n // override options settings if not specified.\r\n options = Object.assign({ version: '0.0.0' }, options || {});\r\n\r\n const scriptCollection: any = {};\r\n const localScripts: string[] = [];\r\n const externalScripts: string[] = [];\r\n\r\n return through2.obj(\r\n /**\r\n * Transform\r\n */\r\n function (file, encoding, callback) {\r\n try {\r\n if (!options.name) {\r\n throw new Error('gulp-ps-module requires \"name\" option: PowerShell module name.');\r\n }\r\n\r\n if (!options.guid) {\r\n throw new Error('gulp-ps-module requires \"guid\" option: PowerShell module identification.');\r\n }\r\n\r\n let scriptName: string = file.relative.replace('.ps1', '');\r\n const lastIndex = scriptName.lastIndexOf('\\\\');\r\n if (lastIndex > 0) {\r\n // remove any relative folder name.\r\n scriptName = scriptName.substring(lastIndex + 1);\r\n }\r\n\r\n if (options.prefixName) {\r\n const hyphenSeparatorIndex = scriptName.indexOf('-');\r\n const prefixName = options.prefixName;\r\n const verb = scriptName.substring(0, hyphenSeparatorIndex);\r\n const target = scriptName.substring(hyphenSeparatorIndex + 1);\r\n scriptName = verb + '-' + prefixName + target;\r\n }\r\n\r\n const lines = file.contents.toString().split('\\n');\r\n const newLines = [];\r\n for (let i = 0; i < lines.length; i++) {\r\n const line = lines[i];\r\n if (line.indexOf('# SIG # Begin signature block') >= 0) {\r\n break;\r\n }\r\n\r\n newLines.push(line);\r\n }\r\n\r\n scriptCollection[scriptName] = newLines.join('\\n');\r\n const external = file.path.indexOf('\\\\node_modules\\\\') >= 0;\r\n if (external) {\r\n externalScripts.push(scriptName);\r\n } else {\r\n localScripts.push(scriptName);\r\n }\r\n\r\n return callback();\r\n } catch (e) {\r\n const error = (!e.plugin || (e.plugin !== PLUGIN_NAME)) ?\r\n util.extendError(new pluginError({ plugin: PLUGIN_NAME, message: e.message }), e) : e;\r\n log.error(error);\r\n }\r\n },\r\n /**\r\n * Flush\r\n */\r\n function (callback) {\r\n try {\r\n localScripts.sort();\r\n externalScripts.sort();\r\n\r\n let contents = '';\r\n let scriptList = '';\r\n for (const scriptName of localScripts.concat(externalScripts)) {\r\n if (scriptCollection.hasOwnProperty(scriptName)) {\r\n contents += 'function ' + scriptName + ' {\\r\\n';\r\n contents += scriptCollection[scriptName];\r\n contents += '\\r\\n}\\r\\n';\r\n contents += '## [END] ' + scriptName + ' ##\\r\\n';\r\n scriptList += '\\r\\n \\'' + scriptName + '\\',';\r\n }\r\n }\r\n\r\n const psm1File = new Vinyl({\r\n cwd: './',\r\n path: options.name + '.psm1',\r\n contents: Buffer.from(contents, 'utf8')\r\n });\r\n this.push(psm1File);\r\n\r\n const definition = getDefinition(\r\n options.name,\r\n options.version,\r\n options.guid,\r\n scriptList.substring(2, scriptList.length - 1),\r\n localScripts,\r\n externalScripts);\r\n const psd1File = new Vinyl({\r\n cwd: './',\r\n path: options.name + '.psd1',\r\n contents: Buffer.from(definition, 'utf8')\r\n });\r\n this.push(psd1File);\r\n } catch (e) {\r\n const error = (!e.plugin || (e.plugin !== PLUGIN_NAME)) ?\r\n util.extendError(new pluginError({ plugin: PLUGIN_NAME, message: e.message }), e) : e;\r\n log.error(error);\r\n }\r\n\r\n callback();\r\n });\r\n}\r\n\r\nmodule.exports = gulpPowerShellModule;\r\n"]}
|
|
@@ -185,7 +185,16 @@ function gulpPowerShellModule(options) {
|
|
|
185
185
|
const target = scriptName.substring(hyphenSeparatorIndex + 1);
|
|
186
186
|
scriptName = verb + '-' + prefixName + target;
|
|
187
187
|
}
|
|
188
|
-
|
|
188
|
+
const lines = file.contents.toString().split('\n');
|
|
189
|
+
const newLines = [];
|
|
190
|
+
for (let i = 0; i < lines.length; i++) {
|
|
191
|
+
const line = lines[i];
|
|
192
|
+
if (line.indexOf('# SIG # Begin signature block') >= 0) {
|
|
193
|
+
break;
|
|
194
|
+
}
|
|
195
|
+
newLines.push(line);
|
|
196
|
+
}
|
|
197
|
+
scriptCollection[scriptName] = newLines.join('\n');
|
|
189
198
|
const external = file.path.indexOf('\\node_modules\\') >= 0;
|
|
190
199
|
if (external) {
|
|
191
200
|
externalScripts.push(scriptName);
|
|
@@ -242,5 +251,320 @@ function gulpPowerShellModule(options) {
|
|
|
242
251
|
});
|
|
243
252
|
}
|
|
244
253
|
module.exports = gulpPowerShellModule;
|
|
245
|
-
|
|
246
|
-
//# sourceMappingURL=index.js.map
|
|
254
|
+
|
|
255
|
+
//# sourceMappingURL=index.js.map
|
|
256
|
+
|
|
257
|
+
// SIG // Begin signature block
|
|
258
|
+
// SIG // MIIoKwYJKoZIhvcNAQcCoIIoHDCCKBgCAQExDzANBglg
|
|
259
|
+
// SIG // hkgBZQMEAgEFADB3BgorBgEEAYI3AgEEoGkwZzAyBgor
|
|
260
|
+
// SIG // BgEEAYI3AgEeMCQCAQEEEBDgyQbOONQRoqMAEEvTUJAC
|
|
261
|
+
// SIG // AQACAQACAQACAQACAQAwMTANBglghkgBZQMEAgEFAAQg
|
|
262
|
+
// SIG // 48r6amP+yd9i36IXJpUaqQvXJ4Eqz95zsA09yCo7wjag
|
|
263
|
+
// SIG // gg12MIIF9DCCA9ygAwIBAgITMwAAA68wQA5Mo00FQQAA
|
|
264
|
+
// SIG // AAADrzANBgkqhkiG9w0BAQsFADB+MQswCQYDVQQGEwJV
|
|
265
|
+
// SIG // UzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMH
|
|
266
|
+
// SIG // UmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBv
|
|
267
|
+
// SIG // cmF0aW9uMSgwJgYDVQQDEx9NaWNyb3NvZnQgQ29kZSBT
|
|
268
|
+
// SIG // aWduaW5nIFBDQSAyMDExMB4XDTIzMTExNjE5MDkwMFoX
|
|
269
|
+
// SIG // DTI0MTExNDE5MDkwMFowdDELMAkGA1UEBhMCVVMxEzAR
|
|
270
|
+
// SIG // BgNVBAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1v
|
|
271
|
+
// SIG // bmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlv
|
|
272
|
+
// SIG // bjEeMBwGA1UEAxMVTWljcm9zb2Z0IENvcnBvcmF0aW9u
|
|
273
|
+
// SIG // MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA
|
|
274
|
+
// SIG // zkvLNa2un9GBrYNDoRGkGv7d0PqtTBB4ViYakFbjuWpm
|
|
275
|
+
// SIG // F0KcvDAzzaCWJPhVgIXjz+S8cHEoHuWnp/n+UOljT3eh
|
|
276
|
+
// SIG // A8Rs6Lb1aTYub3tB/e0txewv2sQ3yscjYdtTBtFvEm9L
|
|
277
|
+
// SIG // 8Yv76K3Cxzi/Yvrdg+sr7w8y5RHn1Am0Ff8xggY1xpWC
|
|
278
|
+
// SIG // XFI+kQM18njQDcUqSlwBnexYfqHBhzz6YXA/S0EziYBu
|
|
279
|
+
// SIG // 2O2mM7R6gSyYkEOHgIGTVOGnOvvC5xBgC4KNcnQuQSRL
|
|
280
|
+
// SIG // iUI2CmzU8vefR6ykruyzt1rNMPI8OqWHQtSDKXU5JNqb
|
|
281
|
+
// SIG // k4GNjwzcwbSzOHrxuxWHq91l/vLdVDGDUwIDAQABo4IB
|
|
282
|
+
// SIG // czCCAW8wHwYDVR0lBBgwFgYKKwYBBAGCN0wIAQYIKwYB
|
|
283
|
+
// SIG // BQUHAwMwHQYDVR0OBBYEFEcccTTyBDxkjvJKs/m4AgEF
|
|
284
|
+
// SIG // hl7BMEUGA1UdEQQ+MDykOjA4MR4wHAYDVQQLExVNaWNy
|
|
285
|
+
// SIG // b3NvZnQgQ29ycG9yYXRpb24xFjAUBgNVBAUTDTIzMDAx
|
|
286
|
+
// SIG // Mis1MDE4MjYwHwYDVR0jBBgwFoAUSG5k5VAF04KqFzc3
|
|
287
|
+
// SIG // IrVtqMp1ApUwVAYDVR0fBE0wSzBJoEegRYZDaHR0cDov
|
|
288
|
+
// SIG // L3d3dy5taWNyb3NvZnQuY29tL3BraW9wcy9jcmwvTWlj
|
|
289
|
+
// SIG // Q29kU2lnUENBMjAxMV8yMDExLTA3LTA4LmNybDBhBggr
|
|
290
|
+
// SIG // BgEFBQcBAQRVMFMwUQYIKwYBBQUHMAKGRWh0dHA6Ly93
|
|
291
|
+
// SIG // d3cubWljcm9zb2Z0LmNvbS9wa2lvcHMvY2VydHMvTWlj
|
|
292
|
+
// SIG // Q29kU2lnUENBMjAxMV8yMDExLTA3LTA4LmNydDAMBgNV
|
|
293
|
+
// SIG // HRMBAf8EAjAAMA0GCSqGSIb3DQEBCwUAA4ICAQCEsRbf
|
|
294
|
+
// SIG // 80dn60xTweOWHZoWaQdpzSaDqIvqpYHE5ZzuEMJWDdcP
|
|
295
|
+
// SIG // 72MGw8v6BSaJQ+a+hTCXdERnIBDPKvU4ENjgu4EBJocH
|
|
296
|
+
// SIG // lSe8riiZUAR+z+z4OUYqoFd3EqJyfjjOJBR2z94Dy4ss
|
|
297
|
+
// SIG // 7LEkHUbj2NZiFqBoPYu2OGQvEk+1oaUsnNKZ7Nl7FHtV
|
|
298
|
+
// SIG // 7CI2lHBru83e4IPe3glIi0XVZJT5qV6Gx/QhAFmpEVBj
|
|
299
|
+
// SIG // SAmDdgII4UUwuI9yiX6jJFNOEek6MoeP06LMJtbqA3Bq
|
|
300
|
+
// SIG // +ZWmJ033F97uVpyaiS4bj3vFI/ZBgDnMqNDtZjcA2vi4
|
|
301
|
+
// SIG // RRMweggd9vsHyTLpn6+nXoLy03vMeebq0C3k44pgUIEu
|
|
302
|
+
// SIG // PQUlJIRTe6IrN3GcjaZ6zHGuQGWgu6SyO9r7qkrEpS2p
|
|
303
|
+
// SIG // RjnGZjx2RmCamdAWnDdu+DmfNEPAddYjaJJ7PTnd+PGz
|
|
304
|
+
// SIG // G+WeH4ocWgVnm5fJFhItjj70CJjgHqt57e1FiQcyWCwB
|
|
305
|
+
// SIG // hKX2rGgN2UICHBF3Q/rsKOspjMw2OlGphTn2KmFl5J7c
|
|
306
|
+
// SIG // Qxru54A9roClLnHGCiSUYos/iwFHI/dAVXEh0S0KKfTf
|
|
307
|
+
// SIG // M6AC6/9bCbsD61QLcRzRIElvgCgaiMWFjOBL99pemoEl
|
|
308
|
+
// SIG // AHsyzG6uX93fMfas09N9YzA0/rFAKAsNDOcFbQlEHKiD
|
|
309
|
+
// SIG // T7mI20tVoCcmSIhJATCCB3owggVioAMCAQICCmEOkNIA
|
|
310
|
+
// SIG // AAAAAAMwDQYJKoZIhvcNAQELBQAwgYgxCzAJBgNVBAYT
|
|
311
|
+
// SIG // AlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQH
|
|
312
|
+
// SIG // EwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29y
|
|
313
|
+
// SIG // cG9yYXRpb24xMjAwBgNVBAMTKU1pY3Jvc29mdCBSb290
|
|
314
|
+
// SIG // IENlcnRpZmljYXRlIEF1dGhvcml0eSAyMDExMB4XDTEx
|
|
315
|
+
// SIG // MDcwODIwNTkwOVoXDTI2MDcwODIxMDkwOVowfjELMAkG
|
|
316
|
+
// SIG // A1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAO
|
|
317
|
+
// SIG // BgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29m
|
|
318
|
+
// SIG // dCBDb3Jwb3JhdGlvbjEoMCYGA1UEAxMfTWljcm9zb2Z0
|
|
319
|
+
// SIG // IENvZGUgU2lnbmluZyBQQ0EgMjAxMTCCAiIwDQYJKoZI
|
|
320
|
+
// SIG // hvcNAQEBBQADggIPADCCAgoCggIBAKvw+nIQHC6t2G6q
|
|
321
|
+
// SIG // ghBNNLrytlghn0IbKmvpWlCquAY4GgRJun/DDB7dN2vG
|
|
322
|
+
// SIG // EtgL8DjCmQawyDnVARQxQtOJDXlkh36UYCRsr55JnOlo
|
|
323
|
+
// SIG // XtLfm1OyCizDr9mpK656Ca/XllnKYBoF6WZ26DJSJhIv
|
|
324
|
+
// SIG // 56sIUM+zRLdd2MQuA3WraPPLbfM6XKEW9Ea64DhkrG5k
|
|
325
|
+
// SIG // NXimoGMPLdNAk/jj3gcN1Vx5pUkp5w2+oBN3vpQ97/vj
|
|
326
|
+
// SIG // K1oQH01WKKJ6cuASOrdJXtjt7UORg9l7snuGG9k+sYxd
|
|
327
|
+
// SIG // 6IlPhBryoS9Z5JA7La4zWMW3Pv4y07MDPbGyr5I4ftKd
|
|
328
|
+
// SIG // gCz1TlaRITUlwzluZH9TupwPrRkjhMv0ugOGjfdf8NBS
|
|
329
|
+
// SIG // v4yUh7zAIXQlXxgotswnKDglmDlKNs98sZKuHCOnqWbs
|
|
330
|
+
// SIG // YR9q4ShJnV+I4iVd0yFLPlLEtVc/JAPw0XpbL9Uj43Bd
|
|
331
|
+
// SIG // D1FGd7P4AOG8rAKCX9vAFbO9G9RVS+c5oQ/pI0m8GLhE
|
|
332
|
+
// SIG // fEXkwcNyeuBy5yTfv0aZxe/CHFfbg43sTUkwp6uO3+xb
|
|
333
|
+
// SIG // n6/83bBm4sGXgXvt1u1L50kppxMopqd9Z4DmimJ4X7Iv
|
|
334
|
+
// SIG // hNdXnFy/dygo8e1twyiPLI9AN0/B4YVEicQJTMXUpUMv
|
|
335
|
+
// SIG // dJX3bvh4IFgsE11glZo+TzOE2rCIF96eTvSWsLxGoGyY
|
|
336
|
+
// SIG // 0uDWiIwLAgMBAAGjggHtMIIB6TAQBgkrBgEEAYI3FQEE
|
|
337
|
+
// SIG // AwIBADAdBgNVHQ4EFgQUSG5k5VAF04KqFzc3IrVtqMp1
|
|
338
|
+
// SIG // ApUwGQYJKwYBBAGCNxQCBAweCgBTAHUAYgBDAEEwCwYD
|
|
339
|
+
// SIG // VR0PBAQDAgGGMA8GA1UdEwEB/wQFMAMBAf8wHwYDVR0j
|
|
340
|
+
// SIG // BBgwFoAUci06AjGQQ7kUBU7h6qfHMdEjiTQwWgYDVR0f
|
|
341
|
+
// SIG // BFMwUTBPoE2gS4ZJaHR0cDovL2NybC5taWNyb3NvZnQu
|
|
342
|
+
// SIG // Y29tL3BraS9jcmwvcHJvZHVjdHMvTWljUm9vQ2VyQXV0
|
|
343
|
+
// SIG // MjAxMV8yMDExXzAzXzIyLmNybDBeBggrBgEFBQcBAQRS
|
|
344
|
+
// SIG // MFAwTgYIKwYBBQUHMAKGQmh0dHA6Ly93d3cubWljcm9z
|
|
345
|
+
// SIG // b2Z0LmNvbS9wa2kvY2VydHMvTWljUm9vQ2VyQXV0MjAx
|
|
346
|
+
// SIG // MV8yMDExXzAzXzIyLmNydDCBnwYDVR0gBIGXMIGUMIGR
|
|
347
|
+
// SIG // BgkrBgEEAYI3LgMwgYMwPwYIKwYBBQUHAgEWM2h0dHA6
|
|
348
|
+
// SIG // Ly93d3cubWljcm9zb2Z0LmNvbS9wa2lvcHMvZG9jcy9w
|
|
349
|
+
// SIG // cmltYXJ5Y3BzLmh0bTBABggrBgEFBQcCAjA0HjIgHQBM
|
|
350
|
+
// SIG // AGUAZwBhAGwAXwBwAG8AbABpAGMAeQBfAHMAdABhAHQA
|
|
351
|
+
// SIG // ZQBtAGUAbgB0AC4gHTANBgkqhkiG9w0BAQsFAAOCAgEA
|
|
352
|
+
// SIG // Z/KGpZjgVHkaLtPYdGcimwuWEeFjkplCln3SeQyQwWVf
|
|
353
|
+
// SIG // Liw++MNy0W2D/r4/6ArKO79HqaPzadtjvyI1pZddZYSQ
|
|
354
|
+
// SIG // fYtGUFXYDJJ80hpLHPM8QotS0LD9a+M+By4pm+Y9G6XU
|
|
355
|
+
// SIG // tR13lDni6WTJRD14eiPzE32mkHSDjfTLJgJGKsKKELuk
|
|
356
|
+
// SIG // qQUMm+1o+mgulaAqPyprWEljHwlpblqYluSD9MCP80Yr
|
|
357
|
+
// SIG // 3vw70L01724lruWvJ+3Q3fMOr5kol5hNDj0L8giJ1h/D
|
|
358
|
+
// SIG // Mhji8MUtzluetEk5CsYKwsatruWy2dsViFFFWDgycSca
|
|
359
|
+
// SIG // f7H0J/jeLDogaZiyWYlobm+nt3TDQAUGpgEqKD6CPxNN
|
|
360
|
+
// SIG // ZgvAs0314Y9/HG8VfUWnduVAKmWjw11SYobDHWM2l4bf
|
|
361
|
+
// SIG // 2vP48hahmifhzaWX0O5dY0HjWwechz4GdwbRBrF1HxS+
|
|
362
|
+
// SIG // YWG18NzGGwS+30HHDiju3mUv7Jf2oVyW2ADWoUa9WfOX
|
|
363
|
+
// SIG // pQlLSBCZgB/QACnFsZulP0V3HjXG0qKin3p6IvpIlR+r
|
|
364
|
+
// SIG // +0cjgPWe+L9rt0uX4ut1eBrs6jeZeRhL/9azI2h15q/6
|
|
365
|
+
// SIG // /IvrC4DqaTuv/DDtBEyO3991bWORPdGdVk5Pv4BXIqF4
|
|
366
|
+
// SIG // ETIheu9BCrE/+6jMpF3BoYibV3FWTkhFwELJm3ZbCoBI
|
|
367
|
+
// SIG // a/15n8G9bW1qyVJzEw16UM0xghoNMIIaCQIBATCBlTB+
|
|
368
|
+
// SIG // MQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3Rv
|
|
369
|
+
// SIG // bjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWlj
|
|
370
|
+
// SIG // cm9zb2Z0IENvcnBvcmF0aW9uMSgwJgYDVQQDEx9NaWNy
|
|
371
|
+
// SIG // b3NvZnQgQ29kZSBTaWduaW5nIFBDQSAyMDExAhMzAAAD
|
|
372
|
+
// SIG // rzBADkyjTQVBAAAAAAOvMA0GCWCGSAFlAwQCAQUAoIGu
|
|
373
|
+
// SIG // MBkGCSqGSIb3DQEJAzEMBgorBgEEAYI3AgEEMBwGCisG
|
|
374
|
+
// SIG // AQQBgjcCAQsxDjAMBgorBgEEAYI3AgEVMC8GCSqGSIb3
|
|
375
|
+
// SIG // DQEJBDEiBCCEbvXturch+rPwCkqDLYV8jKtOY9hbyWFa
|
|
376
|
+
// SIG // dWYNBFmxPzBCBgorBgEEAYI3AgEMMTQwMqAUgBIATQBp
|
|
377
|
+
// SIG // AGMAcgBvAHMAbwBmAHShGoAYaHR0cDovL3d3dy5taWNy
|
|
378
|
+
// SIG // b3NvZnQuY29tMA0GCSqGSIb3DQEBAQUABIIBAJriT3L+
|
|
379
|
+
// SIG // KXLfzlji4hcuwgJDQ6Unt4puxA6VumAX/iYWVELUSy0L
|
|
380
|
+
// SIG // 9jqq04dbZ17zUM6XoE2erzUZdc7970bbAMpv73Yb6mWM
|
|
381
|
+
// SIG // PSJWaQukxxY/4Nrr+Zp89RaRxTwLIHUqgHvAgMbxnFjD
|
|
382
|
+
// SIG // ZCm8Dd5sNua9hkc0pxlTC3cqjWmJCC+D7hS1dgr9syjc
|
|
383
|
+
// SIG // SvtVGvwuSU4mNZTinmDWiipEek9YuPAX6hCRwsuM+w2t
|
|
384
|
+
// SIG // WberTckEnR70K7/h8WOWGF4Tra2gJjwZvUe1GUcxzbnf
|
|
385
|
+
// SIG // vTo7ibjLl9jI7y4ROavF7sD54d0HpbzD/AE/j3VjDFHV
|
|
386
|
+
// SIG // pl7Hv6soUsspSDUNHciFB8+fXt+hgheXMIIXkwYKKwYB
|
|
387
|
+
// SIG // BAGCNwMDATGCF4Mwghd/BgkqhkiG9w0BBwKgghdwMIIX
|
|
388
|
+
// SIG // bAIBAzEPMA0GCWCGSAFlAwQCAQUAMIIBUgYLKoZIhvcN
|
|
389
|
+
// SIG // AQkQAQSgggFBBIIBPTCCATkCAQEGCisGAQQBhFkKAwEw
|
|
390
|
+
// SIG // MTANBglghkgBZQMEAgEFAAQgLBHWD+tIeXnrR3LO7LFR
|
|
391
|
+
// SIG // YLtQfkg9hWP02kgzfWPxIVMCBmZrDOcT4BgTMjAyNDA2
|
|
392
|
+
// SIG // MjcwNjI0NDMuMTIyWjAEgAIB9KCB0aSBzjCByzELMAkG
|
|
393
|
+
// SIG // A1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAO
|
|
394
|
+
// SIG // BgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29m
|
|
395
|
+
// SIG // dCBDb3Jwb3JhdGlvbjElMCMGA1UECxMcTWljcm9zb2Z0
|
|
396
|
+
// SIG // IEFtZXJpY2EgT3BlcmF0aW9uczEnMCUGA1UECxMeblNo
|
|
397
|
+
// SIG // aWVsZCBUU1MgRVNOOjdGMDAtMDVFMC1EOTQ3MSUwIwYD
|
|
398
|
+
// SIG // VQQDExxNaWNyb3NvZnQgVGltZS1TdGFtcCBTZXJ2aWNl
|
|
399
|
+
// SIG // oIIR7TCCByAwggUIoAMCAQICEzMAAAHwKnwdWTvmH60A
|
|
400
|
+
// SIG // AQAAAfAwDQYJKoZIhvcNAQELBQAwfDELMAkGA1UEBhMC
|
|
401
|
+
// SIG // VVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNVBAcT
|
|
402
|
+
// SIG // B1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jw
|
|
403
|
+
// SIG // b3JhdGlvbjEmMCQGA1UEAxMdTWljcm9zb2Z0IFRpbWUt
|
|
404
|
+
// SIG // U3RhbXAgUENBIDIwMTAwHhcNMjMxMjA2MTg0NTUxWhcN
|
|
405
|
+
// SIG // MjUwMzA1MTg0NTUxWjCByzELMAkGA1UEBhMCVVMxEzAR
|
|
406
|
+
// SIG // BgNVBAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1v
|
|
407
|
+
// SIG // bmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlv
|
|
408
|
+
// SIG // bjElMCMGA1UECxMcTWljcm9zb2Z0IEFtZXJpY2EgT3Bl
|
|
409
|
+
// SIG // cmF0aW9uczEnMCUGA1UECxMeblNoaWVsZCBUU1MgRVNO
|
|
410
|
+
// SIG // OjdGMDAtMDVFMC1EOTQ3MSUwIwYDVQQDExxNaWNyb3Nv
|
|
411
|
+
// SIG // ZnQgVGltZS1TdGFtcCBTZXJ2aWNlMIICIjANBgkqhkiG
|
|
412
|
+
// SIG // 9w0BAQEFAAOCAg8AMIICCgKCAgEAtR4tU6M4dztHMxPM
|
|
413
|
+
// SIG // X0Z68ppSTQmhlqJpj8tHiDX/uBCa+63/LUs5YBPCJeGY
|
|
414
|
+
// SIG // +PE+X00zgIepyE0X9pSu/rqXJ2f8YNACqA2KQUDlqy/T
|
|
415
|
+
// SIG // mxUocpSB36/w0OD7EV/BkbSJ7ibDJMEoOt23weENlIpD
|
|
416
|
+
// SIG // BD/wrWR4vMVuV7QCqfeXLN5r1AjLyAAPNya/1MgAwAiV
|
|
417
|
+
// SIG // 1VOJmmIrHM1M+ydddXg9SqxvZkPiE4J0Uf19sUwzAs/o
|
|
418
|
+
// SIG // qPGWRRxsBGYPnN75j6fO5uDqjilsoXKjFLqT73jv4EAv
|
|
419
|
+
// SIG // Ub+LMyzRg2qHj3iuiFNCanBo16sW3BKEv7NYQoD3e1Me
|
|
420
|
+
// SIG // mFnlq1F2sW2/iaLIDms1IFBrNWqqZy489GCn1Kp/IuU2
|
|
421
|
+
// SIG // 5kdXahJUeEAPjmX3lYaU6J6zOLBPzJSdSS6UdhcACB1H
|
|
422
|
+
// SIG // jH6LVzUIsrWH0QVDiRxXiWBH5WYFZNF8f+JGQXc4BUDz
|
|
423
|
+
// SIG // ln1XdjaM15QtnqRrVI2pbgNqLDr0B2cxjqCk71lD1/fT
|
|
424
|
+
// SIG // LLBjmztMSR3dA8oD/yQFafm0RiamtruwKi5tvrQE9usi
|
|
425
|
+
// SIG // Ob3nHA5jWbIN7w4dR3KQiWvUKUVvzA92vgBdsoFdbEZx
|
|
426
|
+
// SIG // lVFRt1Tg19wYRk/EzFPxolMt4ewpVzsZmfsHgriDswpE
|
|
427
|
+
// SIG // w2yuTpQEvKkj6YKflxpTixD2jN9TIH+mE6aQGnj9KKYc
|
|
428
|
+
// SIG // d+OaIbcCAwEAAaOCAUkwggFFMB0GA1UdDgQWBBTQgrKn
|
|
429
|
+
// SIG // V0cvzJo2RlUwL8e2BVqbJTAfBgNVHSMEGDAWgBSfpxVd
|
|
430
|
+
// SIG // AF5iXYP05dJlpxtTNRnpcjBfBgNVHR8EWDBWMFSgUqBQ
|
|
431
|
+
// SIG // hk5odHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20vcGtpb3Bz
|
|
432
|
+
// SIG // L2NybC9NaWNyb3NvZnQlMjBUaW1lLVN0YW1wJTIwUENB
|
|
433
|
+
// SIG // JTIwMjAxMCgxKS5jcmwwbAYIKwYBBQUHAQEEYDBeMFwG
|
|
434
|
+
// SIG // CCsGAQUFBzAChlBodHRwOi8vd3d3Lm1pY3Jvc29mdC5j
|
|
435
|
+
// SIG // b20vcGtpb3BzL2NlcnRzL01pY3Jvc29mdCUyMFRpbWUt
|
|
436
|
+
// SIG // U3RhbXAlMjBQQ0ElMjAyMDEwKDEpLmNydDAMBgNVHRMB
|
|
437
|
+
// SIG // Af8EAjAAMBYGA1UdJQEB/wQMMAoGCCsGAQUFBwMIMA4G
|
|
438
|
+
// SIG // A1UdDwEB/wQEAwIHgDANBgkqhkiG9w0BAQsFAAOCAgEA
|
|
439
|
+
// SIG // OCL0m56+IxD4KOVuMY9//tHQhsLM/Ot0BmdpgfWeEsLR
|
|
440
|
+
// SIG // hizL8H7EVLNzSJTw/y7FgMXVWB5JQM8C08EOTPj0Xcvd
|
|
441
|
+
// SIG // gxn7chDhjB37rexqvC90VHL6769AC/zTbXxKWwBJAhc7
|
|
442
|
+
// SIG // HnsbWObN4c49619sL6AWZtsrYcHC3mZjIB0Apo2af9tH
|
|
443
|
+
// SIG // x1iYK4z2I7HukQybVE5b1LI6/vO/P7fr60BCKpZnmwnh
|
|
444
|
+
// SIG // IvlUFcXO8BdC7jE8P4AlnXKh6Ki+diaLcSs2PI2UkO3H
|
|
445
|
+
// SIG // DR4QuHhxhUaWinokkNBl7ZWxiGz+JFtTtyc5So38Butj
|
|
446
|
+
// SIG // Qkr35jNYjw/dF2IhZu//JoEdegJqnnw7H4wQlsH96oXi
|
|
447
|
+
// SIG // DH4Gc1qnhM/JWhZjPA3ZF47jgkBP9i9E8Ya41LXTJAE3
|
|
448
|
+
// SIG // 13WY2EZbHAQ8q/MxjJaaxQuy3Magl5YcYbXdgjPpqXE3
|
|
449
|
+
// SIG // PEQdg9xKK9FHaD9+kPa+F1glVf9ip9AF7b1sbyH8jhZu
|
|
450
|
+
// SIG // Wi5dHhM5IX7/15lJQXjghJUu43XXVqQZUIybhx1B4zlR
|
|
451
|
+
// SIG // l5ayU+1+IYnBdaNt8eVPo+6jygXHq8j9v9aMX5h3OrgV
|
|
452
|
+
// SIG // 5VwSrpFf0AmQVQIgTGCYZ5LWpFh6aPbiHkp2E+kMe8H9
|
|
453
|
+
// SIG // kWrmByBEfEi0Zm5TMzzrPiR0M674e8Urcd9dCzqftA2j
|
|
454
|
+
// SIG // l7PMY2b4aZ/lrmYo+UZmYowwggdxMIIFWaADAgECAhMz
|
|
455
|
+
// SIG // AAAAFcXna54Cm0mZAAAAAAAVMA0GCSqGSIb3DQEBCwUA
|
|
456
|
+
// SIG // MIGIMQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGlu
|
|
457
|
+
// SIG // Z3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMV
|
|
458
|
+
// SIG // TWljcm9zb2Z0IENvcnBvcmF0aW9uMTIwMAYDVQQDEylN
|
|
459
|
+
// SIG // aWNyb3NvZnQgUm9vdCBDZXJ0aWZpY2F0ZSBBdXRob3Jp
|
|
460
|
+
// SIG // dHkgMjAxMDAeFw0yMTA5MzAxODIyMjVaFw0zMDA5MzAx
|
|
461
|
+
// SIG // ODMyMjVaMHwxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpX
|
|
462
|
+
// SIG // YXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYD
|
|
463
|
+
// SIG // VQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xJjAkBgNV
|
|
464
|
+
// SIG // BAMTHU1pY3Jvc29mdCBUaW1lLVN0YW1wIFBDQSAyMDEw
|
|
465
|
+
// SIG // MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA
|
|
466
|
+
// SIG // 5OGmTOe0ciELeaLL1yR5vQ7VgtP97pwHB9KpbE51yMo1
|
|
467
|
+
// SIG // V/YBf2xK4OK9uT4XYDP/XE/HZveVU3Fa4n5KWv64NmeF
|
|
468
|
+
// SIG // RiMMtY0Tz3cywBAY6GB9alKDRLemjkZrBxTzxXb1hlDc
|
|
469
|
+
// SIG // wUTIcVxRMTegCjhuje3XD9gmU3w5YQJ6xKr9cmmvHaus
|
|
470
|
+
// SIG // 9ja+NSZk2pg7uhp7M62AW36MEBydUv626GIl3GoPz130
|
|
471
|
+
// SIG // /o5Tz9bshVZN7928jaTjkY+yOSxRnOlwaQ3KNi1wjjHI
|
|
472
|
+
// SIG // NSi947SHJMPgyY9+tVSP3PoFVZhtaDuaRr3tpK56KTes
|
|
473
|
+
// SIG // y+uDRedGbsoy1cCGMFxPLOJiss254o2I5JasAUq7vnGp
|
|
474
|
+
// SIG // F1tnYN74kpEeHT39IM9zfUGaRnXNxF803RKJ1v2lIH1+
|
|
475
|
+
// SIG // /NmeRd+2ci/bfV+AutuqfjbsNkz2K26oElHovwUDo9Fz
|
|
476
|
+
// SIG // pk03dJQcNIIP8BDyt0cY7afomXw/TNuvXsLz1dhzPUNO
|
|
477
|
+
// SIG // wTM5TI4CvEJoLhDqhFFG4tG9ahhaYQFzymeiXtcodgLi
|
|
478
|
+
// SIG // Mxhy16cg8ML6EgrXY28MyTZki1ugpoMhXV8wdJGUlNi5
|
|
479
|
+
// SIG // UPkLiWHzNgY1GIRH29wb0f2y1BzFa/ZcUlFdEtsluq9Q
|
|
480
|
+
// SIG // BXpsxREdcu+N+VLEhReTwDwV2xo3xwgVGD94q0W29R6H
|
|
481
|
+
// SIG // XtqPnhZyacaue7e3PmriLq0CAwEAAaOCAd0wggHZMBIG
|
|
482
|
+
// SIG // CSsGAQQBgjcVAQQFAgMBAAEwIwYJKwYBBAGCNxUCBBYE
|
|
483
|
+
// SIG // FCqnUv5kxJq+gpE8RjUpzxD/LwTuMB0GA1UdDgQWBBSf
|
|
484
|
+
// SIG // pxVdAF5iXYP05dJlpxtTNRnpcjBcBgNVHSAEVTBTMFEG
|
|
485
|
+
// SIG // DCsGAQQBgjdMg30BATBBMD8GCCsGAQUFBwIBFjNodHRw
|
|
486
|
+
// SIG // Oi8vd3d3Lm1pY3Jvc29mdC5jb20vcGtpb3BzL0RvY3Mv
|
|
487
|
+
// SIG // UmVwb3NpdG9yeS5odG0wEwYDVR0lBAwwCgYIKwYBBQUH
|
|
488
|
+
// SIG // AwgwGQYJKwYBBAGCNxQCBAweCgBTAHUAYgBDAEEwCwYD
|
|
489
|
+
// SIG // VR0PBAQDAgGGMA8GA1UdEwEB/wQFMAMBAf8wHwYDVR0j
|
|
490
|
+
// SIG // BBgwFoAU1fZWy4/oolxiaNE9lJBb186aGMQwVgYDVR0f
|
|
491
|
+
// SIG // BE8wTTBLoEmgR4ZFaHR0cDovL2NybC5taWNyb3NvZnQu
|
|
492
|
+
// SIG // Y29tL3BraS9jcmwvcHJvZHVjdHMvTWljUm9vQ2VyQXV0
|
|
493
|
+
// SIG // XzIwMTAtMDYtMjMuY3JsMFoGCCsGAQUFBwEBBE4wTDBK
|
|
494
|
+
// SIG // BggrBgEFBQcwAoY+aHR0cDovL3d3dy5taWNyb3NvZnQu
|
|
495
|
+
// SIG // Y29tL3BraS9jZXJ0cy9NaWNSb29DZXJBdXRfMjAxMC0w
|
|
496
|
+
// SIG // Ni0yMy5jcnQwDQYJKoZIhvcNAQELBQADggIBAJ1Vffwq
|
|
497
|
+
// SIG // reEsH2cBMSRb4Z5yS/ypb+pcFLY+TkdkeLEGk5c9MTO1
|
|
498
|
+
// SIG // OdfCcTY/2mRsfNB1OW27DzHkwo/7bNGhlBgi7ulmZzpT
|
|
499
|
+
// SIG // Td2YurYeeNg2LpypglYAA7AFvonoaeC6Ce5732pvvinL
|
|
500
|
+
// SIG // btg/SHUB2RjebYIM9W0jVOR4U3UkV7ndn/OOPcbzaN9l
|
|
501
|
+
// SIG // 9qRWqveVtihVJ9AkvUCgvxm2EhIRXT0n4ECWOKz3+SmJ
|
|
502
|
+
// SIG // w7wXsFSFQrP8DJ6LGYnn8AtqgcKBGUIZUnWKNsIdw2Fz
|
|
503
|
+
// SIG // Lixre24/LAl4FOmRsqlb30mjdAy87JGA0j3mSj5mO0+7
|
|
504
|
+
// SIG // hvoyGtmW9I/2kQH2zsZ0/fZMcm8Qq3UwxTSwethQ/gpY
|
|
505
|
+
// SIG // 3UA8x1RtnWN0SCyxTkctwRQEcb9k+SS+c23Kjgm9swFX
|
|
506
|
+
// SIG // SVRk2XPXfx5bRAGOWhmRaw2fpCjcZxkoJLo4S5pu+yFU
|
|
507
|
+
// SIG // a2pFEUep8beuyOiJXk+d0tBMdrVXVAmxaQFEfnyhYWxz
|
|
508
|
+
// SIG // /gq77EFmPWn9y8FBSX5+k77L+DvktxW/tM4+pTFRhLy/
|
|
509
|
+
// SIG // AsGConsXHRWJjXD+57XQKBqJC4822rpM+Zv/Cuk0+CQ1
|
|
510
|
+
// SIG // ZyvgDbjmjJnW4SLq8CdCPSWU5nR0W2rRnj7tfqAxM328
|
|
511
|
+
// SIG // y+l7vzhwRNGQ8cirOoo6CGJ/2XBjU02N7oJtpQUQwXEG
|
|
512
|
+
// SIG // ahC0HVUzWLOhcGbyoYIDUDCCAjgCAQEwgfmhgdGkgc4w
|
|
513
|
+
// SIG // gcsxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5n
|
|
514
|
+
// SIG // dG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVN
|
|
515
|
+
// SIG // aWNyb3NvZnQgQ29ycG9yYXRpb24xJTAjBgNVBAsTHE1p
|
|
516
|
+
// SIG // Y3Jvc29mdCBBbWVyaWNhIE9wZXJhdGlvbnMxJzAlBgNV
|
|
517
|
+
// SIG // BAsTHm5TaGllbGQgVFNTIEVTTjo3RjAwLTA1RTAtRDk0
|
|
518
|
+
// SIG // NzElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUtU3RhbXAg
|
|
519
|
+
// SIG // U2VydmljZaIjCgEBMAcGBSsOAwIaAxUAwigGSir+ZbHQ
|
|
520
|
+
// SIG // tsqDBimIkMu/af+ggYMwgYCkfjB8MQswCQYDVQQGEwJV
|
|
521
|
+
// SIG // UzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMH
|
|
522
|
+
// SIG // UmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBv
|
|
523
|
+
// SIG // cmF0aW9uMSYwJAYDVQQDEx1NaWNyb3NvZnQgVGltZS1T
|
|
524
|
+
// SIG // dGFtcCBQQ0EgMjAxMDANBgkqhkiG9w0BAQsFAAIFAOon
|
|
525
|
+
// SIG // VnowIhgPMjAyNDA2MjcwMzA5NDZaGA8yMDI0MDYyODAz
|
|
526
|
+
// SIG // MDk0NlowdzA9BgorBgEEAYRZCgQBMS8wLTAKAgUA6idW
|
|
527
|
+
// SIG // egIBADAKAgEAAgIOgwIB/zAHAgEAAgIeHDAKAgUA6iin
|
|
528
|
+
// SIG // +gIBADA2BgorBgEEAYRZCgQCMSgwJjAMBgorBgEEAYRZ
|
|
529
|
+
// SIG // CgMCoAowCAIBAAIDB6EgoQowCAIBAAIDAYagMA0GCSqG
|
|
530
|
+
// SIG // SIb3DQEBCwUAA4IBAQCYvKZVYfAAbUNt4hP4Y7jJkqRL
|
|
531
|
+
// SIG // X8TwdjTkARW5+vjIM9oTcphB9gM9vWvqagUwqgQY5cAv
|
|
532
|
+
// SIG // 9o5DmRi8TbIlQeWGh5LHJENScfMuwBS6CKjVaM0+rr3L
|
|
533
|
+
// SIG // l6b2/iUsG9teSI4SEPO/7PU+f3PXZttJECBG7ha2Y4qU
|
|
534
|
+
// SIG // zJ2hIuOVA1d8R9hJV74E8gmuLoFRcbX6JZ70VrM0iHrX
|
|
535
|
+
// SIG // PDu/W2BXGs3X9ngWvGtyaElgwkMw+EYYJiP971t6qjtT
|
|
536
|
+
// SIG // 6SpJeD/vB3RDhuhl9VvogI2j7tK4ZeuaElrNJ8CNv/ZO
|
|
537
|
+
// SIG // A4eLNBW3TLHpYedKu5JzbaZcWZnk7Cc0IKFMebi86+55
|
|
538
|
+
// SIG // Ui4RlNZVMYIEDTCCBAkCAQEwgZMwfDELMAkGA1UEBhMC
|
|
539
|
+
// SIG // VVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNVBAcT
|
|
540
|
+
// SIG // B1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jw
|
|
541
|
+
// SIG // b3JhdGlvbjEmMCQGA1UEAxMdTWljcm9zb2Z0IFRpbWUt
|
|
542
|
+
// SIG // U3RhbXAgUENBIDIwMTACEzMAAAHwKnwdWTvmH60AAQAA
|
|
543
|
+
// SIG // AfAwDQYJYIZIAWUDBAIBBQCgggFKMBoGCSqGSIb3DQEJ
|
|
544
|
+
// SIG // AzENBgsqhkiG9w0BCRABBDAvBgkqhkiG9w0BCQQxIgQg
|
|
545
|
+
// SIG // w/ugS/7pfI6Kyb/YapVT9PTFoL5d7DtKPLTeZIL+zzEw
|
|
546
|
+
// SIG // gfoGCyqGSIb3DQEJEAIvMYHqMIHnMIHkMIG9BCBcAZqj
|
|
547
|
+
// SIG // pXL95FO5gAebFke+EBQIkupm/gjOmrJxQGVLizCBmDCB
|
|
548
|
+
// SIG // gKR+MHwxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNo
|
|
549
|
+
// SIG // aW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQK
|
|
550
|
+
// SIG // ExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xJjAkBgNVBAMT
|
|
551
|
+
// SIG // HU1pY3Jvc29mdCBUaW1lLVN0YW1wIFBDQSAyMDEwAhMz
|
|
552
|
+
// SIG // AAAB8Cp8HVk75h+tAAEAAAHwMCIEIKpFjKu0z+hqMY13
|
|
553
|
+
// SIG // YEl3mhZF3Zn3NkYJn+VALXKERoGUMA0GCSqGSIb3DQEB
|
|
554
|
+
// SIG // CwUABIICAElH/kf+cwa+5TR32Lo5DU4z8VfWTpSO1aUX
|
|
555
|
+
// SIG // 4Siap+GJ9iQIUaQDGPL3cmGSmhPcBCd1OkQ5aXUBZjKY
|
|
556
|
+
// SIG // OiXqxVbFiQ+A2SG894Cvh56OvNbVmF8c9v7yfjA87dAJ
|
|
557
|
+
// SIG // oxKMWjIgnm7M6a63U3mPCggHLOjt0iqDl2j5b/HQkrOB
|
|
558
|
+
// SIG // QhqhV0xjn4ngErdXbtItpe/SmKeRWudtt3Pwh71EnCMR
|
|
559
|
+
// SIG // uq3Fb7zTxIqLxSajO/+CKSLE2UJYhnXzcvktDeMhSnUm
|
|
560
|
+
// SIG // 63jrLVeqezkhWGvTntOSohMINb3T3a1BBje9y+RXl/vy
|
|
561
|
+
// SIG // ra00Nq7hVt6aBuCMQmg2MILzFHo/QODjlSmZzWIEGOH9
|
|
562
|
+
// SIG // YEigjQ8p/uN/ITW5JvrgxaFMIiAs2FG+fnpiIOa7q1U1
|
|
563
|
+
// SIG // 3Xhm4dl1eXf3ho6U5OM6ESZ0lbB2Ph2d8ZL2Xd9jYfpL
|
|
564
|
+
// SIG // G2x27FsDuxnRwb2KP7m9Qj4/xwoEadNkEA89TNdPN1XA
|
|
565
|
+
// SIG // kqXwpeYJvXi3QOBankSEvQj8k830HT5JKtDthk8/pcol
|
|
566
|
+
// SIG // HrmHjdPd8OYQGccPzxI5mV47EI+z3QocNHfIPinHHtkj
|
|
567
|
+
// SIG // +Bbr7Hwo70abLtSu2SxWG7OkqagLcQ0INW2Cl9pLh8NJ
|
|
568
|
+
// SIG // p0KrvLMSLf00IbL33IAmwXcOMRlGmHpy7eDgeE2b2dmd
|
|
569
|
+
// SIG // Scnh9rXqEhU9wohZDGOaSggdtVmo0irY
|
|
570
|
+
// SIG // End signature block
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../packages/tools/gulp-ps-module/index.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;;;AAEb,kEAA4B;AAC5B,wEAAuC;AACvC,gEAAgC;AAChC,0DAA0B;AAC1B,2DAAqC;AAErC,MAAM,WAAW,GAAG,gBAAgB,CAAC;AAErC,SAAS,aAAa,CAClB,IAAY,EAAE,OAAe,EAAE,IAAY,EAAE,aAAqB,EAAE,YAAsB,EAAE,eAAyB;IACrH,MAAM,UAAU,GACZ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2HP,CAAC;IAEE,MAAM,UAAU,GAAG,IAAI,CAAC,SAAS,CAAC,EAAE,YAAY,EAAE,eAAe,EAAE,CAAC,CAAC;IAErE,oEAAoE;IACpE,OAAO,UAAU;SACZ,KAAK,CAAC,IAAI,CAAC;SACX,IAAI,CAAC,MAAM,CAAC;SACZ,OAAO,CAAC,UAAU,EAAE,IAAI,CAAC;SACzB,OAAO,CAAC,UAAU,EAAE,IAAI,CAAC;SACzB,OAAO,CAAC,aAAa,EAAE,OAAO,CAAC;SAC/B,OAAO,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CAAC,CAAC;gBACrD,IAAI,CAAC,WAAW,CAAC,IAAI,sBAAW,CAAC,EAAE,MAAM,EAAE,WAAW,EAAE,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;YAC1F,mBAAG,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;SACpB;QAED,QAAQ,EAAE,CAAC;IACf,CAAC,CAAC,CAAC;AACX,CAAC;AAED,MAAM,CAAC,OAAO,GAAG,oBAAoB,CAAC","file":"index.js","sourcesContent":["'use strict';\r\n\r\nimport log from 'fancy-log';\r\nimport pluginError from 'plugin-error';\r\nimport through2 from 'through2';\r\nimport Vinyl from 'vinyl';\r\nimport * as util from '../utilities';\r\n\r\nconst PLUGIN_NAME = 'gulp-ps-module';\r\n\r\nfunction getDefinition(\r\n name: string, version: string, guid: string, functionsList: string, localScripts: string[], externalScripts: string[]) {\r\n const definition =\r\n `#\r\n# Module manifest for module '{{Name}}'\r\n#\r\n\r\n@{\r\n\r\n# Script module or binary module file associated with this manifest.\r\nRootModule = '{{Name}}.psm1'\r\n\r\n# Version number of this module.\r\nModuleVersion = '{{Version}}'\r\n\r\n# Supported PSEditions\r\n# CompatiblePSEditions = @()\r\n\r\n# ID used to uniquely identify this module\r\nGUID = '{{Guid}}'\r\n\r\n# Author of this module\r\nAuthor = 'SME'\r\n\r\n# Company or vendor of this module\r\nCompanyName = 'Microsoft'\r\n\r\n# Copyright statement for this module\r\nCopyright = '(c) 2018 Microsoft. All rights reserved.'\r\n\r\n# Description of the functionality provided by this module\r\n# Description = ''\r\n\r\n# Minimum version of the Windows PowerShell engine required by this module\r\nPowerShellVersion = '5.0'\r\n\r\n# Name of the Windows PowerShell host required by this module\r\n# PowerShellHostName = ''\r\n\r\n# Minimum version of the Windows PowerShell host required by this module\r\n# PowerShellHostVersion = ''\r\n\r\n# Minimum version of Microsoft .NET Framework required by this module. This prerequisite is valid for the PowerShell Desktop edition only.\r\n# DotNetFrameworkVersion = ''\r\n\r\n# Minimum version of the common language runtime (CLR) required by this module. This prerequisite is valid for the PowerShell Desktop edition only.\r\n# CLRVersion = ''\r\n\r\n# Processor architecture (None, X86, Amd64) required by this module\r\n# ProcessorArchitecture = ''\r\n\r\n# Modules that must be imported into the global environment prior to importing this module\r\n# RequiredModules = @()\r\n\r\n# Assemblies that must be loaded prior to importing this module\r\n# RequiredAssemblies = @()\r\n\r\n# Script files (.ps1) that are run in the caller's environment prior to importing this module.\r\n# ScriptsToProcess = @()\r\n\r\n# Type files (.ps1xml) to be loaded when importing this module\r\n# TypesToProcess = @()\r\n\r\n# Format files (.ps1xml) to be loaded when importing this module\r\n# FormatsToProcess = @()\r\n\r\n# Modules to import as nested modules of the module specified in RootModule/ModuleToProcess\r\nNestedModules = @()\r\n\r\n# Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export.\r\nFunctionsToExport = @(\r\n{{FunctionsList}}\r\n)\r\n\r\n# Function attributes: {{FunctionAttributes}}\r\n\r\n# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.\r\nCmdletsToExport = @()\r\n\r\n# Variables to export from this module\r\nVariablesToExport = '*'\r\n\r\n# Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export.\r\nAliasesToExport = @()\r\n\r\n# DSC resources to export from this module\r\n# DscResourcesToExport = @()\r\n\r\n# List of all modules packaged with this module\r\n# ModuleList = @()\r\n\r\n# List of all files packaged with this module\r\n# FileList = @()\r\n\r\n# Private data to pass to the module specified in RootModule/ModuleToProcess. This may also contain a PSData hashtable with additional module metadata used by PowerShell.\r\nPrivateData = @{\r\n\r\n PSData = @{\r\n\r\n # Tags applied to this module. These help with module discovery in online galleries.\r\n # Tags = @()\r\n\r\n # A URL to the license for this module.\r\n # LicenseUri = ''\r\n\r\n # A URL to the main website for this project.\r\n # ProjectUri = ''\r\n\r\n # A URL to an icon representing this module.\r\n # IconUri = ''\r\n\r\n # ReleaseNotes of this module\r\n # ReleaseNotes = ''\r\n\r\n } # End of PSData hashtable\r\n\r\n} # End of PrivateData hashtable\r\n\r\n# HelpInfo URI of this module\r\n# HelpInfoURI = ''\r\n\r\n# Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix.\r\n# DefaultCommandPrefix = ''\r\n\r\n}\r\n\r\n`;\r\n\r\n const attributes = JSON.stringify({ localScripts, externalScripts });\r\n\r\n // calling {{Name}} twice since it's used two times on the template.\r\n return definition\r\n .split('\\n')\r\n .join('\\r\\n')\r\n .replace('{{Name}}', name)\r\n .replace('{{Name}}', name)\r\n .replace('{{Version}}', version)\r\n .replace('{{Guid}}', guid)\r\n .replace('{{FunctionsList}}', functionsList)\r\n .replace('{{FunctionAttributes}}', attributes);\r\n}\r\n\r\nfunction gulpPowerShellModule(options) {\r\n //\r\n // (Options):\r\n //\r\n // name.\r\n // name of module: string;\r\n // version.\r\n // version of module: string; (default: 0.0.0)\r\n // guid.\r\n // GUID string of module: string\r\n //\r\n\r\n // override options settings if not specified.\r\n options = Object.assign({ version: '0.0.0' }, options || {});\r\n\r\n const scriptCollection: any = {};\r\n const localScripts: string[] = [];\r\n const externalScripts: string[] = [];\r\n\r\n return through2.obj(\r\n /**\r\n * Transform\r\n */\r\n function (file, encoding, callback) {\r\n try {\r\n if (!options.name) {\r\n throw new Error('gulp-ps-module requires \"name\" option: PowerShell module name.');\r\n }\r\n\r\n if (!options.guid) {\r\n throw new Error('gulp-ps-module requires \"guid\" option: PowerShell module identification.');\r\n }\r\n\r\n let scriptName: string = file.relative.replace('.ps1', '');\r\n const lastIndex = scriptName.lastIndexOf('\\\\');\r\n if (lastIndex > 0) {\r\n // remove any relative folder name.\r\n scriptName = scriptName.substring(lastIndex + 1);\r\n }\r\n\r\n if (options.prefixName) {\r\n const hyphenSeparatorIndex = scriptName.indexOf('-');\r\n const prefixName = options.prefixName;\r\n const verb = scriptName.substring(0, hyphenSeparatorIndex);\r\n const target = scriptName.substring(hyphenSeparatorIndex + 1);\r\n scriptName = verb + '-' + prefixName + target;\r\n }\r\n\r\n scriptCollection[scriptName] = file.contents.toString();\r\n const external = file.path.indexOf('\\\\node_modules\\\\') >= 0;\r\n if (external) {\r\n externalScripts.push(scriptName);\r\n } else {\r\n localScripts.push(scriptName);\r\n }\r\n\r\n return callback();\r\n } catch (e) {\r\n const error = (!e.plugin || (e.plugin !== PLUGIN_NAME)) ?\r\n util.extendError(new pluginError({ plugin: PLUGIN_NAME, message: e.message }), e) : e;\r\n log.error(error);\r\n }\r\n },\r\n /**\r\n * Flush\r\n */\r\n function (callback) {\r\n try {\r\n localScripts.sort();\r\n externalScripts.sort();\r\n\r\n let contents = '';\r\n let scriptList = '';\r\n for (const scriptName of localScripts.concat(externalScripts)) {\r\n if (scriptCollection.hasOwnProperty(scriptName)) {\r\n contents += 'function ' + scriptName + ' {\\r\\n';\r\n contents += scriptCollection[scriptName];\r\n contents += '\\r\\n}\\r\\n';\r\n contents += '## [END] ' + scriptName + ' ##\\r\\n';\r\n scriptList += '\\r\\n \\'' + scriptName + '\\',';\r\n }\r\n }\r\n\r\n const psm1File = new Vinyl({\r\n cwd: './',\r\n path: options.name + '.psm1',\r\n contents: Buffer.from(contents, 'utf8')\r\n });\r\n this.push(psm1File);\r\n\r\n const definition = getDefinition(\r\n options.name,\r\n options.version,\r\n options.guid,\r\n scriptList.substring(2, scriptList.length - 1),\r\n localScripts,\r\n externalScripts);\r\n const psd1File = new Vinyl({\r\n cwd: './',\r\n path: options.name + '.psd1',\r\n contents: Buffer.from(definition, 'utf8')\r\n });\r\n this.push(psd1File);\r\n } catch (e) {\r\n const error = (!e.plugin || (e.plugin !== PLUGIN_NAME)) ?\r\n util.extendError(new pluginError({ plugin: PLUGIN_NAME, message: e.message }), e) : e;\r\n log.error(error);\r\n }\r\n\r\n callback();\r\n });\r\n}\r\n\r\nmodule.exports = gulpPowerShellModule;\r\n"]}
|
|
1
|
+
{"version":3,"sources":["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AC,WAAW,CAAC,IAAI,sBAAW,CAAC,EAAE,MAAM,EAAE,WAAW,EAAE,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;YAC1F,mBAAG,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;SACpB;QAED,QAAQ,EAAE,CAAC;IACf,CAAC,CAAC,CAAC;AACX,CAAC;AAED,MAAM,CAAC,OAAO,GAAG,oBAAoB,CAAC","file":"index.js","sourcesContent":["'use strict';\r\n\r\nimport log from 'fancy-log';\r\nimport pluginError from 'plugin-error';\r\nimport through2 from 'through2';\r\nimport Vinyl from 'vinyl';\r\nimport * as util from '../utilities';\r\n\r\nconst PLUGIN_NAME = 'gulp-ps-module';\r\n\r\nfunction getDefinition(\r\n name: string, version: string, guid: string, functionsList: string, localScripts: string[], externalScripts: string[]) {\r\n const definition =\r\n `#\r\n# Module manifest for module '{{Name}}'\r\n#\r\n\r\n@{\r\n\r\n# Script module or binary module file associated with this manifest.\r\nRootModule = '{{Name}}.psm1'\r\n\r\n# Version number of this module.\r\nModuleVersion = '{{Version}}'\r\n\r\n# Supported PSEditions\r\n# CompatiblePSEditions = @()\r\n\r\n# ID used to uniquely identify this module\r\nGUID = '{{Guid}}'\r\n\r\n# Author of this module\r\nAuthor = 'SME'\r\n\r\n# Company or vendor of this module\r\nCompanyName = 'Microsoft'\r\n\r\n# Copyright statement for this module\r\nCopyright = '(c) 2018 Microsoft. All rights reserved.'\r\n\r\n# Description of the functionality provided by this module\r\n# Description = ''\r\n\r\n# Minimum version of the Windows PowerShell engine required by this module\r\nPowerShellVersion = '5.0'\r\n\r\n# Name of the Windows PowerShell host required by this module\r\n# PowerShellHostName = ''\r\n\r\n# Minimum version of the Windows PowerShell host required by this module\r\n# PowerShellHostVersion = ''\r\n\r\n# Minimum version of Microsoft .NET Framework required by this module. This prerequisite is valid for the PowerShell Desktop edition only.\r\n# DotNetFrameworkVersion = ''\r\n\r\n# Minimum version of the common language runtime (CLR) required by this module. This prerequisite is valid for the PowerShell Desktop edition only.\r\n# CLRVersion = ''\r\n\r\n# Processor architecture (None, X86, Amd64) required by this module\r\n# ProcessorArchitecture = ''\r\n\r\n# Modules that must be imported into the global environment prior to importing this module\r\n# RequiredModules = @()\r\n\r\n# Assemblies that must be loaded prior to importing this module\r\n# RequiredAssemblies = @()\r\n\r\n# Script files (.ps1) that are run in the caller's environment prior to importing this module.\r\n# ScriptsToProcess = @()\r\n\r\n# Type files (.ps1xml) to be loaded when importing this module\r\n# TypesToProcess = @()\r\n\r\n# Format files (.ps1xml) to be loaded when importing this module\r\n# FormatsToProcess = @()\r\n\r\n# Modules to import as nested modules of the module specified in RootModule/ModuleToProcess\r\nNestedModules = @()\r\n\r\n# Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export.\r\nFunctionsToExport = @(\r\n{{FunctionsList}}\r\n)\r\n\r\n# Function attributes: {{FunctionAttributes}}\r\n\r\n# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.\r\nCmdletsToExport = @()\r\n\r\n# Variables to export from this module\r\nVariablesToExport = '*'\r\n\r\n# Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export.\r\nAliasesToExport = @()\r\n\r\n# DSC resources to export from this module\r\n# DscResourcesToExport = @()\r\n\r\n# List of all modules packaged with this module\r\n# ModuleList = @()\r\n\r\n# List of all files packaged with this module\r\n# FileList = @()\r\n\r\n# Private data to pass to the module specified in RootModule/ModuleToProcess. This may also contain a PSData hashtable with additional module metadata used by PowerShell.\r\nPrivateData = @{\r\n\r\n PSData = @{\r\n\r\n # Tags applied to this module. These help with module discovery in online galleries.\r\n # Tags = @()\r\n\r\n # A URL to the license for this module.\r\n # LicenseUri = ''\r\n\r\n # A URL to the main website for this project.\r\n # ProjectUri = ''\r\n\r\n # A URL to an icon representing this module.\r\n # IconUri = ''\r\n\r\n # ReleaseNotes of this module\r\n # ReleaseNotes = ''\r\n\r\n } # End of PSData hashtable\r\n\r\n} # End of PrivateData hashtable\r\n\r\n# HelpInfo URI of this module\r\n# HelpInfoURI = ''\r\n\r\n# Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix.\r\n# DefaultCommandPrefix = ''\r\n\r\n}\r\n\r\n`;\r\n\r\n const attributes = JSON.stringify({ localScripts, externalScripts });\r\n\r\n // calling {{Name}} twice since it's used two times on the template.\r\n return definition\r\n .split('\\n')\r\n .join('\\r\\n')\r\n .replace('{{Name}}', name)\r\n .replace('{{Name}}', name)\r\n .replace('{{Version}}', version)\r\n .replace('{{Guid}}', guid)\r\n .replace('{{FunctionsList}}', functionsList)\r\n .replace('{{FunctionAttributes}}', attributes);\r\n}\r\n\r\nfunction gulpPowerShellModule(options) {\r\n //\r\n // (Options):\r\n //\r\n // name.\r\n // name of module: string;\r\n // version.\r\n // version of module: string; (default: 0.0.0)\r\n // guid.\r\n // GUID string of module: string\r\n //\r\n\r\n // override options settings if not specified.\r\n options = Object.assign({ version: '0.0.0' }, options || {});\r\n\r\n const scriptCollection: any = {};\r\n const localScripts: string[] = [];\r\n const externalScripts: string[] = [];\r\n\r\n return through2.obj(\r\n /**\r\n * Transform\r\n */\r\n function (file, encoding, callback) {\r\n try {\r\n if (!options.name) {\r\n throw new Error('gulp-ps-module requires \"name\" option: PowerShell module name.');\r\n }\r\n\r\n if (!options.guid) {\r\n throw new Error('gulp-ps-module requires \"guid\" option: PowerShell module identification.');\r\n }\r\n\r\n let scriptName: string = file.relative.replace('.ps1', '');\r\n const lastIndex = scriptName.lastIndexOf('\\\\');\r\n if (lastIndex > 0) {\r\n // remove any relative folder name.\r\n scriptName = scriptName.substring(lastIndex + 1);\r\n }\r\n\r\n if (options.prefixName) {\r\n const hyphenSeparatorIndex = scriptName.indexOf('-');\r\n const prefixName = options.prefixName;\r\n const verb = scriptName.substring(0, hyphenSeparatorIndex);\r\n const target = scriptName.substring(hyphenSeparatorIndex + 1);\r\n scriptName = verb + '-' + prefixName + target;\r\n }\r\n\r\n const lines = file.contents.toString().split('\\n');\r\n const newLines = [];\r\n for (let i = 0; i < lines.length; i++) {\r\n const line = lines[i];\r\n if (line.indexOf('# SIG # Begin signature block') >= 0) {\r\n break;\r\n }\r\n\r\n newLines.push(line);\r\n }\r\n\r\n scriptCollection[scriptName] = newLines.join('\\n');\r\n const external = file.path.indexOf('\\\\node_modules\\\\') >= 0;\r\n if (external) {\r\n externalScripts.push(scriptName);\r\n } else {\r\n localScripts.push(scriptName);\r\n }\r\n\r\n return callback();\r\n } catch (e) {\r\n const error = (!e.plugin || (e.plugin !== PLUGIN_NAME)) ?\r\n util.extendError(new pluginError({ plugin: PLUGIN_NAME, message: e.message }), e) : e;\r\n log.error(error);\r\n }\r\n },\r\n /**\r\n * Flush\r\n */\r\n function (callback) {\r\n try {\r\n localScripts.sort();\r\n externalScripts.sort();\r\n\r\n let contents = '';\r\n let scriptList = '';\r\n for (const scriptName of localScripts.concat(externalScripts)) {\r\n if (scriptCollection.hasOwnProperty(scriptName)) {\r\n contents += 'function ' + scriptName + ' {\\r\\n';\r\n contents += scriptCollection[scriptName];\r\n contents += '\\r\\n}\\r\\n';\r\n contents += '## [END] ' + scriptName + ' ##\\r\\n';\r\n scriptList += '\\r\\n \\'' + scriptName + '\\',';\r\n }\r\n }\r\n\r\n const psm1File = new Vinyl({\r\n cwd: './',\r\n path: options.name + '.psm1',\r\n contents: Buffer.from(contents, 'utf8')\r\n });\r\n this.push(psm1File);\r\n\r\n const definition = getDefinition(\r\n options.name,\r\n options.version,\r\n options.guid,\r\n scriptList.substring(2, scriptList.length - 1),\r\n localScripts,\r\n externalScripts);\r\n const psd1File = new Vinyl({\r\n cwd: './',\r\n path: options.name + '.psd1',\r\n contents: Buffer.from(definition, 'utf8')\r\n });\r\n this.push(psd1File);\r\n } catch (e) {\r\n const error = (!e.plugin || (e.plugin !== PLUGIN_NAME)) ?\r\n util.extendError(new pluginError({ plugin: PLUGIN_NAME, message: e.message }), e) : e;\r\n log.error(error);\r\n }\r\n\r\n callback();\r\n });\r\n}\r\n\r\nmodule.exports = gulpPowerShellModule;\r\n"]}
|